CN110051329A - A kind of sleep monitor method, apparatus, system and readable storage medium storing program for executing - Google Patents
A kind of sleep monitor method, apparatus, system and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN110051329A CN110051329A CN201910348606.7A CN201910348606A CN110051329A CN 110051329 A CN110051329 A CN 110051329A CN 201910348606 A CN201910348606 A CN 201910348606A CN 110051329 A CN110051329 A CN 110051329A
- Authority
- CN
- China
- Prior art keywords
- sleep
- user
- signal
- sleep monitor
- target body
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/02—Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
- A61B5/024—Detecting, measuring or recording pulse rate or heart rate
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/103—Detecting, measuring or recording devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
- A61B5/11—Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb
- A61B5/1113—Local tracking of patients, e.g. in a hospital or private home
- A61B5/1115—Monitoring leaving of a patient support, e.g. a bed or a wheelchair
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/48—Other medical applications
- A61B5/4806—Sleep evaluation
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/68—Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient
- A61B5/6887—Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient mounted on external non-worn devices, e.g. non-medical devices
- A61B5/6892—Mats
Landscapes
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Surgery (AREA)
- Biophysics (AREA)
- Pathology (AREA)
- Engineering & Computer Science (AREA)
- Biomedical Technology (AREA)
- Heart & Thoracic Surgery (AREA)
- Medical Informatics (AREA)
- Molecular Biology (AREA)
- Physics & Mathematics (AREA)
- Animal Behavior & Ethology (AREA)
- General Health & Medical Sciences (AREA)
- Public Health (AREA)
- Veterinary Medicine (AREA)
- Cardiology (AREA)
- Physiology (AREA)
- Dentistry (AREA)
- Oral & Maxillofacial Surgery (AREA)
- Measuring And Recording Apparatus For Diagnosis (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
Abstract
The invention discloses a kind of sleep monitor methods, method includes the following steps: acquiring user's sleep signal using the piezoelectric transducer being located in mattress;User's sleep signal is input in single-chip microcontroller and carries out signal conversion processes, obtains target body vital sign;Target body vital sign is analyzed and processed using server, obtains sleep monitor result;Sleep monitor result is shown in the user terminal.Using this method, it is not necessarily to user's wearable device, user's sleep signal can be acquired using piezoelectric transducer, and then obtain sleep monitor result.This contactless sleep monitor can meet the Sleep-Monitoring demand to such as school student dormitory for Indoor Video management.The invention also discloses a kind of sleep monitoring device, system and readable storage medium storing program for executing, have corresponding technical effect.
Description
Technical field
The present invention relates to monitoring technical fields, more particularly to a kind of sleep monitor method, apparatus, system and readable storage
Medium.
Background technique
As Chinese Basic Education is gradually intended to centralized management, and lodging number of student, which increases, to be brought in management
Problem.And most of middle and primary schools still use traditional labor management method at present, bring repeats operation, inefficient, artificial mistake
Accidentally the disadvantages of, is unfavorable for the development in an all-round way and progress of student.
Currently, the problems such as being the traditional dormitory management system bring repetition operation of the most of middle and primary schools of solution, be inefficient.With
Information technology is to rely on, and has developed diversiform Dormitory management system, but wherein more mainstream is student's toll bar
Access control system, but its there is also limitations, not can confirm that active state of the student in dormitory, and sleep detection technology can make up
The missing of this respect information.
Sleep detection is able to detect sleeping under sleep state as a kind of medical supplementary means comparative maturity till now
Dormancy information such as respiratory rate, cardiac rate and turn situation.Such as Polysomnography, hospital or other care facilities are used for disease
The status information of people detects, and needs to acquire sleep signal in the multiple position connection electrodes of the body of test object, to a certain degree
The upper psychological burden for increasing sleep object, and this sleep monitor is at high cost, complicated for operation, the benefit as Dormitory management
It is obviously unreasonable to repay means.In recent years also occur detecting every life-information of human body by wearable device, but most needs are straight
It connects and skin contact, and price is higher.
It is current art technology in conclusion how to efficiently solve the problems such as how carrying out sleep monitor to student
Personnel's technical problem urgently to be solved.
Summary of the invention
The object of the present invention is to provide a kind of sleep monitor method, apparatus, system and readable storage medium storing program for executing, with to student into
Row sleep monitor is managed with reaching the active state in the dormitory to student.
In order to solve the above technical problems, the invention provides the following technical scheme:
A kind of sleep monitor method, comprising:
User's sleep signal is acquired using the piezoelectric transducer being located in mattress;
User's sleep signal is input in single-chip microcontroller and carries out signal conversion processes, obtains target body life entity
Sign;
The target body vital sign is analyzed and processed using server, obtains sleep monitor result;
The sleep monitor result is shown in the user terminal.
Preferably, after acquisition user's sleep signal using the piezoelectric transducer being located in mattress, will be described
User's sleep signal is input in single-chip microcontroller before carrying out signal conversion processes, further includes:
User's sleep signal is successively passed through into signal amplification, filtering and AD conversion processing.
Preferably, user's sleep signal is input in single-chip microcontroller and carries out signal conversion processes, obtain target body
Vital sign, comprising:
Median filtering is carried out to user's dormant data, the target to filtered signal statistics beyond respiration threshold time
Number, and record time interval;
Respiratory rate is determined using the targeted number and the time interval;
Heart rate detection is carried out to user's dormant data, obtains heart rate.
Preferably, the target body vital sign is analyzed and processed using server, obtain sleep monitor as a result,
Include:
According to sleep state decision rule, the respiratory rate and the corresponding sleep monitor result of the heart rate are determined;It is described
Sleep monitor result includes sleep duration, Depth of sleep, sleep initial time.
Preferably, further includes:
Median filtering is carried out to user's sleep signal, is more than the turn time for turning over threshold value to filtered signal statistics
Number;
Correspondingly, described that the target body vital sign is analyzed and processed using server, obtain sleep monitor
As a result, comprising:
The sleep monitor result is modified using the turn number.
Preferably, further includes:
There is into time point of the numerical value for a straight line as user from the bed time in user's sleep signal;
The bed time is returned as user using user's sleep signal from the time point that a straight line becomes non-rectilinear signal;
Correspondingly, described that the target body vital sign is analyzed and processed using server, obtain sleep monitor
As a result, comprising:
The bed time is returned from bed time and the user in conjunction with the user, the sleep monitor result is modified.
Preferably, further includes:
Sleep early warning is carried out using the sleep monitor result.
A kind of sleep monitoring device, comprising:
User's sleep signal obtains module, for acquiring user's sleep signal using the piezoelectric transducer being located in mattress;
Target body vital sign obtains module, carries out signal for user's sleep signal to be input in single-chip microcontroller
Conversion process obtains target body vital sign;
Sleep monitor result obtains module, for being carried out at analysis using server to the target body vital sign
Reason obtains sleep monitor result;
Sleep monitor result display module, for showing the sleep monitor result in the user terminal.
A kind of sleep monitor system, comprising:
Piezoelectric transducer, single-chip microcontroller, network transmission circuit, server and user terminal;Wherein, piezoelectric transducer with it is described
Single-chip microcontroller is connected directly, and the single-chip microcontroller has communication connection by the network transmission circuit and the server, described
User terminal and server have communication connection;
The piezoelectric transducer for acquiring user's sleep signal, and is sent to the single-chip microcontroller;
The single-chip microcontroller obtains target body life entity for carrying out signal conversion processes to user's sleep signal
Sign;
The network transmission circuit, for the target body vital signs to be sent to the server;
The server obtains sleep monitor result for being analyzed and processed to the target body vital sign;
The user terminal for carrying out communication interaction with the server, and shows the sleep monitor result.
A kind of readable storage medium storing program for executing is stored with computer program, the computer program quilt on the readable storage medium storing program for executing
The step of processor realizes above-mentioned sleep monitor method when executing.
Using method provided by the embodiment of the present invention, is slept and believed using the piezoelectric transducer acquisition user being located in mattress
Number;User's sleep signal is input in single-chip microcontroller and carries out signal conversion processes, obtains target body vital sign;Utilize service
Device is analyzed and processed target body vital sign, obtains sleep monitor result;Sleep monitor knot is shown in the user terminal
Fruit.
Piezoelectric transducer is to utilize sensor made of the piezoelectric effect generated after certain dielectric medium stresses.So-called piezoelectricity effect
It should refer to certain dielectrics in the external force by a direction and when deformation occurs (including bending and telescopic deformation), due to
The polarization phenomena of internal charge, can be the phenomenon that its surface generates charge.The piezoelectric transducer being arranged in mattress can be in user
Breathing, heartbeat when turning over or leaving, generate user's sleep signal due to by different pressure.User's sleep signal is input to
It carries out that targeted vital sign can be obtained after signal conversion processes in single-chip microcontroller, such as heart rate and respiratory rate.Then, it is based on people institute
The sleep state at place is different, and corresponding change or rule can be presented in vital sign, thus using server to target body life
Sign is analyzed and processed, and obtains sleep monitor as a result, then can show the sleep state result in the user terminal.It can
See, in the method, is not necessarily to user's wearable device, user's sleep signal can be acquired using piezoelectric transducer, and then slept
Dormancy monitoring result.This contactless sleep monitor can meet and Indoor Video management is slept to such as school student dormitory
Dormancy monitoring demand.
Correspondingly, the embodiment of the invention also provides sleep monitoring device corresponding with above-mentioned sleep monitor method, be
System and readable storage medium storing program for executing, have above-mentioned technique effect, details are not described herein.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of implementation flow chart of sleep monitor method in the embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of sleep monitor system in the embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of sleep monitoring device in the embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description
The present invention is described in further detail.Obviously, described embodiments are only a part of the embodiments of the present invention, rather than
Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Embodiment one:
Referring to FIG. 1, Fig. 1 is a kind of flow chart of sleep monitor method in the embodiment of the present invention, this method includes following
Step:
S101, user's sleep signal is acquired using the piezoelectric transducer being located in mattress.
In embodiments of the present invention, can place on the bed for needing to carry out Sleep-Monitoring in advance has piezoelectric transducer
Mattress.Certainly, directly piezoelectric transducer can also be placed below mattress, allows piezoelectric transducer to the vibration on mattress
Or pressure change is converted to corresponding electric signal.Preferably, consider that piezoceramic transducer has contactless, high precision
Degree, low cost, high robust, it is easy to use the features such as, can be preferential to select piezoelectric ceramics sensing when selecting piezoelectric transducer
Device.Specifically, piezoceramic transducer can identify pressure change caused by small vibration, human heartbeat can be perceived and breathing causes
The variation of thoracic cavity jerk power, and it is converted into electric signal.Secondly cheap piezoelectric ceramic piece is conducive to equip on a large scale, and by
Can not have to directly contact human body in the pressure signal of detection can be collected, and the movements such as user's turn be allowed in use process, just
In use.User's sleep signal is acquired using piezoceramic transducer.
S102, it user's sleep signal is input in single-chip microcontroller carries out signal conversion processes, obtain target body life entity
Sign.
In embodiments of the present invention, the physics chain of the signal transmission between piezoelectric transducer and single-chip microcontroller can be built in advance
Road.Specifically, piezoelectric transducer can be connected by transmission circuit with single-chip microcontroller.Wherein, transmission circuit, which can be only, can be used for
Transmit the cable of user's sleep signal.Preferably, in order to ensure that signals transmission causes signal to lose because of reasons such as line losses
Very, user's sleep signal can successively be passed through to signal amplification, filtering and AD conversion processing.That is, can specifically be wrapped in transmission circuit
Include operation amplifier circuit and filter circuit and analog to digital conversion circuit.
In this way, by with operation amplifier circuit and filter circuit and analog to digital conversion circuit that user's sleep signal is defeated
Enter into single-chip microcontroller and carry out signal conversion processes, target body vital signs can be obtained.Wherein, target body vital signs has
Body includes heart rate and respiratory rate.
Wherein, signal conversion processes obtain the realization process of heart rate and respiratory rate, comprising:
Step 1: carrying out median filtering to user's dormant data, filtered signal statistics are exceeded with the mesh of respiration threshold
Number is marked, and records time interval;
Step 2: determining respiratory rate using targeted number and time interval;
Step 3: carrying out heart rate detection to user's dormant data, heart rate is obtained.
It is illustrated for ease of description, below combining above three step.
It is mingled with heart rate and other action signals, waveform in original signal by the collected respiratory movement of piezoelectric transducer
Without rule, need to be filtered signal and screen.In view of respiratory movement exhales the pressure meeting between a suction to mattress one
Difference, and then piezoelectric transducer user's sleep signal collected also will appear signal low ebb and signal peak, can be preset
Respiration threshold, the respiration threshold can be specially breathing upper threshold value and breathing lower threshold value.In this way, carrying out signal mistake by median filtering
Filter is denoted as respiration movement when signal is more than respiration upper threshold value and is lower than respiration lower threshold value, and records the time
Interval.For example, breathing upper threshold value can be 2500mv (millivolt), breathing lower threshold value can for 3000mv (2500mv here and
3000mv is amplified signal, and threshold value changes with amplification factor, and amplification factor is 10 times herein).Based on multiple time intervals and
Heart rate can be calculated in respiration rate.For example, being obtained when counting the respiration rate that time interval has reached one minute
It, can be directly using targeted number as respiratory rate to targeted number.
Correspondingly, the corresponding detection method for being used for respiratory rate can also be used to user's dormant data, heart rate is obtained, herein
No longer repeat one by one.
After seeing conversion to user's sleep signal using single-chip microcontroller, the available network mould specifically communicated to connect with single-chip microcontroller
Target body vital signs is transferred to server by block such as WIFI.
S103, target body vital sign is analyzed and processed using server, obtains sleep monitor result.
In view of human body is under different sleep states, the human life feature meeting different from presented, thus server
After receiving target body vital signs, it can be carried out at analysis based on sleep state of the target body vital signs to user
Reason, obtains sleep monitor result.
Specifically, respiratory rate and the corresponding sleep monitor result of heart rate can be determined according to sleep state decision rule;It sleeps
Dormancy monitoring result includes sleep duration, Depth of sleep, sleep initial time.
Based on how obtaining the concrete analysis of sleep duration, Depth of sleep and initial time of sleeping based on respiratory rate and heart rate
Treatment process can refer to the current common specific implementation being monitored based on heart rate and respiratory rate to the sleep state of user
Journey, this is no longer going to repeat them.
Preferably, it is contemplated that be based only upon heart rate and respiratory rate is handled and the sleep monitor result that obtains it is possible that
The problem of monitoring result inaccuracy.In order to solve this problem, the embodiment of the present invention proposes following two solution:
Scheme 1: carrying out median filtering to user's sleep signal, is more than the turn for turning over threshold value to filtered signal statistics
Number;Correspondingly, target body vital sign is analyzed and processed using server, obtains sleep monitor result, comprising: benefit
Sleep monitor result is modified with number is turned over.When there is turn movement in sleep procedure in user, piezoelectric transducer pair
The induction of turn movement becomes apparent from compared to the signal value variation of breathing and heartbeat etc., thus from user's sleep signal can
To detect to turn over number.Specifically section advanced in years carries out median filtering to user's sleep signal, then to median filtering is judged after
Signal is more than the turn number for turning over threshold value.It obtains after turning at number, the turn number directly can be sent to server.It is logical
In normal situation, turns over often, then illustrate that sleep quality is poorer;And turn is fewer, then illustrates that sleep quality is better.Thus, it can
Number is turned over by judgement to be compared with the sleep quality in sleep monitor result, determines whether turn over number and sleep quality
Matching is adjusted sleep quality based on number is turned over if mismatching.For example, if sleep quality is with 1 to 10 grade
Number, then can be turned over using n times reduces a grade is adjusted as standard, and wherein N can be the positive integer more than or equal to 1, such as
It is 3.
Scheme 2: there is into time point of the numerical value for a straight line as user from the bed time in user's sleep signal;User is slept
Dormancy signal returns the bed time as user from the time point that a straight line becomes non-rectilinear signal;Correspondingly, using server to target
Human body vital sign is analyzed and processed, and obtains sleep monitor result, comprising: when returning bed from bed time and user in conjunction with user
Between, sleep monitor result is modified.When in view of user in bed with user not in bed when, piezoelectric transducer is acquired
Signal be it is completely different.Specifically, when user in bed when, by the limb action of user, or as breathing and heartbeat life
Sign is influenced, the output signal of piezoelectric transducer can signal value can be fluctuation signal, and user not in bed when, without outer
In the case that boundary influences, straight line or the slight wave within the scope of certain signal value can be presented in the output signal of piezoelectric transducer
It is dynamic.Thus can the fluctuation situation to user's sleep signal be made whether monitoring in bed.Specifically, when user's sleep signal goes out
Existing numerical value is a straight line or when fluctuation range is less than preset threshold, can be considered that user leaves bed, when user's sleep signal is by always
When line becomes non-rectilinear or fluctuation range greater than preset threshold, it is considered as user and returns bed.It from the bed time and is returned the bed time based on user
Supplement confirmation can be carried out to user's sleeping time.Specifically, if user's sleep termination time after from bed, can be directly by user
The sleep termination time is redefined as from before the bed time, and correspondingly, if user sleeps, initial time can incite somebody to action before returning bed
User's sleep initial time was adjusted to time bed time.
In addition, user excessively also can determine that the sleep quality of user is bad from bed number in the period at night, that is, it is based on user
The sleep quality in sleep monitor result can also be adjusted from bed number.Specific adjustment realization process can be found in turn time
The adjustment of several pairs of sleep quality grades, this is no longer going to repeat them.
In practical applications, scheme 1 is not excluded for scheme 2, can association schemes 1 and scheme 2 to sleep monitor result into
Row amendment.
S104, sleep monitor result is shown in the user terminal.
After the sleep monitor result for obtaining user, sleep monitor result can be shown in user terminal.Specifically, working as quilt
The object of monitoring is school student, then can show the corresponding sleep quality monitoring result of each student in Dormitory management system
In, so that dormitory management personnel are checked in time and carry out corresponding management.
Sleep early warning can also be carried out by being preferably based on sleep quality monitoring.Sleep using sleep monitor result pre-
It is alert.Specifically, being more than preset from bed threshold value when there is monitored target from the bed time, it may be determined that monitored in the period at night
Object from bed time anomaly, can inform that related personnel be checked in time by early warning;Or, there is a large amount of be monitored in certain period
Object sleep quality is excessively poor or sleeping time is too short, also exportable warning information, so that related personnel is to influence monitored target
Factor checked, to ensure the sleep of monitored target.
Using method provided by the embodiment of the present invention, is slept and believed using the piezoelectric transducer acquisition user being located in mattress
Number;User's sleep signal is input in single-chip microcontroller and carries out signal conversion processes, obtains target body vital sign;Utilize service
Device is analyzed and processed target body vital sign, obtains sleep monitor result;Sleep monitor knot is shown in the user terminal
Fruit.
Piezoelectric transducer is to utilize sensor made of the piezoelectric effect generated after certain dielectric medium stresses.So-called piezoelectricity effect
It should refer to certain dielectrics in the external force by a direction and when deformation occurs (including bending and telescopic deformation), due to
The polarization phenomena of internal charge, can be the phenomenon that its surface generates charge.The piezoelectric transducer being arranged in mattress can be in user
Breathing, heartbeat when turning over or leaving, generate user's sleep signal due to by different pressure.User's sleep signal is input to
It carries out that targeted vital sign can be obtained after signal conversion processes in single-chip microcontroller, such as heart rate and respiratory rate.Then, it is based on people institute
The sleep state at place is different, and corresponding change or rule can be presented in vital sign, thus using server to target body life
Sign is analyzed and processed, and obtains sleep monitor as a result, then can show the sleep state result in the user terminal.It can
See, in the method, is not necessarily to user's wearable device, user's sleep signal can be acquired using piezoelectric transducer, and then slept
Dormancy monitoring result.This contactless sleep monitor can meet and Indoor Video management is slept to such as school student dormitory
Dormancy monitoring demand.
Embodiment two:
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of sleep monitor systems, are described below
Sleep monitor system can correspond to each other reference with above-described sleep monitor method.
Referring to FIG. 2, Fig. 2 is a kind of structural schematic diagram of sleep monitor system in the embodiment of the present invention;The system includes:
Piezoelectric transducer 100, single-chip microcontroller 200, network transmission circuit 300, server 400 and user terminal 500;Wherein,
Piezoelectric transducer is connected directly with the single-chip microcontroller, and the single-chip microcontroller passes through the network transmission circuit and the service utensil
Standby communication connection, the user terminal and server have communication connection;
The piezoelectric transducer for acquiring user's sleep signal, and is sent to the single-chip microcontroller;
The single-chip microcontroller obtains target body life entity for carrying out signal conversion processes to user's sleep signal
Sign;
The network transmission circuit, for the target body vital signs to be sent to the server;
The server obtains sleep monitor result for being analyzed and processed to the target body vital sign;
The user terminal for carrying out communication interaction with the server, and shows the sleep monitor result.
In practical applications, piezoelectric transducer acquires pressure data using piezoceramic transducer, to avoid the occurrence of signal
Distortion can also input single-chip microcontroller after amplifier, filtering and AD conversion, which obtains heart rate and respiratory rate with algorithm.
Then it is analyzed by the system that network transmission circuit (such as WiFi module) is transferred to server, end user's all data is anti-
It is fed to user terminal.Wherein, STM32F103RET6 minimum system can be used in single-chip microcontroller, and STM32F103RET6 single-chip microcontroller uses
Cortex-M3 kernel, CPU maximum speed reach 72MHz, the Series MCU have 16KB~1MB Flash, various control peripheral hardware,
USB full speed interface and CAN.
Wherein, heart rate, respiratory rate detection algorithm, data analysis, user terminal show sleep monitor structure (such as management system
System, APP) specific workflow it is as follows:
Heartbeat, breathing etc. are acted using piezoceramic transducer, electrical signal is converted into the pressure size variation of mattress
Variation.Its cardinal principle is the positive piezoelectric effect of piezoelectric ceramics sensor, and piezoelectric ceramics sensor uses barium titanate or zirconium
The materials such as barium titanate, under the action of outer hyper polarization electric field, piezoelectric ceramics sensor generates constraint after positive external force
Charge shows as a lesser voltage effects, which is consistent with the effect size of external force, by measuring the voltage
To measure the size variation of pressure.
Front end operational amplifier circuit carries out basic signal processing, and the charge inducing that piezoelectric ceramics generates is amplified, makes to produce
Raw voltage signal reaches the voltage swing of suitable single-chip microcontroller processing by operation amplifier.These Jing Guo preliminary treatment voltage letter
Number, the electric signal for being suitable for processing is obtained by filtering out exchange electrical noise.These electric signals are needed through algorithm process, can be incited somebody to action
Rough heart rate, breath signal extract, and ADC (analog-to-digital conversion) can convert electrical signals into digital signal.Digital signal
It handles to obtain heart rate respiratory rate data with heart rate respiratory rate detection algorithm on single-chip microcontroller.
The data such as heart rate and respiratory rate are transferred to WiFi module, WiFi mould by serial ports by STM32F103RET6 single-chip microcontroller
Block uses ESP8266 chip.Wherein, ESP8266 is integrated with 32 bit processors, standard digital Peripheral Interface, duplexer, penetrates
Frequently, power amplifier, low noise amplifier, filter and power management module etc., it is only necessary to seldom peripheral circuit, it can will be shared
PCB space reduces.During WiFi module uploads onto the server data by internet.
Data input the data base management system of server, store to user data.Then to data carry out heart rate,
Respiratory rate statistics and analysis, obtain turn over number, from bed number and time, sleep state, accordingly further analyze obtain whether
It go to bed, the information such as mental health, safe early warning.Server is transferred information on user APP by internet feeds back to user.
APP checks real-time heart rate, the respiratory rate of sensor, show whether user go to bed on multiple sensors, turn over number,
From bed number and time, sleep state, the mental health report of user are generated, at the appointed time section is interior pushes from bed overlong time
Safe early warning.
Embodiment three:
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of sleep monitoring devices, are described below
Sleep monitoring device can correspond to each other reference with above-described sleep monitor method.
Shown in Figure 3, which comprises the following modules:
User's sleep signal obtains module 101, for letter of being slept using the piezoelectric transducer acquisition user being located in mattress
Number;
Target body vital sign obtains module 102, carries out signal for user's sleep signal to be input in single-chip microcontroller
Conversion process obtains target body vital sign;
Sleep monitor result obtains module 103, for being analyzed and processed using server to target body vital sign,
Obtain sleep monitor result;
Sleep monitor result display module 104, for showing sleep monitor result in the user terminal.
Using device provided by the embodiment of the present invention, is slept and believed using the piezoelectric transducer acquisition user being located in mattress
Number;User's sleep signal is input in single-chip microcontroller and carries out signal conversion processes, obtains target body vital sign;Utilize service
Device is analyzed and processed target body vital sign, obtains sleep monitor result;Sleep monitor knot is shown in the user terminal
Fruit.
Piezoelectric transducer is to utilize sensor made of the piezoelectric effect generated after certain dielectric medium stresses.So-called piezoelectricity effect
It should refer to certain dielectrics in the external force by a direction and when deformation occurs (including bending and telescopic deformation), due to
The polarization phenomena of internal charge, can be the phenomenon that its surface generates charge.The piezoelectric transducer being arranged in mattress can be in user
Breathing, heartbeat when turning over or leaving, generate user's sleep signal due to by different pressure.User's sleep signal is input to
It carries out that targeted vital sign can be obtained after signal conversion processes in single-chip microcontroller, such as heart rate and respiratory rate.Then, it is based on people institute
The sleep state at place is different, and corresponding change or rule can be presented in vital sign, thus using server to target body life
Sign is analyzed and processed, and obtains sleep monitor as a result, then can show the sleep state result in the user terminal.It can
See, in the apparatus, is not necessarily to user's wearable device, user's sleep signal can be acquired using piezoelectric transducer, and then slept
Dormancy monitoring result.This contactless sleep monitor can meet and Indoor Video management is slept to such as school student dormitory
Dormancy monitoring demand.
In a kind of specific embodiment of the invention, further includes:
Distorted signals processing module, for using be located at mattress in piezoelectric transducer acquisition user's sleep signal it
Afterwards, user's sleep signal is being input in single-chip microcontroller before progress signal conversion processes, user's sleep signal is successively being passed through
Signal amplification, filtering and AD conversion processing.
In a kind of specific embodiment of the invention, target body vital sign obtain module 102, be specifically used for
Family dormant data carries out median filtering, and filtered signal statistics are exceeded with the targeted number of respiration threshold, and records between the time
Every;Respiratory rate is determined using targeted number and time interval;Heart rate detection is carried out to user's dormant data, obtains heart rate.
In a kind of specific embodiment of the invention, sleep monitor result obtains module 103, is specifically used for according to sleep
State decision rule determines respiratory rate and the corresponding sleep monitor result of heart rate;Sleep monitor result includes sleep duration, sleep
Depth, sleep initial time.
In a kind of specific embodiment of the invention, further includes:
It turns over number and obtains module, it is super to filtered signal statistics for carrying out median filtering to user's sleep signal
Cross the turn number for turning over threshold value;
Correspondingly, sleep monitor result obtains module 103, is specifically used for carrying out sleep monitor result using turn number
Amendment.
In a kind of specific embodiment of the invention, further includes:
From bed data obtaining module, for using user's sleep signal occur time point that numerical value is a straight line as user from
The bed time;The bed time is returned as user using user's sleep signal from the time point that a straight line becomes non-rectilinear signal;
Correspondingly, sleep monitor result obtains module 103, when specifically for combining user to return bed from bed time and user
Between, sleep monitor result is modified.
In a kind of specific embodiment of the invention, further includes:
Sleep warning module, for carrying out sleep early warning using sleep monitor result.
Example IV:
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of readable storage medium storing program for executing, are described below
A kind of readable storage medium storing program for executing can correspond to each other reference with a kind of above-described sleep monitor method.
A kind of readable storage medium storing program for executing is stored with computer program on readable storage medium storing program for executing, and computer program is held by processor
The step of sleep monitor method of above method embodiment is realized when row.
The readable storage medium storing program for executing be specifically as follows USB flash disk, mobile hard disk, read-only memory (Read-Only Memory,
ROM), the various program storage generations such as random access memory (Random Access Memory, RAM), magnetic or disk
The readable storage medium storing program for executing of code.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
Claims (10)
1. a kind of sleep monitor method characterized by comprising
User's sleep signal is acquired using the piezoelectric transducer being located in mattress;
User's sleep signal is input in single-chip microcontroller and carries out signal conversion processes, obtains target body vital sign;
The target body vital sign is analyzed and processed using server, obtains sleep monitor result;
The sleep monitor result is shown in the user terminal.
2. sleep monitor method according to claim 1, which is characterized in that passed described using the piezoelectricity being located in mattress
Sensor acquire user's sleep signal after, by user's sleep signal be input in single-chip microcontroller carry out signal conversion processes it
Before, further includes:
User's sleep signal is successively passed through into signal amplification, filtering and AD conversion processing.
3. sleep monitor method according to claim 1, which is characterized in that user's sleep signal is input to monolithic
Signal conversion processes are carried out in machine, obtain target body vital sign, comprising:
Median filtering is carried out to user's dormant data, filtered signal statistics are exceeded with the targeted number of respiration threshold,
And record time interval;
Respiratory rate is determined using the targeted number and the time interval;
Heart rate detection is carried out to user's dormant data, obtains heart rate.
4. sleep monitor method according to claim 3, which is characterized in that using server to the target body life
Sign is analyzed and processed, and obtains sleep monitor result, comprising:
According to sleep state decision rule, the respiratory rate and the corresponding sleep monitor result of the heart rate are determined;The sleep
Monitoring result includes sleep duration, Depth of sleep, sleep initial time.
5. sleep monitor method according to claim 1, which is characterized in that further include:
Median filtering is carried out to user's sleep signal, is more than the turn number for turning over threshold value to filtered signal statistics;
Correspondingly, described the target body vital sign to be analyzed and processed using server, obtain sleep monitor as a result,
Include:
The sleep monitor result is modified using the turn number.
6. sleep monitor method according to claim 1, which is characterized in that further include:
There is into time point of the numerical value for a straight line as user from the bed time in user's sleep signal;
The bed time is returned as user using user's sleep signal from the time point that a straight line becomes non-rectilinear signal;
Correspondingly, described the target body vital sign to be analyzed and processed using server, obtain sleep monitor as a result,
Include:
The bed time is returned from bed time and the user in conjunction with the user, the sleep monitor result is modified.
7. sleep monitor method according to any one of claims 1 to 6, which is characterized in that further include:
Sleep early warning is carried out using the sleep monitor result.
8. a kind of sleep monitoring device characterized by comprising
User's sleep signal obtains module, for acquiring user's sleep signal using the piezoelectric transducer being located in mattress;
Target body vital sign obtains module, for user's sleep signal to be input to progress signal conversion in single-chip microcontroller
Processing obtains target body vital sign;
Sleep monitor result is obtained module and obtained for being analyzed and processed using server to the target body vital sign
Obtain sleep monitor result;
Sleep monitor result display module, for showing the sleep monitor result in the user terminal.
9. a kind of sleep monitor system characterized by comprising
Piezoelectric transducer, single-chip microcontroller, network transmission circuit, server and user terminal;Wherein, piezoelectric transducer and the monolithic
Machine is connected directly, and the single-chip microcontroller has communication connection, the user by the network transmission circuit and the server
Terminal and server have communication connection;
The piezoelectric transducer for acquiring user's sleep signal, and is sent to the single-chip microcontroller;
The single-chip microcontroller obtains target body vital sign for carrying out signal conversion processes to user's sleep signal;
The network transmission circuit, for the target body vital signs to be sent to the server;
The server obtains sleep monitor result for being analyzed and processed to the target body vital sign;
The user terminal for carrying out communication interaction with the server, and shows the sleep monitor result.
10. a kind of readable storage medium storing program for executing, which is characterized in that be stored with computer program, the meter on the readable storage medium storing program for executing
It is realized when calculation machine program is executed by processor as described in any one of claim 1 to 7 the step of sleep monitor method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910348606.7A CN110051329A (en) | 2019-04-26 | 2019-04-26 | A kind of sleep monitor method, apparatus, system and readable storage medium storing program for executing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910348606.7A CN110051329A (en) | 2019-04-26 | 2019-04-26 | A kind of sleep monitor method, apparatus, system and readable storage medium storing program for executing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110051329A true CN110051329A (en) | 2019-07-26 |
Family
ID=67321290
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910348606.7A Pending CN110051329A (en) | 2019-04-26 | 2019-04-26 | A kind of sleep monitor method, apparatus, system and readable storage medium storing program for executing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110051329A (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110464564A (en) * | 2019-09-19 | 2019-11-19 | 陈浩 | A kind of intelligent double serviced bed board system based on automatic detection and remote analysis |
CN111920379A (en) * | 2020-06-17 | 2020-11-13 | 珠海格力电器股份有限公司 | Sleep detection method and device, electronic equipment and storage medium |
CN112190419A (en) * | 2020-09-11 | 2021-01-08 | 深圳数联天下智能科技有限公司 | Sleep management method and device |
CN112206395A (en) * | 2020-09-11 | 2021-01-12 | 深圳数联天下智能科技有限公司 | Setting method and device of linkage scene |
CN112545851A (en) * | 2020-11-03 | 2021-03-26 | 未来穿戴技术有限公司 | Massage method and device, electronic device and computer readable storage medium |
CN112711233A (en) * | 2020-12-25 | 2021-04-27 | 珠海格力电器股份有限公司 | Intelligent household control method and device, processor, storage medium and electronic equipment |
CN113040710A (en) * | 2021-03-01 | 2021-06-29 | 珠海格力电器股份有限公司 | Sleep state analysis method and device |
CN113288078A (en) * | 2021-03-29 | 2021-08-24 | 江西商思伏沌科技有限公司 | Sleep quality monitoring method, device and system |
CN113476022A (en) * | 2020-11-24 | 2021-10-08 | 四川远邦益安科技有限公司 | Sleep monitoring system for resident students |
CN113679345A (en) * | 2021-08-13 | 2021-11-23 | 珠海格力电器股份有限公司 | Sleep monitoring method, device and system and storage medium |
CN113842111A (en) * | 2020-06-28 | 2021-12-28 | 珠海格力电器股份有限公司 | Sleep staging method and device, computing equipment and storage medium |
WO2022020874A1 (en) | 2020-07-30 | 2022-02-03 | Malzl Hans L | System and method for detecting sleep quality |
CN114615161A (en) * | 2022-03-14 | 2022-06-10 | 青岛护适通医疗科技有限公司 | Sleep monitoring method and monitoring device thereof |
CN117666449A (en) * | 2024-01-31 | 2024-03-08 | 四川水利职业技术学院 | Based on computer data acquisition analysis monitored control system |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06205762A (en) * | 1993-01-13 | 1994-07-26 | Matsushita Electric Ind Co Ltd | Living body information processor |
US20090078256A1 (en) * | 2006-03-06 | 2009-03-26 | Jeffrey Peter Armitstead | Method and apparatus for improved flow limitation detection of obstructive sleep apnea |
CN105212914A (en) * | 2015-11-10 | 2016-01-06 | 贵州大自然科技股份有限公司 | A kind of plant-fiber mattress and monitoring method with sleep quality monitoring function |
CN106236041A (en) * | 2016-08-23 | 2016-12-21 | 电子科技大学 | A kind of measure in real time and accurately heart rate and the algorithm of breathing rate and system |
WO2017117739A1 (en) * | 2016-01-06 | 2017-07-13 | 深圳市赛亿科技开发有限公司 | Sleep monitoring system |
CN107028426A (en) * | 2017-04-12 | 2017-08-11 | 佛山市量脑科技有限公司 | A kind of intelligent mattress system |
CN107106027A (en) * | 2014-12-16 | 2017-08-29 | 皇家飞利浦有限公司 | Baby sleep monitor |
CN107440680A (en) * | 2016-03-24 | 2017-12-08 | 丰田自动车株式会社 | Sleep state estimating device |
CN107949316A (en) * | 2015-09-03 | 2018-04-20 | 三星电子株式会社 | User terminal and dormancy management method |
US20180256048A1 (en) * | 2015-11-17 | 2018-09-13 | Murata Manufacturing Co., Ltd. | Pulse wave transit time measurement device and living body state estimation device |
CN109032223A (en) * | 2018-08-17 | 2018-12-18 | 三星电子(中国)研发中心 | A kind of sleep environment regulating device, system and method |
-
2019
- 2019-04-26 CN CN201910348606.7A patent/CN110051329A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06205762A (en) * | 1993-01-13 | 1994-07-26 | Matsushita Electric Ind Co Ltd | Living body information processor |
US20090078256A1 (en) * | 2006-03-06 | 2009-03-26 | Jeffrey Peter Armitstead | Method and apparatus for improved flow limitation detection of obstructive sleep apnea |
CN107106027A (en) * | 2014-12-16 | 2017-08-29 | 皇家飞利浦有限公司 | Baby sleep monitor |
CN107949316A (en) * | 2015-09-03 | 2018-04-20 | 三星电子株式会社 | User terminal and dormancy management method |
CN105212914A (en) * | 2015-11-10 | 2016-01-06 | 贵州大自然科技股份有限公司 | A kind of plant-fiber mattress and monitoring method with sleep quality monitoring function |
US20180256048A1 (en) * | 2015-11-17 | 2018-09-13 | Murata Manufacturing Co., Ltd. | Pulse wave transit time measurement device and living body state estimation device |
WO2017117739A1 (en) * | 2016-01-06 | 2017-07-13 | 深圳市赛亿科技开发有限公司 | Sleep monitoring system |
CN107440680A (en) * | 2016-03-24 | 2017-12-08 | 丰田自动车株式会社 | Sleep state estimating device |
CN106236041A (en) * | 2016-08-23 | 2016-12-21 | 电子科技大学 | A kind of measure in real time and accurately heart rate and the algorithm of breathing rate and system |
CN107028426A (en) * | 2017-04-12 | 2017-08-11 | 佛山市量脑科技有限公司 | A kind of intelligent mattress system |
CN109032223A (en) * | 2018-08-17 | 2018-12-18 | 三星电子(中国)研发中心 | A kind of sleep environment regulating device, system and method |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110464564A (en) * | 2019-09-19 | 2019-11-19 | 陈浩 | A kind of intelligent double serviced bed board system based on automatic detection and remote analysis |
CN111920379A (en) * | 2020-06-17 | 2020-11-13 | 珠海格力电器股份有限公司 | Sleep detection method and device, electronic equipment and storage medium |
EP4169440A4 (en) * | 2020-06-17 | 2023-06-21 | Gree Electric Appliances, Inc. of Zhuhai | Sleep detection method and apparatus, and electronic device and storage medium |
WO2021253792A1 (en) * | 2020-06-17 | 2021-12-23 | 珠海格力电器股份有限公司 | Sleep detection method and apparatus, and electronic device and storage medium |
CN113842111A (en) * | 2020-06-28 | 2021-12-28 | 珠海格力电器股份有限公司 | Sleep staging method and device, computing equipment and storage medium |
WO2022020874A1 (en) | 2020-07-30 | 2022-02-03 | Malzl Hans L | System and method for detecting sleep quality |
CN112190419A (en) * | 2020-09-11 | 2021-01-08 | 深圳数联天下智能科技有限公司 | Sleep management method and device |
CN112206395A (en) * | 2020-09-11 | 2021-01-12 | 深圳数联天下智能科技有限公司 | Setting method and device of linkage scene |
CN112206395B (en) * | 2020-09-11 | 2022-07-15 | 深圳数联天下智能科技有限公司 | Setting method and device of linkage scene |
CN112545851A (en) * | 2020-11-03 | 2021-03-26 | 未来穿戴技术有限公司 | Massage method and device, electronic device and computer readable storage medium |
CN113476022A (en) * | 2020-11-24 | 2021-10-08 | 四川远邦益安科技有限公司 | Sleep monitoring system for resident students |
CN112711233A (en) * | 2020-12-25 | 2021-04-27 | 珠海格力电器股份有限公司 | Intelligent household control method and device, processor, storage medium and electronic equipment |
CN113040710B (en) * | 2021-03-01 | 2022-05-17 | 珠海格力电器股份有限公司 | Sleep state analysis method and device |
CN113040710A (en) * | 2021-03-01 | 2021-06-29 | 珠海格力电器股份有限公司 | Sleep state analysis method and device |
CN113288078A (en) * | 2021-03-29 | 2021-08-24 | 江西商思伏沌科技有限公司 | Sleep quality monitoring method, device and system |
CN113288078B (en) * | 2021-03-29 | 2024-05-17 | 江西商思伏沌科技有限公司 | Sleep quality monitoring method, device and system |
CN113679345A (en) * | 2021-08-13 | 2021-11-23 | 珠海格力电器股份有限公司 | Sleep monitoring method, device and system and storage medium |
CN113679345B (en) * | 2021-08-13 | 2022-06-14 | 珠海格力电器股份有限公司 | Sleep monitoring method, device and system and storage medium |
CN114615161A (en) * | 2022-03-14 | 2022-06-10 | 青岛护适通医疗科技有限公司 | Sleep monitoring method and monitoring device thereof |
CN117666449A (en) * | 2024-01-31 | 2024-03-08 | 四川水利职业技术学院 | Based on computer data acquisition analysis monitored control system |
CN117666449B (en) * | 2024-01-31 | 2024-04-12 | 四川水利职业技术学院 | Based on computer data acquisition analysis monitored control system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110051329A (en) | A kind of sleep monitor method, apparatus, system and readable storage medium storing program for executing | |
CN104363824B (en) | The measurement of real-time QRS duration in electrocardiogram | |
CN105962896A (en) | heart rate and sleep monitoring system and monitoring method | |
CN107788976A (en) | Sleep monitor system based on Amplitude integrated electroencephalogram | |
CN106937808A (en) | A kind of data collecting system of intelligent mattress | |
CN106419845B (en) | A kind of sleep monitoring device and method based on piezoceramic transducer | |
CN205411149U (en) | Sleep monitor mattress | |
CN103961069A (en) | Intelligent health monitoring system based on cloud services | |
CN102274009A (en) | Respiratory and heartbeat signal processing circuit based on piezoelectric sensor | |
CN113317794B (en) | Vital sign analysis method and system | |
Randazzo et al. | VITAL-ECG: A portable wearable hospital | |
CN110652303A (en) | Medical intelligent mattress based on piezoelectric ceramic sensor | |
CN105232029A (en) | Automatic ultralow-power-consumption wearable dynamic electrocardiogram analysis equipment and implementation method thereof | |
CN211862809U (en) | Novel wearable respiratory signal gathers waist binder | |
CN207216305U (en) | Intelligent domestic system mattress and bed | |
CN110115583A (en) | The method and apparatus of monitoring of respiration | |
KR102592050B1 (en) | A portable ECG electrode and an ECG measurement system for small animals | |
CN104107036A (en) | Household portable monitoring device for sleep apnea | |
Jiang et al. | Automatic sleep monitoring system for home healthcare | |
CN210990210U (en) | Non-inductive sleep monitoring device and monitoring system | |
CN113662519A (en) | Non-contact heart and lung monitor and heart and lung monitoring system | |
CN201135429Y (en) | Digital monitoring bed | |
WO2020133339A1 (en) | Monitoring and caretaking system, data collection terminal, data reception and display terminal and monitoring and caretaking method | |
CN203290890U (en) | Handheld type monitor | |
CN113164101A (en) | Apnea detection system, method, computing device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190726 |