WO2019205314A1 - Sleep monitoring method, storage medium and device - Google Patents

Sleep monitoring method, storage medium and device Download PDF

Info

Publication number
WO2019205314A1
WO2019205314A1 PCT/CN2018/096697 CN2018096697W WO2019205314A1 WO 2019205314 A1 WO2019205314 A1 WO 2019205314A1 CN 2018096697 W CN2018096697 W CN 2018096697W WO 2019205314 A1 WO2019205314 A1 WO 2019205314A1
Authority
WO
WIPO (PCT)
Prior art keywords
change amount
time period
motion data
preset
motion
Prior art date
Application number
PCT/CN2018/096697
Other languages
French (fr)
Chinese (zh)
Inventor
闫正航
颜宏武
Original Assignee
深圳市友宏科技有限公司
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
Priority claimed from CN201810366262.8A external-priority patent/CN108836343A/en
Priority claimed from CN201810366011.XA external-priority patent/CN108836299B/en
Priority claimed from CN201810365766.8A external-priority patent/CN108523899A/en
Application filed by 深圳市友宏科技有限公司 filed Critical 深圳市友宏科技有限公司
Publication of WO2019205314A1 publication Critical patent/WO2019205314A1/en

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

Definitions

  • the present application relates to the field of biomedical technology, and in particular, to a sleep monitoring method, a storage medium, and a device.
  • Body movement during sleep is an important technical indicator for monitoring sleep using pressure sensing technology.
  • a sleepband-based turning-over monitoring device and method a method for judging whether to turn over based on the maximum value of the physical activity is proposed, which identifies whether or not to turn over based on whether the peak value of the collected voltage signal exceeds a preset threshold.
  • the program cannot recognize and judge the body movements that do not reach the extreme value, and thus cannot accurately recognize the movement of the human body during the sleep process.
  • the present application is directed to providing a sleep monitoring method, a storage medium, and an apparatus.
  • a sleep monitoring method comprising:
  • the sleep state of the current time period is recorded as a motion state.
  • the sleep monitoring method wherein the acquiring the motion data of the human body and acquiring all the motion data in the current time period every preset time period includes:
  • All motion data corresponding to the current time period is read every preset time period.
  • the sleep monitoring method wherein the sensing the motion data of the human body in real time through the pre-wearing pressure sensor, and saving the sensed human motion data specifically includes:
  • the motion data of the human body is output according to the electrical signal, and the motion data is stored in association with the sensing time.
  • the sleep monitoring method wherein the calculating the first change amount of the current time period according to the acquired all motion data, and comparing the first change amount with the first preset change amount threshold value specifically includes:
  • the first amount of change is compared with a preset first preset amount of change threshold.
  • the sleep monitoring method wherein, if the first change amount is greater than the first preset change amount threshold, recording the sleep state of the current time period as a motion state specifically includes:
  • the sleep monitoring method wherein, if the first change amount is greater than the first preset change amount threshold, recording the sleep state of the current time period as a motion state comprises:
  • the sleep monitoring method wherein the calculating the exercise time in the exercise state according to the current time period and the first time period specifically includes:
  • the exercise time in which the exercise state continues is calculated based on the start time and the end time.
  • the sleep monitoring method wherein determining the start time of the motion state according to all the motion data included in the current time period, and determining the end time of the motion state according to all the motion data included in the first time period specifically includes:
  • the change amount threshold is a change amount of the preset motion data interval
  • the sleep monitoring method wherein, if the first change amount is greater than the first preset change amount threshold, the recording the sleep state of the current time period as the exercise state further includes:
  • the sleep monitoring method wherein the method further includes:
  • the sleep monitoring method wherein, if the first change amount is greater than the change amount threshold, recording the sleep state of the preset time period as a motion state comprises:
  • the exercise time in the bed-away state is calculated according to the current time period and the first time period.
  • the sleep monitoring method wherein the method further includes:
  • the sleep monitoring method wherein when the first change amount is greater than the second preset change amount threshold, determining that the human body is in a normal sleep state comprises:
  • the exhalation points included in each breathing cycle are respectively offset by a preset offset along the time axis according to a preset rule
  • the BCG signal is updated according to a time period corresponding to each breathing cycle, and the heart rate is extracted according to the updated BCG signal.
  • the sleep monitoring method wherein the collecting a BCG signal and processing the BCG signal to divide it into a plurality of breathing cycles specifically includes:
  • the sleep monitoring method wherein the obtaining all the extreme points of the respiratory signal and dividing the respiratory signal into a plurality of respiratory periods according to all the extreme points obtained includes:
  • the breathing signal is divided into a plurality of breathing cycles according to all the extracted maximum points, wherein the interval formed by the two adjacent maxima is one breathing cycle.
  • the sleep monitoring method wherein the exchanging exhalation points of each breathing cycle according to a preset rule along a time axis by a preset offset specifically includes:
  • the exhalation points included in the breathing cycle are sorted in chronological order;
  • the first exhalation point is shifted back by a preset offset along the time axis
  • the second exhalation point is forwardly offset by a preset offset along the time axis.
  • the sleep monitoring method wherein the sorting the exhalation points included in the breathing cycle in chronological order for each respiratory cycle comprises:
  • the sleep monitoring method wherein the updating the BCG signal according to a time period corresponding to each breathing cycle, and extracting the heart rate according to the updated BCG signal specifically includes:
  • the heart rate is extracted based on the updated BCG signal.
  • a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement a sleep monitoring method as described above The steps in .
  • a sleep monitoring device includes: a pressure sensor, a processor, a memory, and a communication bus; and the memory stores a computer readable program executable by the processor;
  • the communication bus implements connection communication between the processor and the memory
  • the pressure sensor realizes acquisition of motion data, and transmits the collected motion data to a processor
  • the processor of the present invention when the computer readable program is executed, implements the steps of the sleep monitoring method of any of claims 1-18.
  • the present application provides a sleep monitoring method, a storage medium, and a device, the method comprising: collecting motion data of a human body, and acquiring all motions in a current time period every preset time period. Data; calculating, according to all the acquired motion data, the motion data change amount of the current time period, and comparing the motion data change amount with a preset change amount threshold; if the motion data change amount is greater than the preset
  • the change amount threshold records the sleep state of the current time period as a motion state.
  • the present application can accurately identify the presence or absence of body motion during sleep by comparing the amount of change in motion data within a preset time period with a preset threshold of change. At the same time, since the change of the motion data is used as the judgment basis, the direction of the pressure sensor is not required, and the influence of the direction of the pressure sensor on the monitoring result can be avoided.
  • FIG. 1 is a flowchart of Embodiment 1 of a sleep monitoring method provided by the present application.
  • FIG. 2 is a diagram showing changes in motion data of a normal sleep state in the first embodiment of the sleep monitoring method provided by the present application.
  • FIG. 3 is a diagram showing motion data changes of a sleep process in which body motion is started in the first embodiment of the sleep monitoring method provided by the present application.
  • FIG. 4 is a diagram showing changes in body motion end motion data during sleep in the first embodiment of the sleep monitoring method provided by the present application.
  • FIG. 5 is a diagram showing changes in exercise data of going to bed, getting out of bed, and going out of bed in the third embodiment of the sleep monitoring method provided by the present application.
  • FIG. 6 is a waveform diagram of a BCG signal in Embodiment 4 of the sleep monitoring method provided by the present application.
  • FIG. 7 is a waveform diagram of a respiratory signal in Embodiment 4 of the sleep monitoring method provided by the present application.
  • FIG. 8 is a waveform diagram of exhalation point offset in a BCG signal in Embodiment 4 of the sleep monitoring method provided by the present application.
  • FIG. 9 is a schematic structural diagram of an embodiment of a sleep monitoring method apparatus provided by the present application.
  • the present application provides a sleep monitoring method, a storage medium, and an apparatus.
  • the objects, technical solutions, and effects of the present application will become more apparent and clear, and the present application will be further described in detail below with reference to the accompanying drawings. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting.
  • the sleep monitoring method provided in this embodiment is as shown in FIG. 1-4, and the method includes:
  • S10 Collect motion data of the human body, and acquire all motion data in the current time period every preset time period.
  • the preset time is preset to control a frequency of reading the collected motion data, where the current time period refers to a preset time period before the current reading time, that is, the latest one.
  • the preset time period is the current time period. All the motion data of the current time period may be correlated according to the sampling frequency of the motion data, and the data amount of all the motion data included in the current time period may be determined according to the duration of the preset time period and the sampling frequency.
  • the preset time period Ts is 1 second
  • the acquired motion data has a resolution Ns of 16 bits
  • the sampling frequency Fs is 250 Hz
  • the collected motion data Ds has a size range of 0-2 ⁇ Ns (0-65535 bits).
  • the exercise data is data of lung and limb activity of the human body during the sleep process.
  • the motion data can be sensed and collected by a pressure sensor worn by the human body.
  • the acquiring the motion data of the human body and acquiring all the motion data in the current time period every preset time period includes:
  • the motion data of the human body is sensed in real time by a pressure sensor worn in advance, and the sensed motion data is saved, wherein the motion data carries the sensing time;
  • the pressure sensor is pre-weared by a human body, wherein the human body can wear the pressure sensor in the form of a wearing device (eg, a sleep belt, etc.), or the pressure monitoring device can be worn in the form of a sleep monitoring bed and a sleep monitoring pillow. . That is to say, the pressure sensor only needs to be able to sense the movement of the human body, and the form of the human body wearing the sensor is not limited herein.
  • the pressure sensor after sensing the motion of the human body, the pressure sensor generates an electrical signal according to the motion information of the human body, and determines the motion data of the human body through the electrical signal.
  • the sensing the motion data of the human body in real time through the pre-wearing pressure sensor, and saving the sensed human motion data specifically includes:
  • S111 sensing body motion information and generating an electrical signal in real time through a preset pressure sensor, and recording an induction time of the electrical signal;
  • the electrical signal is limited to suppress the power frequency interference of the electrical signal, and the signal after the limited wave is amplified, and filtered.
  • the filtered electrical signals are then converted to digital signals, and finally the digital signals are processed to obtain motion data corresponding to the electrical signals, which can improve the accuracy of the motion data, thereby improving motion The accuracy of the status detection.
  • the application does not need to process the motion data, which simplifies the operation process and improves the efficiency of the motion state detection.
  • the requirements for hardware devices are reduced, and the applicability of the method is expanded.
  • the sensing time can be acquired, and the sensing time is associated with the electrical signal, so that each motion data is configured with a corresponding sensing time, thereby
  • the motion data and the sensing time can regularly and quantitatively monitor the human motion, which improves the comprehensiveness of the motion state monitoring.
  • the sensing time may be obtained by reading the current time of the system of the hardware device that receives the electrical signal, or may be determined by the pressure sensor when sensing the motion signal of the human body.
  • the sensing time may also be determined according to the sampling frequency and the current time period in which the electrical signal is located, which may be: firstly acquiring all the starting time, the preset time, and the reading current time of starting the human body motion data acquisition.
  • the number of times the motion data is read may be determined according to the starting time, the preset time, and the number of readings, and the time interval in which the current time period is located may be determined, and the sensing time corresponding to the current electrical signal may be determined according to the sampling frequency. That is to say, when all the motion data included in the current time period is acquired every preset time interval, the number of readings may also be recorded, so as to determine the sensing time corresponding to the current electrical signal according to the number of readings.
  • the sleep detecting device may be turned on before the motion data of the human body is collected, and then the pressure sensor included in the sleep detecting device is turned on to detect the body motion data, for example, a control button (such as a mechanical button) set by the sleep detecting device.
  • the sleep detection device is turned on by means of remote sensing or the like.
  • the sleep detecting device can also adopt an automatic starting mode, that is, when the pressure sensor detects the pressure, the sleep detecting device is automatically turned on and the human body motion data is collected.
  • the preset time period may also include a sleep state detection process before acquiring all the motion data in the current time period, and the sleep state detection process is used for detecting Whether the human body is sleeping.
  • the sleep detection process may be specifically: reading human motion data in real time, and comparing the motion data with a preset motion data interval, and determining, when the motion data number is in a preset motion data interval and continuing for a predetermined time.
  • the human body is in a sleep state. All motion data in the current time period is acquired every predetermined time period after determining that the human body enters a sleep state.
  • the sleep detection process may also adopt other methods, for example, determining whether the human body sleeps or not according to the human brain electrical signal, which will not be described here.
  • the preset change amount threshold is preset, which may be a difference between an upper limit value and a lower limit value of the preset motion data interval.
  • the motion data change amount is a difference between the maximum value of the motion data and the motion data minimum value in the current time period.
  • the calculating the motion data change amount of the current time period according to the acquired motion data, and comparing the motion data change amount with the preset change amount threshold value specifically includes:
  • the motion data maximum value and the motion data minimum value are extracted in all the motion data, and the motion is obtained by calculating the difference between the motion data maximum value and the motion data minimum value.
  • the motion data change amount is greater than the preset change amount threshold value, indicating that there is a body motion action in the current time period, and the body running strength is recorded as BM Str .
  • the corresponding time interval is determined according to the current time period, and the time interval is stored corresponding to the motion state and the exercise intensity, so that it is convenient to quickly determine the time and exercise intensity of the body to generate the body motion.
  • recording the sleep state of the current time period as the motion state specifically includes: if the motion data change amount is greater than the preset The change amount threshold is used to read the time interval corresponding to the current time period; record the motion state corresponding to the time interval as the presence of the motion action, and record the exercise intensity of the preset time interval as the motion data change the amount.
  • the motion data change amount is less than or equal to the change amount threshold, it is determined that the human body is in a normal sleep state, and all human motion data of the next time period is continuously read.
  • recording the sleep state of the current time period as the motion state includes:
  • S40 sequentially acquire a sleep state in a next time period, and obtain a first time period in which the sleep state is in a normal sleep state;
  • the current time period is recorded as the starting time of the body motion, and the body motion intensity is BM Str , and then the motion state of each preset time period is continuously acquired until the first time period in the normal sleep state is acquired, that is, the first time period
  • the motion data of each preset time period is continuously read to detect the next body motion, and so on until the human body motion. The data collection is over.
  • the calculating the exercise time in the motion state according to the current time period and the first time period specifically includes:
  • S51 Determine a start time of the motion state according to all motion data included in the current time period, and determine an end time of the motion state according to all motion data included in the first preset time end;
  • the determining the start time of the motion state according to all the motion data included in the current time period, and determining the end time of the motion state according to all the motion data included in the first time period specifically includes:
  • the change amount threshold is a change amount of the preset motion data interval
  • This embodiment provides a sleep monitoring method, including:
  • H10 Collect motion data of the human body, and acquire all motion data in the current time period every preset time period.
  • H20 respectively calculate a first change amount of the current time period and a second change amount of the next time period, and compare the first change amount and the second change amount with the preset change amount threshold respectively.
  • the process of the motion data collection in the step H10 is the same as the process in the step S10 in the first embodiment, and details are not described herein.
  • the difference between this embodiment and the first embodiment is that the processing procedure of the used motion data is different, and the pressure sensor is arranged in different manners.
  • the pressure sensor is used for sleeping the bed or sleeping to detect the pillow.
  • the pressure sensor does not detect human motion information when the human body leaves the bed.
  • the step S20 the first change amount of the current time period and the second change amount of the next time period are respectively calculated, and the values of the preset change amount threshold are different.
  • the preset change amount threshold is a difference value of the preset data interval [NSD-NSU], wherein the preset data interval may be an empirical value obtained by a large number of experimental statistical analysis. For example, if the NSD is 32268 and the NSU is 33268, then the preset change amount threshold OFF Th may be NSU-NSD.
  • the first change amount is a difference between a maximum value of the motion data and a minimum value of the motion data in the current time period
  • the second change amount is a difference between the maximum value of the motion data and the minimum value of the motion data in the next time period.
  • the maximum value of the motion data and the minimum value of the motion data are extracted in all the motion data, and the difference between the maximum value of the motion data and the minimum value of the motion data is obtained.
  • the second change amount BM Str2 is obtained based on the detection of the maximum value of the motion data and the minimum value of the motion data of all the motion data acquired in the next time period, and the second change amount is compared with the preset change amount threshold OFF Th .
  • the first change amount is smaller than the preset change amount threshold, indicating that the current time period is in the bed state
  • the second change amount is greater than the preset change amount threshold, indicating that the next time period is The state of leaving the bed, thereby judging that the user is in the bed-away state, and the next time is the bed-out period.
  • the sleep state of the current time period is in the bed state, and the user is determined to go to the bed according to the next time period.
  • time For example, the start time of the next time period is recorded as the bedtime, or the end time of the next time period is recorded as the bedtime or the like.
  • recording the sleep state of the current time period as the motion state includes:
  • H40 sequentially acquiring a sleep state in a next preset time period, and acquiring a first time period in which the sleep state is in a going to bed state;
  • H50 Calculate the exercise time in the state of leaving the bed according to the current time period and the first time period.
  • next time period is recorded as the starting time of the bed-away state, and then the motion state of each preset time period is continuously acquired until the first time period in the normal sleep state, that is, the first time period, is acquired.
  • the duration of the bed-away state can be determined.
  • the motion data of each preset time period is continuously read to detect the next state of leaving the bed, and so on until the end of the human body motion data collection.
  • the calculating the exercise time in the motion state according to the current time period and the first time period specifically includes:
  • H51 Determine a start time of the motion state according to all motion data included in the current time period, and determine an end time of the motion state according to all motion data included in the first preset time end;
  • H52 Calculate a duration of motion of the motion state according to the start time and the end time.
  • determining the start time of the motion state according to all the motion data included in the current time period, and determining the end time of the bed-out state according to all the motion data included in the first time period specifically includes:
  • the change amount threshold is a change amount of the preset motion data interval
  • This embodiment provides a sleep state detecting method, including:
  • M10 collecting motion data of the human body, and acquiring all motion data of all time periods of the motion data in the current time period every preset time period;
  • M20 Calculate a first change amount of the current time period according to all acquired motion data, and compare the first change amount with a first change amount threshold;
  • the second change amount is less than the second change amount threshold, determine that the sleep state of the next time is in a bed-away state, and record the bed-out time according to the next time period;
  • the sleep state detecting method further includes:
  • the first change amount threshold is the change amount threshold in the first embodiment
  • the second change amount threshold is the change amount threshold in the second embodiment, which is not described herein.
  • the pressure sensor does not sense human motion information when the human body leaves the bed.
  • This embodiment provides a sleep monitoring method, including:
  • L20 Calculate a first change amount of the current time period according to all acquired motion data, and compare the first change amount with a first change amount threshold;
  • the second change amount is less than the second change amount threshold, determine that the sleep state of the next time is in a bed-away state, and record the bed-out time according to the next time period;
  • the sleep monitoring method further includes:
  • determining that the human body is in a normal sleep state specifically includes:
  • M81 processing the BCG signal to divide it into several breathing cycles, wherein the breathing cycle includes exhalation-inhalation-exhalation;
  • M84 Update the BCG signal according to a time period corresponding to each breathing cycle, and extract a heart rate according to the updated BCG signal.
  • the BCG signal (Ballistocardiography) can be acquired by a sensor, and the sensor can be directly in contact with the human body, and can be disposed in a stool, a mattress, a pillow, and the like.
  • the subject acquires the BCG signal through the sensor after setting the sensor item and is in a static state, and the BCG signal can be as shown in FIG. 6. This can avoid large motions that have motion artifacts in the BCG signal, which affects heart rate analysis and the accuracy of the extraction.
  • processing the BCG signal may be processing the BCG signal in a preset time period, that is, when collecting the BCG signal, the BCG signal corresponding to the current time period may be acquired every preset time interval, and the current BCG signal is obtained.
  • the BCG signal corresponding to the time period is processed to divide the BCG signal corresponding to the current time period into several breathing cycles.
  • the BCG signal is collected, and the BCG signal is processed to divide it into a plurality of breathing cycles, specifically: collecting a BCG signal, and acquiring a BCG signal corresponding to the current time period every preset time interval.
  • the preset time is preset, which may obtain the duration of the human breathing cycle according to an experiment, and determine the preset time according to the duration of the breathing cycle, so that the BCG signal corresponding to the preset time includes only one breathing cycle. This can avoid the treatment of repeated breathing points and improve the efficiency of heart rate extraction.
  • the human respiratory frequency ranges from 5 to 30 beats per minute, and the range of the preset time can be determined according to the respiratory frequency range, that is, the range of the preset time can be Correspondingly, the preset time may preferably be 7 seconds or the like.
  • the processing of the BCG signal refers to low-pass filtering the BCG signal to obtain a corresponding breathing signal, and determining a breathing cycle according to the breathing signal.
  • the collecting the BCG signal and processing the BCG signal to divide it into several breathing cycles specifically includes:
  • the BCG signal includes a heart rate signal and a respiratory signal, and the heart rate signal and the respiratory signal can be separated by a filter.
  • a filter For example, low pass filtering below 1 Hz produces a respiratory component that can be extracted by filtering through a high pass filter (eg, a 2-band Butterworth filter with a ring frequency of 0.8 to 1.2).
  • the BCG signal needs to be filtered to obtain a respiratory component thereof, that is, a respiratory signal corresponding to the BCG signal is obtained, so that the BCG signal is low-pass filtered to obtain the BCG signal.
  • the low pass filter may adopt a band pass filter, and the DC signal and the high frequency signal are removed by the band pass filter to obtain a breath corresponding to the BCG signal.
  • the extreme point may be determined according to a breathing curve corresponding to the breathing signal, so that after the breathing signal is acquired, a breathing curve corresponding to the breathing signal is determined, and the breathing curve determined by the person determines each corresponding to the breathing signal.
  • Extreme point which determines the respiratory cycle it contains based on each extreme point.
  • the obtaining all the extreme points of the respiratory signal and dividing the respiratory signal into a plurality of breathing cycles according to all the obtained extreme points specifically includes:
  • the breathing signal is divided into a plurality of breathing cycles according to all the extracted maximum points, wherein the interval formed by the two adjacent maxima is one breathing cycle.
  • the breathing curve corresponding to the breathing signal is a sinusoid, and all peaks of the sinusoid are selected to obtain all the maximum points of the breathing signal.
  • the waveform of the breathing signal is sinusoidal, so that the extreme points included in the breathing signal can be determined according to the waveform of the breathing signal, for example, T1, TE, and T2 are the breathing.
  • T1 and T2 are maximum points of the breathing curve
  • TE is a minimum point of the breathing curve.
  • the TE point is determined to be the exhalation point, and the T1 point and the T2 point are the inhalation points, so that the T1-TE- T2 constitutes an exhalation cycle
  • the time difference of T1 to T2 is one breathing cycle
  • the respiratory frequency of the period T1 to T2 can be calculated according to the time difference.
  • all breathing periods included in the breathing signal may be determined according to all maximum values included in the breathing curve corresponding to the breathing signal, and the breathing signal is to be according to the breathing cycle.
  • each breathing signal corresponds to one breathing cycle, that is, each breathing signal includes two inhalation points and one exhalation point. That is to say, after all the maximum values contained in the breathing curve corresponding to the respiratory signal are acquired, the time period between each adjacent two maximum value points corresponds to one breathing cycle.
  • the maximum value of the respiratory signal can be obtained by other methods, such as an modal algorithm.
  • the preset rule is preset, and the location of the exhalation point is adjusted according to the preset rule to filter the real breathing point from the BCG signal.
  • the preset rule may be that the exhalation point at the front end in time sequence is shifted backward, and the exhalation point at the rear end is shifted forward so that the adjusted breathing cycle does not include the real exhalation point.
  • the exhaling points of each breathing cycle are respectively offset along the time axis by a preset offset according to a preset rule, and specifically include:
  • the exhalation points included in the breathing cycle are sorted in chronological order;
  • the first exhalation point is shifted back by a preset offset along the time axis
  • the second exhalation point is forwardly offset by a preset offset along the time axis.
  • the preset offset may be preset, for example, 0.5 s or the like, which may be determined according to an exhalation point corresponding to the breathing cycle.
  • the preset offset is preferably determined according to an exhalation point corresponding to the breathing cycle, such that the preset offset may be different for a human body of different respiratory frequencies, such that the preset offset
  • the quantity is more versatile.
  • the preset offset may be calculated after the exhalation point is acquired, and the exhalation points included in the respiratory cycle are sorted in chronological order, so that the preset offset may be simplified. The calculation process of the quantity.
  • sorting the exhalation points included in the breathing cycle in chronological order includes:
  • the first time is a time point at which the first exhalation point is collected
  • the second time is a time point at which the second exhalation point is collected.
  • the time period in the step S is a time interval of a time point corresponding to the exhaled point after the offset.
  • the exhalation points before the offset are respectively T1 and T2
  • the preset offset is ⁇ T
  • the exhaled points after the offset are T1' and T2', respectively.
  • the time period T2'-T1'.
  • updating the BCG signal according to the time corresponding to each breathing cycle means that the BCG signals corresponding to the respective time segments are spliced to form a new BCG signal, wherein the new BCG signal The BCG signal removes the exhalation point.
  • the updated BCG signal is high-pass filtered to obtain a heart rate signal, and the heart rate is extracted based on the heart rate signal.
  • the updating the BCG signal according to the time period corresponding to each breathing cycle, and extracting the heart rate according to the updated BCG signal specifically includes:
  • the heart rate is extracted based on the updated BCG signal.
  • the chronological splicing refers to sorting each first CBG signal in chronological order, and connecting signals corresponding to two adjacent time segments to obtain an updated BCG signal, in the updated BCG.
  • the signal is high pass filtered to extract the heart rate. That is, the extracting the heart rate according to the updated BCG signal specifically includes: performing high-pass filtering on the updated BCG signal to obtain a heart rate signal; extracting peak points of the heart rate signal, and determining a heart rate according to the extracted peak point. .
  • each first BCG signal can be directly high-pass filtered, and the heart rate corresponding to the first BCG signal is determined according to the high-pass filtered first BCG signal, so that a continuous heart rate value can be obtained, thereby avoiding The splicing process of the first BCG signal improves the efficiency of heart rate extraction.
  • the embodiment provides a sleep monitoring method.
  • the sleep monitoring method can be used for a human body sleep monitoring process.
  • the BCG signal of the human body can be collected by a pressure sensor, and then the BCG signal is analyzed to Determining a state in which the human body is located according to the BCG signal, the state including a bed release state, a bed state, a motion state, and a normal sleep state; and when the human body is in a normal sleep state, obtaining a normal sleep according to the BCG signal
  • the heart rate of the state in order to monitor the state of the human body according to the heart rate.
  • the sleep monitoring method specifically includes:
  • H10 Collect a BCG signal, acquire a BCG signal corresponding to the current time period every preset time interval, and convert the BCG signal into human motion data.
  • H20 Calculate a first change amount of the motion data of the current time period according to the acquired motion data, and compare the first change amount with a first preset change amount threshold;
  • the first change amount is smaller than the first preset change amount threshold, process the BCG signal to divide it into a plurality of breathing cycles, wherein the breathing cycle includes exhalation-inhalation- expiration;
  • H40 respectively, exchanging exhalation points included in each breathing cycle according to a preset rule along a time axis by a preset offset
  • H50 determining a time period corresponding to each breathing cycle according to the exhaled point after the offset
  • the processing procedure of the steps H30-H60 of the embodiment is the same as that of the third embodiment, and the steps H10 and H20 are mainly described in detail.
  • the preset time is preset for controlling the frequency of reading the collected motion data
  • the current time period refers to a preset time period before the current reading time.
  • the latest preset time period is the current time period.
  • All the motion data of the current time period may be correlated according to the sampling frequency of the motion data, and the data amount of all the motion data included in the current time period may be determined according to the duration of the preset time period and the sampling frequency.
  • the preset time period Ts is 1 second
  • the acquired motion data has a resolution Ns of 16 bits
  • the sampling frequency Fs is 250 Hz
  • the collected motion data Ds has a size range of 0-2 ⁇ Ns (0-65535 bits).
  • the motion data is motion data generated by the human body during sleep, and the motion data can be sensed and collected by a pressure sensor worn by the human body.
  • the acquiring the motion data of the human body and acquiring all the motion data in the current time period every preset time period includes:
  • the motion data of the human body is sensed in real time through a pre-wearing pressure sensor, and the sensed motion data is saved, wherein the motion data carries the sensing time;
  • H12 Read all motion data corresponding to the current time period every preset time period.
  • the pressure sensor is pre-weared by a human body, wherein the human body can wear the pressure sensor in the form of a wearing device (eg, a sleep belt, etc.), or the pressure monitoring device can be worn in the form of a sleep monitoring bed and a sleep monitoring pillow. . That is to say, the pressure sensor only needs to be able to sense the movement of the human body, and the form of the human body wearing the sensor is not limited herein.
  • the pressure sensor after sensing the motion of the human body, the pressure sensor generates an electrical signal according to the motion information of the human body, and determines the motion data of the human body through the electrical signal.
  • the sensing the motion data of the human body in real time through the pre-wearing pressure sensor, and saving the sensed human motion data specifically includes:
  • the human body motion information is sensed in real time by a preset pressure sensor, and an electrical signal is generated, and the sensing time of the electrical signal is recorded;
  • H112. Output motion data of the human body according to the electrical signal, and store the motion data in association with the sensing time.
  • the electrical signal is limited to suppress the power frequency interference of the electrical signal, and the signal after the limited wave is amplified, and filtered.
  • the filtered electrical signals are then converted to digital signals, and finally the digital signals are processed to obtain motion data corresponding to the electrical signals, which can improve the accuracy of the motion data, thereby improving motion The accuracy of the status detection.
  • the application does not need to process the motion data, which simplifies the operation process and improves the efficiency of the motion state detection.
  • the requirements for hardware devices are reduced, and the applicability of the method is expanded.
  • the sensing time can be acquired, and the sensing time is associated with the electrical signal, so that each motion data is configured with a corresponding sensing time, thereby
  • the motion data and the sensing time can regularly and quantitatively monitor the human motion, which improves the comprehensiveness of the motion state monitoring.
  • the sensing time may be obtained by reading the current time of the system of the hardware device that receives the electrical signal, or may be determined by the pressure sensor when sensing the motion signal of the human body.
  • the sensing time may also be determined according to the sampling frequency and the current time period in which the electrical signal is located, which may be: firstly acquiring all the starting time, the preset time, and the reading current time of starting the human body motion data acquisition.
  • the number of times the motion data is read may be determined according to the starting time, the preset time, and the number of readings, and the time interval in which the current time period is located may be determined, and the sensing time corresponding to the current electrical signal may be determined according to the sampling frequency. That is to say, when all the motion data included in the current time period is acquired every preset time interval, the number of readings may also be recorded, so as to determine the sensing time corresponding to the current electrical signal according to the number of readings.
  • the sleep detecting device may be turned on before the motion data of the human body is collected, and then the pressure sensor included in the sleep detecting device is turned on to detect the body motion data, for example, a control button (such as a mechanical button) set by the sleep detecting device.
  • the sleep detection device is turned on by means of remote sensing or the like.
  • the sleep detecting device may also adopt an automatic starting mode, that is, when the pressure sensor detects the pressure, the sleep detecting device is automatically turned on and the human body motion data is collected.
  • the preset time period may also include a sleep state detection process before acquiring all the motion data in the current time period, and the sleep state detection process is used for detecting Whether the human body is sleeping.
  • the sleep detection process may be specifically: reading human motion data in real time, and comparing the motion data with a preset motion data interval, and determining, when the motion data number is in a preset motion data interval and continuing for a predetermined time.
  • the human body is in a sleep state. All motion data in the current time period is acquired every predetermined time period after determining that the human body enters a sleep state.
  • the sleep detection process may also adopt other methods, for example, determining whether the human body sleeps or not according to the human brain electrical signal, which will not be described here.
  • the preset change amount threshold is preset, which may be a difference between an upper limit value and a lower limit value of the preset motion data interval.
  • the first amount of change is a difference between a maximum value of the motion data and a minimum value of the motion data in the current time period.
  • the calculating the first change amount of the current time period according to the acquired all the motion data, and comparing the first change amount with the preset change amount threshold value specifically includes:
  • the maximum value of the motion data and the minimum value of the motion data are extracted in all the motion data, and the difference between the maximum value of the motion data and the minimum value of the motion data is obtained.
  • the present application also provides a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors To achieve the steps in the sleep monitoring method described in the above embodiments.
  • the present application further provides a BCG heart rate extraction device, as shown in FIG. 9, which includes at least one processor 20; a pressure sensor 21; and a memory 22, which may also include communication. Interface (Communications Interface) 23 and bus 24.
  • the processor 20, the pressure sensor 21, the memory 22, and the communication interface 23 can complete communication with each other through the bus 24.
  • the pressure sensor 21 is arranged to sense human body operating information and generate an electrical signal.
  • the communication interface 23 can transmit information.
  • Processor 20 may invoke logic instructions in memory 22 to perform the methods in the above-described embodiments.
  • logic instructions in the memory 22 described above may be implemented in the form of software functional units and sold or used as separate products, and may be stored in a computer readable storage medium.
  • the memory 22 is a computer readable storage medium, and can be configured to store a software program, a computer executable program, a program instruction or a module corresponding to the method in the embodiment of the present disclosure.
  • the processor 30 performs the functional application and data processing by executing software programs, instructions or modules stored in the memory 22, i.e., implements the methods in the above embodiments.
  • the memory 22 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the terminal device, and the like. Further, the memory 22 may include a high speed random access memory, and may also include a nonvolatile memory. For example, a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc., may also be used to store a program code. State storage medium.

