CN104983401A - A method for monitoring vital signs based on G-sensor data - Google Patents

A method for monitoring vital signs based on G-sensor data Download PDF

Info

Publication number
CN104983401A
CN104983401A CN201510452552.0A CN201510452552A CN104983401A CN 104983401 A CN104983401 A CN 104983401A CN 201510452552 A CN201510452552 A CN 201510452552A CN 104983401 A CN104983401 A CN 104983401A
Authority
CN
China
Prior art keywords
acceleration
linear
sensor
variable
hour
Prior art date
Application number
CN201510452552.0A
Other languages
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
Application filed by 诚迈科技(南京)股份有限公司 filed Critical 诚迈科技(南京)股份有限公司
Priority to CN201510452552.0A priority Critical patent/CN104983401A/en
Publication of CN104983401A publication Critical patent/CN104983401A/en

Links

Abstract

The invention provides a method for monitoring vital signs based on G-sensor data. The method monitors the vital signs of people by using an Android platform mobile device provided with a G-sensor and especially monitors the vital signs of people requiring special care, such as the disabled, the old and patients, so that caregivers can master the vital sign information of people under care timely and take corresponding measures to guarantee the life safety of the people under care. The method employs conventional common devices, thereby being low in cost and easy to implement.

Description

A kind of method of the monitoring vital sign based on G-sensor data
Technical field
The present invention relates to health monitoring technique field, specifically a kind of method of the monitoring vital sign based on G-sensor data.
Background technology
For specific groups such as disability, old age, patients, in particular cases, need to monitor their sign of life.The monitoring equipment used at present is very expensive, and average family is difficult to bear.
G-sensor Chinese is the meaning (English full name is Gravity-sensor) of gravity sensor, it can perceive the change of acceleration, acceleration is exactly the power acted in accelerator when object on object, such as rock, fall, rise, the various mobile change of lower degradation can be converted into the signal of telecommunication by G-sensor, then by after the computational analysis of microprocessor, just can complete the good function of programming, such as MP3 can according to the whipping direction of user, song is changed in front and back, also can calculate the pace of progress of user when putting pocket into.The present invention judges active state based on the acceleration force value that G-sensor obtains, and according to adding up, micro-judgment is current is in active state or inactive state.
Most android equipment has built-in can measuring such as: the induction apparatus of motion, direction and other multiple context variable values.These induction apparatuss can provide high-precision useful initial data to reflect the change of the movement of equipment and other variate-values of evolution or surrounding in three dimensions.Android platform supports the induction apparatus of three major types: motion sensor (this type of induction apparatus can be measured at three-dimensional three accelerations axially and revolving force, comprising: accelerometer, G-sensor, gyroscope and rotating vector induction apparatus etc.), environment inductor and position sensor.In Android platform, available induction apparatus built-in in android equipment can be utilized to obtain initial data by android sensor framework.The sensor framework of Android provides some common class with interface to complete a large amount of tasks relevant to induction apparatus.Such as: in built-in induction apparatus, select specific induction apparatus object, get the initial data of sensor measurement, register induction apparatus monitoring event with the change of tracking inductor measured value.
Android induction apparatus framework provides multiple induction apparatus.Some of them induction apparatus is hardware based physics induction apparatus, and other are hardware based software induction apparatuss.Physics induction apparatus is built in the physical module among android equipment, and these induction apparatuss provide data by directly measuring specific context variable values (as: acceleration, magnetic field intensity and angle change etc.) to upper strata.Software induction apparatus does not belong to physical module, but this type of induction apparatus is to the comprehensive of physics induction apparatus and simulation.It is comprehensive that the data that software induction apparatus provides come from the initial data of one or more physics induction apparatus, therefore also referred to as analogue inductive device or integrated sensor cable device.Linear acceleration induction apparatus (The linearacceleration sensor) and gravity sensor (The gravity sensor) are two kinds of conventional software induction apparatuss.
The induction apparatus kind that Android platform is supported as shown in table 1 (specifically can be see: http:// www.android-doc.com/guide/topics/sensors/sensors_overvie w.html)
The induction apparatus kind that table 1 Android platform is supported
Summary of the invention
The problem to be solved in the present invention is to provide a kind of method of the monitoring vital sign based on G-sensor data, and the method can use the common Android platform mobile device with G-sensor to monitor the sign of life of people, and with low cost, Monitoring Data accurately and timely.
The method of the monitoring vital sign based on G-sensor data of the present invention, under Android platform mainly through Android sensor framework to reach the use to required gravity sensor.The common class of main use is as follows:
SensorManager
This class is mainly used in the object that establishment one can provide gravity sensor to serve.Can obtain by this class gravity sensor object that all Android platform support, registration gravity sensor monitors event and obtain gravity sensor data.
Sensor
The object of this class represents the gravity sensor of specified type, the data that the specified type gravity sensor that can be obtained by the monitoring of the object to this class is provided.
SensorEvent
The object of this class is used for obtaining the data provided to the corresponding gravity sensor of its binding.
SensorEventListener
This interface is for monitoring the gravity sensor object with its binding, and when gravity sensor object has data to export, the callback method of this interface is for obtaining the data of gravity sensor object.
Mainly to the use of the TYPE_GRAVITY (gravity sensor) that Andriod platform provides in the technical program, the initial data to gravity sensor provides that needs in conjunction with embody rule scene carries out processed.
The method of the monitoring vital sign based on gravity sensor data of the present invention, comprises the following steps:
1) initial data that the sensor framework of Android platform acquisition gravity sensor provides is utilized;
2) according to current slot, the initial data got is processed;
3) according to the data after process, judge vital sign state in conjunction with current slot, and judged result is uploaded onto the server.
Described step 1) process of initial data that obtains gravity sensor and provide is:
11) SENSOR_SERVICE utilizing the sensor framework of Android platform to provide obtains a sensormanager object;
12) from described step 11) sensormanager object in obtain a Sensor object sensor;
13) a newly-built monitoring event MySensorEventListener for response sensor.
Described step 2) to the process of original data processing be:
21) define the calibration variables calibration of a floating type, be initialized as 0.8;
22) a three-dimensional array variable gravity is defined for depositing the three-dimensional data of acquisition;
23) by described step 13) in the value respectively tieed up of the initialValues that gets by step 21) in calibration and (1-calibration) weighted average after assignment to step 22) the correspondence dimension of gravity array that defines;
24) define floating type variable linear_X_acceleration, linear_Y_acceleration, linear_Z_acceleration, and just described step 13) in the value respectively tieed up of the initialValues that gets and step 23) in process after the corresponding value tieed up of gravity array that obtains make after the recovery and distinguish assignment to above three variablees;
Described step 3) in judge that the process of vital sign state is: to described step 24) in three variable linear_X_acceleration obtaining, linear_Y_acceleration, the value of linear_Z_acceleration does a judgement, as condition (linear_X_acceleration>0 & & linear_X_acceleration<10), (linear_Y_acceleration>0 & & linear_Z_acceleration<10), then illustrate that custodial person has vital sign when any one in (linear_Z_acceleration>0 & & linear_X_acceleration<10) is satisfied, when condition (linear_X_acceleration==0), (linear_Y_acceleration==0), (linear_Z_acceleration==0), meet simultaneously time, then custodial person current absence of vital signs is described.
Judge that vital sign state procedure is in conjunction with current slot:
31) define a Date type variable date, be initialized as current time in system System.currentTimeMillis ();
32) the variable format of a SimpleDateFormat type is defined for formaing described step 31) the middle time obtained;
33) define the variable time of a String type, by described step 32) variable format formatting step 31) variable date after assignment to variable time;
34) define the variable hour of an int type, by described step 33) in the little time period value (time.substring (0,2) .trim ()) of variable time take out assignment to variable hour;
35) according to described step 34) in the value of variable hour judge, when during the value of hour satisfies condition (hour<=24 & & hour>=20) and hour<=6 any one time, then illustrate and be in daylight hours at present, the judgement of a vital signs state will be done every three minutes, if without life state then by information reporting to server; When the value of hour does not satisfy condition (hour<=24 & & hour>=20) and hour<=6 simultaneously, then illustrate and be in night hours at present, the judgement of a vital signs state will be done every two hours, if without life state then by information reporting to server.
36) when described step 35) in continuous three times to service send feed back without life state time, server then notifies guardian's mobile phone, children under guardianship's vital sign abnormalities.
The method of the monitoring vital sign based on gravity sensor data of the present invention, the common Android platform mobile device with gravity sensor is used to monitor the sign of life of people, particularly disabled, old man, patient etc. are needed to the monitoring of the sign of life of the people of monitoring, be beneficial to guardian and understand the sign of life information of children under guardianship in time and take the life security of corresponding countermeasure guarantee children under guardianship.This process employs existing common equipment, with low cost, ease for use is strong.
Detailed description of the invention
Below a kind of volume measuring method based on Android platform mobile device that the present invention proposes is described in detail.
The method of a kind of monitoring vital sign based on G-sensor data of the present invention, comprises the following steps:
The first step, utilizes the initial data that the sensor framework of Android platform acquisition G-sensor provides:
11) SENSOR_SERVICE utilizing the sensor framework of Android platform to provide obtains a sensormanager object;
12) from step 11) sensormanager object in obtain a Sensor object sensor;
13) a newly-built monitoring event MySensorEventListener for response sensor.
Code is as follows:
Second step, to step 13) in the initalValues three-dimensional array that gets process:
21) define the calibration variables calibration of a floating type, be initialized as 0.8:
22) a three-dimensional array variable gravity is defined for depositing the three-dimensional data of acquisition:
23) by step 13) in the value respectively tieed up of the initialValues that gets by step 21) in calibration and (1-calibration) weighted average after assignment to step 22) in the correspondence dimension of gravity array of definition:
24) define floating type variable linear_X_acceleration, linear_Y_acceleration, linear_Z_acceleration, and just step 13) in the value respectively tieed up of the initialValues that gets and step 23) in process after the corresponding value tieed up of gravity array that obtains make after the recovery and distinguish assignment to above three variablees:
25) to step 24) in three variable linear_X_acceleration obtaining, linear_Y_acceleration, the value of linear_Z_acceleration does a judgement, as condition (linear_X_acceleration>0 & & linear_X_acceleration<10), (linear_Y_acceleration>0 & & linear_Z_acceleration<10), then illustrate that custodial person has vital sign when any one in (linear_Z_acceleration>0 & & linear_X_acceleration<10) is satisfied, when condition (linear_X_acceleration==0), (linear_Y_acceleration==0), (linear_Z_acceleration==0), meet simultaneously time, then custodial person current absence of vital signs is described.
Code is as follows:
3rd step, according to the data after process, judges vital sign state in conjunction with current slot:
31) define a Date type variable date, be initialized as current time in system System.currentTimeMillis ():
32) the variable format defining a SimpleDateFormat type is used for formatting step 31) the middle time obtained:
33) define the variable time of a String type, by step 32) variable format format rapid 31) after the variable date of step assignment to variable time:
34) define the variable hour of an int type, by step 33) in the little time period value (time.substring (0,2) .trim ()) of variable time take out assignment to variable hour:
35) according to step 34) in the value of variable hour judge, when during the value of hour satisfies condition (hour<=24 & & hour>=20) and hour<=6 any one time, then illustrate and be in daylight hours at present, a step 25 will be done every three minutes) judgement, if without life state then by information reporting to server; When the value of hour does not satisfy condition (hour<=24 & & hour>=20) and hour<=6 simultaneously, then illustrate and be in night hours at present, a step 25 will be done every two hours) judgement, if without life state then by information reporting to server.
36) when step 35) in continuous three times to service send feed back without life state time, server then notifies guardian's mobile phone, children under guardianship's vital sign abnormalities.
The false code of code and necessity is described as follows:
When server receives three feedbacks without life state continuously, then notify guardian's mobile phone, children under guardianship's vital sign abnormalities.
Above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., it all should be encompassed in the middle of right of the present invention.

