CN115245319A - Heart rate detection method and device, electronic equipment and computer readable storage medium - Google Patents

Heart rate detection method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN115245319A
CN115245319A CN202110450308.6A CN202110450308A CN115245319A CN 115245319 A CN115245319 A CN 115245319A CN 202110450308 A CN202110450308 A CN 202110450308A CN 115245319 A CN115245319 A CN 115245319A
Authority
CN
China
Prior art keywords
heart rate
pulse wave
target object
frequency domain
target
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
Application number
CN202110450308.6A
Other languages
Chinese (zh)
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.)
Shenzhen Miracle Intelligent Technology Co ltd
Institute of Flexible Electronics Technology of THU Zhejiang
Original Assignee
Shenzhen Miracle Intelligent Technology Co ltd
Institute of Flexible Electronics Technology of THU Zhejiang
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 Shenzhen Miracle Intelligent Technology Co ltd, Institute of Flexible Electronics Technology of THU Zhejiang filed Critical Shenzhen Miracle Intelligent Technology Co ltd
Priority to CN202110450308.6A priority Critical patent/CN115245319A/en
Publication of CN115245319A publication Critical patent/CN115245319A/en
Pending legal-status Critical Current

Links

Images

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
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7235Details of waveform analysis
    • A61B5/7253Details of waveform analysis characterised by using transforms
    • A61B5/7257Details of waveform analysis characterised by using transforms using Fourier transforms

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Medical Informatics (AREA)
  • Animal Behavior & Ethology (AREA)
  • Pathology (AREA)
  • Physiology (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Cardiology (AREA)
  • Molecular Biology (AREA)
  • Surgery (AREA)
  • Biophysics (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Mathematical Physics (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Psychiatry (AREA)
  • Signal Processing (AREA)
  • Measuring Pulse, Heart Rate, Blood Pressure Or Blood Flow (AREA)

Abstract

The application provides a heart rate detection method, a heart rate detection device, electronic equipment and a computer-readable storage medium, and the specific implementation scheme is as follows: acquiring a pulse wave signal of a target object at the current moment, which is acquired by a photoelectric detector, and performing Fourier transform on the pulse wave signal to obtain a pulse wave frequency domain signal; acquiring the step frequency of a target object at the current moment, and acquiring the historical heart rate value of the target object at the previous moment; determining a target heart rate search range aiming at the current moment according to the step frequency of the target object at the current moment and the historical heart rate value of the target object at the previous moment; according to the target heart rate searching range, finding out a target pulse wave frequency domain signal in a corresponding frequency band from the pulse wave frequency domain signals; and calculating the heart rate value of the target object at the current moment according to the target pulse wave frequency domain signal. The heart rate calculating method and the heart rate calculating device can avoid the influence of noise on heart rate extraction, and can improve the accuracy of heart rate calculation by reducing the heart rate searching range.

Description

Heart rate detection method and device, electronic equipment and computer readable storage medium
Technical Field
The present application relates to the field of physiological signal processing, and in particular, to a heart rate detection method, apparatus, electronic device, and computer-readable storage medium.
Background
Heart rate refers to the number of beats per minute of a human heart. In human parameter detection, heart rate is a very important physiological index, and provides a reference for medical diagnosis. Meanwhile, the heart rate is used as an objective evaluation index of the physiological load of human body movement, and is widely applied to various aspects of body-building sports and competitive sports training.
The photoplethysmography technique is based on an LED (Light Emitting Diode) Light source and a detector, measures attenuated Light reflected and absorbed by blood vessels and tissues of a human body, records the pulsation state of the blood vessels, and measures pulse waves, thereby acquiring heart rate information. The technology is widely applied to intelligent wearable equipment at present. However, a contact gap exists between the pulse wave acquisition equipment and the skin, so that the light path is changed in the process of violent movement, movement interference noise exists in the acquired signals, and the difficulty in calculating the physiological characteristics such as heart rate and the like by using the pulse waves is increased.
Disclosure of Invention
The application aims to provide a heart rate detection method, a heart rate detection device, electronic equipment and a computer-readable storage medium.
According to a first aspect of the application, there is provided a heart rate detection method comprising:
acquiring a pulse wave signal of a target object acquired by a photoelectric detector at the current moment, and performing Fourier transform on the pulse wave signal to acquire a pulse wave frequency domain signal;
acquiring the step frequency of the target object at the current moment, and acquiring the historical heart rate value of the target object at the previous moment;
determining a target heart rate search range aiming at the current moment according to the step frequency of the target object at the current moment and the historical heart rate value of the target object at the previous moment;
according to the target heart rate searching range, finding out a target pulse wave frequency domain signal in a corresponding frequency segment from the pulse wave frequency domain signals;
and calculating the heart rate value of the target object at the current moment according to the target pulse wave frequency domain signal.
In some embodiments of the present application, the obtaining the step frequency of the target object at the current time includes:
acquiring a triaxial acceleration signal of the target object at the current moment, which is acquired by an acceleration sensor;
calculating a corresponding resultant acceleration signal according to the three-axis acceleration signal;
acquiring the positions of all wave crests and the wave peak value of each wave crest in the combined acceleration signal;
and acquiring the step frequency of the target object at the current moment according to the positions of all the wave crests and the wave crest value of each wave crest.
In some embodiments of the present application, before the finding out the target pulse wave frequency domain signal in the corresponding frequency segment from the pulse wave frequency domain signals according to the target heart rate search range, the method further includes:
carrying out Fourier transform on the triaxial acceleration signal to obtain a triaxial acceleration frequency domain signal;
filtering the motion artifact in the pulse wave frequency domain signal according to the triaxial acceleration frequency domain signal to obtain a pulse wave frequency domain signal after the motion artifact is filtered;
wherein, according to the target heart rate search range, finding out the target pulse wave frequency domain signal in the corresponding frequency segment from the pulse wave frequency domain signals comprises:
and finding out a target pulse wave frequency domain signal in a corresponding frequency band from the pulse wave frequency domain signals after the motion artifact is filtered according to the target heart rate searching range.
In some embodiments of the present application, the filtering the motion artifact in the pulse wave frequency domain signal according to the triaxial acceleration frequency domain signal to obtain a pulse wave frequency domain signal after filtering the motion artifact, includes:
and inputting the triaxial acceleration frequency domain signal and the pulse wave frequency domain signal into a preset wiener filtering equation for filtering, and determining an output signal of the wiener filtering equation as the pulse wave frequency domain signal after motion artifact filtering.
In some embodiments of the present application, the determining a target heart rate search range for a current time according to a step frequency of the target subject at the current time and a historical heart rate value of the target subject at a previous time includes:
based on a first preset formula, determining a first intermediate coefficient according to the step frequency of the target object at the current moment and the historical heart rate value of the target object at the last moment;
based on a second preset formula, determining a second intermediate coefficient according to the step frequency of the target object at the current moment and the historical heart rate value of the target object at the last moment;
and determining a target heart rate search range aiming at the current moment according to the first intermediate coefficient, the second intermediate coefficient and the historical heart rate value of the target object at the last moment.
In some embodiments of the present application, the first preset formula is expressed as follows:
Figure BDA0003038437730000031
the second preset formula is expressed as follows:
Figure BDA0003038437730000041
wherein k is 1 Is the first intermediate coefficient; k is a radical of formula 2 Is the second intermediate coefficient; p is a radical of 0 ,p 1 ,p 2 ,p 3 ,p 4 ,p 5 ,p 6 ,p 7 Are respectively an optimization coefficient, and allIs a constant value; step i The step frequency of the target object at the current moment is obtained; h is i-1 The historical heart rate value of the target object at the last moment is obtained; e is a constant term of the exponential function.
Optionally, in some embodiments of the present application, before the obtaining of the stride frequency of the target object at the current time, the method further includes:
determining whether the current moment is the initial moment of the heart rate detection;
when the current time is the initial time of the heart rate detection, calculating the heart rate value of the target object at the initial time according to the pulse wave frequency domain signal;
and when the current moment is not the initial moment of the heart rate detection, executing the step of acquiring the step frequency of the target object at the current moment.
According to a second aspect of the present application, there is provided a heart rate detection apparatus comprising:
the first acquisition module is used for acquiring a pulse wave signal of a target object acquired by the photoelectric detector at the current moment, and performing Fourier transform on the pulse wave signal to acquire a pulse wave frequency domain signal;
the second acquisition module is used for acquiring the step frequency of the target object at the current moment;
the third acquisition module is used for acquiring a historical heart rate value of the target object at the last moment;
the determining module is used for determining a target heart rate searching range aiming at the current moment according to the step frequency of the target object at the current moment and the historical heart rate value of the target object at the last moment;
the fourth acquisition module is used for finding out a target pulse wave frequency domain signal in a corresponding frequency segment from the pulse wave frequency domain signals according to the target heart rate search range;
and the calculation module is used for calculating the heart rate value of the target object at the current moment according to the target pulse wave frequency domain signal.
Optionally, in some embodiments of the application, the second obtaining module is specifically configured to:
acquiring a triaxial acceleration signal of the target object at the current moment, which is acquired by an acceleration sensor;
calculating a corresponding resultant acceleration signal according to the three-axis acceleration signal;
acquiring the positions of all wave crests and the wave peak value of each wave crest in the combined acceleration signal;
and acquiring the step frequency of the target object at the current moment according to the positions of all the wave crests and the wave crest value of each wave crest.
Optionally, in some embodiments of the present application, the heart rate detecting device further includes:
the fifth acquisition module is used for carrying out Fourier transform on the triaxial acceleration signal to obtain a triaxial acceleration frequency domain signal;
a sixth obtaining module, configured to filter the motion artifact in the pulse wave frequency domain signal according to the triaxial acceleration frequency domain signal, and obtain a pulse wave frequency domain signal after the motion artifact is filtered;
in an embodiment of the present application, the sixth obtaining module is specifically configured to: and inputting the triaxial acceleration frequency domain signal and the pulse wave frequency domain signal into a preset wiener filtering equation for filtering, and determining an output signal of the wiener filtering equation as the pulse wave frequency domain signal after motion artifact filtering.
The fourth obtaining module is specifically configured to: and finding out a target pulse wave frequency domain signal in a corresponding frequency segment from the pulse wave frequency domain signals after the motion artifact is filtered according to the target heart rate search range.
Optionally, in some embodiments of the present application, the determining module is specifically configured to:
based on a first preset formula, determining a first intermediate coefficient according to the step frequency of the target object at the current moment and the historical heart rate value of the target object at the last moment;
based on a second preset formula, determining a second intermediate coefficient according to the step frequency of the target object at the current moment and the historical heart rate value of the target object at the previous moment;
and determining a target heart rate search range aiming at the current moment according to the first intermediate coefficient, the second intermediate coefficient and the historical heart rate value of the target object at the last moment.
In the embodiment of the present application, the first preset formula is expressed as follows:
Figure BDA0003038437730000061
the second preset formula is expressed as follows:
Figure BDA0003038437730000062
wherein k is 1 Is the first intermediate coefficient; k is a radical of 2 Is the second intermediate coefficient; p is a radical of formula 0 ,p 1 ,p 2 ,p 3 ,p 4 ,p 5 ,p 6 ,p 7 Respectively are optimization coefficients which are fixed values; step i The step frequency of the target object at the current moment is obtained; heart i-1 The historical heart rate value of the target object at the last moment is obtained; e is a constant term of the exponential function.
Optionally, in some embodiments of the present application, the heart rate detecting apparatus further includes:
the judging module is used for determining whether the current moment is the initial moment of the heart rate detection;
the calculating module is further configured to calculate a heart rate value of the target object at the initial time according to the pulse wave frequency domain signal when the current time is the initial time of the current heart rate detection;
the second obtaining module is further configured to execute the step of obtaining the stride frequency of the target object at the current time when the current time is not the initial time of the heart rate detection.
According to a third aspect of the present application, there is provided an electronic device comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the heart rate detection method according to the first aspect when executing the program.
According to a fourth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, implements the heart rate detection method of the first aspect described above.
According to the technical scheme of this application embodiment, the pulse wave signal of target object current moment that gathers through photoelectric detector obtains pulse wave frequency domain signal through Fourier transform, utilizes the step frequency of target object at the current moment that acquires and the historical heart rate value of last moment, and the target heart rate search range of dynamic adjustment current moment has avoided the influence that the noise was drawed to the heart rate, has reduced heart rate search range, has improved the accuracy that the heart rate calculated greatly. In addition, motion artifacts in the pulse wave frequency domain signals are filtered through the triaxial acceleration frequency domain signals, the influence of motion noise on heart rate extraction is further reduced, and the accuracy of heart rate calculation is improved.
It should be understood that the statements in this section are not intended to identify key or critical features of the embodiments of the present application, nor are they intended to limit the scope of the present application. Other features of the present application will become apparent from the following description.
Drawings
The above and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a graph of heart rate versus heart rate variability provided by an embodiment of the present disclosure;
fig. 2 is a flowchart of a heart rate detection method according to an embodiment of the present disclosure;
fig. 3 is a flowchart for determining a target heart rate search range for a current time according to an embodiment of the present application;
FIG. 4 is a flow chart of another heart rate detection method provided by an embodiment of the present application;
fig. 5 is a flowchart of another heart rate detection method provided in the embodiments of the present application;
fig. 6 is a block diagram of a heart rate detecting apparatus according to an embodiment of the present disclosure;
fig. 7 is a block diagram of another heart rate detecting device according to an embodiment of the present disclosure;
fig. 8 is a block diagram of a structure of another heart rate detecting device provided in the embodiment of the present application;
fig. 9 is a block diagram of an electronic device for a heart rate detection method according to an embodiment of the application.
Detailed Description
Reference will now be made in detail to the embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are illustrative and intended to explain the present application and should not be construed as limiting the present application.
The inventor finds that the exercise intensity can be reflected through the step frequency through the research on the step frequency and the heart rate, and further reflects the change trend of the heart rate. For example, during running, the frequency of steps increases, the running speed increases, the exercise becomes more strenuous, thereby causing the heart rate to rise to around the exercise heart rate, i.e., 130 to 200BPM, whereas if the frequency of steps decreases even to 0, the exercise or rest state occurs, and if the heart rate was previously in the exercise heart rate state, the heart rate falls to around the normal resting heart rate, i.e., 50 to 100BPM. Therefore, an increase in the step frequency indicates a more intense exercise, which causes the heart rate to increase, whereas a decrease in the step frequency indicates a decrease in the exercise intensity, which also causes the heart rate to decrease.
In addition, the change range of the heart rate of the human body in daily activities is basically maintained between 48 and 200BPM, and the literature indicates that the change curve of the exercise heart rate conforms to the change of a quadrilateral, namely, the process of a low heart rate interval, an ascending heart rate interval, a high heart rate interval, a descending heart rate interval and a low heart rate interval is met as shown in figure 1. In two stages of rising and falling, the heart rate variation amplitude is very big, and in high-low heart rate interval, the heart rate variation amplitude is very little, and because the change of heart rate has the continuity, so the inventor of this application has found the relation that exists between human current heart rate and the historical heart rate.
Based on above-mentioned discovery and the technical problem that exists at present, the application provides a method based on pulse wave signal, step frequency and historical heart rate value dynamic adjustment heart rate search range in order to detect the heart rate under motion state, through the search range who dwindles the heart rate, can avoid the influence that the noise was drawed to the heart rate to the accuracy of heart rate calculation has been improved greatly.
The heart rate detection method, apparatus, electronic device, and computer-readable storage medium according to the embodiments of the present application are described below with reference to the accompanying drawings.
Fig. 2 is a schematic flow chart of a heart rate detection method according to an embodiment of the present application. It should be noted that the heart rate detection method in the embodiment of the present application can be applied to the heart rate detection device in the embodiment of the present application. The heart rate detection device can be configured in an electronic device. As shown in fig. 2, the heart rate detection method may include the following steps.
In step 210, a pulse wave signal of the target object at the current time, which is acquired by the photodetector, is obtained, and fourier transform is performed on the pulse wave signal to obtain a pulse wave frequency domain signal.
It should be noted that the target object may be a human body that needs to perform heart rate detection, and the pulse wave signal at the current time may be a pulse wave signal acquired by a photoelectric detector within a certain current acquisition time period, where the length of the acquisition time period may be determined according to an actual situation, and is not limited in this embodiment of the application.
In the embodiment of the present application, the pulse wave signal acquired by the photodetector is a time domain signal, and needs to be converted into a frequency domain signal for subsequent signal processing. It is understood that a time domain signal is a change in signal strength with time and a frequency domain signal is a change in signal strength with frequency. The pulse wave frequency domain signal can be obtained by performing fourier transform on the pulse wave time domain signal acquired by the photoelectric detector. Wherein, the Fourier transform formula is shown as formula (1):
Figure BDA0003038437730000091
where F (t) is a function in the time domain and F (ω) is a function in the frequency domain, the fourier transform is an integration of the function in the time domain into a function in the frequency domain, forming a fourier transform pair. The pulse wave time domain signal in the embodiment of the present application can be transformed into a corresponding frequency domain signal by using the above formula (1).
It can be understood that, in the embodiment of the present application, the purpose of acquiring the pulse wave frequency domain signal is to detect the heart rate, since the normal heart rate range of the human body is 48 to 200BPM, and the corresponding frequency range is 0.8 to 3.3Hz, the obtained pulse wave frequency domain signal may be subjected to a band-pass filtering process to remove the interference noise outside the heart rate frequency range, where the band-pass filtering range may be 0.8 to 3.3Hz.
In step 220, the step frequency of the target object at the current time is obtained, and the historical heart rate value of the target object at the previous time is obtained.
In the embodiment of the present application, the step frequency of the target object at the current time may be understood as the frequency of the motion of the target object in the current acquisition time period, and the step frequency may be calculated by the three-axis acceleration signals of the target object at the current time acquired by the acceleration sensor. Specifically, the method may be obtained by: acquiring a triaxial acceleration signal of a target object acquired by an acceleration sensor at the current moment; calculating a corresponding resultant acceleration signal according to the triaxial acceleration signal; acquiring the positions of all wave crests and the wave peak value of each wave crest in the combined acceleration signal; and acquiring the step frequency of the target object at the current moment according to the positions of all the wave crests and the wave crest value of each wave crest. The step frequency of the target object at the current moment can be obtained according to the positions of all wave crests and the wave crest value of each wave crest by the following method: and comparing the wave peak value of the wave peak with a threshold, if the wave peak value is larger than the threshold, the wave peak can indicate that the target object correspondingly walks by one step, namely the step number is added by 1, and after all the wave peaks are counted, the step number of the target object in the acquisition time period can be obtained, so that the step frequency is obtained.
It should be noted that, in the embodiment of the present application, the acquisition of each signal is an acquisition in a continuous time, for example, if the signal acquisition time period T, the first signal acquisition time is T 0 Acquisition time period T 0 ~(T 0 + T) the signal in this time interval, the time of the second signal acquisition is (T) 0 + T), acquisition time period (T) 0 +t)~(T 0 +2 t) signals in this time period, and so on. And calculating according to the acquired signals to obtain heart rate values corresponding to the acquisition time points, and storing the heart rate values corresponding to the acquisition time points respectively. In this embodiment of the present application, the historical heart rate value of the target object at the previous time may be understood according to the above example, if the current time is T 1 Then the time for collecting the historical heart rate value at the previous moment is (T) 1 -T), according to the acquisition time period (T) at this time 1 -t)~T 1 Is calculated to obtain (T) 1 T) the heart rate value at this moment is the historical heart rate value at the last moment.
In step 230, a target heart rate search range for the current time is determined according to the step frequency of the target subject at the current time and the historical heart rate value of the target subject at the previous time.
In the embodiment of the present application, the target heart rate search range refers to a range of the heart rate value at the current time being calculated, and the range is converted into a frequency corresponding to the pulse wave frequency domain signal for calculating the heart rate. Therefore, the dynamic target heart rate searching range can be obtained by calculating the step frequency of the target object at the current moment and the historical heart rate value of the target object at the previous moment, and the heart rate searching range is dynamically adjusted, so that the heart rate calculation accuracy can be improved.
In some embodiments of the present application, a specific calculation manner of the target heart rate search range may be as shown in fig. 3, and the calculation steps are as follows:
step 310, based on a first preset formula, determining a first intermediate coefficient according to the step frequency of the target object at the current moment and the historical heart rate value of the target object at the previous moment.
In this step, the first preset formula is shown as formula (2):
Figure BDA0003038437730000111
wherein k is 1 Is the first intermediate coefficient; p is a radical of 0 ,p 1 ,p 2 ,p 3 Respectively are optimization coefficients which are fixed values; step i The step frequency of the target object at the current moment is taken as the step frequency; ear i-1 The historical heart rate value of the target object at the last moment is taken as the target object; e is a constant term of the exponential function. And 320, based on a second preset formula, determining a second intermediate coefficient according to the step frequency of the target object at the current moment and the historical heart rate value of the target object at the last moment.
In this step, the second preset formula is shown as formula (3):
Figure BDA0003038437730000112
wherein k is 2 Is the second intermediate coefficient; p is a radical of 4 ,p 5 ,p 6 ,p 7 Respectively are optimization coefficients which are fixed values; step i The step frequency of the target object at the current moment is taken as the step frequency; ear i-1 The historical heart rate value of the target object at the last moment is taken as the target object; e is a constant term of the exponential function.
Note that, in the examples of the present application, p 0 ,p 1 ,p 2 ,p 3 ,p 4 ,p 5 ,p 6 ,p 7 Are obtained in advance according to experiments, and the implementation mode can be as follows: adopt current medical heart rate measuring apparatu to measure actual heart rate value in advance, also use this application embodiment heart rate detection method to measure heart rate value simultaneously to regard this as heart rate measurement value, can be p when the experiment begins 0 ,p 1 ,p 2 ,p 3 ,p 4 ,p 5 ,p 6 ,p 7 Respectively set the initial valuesContinuously comparing the measured value of heart rate with the actual value of heart rate during experiment to obtain the value of p 0 ,p 1 ,p 2 ,p 3 ,p 4 ,p 5 ,p 6 ,p 7 Optimizing the magnitude of each coefficient until the difference between the measured value of the heart rate and the actual heart rate reaches a preset value, and finally obtaining p 0 ,p 1 ,p 2 ,p 3 ,p 4 ,p 5 ,p 6 ,p 7 As the optimization coefficients used in the methods described herein.
Step 330, determining a target heart rate search range for the current time according to the first intermediate coefficient, the second intermediate coefficient and the historical heart rate value of the target object at the previous time.
In this step, the target heart rate search range for the current time is as shown in formula (4):
Figure BDA0003038437730000121
wherein k is 1 Is a first intermediate coefficient; k is a radical of 2 Is a second intermediate coefficient; ear i-1 The historical heart rate value of the target object at the last moment is taken as the target object; NS is heart rate variation range, heart rate search window, and its size can be confirmed according to actual conditions, and this application does not limit this.
It should be noted that the first intermediate coefficient k 1 And a second intermediate coefficient k 2 Has a first intermediate coefficient k of 0 to 3 1 Negative correlation with step frequency, positive correlation with heart rate, and second intermediate coefficient k 2 Positive correlation with step frequency and negative correlation with heart rate.
In the embodiment of the present application, if the current time is the initial time of the heart rate detection, which is equivalent to the absence of the historical heart rate value at the previous time, in this case, the target heart rate search range at the initial time may be set as the global search by default, that is, the range is 48 to 200BPM.
In step 240, according to the target heart rate search range, the target pulse wave frequency domain signal in the corresponding frequency segment is found out from the pulse wave frequency domain signals.
It should be noted that the calculated target heart rate search range and the pulse wave frequency domain signal need to be converted into the same unit, where the target heart rate search range may be converted into a frequency range, the corresponding pulse wave frequency domain signal is intercepted according to the frequency range converted by the target heart rate search range, and a signal in the corresponding frequency range in the pulse wave frequency domain signal is taken as the target pulse wave frequency domain signal.
In step 250, a heart rate value of the target object at the current moment is calculated according to the target pulse wave frequency domain signal.
In the embodiment of the application, the peak position of the section of signal is obtained according to the obtained target pulse wave frequency domain signal, and the frequency corresponding to the position is the heart rate value of the target object at the current moment.
According to the heart rate detection method, based on the relationship between the heart rate and the step frequency and the historical heart rate value, the step frequency of the obtained target object at the current moment and the historical heart rate value at the previous moment are utilized, and the target heart rate search range at the current moment is dynamically adjusted, so that the search range of the heart rate is narrowed, and the accuracy of heart rate calculation is finally greatly improved.
Because the pulse wave signals acquired when the human body is in a motion state may have motion artifacts, interference is generated on the measurement of the heart rate, and the accuracy of the heart rate measurement is influenced, based on the problem, the other heart rate detection method provided by the application is provided. It should be noted that the heart rate detection method in the embodiment of the present application may be applied to the heart rate detection apparatus in the embodiment of the present application. The heart rate detection device can be configured in an electronic device. As shown in fig. 4, the heart rate detection method may include the steps of:
step 410, obtaining a pulse wave signal of the target object at the current moment, which is acquired by the photoelectric detector, and performing fourier transform on the pulse wave signal to obtain a pulse wave frequency domain signal.
And step 420, acquiring a triaxial acceleration signal of the target object acquired by the acceleration sensor at the current moment.
And 430, calculating a corresponding resultant acceleration signal according to the triaxial acceleration signal, and acquiring the positions of all wave crests and the wave peak value of each wave crest in the resultant acceleration signal.
And step 440, acquiring the step frequency of the target object at the current moment according to the positions of all wave crests and the wave crest value of each wave crest.
And step 450, acquiring the historical heart rate value of the target object at the previous moment, and determining the target heart rate search range aiming at the current moment according to the step frequency of the target object at the current moment and the historical heart rate value of the target object at the previous moment.
And 460, performing Fourier transform on the triaxial acceleration signal to obtain a triaxial acceleration frequency domain signal.
In the embodiment of the application, the triaxial acceleration signals are acquired by the acceleration sensor, the triaxial acceleration signals acquired by the acceleration sensor are time domain signals, and need to be subjected to fourier transform to be triaxial acceleration frequency domain signals, wherein the fourier transform formula is shown as formula (1).
And 470, filtering the motion artifact in the pulse wave frequency domain signal according to the triaxial acceleration frequency domain signal to obtain the pulse wave frequency domain signal after the motion artifact is filtered.
In the embodiment of the present application, the filtering of the motion artifact in the pulse wave frequency domain signal may be performed by wiener filtering, and the specific implementation manner is as follows: inputting the triaxial acceleration frequency domain signal and the pulse wave frequency domain signal into a preset wiener filtering equation, filtering motion artifacts in the pulse wave signal by using the triaxial acceleration frequency domain signal, and determining an output signal of the wiener filtering equation as the pulse wave frequency domain signal after filtering the motion artifacts.
And step 480, finding out a target pulse wave frequency domain signal in a corresponding frequency segment from the pulse wave frequency domain signals after filtering the motion artifact according to the target heart rate search range.
And step 490, calculating the heart rate value of the target object at the current moment according to the target pulse wave frequency domain signal.
In the embodiment of the application, the peak position of the segment of signal is obtained according to the obtained target pulse wave frequency domain signal, and the frequency corresponding to the position is the heart rate value of the target object at the current moment.
According to the heart rate detection method, the three-axis acceleration frequency domain signals and the pulse wave frequency domain signals are input into the preset wiener filtering equation, the motion artifacts in the pulse wave signals are filtered by the three-axis acceleration frequency domain signals, the clean pulse wave frequency domain signals after the motion artifacts are filtered are output, noise interference of motion to the pulse wave signals is further avoided, and therefore the heart rate calculation is performed by the clean pulse wave frequency domain signals after the motion artifacts are filtered, and the accuracy of heart rate calculation can be further improved.
It should be noted that, in the embodiment of the present application, if the current time is an initial time of heart rate detection, the heart rate detection may use a default global frequency range directly without calculating a target heart rate search range, so that it is not necessary to obtain a step frequency of a target object at the current time and a historical heart rate value at a previous time, and in order to improve detection efficiency, the present application provides another heart rate detection method. It should be noted that the heart rate detection method in the embodiment of the present application may be applied to the heart rate detection apparatus in the embodiment of the present application. The heart rate detection device can be configured in an electronic device. As shown in fig. 5, the heart rate detection method may include the steps of:
step 501, acquiring a pulse wave signal of a target object at the current moment, which is acquired by a photoelectric detector, and performing fourier transform on the pulse wave signal to acquire a pulse wave frequency domain signal.
Step 502, judging whether the current time is the initial time of the heart rate detection.
In this application embodiment, whether the current moment is the initial moment of this heart rate detection can be judged according to whether there is heart rate data that this heart rate detection has detected at present, if there is heart rate data that has detected then not this heart rate detection's initial moment, if there is heart rate data that has detected then this heart rate detection's initial moment.
After the step 502 is executed, if the current time is the initial time of the current heart rate detection, the step 511 is executed, that is, the heart rate value of the target object at the current time is calculated according to the acquired pulse wave frequency domain signal.
In the embodiment of the present application, if the current time is the initial time of the current heart rate detection, the peak position of the signal is directly obtained according to the obtained pulse wave frequency domain signal, and the frequency corresponding to the position is the heart rate value of the target object at the initial time.
After the step 502 is executed, if the current time is not the initial time of the current heart rate detection, the steps 503 to 510 are executed in sequence, and the heart rate value corresponding to the target object at the current time is calculated. It should be noted that, in the embodiment of the present application, the implementation manners of steps 503 to 510 are the same as the implementation manners of steps 420 to 490, and are not described herein again.
According to the heart rate detection method provided by the embodiment of the application, whether the current moment is the initial moment of the heart rate detection can be judged, if yes, the heart rate value of the target object at the current moment is directly calculated according to the acquired pulse wave frequency domain signal, so that execution of unnecessary intermediate steps can be omitted, the heart rate detection flow is simplified, the calculation efficiency of the heart rate at the initial moment is improved, and the applicability of the heart rate detection method is improved.
In order to realize the embodiment, the application further provides a heart rate detection device.
Fig. 6 is a block diagram of a structure of a heart rate detection apparatus according to an embodiment of the present application. As shown in fig. 6, the heart rate detecting apparatus includes a first obtaining module 610, a second obtaining module 620, a third obtaining module 630, a fourth obtaining module 640, a determining module 650, and a calculating module 660.
Specifically, the first obtaining module 610 is configured to obtain a pulse wave signal of the target object at the current time, which is acquired by the photodetector, and perform fourier transform on the pulse wave signal to obtain a pulse wave frequency domain signal;
a second obtaining module 620, configured to obtain a stride frequency of the target object at the current time;
a third obtaining module 630, configured to obtain a historical heart rate value of the target object at a previous time;
the determining module 650 is configured to determine a target heart rate search range for a current time according to a step frequency of the target object at the current time and a historical heart rate value of the target object at a previous time;
the fourth obtaining module 640 is configured to find a target pulse wave frequency domain signal in a corresponding frequency segment from the pulse wave frequency domain signals according to the target heart rate search range;
the calculating module 660 is configured to calculate a heart rate value of the target object at the current moment according to the target pulse wave frequency domain signal.
Optionally, in some embodiments of the present application, the second obtaining module 620 is specifically configured to:
acquiring a triaxial acceleration signal of a target object acquired by an acceleration sensor at the current moment;
calculating a corresponding resultant acceleration signal according to the triaxial acceleration signal;
acquiring the positions of all wave crests and the wave peak value of each wave crest in the combined acceleration signal;
and acquiring the step frequency of the target object at the current moment according to the positions of all the wave crests and the wave crest value of each wave crest.
Optionally, in some embodiments of the present application, the determining module 650 is specifically configured to:
based on a first preset formula, determining a first intermediate coefficient according to the step frequency of the target object at the current moment and the historical heart rate value of the target object at the previous moment;
based on a second preset formula, determining a second intermediate coefficient according to the step frequency of the target object at the current moment and the historical heart rate value of the target object at the last moment;
and determining a target heart rate search range aiming at the current moment according to the first intermediate coefficient, the second intermediate coefficient and the historical heart rate value of the target object at the last moment.
In the embodiment of the present application, the first preset formula is expressed as follows:
Figure BDA0003038437730000171
the second preset formula is expressed as follows:
Figure BDA0003038437730000172
wherein k is 1 Is a first intermediate coefficient; k is a radical of formula 2 Is a second intermediate coefficient; p is a radical of 0 ,p 1 ,p 2 ,p 3 ,p 4 ,p 5 ,p 6 ,p 7 Respectively are optimization coefficients which are fixed values; step (c) i The step frequency of the target object at the current moment is obtained; ear i-1 The historical heart rate value of the target object at the last moment is taken as the target object; e is a constant term of the exponential function.
Optionally, in some embodiments of the present application, as shown in fig. 7, the heart rate detecting device further includes:
the fifth obtaining module 770 is configured to perform fourier transform on the three-axis acceleration signal to obtain a three-axis acceleration frequency domain signal;
the sixth obtaining module 780 is configured to filter the motion artifact in the pulse wave frequency domain signal according to the triaxial acceleration frequency domain signal, and obtain the pulse wave frequency domain signal after filtering the motion artifact.
In this embodiment, the sixth obtaining module 780 is specifically configured to: inputting the triaxial acceleration frequency domain signal and the pulse wave frequency domain signal into a preset wiener filtering equation for filtering, and determining the output signal of the wiener filtering equation as the pulse wave frequency domain signal after motion artifact filtering.
In this embodiment of the application, the fourth obtaining module 740 is specifically configured to: and finding out a target pulse wave frequency domain signal in a corresponding frequency band from the pulse wave frequency domain signals after filtering the motion artifact according to the target heart rate search range.
710 to 730 in fig. 7 and 610 to 630 in fig. 6 have the same functions and structures, and 750 to 760 in fig. 7 and 650 to 660 in fig. 6 have the same functions and structures.
On the basis of the above embodiment, as shown in fig. 8, the heart rate detecting device further includes:
and the judging module 890 is configured to judge whether the current time is the initial time of the heart rate detection.
In this embodiment of the application, the calculating module 860 is further configured to calculate a heart rate value of the target object at an initial time according to the pulse wave frequency domain signal when the current time is the initial time of the current heart rate detection. The second obtaining module 820 is further configured to, when the current time is not the initial time of the heart rate detection, perform a step of obtaining the step frequency of the target object at the current time.
If the current moment is the initial moment of the heart rate detection, calculating the heart rate value of the target object at the initial moment according to the pulse wave frequency domain signal; and if the current moment is not the initial moment of the heart rate detection, executing the step frequency of the target object at the current moment.
810 to 880 in fig. 8 and 710 to 780 in fig. 7 have the same functions and structures.
With regard to the apparatus in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be described in detail here.
According to the heart rate detection device in the embodiment of the application, the pulse wave signals of the target object at the current moment acquired by the photoelectric detector are subjected to Fourier transform to obtain pulse wave frequency domain signals, the acquired step frequency of the target object at the current moment and the historical heart rate value at the last moment are utilized, the target heart rate search range at the current moment is dynamically adjusted, the influence of noise on heart rate extraction is avoided, the heart rate search range is reduced, and the accuracy of heart rate calculation is greatly improved. In addition, motion artifacts in the pulse wave frequency domain signals are filtered through the triaxial acceleration frequency domain signals, the influence of motion noise on heart rate extraction is further reduced, and the accuracy of heart rate calculation is improved.
According to an embodiment of the present application, an electronic device and a computer-readable storage medium are also provided.
Fig. 9 is a block diagram of an electronic device for implementing heart rate detection according to an embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic devices may also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the applications described and/or claimed herein.
As shown in fig. 9, the electronic apparatus includes: a memory 910, a processor 920, and a computer program 930 stored on the memory and executable on the processor. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, if desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system).
The memory 910 is a non-transitory computer readable storage medium provided herein. The memory stores instructions executable by the at least one processor to cause the at least one processor to perform the heart rate detection methods provided herein. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to perform the heart rate detection method provided herein.
The memory 910, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the heart rate detection method in the embodiments of the present application (for example, the first obtaining module 610, the second obtaining module 620, the third obtaining module 630, the fourth obtaining module 640, the determining module 650, and the calculating module 660 shown in fig. 6). The processor 920 executes various functional applications of the server and data processing by running non-transitory software programs, instructions and modules stored in the memory 920, namely, implementing the heart rate detection method in the above method embodiment.
The memory 910 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of an electronic device to implement the heart rate detection method, and the like. Further, the memory 910 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 910 may optionally include memory located remotely from the processor 920, which may be connected via a network to an electronic device to implement the heart rate detection method. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device to implement the heart rate detection method may further include: an input device 940 and an output device 950. The processor 920, the memory 910, the input device 940, and the output device 950 may be connected by a bus or other means, and fig. 9 illustrates the connection by a bus as an example.
The input device 940 may receive input numeric or character information and generate key signal inputs related to user settings and function control of an electronic apparatus to implement the heart rate detection method, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointing stick, one or more mouse buttons, a track ball, a joystick, or other input devices. The output devices 950 may include a display device, an auxiliary lighting device (e.g., an LED), a haptic feedback device (e.g., a vibration motor), and the like. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Moreover, various embodiments or examples and features of various embodiments or examples described in this specification can be combined and combined by one skilled in the art without being mutually inconsistent.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless explicitly specified otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. While embodiments of the present application have been shown and described above, it will be understood that the above embodiments are exemplary and should not be construed as limiting the present application and that changes, modifications, substitutions and alterations in the above embodiments may be made by those of ordinary skill in the art within the scope of the present application.