Abstract

Disclosed in the present application are a sleep monitoring method, a storage medium and a device. Said method comprises: acquiring motion data of a human body, and obtaining, at an interval of a preset time period, all the motion data in the current time period; calculating a motion data change amount within the current time period according to all the obtained motion data, and comparing the motion data change amount with a preset change amount threshold; if the motion data change amount is greater than the preset change amount threshold, recording a sleep state of the current time period as a motion state. By comparing the motion data change amount within a preset time period with the preset change amount threshold, the present application can accurately identify whether there is a body motion during sleep. In addition, since the motion data change amount is used as a basis for determination, there is no requirement for the direction of a pressure sensor, thus avoiding the influence of the direction of the pressure sensor on a monitoring result.

Description

一种睡眠监测方法、存储介质以及装置Sleep monitoring method, storage medium and device 技术领域Technical field
本申请涉及生物医疗技术领域,特别涉及一种睡眠监测方法、存储介质以及装置。The present application relates to the field of biomedical technology, and in particular, to a sleep monitoring method, a storage medium, and a device.
背景技术Background technique
随着生活节奏的加快和生活环境的变化,越来越多的人承受睡眠障碍的问题。据世界卫生组织对29个国家或地区的25916名病人调查得出,27%的人有睡眠问题,而我国睡眠障碍患者约占人群总数的30%以上。患有睡眠障碍不仅严重影响人的身体健康,还会造成工作效率和工作质量下降。睡眠质量与身体健康存在着直接关系。睡眠质量的好坏直接影响到心脑血管疾病等其它疾病的,心脑血管疾病40%的发病率是在晚上。在新生儿发育的最初几个月期间,健康的睡眠是至关重要的。因此,已经提出了允许父母或其他护理者监测婴儿、幼儿和新生儿睡眠的装置。As the pace of life accelerates and the living environment changes, more and more people suffer from sleep disorders. According to a survey of 25,916 patients in 29 countries or regions by the World Health Organization, 27% of people have sleep problems, and about 39% of the total number of people with sleep disorders in China. Suffering from sleep disorders not only seriously affects people's health, but also causes work efficiency and work quality to decline. There is a direct relationship between sleep quality and physical health. The quality of sleep directly affects other diseases such as cardiovascular and cerebrovascular diseases. The incidence of cardiovascular and cerebrovascular diseases is 40% at night. Healthy sleep is critical during the first few months of neonatal development. Therefore, devices have been proposed that allow parents or other caregivers to monitor the sleep of infants, young children, and newborns.
睡眠时的身体运动是使用压力传感技术进行睡眠监测的一个重要技术指标。在专利201710055341.2“一种基于睡眠带的翻身监测装置及方法”中提出了一种基于身体活动最大值判断是否翻身的方法,其根据采集电压信号的峰值是否超过一个预设门限来识别是否翻身。但该方案对于没有达到极值的身体运动动作无法进行识别和判断,从而无法准确识别睡眠过程中人体的运动情况。Body movement during sleep is an important technical indicator for monitoring sleep using pressure sensing technology. In the patent 201710055341.2 "A sleepband-based turning-over monitoring device and method", a method for judging whether to turn over based on the maximum value of the physical activity is proposed, which identifies whether or not to turn over based on whether the peak value of the collected voltage signal exceeds a preset threshold. However, the program cannot recognize and judge the body movements that do not reach the extreme value, and thus cannot accurately recognize the movement of the human body during the sleep process.
申请内容Application content
鉴于现有技术的不足,本申请旨在提供一种睡眠监测方法、存储介质以及装置。In view of the deficiencies of the prior art, the present application is directed to providing a sleep monitoring method, a storage medium, and an apparatus.
为了解决上述技术问题,本申请所采用的技术方案如下:In order to solve the above technical problems, the technical solutions adopted in the present application are as follows:
一种睡眠监测方法,其包括:A sleep monitoring method comprising:
采集人体的运动数据,并每间隔预设时间段获取当前时间段内所有运动数据;Collecting motion data of the human body, and acquiring all motion data in the current time period every preset time period;
根据获取到的所有运动数据计算所述当前时间段的运动数据的第一变化量,并将所述第一变化量与第一预设变化量阈值进行比较;Calculating a first change amount of the motion data of the current time period according to the acquired motion data, and comparing the first change amount with the first preset change amount threshold;
若所述第一变化量大于所述第一预设变化量阈值,则将所述当前时间段的睡眠状态记录为运动状态。If the first change amount is greater than the first preset change amount threshold, the sleep state of the current time period is recorded as a motion state.
所述睡眠监测方法,其中,所述采集人体的运动数据,并每间隔预设时间段获取所述当前时间段内所有运动数据具体包括:The sleep monitoring method, wherein the acquiring the motion data of the human body and acquiring all the motion data in the current time period every preset time period includes:
通过预先佩戴的压力传感器实时感应人体的运动数据,并保存感应到的运动数据,其中,所述运动数据携带感应时间;Sensing the motion data of the human body in real time through a pre-wearing pressure sensor, and storing the sensed motion data, wherein the motion data carries the sensing time;
每间隔预设时间段读取所述当前时间段对应的所有运动数据。All motion data corresponding to the current time period is read every preset time period.
所述睡眠监测方法,其中,所述通过预先佩戴的压力传感器实时感应人体的运动数据,并保存感应到的人体运动数据具体包括:The sleep monitoring method, wherein the sensing the motion data of the human body in real time through the pre-wearing pressure sensor, and saving the sensed human motion data specifically includes:
通过预设佩戴的压力传感器实时感应人体运动信息并产生电信号,并记录所述电信号的感应时间;Real-time sensing of human motion information and generating an electrical signal by a preset pressure sensor, and recording the sensing time of the electrical signal;
根据所述电信号输出人体的运动数据,并将所述运动数据与所述感应时间相关联存储。The motion data of the human body is output according to the electrical signal, and the motion data is stored in association with the sensing time.
所述睡眠监测方法,其中,所述根据获取到的所有运动数据计算所述当前时间段的第一变化量,并将所述第一变化量与第一预设变化量阈值进行比较具体包括:The sleep monitoring method, wherein the calculating the first change amount of the current time period according to the acquired all motion data, and comparing the first change amount with the first preset change amount threshold value specifically includes:
读取所述获取到的所有运动数据的运动数据最大值以及运动数据最小值,并根据所述运动数据最大值以及运动数据最小值计算所述当前时间段的第一变化量;Reading a maximum value of the motion data of the acquired motion data and a motion data minimum value, and calculating a first variation amount of the current time period according to the motion data maximum value and the motion data minimum value;
将所述第一变化量与预设的第一预设变化量阈值进行比较。The first amount of change is compared with a preset first preset amount of change threshold.
所述睡眠监测方法,其中,所述若所述第一变化量大于所述第一预设变化量阈值,则将所述当前时间段的睡眠状态记录为运动状态具体包括:The sleep monitoring method, wherein, if the first change amount is greater than the first preset change amount threshold, recording the sleep state of the current time period as a motion state specifically includes:
若所述第一变化量大于所述第一预设变化量阈值,则读取所述当前时间段对应的时间区间;If the first change amount is greater than the first preset change amount threshold, read a time interval corresponding to the current time period;
将所述时间区间对应的运动状态记录为存在运动动作,并将所述预设时间区间的运动强度记录为所述第一变化量。Recording the motion state corresponding to the time interval as the presence motion motion, and recording the motion intensity of the preset time interval as the first variation amount.
所述睡眠监测方法,其中,所述若所述第一变化量大于所述第一预设变化量阈值,则将所述当前时间段的睡眠状态记录为运动状态之后包括:The sleep monitoring method, wherein, if the first change amount is greater than the first preset change amount threshold, recording the sleep state of the current time period as a motion state comprises:
依次获取下一时间段内的睡眠状态,并获取睡眠状态处于正常睡眠状态的第一时间段;Acquiring the sleep state in the next time period in sequence, and acquiring the first time period in which the sleep state is in the normal sleep state;
根据所述当前时间段与第一时间段计算处于运动状态的运动时间。Calculating the exercise time in the motion state according to the current time period and the first time period.
所述睡眠监测方法,其中,所述根据所述当前时间段与第一时间段计算处于运动状态的运动时间具体包括:The sleep monitoring method, wherein the calculating the exercise time in the exercise state according to the current time period and the first time period specifically includes:
根据当前时间段包含的所有运动数据确定运动状态的开始时刻,并根据所述第一预设时间端包含的所有运动数据确定运动状态的结束时刻;Determining a start time of the motion state according to all motion data included in the current time period, and determining an end time of the motion state according to all motion data included in the first preset time end;
根据所述开始时刻以及所述结束时刻计算所述运动状态持续的运动时间。The exercise time in which the exercise state continues is calculated based on the start time and the end time.
所述睡眠监测方法,其中,所述根据当前时间段包含的所有运动数据确定运动状态的开始时刻,并根据所述第一时间段包含的所有运动数据确定运动状态的结束时刻具体包括:The sleep monitoring method, wherein determining the start time of the motion state according to all the motion data included in the current time period, and determining the end time of the motion state according to all the motion data included in the first time period specifically includes:
分别将当前时间段包含的所有运动数据以及第一时间段包含的所有数据与预设运动数据区间进行比较,其中,变化量阈值为预设运动数据区间的变化量;Comparing all the motion data included in the current time period and all the data included in the first time period with the preset motion data interval, wherein the change amount threshold is a change amount of the preset motion data interval;
按照时间顺序获取当前时间段第一个未属于所述预设运动数据区间的第一运动数据,以及第一时间段最后一个未属于所述预设数据区间第二运动数据,以确定运动状态的开始时刻以及结束时刻。Obtaining, in time sequence, first motion data that is not in the preset motion data interval of the current time period, and second motion data that is not in the preset data interval in the first time period to determine a motion state. Start time and end time.
所述睡眠监测方法,其中,所述若所述第一变化量大于所述第一预设变化量阈值,则将所述当前时间段的睡眠状态记录为运动状态之后还包括:The sleep monitoring method, wherein, if the first change amount is greater than the first preset change amount threshold, the recording the sleep state of the current time period as the exercise state further includes:
计算下一时间段的第二变化量,并分别将第一变化量和第二变化量与第二预设变化量阈值进行比较;Calculating a second change amount of the next time period, and comparing the first change amount and the second change amount with the second preset change amount threshold respectively;
当第一变化量大于等于第二预设变化量阈值、第二变化量小于第二预设变化量阈值时,判定所述当前时间段的睡眠状态处于离床状态,并根据下一时间段记录下床时间。When the first change amount is greater than or equal to the second preset change amount threshold, and the second change amount is less than the second preset change amount threshold, determining that the sleep state of the current time period is in the bed-away state, and recording according to the next time period Get out of bed.
所述睡眠监测方法,其中,所述方法还包括:The sleep monitoring method, wherein the method further includes:
当第一变化量小于第二预设变化量阈值、第二变化量大于等于第二预设变化量阈值时,判定所述当前时间段的睡眠状态处于在床状态,并根据下一时间段记录上床时间。When the first change amount is less than the second preset change amount threshold, and the second change amount is greater than or equal to the second preset change amount threshold, determining that the sleep state of the current time period is in the bed state, and recording according to the next time period Bedtime.
所述睡眠监测方法,其中,所述若所述第一变化量大于所述变化量阈值,则将所述预设时间段的睡眠状态记录为运动状态之后包括:The sleep monitoring method, wherein, if the first change amount is greater than the change amount threshold, recording the sleep state of the preset time period as a motion state comprises:
依次获取下一预设时间段内的睡眠状态,并获取睡眠状态处于上床状态的第一时间段;Acquiring the sleep state in the next preset time period in sequence, and acquiring the first time period in which the sleep state is in the going to bed state;
根据所述当前时间段与第一时间段计算处于离床状态的运动时间。The exercise time in the bed-away state is calculated according to the current time period and the first time period.
所述睡眠监测方法,其中,所述方法还包括:The sleep monitoring method, wherein the method further includes:
若所述第一变化量小于所述第一预设变化量阈值,将所述第一变化量与第二预设变化量阈值进行比较;If the first change amount is smaller than the first preset change amount threshold, compare the first change amount with the second preset change amount threshold;
当第一变化量大于第二预设变化量阈值时,则判断所述人体处于正常睡眠状态。When the first change amount is greater than the second preset change amount threshold, it is determined that the human body is in a normal sleep state.
所述睡眠监测方法,其中,所述当第一变化量大于第二预设变化量阈值时,则判断所述人体处于正常睡眠状态之后包括:The sleep monitoring method, wherein when the first change amount is greater than the second preset change amount threshold, determining that the human body is in a normal sleep state comprises:
对所述BCG信号进行处理以将其划分为若干呼吸周期,其中,所述呼吸周期包括呼气-吸气-呼气;Processing the BCG signal to divide it into a number of breathing cycles, wherein the breathing cycle comprises exhalation-inhalation-exhalation;
分别将各呼吸周期包含的呼气点按照预设规则沿时间轴偏移预设偏移量;The exhalation points included in each breathing cycle are respectively offset by a preset offset along the time axis according to a preset rule;
根据偏移后的呼气点确定各呼吸周期对应的时间段;Determining a time period corresponding to each breathing cycle according to the exhaled point after the offset;
根据各呼吸周期对应的时间段对所述BCG信号更新,并根据更新后的BCG信号提取心率。The BCG signal is updated according to a time period corresponding to each breathing cycle, and the heart rate is extracted according to the updated BCG signal.
所述睡眠监测方法,其中,所述采集BCG信号,并对所述BCG信号进行处理以将其划分为若干呼吸周期具体包括:The sleep monitoring method, wherein the collecting a BCG signal and processing the BCG signal to divide it into a plurality of breathing cycles specifically includes:
采集BCG信号,并对所述BCG信号进行低通滤波以得到呼吸信号;Collecting a BCG signal and performing low pass filtering on the BCG signal to obtain a respiratory signal;
获取所述呼吸信号的所有极值点,并根据获取到的所有极值点将所述呼吸信号划分为若干呼吸周期。All extreme points of the respiratory signal are acquired, and the respiratory signal is divided into several breathing cycles according to all the extreme points obtained.
所述睡眠监测方法,其中,所述获取所述呼吸信号的所有极值点,并根据获取到的所有极值点将所述呼吸信号划分为若干呼吸周期具体包括:The sleep monitoring method, wherein the obtaining all the extreme points of the respiratory signal and dividing the respiratory signal into a plurality of respiratory periods according to all the extreme points obtained includes:
获取所述波形信号对应的波形曲线,并根据所述波形曲线确定所述波形信号的所有极大值点;Obtaining a waveform curve corresponding to the waveform signal, and determining all maximum value points of the waveform signal according to the waveform curve;
根据提取到的所有极大值点将所述呼吸信号划分为若干呼吸周期,其中,两个相邻极大值形成的区间为一个呼吸周期。The breathing signal is divided into a plurality of breathing cycles according to all the extracted maximum points, wherein the interval formed by the two adjacent maxima is one breathing cycle.
所述睡眠监测方法,其中,所述分别将各呼吸周期的呼气点按照预设规则沿时间轴偏移预设偏移量具体包括:The sleep monitoring method, wherein the exchanging exhalation points of each breathing cycle according to a preset rule along a time axis by a preset offset specifically includes:
对于每个呼吸周期,将该呼吸周期包含的呼气点按照时间顺序进行排序;For each breathing cycle, the exhalation points included in the breathing cycle are sorted in chronological order;
根据所述排序顺序,将第一呼气点沿时间轴向后偏移预设偏移量,并将第二呼气点沿时间轴向前偏移预设偏移量。According to the sorting order, the first exhalation point is shifted back by a preset offset along the time axis, and the second exhalation point is forwardly offset by a preset offset along the time axis.
所述睡眠监测方法,其中,所述对于每个呼吸周期,将该呼吸周期包含的呼气点按照时间顺序进行排序之后包括:The sleep monitoring method, wherein the sorting the exhalation points included in the breathing cycle in chronological order for each respiratory cycle comprises:
根据所述排序顺序,获取第一呼气点对应的第一时刻以及第二呼气点对应的第二时刻;Obtaining, according to the sorting order, a first moment corresponding to the first exhalation point and a second moment corresponding to the second exhalation point;
根据所述第一时刻和第二时刻计算所述预设偏移量,其中,所述预设偏移量=(第二时刻-第一时刻)/10。And calculating the preset offset according to the first time and the second time, wherein the preset offset=(second time−first time)/10.
所述睡眠监测方法,其中,所述根据各呼吸周期对应的时间段对所述BCG信号更新,并根据更新后的BCG信号提取心率具体包括:The sleep monitoring method, wherein the updating the BCG signal according to a time period corresponding to each breathing cycle, and extracting the heart rate according to the updated BCG signal specifically includes:
获取各时间段对应的第一BCG信号,并将各第一BCG信号按照时间顺序拼接以形成更新后的BCG信号;Obtaining a first BCG signal corresponding to each time segment, and splicing each first BCG signal in time sequence to form an updated BCG signal;
根据更新后的BCG信号提取心率。The heart rate is extracted based on the updated BCG signal.
一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如上任意所述的睡眠监测方法中的步骤。A computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement a sleep monitoring method as described above The steps in .
一种睡眠监测装置,其包括:压力传感器、处理器、存储器及通信总线;所述存储器上存储有可被所述处理器执行的计算机可读程序;A sleep monitoring device includes: a pressure sensor, a processor, a memory, and a communication bus; and the memory stores a computer readable program executable by the processor;
所述通信总线实现处理器和存储器之间的连接通信;The communication bus implements connection communication between the processor and the memory;
所述压力传感器实现运动数据的采集,并将采集的运动数据传输至处理器;The pressure sensor realizes acquisition of motion data, and transmits the collected motion data to a processor;
所述处理器执行所述计算机可读程序时实现如权利要求1-18任意一项所述的睡眠监测方法中的步骤。The processor of the present invention, when the computer readable program is executed, implements the steps of the sleep monitoring method of any of claims 1-18.
有益效果:与现有技术相比,本申请提供了一种睡眠监测方法、存储介质以及装置,所述方法包括:采集人体的运动数据,并每间隔预设时间段获取当前时间段内所有运动数据;根据获取到的所有运动数据计算所述当前时间段的运动数据变化量,并将所述运动数据变化量与预设变化量阈值进行比较;若所述运动数据变化量大于所述预设变化量阈值,则将所述当前时间段的睡眠状态记录为运动状态。本申请通过将预设时间段内的运动数据变化量与预设变化量阈值进行比较,这样可以准确识别出睡眠过程中有无身体运动。同时,由于采用的是运动数据变化量作为判断依据,从而对应压力传感器的方向没有要求,进而可以避免压力传感器方向对监测结果的影响。Advantageous Effects: Compared with the prior art, the present application provides a sleep monitoring method, a storage medium, and a device, the method comprising: collecting motion data of a human body, and acquiring all motions in a current time period every preset time period. Data; calculating, according to all the acquired motion data, the motion data change amount of the current time period, and comparing the motion data change amount with a preset change amount threshold; if the motion data change amount is greater than the preset The change amount threshold records the sleep state of the current time period as a motion state. The present application can accurately identify the presence or absence of body motion during sleep by comparing the amount of change in motion data within a preset time period with a preset threshold of change. At the same time, since the change of the motion data is used as the judgment basis, the direction of the pressure sensor is not required, and the influence of the direction of the pressure sensor on the monitoring result can be avoided.
附图说明DRAWINGS
图1为本申请提供的睡眠监测方法的实施例一的流程图。FIG. 1 is a flowchart of Embodiment 1 of a sleep monitoring method provided by the present application.
图2为本申请提供的睡眠监测方法的实施例一中正常睡眠状态的运动数据变化图。FIG. 2 is a diagram showing changes in motion data of a normal sleep state in the first embodiment of the sleep monitoring method provided by the present application.
图3为本申请提供的睡眠监测方法的实施例一中开始有身体运动的睡眠过程的运动数据变化图。FIG. 3 is a diagram showing motion data changes of a sleep process in which body motion is started in the first embodiment of the sleep monitoring method provided by the present application.
图4为本申请提供的睡眠监测方法的实施例一中睡眠过程中身体运动结束运动数据变化图。FIG. 4 is a diagram showing changes in body motion end motion data during sleep in the first embodiment of the sleep monitoring method provided by the present application.
图5为本申请提供的睡眠监测方法的实施例三中上床、下床和在床离床状态的运动数据变化图。FIG. 5 is a diagram showing changes in exercise data of going to bed, getting out of bed, and going out of bed in the third embodiment of the sleep monitoring method provided by the present application.
图6为本申请提供的睡眠监测方法的实施例四中BCG信号的波形图。FIG. 6 is a waveform diagram of a BCG signal in Embodiment 4 of the sleep monitoring method provided by the present application.
图7为本申请提供的睡眠监测方法的实施例四中呼吸信号的波形图。FIG. 7 is a waveform diagram of a respiratory signal in Embodiment 4 of the sleep monitoring method provided by the present application.
图8为本申请提供的睡眠监测方法的实施例四中BCG信号中呼气点偏移的波形示意图。FIG. 8 is a waveform diagram of exhalation point offset in a BCG signal in Embodiment 4 of the sleep monitoring method provided by the present application.
图9为本申请提供的睡眠监测方法装置的一个实施例的结构原理图。FIG. 9 is a schematic structural diagram of an embodiment of a sleep monitoring method apparatus provided by the present application.
具体实施方式detailed description
本申请提供一种睡眠监测方法、存储介质以及装置,为使本申请的目的、技术方案及效果更加清楚、明确,以下参照附图并举实施例对本申请进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。The present application provides a sleep monitoring method, a storage medium, and an apparatus. The objects, technical solutions, and effects of the present application will become more apparent and clear, and the present application will be further described in detail below with reference to the accompanying drawings. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting.
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本申请的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。应该理解,当我们称元件被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。The singular forms "a", "an", "the" It is to be understood that the phrase "comprise" or "an" Integers, steps, operations, components, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element. Further, "connected" or "coupled" as used herein may include either a wireless connection or a wireless coupling. The phrase "and/or" used herein includes all or any one and all combinations of one or more of the associated listed.
本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语(包括技术术语和科学术语),具有与本申请所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非像这里一样被特定定义,否则不会用理想化或过于正式的含义来解释。Those skilled in the art will appreciate that all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs, unless otherwise defined. It should also be understood that terms such as those defined in a general dictionary should be understood to have meaning consistent with the meaning in the context of the prior art, and will not be idealized or excessive unless specifically defined as here. The formal meaning is explained.
下面结合附图,通过对实施例的描述,对申请内容作进一步说明。The contents of the application will be further described below with reference to the accompanying drawings.
实施例一 Embodiment 1
本实施例提供的睡眠监测方法,如图1-4所示,所述方法包括:The sleep monitoring method provided in this embodiment is as shown in FIG. 1-4, and the method includes:
S10、采集人体的运动数据,并每间隔预设时间段获取当前时间段内所有运动数据。S10: Collect motion data of the human body, and acquire all motion data in the current time period every preset time period.
具体地,所述预设时间为预先设定,用于控制读取采集到的运动数据的频率,其中,所述当前时间段指的是当前读取时间前的预设时间段,即最新的预设时间段为当前时间段。所述当前时间段的所有运动数据可以根据运动数据的采样频率相关,根据预设时间段的时长以及采样频率可以确定当前时间段包括的所有运动数据的数据量。例如,预设时间段Ts为1秒,采集的运动数据的分辨率Ns为16bit,采样频率Fs为250Hz,采集到的运动数据Ds大小范围为0-2^Ns(0-65535bit)。Specifically, the preset time is preset to control a frequency of reading the collected motion data, where the current time period refers to a preset time period before the current reading time, that is, the latest one. The preset time period is the current time period. All the motion data of the current time period may be correlated according to the sampling frequency of the motion data, and the data amount of all the motion data included in the current time period may be determined according to the duration of the preset time period and the sampling frequency. For example, the preset time period Ts is 1 second, the acquired motion data has a resolution Ns of 16 bits, the sampling frequency Fs is 250 Hz, and the collected motion data Ds has a size range of 0-2^Ns (0-65535 bits).
同时在本实施例中,所述运动数据为人体在睡眠过程中心肺和肢体活动数据。所述运动数据可以通过人体佩戴的压力传感器进行感应并采集。相应的,所述采集人体的运动数据,并每间隔预设时间段获取所述当前时间段内所有运动数据具体包括:Meanwhile, in the embodiment, the exercise data is data of lung and limb activity of the human body during the sleep process. The motion data can be sensed and collected by a pressure sensor worn by the human body. Correspondingly, the acquiring the motion data of the human body and acquiring all the motion data in the current time period every preset time period includes:
S11、通过预先佩戴的压力传感器实时感应人体的运动数据,并保存感应到的运动数据,其中,所述运动数据携带感应时间;S11. The motion data of the human body is sensed in real time by a pressure sensor worn in advance, and the sensed motion data is saved, wherein the motion data carries the sensing time;
S12、每间隔预设时间段读取所述当前时间段对应的所有运动数据。S12. Read all motion data corresponding to the current time period every preset time period.
具体地,所述压力传感器为人体预先佩戴,其中,人体可以通过以穿戴设备(如,睡眠带等)形式佩戴所述压力传感器,也可以睡眠监测床以及睡觉监测枕头等形式佩戴所述压力传感器。也就是说,所述压力传感器仅需要可以感应人体运动就可以,这里对于人体佩戴传感器的形式不做限定。此外,所述压力传感器在感应到人体运动后,后根据人体运动信息生成电信号,通过所述电信号来确定 人体运动数据。相应的,所述通过预先佩戴的压力传感器实时感应人体的运动数据,并保存感应到的人体运动数据具体包括:Specifically, the pressure sensor is pre-weared by a human body, wherein the human body can wear the pressure sensor in the form of a wearing device (eg, a sleep belt, etc.), or the pressure monitoring device can be worn in the form of a sleep monitoring bed and a sleep monitoring pillow. . That is to say, the pressure sensor only needs to be able to sense the movement of the human body, and the form of the human body wearing the sensor is not limited herein. In addition, after sensing the motion of the human body, the pressure sensor generates an electrical signal according to the motion information of the human body, and determines the motion data of the human body through the electrical signal. Correspondingly, the sensing the motion data of the human body in real time through the pre-wearing pressure sensor, and saving the sensed human motion data specifically includes:
S111、通过预设佩戴的压力传感器实时感应人体运动信息并产生电信号,并记录所述电信号的感应时间;S111: sensing body motion information and generating an electrical signal in real time through a preset pressure sensor, and recording an induction time of the electrical signal;
S112、根据所述电信号输出人体的运动数据,并将所述运动数据与所述感应时间相关联存储。S112. Output motion data of the human body according to the electrical signal, and store the motion data in association with the sensing time.
在本实施例中,所述压力传感器感应人体运动信息并产生电信号后,对所述电信号进行限波以抑制电信号的工频干扰,将限波后的电信号进行信号放大,并且滤除基线漂移和高频噪声信号;再将滤波后的电信号转换到数字信号,最后对所述数字信号进行处理以得到该电信号对应的运动数据,这样可以提高运动数据的准确,从而提高运动状态检测的准确性。同时,本申请在获取到运动数据后,无需对运动数据进行处理,这样简化了运算处理过程,提高了运动状态检测的效率。同时,减少了对硬件设备的要求,扩大了所述方法的适用性。In this embodiment, after the pressure sensor senses the motion information of the human body and generates an electrical signal, the electrical signal is limited to suppress the power frequency interference of the electrical signal, and the signal after the limited wave is amplified, and filtered. In addition to the baseline drift and high frequency noise signals; the filtered electrical signals are then converted to digital signals, and finally the digital signals are processed to obtain motion data corresponding to the electrical signals, which can improve the accuracy of the motion data, thereby improving motion The accuracy of the status detection. At the same time, after obtaining the motion data, the application does not need to process the motion data, which simplifies the operation process and improves the efficiency of the motion state detection. At the same time, the requirements for hardware devices are reduced, and the applicability of the method is expanded.
另外,为了便于记录人体运动的时间,在采集到电信号时可以通过获取感应时间,并且将所述感应时间与电信号进行关联,这样每个运动数据均配置有对应的感应时间,从而根据所述运动数据以及感应时间可以对人体运动进行定时定量的监测,提高了运动状态监测的全面性。在本实施例中,所述感应时间可以通过读取接收所述电信号的硬件设备的系统当前时间获取,也可以是压力传感器在感应到人体运动信号时确定的。当然,还可以根据采样频率以及电信号所处的当前时间段来确定所述感应时间,其具体可以为:首先获取启动人体运动数据采集的起始时刻、预设时间以及读取当前时间的所有运动数据的读取次数,根据起始时刻、预设时间以及读取次数可以确定当前时间段所处的时间区间,在根据采样频率可以确定当前电信号对应的感应时间。也就是说,在每间隔预设时间获取当前时间段包含的所有运动数据时,还可以记录读取次数,以便于根据读取次数确定当前电信号对应的感应时间。In addition, in order to facilitate the recording of the time of the human body movement, when the electrical signal is collected, the sensing time can be acquired, and the sensing time is associated with the electrical signal, so that each motion data is configured with a corresponding sensing time, thereby The motion data and the sensing time can regularly and quantitatively monitor the human motion, which improves the comprehensiveness of the motion state monitoring. In this embodiment, the sensing time may be obtained by reading the current time of the system of the hardware device that receives the electrical signal, or may be determined by the pressure sensor when sensing the motion signal of the human body. Certainly, the sensing time may also be determined according to the sampling frequency and the current time period in which the electrical signal is located, which may be: firstly acquiring all the starting time, the preset time, and the reading current time of starting the human body motion data acquisition. The number of times the motion data is read may be determined according to the starting time, the preset time, and the number of readings, and the time interval in which the current time period is located may be determined, and the sensing time corresponding to the current electrical signal may be determined according to the sampling frequency. That is to say, when all the motion data included in the current time period is acquired every preset time interval, the number of readings may also be recorded, so as to determine the sensing time corresponding to the current electrical signal according to the number of readings.
同时在本实施例中,在采集人体的运动数据之前可以预先开启睡眠检测装置,之后睡眠检测装置包含的压力传感器开启检测人体运动数据,例如,通过睡觉检测装置设置的控制按键(如,机械按键、感应感觉等)或者远程控制等方式开启睡眠检测装置。此外,所述睡眠检测装置也可以采用自动开始方式,即当压力传 感器检测到压力时,自动开启睡觉检测装置并采集人体运动数据。当然,在实际应用中,在采集到人体运动数据之后,所述每间隔预设时间段获取当前时间段内所有运动数据之前还可以包括一个睡眠状态检测过程,所述睡觉状态检测过程用于检测人体是否进行睡眠状态。所述睡觉检测过程具体可以为:实时读取人体运动数据,并将所述运动数据与预设运动数据区间进行比较,当所述运动数据数处于预设运动数据区间并持续预先时间后,确定所述人体进行睡眠状态。在确定人体进入睡眠状态后每间隔预设时间段获取当前时间段内所有运动数据。此外,所述睡觉检测过程也可以采用其他方法,例如,根据人体脑电信号确定人体是否进行睡眠等方式,这里就不一一说明。At the same time, in the embodiment, the sleep detecting device may be turned on before the motion data of the human body is collected, and then the pressure sensor included in the sleep detecting device is turned on to detect the body motion data, for example, a control button (such as a mechanical button) set by the sleep detecting device. The sleep detection device is turned on by means of remote sensing or the like. In addition, the sleep detecting device can also adopt an automatic starting mode, that is, when the pressure sensor detects the pressure, the sleep detecting device is automatically turned on and the human body motion data is collected. Of course, in the actual application, after acquiring the motion data of the human body, the preset time period may also include a sleep state detection process before acquiring all the motion data in the current time period, and the sleep state detection process is used for detecting Whether the human body is sleeping. The sleep detection process may be specifically: reading human motion data in real time, and comparing the motion data with a preset motion data interval, and determining, when the motion data number is in a preset motion data interval and continuing for a predetermined time. The human body is in a sleep state. All motion data in the current time period is acquired every predetermined time period after determining that the human body enters a sleep state. In addition, the sleep detection process may also adopt other methods, for example, determining whether the human body sleeps or not according to the human brain electrical signal, which will not be described here.
S20、根据获取到的所有运动数据计算所述当前时间段的运动数据变化量,并将所述运动数据变化量与预设变化量阈值进行比较。S20. Calculate a motion data change amount of the current time period according to the acquired motion data, and compare the motion data change amount with a preset change amount threshold.
具体地,所述预设变化量阈值为预先设定,其可以是预设运动数据区间的上限值与下限值的差值。例如,假设预设数据区间为[DND-DNU],其中,所述预设数据区间可以是通过大量实验统计分析得到的经验值,DND为22768,DNU为42768,那么预设变化量阈值=42768-22768。所述运动数据变化量为当前时间段内运动数据的最大值与运动数据最小值的差值。相应的,所述根据获取到的所有运动数据计算所述当前时间段的运动数据变化量,并将所述运动数据变化量与预设变化量阈值进行比较具体包括:Specifically, the preset change amount threshold is preset, which may be a difference between an upper limit value and a lower limit value of the preset motion data interval. For example, suppose the preset data interval is [DND-DNU], wherein the preset data interval may be an empirical value obtained by a large number of experimental statistical analysis, DND is 22768, DNU is 42768, then the preset variation threshold = 42768 -22768. The motion data change amount is a difference between the maximum value of the motion data and the motion data minimum value in the current time period. Correspondingly, the calculating the motion data change amount of the current time period according to the acquired motion data, and comparing the motion data change amount with the preset change amount threshold value specifically includes:
S21、读取所述获取到的所有运动数据的运动数据最大值以及运动数据最小值,并根据所述运动数据最大值以及运动数据最小值计算所述当前时间段的运动数据变化量;S21: reading a motion data maximum value of the acquired motion data and a motion data minimum value, and calculating a motion data change amount of the current time period according to the motion data maximum value and the motion data minimum value;
S22、将所述运动数据变化量与预设的预设变化量阈值进行比较。S22. Compare the motion data change amount with a preset preset change amount threshold.
具体地,对于读取到的当前时间段包含的所有运动数据后,在所有运动数据中提取运动数据最大值以及运动数据最小值,通过计算运动数据最大值与运动数据最小值的差值得到运动数据变化量BM Str。在将所述运动数据变化量与预设变化量阈值BM Th进行比较,其中,BM Th=DNU-DND。 Specifically, after reading all the motion data included in the current time period, the motion data maximum value and the motion data minimum value are extracted in all the motion data, and the motion is obtained by calculating the difference between the motion data maximum value and the motion data minimum value. The amount of data change BM Str . The motion data change amount is compared with a preset change amount threshold BM Th , where BM Th =DNU-DND.
S30、若所述运动数据变化量大于所述预设变化量阈值,则将所述当前时间段的睡眠状态记录为运动状态。S30. If the motion data change amount is greater than the preset change amount threshold, record the sleep state of the current time period as a motion state.
具体地,所述运动数据变化量大于所述预设变化量阈值说明当前时间段存在身体运动动作,并将所述身体运行强度记为BM Str。此外,根据所述当前时间段确定其对应的时间区间,将时间区间与所述运动状态以及运动强度对应存储,这样便于快速确定人体产生身体运动动作的时间以及运动强度。相应的,所述若所述运动数据变化量大于所述预设变化量阈值,则将所述当前时间段的睡眠状态记录为运动状态具体包括:若所述运动数据变化量大于所述预设变化量阈值,则读取所述当前时间段对应的时间区间;将所述时间区间对应的运动状态记录为存在运动动作,并将所述预设时间区间的运动强度记录为所述运动数据变化量。另外,若所述运动数据变化量小于等于所述变化量阈值,则判断人体处于正常睡眠状态,继续读取下一时间段的所有人体运动数据。 Specifically, the motion data change amount is greater than the preset change amount threshold value, indicating that there is a body motion action in the current time period, and the body running strength is recorded as BM Str . In addition, the corresponding time interval is determined according to the current time period, and the time interval is stored corresponding to the motion state and the exercise intensity, so that it is convenient to quickly determine the time and exercise intensity of the body to generate the body motion. Correspondingly, if the motion data change amount is greater than the preset change amount threshold, recording the sleep state of the current time period as the motion state specifically includes: if the motion data change amount is greater than the preset The change amount threshold is used to read the time interval corresponding to the current time period; record the motion state corresponding to the time interval as the presence of the motion action, and record the exercise intensity of the preset time interval as the motion data change the amount. In addition, if the motion data change amount is less than or equal to the change amount threshold, it is determined that the human body is in a normal sleep state, and all human motion data of the next time period is continuously read.
在本申请的一个实施例中,所述若所述运动数据变化量大于所述预设变化量阈值,则将所述当前时间段的睡眠状态记录为运动状态之后包括:In an embodiment of the present application, if the motion data change amount is greater than the preset change amount threshold, recording the sleep state of the current time period as the motion state includes:
S40、依次获取下一时间段内的睡眠状态,并获取睡眠状态处于正常睡眠状态的第一时间段;S40: sequentially acquire a sleep state in a next time period, and obtain a first time period in which the sleep state is in a normal sleep state;
S50、根据所述当前时间段与第一时间段计算处于运动状态的运动时间。S50. Calculate a motion time in a motion state according to the current time period and the first time period.
具体地,将当前时间段记为身体运动的起始时刻,身体运动强度为BM Str,之后持续获取每个预设时间段的运动状态直到获取到处于正常睡眠状态的第一时间段,即第一时间段内的运动数据变化量BM Str<=BM Th,将所述第一时间段记录身体运动结束,这样根据当前时间段以及第一时间段可以确定所述身体运动持续的时间。当然,在获取到处于正常睡眠状态的第一时间段,仅说明当前的身体运动结束,但还持续读取每个预设时间段的运动数据,以检测下一次身体运动,依次类推直至人体运动数据采集结束。 Specifically, the current time period is recorded as the starting time of the body motion, and the body motion intensity is BM Str , and then the motion state of each preset time period is continuously acquired until the first time period in the normal sleep state is acquired, that is, the first time period The motion data change amount BM Str <=BM Th in a period of time records the end of the body motion for the first time period, so that the duration of the body motion can be determined according to the current time period and the first time period. Of course, in the first time period in which the normal sleep state is acquired, only the current body motion end is indicated, but the motion data of each preset time period is continuously read to detect the next body motion, and so on until the human body motion. The data collection is over.
示例性的,所述根据所述当前时间段与第一时间段计算处于运动状态的运动时间具体包括:Exemplarily, the calculating the exercise time in the motion state according to the current time period and the first time period specifically includes:
S51、根据当前时间段包含的所有运动数据确定运动状态的开始时刻,并根据所述第一预设时间端包含的所有运动数据确定运动状态的结束时刻;S51: Determine a start time of the motion state according to all motion data included in the current time period, and determine an end time of the motion state according to all motion data included in the first preset time end;
S52、根据所述开始时刻以及所述结束时刻计算所述运动状态持续的运动时间。S52. Calculate a duration of motion of the motion state according to the start time and the end time.
进一步,所述根据当前时间段包含的所有运动数据确定运动状态的开始时刻,并根据所述第一时间段包含的所有运动数据确定运动状态的结束时刻具体包括:Further, the determining the start time of the motion state according to all the motion data included in the current time period, and determining the end time of the motion state according to all the motion data included in the first time period specifically includes:
分别将当前时间段包含的所有运动数据以及第一时间段包含的所有数据与预设运动数据区间进行比较,其中,变化量阈值为预设运动数据区间的变化量;Comparing all the motion data included in the current time period and all the data included in the first time period with the preset motion data interval, wherein the change amount threshold is a change amount of the preset motion data interval;
按照时间顺序获取当前时间段第一个未属于所述预设运动数据区间的第一运动数据,以及第一时间段最后一个未属于所述预设数据区间第二运动数据,以确定运动状态的开始时刻以及结束时刻。Obtaining, in time sequence, first motion data that is not in the preset motion data interval of the current time period, and second motion data that is not in the preset data interval in the first time period to determine a motion state. Start time and end time.
实施例二 Embodiment 2
本实施例提供了一种睡眠监测方法,其包括:This embodiment provides a sleep monitoring method, including:
H10、采集人体的运动数据,并每间隔预设时间段获取当前时间段内所有运动数据。H10: Collect motion data of the human body, and acquire all motion data in the current time period every preset time period.
H20、分别计算当前时间段的第一变化量和下一时间段的第二变化量,并分别将第一变化量和第二变化量与预设变化量阈值进行比较。H20: respectively calculate a first change amount of the current time period and a second change amount of the next time period, and compare the first change amount and the second change amount with the preset change amount threshold respectively.
H30、当第一变化量大于等于预设变化量阈值、第二变化量小于预设变化量阈值时,判定所述当前时间段的睡眠状态处于离床状态,并根据下一时间段记录下床时间。H30. When the first change amount is greater than or equal to the preset change amount threshold, and the second change amount is less than the preset change amount threshold, determine that the sleep state of the current time period is in a bed-away state, and record the next time period to get out of bed. time.
在本实施例中,所述步骤H10中运动数据采集过程与实施例一中的步骤S10的过程相同,这里不在赘述。本实施例与实施例一的区别是对采用到的运动数据的处理过程不同,并且所述压力传感器的设置方式不同,在本实施例中,所述压力传感器以睡觉检测床或者睡觉检测枕头的形式设置,当人体离开床时,压力传感器不会检测到人体运动信息。具体地,在所述步骤S20中,分别计算当前时间段第一变化量和下一时间段的第二变化量,并且所述预设变化量阈值的取值不同,在本实施例中,所述预设变化量阈值为设预设数据区间为[NSD-NSU]的差值,其中,所述预设数据区间可以是通过大量实验统计分析得到的经验值。例如,所述NSD为32268,NSU为33268,那么所述预设变化量阈值OFF Th可以为NSU-NSD。所述第一变化量为当前时间段内运动数据最大值与运动数据最小值的差值,第二变化量为下一时间段内运动数据最大值与运动数据最小值的差值。相应的,所述分别计算当前时间段的第一变化量和下一时间段的第二变化量,并分别将第一变化量和第二变化量与预设变化量阈值进行比较比较具体包括: In this embodiment, the process of the motion data collection in the step H10 is the same as the process in the step S10 in the first embodiment, and details are not described herein. The difference between this embodiment and the first embodiment is that the processing procedure of the used motion data is different, and the pressure sensor is arranged in different manners. In the embodiment, the pressure sensor is used for sleeping the bed or sleeping to detect the pillow. Formally, the pressure sensor does not detect human motion information when the human body leaves the bed. Specifically, in the step S20, the first change amount of the current time period and the second change amount of the next time period are respectively calculated, and the values of the preset change amount threshold are different. In this embodiment, The preset change amount threshold is a difference value of the preset data interval [NSD-NSU], wherein the preset data interval may be an empirical value obtained by a large number of experimental statistical analysis. For example, if the NSD is 32268 and the NSU is 33268, then the preset change amount threshold OFF Th may be NSU-NSD. The first change amount is a difference between a maximum value of the motion data and a minimum value of the motion data in the current time period, and the second change amount is a difference between the maximum value of the motion data and the minimum value of the motion data in the next time period. Correspondingly, the calculating the first change amount of the current time period and the second change amount of the next time period respectively, and comparing the first change amount and the second change amount with the preset change amount threshold respectively, respectively:
H21、分别读取当前时间段以及下一时间段的运动数据最大值以及运动数据最小值;H21, respectively reading the current time period and the maximum value of the motion data of the next time period and the minimum value of the motion data;
H22、根据当前时间的运动数据最大值以及运动数据最小值计算所述当前时间段内的第一变化量;H22. Calculate a first change amount in the current time period according to a maximum value of the motion data of the current time and a minimum value of the motion data;
H23、根据前一时间的运动数据最大值以及运动数据最小值计算所述当前时间段内的第一变化量;H23. Calculate a first change amount in the current time period according to a maximum value of the motion data of the previous time and a minimum value of the motion data;
H24、分别将第一变化量和第二变化量与预设的预设变化量阈值进行比较。H24. Compare the first change amount and the second change amount with a preset preset change amount threshold.
具体地,对于读取到的当前时间段包含的所有运动数据后,在所有运动数据中提取运动数据最大值以及运动数据最小值,通过计算运动数据最大值与运动数据最小值的差值得到第一变化量BM Str1。在将所述第一变化量与预设变化量阈值OFF Th进行比较,其中,OFF Th=NSU-NSD。同样,根据下一时间段采集的所有运动数据的运动数据最大值和运动数据最小值的查收得到第二变化量BM Str2,并将第二变化量与预设变化量阈值OFF Th进行比较。 Specifically, after all the motion data included in the current time period is read, the maximum value of the motion data and the minimum value of the motion data are extracted in all the motion data, and the difference between the maximum value of the motion data and the minimum value of the motion data is obtained. A variation BM Str1 . The first change amount is compared with a preset change amount threshold OFF Th , where OFF Th = NSU - NSD. Similarly, the second change amount BM Str2 is obtained based on the detection of the maximum value of the motion data and the minimum value of the motion data of all the motion data acquired in the next time period, and the second change amount is compared with the preset change amount threshold OFF Th .
进一步,在所述步骤H30中,所述第一变化量小于所述预设变化量阈值说明当前时间段处于在床状态,第二变化量大于所述预设变化量阈值说明下一时间段处于离床状态,从而判断用户处于离床状态,并且所述下一时间为下床时间段。从而,可以根据所述下一时间段确定下床时间,并将所述所述下床时间存储,这样便于快速确定人体的下床时间。另外,当第一变化量小于预设变化量阈值、第二变化量大于等于预设变化量阈值时,判定所述当前时间段的睡眠状态处于在床状态,并根据下一时间段确定用户上床时间。例如,将所述下一时间段的起始时间记录为上床时间,或者将所述下一时间段的结束时间记录为上床时间等。Further, in the step H30, the first change amount is smaller than the preset change amount threshold, indicating that the current time period is in the bed state, and the second change amount is greater than the preset change amount threshold, indicating that the next time period is The state of leaving the bed, thereby judging that the user is in the bed-away state, and the next time is the bed-out period. Thereby, the bedtime can be determined according to the next time period, and the bedtime can be stored, so that it is convenient to quickly determine the bedtime of the human body. In addition, when the first change amount is less than the preset change amount threshold, and the second change amount is greater than or equal to the preset change amount threshold, it is determined that the sleep state of the current time period is in the bed state, and the user is determined to go to the bed according to the next time period. time. For example, the start time of the next time period is recorded as the bedtime, or the end time of the next time period is recorded as the bedtime or the like.
在本申请的一个实施例中,所述若所述运动数据变化量大于所述预设变化量阈值,则将所述当前时间段的睡眠状态记录为运动状态之后包括:In an embodiment of the present application, if the motion data change amount is greater than the preset change amount threshold, recording the sleep state of the current time period as the motion state includes:
H40、依次获取下一预设时间段内的睡眠状态,并获取睡眠状态处于上床状态的第一时间段;H40, sequentially acquiring a sleep state in a next preset time period, and acquiring a first time period in which the sleep state is in a going to bed state;
H50、根据所述当前时间段与第一时间段计算处于离床状态的运动时间。H50. Calculate the exercise time in the state of leaving the bed according to the current time period and the first time period.
具体地,将下一时间段记为离床状态的起始时刻,之后持续获取每个预设时间段的运动状态直到获取到处于正常睡眠状态的第一时间段,即第一时间段内的运动数据变化量BM Str>=OFF Th,将所述第一时间段记录离床状态的结束时间, 也就是说,第一时间段为人体上床时间,这样根据下一时间段以及第一时间段可以确定所述离床状态的持续时间。当然,在获取到处于上床状态的第一时间段后,还持续读取每个预设时间段的运动数据,以检测下一次离床状态,依次类推直至人体运动数据采集结束。 Specifically, the next time period is recorded as the starting time of the bed-away state, and then the motion state of each preset time period is continuously acquired until the first time period in the normal sleep state, that is, the first time period, is acquired. The motion data change amount BM Str >=OFF Th , the first time period is recorded as the end time of the bed release state, that is, the first time period is the body bedtime, so according to the next time period and the first time period The duration of the bed-away state can be determined. Of course, after acquiring the first period of time in the state of going to bed, the motion data of each preset time period is continuously read to detect the next state of leaving the bed, and so on until the end of the human body motion data collection.
示例性的,所述根据所述当前时间段与第一时间段计算处于运动状态的运动时间具体包括:Exemplarily, the calculating the exercise time in the motion state according to the current time period and the first time period specifically includes:
H51、根据当前时间段包含的所有运动数据确定运动状态的开始时刻,并根据所述第一预设时间端包含的所有运动数据确定运动状态的结束时刻;H51. Determine a start time of the motion state according to all motion data included in the current time period, and determine an end time of the motion state according to all motion data included in the first preset time end;
H52、根据所述开始时刻以及所述结束时刻计算所述运动状态持续的运动时间。H52. Calculate a duration of motion of the motion state according to the start time and the end time.
进一步,所述根据当前时间段包含的所有运动数据确定运动状态的开始时刻,并根据所述第一时间段包含的所有运动数据确定离床状态的结束时刻具体包括:Further, determining the start time of the motion state according to all the motion data included in the current time period, and determining the end time of the bed-out state according to all the motion data included in the first time period specifically includes:
分别将当前时间段包含的所有运动数据以及第一时间段包含的所有数据与预设运动数据区间进行比较,其中,变化量阈值为预设运动数据区间的变化量;Comparing all the motion data included in the current time period and all the data included in the first time period with the preset motion data interval, wherein the change amount threshold is a change amount of the preset motion data interval;
按照时间顺序获取当前时间段第一个未属于所述预设运动数据区间的第一运动数据,以及第一时间段最后一个未属于所述预设数据区间第二运动数据,以确定离床状态的开始时刻以及结束时刻。Obtaining, in chronological order, first motion data that is not in the preset motion data interval of the current time period, and second motion data that is not in the preset data interval in the first time period, to determine the state of leaving the bed. The start time and the end time.
此外为了详细说明所述离床状态的运动时间的确定过程,下面结合图5做进一步说明。如图5所示,在从0到T1时间段内,变量量小于预设变化量阈值,人体处于离床状态;在T2时刻,由于BM Str(T2)>=OFF Th,并且T1为离床状态,所以T2时刻为上床时刻;在T2到T3时间段之间,BM Str都是大于OFF Th,人体处于在床状态,在T4时刻,由于BM Str(T4)<OFF Th,T4时刻人体处于离床状态,T4时间点被判断为下床时刻,从而可以得到T2时刻到T4时刻为在床时间。 In addition, in order to explain in detail the process of determining the exercise time of the bed-away state, further explanation will be given below with reference to FIG. 5. As shown in FIG. 5, during the period from 0 to T1, the variable amount is less than the preset change amount threshold, and the human body is in the bed-away state; at time T2, since BM Str (T2)>=OFF Th and T1 is the bed-out State, so T2 is the time of going to bed; between T2 and T3, BM Str is greater than OFF Th , the human body is in bed state, at time T4, because BM Str (T4) < OFF Th , T4 moment is the human body In the state of leaving the bed, the time point T4 is judged as the time of getting out of bed, so that it is possible to obtain the bed time from the time T2 to the time T4.
实施例三 Embodiment 3
本实施例提供了一种睡眠状态检测方法,其包括:This embodiment provides a sleep state detecting method, including:
M10、采集人体的运动数据,并每间隔预设时间段获取当前时间段内所有运动数据以下一时间段的所有运动数据;M10, collecting motion data of the human body, and acquiring all motion data of all time periods of the motion data in the current time period every preset time period;
M20、根据获取到的所有运动数据计算所述当前时间段的第一变化量,并将所述第一变化量与第一变化量阈值进行比较;M20: Calculate a first change amount of the current time period according to all acquired motion data, and compare the first change amount with a first change amount threshold;
M30、当所述第一变化量大于所述第一变化量阈值时,将所述当前时间段的睡眠状态记录为运动状态,并获取下一时间段的第二变化量;M30. When the first change amount is greater than the first change amount threshold, record the sleep state of the current time period as a motion state, and acquire a second change amount of the next time period;
M40、将所述第二变化量分别与第二变化量阈值和第一变化量阈值进行比较;M40. Compare the second change amount with the second change amount threshold and the first change amount threshold respectively;
M50、若第二变化量小于第二变化量阈值,则判断所述下一时间的睡眠状态处于离床状态,并根据下一时间段记录下床时间;M50. If the second change amount is less than the second change amount threshold, determine that the sleep state of the next time is in a bed-away state, and record the bed-out time according to the next time period;
M60、若所述第二变化量大于所述第二变化量阈值且小于所述第一变化量阈值,则判断所述人体处于正常睡眠状态。M60. If the second change amount is greater than the second change amount threshold and less than the first change amount threshold, determine that the human body is in a normal sleep state.
进一步,所述睡眠状态检测方法,其还包括:Further, the sleep state detecting method further includes:
M70、若所述第一变化量小于所述第一变化量阈值,则将所述第一变化量与第二变化量阈值进行比较;M70. If the first change amount is less than the first change amount threshold, compare the first change amount with the second change amount threshold;
M80、若第一变化量大于第二变化量阈值,则判断所述人体处于正常睡眠状态;M80. If the first change amount is greater than the second change amount threshold, determine that the human body is in a normal sleep state;
M90、若第一变化量小于第二变化量阈值,则判断所述人体处于离床状态。M90. If the first change amount is less than the second change amount threshold, determine that the human body is in a bed-away state.
在本实施例中,所述第一变化量阈值为实施例一中的变化量阈值,第二变化量阈值为实施例二中的变化量阈值,这里就不做赘述。此外,并且所述压力传感器在人体离开床时,不会感应到人体运动信息。In this embodiment, the first change amount threshold is the change amount threshold in the first embodiment, and the second change amount threshold is the change amount threshold in the second embodiment, which is not described herein. In addition, and the pressure sensor does not sense human motion information when the human body leaves the bed.
实施例四Embodiment 4
本实施例提供了一种睡眠监测方法,其包括:This embodiment provides a sleep monitoring method, including:
L10、采集人体的运动数据,并每间隔预设时间段获取当前时间段内所有运动数据以下一时间段的所有运动数据;L10, collecting motion data of the human body, and acquiring all motion data of all time periods of the motion data in the current time period every preset time period;
L20、根据获取到的所有运动数据计算所述当前时间段的第一变化量,并将所述第一变化量与第一变化量阈值进行比较;L20: Calculate a first change amount of the current time period according to all acquired motion data, and compare the first change amount with a first change amount threshold;
L30、当所述第一变化量大于所述第一变化量阈值时,将所述当前时间段的睡眠状态记录为运动状态,并获取下一时间段的第二变化量;L30. When the first change amount is greater than the first change amount threshold, record the sleep state of the current time period as a motion state, and acquire a second change amount of the next time period;
L40、将所述第二变化量分别与第二变化量阈值和第一变化量阈值进行比较;L40. Compare the second change amount with the second change amount threshold and the first change amount threshold respectively;
L50、若第二变化量小于第二变化量阈值,则判断所述下一时间的睡眠状态处于离床状态,并根据下一时间段记录下床时间;L50. If the second change amount is less than the second change amount threshold, determine that the sleep state of the next time is in a bed-away state, and record the bed-out time according to the next time period;
L60、若所述第二变化量大于所述第二变化量阈值且小于所述第一变化量阈值,则判断所述人体处于正常睡眠状态。L60. If the second change amount is greater than the second change amount threshold and less than the first change amount threshold, determine that the human body is in a normal sleep state.
进一步,所述睡眠监测方法,其还包括:Further, the sleep monitoring method further includes:
M70、若所述第一变化量小于所述第一变化量阈值,则将所述第一变化量与第二变化量阈值进行比较;M70. If the first change amount is less than the first change amount threshold, compare the first change amount with the second change amount threshold;
M80、若第一变化量大于第二变化量阈值,则判断所述人体处于正常睡眠状态;M80. If the first change amount is greater than the second change amount threshold, determine that the human body is in a normal sleep state;
M90、若第一变化量小于第二变化量阈值,则判断所述人体处于离床状态。M90. If the first change amount is less than the second change amount threshold, determine that the human body is in a bed-away state.
进一步,所述若第一变化量大于第二变化量阈值,则判断所述人体处于正常睡眠状态具体包括:Further, if the first change amount is greater than the second change amount threshold, determining that the human body is in a normal sleep state specifically includes:
M81、对所述BCG信号进行处理以将其划分为若干呼吸周期,其中,所述呼吸周期包括呼气-吸气-呼气;M81, processing the BCG signal to divide it into several breathing cycles, wherein the breathing cycle includes exhalation-inhalation-exhalation;
M82、分别将各呼吸周期包含的呼气点按照预设规则沿时间轴偏移预设偏移量;M82, respectively, exchanging exhalation points included in each breathing cycle according to a preset rule along a time axis by a preset offset;
M83、根据偏移后的呼气点确定各呼吸周期对应的时间段;M83, determining a time period corresponding to each breathing cycle according to the exhaled point after the offset;
M84、根据各呼吸周期对应的时间段对所述BCG信号更新,并根据更新后的BCG信号提取心率。M84: Update the BCG signal according to a time period corresponding to each breathing cycle, and extract a heart rate according to the updated BCG signal.
具体地,在所述步骤M81中,所述BCG信号(Ballistocardiography,心脏冲击描记)可以通过传感器获取的,所述传感器可以不于人体直接接触,其可以设置于凳子、床垫、枕头等物品中。当然受测者在设置传感器的物品上并处于静止状态后,通过该传感器获取BCG信号,所述BCG信号可以如图6所示。这样可以避免较大运动将BCG信号中存在运动假象,从而影响心率分析以及提取的准确性。Specifically, in the step M81, the BCG signal (Ballistocardiography) can be acquired by a sensor, and the sensor can be directly in contact with the human body, and can be disposed in a stool, a mattress, a pillow, and the like. . Of course, the subject acquires the BCG signal through the sensor after setting the sensor item and is in a static state, and the BCG signal can be as shown in FIG. 6. This can avoid large motions that have motion artifacts in the BCG signal, which affects heart rate analysis and the accuracy of the extraction.
此外,对所述BCG信号进行处理可以是对预设时间内的BCG信号进行处理,也就是说,在采集BCG信号时,可以每间隔预设时间获取当前时间段对应的BCG信号,并对当前时间段对应的BCG信号进行处理以将当前时间段对应的BCG信号划分为若干呼吸周期。相应的,所述采集BCG信号,并对所述BCG信号进行处理以将其划分为若干呼吸周期具体为:采集BCG信号,并每间隔预设时间获取当前时间段对应的BCG信号。In addition, processing the BCG signal may be processing the BCG signal in a preset time period, that is, when collecting the BCG signal, the BCG signal corresponding to the current time period may be acquired every preset time interval, and the current BCG signal is obtained. The BCG signal corresponding to the time period is processed to divide the BCG signal corresponding to the current time period into several breathing cycles. Correspondingly, the BCG signal is collected, and the BCG signal is processed to divide it into a plurality of breathing cycles, specifically: collecting a BCG signal, and acquiring a BCG signal corresponding to the current time period every preset time interval.
所述预设时间为预先设置,其可以根据实验获取人体呼吸周期时长,并根据所述呼吸周期时长来确定所述预设时间,以使得所述预设时间对应的BCG信号 仅包含一个呼吸周期,这样可以避免重复呼吸点的处理,提高心率提取的效率。例如,在本申请一个优选实施例中,人体呼吸频率范围在5-30次/分,那么可以根据呼吸频率范围来确定预设时间的取值范围,即所述预设时间的取值范围可以为2-12秒之间,相应的,所述预设时间可以优选为7秒等。The preset time is preset, which may obtain the duration of the human breathing cycle according to an experiment, and determine the preset time according to the duration of the breathing cycle, so that the BCG signal corresponding to the preset time includes only one breathing cycle. This can avoid the treatment of repeated breathing points and improve the efficiency of heart rate extraction. For example, in a preferred embodiment of the present application, the human respiratory frequency ranges from 5 to 30 beats per minute, and the range of the preset time can be determined according to the respiratory frequency range, that is, the range of the preset time can be Correspondingly, the preset time may preferably be 7 seconds or the like.
同时在本实施例中,所述对所述BCG信号进行处理指的是对所述BCG信号进行低通滤波以得到相应的呼吸信号,再根据所述呼吸信号确定呼吸周期。相应的,所述采集BCG信号,并对所述BCG信号进行处理以将其划分为若干呼吸周期具体包括:In the embodiment, the processing of the BCG signal refers to low-pass filtering the BCG signal to obtain a corresponding breathing signal, and determining a breathing cycle according to the breathing signal. Correspondingly, the collecting the BCG signal and processing the BCG signal to divide it into several breathing cycles specifically includes:
采集BCG信号,并对所述BCG信号进行低通滤波以得到呼吸信号;Collecting a BCG signal and performing low pass filtering on the BCG signal to obtain a respiratory signal;
获取所述呼吸信号的所有极值点,并根据获取到的所有极值点将所述呼吸信号划分为若干呼吸周期。All extreme points of the respiratory signal are acquired, and the respiratory signal is divided into several breathing cycles according to all the extreme points obtained.
具体地,所述BCG信号包含心率信号和呼吸信号,可以通过心率信号和呼吸信号可以通过过滤器进行分离。例如,低于1赫兹的低通滤波产生呼吸分量,心跳分量可以通过高通滤波器(例如,具有0.8至1.2戒指频率的2节Butterworth滤波器)进行滤波来提取。在本实施例中,需要对所述BCG信号进行滤波以得到其包含的呼吸分量,即得到所述BCG信号对应的呼吸信号,从而采用对所述BCG信号进行低通滤波以得到所述BCG信号对应的呼吸信号。其中,所述低通滤波器可以采用带通滤波器,通过所述带通滤波器去除直流信号和高频信号,以得到所述BCG信号对应的呼吸。Specifically, the BCG signal includes a heart rate signal and a respiratory signal, and the heart rate signal and the respiratory signal can be separated by a filter. For example, low pass filtering below 1 Hz produces a respiratory component that can be extracted by filtering through a high pass filter (eg, a 2-band Butterworth filter with a ring frequency of 0.8 to 1.2). In this embodiment, the BCG signal needs to be filtered to obtain a respiratory component thereof, that is, a respiratory signal corresponding to the BCG signal is obtained, so that the BCG signal is low-pass filtered to obtain the BCG signal. Corresponding respiratory signal. Wherein, the low pass filter may adopt a band pass filter, and the DC signal and the high frequency signal are removed by the band pass filter to obtain a breath corresponding to the BCG signal.
此外,所述极值点可以根据所述呼吸信号对应的呼吸曲线来确定,从而在获取到呼吸信号后,确定所述呼吸信号对应的呼吸曲线,并人家所述呼吸曲线确定呼吸信号对应的各极值点,在根据各极值点确定其包含的呼吸周期。相应的,所述获取所述呼吸信号的所有极值点,并根据获取到的所有极值点将所述呼吸信号划分为若干呼吸周期具体包括:In addition, the extreme point may be determined according to a breathing curve corresponding to the breathing signal, so that after the breathing signal is acquired, a breathing curve corresponding to the breathing signal is determined, and the breathing curve determined by the person determines each corresponding to the breathing signal. Extreme point, which determines the respiratory cycle it contains based on each extreme point. Correspondingly, the obtaining all the extreme points of the respiratory signal and dividing the respiratory signal into a plurality of breathing cycles according to all the obtained extreme points specifically includes:
获取所述波形信号对应的波形曲线,并根据所述波形曲线确定所述波形信号的所有极大值点;Obtaining a waveform curve corresponding to the waveform signal, and determining all maximum value points of the waveform signal according to the waveform curve;
根据提取到的所有极大值点将所述呼吸信号划分为若干呼吸周期,其中,两个相邻极大值形成的区间为一个呼吸周期。The breathing signal is divided into a plurality of breathing cycles according to all the extracted maximum points, wherein the interval formed by the two adjacent maxima is one breathing cycle.
具体地,所述呼吸信号对应的呼吸曲线为正弦曲线,选取所述正弦曲线的所 有峰值以得到所述呼吸信号的所有极大值点。例如,如图7所示,所述呼吸信号的波形为正弦曲线,从而可以根据所述呼吸信号的波形确定所述呼吸信号包含的各极值点,如,T1、TE以及T2为所述呼吸信号对应的呼吸曲线的极值点。其中,所述T1和T2为呼吸曲线的极大值点,TE为所述呼吸曲线的极小值点。此外,由于TE处数据变化的梯度小于T1和T2两个位置处的梯度,从而确定所述TE点为呼气点,所述T1点和T2点为吸气点,从而所述T1-TE-T2构成一个呼气周期,所述T1到T2的时间差为一个呼吸周期,并且根据所述时间差可以计算T1到T2时段的呼吸频率。此外,当所述呼吸信号包含多个呼吸周期时,可以根据呼吸信号对应的呼吸曲线包含的所有极大值确定所述呼吸信号包含的所有呼吸周期,并根据所述呼吸周期将所述呼吸信号划分为若干段,其中,每段呼吸信号对应的一个呼吸周期,即每段呼吸信号包含两个吸气点和一个呼气点。也就是说,在获取到呼吸信号对应的呼吸曲线包含的所有极大值后,每相邻两个极大值点之间的时间段对应一个呼吸周期。在实际应用中,所述呼吸信号的极大值可以采用其他方法获取,例如,模极算法等。Specifically, the breathing curve corresponding to the breathing signal is a sinusoid, and all peaks of the sinusoid are selected to obtain all the maximum points of the breathing signal. For example, as shown in FIG. 7, the waveform of the breathing signal is sinusoidal, so that the extreme points included in the breathing signal can be determined according to the waveform of the breathing signal, for example, T1, TE, and T2 are the breathing. The extreme point of the breathing curve corresponding to the signal. Wherein T1 and T2 are maximum points of the breathing curve, and TE is a minimum point of the breathing curve. In addition, since the gradient of the data change at the TE is smaller than the gradient at the two positions T1 and T2, the TE point is determined to be the exhalation point, and the T1 point and the T2 point are the inhalation points, so that the T1-TE- T2 constitutes an exhalation cycle, the time difference of T1 to T2 is one breathing cycle, and the respiratory frequency of the period T1 to T2 can be calculated according to the time difference. In addition, when the breathing signal includes multiple breathing cycles, all breathing periods included in the breathing signal may be determined according to all maximum values included in the breathing curve corresponding to the breathing signal, and the breathing signal is to be according to the breathing cycle. It is divided into several segments, wherein each breathing signal corresponds to one breathing cycle, that is, each breathing signal includes two inhalation points and one exhalation point. That is to say, after all the maximum values contained in the breathing curve corresponding to the respiratory signal are acquired, the time period between each adjacent two maximum value points corresponds to one breathing cycle. In practical applications, the maximum value of the respiratory signal can be obtained by other methods, such as an modal algorithm.
进一步在所述步骤M82中,所述预设规则为预先设置,根据所述预设规则对呼气点位置进行调整,以将真实呼吸点从所述BCG信号中滤过。所述预设规则可以为将按照时间顺序处于前端的呼气点向后偏移,将处于后端的呼气点向前偏移,以使得调整后的呼吸周期未包含真实呼气点。Further, in the step M82, the preset rule is preset, and the location of the exhalation point is adjusted according to the preset rule to filter the real breathing point from the BCG signal. The preset rule may be that the exhalation point at the front end in time sequence is shifted backward, and the exhalation point at the rear end is shifted forward so that the adjusted breathing cycle does not include the real exhalation point.
示例性的,所述分别将各呼吸周期的呼气点按照预设规则沿时间轴偏移预设偏移量具体包括:Exemplarily, the exhaling points of each breathing cycle are respectively offset along the time axis by a preset offset according to a preset rule, and specifically include:
对于每个呼吸周期,将该呼吸周期包含的呼气点按照时间顺序进行排序;For each breathing cycle, the exhalation points included in the breathing cycle are sorted in chronological order;
根据所述排序顺序,将第一呼气点沿时间轴向后偏移预设偏移量,并将第二呼气点沿时间轴向前偏移预设偏移量。According to the sorting order, the first exhalation point is shifted back by a preset offset along the time axis, and the second exhalation point is forwardly offset by a preset offset along the time axis.
具体地,所述预设偏移量可以是预先设定,如,0.5s等,其可以是根据呼吸周期对应的呼气点而确定的。在本实施例中,所述预设偏移量优选为根据呼吸周期对应的呼气点确定,这样对于不同呼吸频率的人体,所述预设偏移量可以不同,使得所述预设偏移量更加具有通用性。此外,所述预设偏移量可以在获取到呼气点,并将呼吸周期包含的呼气点按时间顺序排序之后在计算所述预设偏移量,这样可以简化所述预设偏移量的计算过程。相应的,所述对于每个呼吸周期,将该 呼吸周期包含的呼气点按照时间顺序进行排序之后包括:Specifically, the preset offset may be preset, for example, 0.5 s or the like, which may be determined according to an exhalation point corresponding to the breathing cycle. In this embodiment, the preset offset is preferably determined according to an exhalation point corresponding to the breathing cycle, such that the preset offset may be different for a human body of different respiratory frequencies, such that the preset offset The quantity is more versatile. In addition, the preset offset may be calculated after the exhalation point is acquired, and the exhalation points included in the respiratory cycle are sorted in chronological order, so that the preset offset may be simplified. The calculation process of the quantity. Correspondingly, for each breathing cycle, sorting the exhalation points included in the breathing cycle in chronological order includes:
根据所述排序顺序,获取第一呼气点对应的第一时刻以及第二呼气点对应的第二时刻;Obtaining, according to the sorting order, a first moment corresponding to the first exhalation point and a second moment corresponding to the second exhalation point;
根据所述第一时刻和第二时刻计算所述预设偏移量,其中,所述预设偏移量=(第二时刻-第一时刻)/10。And calculating the preset offset according to the first time and the second time, wherein the preset offset=(second time−first time)/10.
具体地,所述第一时刻为采集到所述第一呼气点的时间点,所述第二时刻为采集到所述第二呼气点的时间点。Specifically, the first time is a time point at which the first exhalation point is collected, and the second time is a time point at which the second exhalation point is collected.
进一步在所述步骤M83中,所述步骤S所述时间段为偏移后的呼气点对应的时间点的时间间隔。例如,如图8所示,所述偏移前的呼气点分别为T1和T2,所述预设偏移量为ΔT,偏移后的呼气点分别为T1′和T2′,那么所述时间段=T2′-T1′。Further, in the step M83, the time period in the step S is a time interval of a time point corresponding to the exhaled point after the offset. For example, as shown in FIG. 8, the exhalation points before the offset are respectively T1 and T2, the preset offset is ΔT, and the exhaled points after the offset are T1' and T2', respectively. The time period = T2'-T1'.
进一步在所述步骤M84中,根据所述各呼吸周期对应的时间对所述BCG信号进行更新指的是将各时间段对应的BCG信号进行拼接以形式新的BCG信号,其中,所述新的BCG信号去除呼气点。在对更新后的BCG信号进行高通滤波以得到心率信号,根据所述心率信号提取心率。相应的,所述根据各呼吸周期对应的时间段对所述BCG信号更新,并根据更新后的BCG信号提取心率具体包括:Further, in the step M84, updating the BCG signal according to the time corresponding to each breathing cycle means that the BCG signals corresponding to the respective time segments are spliced to form a new BCG signal, wherein the new BCG signal The BCG signal removes the exhalation point. The updated BCG signal is high-pass filtered to obtain a heart rate signal, and the heart rate is extracted based on the heart rate signal. Correspondingly, the updating the BCG signal according to the time period corresponding to each breathing cycle, and extracting the heart rate according to the updated BCG signal specifically includes:
获取各时间段对应的第一BCG信号,并将各第一BCG信号按照时间顺序拼接以形成更新后的BCG信号;Obtaining a first BCG signal corresponding to each time segment, and splicing each first BCG signal in time sequence to form an updated BCG signal;
根据更新后的BCG信号提取心率。The heart rate is extracted based on the updated BCG signal.
具体地,所述按照时间顺序拼接指的是将各第一CBG信号按照时间顺序排序,并将相邻两个时间段对应的信号连接,以得到更新后的BCG信号,在对更新后的BCG信号进行高通滤波以提取心率。也就是说,所述根据更新后的BCG信号提取心率具体包括:对更新后的BCG信号进行高通滤波以得到心率信号;提取所述心率信号的各峰值点,并根据提取到的峰值点确定心率。当然,在实际应用中,可以直接分别对各第一BCG信号进行高通滤波,并根据高通滤波后的第一BCG信号确定该第一BCG信号对应的心率,这样就可以得到连续的心率值,避免对第一BCG信号的拼接过程,提高心率提取的效率。Specifically, the chronological splicing refers to sorting each first CBG signal in chronological order, and connecting signals corresponding to two adjacent time segments to obtain an updated BCG signal, in the updated BCG. The signal is high pass filtered to extract the heart rate. That is, the extracting the heart rate according to the updated BCG signal specifically includes: performing high-pass filtering on the updated BCG signal to obtain a heart rate signal; extracting peak points of the heart rate signal, and determining a heart rate according to the extracted peak point. . Of course, in practical applications, each first BCG signal can be directly high-pass filtered, and the heart rate corresponding to the first BCG signal is determined according to the high-pass filtered first BCG signal, so that a continuous heart rate value can be obtained, thereby avoiding The splicing process of the first BCG signal improves the efficiency of heart rate extraction.
实施例五Embodiment 5
本实施例提供一种睡眠监测方法,所述睡眠监测方法可以用于人体睡觉监测过程,在人体睡眠监测过程中,可以通过压力传感器采集人体的BCG信号,之后对所述BCG信号进行分析,以根据所述BCG信号确定人体所处的状态,所述状态包括离床状态、在床状态、运动状态以及正常睡眠状态;而当人体处于正常睡眠状态时,可以根据所述BCG信号获取处于正常睡眠状态的心率,以便于根据所述心率对人体状态进行监测。相应的,所述睡眠监测方法具体包括:The embodiment provides a sleep monitoring method. The sleep monitoring method can be used for a human body sleep monitoring process. During the human body sleep monitoring process, the BCG signal of the human body can be collected by a pressure sensor, and then the BCG signal is analyzed to Determining a state in which the human body is located according to the BCG signal, the state including a bed release state, a bed state, a motion state, and a normal sleep state; and when the human body is in a normal sleep state, obtaining a normal sleep according to the BCG signal The heart rate of the state, in order to monitor the state of the human body according to the heart rate. Correspondingly, the sleep monitoring method specifically includes:
H10、采集BCG信号,每间隔预设时间获取当前时间段对应的BCG信号,并将所述BCG信号转换为人体运动数据。H10: Collect a BCG signal, acquire a BCG signal corresponding to the current time period every preset time interval, and convert the BCG signal into human motion data.
H20、根据获取到的所有运动数据计算所述当前时间段的运动数据的第一变化量,并将所述第一变化量与第一预设变化量阈值进行比较;H20: Calculate a first change amount of the motion data of the current time period according to the acquired motion data, and compare the first change amount with a first preset change amount threshold;
H30、若所述第一变化量小于第一所述预设变化量阈值,则对所述BCG信号进行处理以将其划分为若干呼吸周期,其中,所述呼吸周期包括呼气-吸气-呼气;H30. If the first change amount is smaller than the first preset change amount threshold, process the BCG signal to divide it into a plurality of breathing cycles, wherein the breathing cycle includes exhalation-inhalation- expiration;
H40、分别将各呼吸周期包含的呼气点按照预设规则沿时间轴偏移预设偏移量;H40, respectively, exchanging exhalation points included in each breathing cycle according to a preset rule along a time axis by a preset offset;
H50、根据偏移后的呼气点确定各呼吸周期对应的时间段;H50, determining a time period corresponding to each breathing cycle according to the exhaled point after the offset;
H60、根据各呼吸周期对应的时间段对所述BCG信号更新,并根据更新后的BCG信号提取心率H60, updating the BCG signal according to a time period corresponding to each breathing cycle, and extracting a heart rate according to the updated BCG signal
具体地,本实施例的步骤H30-H60的处理过程与实施例三相同,这里不就不在赘述,而主要对步骤H10和H20进行详细说明。Specifically, the processing procedure of the steps H30-H60 of the embodiment is the same as that of the third embodiment, and the steps H10 and H20 are mainly described in detail.
在所述步骤H10中,所述预设时间为预先设定,用于控制读取采集到的运动数据的频率,其中,所述当前时间段指的是当前读取时间前的预设时间段,即最新的预设时间段为当前时间段。所述当前时间段的所有运动数据可以根据运动数据的采样频率相关,根据预设时间段的时长以及采样频率可以确定当前时间段包括的所有运动数据的数据量。例如,预设时间段Ts为1秒,采集的运动数据的分辨率Ns为16bit,采样频率Fs为250Hz,采集到的运动数据Ds大小范围为0-2^Ns(0-65535bit)。In the step H10, the preset time is preset for controlling the frequency of reading the collected motion data, wherein the current time period refers to a preset time period before the current reading time. , that is, the latest preset time period is the current time period. All the motion data of the current time period may be correlated according to the sampling frequency of the motion data, and the data amount of all the motion data included in the current time period may be determined according to the duration of the preset time period and the sampling frequency. For example, the preset time period Ts is 1 second, the acquired motion data has a resolution Ns of 16 bits, the sampling frequency Fs is 250 Hz, and the collected motion data Ds has a size range of 0-2^Ns (0-65535 bits).
同时在本实施例中,所述运动数据为人体在睡眠过程中产生的运动数据,所述运动数据可以通过人体佩戴的压力传感器进行感应并采集。相应的,所述采集 人体的运动数据,并每间隔预设时间段获取所述当前时间段内所有运动数据具体包括:At the same time, in the embodiment, the motion data is motion data generated by the human body during sleep, and the motion data can be sensed and collected by a pressure sensor worn by the human body. Correspondingly, the acquiring the motion data of the human body and acquiring all the motion data in the current time period every preset time period includes:
H11、通过预先佩戴的压力传感器实时感应人体的运动数据,并保存感应到的运动数据,其中,所述运动数据携带感应时间;H11. The motion data of the human body is sensed in real time through a pre-wearing pressure sensor, and the sensed motion data is saved, wherein the motion data carries the sensing time;
H12、每间隔预设时间段读取所述当前时间段对应的所有运动数据。H12: Read all motion data corresponding to the current time period every preset time period.
具体地,所述压力传感器为人体预先佩戴,其中,人体可以通过以穿戴设备(如,睡眠带等)形式佩戴所述压力传感器,也可以睡眠监测床以及睡觉监测枕头等形式佩戴所述压力传感器。也就是说,所述压力传感器仅需要可以感应人体运动就可以,这里对于人体佩戴传感器的形式不做限定。此外,所述压力传感器在感应到人体运动后,后根据人体运动信息生成电信号,通过所述电信号来确定人体运动数据。相应的,所述通过预先佩戴的压力传感器实时感应人体的运动数据,并保存感应到的人体运动数据具体包括:Specifically, the pressure sensor is pre-weared by a human body, wherein the human body can wear the pressure sensor in the form of a wearing device (eg, a sleep belt, etc.), or the pressure monitoring device can be worn in the form of a sleep monitoring bed and a sleep monitoring pillow. . That is to say, the pressure sensor only needs to be able to sense the movement of the human body, and the form of the human body wearing the sensor is not limited herein. In addition, after sensing the motion of the human body, the pressure sensor generates an electrical signal according to the motion information of the human body, and determines the motion data of the human body through the electrical signal. Correspondingly, the sensing the motion data of the human body in real time through the pre-wearing pressure sensor, and saving the sensed human motion data specifically includes:
H111、通过预设佩戴的压力传感器实时感应人体运动信息并产生电信号,并记录所述电信号的感应时间;H111. The human body motion information is sensed in real time by a preset pressure sensor, and an electrical signal is generated, and the sensing time of the electrical signal is recorded;
H112、根据所述电信号输出人体的运动数据,并将所述运动数据与所述感应时间相关联存储。H112. Output motion data of the human body according to the electrical signal, and store the motion data in association with the sensing time.
在本实施例中,所述压力传感器感应人体运动信息并产生电信号后,对所述电信号进行限波以抑制电信号的工频干扰,将限波后的电信号进行信号放大,并且滤除基线漂移和高频噪声信号;再将滤波后的电信号转换到数字信号,最后对所述数字信号进行处理以得到该电信号对应的运动数据,这样可以提高运动数据的准确,从而提高运动状态检测的准确性。同时,本申请在获取到运动数据后,无需对运动数据进行处理,这样简化了运算处理过程,提高了运动状态检测的效率。同时,减少了对硬件设备的要求,扩大了所述方法的适用性。In this embodiment, after the pressure sensor senses the motion information of the human body and generates an electrical signal, the electrical signal is limited to suppress the power frequency interference of the electrical signal, and the signal after the limited wave is amplified, and filtered. In addition to the baseline drift and high frequency noise signals; the filtered electrical signals are then converted to digital signals, and finally the digital signals are processed to obtain motion data corresponding to the electrical signals, which can improve the accuracy of the motion data, thereby improving motion The accuracy of the status detection. At the same time, after obtaining the motion data, the application does not need to process the motion data, which simplifies the operation process and improves the efficiency of the motion state detection. At the same time, the requirements for hardware devices are reduced, and the applicability of the method is expanded.
另外,为了便于记录人体运动的时间,在采集到电信号时可以通过获取感应时间,并且将所述感应时间与电信号进行关联,这样每个运动数据均配置有对应的感应时间,从而根据所述运动数据以及感应时间可以对人体运动进行定时定量的监测,提高了运动状态监测的全面性。在本实施例中,所述感应时间可以通过读取接收所述电信号的硬件设备的系统当前时间获取,也可以是压力传感器在感应到人体运动信号时确定的。当然,还可以根据采样频率以及电信号所处的当前 时间段来确定所述感应时间,其具体可以为:首先获取启动人体运动数据采集的起始时刻、预设时间以及读取当前时间的所有运动数据的读取次数,根据起始时刻、预设时间以及读取次数可以确定当前时间段所处的时间区间,在根据采样频率可以确定当前电信号对应的感应时间。也就是说,在每间隔预设时间获取当前时间段包含的所有运动数据时,还可以记录读取次数,以便于根据读取次数确定当前电信号对应的感应时间。In addition, in order to facilitate the recording of the time of the human body movement, when the electrical signal is collected, the sensing time can be acquired, and the sensing time is associated with the electrical signal, so that each motion data is configured with a corresponding sensing time, thereby The motion data and the sensing time can regularly and quantitatively monitor the human motion, which improves the comprehensiveness of the motion state monitoring. In this embodiment, the sensing time may be obtained by reading the current time of the system of the hardware device that receives the electrical signal, or may be determined by the pressure sensor when sensing the motion signal of the human body. Certainly, the sensing time may also be determined according to the sampling frequency and the current time period in which the electrical signal is located, which may be: firstly acquiring all the starting time, the preset time, and the reading current time of starting the human body motion data acquisition. The number of times the motion data is read may be determined according to the starting time, the preset time, and the number of readings, and the time interval in which the current time period is located may be determined, and the sensing time corresponding to the current electrical signal may be determined according to the sampling frequency. That is to say, when all the motion data included in the current time period is acquired every preset time interval, the number of readings may also be recorded, so as to determine the sensing time corresponding to the current electrical signal according to the number of readings.
同时在本实施例中,在采集人体的运动数据之前可以预先开启睡眠检测装置,之后睡眠检测装置包含的压力传感器开启检测人体运动数据,例如,通过睡觉检测装置设置的控制按键(如,机械按键、感应感觉等)或者远程控制等方式开启睡眠检测装置。此外,所述睡眠检测装置也可以采用自动开始方式,即当压力传感器检测到压力时,自动开启睡觉检测装置并采集人体运动数据。当然,在实际应用中,在采集到人体运动数据之后,所述每间隔预设时间段获取当前时间段内所有运动数据之前还可以包括一个睡眠状态检测过程,所述睡觉状态检测过程用于检测人体是否进行睡眠状态。所述睡觉检测过程具体可以为:实时读取人体运动数据,并将所述运动数据与预设运动数据区间进行比较,当所述运动数据数处于预设运动数据区间并持续预先时间后,确定所述人体进行睡眠状态。在确定人体进入睡眠状态后每间隔预设时间段获取当前时间段内所有运动数据。此外,所述睡觉检测过程也可以采用其他方法,例如,根据人体脑电信号确定人体是否进行睡眠等方式,这里就不一一说明。At the same time, in the embodiment, the sleep detecting device may be turned on before the motion data of the human body is collected, and then the pressure sensor included in the sleep detecting device is turned on to detect the body motion data, for example, a control button (such as a mechanical button) set by the sleep detecting device. The sleep detection device is turned on by means of remote sensing or the like. In addition, the sleep detecting device may also adopt an automatic starting mode, that is, when the pressure sensor detects the pressure, the sleep detecting device is automatically turned on and the human body motion data is collected. Of course, in the actual application, after acquiring the motion data of the human body, the preset time period may also include a sleep state detection process before acquiring all the motion data in the current time period, and the sleep state detection process is used for detecting Whether the human body is sleeping. The sleep detection process may be specifically: reading human motion data in real time, and comparing the motion data with a preset motion data interval, and determining, when the motion data number is in a preset motion data interval and continuing for a predetermined time. The human body is in a sleep state. All motion data in the current time period is acquired every predetermined time period after determining that the human body enters a sleep state. In addition, the sleep detection process may also adopt other methods, for example, determining whether the human body sleeps or not according to the human brain electrical signal, which will not be described here.
进一步,在所述H20中,具体地,所述预设变化量阈值为预先设定,其可以是预设运动数据区间的上限值与下限值的差值。例如,假设预设数据区间为[DND-DNU],其中,所述预设数据区间可以是通过大量实验统计分析得到的经验值,DND为22768,DNU为42768,那么预设变化量阈值=42768-22768。所述第一变化量为当前时间段内运动数据的最大值与运动数据最小值的差值。相应的,所述根据获取到的所有运动数据计算所述当前时间段的第一变化量,并将所述第一变化量与预设变化量阈值进行比较具体包括:Further, in the H20, specifically, the preset change amount threshold is preset, which may be a difference between an upper limit value and a lower limit value of the preset motion data interval. For example, suppose the preset data interval is [DND-DNU], wherein the preset data interval may be an empirical value obtained by a large number of experimental statistical analysis, DND is 22768, DNU is 42768, then the preset variation threshold = 42768 -22768. The first amount of change is a difference between a maximum value of the motion data and a minimum value of the motion data in the current time period. Correspondingly, the calculating the first change amount of the current time period according to the acquired all the motion data, and comparing the first change amount with the preset change amount threshold value specifically includes:
H21、读取所述获取到的所有运动数据的运动数据最大值以及运动数据最小值,并根据所述运动数据最大值以及运动数据最小值计算所述当前时间段的第一变化量;H21, reading a maximum value of the motion data of the acquired motion data and a motion data minimum value, and calculating a first variation amount of the current time period according to the motion data maximum value and the motion data minimum value;
H22、将所述第一变化量与预设的预设变化量阈值进行比较。H22. Compare the first change amount with a preset preset change amount threshold.
具体地,对于读取到的当前时间段包含的所有运动数据后,在所有运动数据中提取运动数据最大值以及运动数据最小值,通过计算运动数据最大值与运动数据最小值的差值得到第一变化量BM Str。在将所述第一变化量与预设变化量阈值BM Th进行比较,其中,BM Th=DNU-DND。 Specifically, after all the motion data included in the current time period is read, the maximum value of the motion data and the minimum value of the motion data are extracted in all the motion data, and the difference between the maximum value of the motion data and the minimum value of the motion data is obtained. A variation of BM Str . The first amount of change is compared to a preset amount of change threshold BM Th , where BM Th =DNU-DND.
基于上述睡眠监测方法,本申请还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现上述实施例所述的睡眠监测方法中的步骤。Based on the above sleep monitoring method, the present application also provides a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors To achieve the steps in the sleep monitoring method described in the above embodiments.
基于上述睡眠监测方法,本申请还提供了一种BCG心率提取置,如图9所示,其包括至少一个处理器(processor)20;压力传感器21;以及存储器(memory)22,还可以包括通信接口(Communications Interface)23和总线24。其中,处理器20、压力传感器21、存储器22和通信接口23可以通过总线24完成相互间的通信。压力传感器21设置为感知人体运行信息并产生电信号。通信接口23可以传输信息。处理器20可以调用存储器22中的逻辑指令,以执行上述实施例中的方法。Based on the sleep monitoring method described above, the present application further provides a BCG heart rate extraction device, as shown in FIG. 9, which includes at least one processor 20; a pressure sensor 21; and a memory 22, which may also include communication. Interface (Communications Interface) 23 and bus 24. Among them, the processor 20, the pressure sensor 21, the memory 22, and the communication interface 23 can complete communication with each other through the bus 24. The pressure sensor 21 is arranged to sense human body operating information and generate an electrical signal. The communication interface 23 can transmit information. Processor 20 may invoke logic instructions in memory 22 to perform the methods in the above-described embodiments.
此外,上述的存储器22中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。In addition, the logic instructions in the memory 22 described above may be implemented in the form of software functional units and sold or used as separate products, and may be stored in a computer readable storage medium.
存储器22作为一种计算机可读存储介质,可设置为存储软件程序、计算机可执行程序,如本公开实施例中的方法对应的程序指令或模块。处理器30通过运行存储在存储器22中的软件程序、指令或模块,从而执行功能应用以及数据处理,即实现上述实施例中的方法。The memory 22 is a computer readable storage medium, and can be configured to store a software program, a computer executable program, a program instruction or a module corresponding to the method in the embodiment of the present disclosure. The processor 30 performs the functional application and data processing by executing software programs, instructions or modules stored in the memory 22, i.e., implements the methods in the above embodiments.
存储器22可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器22可以包括高速随机存取存储器,还可以包括非易失性存储器。例如,U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。The memory 22 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the terminal device, and the like. Further, the memory 22 may include a high speed random access memory, and may also include a nonvolatile memory. For example, a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc., may also be used to store a program code. State storage medium.
此外,上述存储介质以及移动终端中的多条指令处理器加载并执行的具体过程在上述方法中已经详细说明,在这里就不再一一陈述。In addition, the above-described storage medium and the specific processes loaded and executed by the plurality of instruction processors in the mobile terminal have been described in detail in the above methods, and will not be further described herein.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to explain the technical solutions of the present application, and are not limited thereto; although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still The technical solutions described in the foregoing embodiments are modified, or the equivalents of the technical features are replaced by the equivalents. The modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (20)

  1. 一种睡眠监测方法,其特征在于,其包括:A sleep monitoring method, characterized in that it comprises:
    采集人体的运动数据,并每间隔预设时间段获取当前时间段内所有运动数据;Collecting motion data of the human body, and acquiring all motion data in the current time period every preset time period;
    根据获取到的所有运动数据计算所述当前时间段的运动数据的第一变化量,并将所述第一变化量与第一预设变化量阈值进行比较;Calculating a first change amount of the motion data of the current time period according to the acquired motion data, and comparing the first change amount with the first preset change amount threshold;
    若所述第一变化量大于所述第一预设变化量阈值,则将所述当前时间段的睡眠状态记录为运动状态。If the first change amount is greater than the first preset change amount threshold, the sleep state of the current time period is recorded as a motion state.
  2. 根据权利要求1所述睡眠监测方法,其特征在于,所述采集人体的运动数据,并每间隔预设时间段获取所述当前时间段内所有运动数据具体包括:The sleep monitoring method according to claim 1, wherein the acquiring the motion data of the human body and acquiring all the motion data in the current time period every predetermined time period comprises:
    通过预先佩戴的压力传感器实时感应人体的运动数据,并保存感应到的运动数据,其中,所述运动数据携带感应时间;Sensing the motion data of the human body in real time through a pre-wearing pressure sensor, and storing the sensed motion data, wherein the motion data carries the sensing time;
    每间隔预设时间段读取所述当前时间段对应的所有运动数据。All motion data corresponding to the current time period is read every preset time period.
  3. 根据权利要求2所述睡眠监测方法,其特征在于,所述通过预先佩戴的压力传感器实时感应人体的运动数据,并保存感应到的人体运动数据具体包括:The sleep monitoring method according to claim 2, wherein the sensing the motion data of the human body in real time through the pre-wearing pressure sensor and storing the sensed human motion data specifically includes:
    通过预设佩戴的压力传感器实时感应人体运动信息并产生电信号,并记录所述电信号的感应时间;Real-time sensing of human motion information and generating an electrical signal by a preset pressure sensor, and recording the sensing time of the electrical signal;
    根据所述电信号输出人体的运动数据,并将所述运动数据与所述感应时间相关联存储。The motion data of the human body is output according to the electrical signal, and the motion data is stored in association with the sensing time.
  4. 根据权利要求1所述睡眠监测方法,其特征在于,所述根据获取到的所有运动数据计算所述当前时间段的第一变化量,并将所述第一变化量与第一预设变化量阈值进行比较具体包括:The sleep monitoring method according to claim 1, wherein the calculating the first change amount of the current time period according to the acquired motion data, and the first change amount and the first preset change amount Comparison of thresholds specifically includes:
    读取所述获取到的所有运动数据的运动数据最大值以及运动数据最小值,并根据所述运动数据最大值以及运动数据最小值计算所述当前时间段的第一变化量;Reading a maximum value of the motion data of the acquired motion data and a motion data minimum value, and calculating a first variation amount of the current time period according to the motion data maximum value and the motion data minimum value;
    将所述第一变化量与预设的第一预设变化量阈值进行比较。The first amount of change is compared with a preset first preset amount of change threshold.
  5. 根据权利要求1所述睡眠监测方法,其特征在于,所述若所述第一变化量大于所述第一预设变化量阈值,则将所述当前时间段的睡眠状态记录为运动状态具体包括:The sleep monitoring method according to claim 1, wherein if the first change amount is greater than the first preset change amount threshold, recording the sleep state of the current time period as a motion state specifically includes :
    若所述第一变化量大于所述第一预设变化量阈值,则读取所述当前时间段对应的时间区间;If the first change amount is greater than the first preset change amount threshold, read a time interval corresponding to the current time period;
    将所述时间区间对应的运动状态记录为存在运动动作,并将所述预设时间区间的运动强度记录为所述第一变化量。Recording the motion state corresponding to the time interval as the presence motion motion, and recording the motion intensity of the preset time interval as the first variation amount.
  6. 根据权利要求1-5任一所述睡眠监测方法,其特征在于,所述若所述第一变化量大于所述第一预设变化量阈值,则将所述当前时间段的睡眠状态记录为运动状态之后包括:The sleep monitoring method according to any one of claims 1 to 5, wherein if the first change amount is greater than the first preset change amount threshold, the sleep state of the current time period is recorded as After the sport status includes:
    依次获取下一时间段内的睡眠状态,并获取睡眠状态处于正常睡眠状态的第一时间段;Acquiring the sleep state in the next time period in sequence, and acquiring the first time period in which the sleep state is in the normal sleep state;
    根据所述当前时间段与第一时间段计算处于运动状态的运动时间。Calculating the exercise time in the motion state according to the current time period and the first time period.
  7. 根据权利要求6所述睡眠监测方法,其特征在于,所述根据所述当前时间段与第一时间段计算处于运动状态的运动时间具体包括:The sleep monitoring method according to claim 6, wherein the calculating the exercise time in the motion state according to the current time period and the first time period comprises:
    根据当前时间段包含的所有运动数据确定运动状态的开始时刻,并根据所述第一预设时间端包含的所有运动数据确定运动状态的结束时刻;Determining a start time of the motion state according to all motion data included in the current time period, and determining an end time of the motion state according to all motion data included in the first preset time end;
    根据所述开始时刻以及所述结束时刻计算所述运动状态持续的运动时间。The exercise time in which the exercise state continues is calculated based on the start time and the end time.
  8. 根据权利要求7所述睡眠监测方法,其特征在于,所述根据当前时间段包含的所有运动数据确定运动状态的开始时刻,并根据所述第一时间段包含的所有运动数据确定运动状态的结束时刻具体包括:The sleep monitoring method according to claim 7, wherein said determining a start time of the motion state based on all motion data included in the current time period, and determining an end of the motion state based on all motion data included in the first time period The moments specifically include:
    分别将当前时间段包含的所有运动数据以及第一时间段包含的所有数据与预设运动数据区间进行比较,其中,变化量阈值为预设运动数据区间的变化量;Comparing all the motion data included in the current time period and all the data included in the first time period with the preset motion data interval, wherein the change amount threshold is a change amount of the preset motion data interval;
    按照时间顺序获取当前时间段第一个未属于所述预设运动数据区间的第一运动数据,以及第一时间段最后一个未属于所述预设数据区间第二运动数据,以确定运动状态的开始时刻以及结束时刻。Obtaining, in time sequence, first motion data that is not in the preset motion data interval of the current time period, and second motion data that is not in the preset data interval in the first time period to determine a motion state. Start time and end time.
  9. 根据权利要求1所述睡眠监测方法,其特征在于,所述若所述第一变化量大于所述第一预设变化量阈值,则将所述当前时间段的睡眠状态记录为运动状态之后还包括:The sleep monitoring method according to claim 1, wherein if the first change amount is greater than the first preset change amount threshold, the sleep state of the current time period is recorded as a motion state include:
    计算下一时间段的第二变化量,并分别将第一变化量和第二变化量与第二预设变化量阈值进行比较;Calculating a second change amount of the next time period, and comparing the first change amount and the second change amount with the second preset change amount threshold respectively;
    当第一变化量大于等于第二预设变化量阈值、第二变化量小于第二预设变化量阈值时,判定所述当前时间段的睡眠状态处于离床状态,并根据下一时间段记录下床时间。When the first change amount is greater than or equal to the second preset change amount threshold, and the second change amount is less than the second preset change amount threshold, determining that the sleep state of the current time period is in the bed-away state, and recording according to the next time period Get out of bed.
  10. 根据权利要求9所述睡眠监测方法,其特征在于,所述方法还包括:The sleep monitoring method according to claim 9, wherein the method further comprises:
    当第一变化量小于第二预设变化量阈值、第二变化量大于等于第二预设变化量阈值时,判定所述当前时间段的睡眠状态处于在床状态,并根据下一时间段记录上床时间。When the first change amount is less than the second preset change amount threshold, and the second change amount is greater than or equal to the second preset change amount threshold, determining that the sleep state of the current time period is in the bed state, and recording according to the next time period Bedtime.
  11. 根据权利要求9所述睡眠监测方法,其特征在于,所述若所述第一变化量大于所述变化量阈值,则将所述预设时间段的睡眠状态记录为运动状态之后包括:The sleep monitoring method according to claim 9, wherein if the first change amount is greater than the change amount threshold, recording the sleep state of the preset time period as a motion state comprises:
    依次获取下一预设时间段内的睡眠状态,并获取睡眠状态处于上床状态的第一时间段;Acquiring the sleep state in the next preset time period in sequence, and acquiring the first time period in which the sleep state is in the going to bed state;
    根据所述当前时间段与第一时间段计算处于离床状态的运动时间。The exercise time in the bed-away state is calculated according to the current time period and the first time period.
  12. 根据权利要求1所述睡眠监测方法,其特征在于,所述方法还包括:The sleep monitoring method according to claim 1, wherein the method further comprises:
    若所述第一变化量小于所述第一预设变化量阈值,将所述第一变化量与第二预设变化量阈值进行比较;If the first change amount is smaller than the first preset change amount threshold, compare the first change amount with the second preset change amount threshold;
    当第一变化量大于第二预设变化量阈值时,则判断所述人体处于正常睡眠状态。When the first change amount is greater than the second preset change amount threshold, it is determined that the human body is in a normal sleep state.
  13. 根据权利要求12所述睡眠监测方法,其特征在于,所述当第一变化量大于第二预设变化量阈值时,则判断所述人体处于正常睡眠状态之后包括:The sleep monitoring method according to claim 12, wherein when the first change amount is greater than the second preset change amount threshold, determining that the human body is in a normal sleep state comprises:
    对所述BCG信号进行处理以将其划分为若干呼吸周期,其中,所述呼吸周期包括呼气-吸气-呼气;Processing the BCG signal to divide it into a number of breathing cycles, wherein the breathing cycle comprises exhalation-inhalation-exhalation;
    分别将各呼吸周期包含的呼气点按照预设规则沿时间轴偏移预设偏移量;The exhalation points included in each breathing cycle are respectively offset by a preset offset along the time axis according to a preset rule;
    根据偏移后的呼气点确定各呼吸周期对应的时间段;Determining a time period corresponding to each breathing cycle according to the exhaled point after the offset;
    根据各呼吸周期对应的时间段对所述BCG信号更新,并根据更新后的BCG信号提取心率。The BCG signal is updated according to a time period corresponding to each breathing cycle, and the heart rate is extracted according to the updated BCG signal.
  14. 根据权利要求13所述睡眠监测方法,其特征在于,所述采集BCG信号,并对所述BCG信号进行处理以将其划分为若干呼吸周期具体包括:The sleep monitoring method according to claim 13, wherein the collecting the BCG signal and processing the BCG signal to divide it into a plurality of breathing cycles specifically comprises:
    采集BCG信号,并对所述BCG信号进行低通滤波以得到呼吸信号;Collecting a BCG signal and performing low pass filtering on the BCG signal to obtain a respiratory signal;
    获取所述呼吸信号的所有极值点,并根据获取到的所有极值点将所述呼吸信号划分为若干呼吸周期。All extreme points of the respiratory signal are acquired, and the respiratory signal is divided into several breathing cycles according to all the extreme points obtained.
  15. 根据权利要求14所述睡眠监测方法,其特征在于,所述获取所述呼吸信号的所有极值点,并根据获取到的所有极值点将所述呼吸信号划分为若干呼吸周期具体包括:The sleep monitoring method according to claim 14, wherein the obtaining all the extreme points of the respiratory signal and dividing the respiratory signal into a plurality of breathing periods according to all the extreme points obtained includes:
    获取所述波形信号对应的波形曲线,并根据所述波形曲线确定所述波形信号的所有极大值点;Obtaining a waveform curve corresponding to the waveform signal, and determining all maximum value points of the waveform signal according to the waveform curve;
    根据提取到的所有极大值点将所述呼吸信号划分为若干呼吸周期,其中,两个相邻极大值形成的区间为一个呼吸周期。The breathing signal is divided into a plurality of breathing cycles according to all the extracted maximum points, wherein the interval formed by the two adjacent maxima is one breathing cycle.
  16. 根据权利要求14所述睡眠监测方法,其特征在于,所述分别将各呼吸周期的呼气点按照预设规则沿时间轴偏移预设偏移量具体包括:The sleep monitoring method according to claim 14, wherein the exposing the exhalation points of each breathing cycle to the preset offset along the time axis according to a preset rule comprises:
    对于每个呼吸周期,将该呼吸周期包含的呼气点按照时间顺序进行排序;For each breathing cycle, the exhalation points included in the breathing cycle are sorted in chronological order;
    根据所述排序顺序,将第一呼气点沿时间轴向后偏移预设偏移量,并将第二呼气点沿时间轴向前偏移预设偏移量。According to the sorting order, the first exhalation point is shifted back by a preset offset along the time axis, and the second exhalation point is forwardly offset by a preset offset along the time axis.
  17. 根据权利要求16所述睡眠监测方法,其特征在于,所述对于每个呼吸周期,将该呼吸周期包含的呼气点按照时间顺序进行排序之后包括:The sleep monitoring method according to claim 16, wherein the sorting of the exhalation points included in the breathing cycle in chronological order for each respiratory cycle comprises:
    根据所述排序顺序,获取第一呼气点对应的第一时刻以及第二呼气点对应的第二时刻;Obtaining, according to the sorting order, a first moment corresponding to the first exhalation point and a second moment corresponding to the second exhalation point;
    根据所述第一时刻和第二时刻计算所述预设偏移量,其中,所述预设偏移量=(第二时刻-第一时刻)/10。And calculating the preset offset according to the first time and the second time, wherein the preset offset=(second time−first time)/10.
  18. 根据权利要求13所述睡眠监测方法,其特征在于,所述根据各呼吸周期对应的时间段对所述BCG信号更新,并根据更新后的BCG信号提取心率具体包括:The sleep monitoring method according to claim 13, wherein the updating the BCG signal according to a time period corresponding to each breathing cycle, and extracting the heart rate according to the updated BCG signal specifically includes:
    获取各时间段对应的第一BCG信号,并将各第一BCG信号按照时间顺序拼接以形成更新后的BCG信号;Obtaining a first BCG signal corresponding to each time segment, and splicing each first BCG signal in time sequence to form an updated BCG signal;
    根据更新后的BCG信号提取心率。The heart rate is extracted based on the updated BCG signal.
  19. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如权利要求1~18任意一项所述的睡眠监测方法中的步骤。A computer readable storage medium, wherein the computer readable storage medium stores one or more programs, the one or more programs being executable by one or more processors to implement claim 1 The steps of the sleep monitoring method according to any one of the preceding claims.
  20. 一种睡眠监测装置,其特征在于,包括:压力传感器、处理器、存储器及通信总线;所述存储器上存储有可被所述处理器执行的计算机可读程序;A sleep monitoring device, comprising: a pressure sensor, a processor, a memory, and a communication bus; and the memory stores a computer readable program executable by the processor;
    所述通信总线实现处理器和存储器之间的连接通信;The communication bus implements connection communication between the processor and the memory;
    所述压力传感器实现运动数据的采集,并将采集的运动数据传输至处理器;The pressure sensor realizes acquisition of motion data, and transmits the collected motion data to a processor;
    所述处理器执行所述计算机可读程序时实现如权利要求1-18任意一项所述的睡眠监测方法中的步骤。The processor of the present invention, when the computer readable program is executed, implements the steps of the sleep monitoring method of any of claims 1-18.