Claims (5)

1., based on a method for the monitoring vital sign of G-sensor data, it is characterized in that, comprise the following steps:
1) initial data that the sensor framework of Android platform acquisition gravity sensor provides is utilized;
2) according to current slot, the initial data got is processed;
3) according to the data after process, vital sign state is judged.
2. the method for the monitoring vital sign based on G-sensor data according to claim 1, is characterized in that, the process that described step 1) obtains the initial data that gravity sensor provides is:
11) SENSOR_SERVICE utilizing the sensor framework of Android platform to provide obtains a sensormanager object;
12) from the sensormanager object described step 11), a Sensor object sensor is obtained;
13) a newly-built monitoring event MySensorEventListener for response sensor.
3. the method for the monitoring vital sign based on G-sensor data according to claim 1, is characterized in that, described step 2) to the process of original data processing be:
21) define the calibration variables calibration of a floating type, be initialized as 0.8;
22) a three-dimensional array variable gravity is defined for depositing the three-dimensional data of acquisition;
23) value respectively tieed up by the initialValues got in described step 13) is by step 21) in calibration and (1-calibration) weighted average after assignment to step 22) the correspondence dimension of the gravity array that defines;
24) define floating type variable linear_X_acceleration, linear_Y_acceleration, linear_Z_acceleration, and the value respectively tieed up of the initialValues got in just described step 13) and step 23) in process after the corresponding value tieed up of gravity array that obtains make after the recovery and distinguish assignment to above three variablees.
4. the method for the monitoring vital sign based on G-sensor data according to claim 1, it is characterized in that, judge in described step 3) that the process of vital sign state is: to described step 24) in three variable linear_X_acceleration obtaining, linear_Y_acceleration, the value of linear_Z_acceleration does a judgement, as condition (linear_X_acceleration > 0 & & linear_X_acceleration < 10), (linear_Y_acceleration > 0 & & linear_Z_acceleration < 10), then illustrate that custodial person has vital sign when any one in (linear_Z_acceleration > 0 & & linear_X_acceleration < 10) is satisfied, when condition (linear_X_acceleration==0), (linear_Y_acceleration==0), (linear_Z_acceleration==0), meet simultaneously time, then custodial person current absence of vital signs is described.
5. the method for the monitoring vital sign based on G-sensor data according to claim 4, is characterized in that, judge vital sign state in conjunction with current slot:
31) define a Date type variable date, be initialized as current time in system System.currentTimeMillis ();
32) the variable format of a SimpleDateFormat type is defined for formaing described step 31) the middle time obtained;
33) define the variable time of a String type, by described step 32) variable format formatting step 31) variable date after assignment to variable time;
34) define the variable hour of an int type, by described step 33) in the little time period value (time.substring (0,2) .trim ()) of variable time take out assignment to variable hour;
35) according to described step 34) in the value of variable hour judge, when during the value of hour satisfies condition (hour <=24 & & hour >=20) and hour <=6 any one time, then illustrate and be in daylight hours at present, the judgement of the vital signs state in a claim 4 will be done every three minutes, if without life state then by information reporting to server; When the value of hour does not satisfy condition (hour <=24 & & hour >=20) and hour <=6 simultaneously, then illustrate and be in night hours at present, the judgement of the vital signs state in a claim 4 will be done every two hours, if without life state then by information reporting to server;
36) when described step 35) in continuous three times to service send feed back without life state time, server then notifies guardian's mobile phone, children under guardianship's vital sign abnormalities.
CN201510452552.0A 2015-07-28 2015-07-28 A method for monitoring vital signs based on G-sensor data CN104983401A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510452552.0A CN104983401A (en) 2015-07-28 2015-07-28 A method for monitoring vital signs based on G-sensor data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510452552.0A CN104983401A (en) 2015-07-28 2015-07-28 A method for monitoring vital signs based on G-sensor data