Claims (10)

1. A method of heart rate detection, comprising:
acquiring a pulse wave signal of a target object acquired by a photoelectric detector at the current moment, and performing Fourier transform on the pulse wave signal to acquire a pulse wave frequency domain signal;
acquiring the step frequency of the target object at the current moment, and acquiring the historical heart rate value of the target object at the previous moment;
determining a target heart rate search range aiming at the current moment according to the step frequency of the target object at the current moment and the historical heart rate value of the target object at the previous moment;
according to the target heart rate searching range, finding out a target pulse wave frequency domain signal in a corresponding frequency segment from the pulse wave frequency domain signals;
and calculating the heart rate value of the target object at the current moment according to the target pulse wave frequency domain signal.
2. The method of claim 1, wherein the obtaining the stride frequency of the target object at the current time comprises:
acquiring a triaxial acceleration signal of the target object at the current moment, which is acquired by an acceleration sensor;
calculating a corresponding resultant acceleration signal according to the three-axis acceleration signal;
acquiring the positions of all wave crests and the wave peak value of each wave crest in the combined acceleration signal;
and acquiring the step frequency of the target object at the current moment according to the positions of all the wave crests and the wave crest value of each wave crest.
3. The method according to claim 2, wherein before the finding of the target pulse wave frequency domain signal within the corresponding frequency segment from the pulse wave frequency domain signals according to the target heart rate search range, the method further comprises:
carrying out Fourier transform on the triaxial acceleration signal to obtain a triaxial acceleration frequency domain signal;
filtering the motion artifact in the pulse wave frequency domain signal according to the triaxial acceleration frequency domain signal to obtain a pulse wave frequency domain signal after the motion artifact is filtered;
wherein, according to the target heart rate search range, finding out the target pulse wave frequency domain signal in the corresponding frequency segment from the pulse wave frequency domain signals comprises:
and finding out a target pulse wave frequency domain signal in a corresponding frequency segment from the pulse wave frequency domain signals after the motion artifact is filtered according to the target heart rate search range.
4. The method of claim 3, wherein the filtering the motion artifact in the pulse wave frequency domain signal according to the triaxial acceleration frequency domain signal to obtain a filtered motion artifact pulse wave frequency domain signal comprises:
and inputting the triaxial acceleration frequency domain signal and the pulse wave frequency domain signal into a preset wiener filtering equation for filtering, and determining an output signal of the wiener filtering equation as the pulse wave frequency domain signal after motion artifact filtering.
5. The method of claim 1, wherein determining the target heart rate search range for the current time according to the step frequency of the target subject at the current time and the historical heart rate value of the target subject at the previous time comprises:
based on a first preset formula, determining a first intermediate coefficient according to the step frequency of the target object at the current moment and the historical heart rate value of the target object at the last moment;
based on a second preset formula, determining a second intermediate coefficient according to the step frequency of the target object at the current moment and the historical heart rate value of the target object at the last moment;
and determining a target heart rate search range aiming at the current moment according to the first intermediate coefficient, the second intermediate coefficient and the historical heart rate value of the target object at the last moment.
6. The method according to claim 5, wherein the first preset formula is expressed as follows:
Figure FDA0003038437720000031
the second preset formula is expressed as follows:
Figure FDA0003038437720000032
wherein k is 1 Is the first intermediate coefficient; k is a radical of 2 Is the second intermediate coefficient; p is a radical of 0 ,p 1 ,p 2 ,p 3 ,p 4 ,p 5 ,p 6 ,p 7 Respectively are optimization coefficients which are fixed values; step i The step frequency of the target object at the current moment is obtained; heart i-1 Historical heart rate values of the target object at the last moment; e is a constant term of the exponential function.
7. The method according to any one of claims 1 to 6, wherein prior to said obtaining the step frequency of the target object at the current time, the method further comprises:
determining whether the current moment is the initial moment of the heart rate detection;
when the current moment is the initial moment of the heart rate detection, calculating the heart rate value of the target object at the initial moment according to the pulse wave frequency domain signal;
and when the current moment is not the initial moment of the heart rate detection, executing the step of acquiring the step frequency of the target object at the current moment.
8. A heart rate detection device, comprising:
the first acquisition module is used for acquiring a pulse wave signal of a target object acquired by the photoelectric detector at the current moment, and performing Fourier transform on the pulse wave signal to acquire a pulse wave frequency domain signal;
the second acquisition module is used for acquiring the step frequency of the target object at the current moment;
the third acquisition module is used for acquiring a historical heart rate value of the target object at the last moment;
the determining module is used for determining a target heart rate searching range aiming at the current moment according to the step frequency of the target object at the current moment and the historical heart rate value of the target object at the last moment;
a fourth obtaining module, configured to find a target pulse wave frequency domain signal in a corresponding frequency segment from the pulse wave frequency domain signals according to the target heart rate search range;
and the calculation module is used for calculating the heart rate value of the target object at the current moment according to the target pulse wave frequency domain signal.
9. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, when executing the program, implementing a heart rate detection method as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out a heart rate detection method according to any one of claims 1 to 7.
CN202110450308.6A 2021-04-25 2021-04-25 Heart rate detection method and device, electronic equipment and computer readable storage medium Pending CN115245319A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110450308.6A CN115245319A (en) 2021-04-25 2021-04-25 Heart rate detection method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110450308.6A CN115245319A (en) 2021-04-25 2021-04-25 Heart rate detection method and device, electronic equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN115245319A true CN115245319A (en) 2022-10-28