PCT/CN2018/096697 2018-04-23 2018-07-23 Sleep monitoring method, storage medium and device WO2019205314A1 (en)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
CN201810366262.8A CN108836343A (en) 2018-04-23 2018-04-23 The monitoring method of motion state, storage medium and device in sleep procedure
CN201810366011.XA CN108836299B (en) 2018-04-23 2018-04-23 BCG heart rate extraction method, storage medium and device
CN201810365766.8A CN108523899A (en) 2018-04-23 2018-04-23 Monitoring method, storage medium in sleep procedure from bed state and device
CN201810366262.8 2018-04-23
CN201810365766.8 2018-04-23
CN201810366011.X 2018-04-23

Publications (1)

Publication Number Publication Date
WO2019205314A1 true WO2019205314A1 (en) 2019-10-31

Family

ID=68294754

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/096697 WO2019205314A1 (en) 2018-04-23 2018-07-23 Sleep monitoring method, storage medium and device

Country Status (1)

Country Link
WO (1) WO2019205314A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111568437A (en) * 2020-06-01 2020-08-25 浙江大学 Non-contact type bed leaving real-time monitoring method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106175696A (en) * 2016-09-14 2016-12-07 广州视源电子科技股份有限公司 Sleep state monitoring method and system
CN106419849A (en) * 2016-10-24 2017-02-22 珠海格力电器股份有限公司 Sleeping monitoring method and device and electronic device
CN106580297A (en) * 2017-01-25 2017-04-26 深圳贝特莱电子科技股份有限公司 Turning monitoring apparatus and method based on sleep band
CN107811641A (en) * 2017-11-17 2018-03-20 上海斐讯数据通信技术有限公司 A kind of method and system of monitoring sleep

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106175696A (en) * 2016-09-14 2016-12-07 广州视源电子科技股份有限公司 Sleep state monitoring method and system
CN106419849A (en) * 2016-10-24 2017-02-22 珠海格力电器股份有限公司 Sleeping monitoring method and device and electronic device
CN106580297A (en) * 2017-01-25 2017-04-26 深圳贝特莱电子科技股份有限公司 Turning monitoring apparatus and method based on sleep band
CN107811641A (en) * 2017-11-17 2018-03-20 上海斐讯数据通信技术有限公司 A kind of method and system of monitoring sleep

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111568437A (en) * 2020-06-01 2020-08-25 浙江大学 Non-contact type bed leaving real-time monitoring method
CN111568437B (en) * 2020-06-01 2021-07-09 浙江大学 Non-contact type bed leaving real-time monitoring method