Publications (1)

Publication Number Publication Date
CN104983401A true CN104983401A (en) 2015-10-21

Family

ID=54295404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510452552.0A CN104983401A (en) 2015-07-28 2015-07-28 A method for monitoring vital signs based on G-sensor data

Country Status (1)

Country Link
CN (1) CN104983401A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202890653U (en) * 2012-10-31 2013-04-24 新疆中钜电子科技有限公司 Disaster site information intelligent collecting device
CN203178681U (en) * 2013-04-10 2013-09-04 南通纺织职业技术学院 Intelligent elderly caring watch
CN103393413A (en) * 2013-08-15 2013-11-20 宁波江丰生物信息技术有限公司 Medical monitoring system and monitoring method
CN203535763U (en) * 2013-10-09 2014-04-09 武汉理工大学 Portable intelligent fire-fighting rescue terminal
CN203789907U (en) * 2014-02-12 2014-08-27 公安部上海消防研究所 Firefighter vital sign monitoring device based on Bluetooth technology
CN104764491A (en) * 2015-04-08 2015-07-08 深圳市康康网络技术有限公司 Equipment use state recognizing method and electronic equipment
US20150201867A1 (en) * 2014-01-21 2015-07-23 The Charlotte Mecklenburg Hospital Authority D/B/A Carolinas Healthcare System Electronic free-space motion monitoring and assessments

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202890653U (en) * 2012-10-31 2013-04-24 新疆中钜电子科技有限公司 Disaster site information intelligent collecting device
CN203178681U (en) * 2013-04-10 2013-09-04 南通纺织职业技术学院 Intelligent elderly caring watch
CN103393413A (en) * 2013-08-15 2013-11-20 宁波江丰生物信息技术有限公司 Medical monitoring system and monitoring method
CN203535763U (en) * 2013-10-09 2014-04-09 武汉理工大学 Portable intelligent fire-fighting rescue terminal
US20150201867A1 (en) * 2014-01-21 2015-07-23 The Charlotte Mecklenburg Hospital Authority D/B/A Carolinas Healthcare System Electronic free-space motion monitoring and assessments
CN203789907U (en) * 2014-02-12 2014-08-27 公安部上海消防研究所 Firefighter vital sign monitoring device based on Bluetooth technology
CN104764491A (en) * 2015-04-08 2015-07-08 深圳市康康网络技术有限公司 Equipment use state recognizing method and electronic equipment

