Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for heart rate measurement, and mainly aim to solve the problem that in the existing heart rate measurement process, too many interference signals affect the accuracy of the measurement effect.
In order to achieve the above purpose, the embodiments of the present invention mainly provide the following technical solutions:
in a first aspect, an embodiment of the present invention provides a heart rate measurement method, including:
transmitting blood vessel scanning signals to a human body through different angles;
acquiring a plurality of scanning reflection signals, wherein the plurality of scanning reflection signals are obtained by reflecting blood vessel scanning signals at a plurality of different angles after irradiating a human body;
determining a blood vessel reflection signal from the plurality of scanning reflection signals, wherein the blood vessel reflection signal is a signal reflected by the blood vessel scanning signal after being irradiated to a blood vessel;
and measuring the heart rate of the human body according to the blood vessel reflection signals.
Optionally, the emitting the blood vessel scanning signal to the human body through different angles includes:
selecting a plurality of angles to respectively transmit blood vessel scanning signals to a human body by controlling a preset number of transmitters;
or,
the blood vessel scanning signals are sequentially transmitted to the human body by controlling the transmitters with a plurality of fixed angles.
Optionally, the determining a vascular reflectance signal from the plurality of scan reflectance signals comprises:
and determining the vascular reflection signals in the plurality of scanning reflection signals according to the signal-to-noise ratio corresponding to each scanning reflection signal in the plurality of scanning reflection signals.
Optionally, the determining, according to the signal-to-noise ratio corresponding to each of the plurality of scanning reflection signals, the vascular reflection signal in the plurality of scanning reflection signals includes:
calculating the signal-to-noise ratio of each scanning reflection signal according to the plurality of scanning reflection signals;
determining the scanning reflection signal with the maximum signal-to-noise ratio according to the signal-to-noise ratio corresponding to each scanning reflection signal;
and determining the scanning reflection signal with the largest signal-to-noise ratio as the blood vessel reflection signal.
Optionally, the measuring the heart rate of the human body according to the blood vessel reflection signal includes:
determining a corresponding blood vessel scanning signal according to the blood vessel reflection signal;
determining a corresponding transmitter and a corresponding transmitting angle according to the blood vessel scanning signal;
and measuring the heart rate of the human body within a preset time period through the emitter and the emission angle.
In a second aspect, an embodiment of the present invention further provides a heart rate measuring apparatus, including:
the transmitting unit is used for transmitting the blood vessel scanning signals to the human body through different angles;
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a plurality of scanning reflection signals, and the plurality of scanning reflection signals are obtained by reflecting blood vessel scanning signals at a plurality of different angles after irradiating a human body;
a determining unit, configured to determine a blood vessel reflection signal from the plurality of scanning reflection signals, where the blood vessel reflection signal is a signal reflected by the blood vessel scanning signal after being irradiated to a blood vessel;
and the measuring unit is used for measuring the heart rate of the human body according to the blood vessel reflection signals.
Optionally, the transmitting unit includes:
the first control module is used for selecting a plurality of angles to respectively transmit the blood vessel scanning signals to the human body by controlling a preset number of transmitters;
and the second control module is used for sequentially transmitting blood vessel scanning signals to the human body by controlling the transmitters with a plurality of fixed angles.
Optionally, the determining unit includes:
the calculation module is used for calculating the signal-to-noise ratio of each scanning reflection signal according to the plurality of scanning reflection signals;
the first determining module is used for determining the scanning reflection signal with the maximum signal-to-noise ratio according to the signal-to-noise ratio corresponding to each scanning reflection signal;
and the second determination module is used for determining the scanning reflection signal with the largest signal-to-noise ratio as the blood vessel reflection signal.
Optionally, the measurement unit includes:
the first determining module is used for determining a corresponding blood vessel scanning signal according to the blood vessel reflection signal;
the second determination module is used for determining a corresponding transmitter and a corresponding transmitting angle according to the blood vessel scanning signal;
and the measuring module is used for measuring the heart rate of the human body in a preset time period through the emitter and the emitting angle.
In a third aspect, an embodiment of the present invention further provides an electronic device, at least one processor;
and at least one memory, bus connected with the processor; wherein,
the processor and the memory complete mutual communication through the bus;
the processor is configured to invoke program instructions in the memory to perform the heart rate measurement method of any of the first aspects.
In a fourth aspect, embodiments of the present invention also provide a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the method for measuring heart rate according to any one of the first aspect.
Compared with the prior art that a large number of interference signals influence the accuracy of heart rate detection in the process of measuring the heart rate, the method and the device for measuring the heart rate provided by the embodiment of the invention can emit the blood vessel scanning signals to the human body through different angles, acquire the plurality of scanning reflection signals, determine the blood vessel reflection signals from the plurality of scanning reflection signals, and finally measure the heart rate of the human body according to the blood vessel reflection signals, so that the determination of the blood vessel reflection signals can be realized from the plurality of scanning reflection signals, the heart rate of the human body is measured based on the blood vessel reflection signals, the interference of the plurality of existing reflection signals in the measuring process can be avoided, and the accuracy of the measuring result is improved. Meanwhile, the blood vessel scanning signals are transmitted to the human body at different angles, and the actual blood vessel reflection signals are determined based on the different scanning reflection signals, so that the scheme can adapt to people with different body states, and has good adaptability.
The foregoing description is only an overview of the technical solutions of the embodiments of the present invention, and the embodiments of the present invention can be implemented according to the content of the description in order to make the technical means of the embodiments of the present invention more clearly understood, and the detailed description of the embodiments of the present invention is provided below in order to make the foregoing and other objects, features, and advantages of the embodiments of the present invention more clearly understandable.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
An embodiment of the present invention provides a heart rate measurement method, as shown in fig. 1, the method includes:
101. the blood vessel scanning signals are transmitted to the human body through different angles.
In the method according to the embodiment of the invention, the implementation process is mainly realized based on a PPG heart rate measurement method.
Among them, PPG (Photoplethysmograph, abbreviated as PPG, is translated by a photoplethysmography). The heart rate detection is realized by the way that light penetrates through skin tissues and then is reflected to a photosensitive sensor. When light is transmitted through the skin tissue and then reflected to the light sensitive sensor, the intensity of the light is attenuated to a degree where the absorption of light is substantially constant for muscles, bones, veins and other connective tissue, etc., provided of course that there is no substantial movement of the measurement site. However, unlike the above-mentioned tissues, the inside of the tissue, such as a capillary vessel and an artery, changes greatly when blood flows, and when the blood flows, the degree of expansion thereof varies, and thus the absorption of light naturally changes. This change is due to the fact that the human heart is pumping blood. I.e. each change represents a heart beat, so that a measurement of the heart rate can be made on the basis of the number of changes in the absorption of the illumination by such a blood vessel. We call this technique photoplethysmography, PPG.
Based on the difference of the skin thickness of the human body and the habits of the intelligent wearable device during wearing, in the process of measuring the heart rate, in the embodiment of the invention, the preset blood vessel scanning signals can be transmitted to the human body through different angles by the transmitter arranged in the wearable device according to the method in the step, wherein in the embodiment of the invention, the number of the angles and the numerical values of the specific angles are not limited, and can be selected according to the actual setting in the wearable device. In addition, the blood vessel scanning signal may be a green light signal, or any other light signal with a preset wavelength that meets the measurement requirement, which is not specifically limited herein and may be selected according to the actual requirement.
102. A plurality of scan reflection signals are acquired.
Based on the description instep 101, the light signal will be reflected after illuminating the human body. Therefore, the previously emitted vascular scanning signals can be acquired in this step. Wherein, the plurality of scanning reflection signals are obtained by reflecting the blood vessel scanning signals of a plurality of different angles after irradiating the human body. Specifically, in the embodiment of the present invention, the device for acquiring a plurality of scanning reflection signals may be a photosensitive sensor arranged in the smart wearable device, or other acquisition devices
103. A vascular reflectance signal is determined from the plurality of scan reflectance signals.
Wherein the blood vessel reflection signal is a signal reflected by the blood vessel scanning signal after being irradiated to a blood vessel.
After the plurality of scanning reflection signals are obtained in theaforementioned step 102, based on the characteristic that there are multiple layers in human tissue, therefore, after the vascular scanning signals are irradiated to the human body, based on different angles, not all the scanning signals are reflected after being irradiated to the blood vessels of the human body, and there is a possibility that the vascular scanning signals are reflected after being irradiated to the epidermis layer or reflected after being irradiated to the fat layer in the plurality of scanning reflection signals, therefore, after the plurality of scanning reflection signals are obtained in theaforementioned step 102, the plurality of scanning reflection signals can be judged according to the method in the present step, and the reflection signals irradiated to the blood vessels, that is, the vascular reflection signals, are determined therefrom.
When the received optical signal is converted into an electrical signal, the absorption of the blood vessels to light is changed, and the absorption of other tissues to light is basically unchanged, so that the signal obtained in the measurement process can be divided into a Direct Current (DC) signal and an Alternating Current (AC) signal, and the AC signal can reflect the characteristics of blood flow. Thus, in determining which of the plurality of scan reflection signals is a vascular reflection signal, the determination may be made based on the ratio of AC to DC in the acquired signals.
104. And measuring the heart rate of the human body according to the blood vessel reflection signals.
After the blood vessel reflection signal is determined in the plurality of scanning reflection signals instep 103, the heart rate of the human body can be measured according to the blood vessel reflection signal, so that the measured signal can be ensured to be only the signal reflected by the irradiated blood vessel, and the accuracy of heart rate measurement can be ensured.
Compared with the prior art that a large number of interference signals influence the accuracy of heart rate detection in the process of measuring the heart rate, the heart rate measuring method provided by the embodiment of the invention can emit the vascular scanning signals to the human body through different angles, acquire the plurality of scanning reflection signals, determine the vascular reflection signals from the plurality of scanning reflection signals, and finally measure the heart rate of the human body according to the vascular reflection signals, so that the determination of the vascular reflection signals can be realized from the plurality of scanning reflection signals, the heart rate of the human body is measured based on the vascular reflection signals, the interference of the existing plurality of reflection signals in the measuring process can be avoided, and the accuracy of the measuring result is improved. Meanwhile, the blood vessel scanning signals are transmitted to the human body at different angles, and the actual blood vessel reflection signals are determined based on the different scanning reflection signals, so that the scheme can adapt to people with different body states, and has good adaptability.
For purposes of more detailed description below, another heart rate measurement method is provided in an embodiment of the present invention, as shown in fig. 2 in particular, the method includes:
201. the blood vessel scanning signals are transmitted to the human body through different angles.
In the embodiment of the invention, based on different human bodies and different wearing habits, in the process of measuring the heart rate, the emission angles of the optical signals may be different, and in order to adapt to different angles, the blood vessel scanning signals need to be emitted to the human body according to different angles in the step.
Specifically, the step may include: selecting a plurality of angles to respectively transmit blood vessel scanning signals to a human body by controlling a preset number of transmitters; or, the vessel scanning signals are sequentially transmitted to the human body by controlling the transmitters with a plurality of fixed angles. In the process of transmitting the blood vessel scanning signals at different angles in the above manner, the manner of controlling the transmission can be determined according to the specific conditions of the transmitter arranged in the wearable device. For example, when a plurality of fixed-angle transmitters are provided in the wearable device, the control can be performed by the latter of the above steps. When a single light source is arranged in the wearable device, but the angle of the emitter is variable, the blood vessel scanning signal can be performed in multiple angles through the former way. Therefore, in the step, for the emission process of the selected blood vessel scanning signal, a corresponding emission mode may be selected according to an actual situation, which is not specifically limited herein.
From this, through the transmitter of control predetermined quantity, select a plurality of angles and respectively to human transmission vessel scanning signal, can ensure to set up when the transmitter of variable angle in intelligent wearing equipment, can carry out the transmitting function of the vessel scanning signal of multi-angle, perhaps be provided with the transmitter of a plurality of fixed angles through control, in proper order to human transmission vessel scanning signal, then can ensure when setting up in intelligent wearing equipment is the transmitter of a plurality of fixed angles, carry out the transmitting function of multi-angle vessel scanning signal. Therefore, the heart rate testing method provided by the embodiment of the invention can be applied to wearing equipment with different hardware settings, and has better adaptability.
202. A plurality of scan reflection signals are acquired.
Wherein, the plurality of scanning reflection signals are obtained by reflecting the blood vessel scanning signals of a plurality of different angles after irradiating the human body. For this reason, the scanning reflection signal, the obtaining method, and the device for obtaining the scanning reflection signal in this step may all be the same as those described instep 102 in the foregoing embodiment, and are not described herein again.
203. A vascular reflectance signal is determined from the plurality of scan reflectance signals.
Wherein the blood vessel reflection signal is a signal reflected by the blood vessel scanning signal after being irradiated to a blood vessel. Since some of the plurality of scanning reflection signals obtained instep 202 are not reflected after being irradiated to the blood vessel in the specific operation process, and may be reflected after being irradiated to the fat layer or the epidermis, such signals are not significant in the actual measurement process, in this embodiment of the present invention, it is further necessary to filter and screen the plurality of scanning reflection signals obtained currently, and thereby determine the signals reflected by being irradiated to the blood vessel, i.e. the blood vessel reflection signals described in the embodiment of the present invention. In addition, during a specific operation process, an electric signal converted after being received based on a reflection signal comprises an AC part and a DC part, wherein the DC part can be understood as background noise reflected by a human body, and the AC part is a change signal which is meaningful to detect the heart rate actually. Therefore, when determining which is the blood vessel reflection signal in this step, the determination can be made based on the ratio between AC and DC, i.e. the signal-to-noise ratio, wherein the larger the ratio, the more the actual effective signal in the signal is, and the reflected signal after irradiating the blood vessel is. Therefore, specifically, the step may be: and determining the vascular reflection signals in the plurality of scanning reflection signals according to the signal-to-noise ratio corresponding to each scanning reflection signal in the plurality of scanning reflection signals.
Specifically, the step may include: first, a signal-to-noise ratio of each scan reflection signal is calculated from the plurality of scan reflection signals. And then, according to the signal-to-noise ratio corresponding to each scanning reflection signal, determining the scanning reflection signal with the maximum signal-to-noise ratio. And finally, determining the scanning reflection signal with the maximum signal-to-noise ratio as the blood vessel reflection signal.
Therefore, the signal-to-noise ratio of each scanning reflection signal is calculated according to the plurality of scanning reflection signals, the scanning reflection signal with the maximum signal-to-noise ratio is determined according to the signal-to-noise ratio corresponding to each scanning reflection signal, then the scanning reflection signal with the maximum signal-to-noise ratio is determined as the blood vessel reflection signal, the blood vessel reflection signal in the plurality of scanning reflection signals can be determined according to the actual value of the signal-to-noise ratio, the accuracy of determining the blood vessel reflection signal is ensured, and the accuracy of the heart rate measurement result is integrally improved.
204. And measuring the heart rate of the human body according to the blood vessel reflection signals.
In order to ensure the accuracy of heart rate measurement, after the blood vessel reflection signals in the plurality of scanning signals are determined in the above steps, which blood vessel scanning signal is before reflection can be determined according to the reflection signals, then a signal emitter and an angle thereof which are needed to be used by a preface in an actual monitoring process can be determined according to the blood vessel scanning signals, and then the blood vessel scanning signals are continuously emitted according to the emitter and the angle to perform corresponding heart rate measurement. Based on this, the step may specifically include: firstly, according to the blood vessel reflection signals, corresponding blood vessel scanning signals are determined. Then, a corresponding transmitter and a transmitting angle are determined according to the blood vessel scanning signal. And finally, measuring the heart rate of the human body in a preset time period through the emitter and the emission angle.
Therefore, the corresponding blood vessel scanning signals are determined according to the blood vessel reflection signals, the corresponding emitters and the corresponding emitting angles are determined according to the blood vessel scanning signals, then the human heart rate is measured in the preset time period through the emitters and the emitting angles, the blood vessel scanning signals can be emitted at a proper angle, the heart rate detection accuracy is prevented from being influenced by the angle, and the heart rate measuring result accuracy is improved.
Further, as an implementation of the method shown in fig. 1 and fig. 2, an embodiment of the present invention provides a heart rate measuring apparatus. The embodiment of the apparatus corresponds to the embodiment of the method, and for convenience of reading, details in the embodiment of the apparatus are not repeated one by one, but it should be clear that the apparatus in the embodiment can correspondingly implement all the contents in the embodiment of the method. As shown in fig. 3 in detail, the apparatus includes:
a transmittingunit 31 for transmitting the blood vessel scanning signal to the human body through different angles;
an acquiringunit 32, configured to acquire a plurality of scanning reflection signals, where the plurality of scanning reflection signals are obtained by reflecting the blood vessel scanning signals of a plurality of different angles from the transmittingunit 31 after irradiating the human body;
a determiningunit 33, configured to determine a blood vessel reflection signal from the plurality of scanning reflection signals acquired by the acquiringunit 32, wherein the blood vessel reflection signal is a signal reflected by the blood vessel scanning signal after being irradiated to a blood vessel;
the measuringunit 34 may be configured to measure the heart rate of the human body according to the blood vessel reflection signal determined by the determiningunit 33.
Further, as shown in fig. 4, the transmittingunit 31 includes:
thefirst control module 311 may be configured to select a plurality of angles to transmit the blood vessel scanning signal to the human body by controlling a predetermined number of transmitters;
thesecond control module 312 may be configured to sequentially transmit the blood vessel scanning signal to the human body by controlling the transmitter with a plurality of fixed angles.
Further, as shown in fig. 4, the determiningunit 33 includes:
a calculating module 331, configured to calculate a signal-to-noise ratio of each scanning reflection signal according to the plurality of scanning reflection signals;
the first determining module 332 may be configured to determine, according to the signal-to-noise ratio calculated by the calculating module 331 and corresponding to each scanning reflection signal, a scanning reflection signal with a largest signal-to-noise ratio;
the second determining module 333 may be configured to determine the scan reflection signal with the largest signal-to-noise ratio determined by the first determining module 332 as the blood vessel reflection signal.
Further, as shown in fig. 4, themeasurement unit 34 includes:
a first determining module 341, configured to determine a corresponding blood vessel scanning signal according to the blood vessel reflection signal;
a second determining module 342, which may be configured to determine a corresponding emitter and an emission angle according to the blood vessel scanning signal determined by the first determining module 341;
the measuring module 343 may be configured to measure the heart rate of the human body within a preset time period by using the emitter and the emitting angle determined by the second determining module 342.
Since the heart rate measuring device described in this embodiment is a device capable of executing the heart rate measuring method in the embodiment of the present invention, based on the heart rate measuring method described in the embodiment of the present invention, a person skilled in the art can understand the specific implementation of the heart rate measuring device of this embodiment and various variations thereof, and therefore, how to implement the heart rate measuring method in the embodiment of the present invention by the heart rate measuring device is not described in detail herein. The device used by those skilled in the art to implement the heart rate measurement method in the embodiments of the present invention is within the protection scope of the present application.
Compared with the prior art that a large number of interference signals influence the accuracy of heart rate detection in the process of measuring the heart rate, the method and the device for measuring the heart rate provided by the embodiment of the invention can emit the blood vessel scanning signals to the human body through different angles, acquire the plurality of scanning reflection signals, determine the blood vessel reflection signals from the plurality of scanning reflection signals, and finally measure the heart rate of the human body according to the blood vessel reflection signals, so that the determination of the blood vessel reflection signals can be realized from the plurality of scanning reflection signals, the heart rate of the human body is measured based on the blood vessel reflection signals, the interference of the plurality of existing reflection signals in the measuring process can be avoided, and the accuracy of the measuring result is improved. Meanwhile, the blood vessel scanning signals are transmitted to the human body at different angles, and the actual blood vessel reflection signals are determined based on the different scanning reflection signals, so that the scheme can adapt to people with different body states, and has good adaptability.
Simultaneously through the transmitter of control predetermined quantity, select a plurality of angles and respectively to human transmission vessel scanning signal, can ensure to set up when the transmitter of variable angle in intelligent wearing equipment, can carry out the transmitting function of the vessel scanning signal of multi-angle to through the control transmitter that is provided with a plurality of fixed angles, to human transmission vessel scanning signal in proper order, then can ensure to carry out the transmitting function of multi-angle vessel scanning signal when the transmitter of a plurality of fixed angles that sets up in intelligent wearing equipment. Therefore, the heart rate testing method provided by the embodiment of the invention can be applied to wearing equipment with different hardware settings, and has better adaptability. In addition, the signal-to-noise ratio of each scanning reflection signal is calculated according to the plurality of scanning reflection signals, the scanning reflection signal with the maximum signal-to-noise ratio is determined according to the signal-to-noise ratio corresponding to each scanning reflection signal, then the scanning reflection signal with the maximum signal-to-noise ratio is determined as the blood vessel reflection signal, the blood vessel reflection signal in the plurality of scanning reflection signals can be determined according to the actual value of the signal-to-noise ratio, the accuracy of determining the blood vessel reflection signal is ensured, and the accuracy of the heart rate measurement result is integrally improved. And, through according to the blood vessel reflected signal, confirm corresponding blood vessel scanning signal, and according to blood vessel scanning signal confirms corresponding transmitter and transmission angle, rethread transmitter and transmission angle measure human rhythm of the heart in the time quantum of predetermineeing, can carry out the transmission of blood vessel scanning signal with a comparatively suitable angle, thereby avoid influencing rhythm of the heart detection accuracy because of the angle problem, improved the accuracy of rhythm of the heart measuring result.
The heart rate measuring device comprises a processor and a memory, wherein the transmitting unit, the acquiring unit, the determining unit, the measuring unit and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, and the problem that in the heart rate measurement process, interference signals are too much to influence the accuracy of the measurement effect is solved by adjusting kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
Embodiments of the present invention provide a non-transitory computer-readable storage medium storing computer instructions that cause a computer to perform the heart rate measurement method described in the above embodiments.
An embodiment of the present invention provides an electronic device, as shown in fig. 5, including:
at least oneprocessor 41;
and at least onememory 42, abus 43 connected to saidprocessor 41; wherein,
theprocessor 41 and thememory 42 complete mutual communication through thebus 43;
theprocessor 41 is configured to call program instructions in thememory 42 to perform the following steps: transmitting blood vessel scanning signals to a human body through different angles; acquiring a plurality of scanning reflection signals, wherein the plurality of scanning reflection signals are obtained by reflecting blood vessel scanning signals at a plurality of different angles after irradiating a human body; determining a blood vessel reflection signal from the plurality of scanning reflection signals, wherein the blood vessel reflection signal is a signal reflected by the blood vessel scanning signal after being irradiated to a blood vessel; and measuring the heart rate of the human body according to the blood vessel reflection signals.
Further, the emitting the blood vessel scanning signals to the human body through different angles comprises:
selecting a plurality of angles to respectively transmit blood vessel scanning signals to a human body by controlling a preset number of transmitters;
or,
the blood vessel scanning signals are sequentially transmitted to the human body by controlling the transmitters with a plurality of fixed angles.
Further, the determining the vascular reflection signal in the plurality of scanning reflection signals according to the signal-to-noise ratio corresponding to each scanning reflection signal in the plurality of scanning reflection signals includes:
calculating the signal-to-noise ratio of each scanning reflection signal according to the plurality of scanning reflection signals;
determining the scanning reflection signal with the maximum signal-to-noise ratio according to the signal-to-noise ratio corresponding to each scanning reflection signal;
and determining the scanning reflection signal with the largest signal-to-noise ratio as the blood vessel reflection signal.
Further, the measuring the heart rate of the human body according to the blood vessel reflection signal comprises:
determining a corresponding blood vessel scanning signal according to the blood vessel reflection signal;
determining a corresponding transmitter and a corresponding transmitting angle according to the blood vessel scanning signal;
and measuring the heart rate of the human body within a preset time period through the emitter and the emission angle.
The electronic device in the embodiment of the present invention may be a PC, a server, or the like.
The present application further provides a computer program product adapted to perform program code for initializing the following method steps when executed on a data processing device: transmitting blood vessel scanning signals to a human body through different angles; acquiring a plurality of scanning reflection signals, wherein the plurality of scanning reflection signals are obtained by reflecting blood vessel scanning signals at a plurality of different angles after irradiating a human body; determining a blood vessel reflection signal from the plurality of scanning reflection signals, wherein the blood vessel reflection signal is a signal reflected by the blood vessel scanning signal after being irradiated to a blood vessel; and measuring the heart rate of the human body according to the blood vessel reflection signals.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.