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

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

Info

Publication number
CN113080919A
CN113080919A CN202110353402.XA CN202110353402A CN113080919A CN 113080919 A CN113080919 A CN 113080919A CN 202110353402 A CN202110353402 A CN 202110353402A CN 113080919 A CN113080919 A CN 113080919A
Authority
CN
China
Prior art keywords
heart rate
rate detection
light
distance
skin
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.)
Granted
Application number
CN202110353402.XA
Other languages
Chinese (zh)
Other versions
CN113080919B (en
Inventor
徐元涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Inc
Original Assignee
Goertek Inc
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 Goertek Inc filed Critical Goertek Inc
Priority to CN202110353402.XA priority Critical patent/CN113080919B/en
Publication of CN113080919A publication Critical patent/CN113080919A/en
Application granted granted Critical
Publication of CN113080919B publication Critical patent/CN113080919B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • A61B5/02416Detecting, measuring or recording pulse rate or heart rate using photoplethysmograph signals, e.g. generated by infrared radiation
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/024Detecting, measuring or recording pulse rate or heart rate
    • A61B5/02438Detecting, measuring or recording pulse rate or heart rate with portable devices, e.g. worn by the patient
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/68Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient
    • A61B5/6801Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient specially adapted to be attached to or worn on the body surface
    • A61B5/6802Sensor mounted on worn items

Landscapes

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

Abstract

The invention discloses a heart rate detection method, a heart rate detection device, heart rate detection equipment and a computer readable storage medium, wherein the method comprises the following steps: judging whether a wearing part corresponding to the heart rate detection equipment is human skin or not according to the sound waves transmitted by the ultrasonic sensor and the received sound waves; if the wearing part is the skin of the human body, acquiring a target distance between the heart rate detection equipment and the skin of the human body; if the target distance belongs to the preset interval, starting a heart rate detection module and acquiring first emitting light corresponding to the target distance; controlling the heart rate detection module to emit first emitting light and receiving first reflecting light corresponding to the first emitting light; and determining the heart rate acquired by the heart rate detection equipment according to the light intensity of the first reflected light and the light intensity of the first reflected light. According to the invention, the problem of inaccurate heart rate detection when the existing heart rate detection equipment is worn out of specification is solved by acquiring the distance between the heart rate detection equipment and the skin and adjusting the emitted light of the heart rate detection module according to the distance.

Description

Heart rate detection method, device, equipment and computer readable storage medium
Technical Field
The invention relates to the field of intelligent wearing, in particular to a heart rate detection method, a heart rate detection device, heart rate detection equipment and a computer readable storage medium.
Background
Heart rate check out test set such as present intelligent wrist-watch and intelligent bracelet has become the standard outfit with the heart rate detection function, accurate heart rate measurement is favorable to the user to monitor the heart rate change of self constantly, current heart rate detection method adopts the photoelectric plethysmography method mostly, through the light source with light to user's skin, then receive the reverberation, and then according to the reverberation, confirm user's heart rate, however this kind of method receives the influence of the user wearing the condition easily, if user's intelligent wrist-watch wears loosely, then can receive natural light interference in the heart rate testing process, lead to the reverberation of receipt to change, and then lead to heart rate to detect inaccurately, can not measure heart rate data even.
Disclosure of Invention
The invention mainly aims to provide a heart rate detection method, a heart rate detection device, heart rate detection equipment and a computer readable storage medium, and aims to solve the technical problem that the heart rate detection is inaccurate when the existing heart rate detection equipment is worn out of specifications.
In addition, in order to achieve the above object, the present invention further provides a heart rate detection method, including the steps of:
judging whether the wearing part corresponding to the heart rate detection equipment is human skin or not according to the sound waves transmitted by the ultrasonic sensor and the received sound waves;
if the wearing part is human skin, acquiring a target distance between the heart rate detection module and the human skin;
if the target distance belongs to a preset interval, starting the heart rate detection module, and acquiring first emission light corresponding to the target distance;
controlling the heart rate detection module to emit the first emitting light and receiving first reflecting light corresponding to the first emitting light;
and determining the heart rate obtained by the heart rate detection equipment according to the light intensity of the first reflected light and the light intensity of the first reflected light.
Optionally, the step of judging whether the wearing part corresponding to the heart rate detection device is the skin of the human body according to the sound wave emitted by the ultrasonic sensor and the received sound wave includes:
acquiring the intensity of the sound wave transmitted by the ultrasonic sensor and the intensity of the received sound wave, and calculating the wave intensity difference between the transmitted sound wave intensity and the received sound wave intensity;
and searching for a substance corresponding to the wave intensity difference in a preset substance comparison table, and judging whether the wearing part corresponding to the heart rate detection equipment is human skin or not according to the substance corresponding to the wave intensity difference.
Optionally, if the wearing part is a human skin, the step of obtaining the target distance between the heart rate detection module and the human skin includes:
if the wearing part is the skin of the human body, acquiring the time for the ultrasonic sensor to transmit the sound waves and the time for the ultrasonic sensor to receive the sound waves;
and calculating the target distance between the heart rate detection equipment and the human skin according to the time for transmitting the sound waves and the time for receiving the sound waves.
Optionally, after the step of determining the heart rate acquired by the heart rate detection device according to the light intensity of the first emitted light and the light intensity of the second emitted light, the method includes:
acquiring a first distance between the heart rate detection equipment and the skin of the human body through the ultrasonic sensor again;
if the first distance does not belong to the preset interval, closing the heart rate detection module and outputting abnormal prompt information of heart rate detection.
Optionally, after the step of acquiring, again by the ultrasonic sensor, the first distance between the heart rate detection device and the skin of the human body, the method includes:
if the first distance belongs to the preset interval, acquiring second emitted light corresponding to the first distance;
if the first distance is not equal to the target distance, controlling the heart rate detection module to emit the second emitting light and receiving second reflecting light corresponding to the second emitting light;
and determining the heart rate acquired by the heart rate detection equipment according to the light intensity of the second emitted light and the light intensity of the second reflected light.
Optionally, the step of acquiring the first emission light corresponding to the target distance includes:
acquiring ambient light information, and inquiring a preset light intensity comparison table corresponding to the ambient light information;
and searching the target light intensity corresponding to the target distance in the preset light intensity comparison table, and taking the emitted light corresponding to the target light intensity as first emitted light.
Optionally, the step of obtaining a target distance between the heart rate detection module and the skin of the human body includes:
determining a distance error according to the ultrasonic sensor and the heart rate detection module;
and calculating the distance value obtained by the ultrasonic sensor and the distance error to obtain the target distance between the heart rate detection equipment and the skin of the human body.
In addition, to achieve the above object, the present invention also provides a heart rate detecting device, including:
the judging module is used for judging whether the wearing part corresponding to the heart rate detection equipment is the human skin or not according to the sound waves transmitted by the ultrasonic sensor and the received sound waves;
the target distance acquisition module is used for acquiring a target distance between the heart rate detection module and the skin of the human body if the wearing part is the skin of the human body;
the first emitting light acquisition module is used for starting the heart rate detection module if the target distance belongs to a preset interval and acquiring first emitting light corresponding to the target distance;
the transmitting and receiving control module is used for controlling the heart rate detection module to transmit the first transmitting light and receive first reflecting light corresponding to the first transmitting light;
and the heart rate determining module is used for determining the heart rate acquired by the heart rate detecting equipment according to the light intensity of the first emitting light and the light intensity of the first reflecting light.
In addition, to achieve the above object, the present invention also provides a heart rate detecting apparatus, including: a memory, a processor and a heart rate detection program stored on the memory and executable on the processor, the heart rate detection program when executed by the processor implementing the steps of the heart rate detection method as described above.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, on which a heart rate detection program is stored, and the heart rate detection program, when executed by a processor, implements the steps of the heart rate detection method as described above.
The embodiment of the invention provides a heart rate detection method, a heart rate detection device, heart rate detection equipment and a computer readable storage medium. In the embodiment of the invention, the heart rate detection device transmits sound waves and receives reflected sound waves through the ultrasonic sensor, and further judges whether a wearing part corresponding to the heart rate detection device is human skin or not according to the sound waves transmitted by the ultrasonic sensor and the received sound waves, if the wearing part corresponding to the heart rate detection device is human skin, a target distance between the heart rate detection device and the human skin is obtained, the target distance is judged, if the target distance belongs to a preset interval, a heart rate detection module in the heart rate detection device is started, first emitted light corresponding to the target distance is obtained, then the heart rate detection module is controlled to transmit the first emitted light and receive first reflected light corresponding to the first emitted light, and finally, the heart rate obtained by the heart rate detection device is determined according to the light intensity of the first emitted light and the light intensity of the first reflected light, and according to the emitting light of distance adjustment rhythm of the heart detection module, when having solved current rhythm of the heart check out test set and wearing the irregularity, the inaccurate problem of rhythm of the heart detection.
Drawings
Fig. 1 is a schematic hardware structure diagram of an implementation manner of a heart rate detection device according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a first embodiment of a heart rate detection method according to the invention;
FIG. 3 is a flowchart illustrating a second embodiment of a heart rate detection method according to the present invention;
fig. 4 is a schematic diagram of functional modules of an embodiment of the heart rate detection apparatus according to the invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The heart rate detection equipment provided by the embodiment of the invention can be terminals with a heart rate detection function, such as an intelligent bracelet, an intelligent watch and the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, the memory 1005, which is a kind of computer-readable storage medium, may include therein an operating system, a network communication module, a user interface module, and a heart rate detection program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to invoke a heart rate detection program stored in the memory 1005, which when executed by the processor, implements the operations in the heart rate detection methods provided by the embodiments described below.
Based on the hardware structure of the equipment, the embodiment of the heart rate detection method is provided.
Referring to fig. 2, in a first embodiment of the heart rate detection method of the present invention, the heart rate detection method includes:
and step S10, judging whether the wearing part corresponding to the heart rate detection equipment is the human skin or not according to the sound wave emitted by the ultrasonic sensor and the received sound wave.
The heart rate detection method in this embodiment is applied to heart rate detection equipment, for example, a smart watch and a smart bracelet, the heart rate detection equipment at least comprises a heart rate detection module and an ultrasonic sensor, the heart rate detection module can detect heart rate by emitting light and receiving light, the ultrasonic sensor is used for acquiring the distance between the heart rate detection equipment and a wearing part, and therefore, as long as the current heart rate module only presents heart rate detection results according to physical conditions and a preset algorithm, as long as a detected object is a good reflector of optical signals, regular changes of the reflected optical signals can be fitted into the heart rate by continuously shaking and extruding the detected object, that is, the phenomenon that the heart rate can be detected also exists in other objects (such as toilet roll paper, water bottle, plush toy and the like) is measured, therefore, the embodiment first measures sound waves and received sound waves according to the ultrasonic sensor, and judging whether the wearing part corresponding to the heart rate detection equipment is in contact with human skin or not.
And step S20, if the wearing part is human skin, acquiring a target distance between the heart rate detection module and the human skin.
If what wear the position contact with heart rate check out test set corresponds is human skin, then ultrasonic sensor acquires human skin and heart rate and detects the distance between the module, can know, ultrasonic sensor and the adjacent setting in heart rate detection module position, the purpose is the distance value who guarantees ultrasonic sensor and acquire, be promptly user's skin with distance (being the target distance in this embodiment) between the heart rate detection module, can understand, because structural design scheduling problem leads to ultrasonic sensor and heart rate to detect when the module position sets up not closely, still need handle the distance value that ultrasonic sensor acquireed, just can turn into the target distance with the distance value that ultrasonic sensor acquireed, concrete processing method is related to with the position that ultrasonic sensor and heart rate detection module set up.
And step S30, if the target distance belongs to a preset interval, starting the heart rate detection module, and acquiring first emission light corresponding to the target distance.
Know ground, the target distance is the distance between the heart rate detection module group in skin and the intelligent wrist-watch of the user who uses intelligent wrist-watch promptly, because the intelligent wrist-watch in this embodiment adopts the method of light detection heart rate, specific process is as follows: the heart rate detects the module and beats light on user's skin, when the heart pump blood, blood can be full of in the blood vessel below the skin, and blood absorbs green glow reflection red light, the heart can produce the different light reflection of colour when contraction and diastole, the heart rate detects the module just through detecting the reverberation that these colours are different and detect user's heart rate, therefore, heart rate in this embodiment detects the module and is very easily influenced by external light and the blood flow condition, the user needs correctly to wear when using intelligent wrist-watch, can not wear too loosely to lead to the light leak, also can not wear too tightly to lead to the blood circulation not smooth and easy, and the target distance in this embodiment is the distance between user's skin and the heart rate detection module that uses intelligent wrist-watch, the target distance is big more, it is pine more to explain that the user wears intelligent wrist-watch, when the user wears intelligent wrist-watch loose certain degree, just can's heart rate can, the user wears the smart watch to a certain degree, a distance value (between the skin of the user and the heart rate detection module) is set, for example, 5 millimeters, the preset interval is 0-5 millimeters, when the acquired target distance is 0-5 millimeters, the heart rate detection module can detect the heart rate of the user, and under the condition, the heart rate detection program starts the heart rate detection module; when the target distance who acquires is greater than 5 millimeters (do not belong to preset interval promptly), show that heart rate detection module can't detect user's heart rate, under this kind of condition, heart rate detection program just does not respond heart rate detection instruction, stops to start heart rate detection module, has played the effect that the suggestion user correctly wore intelligent wrist-watch to a certain extent.
After starting heart rate detection module, because user's skin and heart rate detect and have certain distance between the module, ambient light can cause certain influence to heart rate detection, consequently, need according to the size of target distance, confirms the transmission light of heart rate detection module (the first transmission light in this embodiment promptly), specifically how to confirm first transmission light according to target distance, will detail in the following.
Step S40, controlling the heart rate detection module to emit the first emitting light, and receiving a first reflected light corresponding to the first emitting light.
Therefore, the heart rate detection module has functions of Emitting Light and receiving Light, after the first Emitting Light is determined according to the target distance, the heart rate detection module emits the first Emitting Light to the skin of the user, and receives the Light (i.e., the first reflecting Light in the embodiment) reflected by the skin of the user, it can be understood that the smart watch further has functions of obtaining Light intensity and adjusting the Light intensity according to the heart rate detection principle, for example, the Light intensity of the Emitting Light is adjusted by adjusting the current flowing through an LED (Light Emitting Diode) lamp, and therefore, when the current flowing through the LED lamp is reduced, the Light intensity of the Emitting Light of the LED lamp is reduced; when the current flowing through the LED lamp is increased, the light intensity of the light emitted by the LED lamp is increased, a certain contrast relation is also formed between the target distance and the light intensity of the emitted light, and when the target distance is increased, the influence of external light is increased; when the target distance becomes smaller, the influence of the external light becomes smaller, and in this case, the light intensity of the emitted light is reduced by reducing the current flowing through the LED lamp, and the reduced light intensity is taken as the light intensity of the first emitted light.
Step S50, determining the heart rate obtained by the heart rate detection equipment according to the light intensity of the first reflected light and the light intensity of the first reflected light.
It is understood that the method used for heart rate detection in this embodiment may be PPG
The photoplethysmography method is characterized in that an LED light source in a heart rate detection module emits first emitting light to the skin of a user, the first emitting light (light signal) is converted into an electric signal through a photoelectric receiving tube in the heart rate detection module, the proportion of oxygen-containing red blood cells in blood shows periodic change along with the contraction and the relaxation of the heart due to the fact that the blood flow rate shows periodic rule along with the contraction and the relaxation of the heart, the absorption degree of the first emitting light by the blood shows periodic change along with the contraction and the relaxation of the heart, the electric signal converted by the photoelectric receiving tube shows periodic change along with the contraction and the relaxation of the heart is demodulated, and the first emitting light is transmitted to the photoelectric receiving tube through the photoelectric receiving tube, finally, the pulse rate of the user is calculated, and the pulse rate is equal to the heart rate.
Specifically, the step of step S10 refinement includes:
step a1, obtaining the intensity of the sound wave transmitted by the ultrasonic sensor and the intensity of the received sound wave, and calculating the wave intensity difference between the transmitted sound wave intensity and the received sound wave intensity.
Step a2, searching for a substance corresponding to the wave intensity difference in a preset substance comparison table, and judging whether the wearing part corresponding to the heart rate detection equipment is human skin or not according to the substance corresponding to the wave intensity difference.
It can be known that, after receiving a heart rate detection instruction, a heart rate detection program firstly determines whether a user wears the smart watch through the ultrasonic sensor (the arm of the user), and practice shows that, when the smart watch is worn on non-human tissues such as a water bottle, the heart rate can be detected, which may cause a feeling that the heart rate measurement does not depend on the spectrum to the user, in order to avoid this, in this embodiment, when receiving the heart rate detection instruction, the sound wave is further emitted through the sound wave emitting unit in the ultrasonic sensor to obtain the intensity of the emitted sound wave, when the intensity of the emitted sound wave is constant, it may be determined which material surface the sound wave is incident from the air, specifically, under the condition that the intensity of the emitted sound wave is constant, if the acoustic impedance difference between the two materials is larger, the intensity of the reflected sound wave is larger, in this embodiment, one material is air, and whether the other material is human skin needs to be verified, under the condition, the intensity of the emitted sound wave is ensured to be constant, the air is constant, the sound wave intensity difference between the intensity of the emitted sound wave and the intensity of the received sound wave is calculated, if the sound wave intensity difference is larger, the acoustic impedance of the other material is smaller, if the sound wave intensity difference is smaller, the acoustic impedance of the other material is larger, accordingly, whether the other material is human skin can be judged, specifically, by inquiring a wave intensity difference and substance comparison table corresponding to the intensity of the emitted sound wave, a substance (namely, a target substance in the embodiment) corresponding to the wave intensity difference and the sound wave intensity difference in the substance comparison table is inquired, and if the target substance is human skin, the wearing part corresponding to the heart rate detection device is judged to be human skin.
Specifically, the step of step S20 refinement includes:
and b1, if the wearing part is the skin of the human body, acquiring the time of the ultrasonic sensor for transmitting the sound wave and the time of receiving the sound wave.
And b2, calculating the target distance between the heart rate detection equipment and the human skin according to the time for transmitting the sound waves and the time for receiving the sound waves.
The sound wave transmitted back by the transmitted sound wave is received through the sound wave receiving unit in the ultrasonic sensor, namely the received sound wave in the embodiment, the intensity of the received sound wave is obtained, the time difference between the sound wave transmitting time and the sound wave receiving time is calculated according to the principle of sound wave distance measurement, then the sound velocity is multiplied by the time difference, the obtained product is divided by two, so that a distance value is obtained, the distance value obtained by the ultrasonic sensor is not necessarily the target distance between the skin of a user and the heart rate detection module, before that, the material surface to which the sound wave is incident from the air is determined according to the intensity of the transmitted sound wave and the intensity of the received sound wave, specifically, the reflected sound waves with different intensities are generated when the sound wave is incident from the air to the surface of the skin of a human body according to the definition of acoustic impedance, so that the intensity of the reflected sound wave generated when the sound wave is incident from the air, and determining whether the distance value obtained by the ultrasonic sensor is the target distance between the skin surface of the user and the heart rate detection module or not according to the intensity of the transmitted sound wave and the intensity of the received sound wave.
Specifically, the step of step S20 refinement includes:
and c1, determining the distance error according to the ultrasonic sensor and the heart rate detection module.
And c2, calculating the distance value obtained by the ultrasonic sensor and the distance error to obtain the target distance between the heart rate detection equipment and the human skin.
It can be known that, because of the need of the structural design of the smart watch, the ultrasonic sensor and the heart rate detection module are not necessarily located at the same position, the heart rate detection module is generally arranged on the convex structure of the lower shell of the smart watch, so that the heart rate detection module is more easily attached to the skin of the human body, and if the ultrasonic sensor is not arranged on the convex structure together with the heart rate detection module, the distance value obtained by the ultrasonic sensor is processed to obtain the target distance between the heart rate detection module and the skin of the user, specifically, when the ultrasonic sensor is not arranged on the convex structure together with the heart rate detection module, the distance error is determined according to the positions of the ultrasonic sensor and the heart rate detection module, then the distance value obtained by the ultrasonic sensor is subtracted by the distance error, so that the target distance can be obtained, it can be known, when the distance value acquired by the ultrasonic sensor is smaller than the distance error, the fact that the user wears the intelligent watch too tightly is indicated, and under the condition, the fact that the user wears the intelligent watch too tightly can be prompted through vibration.
Specifically, the step of step S30 refinement includes:
and d1, acquiring the ambient light information, and inquiring a preset light intensity comparison table corresponding to the ambient light information.
And d2, searching the target light intensity corresponding to the target distance in the preset light intensity comparison table, and taking the emitted light corresponding to the target light intensity as the first emitted light.
Specifically, by obtaining the ambient light information around the smart watch, a distance and light intensity comparison table corresponding to the ambient light information is inquired, and a distance value and light intensity are stored in the distance and light intensity comparison table, wherein the distance value and the light intensity have a corresponding relationship, and the target light intensity corresponding to the target distance is obtained by searching the distance and light intensity comparison table, and the target light intensity is used as the light intensity of the first emitting light.
In the embodiment, the heart rate detection device transmits sound waves and receives reflected sound waves through the ultrasonic sensor, and further, according to the sound waves transmitted by the ultrasonic sensor and the received sound waves, whether a wearing part corresponding to the heart rate detection device is human skin is judged, if the wearing part corresponding to the heart rate detection device is human skin, a target distance between the heart rate detection device and the human skin is obtained, the target distance is judged, if the target distance belongs to a preset interval, a heart rate detection module in the heart rate detection device is started, first emitted light corresponding to the target distance is obtained, then the heart rate detection module is controlled to transmit the first emitted light and receive first reflected light corresponding to the first emitted light, and finally, according to the light intensity of the first emitted light and the light intensity of the first reflected light, the heart rate obtained by the heart rate detection device is determined, by obtaining the distance between the heart rate detection device and the skin, and according to the emitting light of distance adjustment rhythm of the heart detection module, when having solved current rhythm of the heart check out test set and wearing the irregularity, the inaccurate problem of rhythm of the heart detection.
Further, with reference to fig. 3, a second embodiment of the method of the present invention is proposed on the basis of the above-described embodiment of the present invention.
This embodiment is a step after step S50 in the first embodiment, and the present embodiment is different from the above-described embodiments of the present invention in that:
and step S60, acquiring a first distance between the heart rate detection device and the skin of the human body through the ultrasonic sensor again.
And step S70, if the first distance does not belong to the preset interval, closing the heart rate detection module, and outputting abnormal prompt information of heart rate detection.
Therefore, after the heart rate detection module is opened, because the user can move during the process of detecting the heart rate by using the smart watch, when the user moves during the heart rate detection, the target distance can change constantly, when the heart rate detection module is opened and the distance between the skin of the user and the heart rate detection module (i.e. the first distance in the embodiment) is obtained for the second time, whether the first distance belongs to the preset interval or not can be judged first, and if the first distance does not belong to the preset interval, the first distance may be equal to the target distance in the above embodiment, may be greater than the target distance, or may be smaller than the target distance, it indicates that the user wears the smart watch too loose, and the heart rate detection module cannot detect the heart rate of the user, in this case, the heart rate detection program closes the heart rate detection module, and outputs abnormal heart rate detection prompt information, until the user according to the unusual prompt information adjustment of rhythm of the heart detection and wear the elasticity of intelligent wrist-watch, when the target distance value that ultrasonic sensor obtained belonged to preset period again, just opened rhythm of the heart detection module once more.
Specifically, steps subsequent to step S60 include:
step e1, if the first distance belongs to the preset interval, acquiring a second emitted light corresponding to the first distance.
And e2, if the first distance is not equal to the target distance, controlling the heart rate detection module to emit the second emitted light and receiving a second reflected light corresponding to the second emitted light.
And e3, determining the heart rate acquired by the heart rate detection equipment according to the light intensity of the second emitted light and the light intensity of the second reflected light.
Therefore, after the heart rate detection module is started, when the acquired first distance belongs to the preset interval, the second emitting light is determined according to the first distance, if the first distance is equal to the target distance, the light intensity of the second emitting light is determined to be the same as that of the first emitting light, if the first distance is not equal to the target distance, the light intensity of the second emitting light is determined to be different from that of the first emitting light, wherein if the first distance is smaller than the target distance, the light intensity of the second emitting light is smaller than that of the first emitting light, if the first distance is larger than the target distance, the light intensity of the second emitting light is larger than that of the first emitting light, then the second emitting light is emitted through the heart rate detection module, the second reflecting light corresponding to the second emitting light is received, and finally, the heart rate of the user is determined according to the light intensity of the second emitting light and the light intensity of.
Through adjustment heart rate detection module in this embodiment, the light intensity that makes the transmission light changes along with the change of target distance, when heart rate check out test set wore the denormal, has improved the rate of accuracy that the heart rate detected.
In addition, referring to fig. 4, an embodiment of the present invention further provides a heart rate detection apparatus, where the heart rate detection apparatus includes:
the judging module 10 is used for judging whether a wearing part corresponding to the heart rate detection device is human skin according to the sound waves transmitted by the ultrasonic sensor and the received sound waves;
a target distance obtaining module 20, configured to obtain a target distance between the heart rate detecting module and the skin of the human body if the wearing part is the skin of the human body;
the first emitting light obtaining module 30 is configured to start the heart rate detection module if the target distance belongs to a preset interval, and obtain first emitting light corresponding to the target distance;
the transmitting and receiving control module 40 is used for controlling the heart rate detection module to transmit the first transmitting light and receive first reflected light corresponding to the first transmitting light;
and the heart rate determining module 50 is configured to determine the heart rate obtained by the heart rate detecting device according to the light intensity of the first reflected light and the light intensity of the first reflected light.
Optionally, the determining module 10 includes:
the ultrasonic sensor comprises an ultrasonic intensity acquisition unit, a data acquisition unit and a data processing unit, wherein the ultrasonic intensity acquisition unit is used for acquiring the intensity of the ultrasonic wave transmitted by the ultrasonic sensor and the intensity of the received ultrasonic wave and calculating the intensity difference between the transmitted intensity of the ultrasonic wave and the received intensity of the ultrasonic wave;
the judging unit is used for searching for a substance corresponding to the wave intensity difference in a preset substance comparison table and judging whether a wearing part corresponding to the heart rate detection equipment is human skin or not according to the substance corresponding to the wave intensity difference;
optionally, the target distance obtaining module 20 includes:
the time acquisition unit is used for acquiring the time for transmitting the sound waves and the time for receiving the sound waves by the ultrasonic sensor if the wearing part is the skin of the human body;
and the target distance calculation unit is used for calculating the target distance between the heart rate detection equipment and the skin of the human body according to the time for transmitting the sound waves and the time for receiving the sound waves.
Optionally, the heart rate detection apparatus includes:
the first distance acquisition module is used for acquiring a first distance between the heart rate detection equipment and the skin of the human body through the ultrasonic sensor again;
and the abnormal prompt module is used for closing the heart rate detection module if the first distance does not belong to the preset interval, and outputting abnormal prompt information of heart rate detection.
Optionally, the heart rate detection apparatus includes:
the second emission light determining module is used for acquiring second emission light corresponding to the first distance if the first distance belongs to the preset interval;
the heart rate detection module adjusting module is used for controlling the heart rate detection module to emit the second emitting light and receiving second reflecting light corresponding to the second emitting light if the first distance is not equal to the target distance;
and the user heart rate determining module is used for determining the heart rate acquired by the heart rate detecting equipment according to the light intensity of the second emitting light and the light intensity of the second reflecting light.
Optionally, the first emission light obtaining module 30 includes:
the device comprises an ambient light information acquisition unit, a light intensity comparison unit and a light intensity comparison unit, wherein the ambient light information acquisition unit is used for acquiring ambient light information and inquiring a preset light intensity comparison table corresponding to the ambient light information;
and the target light intensity searching unit is used for searching the target light intensity corresponding to the target distance in the preset light intensity comparison table and taking the emitted light corresponding to the target light intensity as the first emitted light.
Optionally, the target distance obtaining module 20 includes:
the distance error determining unit is used for determining a distance error according to the ultrasonic sensor and the heart rate detection module;
and the calculating unit is used for calculating the distance value acquired by the ultrasonic sensor and the distance error to obtain a target distance between the heart rate detection equipment and the skin of the human body.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a heart rate detection program is stored on the computer-readable storage medium, and when being executed by a processor, the heart rate detection program implements operations in the heart rate detection method provided in the foregoing embodiment.
The method executed by each program module can refer to each embodiment of the method of the present invention, and is not described herein again.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity/action/object from another entity/action/object without necessarily requiring or implying any actual such relationship or order between such entities/actions/objects; the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
For the apparatus embodiment, since it is substantially similar to the method embodiment, it is described relatively simply, and reference may be made to some descriptions of the method embodiment for relevant points. The above-described apparatus embodiments are merely illustrative, in that elements described as separate components may or may not be physically separate. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the invention. One of ordinary skill in the art can understand and implement it without inventive effort.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the heart rate detection method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. The utility model provides a heart rate detection method, its characterized in that, heart rate detection method is applied to heart rate check out test set, heart rate check out test set includes heart rate detection module and ultrasonic sensor, heart rate detection method includes following step:
judging whether the wearing part corresponding to the heart rate detection equipment is human skin or not according to the sound waves transmitted by the ultrasonic sensor and the received sound waves;
if the wearing part is human skin, acquiring a target distance between the heart rate detection module and the human skin;
if the target distance belongs to a preset interval, starting the heart rate detection module, and acquiring first emission light corresponding to the target distance;
controlling the heart rate detection module to emit the first emitting light and receiving first reflecting light corresponding to the first emitting light;
and determining the heart rate obtained by the heart rate detection equipment according to the light intensity of the first reflected light and the light intensity of the first reflected light.
2. The heart rate detection method according to claim 1, wherein the step of determining whether the wearing part corresponding to the heart rate detection device is human skin according to the sound waves emitted by the ultrasonic sensor and the received sound waves comprises:
acquiring the intensity of the sound wave transmitted by the ultrasonic sensor and the intensity of the received sound wave, and calculating the wave intensity difference between the transmitted sound wave intensity and the received sound wave intensity;
and searching for a substance corresponding to the wave intensity difference in a preset substance comparison table, and judging whether the wearing part corresponding to the heart rate detection equipment is human skin or not according to the substance corresponding to the wave intensity difference.
3. The heart rate detection method according to claim 2, wherein if the wearing part is a human skin, the step of obtaining the target distance between the heart rate detection module and the human skin comprises:
if the wearing part is the skin of the human body, acquiring the time for the ultrasonic sensor to transmit the sound waves and the time for the ultrasonic sensor to receive the sound waves;
and calculating the target distance between the heart rate detection equipment and the human skin according to the time for transmitting the sound waves and the time for receiving the sound waves.
4. The heart rate detection method according to claim 1, wherein the step of determining the heart rate acquired by the heart rate detection device based on the light intensity of the first emitted light and the light intensity of the second emitted light is followed by:
acquiring a first distance between the heart rate detection equipment and the skin of the human body through the ultrasonic sensor again;
if the first distance does not belong to the preset interval, closing the heart rate detection module and outputting abnormal prompt information of heart rate detection.
5. The heart rate detection method of claim 4, wherein the step of obtaining the first distance between the heart rate detection device and the skin of the human body again by the ultrasonic sensor is followed by:
if the first distance belongs to the preset interval, acquiring second emitted light corresponding to the first distance;
if the first distance is not equal to the target distance, controlling the heart rate detection module to emit the second emitting light and receiving second reflecting light corresponding to the second emitting light;
and determining the heart rate acquired by the heart rate detection equipment according to the light intensity of the second emitted light and the light intensity of the second reflected light.
6. The heart rate detection method of claim 1, wherein the step of obtaining the first emission light corresponding to the target distance comprises:
acquiring ambient light information, and inquiring a preset light intensity comparison table corresponding to the ambient light information;
and searching the target light intensity corresponding to the target distance in the preset light intensity comparison table, and taking the emitted light corresponding to the target light intensity as first emitted light.
7. The heart rate detection method of claim 1, wherein the step of obtaining the target distance between the heart rate detection module and the skin of the human body comprises:
determining a distance error according to the ultrasonic sensor and the heart rate detection module;
and calculating the distance value obtained by the ultrasonic sensor and the distance error to obtain the target distance between the heart rate detection equipment and the skin of the human body.
8. A heart rate detection device, characterized in that the heart rate detection device comprises:
the judging module is used for judging whether the wearing part corresponding to the heart rate detection equipment is the human skin or not according to the sound waves transmitted by the ultrasonic sensor and the received sound waves;
the target distance acquisition module is used for acquiring a target distance between the heart rate detection module and the skin of the human body if the wearing part is the skin of the human body;
the first emitting light acquisition module is used for starting the heart rate detection module if the target distance belongs to a preset interval and acquiring first emitting light corresponding to the target distance;
the transmitting and receiving control module is used for controlling the heart rate detection module to transmit the first transmitting light and receive first reflecting light corresponding to the first transmitting light;
and the heart rate determining module is used for determining the heart rate acquired by the heart rate detecting equipment according to the light intensity of the first emitting light and the light intensity of the first reflecting light.
9. A heart rate detection device, characterized in that the heart rate detection device comprises: memory, a processor and a heart rate detection program stored on the memory and executable on the processor, the heart rate detection program when executed by the processor implementing the steps of the method of heart rate detection according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a heart rate detection program, which when executed by a processor implements the steps of the heart rate detection method according to any one of claims 1 to 7.
CN202110353402.XA 2021-03-31 2021-03-31 Heart rate detection method, device, equipment and computer readable storage medium Active CN113080919B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110353402.XA CN113080919B (en) 2021-03-31 2021-03-31 Heart rate detection method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110353402.XA CN113080919B (en) 2021-03-31 2021-03-31 Heart rate detection method, device, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113080919A true CN113080919A (en) 2021-07-09
CN113080919B CN113080919B (en) 2023-01-24

Family

ID=76672234

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110353402.XA Active CN113080919B (en) 2021-03-31 2021-03-31 Heart rate detection method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113080919B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113558595A (en) * 2021-07-29 2021-10-29 歌尔科技有限公司 Monitoring method and device of wearable equipment and related components

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160199002A1 (en) * 2015-01-09 2016-07-14 Samsung Electronics Co., Ltd. Wearable Device and Method for Controlling the Same
CN107981852A (en) * 2017-11-23 2018-05-04 歌尔股份有限公司 Heart rate detection method and wearable device
CN209003983U (en) * 2017-11-23 2019-06-21 歌尔股份有限公司 Wearable device
CN209965419U (en) * 2019-04-29 2020-01-21 湖北春晖科技有限公司 Blood sugar intelligence wrist strap
CN110940987A (en) * 2018-09-20 2020-03-31 欧姆龙(上海)有限公司 Control device and method for photoelectric detection system and photoelectric detection system
US20200143142A1 (en) * 2017-07-20 2020-05-07 Seung Jin Lee Apparatus and method for identifying fake fingerprint by using impedance
CN211698983U (en) * 2020-03-06 2020-10-16 南昌欧菲生物识别技术有限公司 Wearable device
CN111837135A (en) * 2020-01-22 2020-10-27 深圳市汇顶科技股份有限公司 Photoacoustic detection system for living organism, biological information detection device, electronic apparatus, and living organism detection method
CN112401900A (en) * 2019-08-19 2021-02-26 Oppo广东移动通信有限公司 Signal processing method, signal processing device, electronic equipment and computer readable storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160199002A1 (en) * 2015-01-09 2016-07-14 Samsung Electronics Co., Ltd. Wearable Device and Method for Controlling the Same
US20200143142A1 (en) * 2017-07-20 2020-05-07 Seung Jin Lee Apparatus and method for identifying fake fingerprint by using impedance
CN107981852A (en) * 2017-11-23 2018-05-04 歌尔股份有限公司 Heart rate detection method and wearable device
CN209003983U (en) * 2017-11-23 2019-06-21 歌尔股份有限公司 Wearable device
CN110940987A (en) * 2018-09-20 2020-03-31 欧姆龙(上海)有限公司 Control device and method for photoelectric detection system and photoelectric detection system
CN209965419U (en) * 2019-04-29 2020-01-21 湖北春晖科技有限公司 Blood sugar intelligence wrist strap
CN112401900A (en) * 2019-08-19 2021-02-26 Oppo广东移动通信有限公司 Signal processing method, signal processing device, electronic equipment and computer readable storage medium
CN111837135A (en) * 2020-01-22 2020-10-27 深圳市汇顶科技股份有限公司 Photoacoustic detection system for living organism, biological information detection device, electronic apparatus, and living organism detection method
CN211698983U (en) * 2020-03-06 2020-10-16 南昌欧菲生物识别技术有限公司 Wearable device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113558595A (en) * 2021-07-29 2021-10-29 歌尔科技有限公司 Monitoring method and device of wearable equipment and related components

Also Published As

Publication number Publication date
CN113080919B (en) 2023-01-24

Similar Documents

Publication Publication Date Title
US11172884B2 (en) Method and module for detecting wearing state and wearable device
KR102408028B1 (en) Method for acquiring biometric information based on wering state and electronic device thereof
US11172838B2 (en) Sensing body information apparatus for volume and blood flow via light reflectance
US11786180B2 (en) Apparatus and method for estimating bio-information
US20190313979A1 (en) Bio-information measuring apparatus and bio-information measuring method
CN108697329A (en) The detection method and wearable device of wearable device
CN108348178B (en) Blood pressure parameter detection method and user terminal
WO2019169636A1 (en) Method for measuring human body physiological parameters, and terminal device
WO2018036474A1 (en) Heart rate measurement method and device, and wearable apparatus
TWI651891B (en) Power adjustment module and wearable device having same
CN113613553B (en) Electronic device for measuring blood pressure and method for measuring blood pressure
US20220022814A1 (en) Method and Electronic Device for Detecting Heart Rate
CN111551197A (en) State detection method, state detection device and wearable equipment
US20200170522A1 (en) Method for guiding measurement of biological signal in wearable device
CN113080919B (en) Heart rate detection method, device, equipment and computer readable storage medium
US20220071569A1 (en) Information management system, and method for device registration of measuring device and information terminal
KR102562817B1 (en) Electronic device for measuring blood pressure and operating method thereof
US20170319084A1 (en) Measuring apparatus and measuring method
EP3760112A1 (en) Apparatus and method for calibrating bio-information estimation model, and apparatus for estimating bio-information
CN111800134A (en) Signal processing method, signal processing device, electronic equipment and computer readable storage medium
US20200237295A1 (en) Method for calculating recovery index based on rem sleep stage and electronic device thereof
US20190313916A1 (en) Electronic device and method of controlling electronic device
TWI584786B (en) Method for sensing physiological feature
CN111629659A (en) Apparatus and method for determining calibration timing for blood pressure measurement of electronic device
CN113854973A (en) Body temperature measuring method and device, wearable device 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
GR01 Patent grant
GR01 Patent grant