Similar Documents

Publication Publication Date Title
CN106462665B (en) Wearable electronic device and method of estimating lifestyle metrics
US10423728B2 (en) Clustering method for a point of interest and related apparatus
Yang et al. Lifelogging data validation model for internet of things enabled personalized healthcare
Sucerquia et al. SisFall: A fall and movement dataset
Mardonova et al. Review of wearable device technology and its applications to the mining industry
DE102015000652B4 (en) Somatosensory message alarms
CA2895532C (en) Monitoring hit count from impact events
CN105981035B (en) Manage the display of privacy information
CN104434315B (en) Portable Monitoring Devices and Methods of Operating Same
Geser Relative termination
Hegde et al. A comparative review of footwear-based wearable systems
KR101838838B1 (en) Method and apparatus for processing wearing state of wearable device
Lin et al. Smart insole: A wearable sensor device for unobtrusive gait monitoring in daily life
US9311789B1 (en) Systems and methods for sensorimotor rehabilitation
US20170172462A1 (en) Multi-functional smart mobility aid devices and methods of use
RU2645876C2 (en) Device for converting a movement of a user into a voltage
Chaudhuri et al. Fall detection devices and their use with older adults: a systematic review
CN103886715B (en) A kind of tumble detection method for human body
Teufl et al. Towards inertial sensor based mobile gait analysis: Event-detection and spatio-temporal parameters
EP1619475B1 (en) Apparatus and method for measuring quantity of physical exercise using acceleration sensor
CN100418476C (en) Physical movement analyzer and physical movement analyzing method
Schwickert et al. Fall detection with body-worn sensors
Andò et al. A multisensor data-fusion approach for ADL and fall classification
KR20150110570A (en) Application for monitoring a property of a surface
CN102687170B (en) For EMS information gatherings, tissue and the system and method for showing

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151021

RJ01 Rejection of invention patent application after publication