CN105877730B - A kind of heart rate detection method, device and electronic equipment - Google Patents

A kind of heart rate detection method, device and electronic equipment Download PDF

Info

Publication number
CN105877730B
CN105877730B CN201610161781.1A CN201610161781A CN105877730B CN 105877730 B CN105877730 B CN 105877730B CN 201610161781 A CN201610161781 A CN 201610161781A CN 105877730 B CN105877730 B CN 105877730B
Authority
CN
China
Prior art keywords
operating body
described image
heart rate
acquisition device
frame
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.)
Active
Application number
CN201610161781.1A
Other languages
Chinese (zh)
Other versions
CN105877730A (en
Inventor
刘旭国
郭卫先
高峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201610161781.1A priority Critical patent/CN105877730B/en
Publication of CN105877730A publication Critical patent/CN105877730A/en
Application granted granted Critical
Publication of CN105877730B publication Critical patent/CN105877730B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, 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/024Detecting, measuring or recording pulse rate or heart rate
    • A61B5/0245Detecting, measuring or recording pulse rate or heart rate by using sensing means generating electric signals, i.e. ECG signals

Landscapes

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

Abstract

The invention discloses a kind of heart rate detection method, device and electronic equipments, the described method includes: obtaining image data of the operating body contacted with the pickup area of the fingerprint acquisition device in preset time is long using the fingerprint acquisition device on the electronic equipment, described image data include multiple images frame;Pixel parsing is carried out to each described image frame, obtains the image quality parameter value of each described image frame;Obtain the number of frames that image quality parameter value meets the picture frame of the first preset condition;Based on the number of frames, the heart rate value of operating body is obtained.Heart rate is detected using the existing device in the electronic equipment of the daily carrying of user in the present invention, the real-time detection of heart rate can be realized without carrying specific heart rate detector, additional burden will not be increased user, hence it is evident that improves user experience.

Description

A kind of heart rate detection method, device and electronic equipment
Technical field
The present invention relates to technical field of data processing, in particular to a kind of heart rate detection method, device and electronic equipment.
Background technique
With the development of society, will appear in living environment it is various influence user's body health situations, therefore, it is necessary to and When user's body state is monitored, such as Heart Rate States.
And in practical applications, the heart rate of user can be monitored by needing to wear heart rate detector, and user is caused to need day Often carry excessive equipment.
Summary of the invention
In view of this, the present invention provides a kind of heart rate detection method, device and electronic equipments, to solve the prior art In need to wear specific heart rate detector and can just monitor heart rate when carrying out heart rate detection to human body, cause user to need to carry Excessive equipment, the technical issues of influencing user experience.
The present invention provides a kind of heart rate detection methods, are applied to electronic equipment, which comprises
It is obtained using the fingerprint acquisition device on the electronic equipment and is contacted with the pickup area of the fingerprint acquisition device Image data of the operating body in preset time is long, described image data include multiple images frame;
Pixel parsing is carried out to each described image frame, obtains the image quality parameter value of each described image frame;
Obtain the number of frames that image quality parameter value meets the picture frame of the first preset condition;
Based on the number of frames, the heart rate value of operating body is obtained.
The above method, it is preferred that the method also includes:
In obtaining described image data procedures, the kinematic parameter of the operating body is monitored, is shown in the kinematic parameter When the operating body enters motion state, is regained using the fingerprint acquisition device on the electronic equipment and adopted with the fingerprint Image data of the operating body of the pickup area contact of acquisition means in preset time is long.
The above method, it is preferred that the amount of image information of described image data is higher than preset first threshold.
The above method, it is preferred that it is described that pixel parsing is carried out to each described image frame, obtain each described image frame Image quality parameter value, comprising:
The pixel qualities of pixel based on each described image frame obtain the image quality parameter value of each picture frame.
The above method, it is preferred that first preset condition includes: that image quality parameter value is greater than preset second threshold Value;
Correspondingly, obtaining the number of frames that image quality parameter value meets the picture frame of the first preset condition, comprising:
The picture frame for being greater than the second threshold to image quality parameter value counts, and obtains number of frames.
The above method, it is preferred that be based on the number of frames, obtain the heart rate value of operating body, comprising:
It is long using the number of frames and the preset time, calculate the heart rate of the long interior operating body of the preset time Value.
The present invention also provides a kind of heartbeat detection devices, are applied to electronic equipment, and described device includes:
Data acquiring unit is filled for being obtained using the fingerprint acquisition device on the electronic equipment with the fingerprint collecting Image data of the operating body for the pickup area contact set in preset time is long, described image data include multiple images frame;
Picture frame resolution unit obtains each described image frame for carrying out pixel parsing to each described image frame Image quality parameter value;
Number of frames acquiring unit, the frame number for meeting the picture frame of the first preset condition for obtaining image quality parameter value Amount;
Heart rate value obtaining unit obtains the heart rate value of operating body for being based on the number of frames.
Above-mentioned apparatus, it is preferred that further include:
Motion monitoring unit monitors the behaviour for obtaining in described image data procedures in the data acquiring unit The kinematic parameter for making body triggers the data and obtains list when the kinematic parameter shows that the operating body enters motion state Member is regained using the fingerprint acquisition device on the electronic equipment to be contacted with the pickup area of the fingerprint acquisition device Image data of the operating body in preset time is long.
Above-mentioned apparatus, it is preferred that the amount of image information of described image data is higher than preset first threshold.
Above-mentioned apparatus, it is preferred that described image frame resolution unit is specifically used for: the pixel based on each described image frame Pixel qualities, obtain the image quality parameter value of each picture frame.
Above-mentioned apparatus, it is preferred that first preset condition includes: that image quality parameter value is greater than preset second threshold Value;
Correspondingly, the number of frames acquiring unit is specifically used for: being greater than the second threshold to image quality parameter value Picture frame is counted, and number of frames is obtained.
Above-mentioned apparatus, it is preferred that the heart rate value obtaining unit is specifically used for: using the number of frames and it is described default when Between it is long, calculate the preset time it is long in the operating body heart rate value.
The present invention also provides a kind of electronic equipment, including fingerprint acquisition device and heartbeat detection device, in which:
The fingerprint acquisition device, for acquiring the operating body contacted with the pickup area of the fingerprint acquisition device pre- The image data in if the time is long, described image data include multiple images frame;
The heartbeat detection device carries out pixel parsing to each described image frame for obtaining described image data, The image quality parameter value of each described image frame is obtained, the picture frame that image quality parameter value meets the first preset condition is obtained Number of frames, and be based on the number of frames, obtain the heart rate value of operating body.
Above-mentioned electronic equipment, it is preferred that further include:
Main part;
Fixed part is connected with the main part, and the fixed part at least has stationary state, in the fixation When being partially in the stationary state, the fixed part is at least part of an annulus or meets the close of preset condition Like at least part of annulus;
The inside of the annulus or the proximate annular space is arranged in, wherein works as institute in the fingerprint acquisition device When stating electronic equipment and being fixed on operating body periphery by the fixed part, the fingerprint acquisition device acquisition is adopted with the fingerprint Image data of the operating body of the pickup area contact of acquisition means in preset time is long;
The heartbeat detection device is arranged in the main part or the fixed part.
By above scheme it is found that a kind of heart rate detection method, device and electronic equipment provided by the invention, pass through user institute Fingerprint acquisition device on the electronic equipment of carrying obtains the operating body being in contact with the pickup area of the device in certain time Image data in length, and then the image quality parameter value of each picture frame in these image datas is parsed, Jin Ertong Cross the quantity of the picture frame of acquisition image quality parameter value the first preset condition of satisfaction to obtain the heart rate value of operating body, as a result, Heart rate is detected using the existing device in the electronic equipment of the daily carrying of user in the present invention, it is specific without carrying The real-time detection of heart rate can be realized in heart rate detector, will not increase user additional burden, hence it is evident that improves user experience.
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 The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart for heart rate detection method that the embodiment of the present invention one provides;
Fig. 2 a to Fig. 2 d is respectively the application exemplary diagram of the embodiment of the present invention;
Fig. 3 is a kind of flow chart of heart rate detection method provided by Embodiment 2 of the present invention;
Fig. 4 a is a kind of flow chart for heart rate detection method that the embodiment of the present invention three provides;
Fig. 4 b is a kind of flow chart for heart rate detection method that the embodiment of the present invention four provides;
Fig. 5 is a kind of flow chart for heart rate detection method that the embodiment of the present invention five provides;
Fig. 6 is a kind of structural schematic diagram for heartbeat detection device that the embodiment of the present invention six provides;
Fig. 7 is a kind of structural schematic diagram for heartbeat detection device that the embodiment of the present invention seven provides;
Fig. 8 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present invention eight provides;
Fig. 9 a and Fig. 9 b are respectively the structural schematic diagram for a kind of electronic equipment that the embodiment of the present invention nine provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
With reference to Fig. 1, for a kind of implementation flow chart for heart rate detection method that the embodiment of the present invention one provides, wherein described Method is suitable for detecting the heart rate value during user's daily behavior.Specifically, in the present embodiment, the method can be with The following steps are included:
Step 101: obtaining the acquisition with the fingerprint acquisition device using the fingerprint acquisition device on the electronic equipment Image data of the operating body of region contact in preset time is long.
Wherein, described image data include multiple images frame, that is to say, that the pickup area of the fingerprint acquisition device connects Touching is on operating body, as shown in Figure 2 a, the pickup area of the fingerprint acquisition device spliced by multiple fingerprint collecting chips and At, angiosomes on the corresponding operating body of the pickup area of the fingerprint acquisition device, aorta regions or neck such as wrist The aorta regions in portion correspond to the pickup area, and the fingerprint acquisition device can acquire the image data of the operating body;Or Person, as shown in figure 2b, the pickup area of the fingerprint acquisition device are realized by single fingerprint collecting chip, such as mobile phone dominant control On fingerprint acquisition device, the pickup area of the fingerprint acquisition device corresponds to the angiosomes of user's finger, as finger is placed In the pickup area, the fingerprint acquisition device can acquire the image data of the finger;Alternatively, such as institute in Fig. 2 c Show, the pickup area of the fingerprint acquisition device corresponds to the entire display area of electronic equipment, i.e., the display of the described electronic equipment Region is the pickup area of fingerprint acquisition device, and the angiosomes of user's operation body such as arm or finger can be adopted with docile described Collect on region, the fingerprint acquisition device can acquire the image data, etc. of arm or finger, and the pickup area is corresponding In these angiosomes in heart contraction, the blood vessel in these regions can be made to be shunk and be expanded, in the fingerprint collecting It is maintained between the pickup area of device and the operating body in case of a steady state, the fingerprint acquisition device is when default Between it is long in can collect multiple images frame on the region, these regions and institute on operating body can be embodied in picture frame The contact distance between the pickup area of fingerprint acquisition device is stated, i.e. blood vessel is either with or without being shunk and being expanded, these figures as a result, As frame composition image data, the image data is obtained in the present embodiment.
Step 102: pixel parsing being carried out to each described image frame, obtains the picture quality ginseng of each described image frame Numerical value.
Wherein, the image quality parameter value of each described image frame can show that described corresponding to each described image frame Contact area between operating body and the pickup area of the fingerprint acquisition device, it is understood that for the operating body with it is described The distance between pickup area of fingerprint acquisition device.
Step 103: obtaining the number of frames that image quality parameter value meets the picture frame of the first preset condition.
That is, the contact area between the operating body and the pickup area is met certain item in the present embodiment The quantity for the picture frame that part or the distance between operating body and the pickup area are met certain condition is counted, Jin Ertong The number of frames crossed embodies contact area when contacting between the operating body and the pickup area of the fingerprint acquisition device Or number of distance when meeting certain condition.
Step 104: being based on the number of frames, obtain the heart rate value of operating body.
Specifically, although it is understood that the operating body and the fingerprint in the present embodiment after obtaining the number of frames Number when contact area or distance are met certain condition when contacting between the pickup area of acquisition device, and then obtain operating body Blood vessel carry out contraction or expansion number, and then be based on this number, obtain the heart rate value of the operating body.
By above scheme it is found that a kind of heart rate detection method that the embodiment of the present invention one provides, by entrained by user Fingerprint acquisition device on electronic equipment obtains the operating body being in contact with the pickup area of the device in certain time is long Image data, and then the image quality parameter value of each picture frame in these image datas is parsed, and then pass through acquisition Image quality parameter value meets the quantity of the picture frame of the first preset condition to obtain the heart rate value of operating body, as a result, this implementation Heart rate is detected using the existing device in the electronic equipment of the daily carrying of user in example, without carrying specific heart rate The real-time detection of heart rate can be realized in detector, will not increase user additional burden, hence it is evident that improves user experience.
In addition, if operating body owning user is kept in motion down, will affect the operating body due in the concrete realization Contact area or distance between the pickup area of the fingerprint acquisition device cause the present embodiment to go out when carrying out heart rate detection Therefore the situation of existing inaccuracy in the present embodiment when carrying out operating body heart rate detection, needs to guarantee the user of the operating body In non-athletic state, i.e., in the state of opposing stationary, specifically, being a kind of heart provided by Embodiment 2 of the present invention as in Fig. 3 The implementation flow chart of rate detection method, wherein in the implementation procedure of the step 101, the method can also be performed following Step:
Step 105: monitoring the kinematic parameter of the operating body, show that the operating body enters movement in the kinematic parameter When state, the step 101 is re-executed, to regain and the finger using the fingerprint acquisition device on the electronic equipment Image data of the operating body of the pickup area contact of line acquisition device in preset time is long.
Specifically, the kinematic parameter of the operating body, the fortune can be acquired in the present embodiment by moving class sensor Dynamic parameter can be the acceleration parameter of the operating body or displacement parameter etc., to characterize whether the operating body enters movement shape State.
Further, it can use pressure sensor in the present embodiment and be guaranteed at the fingerprints of relative static conditions and adopt Stable state is maintained between acquisition means and user's operation body, for example, finger to be placed on to the acquisition zone of the fingerprint acquisition device After on domain, show the pressing shape that finger keeps relative stability in the pickup area in the output parameter of the pressure sensor When state, the operating body of its pickup area contact is obtained in the present embodiment using the fingerprint acquisition device in preset time is long Image data, and then pixel parsing is carried out to each described image frame, obtain the image quality parameter of each described image frame Value, then it is based on the number of frames, the heart rate value of operating body is obtained, realizes the object of the invention.
In the above-described example, the amount of image information of described image data is higher than preset first threshold, image letter here Breath amount can be understood as the precision of images of described image data, that is, the pixel in the unit area in each picture frame Number, amount of image information here are higher than the first threshold, it is possible to understand that are as follows: at the operating mode of the fingerprint acquisition device In the acquisition mode of high acquisition precision, it is different from acquisition essence of the fingerprint acquisition device in normal fingerprint collecting mode Degree, the present embodiment could utilize high-precision under the pressing state that finger keeps relative stability in the pickup area as a result, Fingerprint acquisition device collect the image data of high pixel, to improve the subsequent accuracy for obtaining heart rate value.
With reference to Fig. 4 a, for a kind of implementation flow chart for heart rate detection method that the embodiment of the present invention three provides, wherein described Step 102 can be realized by following steps:
Step 121: the pixel qualities of the pixel based on each described image frame obtain the picture quality of each picture frame Parameter value.
That is, parsed in the present embodiment by the pixel qualities of the pixel to each described image frame, with It obtains the mass parameters such as clarity of pixel in each described image frame, and then obtains the picture quality of each described image frame Parameter value, as shown in fig. 2d, due to being in contact between the operating body and the pickup area, so that pickup area institute The intermediate region of corresponding picture frame solves the clarity of each picture frame in the present embodiment it is possible that black region Analysis, to obtain the image quality parameter value of each described image frame, such as in picture frame non-black region pixel numerical value Or pixel clarity is more than the pixel number etc. of certain threshold value in described image frame.
In the concrete realization, first preset condition can be with are as follows: and image quality parameter value is greater than preset second threshold, For example, the pixel numerical value in non-black region is greater than described second threshold etc. in each described image frame, and described image frame The pixel numerical value in middle non-black region is greater than the second threshold, that is, can be shown that the operating body and the pickup area it Between contact area be greater than certain threshold value or the distance between the operating body and the pickup area less than certain threshold value, this When at the time of be exactly that the blood vessel of the operating body is expanded, exactly because the blood vessel of the operating body is expanded, can just make It obtains the contact area between the operating body and the pickup area and increases or make the operating body and the pickup area The distance between reduce so that there is black region increase in the corresponding picture frame of the pickup area of the fingerprint acquisition device, The case where area in non-black region reduces.
That is, under the pressing state that finger keeps relative stability in the pickup area, the operating body When blood vessel is shunk and is expanded, the picture quality of the pickup area institute acquired image frame of high-precision fingerprint acquisition device Parameter value is different, for example, when blood vessel is shunk and expanded, in corresponding picture frame, the pixel numerical value in non-black region is not Same or black region area is different.
Correspondingly, be a kind of implementation flow chart for heart rate detection method that the embodiment of the present invention four provides as in Fig. 4 b, In, the step 103 can be realized by following steps:
Step 131: the picture frame for being greater than the second threshold to image quality parameter value counts, and obtains number of frames.
For example, the pixel numerical value in non-black region in picture frame to be greater than to the figure of the second threshold in the present embodiment As frame is counted, that is, determine that the pixel number in the non-black region of which picture frame is greater than the second threshold, thus The number of frames is obtained, which can characterize the number that the blood vessel of the operating body is expanded.
With reference to Fig. 5, for a kind of implementation flow chart for heart rate detection method that the embodiment of the present invention five provides, wherein described Step 104 can be realized by following steps:
Step 141: it is long using the number of frames and the preset time, calculate the long interior operating body of the preset time Heart rate value.
Wherein, the number of frames characterizes the number that the blood vessel of the operating body is expanded in the preset time is long, It is long divided by the preset time to can use the number of frames in the present embodiment as a result, heartbeat in the unit time can be obtained Number, i.e. heart rate value realizes the present embodiment purpose.
With reference to Fig. 6, for a kind of structural schematic diagram for heartbeat detection device that the embodiment of the present invention six provides, wherein described Device is suitable for detecting the heart rate value during user's daily behavior.Specifically, in the present embodiment, described device can be with Including with flowering structure:
Data acquiring unit 601 is adopted for being obtained using the fingerprint acquisition device on the electronic equipment with the fingerprint Image data of the operating body of the pickup area contact of acquisition means in preset time is long.
Wherein, described image data include multiple images frame, that is to say, that the pickup area of the fingerprint acquisition device connects Touching is on operating body, as shown in Figure 2 a, at this point, the blood vessel on the corresponding operating body of the pickup area of the fingerprint acquisition device Region, such as the aorta regions of wrist or the aorta regions of neck can make in these angiosomes in heart contraction The blood vessel in these regions is shunk and is expanded, at this point, the fingerprint acquisition device can collect this in preset time is long Multiple images frame on region can embody adopting for these regions on operating body and the fingerprint acquisition device in picture frame Collecting the contact distance between region, i.e. blood vessel is either with or without being shunk and being expanded, these picture frames form image data as a result, The image data is obtained in the present embodiment.
Picture frame resolution unit 602 obtains each described image for carrying out pixel parsing to each described image frame The image quality parameter value of frame.
Wherein, the image quality parameter value of each described image frame can show that described corresponding to each described image frame Contact area between operating body and the pickup area of the fingerprint acquisition device, it is understood that for the operating body with it is described The distance between pickup area of fingerprint acquisition device.
Number of frames acquiring unit 603, the frame for meeting the picture frame of the first preset condition for obtaining image quality parameter value Quantity.
That is, the contact area between the operating body and the pickup area is met certain item in the present embodiment The quantity for the picture frame that part or the distance between operating body and the pickup area are met certain condition is counted, Jin Ertong The number of frames crossed embodies contact area when contacting between the operating body and the pickup area of the fingerprint acquisition device Or number of distance when meeting certain condition.
Heart rate value obtaining unit 604 obtains the heart rate value of operating body for being based on the number of frames.
Specifically, although it is understood that the operating body and the fingerprint in the present embodiment after obtaining the number of frames Number when contact area or distance are met certain condition when contacting between the pickup area of acquisition device, and then obtain operating body Blood vessel carry out contraction or expansion number, and then be based on this number, obtain the heart rate value of the operating body.
By above scheme it is found that a kind of heartbeat detection device that the embodiment of the present invention six provides, by entrained by user Fingerprint acquisition device on electronic equipment obtains the operating body being in contact with the pickup area of the device in certain time is long Image data, and then the image quality parameter value of each picture frame in these image datas is parsed, and then pass through acquisition Image quality parameter value meets the quantity of the picture frame of the first preset condition to obtain the heart rate value of operating body, as a result, this implementation Heart rate is detected using the existing device in the electronic equipment of the daily carrying of user in example, without carrying specific heart rate The real-time detection of heart rate can be realized in detector, will not increase user additional burden, hence it is evident that improves user experience.
In addition, if operating body owning user is kept in motion down, will affect the operating body due in the concrete realization Contact area or distance between the pickup area of the fingerprint acquisition device cause the present embodiment to go out when carrying out heart rate detection Therefore the situation of existing inaccuracy in the present embodiment when carrying out operating body heart rate detection, needs to guarantee the user of the operating body In non-athletic state, i.e., in the state of opposing stationary, specifically, with reference to Fig. 7, a kind of heart for being provided for the embodiment of the present invention seven The structural schematic diagram of rate detection device, wherein described device can also include with flowering structure:
Motion monitoring unit 605, for being obtained in described image data procedures in the data acquiring unit 601, monitoring The kinematic parameter of the operating body triggers the data when the kinematic parameter shows that the operating body enters motion state Obtaining unit 601 regains the acquisition zone with the fingerprint acquisition device using the fingerprint acquisition device on the electronic equipment Image data of the operating body of domain contact in preset time is long.
Specifically, the kinematic parameter of the operating body, the fortune can be acquired in the present embodiment by moving class sensor Dynamic parameter can be the acceleration parameter of the operating body or displacement parameter etc., to characterize whether the operating body enters movement shape State.
In the above-described example, the amount of image information of described image data is higher than preset first threshold, image letter here Breath amount can be understood as the precision of images of described image data, that is, the pixel in the unit area in each picture frame Number, amount of image information here are higher than the first threshold, it is possible to understand that are as follows: at the operating mode of the fingerprint acquisition device In the acquisition mode of high acquisition precision, it is different from acquisition essence of the fingerprint acquisition device in normal fingerprint collecting mode Degree, the present embodiment could collect the image data of high pixel using high-precision fingerprint acquisition device as a result, subsequent to improve Obtain the accuracy of heart rate value.
In practical implementations, described image frame resolution unit 602 can specifically be accomplished by the following way:
The pixel qualities of pixel based on each described image frame obtain the image quality parameter value of each picture frame.
That is, parsed in the present embodiment by the pixel qualities of the pixel to each described image frame, with It obtains the mass parameters such as clarity of pixel in each described image frame, and then obtains the picture quality of each described image frame Parameter value, as shown in figure 2b, due to being in contact between the operating body and the pickup area, so that pickup area institute The intermediate region of corresponding picture frame solves the clarity of each picture frame in the present embodiment it is possible that black region Analysis, to obtain the image quality parameter value of each described image frame, such as in picture frame non-black region pixel numerical value Or pixel clarity is more than the pixel number etc. of certain threshold value in described image frame.
In the concrete realization, first preset condition can be with are as follows: and image quality parameter value is greater than preset second threshold, For example, the pixel numerical value in non-black region is greater than described second threshold etc. in each described image frame, and described image frame The pixel numerical value in middle non-black region is greater than the second threshold, that is, can be shown that the operating body and the pickup area it Between contact area be greater than certain threshold value or the distance between the operating body and the pickup area less than certain threshold value, this When at the time of be exactly that the blood vessel of the operating body is expanded, exactly because the blood vessel of the operating body is expanded, can just make It obtains the contact area between the operating body and the pickup area and increases or make the operating body and the pickup area The distance between reduce so that there is black region increase in the corresponding picture frame of the pickup area of the fingerprint acquisition device, The case where area in non-black region reduces.
Correspondingly, the number of frames acquiring unit 603 can be realized by following steps:
The picture frame for being greater than the second threshold to image quality parameter value counts, and obtains number of frames.
For example, the pixel numerical value in non-black region in picture frame to be greater than to the figure of the second threshold in the present embodiment As frame is counted, that is, determine that the pixel number in the non-black region of which picture frame is greater than the second threshold, thus The number of frames is obtained, which can characterize the number that the blood vessel of the operating body is expanded.
At other in the specific implementation, the heart rate value obtaining unit 604 can be accomplished by the following way:
It is long using the number of frames and the preset time, calculate the heart rate of the long interior operating body of the preset time Value.
Wherein, the number of frames characterizes the number that the blood vessel of the operating body is expanded in the preset time is long, It is long divided by the preset time to can use the number of frames in the present embodiment as a result, heartbeat in the unit time can be obtained Number, i.e. heart rate value realizes the present embodiment purpose.
With reference to Fig. 8, for the structural schematic diagram for a kind of electronic equipment that the embodiment of the present invention eight provides, wherein the electronics Equipment may include fingerprint acquisition device 801 and heartbeat detection device 802, and the electronic equipment can be taken for users such as mobile phones Carrying device, in which:
The fingerprint acquisition device 801, for acquiring the operation contacted with the pickup area of the fingerprint acquisition device 801 Image data of the body in preset time is long.
Wherein, described image data include multiple images frame.
The heartbeat detection device 802 carries out pixel solution to each described image frame for obtaining described image data Analysis obtains the image quality parameter value of each described image frame, obtains the figure that image quality parameter value meets the first preset condition As the number of frames of frame, and it is based on the number of frames, obtains the heart rate value of operating body.
Specifically, the specific implementation structure and mode of the heartbeat detection device 802 can be implemented with reference to hereinbefore related Example content, and will not be described here in detail.
By above scheme it is found that a kind of electronic equipment that the embodiment of the present invention eight provides, passes through electronics entrained by user Fingerprint acquisition device in equipment obtains image of the operating body being in contact with the pickup area of the device in certain time is long Data, and then the image quality parameter value of each picture frame in these image datas is parsed, and then by obtaining image Quality parameter value meets the quantity of the picture frame of the first preset condition to obtain the heart rate value of operating body, as a result, in the present embodiment Heart rate is detected using the existing device in the electronic equipment of the daily carrying of user, without carrying specific heart rate detection The real-time detection of heart rate can be realized in device, will not increase user additional burden, hence it is evident that improves user experience.
Specifically, in order to which user is easy to carry, the electronic equipment can for can Wrist belt-type electronic equipment, specifically, As shown in Figure 9 a, the structural schematic diagram of a kind of electronic equipment provided for the embodiment of the present invention nine, wherein the electronic equipment Can also include with flowering structure:
Main part 803;
Fixed part 804 is connected with the main part 803, and the fixed part 804 at least has stationary state, When the fixed part 804 is in the stationary state, the fixed part 804 be an annulus at least part or Meet at least part in the proximate annular space of preset condition.
Correspondingly, the fingerprint acquisition device 801 can be set in the annulus or the proximate annular space Inside, as shown in Figure 9 b, wherein when the electronic equipment is fixed on operating body periphery by the fixed part 804, institute It is long in preset time to state the operating body that the acquisition of fingerprint acquisition device 801 is contacted with the pickup area of the fingerprint acquisition device 801 Interior image data, at this point, the heartbeat detection device 802 can be set in the main part or the fixed part, And then pixel parsing can be carried out to each described image frame, obtain each figure after obtaining described image data As the image quality parameter value of frame, the number of frames that image quality parameter value meets the picture frame of the first preset condition, and base are obtained In the number of frames, the heart rate value of operating body is obtained, realizes the present embodiment purpose.
For the various method embodiments described above, for simple description, therefore, it is stated as a series of action combinations, but Be those skilled in the art should understand that, the application is not limited by the described action sequence because according to the application, certain A little steps can be performed in other orders or simultaneously.Secondly, those skilled in the art should also know that, it is retouched in specification The embodiment stated belongs to preferred embodiment, necessary to related actions and modules not necessarily the application.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part It is bright.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this The function of each unit can be realized in the same or multiple software and or hardware when application.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can It realizes by means of software and necessary general hardware platform.Based on this understanding, the technical solution essence of the application On in other words the part that contributes to existing technology can be embodied in the form of software products, the computer software product It can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that a computer equipment (can be personal computer, server or the network equipment etc.) executes the certain of each embodiment of the application or embodiment Method described in part.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (12)

1. a kind of heart rate detection method is applied to electronic equipment, which comprises
The behaviour contacted with the pickup area of the fingerprint acquisition device is obtained using the fingerprint acquisition device on the electronic equipment Make image data of the body in preset time is long, described image data include multiple images frame;
Pixel parsing is carried out to each described image frame, obtains the image quality parameter value of each described image frame, the figure As mass parameter can show that the acquisition zone of the operating body and the fingerprint acquisition device corresponding to each described image frame The distance between the pickup area of contact area or the operating body and the fingerprint acquisition device between domain;
Obtain the number of frames that image quality parameter value meets the picture frame of the first preset condition;
Based on the number of frames, the heart rate value of operating body is obtained;
Wherein, it is based on the number of frames, obtains the heart rate value of operating body, comprising:
It is long using the number of frames and the preset time, calculate the heart rate value of the long interior operating body of the preset time.
2. the method according to claim 1, wherein the method also includes:
In obtaining described image data procedures, the kinematic parameter of the operating body is monitored, is shown in the kinematic parameter described When operating body enters motion state, is regained using the fingerprint acquisition device on the electronic equipment and filled with the fingerprint collecting Image data of the operating body for the pickup area contact set in preset time is long.
3. method according to claim 1 or 2, which is characterized in that the amount of image information of described image data is higher than default First threshold.
4. the method according to claim 1, wherein it is described to each described image frame carry out pixel parsing, Obtain the image quality parameter value of each described image frame, comprising:
The pixel qualities of pixel based on each described image frame obtain the image quality parameter value of each picture frame.
5. method according to claim 1 or 4, which is characterized in that first preset condition includes: image quality parameter Value is greater than preset second threshold;
Correspondingly, obtaining the number of frames that image quality parameter value meets the picture frame of the first preset condition, comprising:
The picture frame for being greater than the second threshold to image quality parameter value counts, and obtains number of frames.
6. a kind of heartbeat detection device, is applied to electronic equipment, described device includes:
Data acquiring unit, for being obtained and the fingerprint acquisition device using the fingerprint acquisition device on the electronic equipment Image data of the operating body of pickup area contact in preset time is long, described image data include multiple images frame;
Picture frame resolution unit obtains the figure of each described image frame for carrying out pixel parsing to each described image frame As quality parameter value, described image mass parameter can show that the operating body corresponding to each described image frame and the finger Contact area or the operating body between the pickup area of line acquisition device and the pickup area of the fingerprint acquisition device it Between distance;
Number of frames acquiring unit, the number of frames for meeting the picture frame of the first preset condition for obtaining image quality parameter value;
Heart rate value obtaining unit obtains the heart rate value of operating body for being based on the number of frames;
Wherein, the heart rate value obtaining unit is specifically used for: it is long using the number of frames and the preset time, it calculates described pre- The heart rate value of the operating body in if the time is long.
7. device according to claim 6, which is characterized in that further include:
Motion monitoring unit monitors the operating body for obtaining in described image data procedures in the data acquiring unit Kinematic parameter trigger data acquiring unit benefit when the kinematic parameter shows that the operating body enters motion state The operation contacted with the pickup area of the fingerprint acquisition device is regained with the fingerprint acquisition device on the electronic equipment Image data of the body in preset time is long.
8. device according to claim 6 or 7, which is characterized in that the amount of image information of described image data is higher than default First threshold.
9. device according to claim 6, which is characterized in that described image frame resolution unit is specifically used for: based on each The pixel qualities of the pixel of described image frame obtain the image quality parameter value of each picture frame.
10. device according to claim 6 or 9, which is characterized in that first preset condition includes: picture quality ginseng Numerical value is greater than preset second threshold;
Correspondingly, the number of frames acquiring unit is specifically used for: being greater than the image of the second threshold to image quality parameter value Frame is counted, and number of frames is obtained.
11. a kind of electronic equipment, including fingerprint acquisition device and heartbeat detection device, in which:
The fingerprint acquisition device, for acquiring the operating body contacted with the pickup area of the fingerprint acquisition device when default Between it is long in image data, described image data include multiple images frame;
The heartbeat detection device carries out pixel parsing to each described image frame, obtains for obtaining described image data The image quality parameter value of each described image frame obtains the frame that image quality parameter value meets the picture frame of the first preset condition Quantity, and it is based on the number of frames, the heart rate value of operating body is obtained, described image mass parameter can show that each described image Contact area or the operating body between the operating body and the pickup area of the fingerprint acquisition device corresponding to frame with The distance between the pickup area of the fingerprint acquisition device;
Wherein, the heartbeat detection device is specifically used for when obtaining the heart rate value of operating body based on the number of frames: being utilized The number of frames and the preset time are long, calculate the heart rate value of the long interior operating body of the preset time.
12. electronic equipment according to claim 11, which is characterized in that further include:
Main part;
Fixed part is connected with the main part, and the fixed part at least has stationary state, in the fixed part When in the stationary state, the fixed part is at least part of an annulus or the approximate ring for meeting preset condition At least part in shape space;
The inside of the annulus or the proximate annular space is arranged in, wherein when the electricity in the fingerprint acquisition device When sub- equipment is fixed on operating body periphery by the fixed part, the fingerprint acquisition device acquisition is filled with the fingerprint collecting Image data of the operating body for the pickup area contact set in preset time is long;
The heartbeat detection device is arranged in the main part or the fixed part.
CN201610161781.1A 2016-03-21 2016-03-21 A kind of heart rate detection method, device and electronic equipment Active CN105877730B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610161781.1A CN105877730B (en) 2016-03-21 2016-03-21 A kind of heart rate detection method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610161781.1A CN105877730B (en) 2016-03-21 2016-03-21 A kind of heart rate detection method, device and electronic equipment

Publications (2)

Publication Number Publication Date
CN105877730A CN105877730A (en) 2016-08-24
CN105877730B true CN105877730B (en) 2019-07-26

Family

ID=57013917

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610161781.1A Active CN105877730B (en) 2016-03-21 2016-03-21 A kind of heart rate detection method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN105877730B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201822709A (en) * 2016-12-30 2018-07-01 曦威科技股份有限公司 Real-time heart rate detection method and real-time heart rate detection system therefor
CN109922722B (en) * 2019-01-30 2021-07-16 深圳市汇顶科技股份有限公司 Heart rate detection method and device and electronic equipment
CN114081464B (en) * 2021-10-25 2023-06-30 天津极豪科技有限公司 Heart rate detection method and device and electronic equipment
CN114338896B (en) * 2021-12-17 2024-03-19 深圳市中兴移动软件有限公司 Method and device for detecting and controlling heart rate under screen and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101061952A (en) * 2006-04-27 2007-10-31 精工爱普生株式会社 Biometric data acquisition device, biometric data acquisition method and biometric authentication device
CN102028457A (en) * 2010-11-24 2011-04-27 北京麦邦光电仪器有限公司 Pulse rate measuring method and ring type pulse rate measuring meter
CN104202475A (en) * 2014-08-28 2014-12-10 Tcl通讯(宁波)有限公司 Pulse measuring method and system based on mobile terminal
CN105205464A (en) * 2015-09-18 2015-12-30 宇龙计算机通信科技(深圳)有限公司 Fingerprint identification method, fingerprint identification device and terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005204681A (en) * 2004-01-19 2005-08-04 Bmf:Kk Fingerprint identification device and fingerprint apparatus
CN103815890A (en) * 2014-03-08 2014-05-28 哈尔滨工业大学 Method for detecting heart rate by utilizing intelligent mobile phone camera

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101061952A (en) * 2006-04-27 2007-10-31 精工爱普生株式会社 Biometric data acquisition device, biometric data acquisition method and biometric authentication device
CN102028457A (en) * 2010-11-24 2011-04-27 北京麦邦光电仪器有限公司 Pulse rate measuring method and ring type pulse rate measuring meter
CN104202475A (en) * 2014-08-28 2014-12-10 Tcl通讯(宁波)有限公司 Pulse measuring method and system based on mobile terminal
CN105205464A (en) * 2015-09-18 2015-12-30 宇龙计算机通信科技(深圳)有限公司 Fingerprint identification method, fingerprint identification device and terminal

Also Published As

Publication number Publication date
CN105877730A (en) 2016-08-24

Similar Documents

Publication Publication Date Title
CN105877730B (en) A kind of heart rate detection method, device and electronic equipment
US10135873B2 (en) Data sharing method and apparatus, and terminal
CA3091957C (en) Consumer application for mobile assessment of functional capacity and falls risk
El Saddik et al. The potential of digital twins
CN105953814B (en) A kind of step-recording method, step count set and mobile terminal
Mekruksavanich et al. Exercise activity recognition with surface electromyography sensor using machine learning approach
Ahmadi et al. The effects of aging and dual tasking on human gait complexity during treadmill walking: a comparative study using quantized dynamical entropy and sample entropy
US10163421B2 (en) Automatic parameter adjustment system and method for display device, and display device
CN104360735A (en) Interface display method
CN103584919A (en) System and method for synchronously detecting multi-modal biological signals
Porr et al. R-peak detector stress test with a new noisy ECG database reveals significant performance differences amongst popular detectors
Pires et al. Identification of activities of daily living using sensors available in off-the-shelf mobile devices: Research and hypothesis
CN110866450A (en) Parkinson disease monitoring method and device and storage medium
KR20180020123A (en) Asynchronous signal processing method
CN108231156A (en) A kind of patient activity's situation analysis system and method that Activity recognition is carried out based on wearable device
CN107273827A (en) A kind of R wave of electrocardiosignal detection method and device
Fotouhi-Ghazvini et al. Wearable wireless sensors for measuring calorie consumption
Ousmer et al. An ontology for reasoning on body-based gestures
Nemati et al. Gait velocity estimation for a smartwatch platform using Kalman filter peak recovery
Lee et al. Respiration rate estimation based on independent component analysis of accelerometer data: Pilot single-arm intervention study
Cheng et al. A Fall detection system based on SensorTag and Windows 10 IoT core
CN103984857A (en) System and method for monitoring Parkinson's disease
CN109480852A (en) Sign monitoring method, system, wearable signal collecting device
US20170372131A1 (en) Determining user activity based on eye motion
CN109199325A (en) A kind of sleep monitor method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant