CN110916637A - Heart rate measuring method and device, electronic equipment and storage medium - Google Patents

Heart rate measuring method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110916637A
CN110916637A CN201911230090.2A CN201911230090A CN110916637A CN 110916637 A CN110916637 A CN 110916637A CN 201911230090 A CN201911230090 A CN 201911230090A CN 110916637 A CN110916637 A CN 110916637A
Authority
CN
China
Prior art keywords
heart rate
user
real
value
time
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
CN201911230090.2A
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.)
Tsinghua University
Beijing Mininglamp Software System Co ltd
Original Assignee
Tsinghua University
Beijing Mininglamp Software System Co 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 Tsinghua University, Beijing Mininglamp Software System Co ltd filed Critical Tsinghua University
Priority to CN201911230090.2A priority Critical patent/CN110916637A/en
Publication of CN110916637A publication Critical patent/CN110916637A/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/7203Signal processing specially adapted for physiological signals or for diagnostic purposes for noise prevention, reduction or removal
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/74Details of notification to user or communication with user or patient ; user input means
    • A61B5/746Alarms related to a physiological condition, e.g. details of setting alarm thresholds or avoiding false alarms

Landscapes

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

Abstract

The heart rate measuring method, the heart rate measuring device, the electronic equipment and the storage medium provided by the embodiment of the application compare the real-time heart rate with the normal heart rate of a user when noise interference exists, judge whether the difference value exceeds a first preset range value or not, judge whether the real-time heart rate of the user is abnormal or not, and measure the heart rate of the user when the noise interference exists. The method can avoid the false alarm phenomenon caused by the short-time increase of the heart rate of the user due to the influence of noise, and improve the accuracy of the heart rate measurement result.

Description