Similar Documents

Publication Publication Date Title
RU2689177C1 (en) Sleep control device
US20210186371A1 (en) Method and apparatus for assessing respiratory distress
JP5961235B2 (en) Sleep / wake state evaluation method and system
CN108523899A (en) Monitoring method, storage medium in sleep procedure from bed state and device
KR20160081740A (en) Method for obtaining oxygen desaturation index using unconstrained measurement of bio-signals
WO1996032055A1 (en) Monitoring the occurrence of apneic and hypopneic arousals
CN112155560B (en) Apnea detection method and system based on real-time cardiac shock signal
CN106539564A (en) A kind of bunk bed monitoring method based on Sleeping band
US20180279947A1 (en) Wearable device with integrated sensors
WO2020019358A1 (en) Physiological parameter measuring system and intelligent seat having same
US20180206749A1 (en) Apparatus and method for determining a health parameter of a subject
WO2016168979A1 (en) Vital sign analysis method and system
CN104970772A (en) Collecting method of physiological parameters of people in lying state, apnea awakening method and device
CN102860839A (en) Distributed wearable dynamic heart sound collecting device
CN108836299B (en) BCG heart rate extraction method, storage medium and device
Levy et al. Smart cradle for baby using FN-M16P Module
WO2019205314A1 (en) Sleep monitoring method, storage medium and device
KR102592050B1 (en) A portable ECG electrode and an ECG measurement system for small animals
JPH06189914A (en) Biological rhythm curve measuring device
US11291406B2 (en) System for determining a set of at least one cardio-respiratory descriptor of an individual during sleep
CN108836343A (en) The monitoring method of motion state, storage medium and device in sleep procedure
KR102440217B1 (en) System and device for determining sleep stages based on deep-learning
CN112120718A (en) Method for monitoring mental state of user, computer equipment and storage medium
CN111481189A (en) Sleep evaluation method and device
Logier et al. A multi sensing method for robust measurement of physiological parameters in wearable devices

Legal Events

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

Ref document number: 18917016

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18917016

Country of ref document: EP

Kind code of ref document: A1