CN109620196A - The method, apparatus and storage medium of correction heart rate - Google Patents
The method, apparatus and storage medium of correction heart rate Download PDFInfo
- Publication number
- CN109620196A CN109620196A CN201910049886.1A CN201910049886A CN109620196A CN 109620196 A CN109620196 A CN 109620196A CN 201910049886 A CN201910049886 A CN 201910049886A CN 109620196 A CN109620196 A CN 109620196A
- Authority
- CN
- China
- Prior art keywords
- heart rate
- derivative
- value
- basis
- output valve
- 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/72—Signal processing specially adapted for physiological signals or for diagnostic purposes
- A61B5/7235—Details of waveform analysis
Abstract
Present invention discloses the method, apparatus and storage medium of a kind of heart rate of rectifying a deviation, method includes: to obtain the first heart rate value V1;Acquire the second heart rate value V2;On the basis of V1 and accordingly judge the derivative direction of V2;Judge V2 whether preset range defined by preset threshold on the basis of on derivative direction beyond by V1;If so, using the preset threshold on derivative direction as heart rate output valve;If it is not, then using V2 as heart rate output valve.Its device and storage medium are arranged based on method, and device includes acquiring unit, acquisition unit, the first judging unit, second judgment unit, Predicated execution unit, and the computer program of the method for executing correction heart rate is stored on storage medium.The present invention can prevent heart rate value is prominent to dash forward greatly small, avoid obvious HR values mistake, correction processing improves the accuracy of product heart rate measurement data, improves the practicability of product function.
Description
Technical field
The present invention relates to heart rate measurement field, the method, apparatus and storage for especially relating to a kind of heart rate of rectifying a deviation are situated between
Matter.
Background technique
Current mobile internet device constantly rises, and the intellectual products such as smartwatch, bracelet, smart home gradually enter into people
The visual field, the continuous commercial scale of the industry of intellectual product.Product batch manufacture production, a quality generation is better than a generation, disappears
The person of expense also increasingly focuses on health problem while pursuing quality;Due to just having profession in hospital or related medical outpatient service
Medical Devices generally require to ask for leave when user is to use the Medical Devices of profession to carry out medical examination, reserve, and are lined up and go to a doctor,
So big inconvenience is caused to user.And the intellectual products such as smartwatch, bracelet, user are easy to use, so now
Very institute's intellectual product in conjunction with medical modules, favored by user by this kind of health detection mode.
Medical treatment & health module is mainly divided: heart rate measurement function (bpm), electrocardiogram function (ECG), blood pressure detecting function (are relaxed
Pressure, systolic pressure), atrial fibrillation function etc..Wherein, the data that heart rate chip algorithm obtains have inaccuracy, that is to say, that the heart
It is larger, inaccurate that rate algorithm goes out Value Data error, it is necessary to handle by correction.The method of existing correction heart rate is usually to pass through
Complicated algorithm is crossed to be calculated, but the complicated approach is more demanding to the computing capability of heart rate measuring device, and due to meter
Calculation measures electricity larger and that heart rate measuring device is lost and influences the service life of heart rate measuring device, while based on to chip
The requirement of computing capability and the higher cost for making equipment.
Summary of the invention
The main object of the present invention is to provide the method, apparatus and storage medium of a kind of heart rate of rectifying a deviation, and this method calculates letter
It is single, and preferable rectifying effect can be reached, it prevents heart rate value is prominent from dashing forward greatly small, avoids obvious HR values mistake, rectify a deviation
Processing improves the accuracy of product data, improves the practicability of product function, device and storage medium based on correction heart rate
Method setting.
In order to achieve the above-mentioned object of the invention, a kind of method that the present invention proposes heart rate of rectifying a deviation, comprising:
Obtain the first heart rate value V1;
Acquire the second heart rate value V2;
The derivative direction of the V2 is accordingly judged on the basis of the V1;
Judge whether the V2 is pre- defined by preset threshold on the basis of on the derivative direction beyond by the V1
If range;
If so, using the preset threshold on the derivative direction as heart rate output valve;If it is not, then the V2 is made
For heart rate output valve.
Further, in the step of the first heart rate value V1 of the acquisition, using the heart rate value of the m+1 of acquisition measurement as
The V1, the m are preset positive integer.
Further, described if so, using the preset threshold as heart rate output valve;If it is not, then using the V2 as
After the step of heart rate output valve, comprising:
The heart rate output valve is assigned to the V1.
Further, the step of derivative direction that the V2 is accordingly judged on the basis of the V1, comprising:
On the basis of the V1, make comparisons to the size of the V1 and V2;
The derivative direction of the V2 is judged according to the comparison result.
Further, described to be made comparisons on the basis of the V1 to the size of the V1 and V2 and accordingly judge the V2's
Derivative direction step, comprising:
The V2 and the V1 are subtracted each other;
When V2-V1 >=0 when, determine that the derivative direction of the V2 is derivative upwards;As V2-V1 < 0, determine the V2's
Derivative direction is derivative downwards.
Further, when the derivative direction of the V2 is derivative upwards, the preset threshold is V1+a, the default model
Enclosing for [V1, V1+a], a is preset positive integer.
Further, when the derivative direction of the V2 is derivative downwards, the preset threshold is V1-a, the default model
Enclose for [V1-a, V1), a be preset positive integer.
A kind of device for heart rate of rectifying a deviation, comprising:
Acquiring unit, for obtaining the first heart rate value V1;
Acquisition unit, for acquiring the second heart rate value V2;
First judging unit, for accordingly judging the derivative direction of the V2 on the basis of the V1;
Second judgment unit, for judge the V2 whether default threshold on the basis of on derivative direction beyond by the V1
Preset range defined by value;
Predicated execution unit, is used for: if preset threshold institute of V2 on the basis of on derivative direction beyond by the V1
The preset range of restriction, then using the preset threshold as heart rate output valve;If the V2 on derivative direction beyond with
Preset range defined by preset threshold on the basis of the V1, then using the V2 as heart rate output valve.
Further, the acquiring unit includes:
First acquisition unit, for using the heart rate value of the m+1 measurement of acquisition as the V1.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
The method of correction heart rate described above is realized when row.
Beneficial effects of the present invention:
The method, apparatus and storage medium of correction heart rate of the invention, are corresponded to by setting on the derivative direction of data
Preset threshold, and judged based on heart rate data of the preset threshold to acquisition, and then execute correction processing, will be objective
Improper jump data correction, is placed in heart rate data in accurate range caused by reason, so, it can be achieved that heart rate is surveyed
Magnitude is more stable and accurate, reaches preferable rectifying effect, can prevent heart rate value is prominent to dash forward greatly small, avoid the obvious heart
Rate score mistake, correction processing improve the accuracy of product heart rate measurement data, improve the practicability of product function.Its heart of rectifying a deviation
Compared with the prior art, algorithm is simple for the method for rate, and without carrying out complicated algorithm process, and step is fairly simple, reduces and calculates
Method processing, the requirement to hardware and runnability is lower, the hardware cost of equipment can be reduced accordingly, further, since its algorithm
Relatively simple, this method is simpler, and corresponding subsequent test and project carry out waiting periods and cost that can reduce.
Detailed description of the invention
Fig. 1 is the flow diagram of the method for the correction heart rate of one embodiment of the invention;
Fig. 2 is the flow diagram of S3 step in the method for the correction heart rate of one embodiment of the invention;
Fig. 3 is the flow diagram of S4 step in the method for the correction heart rate of one embodiment of the invention;
Fig. 4 is the structural schematic diagram of the device of the correction heart rate of one embodiment of the invention;
Fig. 5 is the structural schematic diagram of one embodiment of acquiring unit in the device of the correction heart rate of one embodiment of the invention;
Fig. 6 is the structural representation of one embodiment of the first judging unit in the device of the correction heart rate of one embodiment of the invention
Figure;
Fig. 7 is the structural representation of one embodiment of second judgment unit in the device of the correction heart rate of one embodiment of the invention
Figure;
Fig. 8 is the structural representation of one embodiment of first acquisition unit in the device of the correction heart rate of one embodiment of the invention
Figure;
Fig. 9 is the structural schematic diagram of the heart rate measuring device of one embodiment of the invention.
Description of symbols:
1, acquiring unit;2, acquisition unit;3, the first judging unit;4, second judgment unit;
5, Predicated execution unit;6, first acquisition unit;7, second acquisition unit;
8, comparing unit;9, third judging unit;10, arithmetic element;11, determine subelement;
12, first determines designating unit;13, second determines designating unit;14, the 4th judging unit;
15, third determines designating unit;100, heart rate sensor;200, memory;300, processor.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Referring to Fig.1, it should be noted that the present invention is obtained by analyzing and researching to the relevant big data of heart rate value
A kind of method of heart rate of rectifying a deviation is provided in the embodiment of the present invention, comprising:
S1. the first heart rate value V1 is obtained;
S2. the second heart rate value V2 is acquired;
S3. on the basis of V1 and accordingly judge the derivative direction of V2;
S4. judge V2 whether preset range defined by preset threshold on the basis of on derivative direction beyond by V1;
S5. if so, using the preset threshold on derivative direction as heart rate output valve;If it is not, then defeated using V2 as heart rate
It is worth out.
In present embodiment, the first heart rate value V1 that S1 step obtains obtains object and mode not as correction benchmark
It is same:
One the first heart rate value of V1 of situation is that (initial value is as V1 value selected according to needs to V1 initial value
One data), to facilitate subsequent correction to handle, and initial baseline is provided for subsequent correction processing.When opening of device measures
When, there are first display and the heart rate Value Data as subsequent processing benchmark, the as initial value of V1.
In present embodiment, it is preferred that it is preset just whole for assigning the heart rate value of the m+1 of acquisition measurement as V1, m
Number.It should be noted that " heart rate value of the m+1 measurement of acquisition is as the V1 " can be regarded as: 1) acquiring 1,2m+
1 initial value chooses m+1 therein, i.e. heart rate sensor is acquired movement after opening measurement, acquire from 1 to
M+1 initial heart rate values, the initial value of V1 are the m+1 heart rate value therein;2) right in 1,2m+1 data
The m+1 data acquires, i.e., heart rate sensor does not do acquisition movement to the 1st to m heart rate Value Data after opening measurement,
It is acquired since the m+1 data.It can be selected according to the actual situation, herein with no restrictions.
No matter m measured heart rate Value Data is directly given up, so, it is therefore prevented that because of early period using any mode
Body, equipment shake and caused by unstable, inaccurate data influence measurement result, m+1 resulting V1's at this time
Initial value is equivalent to handled by correction obtained from heart rate output valve, give up before m data processing be correction processing.
Preferably, when using the second way, more data spaces can be saved because of m data before not acquiring.
After having given up m heart rate Value Data, the first heart rate value V1 of the m+1 measurement collected tends towards stability, the heart
Rate Value Data is relatively accurate, handles to obtain accurate heart rate Value Data for correction below and provides good basis.Meanwhile it is measured
V1 value needs preserve, and using the reference object as processing of rectifying a deviation below, prepare for subsequent processing.Compared to existing skill
Art calculates without doing complicated algorithm, directly gives up the m data of initial measurement, eliminate at algorithm compared with the prior art
Reason process, it is simpler.
When m is greater than 5, heart rate value starts to become stable, then heart rate value can measure accurate data when m is greater than 5.By
It is measurement per second in heart rate value, when m is greater than 5, is equivalent to initial time section greater than 5 seconds, when m is bigger, then corresponding time
Then longer, heart rate measuring device is then longer to the time of display heart rate measurements from opening of device, then period of reservation of number is longer,
It is therefore preferred that m less than 20, prevents the too long influence user experience of period of reservation of number.Preferably, in the present embodiment, m is set as
10, the first heart rate value V1 at this time become more stable and accurately, while user is without waiting for too long.
It should be noted that can also be by way of directly setting preset time, to obtain the first heart rate value V1, herein
It is not described in detail.
When heart rate measuring device opens heart rate measurement, since the operation of software and hardware is not yet smooth and the two mutual
Cooperation not yet enters state, and people and equipment is there is also shaking, at this point, the measurement data of heart rate value be it is inaccurate,
Its fluctuation is larger, is usually calculated by algorithm and judges whether institute's heart rate measuring value deviates preset range, and is usually most
A small number of data are removed in the heart rate Value Data measured in initial time section to differ biggish minimum value and maximum value and be averaged
As the judgment basis in rear correction, passed through using the average heart rate value formerly measured as comparison other in the heart rate value of rear measurement
Corresponding algorithm judges whether exception and carries out correction processing.But in initial measurement, due to the body of early period, equipment are shaken
Caused by unstable, inaccurate data, measured data itself can be made to fluctuate larger, obtained average heart rate value is often
It is also inaccuracy, at this point, if first average heart rate Value Data inaccuracy, in rear measurement and the heart rate value rectified a deviation will
There is deviation.
According to heart rate value big data analysis, what early period was generally occurred differs biggish initial time section with normal cardiac rate value
Interior heart rate value rejection of data, the period, heart rate measuring device measurement per second obtained the corresponding heart rate of human body in seconds
Value, if measurement ten seconds, ten heart rate values are obtained accordingly, and so on.This step is for other schemes, without doing
Algorithm calculates, and directly gives up the m data of initial measurement, without considering which is normal numerical value in this m data, because
Abnormal data are more in this m data, are easy to influence data accuracy, this sample step eliminates complicated algorithm process mistake
Journey, it is simpler.
Two the first heart rate value of V1 of situation is a reference value converted in subsequent process.Continue to measure heart rate value when subsequent
And after being rectified a deviation, the data after correction handle as a reference value and using a reference value as V1 value, it is next to carry out
Secondary correction processing.It is subsequent to continue to introduce about the step.
In S2 step, equipment continues to acquire next heart rate Value Data after obtaining V1, is the second heart rate value V2.This
When V2 value may have exception, judged.
In S3 step, derivative walking direction is carried out to the V2 of acquisition, on the basis of V1 and accordingly judges the derivative direction of V2,
The processing to V2 is carried out so that subsequent basis derives direction accordingly.
Wherein, in present embodiment, referred to using V1 as benchmark and do operation on the basis of V1, can be simple V1,
Be also possible to V1 square or the obtained value of other algorithms, correspondingly, V2 can also do respective handling as V1, and judge V2
Treated whether value has fluctuation relative to V1 for value that treated, to judge the derivative direction of V2, deriving direction is V2
Value that treated facilitates the subsequent corresponding wave to V2 on derivative direction relative to the fluctuation direction up and down that treated is worth V1
Dynamic range is judged.Certainly, V1, V2 can be initial initial value (not doing the value of calculation process).
If (such as the arithmetic mean of instantaneous value of the heart rate value of period or mean of variance before calculating after obtaining benchmark judgment value
Value etc.), then judgement and corresponding processing are carried out to the benchmark judgment value by complicated algorithm, such as pass through standard deviation or statistics
The complicated data processing method of other in handle the heart rate value currently measured, using as subsequent judgement and processing
Basis, complex disposal process, it is desirable that calculation amount it is more, to the more demanding of hardware and its runnability, corresponding cost compared with
It is high.In this step, it is preferred that on the basis of benchmark judgment value V1, without carrying out other complicated judgements, it is only necessary to simply sentence
Disconnected derivative direction of the V2 compared to V1 eliminates corresponding algorithm and calculates step (specific combinable step S3 and S4), also more
Simply.
In S4 step, according to the corresponding derivative direction judged further judge V2 whether on derivative direction beyond with
Preset range defined by preset threshold on the basis of V1, to V2, the corresponding fluctuation range based on V1 is carried out on derivative direction
Judgement, to facilitate the value of subsequent respective handling V2, reaches rectifying effect.
In S5 step, it is further processed the value of adjustment V2 according to the judgement of S4 and is exported as heart rate output valve and looked into user
It sees, reaches rectifying effect.If preset range defined by preset threshold of V2 on the basis of on derivative direction beyond by V1, it is believed that
Relative to larger with the fluctuation of V1 benchmark, V2 needs to correct V2, is adjusted to for V2 to be set as the preset threshold in corresponding derivative direction, by this
Preset threshold is as heart rate output valve;If V2 is not pre- defined by preset threshold on the basis of on derivative direction beyond by V1
If range, it is believed that V2 is relative to smaller with the fluctuation of V1 benchmark, and V2 is without amendment, using V2 as heart rate output valve.
As aforementioned it is found that since V1 value itself is more accurate, by the way that heart rate output valve is limited near V1 value,
Within the set range by the constraint of heart rate output valve, overall data can be made to stablize, prevents heart rate Value Data from the big jump of inaccuracy occurs
Become, it is unstable, it is unlikely to cause due to hardware and software issue generation data jump or due to the casual movement of user
Generation heart rate data jump, cause data inaccuracy or directly bring user perplex, influence user experience.
At this point, heart rate output valve is rectified a deviation, then correspondingly, as described in S102, at the correlation to heart rate output valve
Reason carry out transformation forms new a reference value and be transformed to V1 be prepare next time, wherein can by heart rate output valve with it is preceding
V1 value does average treatment, obtains new V1, perhaps according to preceding standard deviation be calculated new V1 or directly by heart rate it is defeated
Value is assigned to V1 and obtains new V1, etc. mode out, using new V1 value as " the first heart rate value of acquisition in new round correction
V1”。
Preferably, in the present embodiment, will correction treated that heart rate output valve is assigned to V1, using heart rate output valve as base
Quasi- value, the acquisition modes of the V1 as new benchmark are simple, without carrying out complicated calculations.
In addition, the measurement of heart rate measuring device is lasting, S1 to S5 circulate operation, subsequent new heart rate value collected
As V2 repeat S1 to S5 step carry out circulate operation, be continuously available correction after heart rate output valve.
The step of entire S1 to S5, is rectified a deviation heart rate measurements to obtain heart rate output valve, by the derivative side of data
Corresponding preset threshold is set upwards, and is judged based on heart rate data of the preset threshold to acquisition, and then execute correction
Processing, by improper jump data correction caused by odjective cause, is placed in heart rate data in accurate range, such as
This reaches preferable rectifying effect, it can be achieved that heart rate output valve is more stable and accurate, can prevent heart rate value it is prominent dash forward greatly it is small,
Obvious HR values mistake is avoided, correction processing improves the accuracy of product heart rate measurement data, improves product function
Practicability.Its S3 step carries out judgement and corresponding data processing into S5 step, using V1 as benchmark, without carrying out other
The data processing for judging that benchmark just carries out next step V2 is calculated in complicated algorithm, and whole method for rectifying deviation is simple,
Without carrying out complicated algorithm process, it is further reduced algorithm process;And other steps are fairly simple, without designing complicated calculation
Method.Compared with the prior art without complicated algorithm, the requirement to hardware and runnability is lower, can reduce equipment accordingly
Hardware cost, further, since its algorithm is simpler, this method is simpler, and corresponding subsequent test and project carry out waiting the periods
And cost can reduce.
Further, in S3 step there are many judgment modes in the derivative direction of V2, on the basis of V1, judgement can be passed through
The variance of V1 and V2 is judged, can be compared and be judged by the size to V1 and V2, can also be and set V1 and V2
In/be mapped on a figure coordinate axis, V2 is judged according to the arrangement position of V1 and V2 and according to preset rules,
Or other modes.In the present embodiment, it is preferred that made comparisons on the basis of V1 to the size of V1 and V2 and according to comparison result phase
It should judge the derivative direction of the V2.The judgment mode in this derivative direction is simple and convenient, calculates without carrying out complicated algorithm,
It only needs simple size relatively, algorithm can be simplified, reduce the requirement to hardware runnability.Reference Fig. 2, the present embodiment
Derivative direction include: S301. when V2-V1 >=0 when, determine that the derivative direction of V2 is derivative upwards;S302. as V2-V1 < 0,
Determine that the derivative direction of V2 is derivative downwards.
Further, in S4 step, preset threshold is different according to derivative direction and is accordingly arranged, referring to Fig. 3, comprising:
S401. when the derivative direction of V2 is derivative upwards, preset threshold V1+a judges whether V2 is greater than V1+a and corresponding position at this time
The value of V2 is managed, the preset range according to defined by the preset threshold is [V1, V1+a] at this time, and it is default as to judge whether V2 exceeds
The value of range [V1, V1+a] and respective handling V2;S402. when the derivative direction of V2 is derivative downwards, preset threshold is V1-a,
Judge whether V2 is less than the value of V1-a and respective handling V2 at this time, the preset range according to defined by the preset threshold is at this time
[V1-a, V1), as judge V2 whether exceed preset range [V1-a, V1) and respective handling V2 value.By judging V2 and V1
Difference absolute value whether be greater than a of setting and accordingly adjusted on corresponding derivative direction V2 value obtain heart rate output
Value, since heart rate value is typically calculated as integer, for convenience of calculating, a is preset positive integer.
A value is the normal variation magnitude of a heart rate, in the present embodiment, it is preferred that the value of a is not more than 5, is based on the heart
Rate big data statistics, the normal changes in heart rate of ordinary people is 5 or so, therefore a upper limit is set as 5, in addition, when a is greater than 5, if
Heart rate data is abnormal, then the limiting value of the abnormal cardiac rate data constraint is then larger, from the user's point of view, heart rate data or little
It is stable, bounce, user experience is influenced, therefore a is not more than 5.
Further, the value of a is set as 3.It is more stable that its a value is set as 3, and heart rate value changes to used in next stationary value
Time can't be too long, in actual use, if user's heart rate mutate, as normal cardiac rate value be 60 times one point
Clock, unexpected frightened or other situations become the heart rate of user 100 times one minute, and the heart rate of heart rate measuring device is surveyed at this time
Magnitude needs to can reach the heart rate value after changing at (60-40)/3=13 second or so, and the time is not to grow very much, while user
The pace of change can be taken in good part, user's also variation more acceptable is unlikely to because of the prominent small variation of dashing forward greatly of heart rate value, and causes
User's puzzlement.
It is checked in addition, usual heart rate measuring device needs to show data for user, and acquires Shi Huibao in data
Deposit data, so as to subsequent calculating.Therefore V1 is used as heart rate output valve to show in equipment when obtaining first time, and saving should
Heart rate output valve is as V1, to facilitate make comparisons using V1 as benchmark next time;In subsequent processes, after the adjustment of S5 step
Heart rate output valve shown on equipment is shown and save the heart rate output valve as new V1, to facilitate next time new with this
V1 makes comparisons as benchmark.
Referring to Fig. 4, correspond to the above method, correspondingly, the present embodiment also provides a kind of device of heart rate of rectifying a deviation, comprising:
Acquiring unit 1, for obtaining the first heart rate value V1;
Acquisition unit 2, for acquiring the second heart rate value V2;
First judging unit 3, for accordingly judging the derivative direction of V2 on the basis of V1;
Second judgment unit 4, for judging whether preset threshold on the basis of on derivative direction beyond by V1 is limited V2
Fixed preset range;
Predicated execution unit 5, is used for: if pre- defined by preset threshold of V2 on the basis of on derivative direction beyond by V1
If range, then using preset threshold as heart rate output valve;If not no default threshold on the basis of on derivative direction beyond by V1 of V2
Preset range defined by value, then using V2 as heart rate output valve.
Referring to Fig. 5, acquiring unit 1 includes: first acquisition unit 6, and the heart rate value for the m+1 measurement acquisition is made
For V1;Preferably, acquiring unit 1 further includes second acquisition unit 7, for heart rate output valve to be assigned to V1.
Referring to Fig. 6, the first judging unit 3 includes: comparing unit 8, for making ratio to the size of V1 and V2 on the basis of V1
Compared with;First judging unit 3 further includes third judging unit 9, for judging the derivative direction of V2 according to comparison result.
Further, comparing unit 8 includes: arithmetic element 10, for subtracting each other V2 and V1, passes through additive operation realization pair
The size of V1 and V2 compares, naturally it is also possible to which the size of V1 and V2 are compared in operation by other means.Third judging unit 9
Include: to determine subelement 11, be used for: when V2-V1 >=0 when, determine that the derivative direction of V2 is derivative upwards;As V2-V1 < 0,
Determine that the derivative direction of V2 is derivative downwards.That is, determining subelement 11 according to the operation comparison result of arithmetic element 10
The further corresponding derivative direction for determining V2.
Referring to Fig. 7, second judgment unit 4 includes:
First judgement designating unit 12, for specifying preset threshold for V1+a when the derivative direction of V2 is derivative upwards,
For the preset range that the preset threshold limits as [V1, V1+a], a is preset positive integer.
Second judgement designating unit 13, for specifying preset threshold for V1-a when the derivative direction of V2 is derivative downwards,
The preset range that the preset threshold limits as [V1-a, V1), a its be preset positive integer.
That is, first determines 12 He of designating unit after determining that subelement 11 further judges the derivative direction of V2
Second judgement designating unit 13 accordingly carries out specified setting to preset threshold and preset range according to the derivative direction where V2.
Referring to Fig. 8, further, first acquisition unit 6 includes that the 4th judging unit 14 and third determine designating unit 15,
Its 4th judging unit 14 is used to judge that the number of heart rate Value Data collected to carry out accumulation calculating and judges heart rate Value Data
Number whether be greater than m, if so, third determines that designating unit 15 determines that the initial value of specified V1 is Current heart rate value.
The device of the correction heart rate of the present embodiment further includes storage unit, and the number for storing heart rate Value Data is greater than m
Heart rate Value Data, to facilitate the calling of heart rate Value Data.
When above-mentioned 4th judging unit 14 judges the number of heart rate Value Data greater than m, Current heart rate Value Data is stored in
Into storage unit, then the first judging unit 3 is called the heart rate Value Data in storage unit and is judged V2's on the basis of V1
Derivative direction, further by second judgment unit 4 judge V2 whether default threshold on the basis of on derivative direction beyond by V1
It is worth the preset range of the restriction, then Predicated execution unit 5 is performed corresponding processing according to second judgment unit 4.
The device of the correction heart rate of the present embodiment further includes display unit, for show correction after heart rate output valve for
User checks.It is when the 4th judging unit 14 judges the number of heart rate Value Data greater than m, then Current heart rate value is defeated as heart rate
Value is shown to user and checks out, after the completion of the execution of Predicated execution unit 5, the heart rate output valve after correction is shown to user and is looked into
It sees.
Referring to Fig. 9, one embodiment of the invention provides a kind of heart rate measuring device, comprising:
Heart rate sensor 100 provides heart rate Value Data for measuring heart rate;
Memory 200, memory 200 are stored with the computer program of the method for above-mentioned correction heart rate;
Processor 300, the method for executing above-mentioned correction heart rate;
Terminal installation, for showing or broadcasting the heart rate output valve after rectifying a deviation.
In the present embodiment, heart rate value goes out to be worth by H_SENSOR platform measuring, and the MAX30101 in H_SENSOR is Gao Ling
Sensitivity pulse blood oxygen instrument and heart rate sensor 100, heart rate sensor 100 can be used for measuring heart rate, provide heart rate Value Data;;
The method that processor 300 executes above-mentioned correction heart rate carries out correction to measured heart rate value and handles to obtain heart rate output valve;Eventually
End device includes display screen and/or speech player, and display screen can show heart rate output valve, and speech player can then broadcast heart rate
Output valve.
The heart rate measuring device of the present embodiment is Intelligent bracelet, and the terminal installation of the Intelligent bracelet is display screen, can be shown
Heart rate measurement data and other data, user check defeated after being rectified a deviation by processor 300 from the display screen of Intelligent bracelet
Heart rate value out.
It will be understood by those skilled in the art that terminal of the invention and above-mentioned involved for executing in the application in method
The embodiments of one or more apparatus and method for items complement each other, be adapted to each other, multiple details described in method item and
Illustrate to may be applicable to above-mentioned terminal, the embodiment of equipment, in order to avoid repeating, details are not described herein again.These equipment can be with
It is specially designed and manufactured for required purpose, or also may include the known devices such as Intelligent bracelet and computer.These
There is equipment the computer program being stored in it or application program, these computer programs selectively to activate or reconstruct.This
The computer program of sample can be stored in equipment (for example, computer) readable medium or be stored in be referred to suitable for storage electronics
It enables and is coupled in any kind of medium of bus respectively, computer-readable medium includes but is not limited to any kind of disk
(including floppy disk, hard disk, CD, CD-ROM and magneto-optic disk), ROM (Read-Only Memory, read-only memory), RAM
(Random Access Memory, random access memory), EPROM (Erasable Programmable Read-Only
Memory, Erarable Programmable Read only Memory), EEPROM (Electrically Erasable Programmable
Read-Only Memory, Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or light card.It is, readable
Medium includes by equipment (for example, computer) with any medium for the form storage or transmission information that can be read.
One embodiment of the invention provides a kind of computer readable storage medium, is stored thereon with computer program, calculates
Machine program realizes the step of method of above-mentioned correction heart rate when being executed by processor.
The present invention also provides a kind of computer program products comprising instruction, when run on a computer, so that
The method that computer executes the described correction heart rate of above embodiments.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real
It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.
Computer program product includes one or more computer instructions.Load and execute on computers computer program
When instruction, the process or function according to the embodiment of the present application are entirely or partly generated.Computer can be general purpose computer, specially
With computer, computer network or other programmable devices.Computer instruction can store in computer readable storage medium
In, or transmit from a computer readable storage medium to another computer readable storage medium, for example, computer instruction can
To pass through wired (such as coaxial cable, optical fiber, Digital Subscriber Line from a web-site, computer, server or data center
(DSL)) or wireless (such as infrared, wireless, microwave etc.) mode is into another web-site, computer, server or data
The heart is transmitted.The computer readable storage medium can be any usable medium or include that computer can store
The data storage devices such as one or more usable mediums integrated server, data center.The usable medium can be magnetism
Medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk Solid
State Disk (SSD)) etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, device, article or the method that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, device, article or method institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, device of element, article or method.
The above description is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all utilizations
Equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content is applied directly or indirectly in other correlations
Technical field, be included within the scope of the present invention.
Claims (10)
1. a kind of method for heart rate of rectifying a deviation characterized by comprising
Obtain the first heart rate value V1;
Acquire the second heart rate value V2;
The derivative direction of the V2 is accordingly judged on the basis of the V1;
Judge the V2 whether on the derivative direction beyond by the V1 on the basis of preset threshold defined by preset model
It encloses;
If so, using the preset threshold on the derivative direction as heart rate output valve;If it is not, then using the V2 as the heart
Rate output valve.
2. the method for correction heart rate according to claim 1, which is characterized in that the step of the first heart rate value V1 of the acquisition
In, it is preset positive integer using the heart rate value of the m+1 measurement of acquisition as the V1, the m.
3. the method for correction heart rate according to claim 1 or 2, which is characterized in that described if so, by the default threshold
Value is used as heart rate output valve;If it is not, then using the V2 as after the step of heart rate output valve, comprising:
The heart rate output valve is assigned to the V1.
4. the method for correction heart rate according to claim 1, which is characterized in that described accordingly to be judged on the basis of the V1
The step of derivative direction of the V2, comprising:
On the basis of the V1, make comparisons to the size of the V1 and V2;
The derivative direction of the V2 is judged according to the comparison result.
5. it is according to claim 4 correction heart rate method, which is characterized in that it is described on the basis of the V1 to the V1
It makes comparisons with the size of V2;The derivative direction step of the V2 is judged according to the comparison result, comprising:
The V2 and the V1 are subtracted each other;
When V2-V1 >=0 when, determine that the derivative direction of the V2 is derivative upwards;As V2-V1 < 0, the derivative of the V2 is determined
Direction is derivative downwards.
6. the method for correction heart rate according to claim 5, which is characterized in that when the derivative direction of the V2 is to spread out upwards
When raw, the preset threshold is V1+a, and the preset range is [V1, V1+a], and a is preset positive integer.
7. it is according to claim 5 or 6 correction heart rate method, which is characterized in that when the derivative direction of the V2 be to
When lower derivative, the preset threshold be V1-a, the preset range be [V1-a, V1), a be preset positive integer.
8. a kind of device for heart rate of rectifying a deviation characterized by comprising
Acquiring unit, for obtaining the first heart rate value V1;
Acquisition unit, for acquiring the second heart rate value V2;
First judging unit, for accordingly judging the derivative direction of the V2 on the basis of the V1;
Second judgment unit, for judge the V2 whether preset threshold institute on the basis of on derivative direction beyond by the V1
The preset range of restriction;
Predicated execution unit, is used for: if preset threshold of V2 on the basis of on derivative direction beyond by the V1 is limited
Preset range, then using the preset threshold as heart rate output valve;If the V2 is not beyond with described on derivative direction
Preset range defined by preset threshold on the basis of V1, then using the V2 as heart rate output valve.
9. the device for heart rate of rectifying a deviation according to claim 8, which is characterized in that the acquiring unit includes:
First acquisition unit, for using the heart rate value of the m+1 measurement of acquisition as the V1.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
It is performed the method for realizing heart rate of rectifying a deviation described in any one of claims 1 to 7.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910049886.1A CN109620196A (en) | 2019-01-18 | 2019-01-18 | The method, apparatus and storage medium of correction heart rate |
PCT/CN2019/073528 WO2020147149A1 (en) | 2019-01-18 | 2019-01-28 | Method and apparatus for correcting heart rate, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910049886.1A CN109620196A (en) | 2019-01-18 | 2019-01-18 | The method, apparatus and storage medium of correction heart rate |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109620196A true CN109620196A (en) | 2019-04-16 |
Family
ID=66061388
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910049886.1A Pending CN109620196A (en) | 2019-01-18 | 2019-01-18 | The method, apparatus and storage medium of correction heart rate |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109620196A (en) |
WO (1) | WO2020147149A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110279407A (en) * | 2019-06-27 | 2019-09-27 | 重庆金康特智能穿戴技术研究院有限公司 | The gentle method of heart rate data and wearable device based on android system |
CN110935159A (en) * | 2019-12-25 | 2020-03-31 | 青岛英派斯健康科技股份有限公司 | Fitness equipment heart rate display method, device, equipment and storage medium |
CN111714110A (en) * | 2020-05-19 | 2020-09-29 | 成都云卫康医疗科技有限公司 | Real-time heart rate calculation method based on PPG waveform |
CN114469004A (en) * | 2022-02-16 | 2022-05-13 | 中物云信息科技(无锡)有限公司 | Human sleep health monitoring method based on fiber bragg grating sensor |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101262815A (en) * | 2005-09-15 | 2008-09-10 | 西铁城控股株式会社 | Heart rate meter and method for removing noise of heart beat waveform |
US7438688B2 (en) * | 2005-08-26 | 2008-10-21 | Nihon Kohden Corporation | Apparatus and method for measuring pulse rate |
CN104168828A (en) * | 2012-01-16 | 2014-11-26 | 瓦伦赛尔公司 | Physiological metric estimation rise and fall limiting |
-
2019
- 2019-01-18 CN CN201910049886.1A patent/CN109620196A/en active Pending
- 2019-01-28 WO PCT/CN2019/073528 patent/WO2020147149A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7438688B2 (en) * | 2005-08-26 | 2008-10-21 | Nihon Kohden Corporation | Apparatus and method for measuring pulse rate |
CN101262815A (en) * | 2005-09-15 | 2008-09-10 | 西铁城控股株式会社 | Heart rate meter and method for removing noise of heart beat waveform |
CN104168828A (en) * | 2012-01-16 | 2014-11-26 | 瓦伦赛尔公司 | Physiological metric estimation rise and fall limiting |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110279407A (en) * | 2019-06-27 | 2019-09-27 | 重庆金康特智能穿戴技术研究院有限公司 | The gentle method of heart rate data and wearable device based on android system |
CN110279407B (en) * | 2019-06-27 | 2023-07-04 | 重庆金康特智能穿戴技术研究院有限公司 | Android system-based heart rate data smoothing method and wearable device |
CN110935159A (en) * | 2019-12-25 | 2020-03-31 | 青岛英派斯健康科技股份有限公司 | Fitness equipment heart rate display method, device, equipment and storage medium |
CN111714110A (en) * | 2020-05-19 | 2020-09-29 | 成都云卫康医疗科技有限公司 | Real-time heart rate calculation method based on PPG waveform |
CN114469004A (en) * | 2022-02-16 | 2022-05-13 | 中物云信息科技(无锡)有限公司 | Human sleep health monitoring method based on fiber bragg grating sensor |
Also Published As
Publication number | Publication date |
---|---|
WO2020147149A1 (en) | 2020-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109620196A (en) | The method, apparatus and storage medium of correction heart rate | |
TWI768216B (en) | Dehydration amount prediction method for hemodialysis and electronic device using the same | |
US10289652B2 (en) | Calibration method for the prospective calibration of measuring equipment | |
CN107072555A (en) | A kind of processing method and processing device of blood-pressure measurement data | |
CN112451834B (en) | Sleep quality management method, device, system and storage medium | |
US20130252211A1 (en) | Body weight management device | |
US20190388036A1 (en) | Methods and apparatus for adaptable presentation of sensor data | |
CN108511067A (en) | Method for early warning and electronic equipment | |
US20230233152A1 (en) | Methods, apparatus and systems for adaptable presentation of sensor data | |
US20200405216A1 (en) | Cognitive function evaluation device, cognitive function evaluation system, cognitive function evaluation method, and recording medium | |
US11457873B2 (en) | Method and apparatus for identifying homology of physiological signals | |
US8401630B2 (en) | Method of determining training intensity | |
US20130345573A1 (en) | Adaptive Control of Monitoring Devices | |
JP2001017403A (en) | Living body signal detecting device | |
CN113679339A (en) | Sleep monitoring method, device, system and storage medium | |
JP2016202345A (en) | Biological information processing system, biological information processing device, and analysis result information generation method | |
WO2016144612A1 (en) | System and methods for displaying medical data | |
US20210127984A1 (en) | Blood Flow Analysis Device, Blood Flow Analysis Program, and Blood Flow Analysis System | |
CN112786185A (en) | Method, device and system for acquiring blood pressure health state | |
CN110432882B (en) | Maximum heart rate prediction method and device based on metabolic equivalent and physiological parameters | |
CN113100736A (en) | Cerebral blood flow autonomic nerve disorder evaluation device, system and storage medium | |
JP2021180732A (en) | Device for determining progress of disease, method, program and system | |
CN112040859A (en) | Anaerobic metabolism threshold estimation method and device | |
JP2020162649A (en) | Health management device, health management system, health management program, and health management method | |
CN111374678B (en) | Method and device for measuring blood oxygen in two channels |
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: 20190416 |