Heart rate measuring method and device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of wearable equipment, in particular to a heart rate measuring method, a heart rate measuring device, electronic equipment and a storage medium.
Background
Heart rate, an important indicator of heart health, has irreplaceable effects in clinical medicine.
Currently, wearable devices that measure heart rate typically compare the measured heart rate with a set threshold range, and if the heart rate is not within the threshold range, send an alarm signal to alert the user. However, the human heart rate is usually disturbed by the environment, especially by noise, and has great instability. Therefore, the current heart rate measuring and alarming device cannot eliminate the influence of the environment, so that errors can occur in the measuring result, the accuracy is not high, and the phenomenon of false alarm exists.
Disclosure of Invention
In view of the above, an object of the present application is to provide a heart rate measuring method, apparatus, electronic device and storage medium, so as to improve accuracy of heart rate measurement results.
In a first aspect, an embodiment provides a heart rate measurement method applied to an electronic device, where the method includes:
acquiring a real-time heart rate of a user;
acquiring the decibel of the environmental sound in real time, and judging whether noise interference exists at present according to the decibel of the current environmental sound;
when there is noise interference at present, will real-time rhythm of the heart with the user's that prestores in the electronic equipment normal rhythm of the heart is compared, judges whether the difference of the user's real-time rhythm of the heart when there is noise interference and user's normal rhythm of the heart exceeds first preset range value, if exceed first preset range value, then judges that the rhythm of the heart exists unusually, sends alarm information.
In an alternative embodiment, the method further comprises:
when no noise interference exists at present, the real-time heart rate is compared with the normal heart rate of the user prestored in the electronic equipment, whether the difference value between the real-time heart rate of the user when no noise interference exists and the normal heart rate of the user exceeds a second preset range value or not is judged, if the difference value exceeds the second preset range value, the heart rate is judged to be abnormal, and alarm information is sent.
In an alternative embodiment, the method further comprises:
when noise interference does not exist at present and the difference value between the real-time heart rate and the normal heart rate of the user exceeds a second preset range value, storing the heart rate to the electronic equipment;
and judging whether the duration of the real-time heart rate exceeds a first preset value or whether the repetition frequency of the real-time heart rate exceeds a second preset value, and if the duration exceeds the first preset value or the repetition frequency exceeds the second preset value, sending alarm information.
In an optional embodiment, the determining whether there is noise interference currently according to the decibel of the current environmental sound includes:
and judging whether the decibel of the environmental sound acquired in real time exceeds a third preset value, if so, judging that the noise interference exists currently, and if not, judging that the noise interference does not exist currently.
In an optional embodiment, the method further comprises a step of obtaining the first preset range value, which includes:
acquiring environmental sounds of different decibels and heart rate values corresponding to the different decibels;
and comparing the heart rate values corresponding to different decibels with the normal heart rate value of the user, calculating the difference value between the heart rate value corresponding to different decibels and the normal heart rate value of the user, and acquiring the first preset range value according to the obtained plurality of difference values.
In an alternative embodiment, acquiring a real-time heart rate of a user comprises:
acquiring electrocardiosignals of a user in real time;
amplifying the electrocardiosignals through an acceleration sensor;
and calculating the real-time heart rate of the user according to the amplified electrocardiosignals.
In a second aspect, an embodiment provides a heart rate measuring apparatus applied to an electronic device, the apparatus including:
the heart rate acquisition module is used for acquiring the real-time heart rate of a user;
the noise judgment module is used for acquiring the decibel of the environmental sound in real time and judging whether the noise interference exists at present according to the decibel of the current environmental sound;
the first processing module is used for comparing the real-time heart rate with the normal heart rate of the user prestored in the electronic equipment when the noise interference exists at present, judging whether the difference value between the real-time heart rate of the user and the normal heart rate of the user when the noise interference exists exceeds a first preset range value or not, judging that the heart rate is abnormal if the difference value exceeds the first preset range value, and sending alarm information.
In an alternative embodiment, the apparatus further comprises:
and the second processing module is used for comparing the real-time heart rate with the normal heart rate of the user prestored in the electronic equipment when no noise interference exists at present, judging whether the difference value between the real-time heart rate of the user when no noise interference exists and the normal heart rate of the user exceeds a second preset range value, judging that the heart rate is abnormal if the difference value exceeds the second preset range value, and sending alarm information.
In a third aspect, an embodiment provides an electronic device, including a processor and a non-volatile memory storing computer instructions, where the computer instructions, when executed by the processor, cause the electronic device to perform the heart rate measurement method according to any one of the foregoing embodiments.
In a fourth aspect, embodiments provide a storage medium having a computer program stored therein, the computer program, when executed, implementing the heart rate measurement method according to any one of the preceding embodiments.
The heart rate measuring method, the heart rate measuring device, the electronic equipment and the storage medium provided by the embodiment of the application compare the real-time heart rate with the normal heart rate of a user when noise interference exists, judge whether the difference value exceeds a first preset range value or not, judge whether the real-time heart rate of the user is abnormal or not, and measure the heart rate of the user when the noise interference exists. The method can avoid the false alarm phenomenon caused by the short-time increase of the heart rate of the user due to the influence of noise, and improve the accuracy of the heart rate measurement result.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 2 is a flowchart of a heart rate measurement method applied to the electronic device in fig. 1 according to an embodiment of the present disclosure;
fig. 3 is a second flowchart of a heart rate measurement method applied to the electronic device of fig. 1 according to an embodiment of the present disclosure;
fig. 4 is a third flowchart of a heart rate measurement method applied to the electronic device of fig. 1 according to an embodiment of the present application;
fig. 5 is a flowchart illustrating sub-steps of step S230 in fig. 2 according to an embodiment of the present disclosure;
FIG. 6 is a flowchart illustrating sub-steps of obtaining a first predetermined range value according to an embodiment of the present disclosure;
fig. 7 is a functional block diagram of a heart rate measuring device according to an embodiment of the present application.
Description of the main element symbols: 100-an electronic device; 110-heart rate measuring device; 120-a memory; 130-a processor; 1101-a heart rate acquisition module; 1102-a noise judgment module; 1103 — a first processing module; 1104-a second processing module.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device 100 according to an embodiment of the present disclosure, where the electronic device 100 includes a processor 130, a memory 120, and a heart rate measuring device 110, and the memory 120 and the processor 130 are electrically connected to each other directly or indirectly to implement data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The heart rate measuring device 110 includes at least one software functional module which can be stored in the memory 120 in the form of software or firmware (firmware) or solidified in an Operating System (OS) of the electronic device 100. The processor 130 is used to execute executable modules stored in the memory 120, such as software functional modules and computer programs included in the heart rate measuring device 110. The electronic device 100 may be, but is not limited to, a wearable device, a smartphone, a tablet, a personal digital assistant, and the like.
The Memory 120 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 120 is used for storing a program, and the processor 130 executes the program after receiving the execution instruction.
The processor 130 may be an integrated circuit chip having signal processing capabilities. The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Referring to fig. 2, fig. 2 is a flowchart illustrating a heart rate measuring method applied to the electronic device 100 in fig. 1 according to an embodiment of the disclosure. The method comprises the following steps:
step S210, acquiring a real-time heart rate of the user.
Step S220, obtain decibels of the environmental sound in real time.
Step S230, determining whether there is noise interference currently according to the decibel of the current environmental sound.
Step S240, when noise interference exists at present, comparing the real-time heart rate with a normal heart rate of a user prestored in the electronic equipment, judging whether the difference value exceeds a first preset range value, if so, judging that the heart rate is abnormal, and sending alarm information.
Optionally, in this embodiment, the electronic device 100 includes an electrocardiographic signal acquisition unit, a sound collection unit, and a vibration alarm unit. The electrocardiosignal acquisition unit is used for acquiring the heart rate of a user in real time, the sound acquisition unit is used for acquiring the decibel of sound in real time, and the vibration alarm unit is used for sending vibration to remind the user when the heart rate is abnormal.
At present, wearable equipment for measuring heart rate monitors the heart rate of a user through a heart rate monitor, a processor compares a heart rate parameter of the user with a numerical value in a relevant database, and if the parameter exceeds or is lower than a certain threshold value, the processor sends out an alarm signal to warn the user.
In particular, the elderly are the group with the highest prevalence rate of heart system diseases, the heart rate of the elderly is obviously different from that of the normal people, meanwhile, due to the physical function, the heart rate of the elderly is more easily interfered by the environment (such as noise), and a heart rate measuring device with higher stability is needed.
In the embodiment of the application, firstly, the heart rate of the user is acquired in real time through the electrocardiosignal acquisition unit, and the decibel of the sound is acquired in real time through the sound acquisition unit so as to judge whether the current environment has noise interference. If noise interference exists, the current heart rate of the user is probably raised temporarily due to noise, but the heart rate of the user is not abnormal, so that the heart rate value when the noise interference exists needs to be separately judged, whether the difference value between the heart rate when the noise interference exists and the normal heart rate value of the user exceeds a first preset range value or not is judged, if yes, the heart rate of the user is abnormal, and the user is alarmed through a vibration alarm unit. The false alarm phenomenon caused by the transient increase of the heart rate of the user (especially the old) due to the influence of noise can be avoided, and the accuracy of the heart rate measurement result is improved.
Optionally, referring to fig. 3, fig. 3 is a second flowchart of a heart rate measuring method applied to the electronic device 100 of fig. 1 according to an embodiment of the present disclosure. The method further comprises the following steps:
and S250, when no noise interference exists at present, comparing the real-time heart rate with the normal heart rate of the user prestored in the electronic equipment, judging whether the difference value exceeds a second preset range value, if so, judging that the heart rate is abnormal, and sending alarm information.
In this embodiment, when there is not noise interference, compare user's real-time rhythm of the heart with normal rhythm of the heart, if the difference exceeds second preset range value, then judge that user's rhythm of the heart exists unusually, report to the police through vibrations alarm unit.
In this embodiment, no matter whether there is the interference of noise, all need compare user's real-time rhythm of the heart with normal rhythm of the heart, calculate the difference of real-time rhythm of the heart and normal rhythm of the heart to whether there is noise interference to compare the difference respectively with first preset range value or second preset range value, thereby judge whether user's rhythm of the heart exists unusually. When noise interference exists, if the heart rate of the user suddenly increases, the normal phenomenon can be understood, and therefore the first preset range value should be larger than the second preset range value. For example, the normal heart rate range for the elderly is 55 to 65 beats per minute, but the heart rate range for each individual is different, so the range can be adjusted appropriately, for example, when the heart rate range is 50 beats per minute and 70 beats per minute, the heart rate can be considered to be normal, i.e., the second preset range is 0-5. When no noise interference is present, the difference between the heart rate range and the normal heart rate range should be in the range of 0-5, i.e. 50-70 per minute, which can be considered as a normal heart rate value.
When noise interference is present, the heart rate of the user may increase or decrease, for example up to 75 times per minute, but this is mainly due to an increase in heart rate caused by ambient noise and does not indicate that there is an abnormality in the heart rate of the user. Therefore, the first preset range at this time may be 0-10, and when there is noise interference, the difference between the real-time heart rate of the user and the normal heart rate should be 0-10, i.e. 45-75 times per minute, the heart rate may be regarded as the normal heart rate value, and the vibration alarm unit is not required to be started.
It is understood that the normal heart rate provided by the embodiments of the present application may be in the range of the normal heart rate of the elderly (55-65 beats per minute) or the normal heart rate of the younger (60-100 beats per minute). In this embodiment, a normal heart rate may be customized for the user according to the age of the user, and a first preset range value or a second preset range value may be defined based on the normal heart rate. After the normal heart rate of the electronic device 100 is defined, for example, as the heart rate range of the elderly, the electronic device 100 is only suitable for measuring the heart rate of the elderly and alarming, and if the heart rate of the younger needs to be measured, the normal heart rate needs to be redefined.
Optionally, referring to fig. 4, fig. 4 is a third flowchart of a heart rate measuring method applied to the electronic device 100 of fig. 1 according to an embodiment of the present disclosure. The method further comprises the following steps:
step S310, when no noise interference exists and the difference value between the real-time heart rate and the normal heart rate of the user exceeds a second preset range value, the heart rate is stored in the electronic equipment.
Step S320, judging whether the duration of the real-time heart rate exceeds a first preset value or whether the repetition frequency of the real-time heart rate exceeds a second preset value, and if so, sending alarm information.
The human heart is a very complex structure, even in the absence of noise interference, the user's heart rate may suddenly increase and decrease, but if the duration of the real-time heart rate is short or the occurrence frequency is small, the real-time heart rate may be considered as a normal heart rate, and the vibration alarm unit does not need to be activated.
For example, the normal heart rate of the elderly is 55-65 times per minute, and when there is no noise interference, if the real-time heart rate of the user is between 50-70 times, i.e. not exceeding the second preset range (0-5), it can be considered as a normal heart rate, and no alarm is needed. When the heart rate of the user is under the condition of no noise interference and the difference value between the real-time heart rate and the normal heart rate exceeds a second preset range (0-5), for example, 75 times per minute, at this time, whether the duration of the real-time heart rate (75 times per minute) exceeds a first preset value (for example, 3 minutes) or whether the repetition number exceeds a second preset value (for example, 3 times) needs to be continuously monitored, if the duration of the real-time heart rate exceeds the first preset value (for example, three minutes) or the repetition number meets the second preset value (for example, 3 times), it is determined that the heart rate is abnormal, and the measurement result is displayed on the electronic device and alarm information is sent.
Optionally, in this embodiment, the electronic device 100 may further include a display screen, configured to display data of the real-time heart rate of the user and the time when the abnormal heart rate occurs, which are measured by the electronic device 100.
Optionally, referring to fig. 5, fig. 5 is a flowchart illustrating sub-steps of step S230 in fig. 2 according to an embodiment of the present disclosure. Step S230 includes:
and a substep S2301 of determining whether the decibel of the environmental sound acquired in real time exceeds a third preset value.
In the substep S2302, if the noise interference is exceeded, it is determined that the noise interference currently exists.
In sub-step S2303, if not, it is determined that there is no noise interference.
In the above steps, after collecting the decibel of the environmental sound, the sound collecting unit of the electronic device 100 determines whether the decibel exceeds a third preset value (for example, 50 decibels), and if the decibel exceeds the third preset value, it determines that the noise interference currently exists, and if the decibel does not exceed the third preset value, it determines that the noise interference currently does not exist.
Noise is a subjective evaluation criterion, namely, all sounds affecting others are noise, whether music or mechanical sound, and the like. The acceptance level of each person for noise is different, so the third preset value can be set by users in a self-defined way, for example, 40 db, 50 db or 60 db.
Optionally, in this embodiment, the heart rate measuring method further includes a step of acquiring the first preset range value.
Referring to fig. 6, fig. 6 is a flowchart illustrating a sub-step of obtaining a first preset range value according to an embodiment of the present disclosure. The step comprises the following substeps:
and a substep S610 of obtaining environmental sounds of different decibels and heart rate values corresponding to the different decibels.
And a substep S620, comparing the heart rate values corresponding to different decibels with the normal heart rate value of the user, calculating the difference value between the heart rate value corresponding to different decibels and the normal heart rate value of the user, and acquiring the first preset range value according to the obtained difference values.
Optionally, in this embodiment, in order to obtain a relatively accurate first preset range value, calculation and analysis need to be performed according to a large amount of historical heart rate data, so that the first preset range value can be obtained. First, it is required to obtain different decibels of ambient sound (e.g., 40 db, 50 db, and 60 db) and different decibels of corresponding heart rate values (e.g., 66 times per minute, 69 times per minute, and 73 times per minute), and to correspond the decibels to the heart rate values, e.g., 40 db corresponds to 66 times per minute, 50 db corresponds to 69 times per minute, and 60 db corresponds to 73 times per minute.
The heart rate value corresponding to each decibel is then compared with the normal heart rate value of the user, respectively, and the difference between the heart rate values at the different decibels and the normal heart rate value (55-65 times/minute) is calculated, as in the example shown above, for 1, 4 and 8, respectively.
By comparing a large amount of heart rate history data with a normal heart rate, a set of difference values can be obtained, from which all difference values of the set of difference values a first range of values is obtained.
Specifically, the first range value may be obtained by taking the minimum value and the maximum value as ranges, for example, the maximum values are 0 and 10, and the first preset range is 0 to 10, or by taking the average value as a larger endpoint value of the first preset range, for example, the average value is 8, and the first preset range is 0 to 8.
Of course, in other embodiments of this embodiment, other methods may be used to obtain the first preset range value, and are not specifically limited herein.
Optionally, in this embodiment, in step S210, acquiring a real-time heart rate of the user specifically includes: acquiring electrocardiosignals of a user in real time, amplifying the electrocardiosignals through an acceleration sensor, and calculating the real-time heart rate of the user according to the amplified electrocardiosignals.
In this embodiment, the electronic device 100 further includes an acceleration sensor, and the acceleration sensor is configured to amplify the acquired electrocardiographic signals so as to calculate the real-time heart rate. The acceleration sensor can also remove high-frequency noise and improve the accuracy of the heart rate measurement value.
The real-time heart rate of the user is measured by using an electrocardiosignal method, so that baseline drift caused by respiration, limbs or movement can be restrained, and the accuracy of the heart rate measurement value is further improved.
Optionally, in this embodiment, the electronic device 100 may further include a voltage stabilizing unit and a filtering unit. The voltage stabilizing unit is used for keeping the output voltage constant, and the heart rate measuring result is prevented from being inaccurate due to insufficient voltage. The filtering unit may include a high pass filter for removing the baseline wander, a low pass filter for removing the electromyographic interference, and an FIR filter (Finite Impulse Response filter) for removing the signal interference.
Optionally, in this embodiment, the electronic device 100 may further include a vibration switch unit for turning on or off the vibration alarm unit. Of course, in this embodiment, the electronic device 100 may further include a voice alarm unit in addition to the vibration alarm unit, so as to remind the user in a voice manner.
To sum up, according to the size of the obtained environmental decibels, the embodiment of the application selects different preset value ranges to judge whether the real-time heart rate is abnormal or not, and sends alarm information when the abnormal heart rate occurs. The interference of most noise on the heart rate measurement result can be eliminated, the situation of misinformation is reduced, and the measurement result is more accurate. Meanwhile, the heart rate measuring method can be customized according to the age of the user, so that the heart rate measuring method is more targeted, and the measuring result is more reliable.
The electronic device 100 further improves the accuracy of the heart rate measurement result through the combined action of the voltage stabilizing unit, the filtering unit, the acceleration sensor and other units. The voltage stabilizing unit is used for outputting stable constant voltage, the filtering unit is used for eliminating interference signals such as baseline drift and myoelectric interference caused by respiration, limb movement and movement, and the acceleration sensor is used for amplifying electrocardiosignals.
Simultaneously, still through setting up different normal rhythm of the heart in order to distinguish old person and young person to make electronic equipment 100 can be applicable to the user of different age brackets, make the rhythm of the heart measure more targeted, the condition that further reduces the wrong report appears, promotes the degree of accuracy and the stability of rhythm of the heart measuring result.
Referring to fig. 7, fig. 7 is a functional block diagram of a heart rate measuring device 110 according to an embodiment of the present disclosure. The heart rate measuring apparatus 110 is applied to the electronic device 100, and includes:
a heart rate obtaining module 1101, configured to obtain a real-time heart rate of the user.
The noise determining module 1102 is configured to obtain decibels of the environmental sound in real time, and determine whether noise interference exists currently according to the decibels of the current environmental sound.
The first processing module 1103 is configured to, when there is noise interference at present, compare the real-time heart rate with the normal heart rate of the user pre-stored in the electronic device, determine whether a difference between the real-time heart rate of the user and the normal heart rate of the user when there is noise interference exceeds a first preset range value, and if the difference exceeds the first preset range value, determine that the heart rate is abnormal, and send alarm information.
Optionally, the heart rate measuring device 110 further comprises:
the second processing module 1104 is configured to compare the real-time heart rate with a normal heart rate of a user pre-stored in the electronic device when no noise interference exists, determine whether a difference between the real-time heart rate of the user and the normal heart rate of the user when no noise interference exists exceeds a second preset range value, determine that the heart rate is abnormal if the difference exceeds the second preset range value, and send alarm information.
The heart rate measuring device 110 provided in the embodiment of the present application may be specific hardware on the electronic device 100, or software or firmware installed on the electronic device 100, or the like. The device provided by the embodiment of the present application has the same implementation principle and technical effect as the foregoing method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the foregoing method embodiments where no part of the device embodiments is mentioned. It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the foregoing systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The embodiment of the present application further provides an electronic device 100, which includes a processor 130 and a non-volatile memory 120 storing computer instructions, and when the computer instructions are executed by the processor 130, the electronic device 100 executes the above-mentioned heart rate measurement method. The specific implementation method may refer to the corresponding process in the above method embodiment, and is not described herein again.
The embodiment of the present application further provides a storage medium, where a computer program is stored in the storage medium, and when the computer program is executed, reference may be made to the corresponding process in the method embodiment for specifically implementing the heart rate measurement method, which is not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus once an item is defined in one figure, it need not be further defined and explained in subsequent figures, and moreover, the terms "first", "second", "third", etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the present disclosure, which should be construed in light of the above teachings. Are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A heart rate measurement method is applied to an electronic device, and comprises the following steps:
acquiring a real-time heart rate of a user;
acquiring the decibel of the environmental sound in real time, and judging whether noise interference exists at present according to the decibel of the current environmental sound;
when there is noise interference at present, will real-time rhythm of the heart with the user's that prestores in the electronic equipment normal rhythm of the heart is compared, judges whether the difference of the user's real-time rhythm of the heart when there is noise interference and user's normal rhythm of the heart exceeds first preset range value, if exceed first preset range value, then judges that the rhythm of the heart exists unusually, sends alarm information.
2. The method of claim 1, further comprising:
when no noise interference exists at present, the real-time heart rate is compared with the normal heart rate of the user prestored in the electronic equipment, whether the difference value between the real-time heart rate of the user when no noise interference exists and the normal heart rate of the user exceeds a second preset range value or not is judged, if the difference value exceeds the second preset range value, the heart rate is judged to be abnormal, and alarm information is sent.
3. The method of claim 2, further comprising:
when noise interference does not exist at present and the difference value between the real-time heart rate and the normal heart rate of the user exceeds a second preset range value, storing the heart rate to the electronic equipment;
and judging whether the duration of the real-time heart rate exceeds a first preset value or whether the repetition frequency of the real-time heart rate exceeds a second preset value, and if the duration exceeds the first preset value or the repetition frequency exceeds the second preset value, sending alarm information.
4. The method of claim 1, wherein the determining whether noise interference is currently present according to the decibels of the current environmental sound comprises:
and judging whether the decibel of the environmental sound acquired in real time exceeds a third preset value, if so, judging that the noise interference exists currently, and if not, judging that the noise interference does not exist currently.
5. A method according to claim 1 or 2, characterized in that it further comprises a step of acquiring said first preset range of values, comprising:
acquiring environmental sounds of different decibels and heart rate values corresponding to the different decibels;
and comparing the heart rate values corresponding to different decibels with the normal heart rate value of the user, calculating the difference value between the heart rate value corresponding to different decibels and the normal heart rate value of the user, and acquiring the first preset range value according to the obtained plurality of difference values.
6. The method of claim 1, wherein obtaining a real-time heart rate of a user comprises:
acquiring electrocardiosignals of a user in real time;
amplifying the electrocardiosignals through an acceleration sensor;
and calculating the real-time heart rate of the user according to the amplified electrocardiosignals.
7. A heart rate measuring device, applied to an electronic apparatus, the device comprising:
the heart rate acquisition module is used for acquiring the real-time heart rate of a user;
the noise judgment module is used for acquiring the decibel of the environmental sound in real time and judging whether the noise interference exists at present according to the decibel of the current environmental sound;
the first processing module is used for comparing the real-time heart rate with the normal heart rate of the user prestored in the electronic equipment when the noise interference exists at present, judging whether the difference value between the real-time heart rate of the user and the normal heart rate of the user when the noise interference exists exceeds a first preset range value or not, judging that the heart rate is abnormal if the difference value exceeds the first preset range value, and sending alarm information.
8. The apparatus of claim 7, further comprising:
and the second processing module is used for comparing the real-time heart rate with the normal heart rate of the user prestored in the electronic equipment when no noise interference exists at present, judging whether the difference value between the real-time heart rate of the user when no noise interference exists and the normal heart rate of the user exceeds a second preset range value, judging that the heart rate is abnormal if the difference value exceeds the second preset range value, and sending alarm information.
9. An electronic device comprising a processor and a non-volatile memory having computer instructions stored thereon, wherein the computer instructions, when executed by the processor, cause the electronic device to perform the method of heart rate measurement according to any one of claims 1-6.
10. A storage medium, characterized in that a computer program is stored in the storage medium, which computer program, when executed, implements the heart rate measurement method according to any one of claims 1-6.
CN201911230090.2A 2019-12-04 2019-12-04 Heart rate measuring method and device, electronic equipment and storage medium Pending CN110916637A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911230090.2A CN110916637A (en) 2019-12-04 2019-12-04 Heart rate measuring method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911230090.2A CN110916637A (en) 2019-12-04 2019-12-04 Heart rate measuring method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110916637A true CN110916637A (en) 2020-03-27