Family

ID=83695927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110450308.6A Pending CN115245319A (en) 2021-04-25 2021-04-25 Heart rate detection method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN115245319A (en)

Similar Documents

Publication Publication Date Title
CN109222949B (en) Heart rate detection method and heart rate detection device
CN103561661B (en) Ultrasonic image processor and program
US10973423B2 (en) Determining health markers using portable devices
WO2017199597A1 (en) Bioinformation processing device, bioinformation processing method, and information processing device
KR101849263B1 (en) Robust Heart Rate Estimation
CN108992054B (en) Pulse signal peak point detection method and device
JP6933220B2 (en) Biometric information processing device, biometric information processing method and information processing device
Rhudy et al. A comprehensive comparison of simple step counting techniques using wrist-and ankle-mounted accelerometer and gyroscope signals
KR100755236B1 (en) Implementation of bio-information detecting system
US8456229B2 (en) Filter device
US20190175037A1 (en) Motion detection and cancellation using ambient light
TWI609671B (en) Signal detection method
CN104095640A (en) Oxyhemoglobin saturation detecting method and device
KR20180109903A (en) Method and apparatus for detecting living tissue using signal analysis
CN106725415A (en) The treating method and apparatus of electricity physiological signal
CN110301907A (en) A kind of wearable pulse wave detection device and blood pressure detecting method
JP7468201B2 (en) Apparatus, method and system for detecting biological activity
JP5998516B2 (en) Pulsation detection device, electronic device and program
Lin et al. A characteristic filtering method for pulse wave signal quality assessment
JP6704281B2 (en) Blood pressure estimation device, blood pressure estimation method, blood pressure estimation program, and recording medium
CN115245319A (en) Heart rate detection method and device, electronic equipment and computer readable storage medium
CN106028919B (en) Blood vessel index value calculation apparatus and blood vessel index value calculating method
CN107405086A (en) Determine device, assay method and program
JP2013208311A (en) Pulsation detector, electronic equipment, and program
JP2010213809A (en) Biological signal analyzer

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