Family

ID=69856835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911230090.2A Pending CN110916637A (en) 2019-12-04 2019-12-04 Heart rate measuring method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110916637A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140309507A1 (en) * 2008-03-31 2014-10-16 Covidien Lp Reducing nuisance alarms

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140309507A1 (en) * 2008-03-31 2014-10-16 Covidien Lp Reducing nuisance alarms

Similar Documents

Publication Publication Date Title
US8602986B2 (en) System and method for detecting signal artifacts
US8456295B2 (en) Alarm generation method for patient monitoring, physiological monitoring apparatus and computer program product for a physiological monitoring apparatus
JP6055921B2 (en) Continuous evaluation of ECG signal quality
JP6306216B2 (en) An unobtrusive advisor for patient monitors
US9799210B2 (en) Apparatus and method for improving the audibility of specific sounds to a user
JP5587328B2 (en) Fall detection system
JP2018047253A (en) Contextual heart rate monitor
EP2468180A2 (en) Alarm control method, physiological monitoring apparatus, and computer program product for a physiological monitoring apparatus
US20140340219A1 (en) Physiological monitoring and alerting
US10456087B2 (en) Method for score confidence interval estimation when vital sign sampling frequency is limited
FI4070729T3 (en) Displays for a medical device
US6556957B1 (en) Method and device for detecting drifts, jumps and/or outliers of measurement values
JP2011509731A (en) Alarm control in medical equipment
CN110226934B (en) Fall detection method and device and wrist strap type equipment
JP2020507434A5 (en)
JP2017536919A5 (en)
CN110916637A (en) Heart rate measuring method and device, electronic equipment and storage medium
CN116269297A (en) Vital sign detection method and device based on radar, radar and storage medium
KR20190006379A (en) Driver sleepiness detection method
JPWO2020090763A1 (en) Processing equipment, systems, processing methods, and programs
JP7444310B1 (en) Decreased arousal detection device, method for detecting decreased arousal, and computer program
EP4268715A1 (en) Wearable device with heart rate detection, dynamic heart rate detection method and non-transitory computer-readable storage medium
CN117935505B (en) Intelligent bracelet wearing-off early warning method, system and medium
CN109567752B (en) Sleep wake state judgment method and device, sleep monitor and storage medium
CN116898425A (en) Fall detection method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200327