Heart rate detection method and device and storage medium
By sensing the pulse vibration information of the user in the terminal device using a linear motor in the terminal device, the problem of additional configuration of heart rate detection sensors in the prior art is solved, and the function of heart rate detection is realized without increasing cost and complexity.
Patent Information
- Application Number
- CN202311465778.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-06
- Publication Date
- 2025-05-06
AI Technical Summary
In the prior art, terminal devices require additional configuration of heart rate detection sensors, which increases cost and design complexity.
By switching to the first working mode by the linear motor in the control terminal, the unenergized linear motor senses the pulse vibration information of the user, and realizing heart rate detection.
Without the need to add additional electronics within the terminal, the direct multiplexing of linear motors for heart rate detection reduces cost and design complexity.
Smart Images

Figure CN119924805A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of terminal technology, and in particular to a heart rate detection method, device and storage medium. Background Art
[0002] With the improvement of living standards, people are paying more and more attention to the health of themselves and their families. As an important indicator for evaluating human health, heart rate is also receiving more and more attention. In order to meet people's needs, more and more terminals, such as mobile phones and watches, provide heart rate detection functions so that users can use the terminals to detect heart rate.
[0003] In order to realize heart rate detection using a terminal in the related art, a heart rate detection sensor, such as a piezoelectric sensor, is usually additionally configured in the terminal. The heart rate detection sensor is used to sense pulse vibration, thereby realizing the detection of the user's heart rate. Summary of the invention
[0004] In order to overcome the problems existing in the related art, the present disclosure provides a heart rate detection method, device and storage medium.
[0005] According to a first aspect of an embodiment of the present disclosure, there is provided a heart rate detection method, comprising:
[0006] When a heart rate detection instruction is detected, the linear motor of the control terminal is switched to a first working mode; the linear motor in the first working mode is in an unpowered state;
[0007] Using the linear motor in the first working mode to detect the heart rate of the user to be tested; wherein the linear motor in the first working mode is used to sense the pulse vibration information of the user to be tested;
[0008] Based on the pulse vibration information sensed by the linear motor, the heart rate information of the user to be measured is determined.
[0009] Optionally, the detecting the heart rate of the user to be detected by using the linear motor in the first working mode includes:
[0010] When the terminal is in contact with the skin of the user to be tested, the linear motor in the terminal vibrates along with the pulse vibration of the user to be tested;
[0011] Based on the vibration of the linear motor, the linear motor generates an induced electrical signal; the induced electrical signal is used to determine the pulse vibration information of the user to be measured.
[0012] Optionally, based on the vibration of the linear motor, the linear motor generates an induced electrical signal, comprising:
[0013] Based on the vibration of the linear motor, a magnet in the linear motor and a coil in the linear motor are relatively displaced;
[0014] Under the action of the relative displacement between the magnet and the coil, the coil cuts the magnetic flux lines to generate the induced electrical signal.
[0015] Optionally, the detecting of the heart rate detection instruction and controlling the linear motor of the terminal to switch to the first working mode includes:
[0016] The heart rate detection instruction is detected, and the power amplifier module in the terminal is connected to the coil of the linear motor; wherein the power amplifier module is used to monitor the induced electrical signal generated by the coil.
[0017] Optionally, determining the heart rate information of the user to be measured based on the pulse vibration information sensed by the linear motor includes:
[0018] Amplifying the induced electrical signal generated by the linear motor using a power amplifier module in the terminal;
[0019] Based on the amplified induced electrical signal, the heart rate information of the user to be measured is determined.
[0020] Optionally, determining the heart rate information of the user to be measured based on the amplified induced electrical signal includes:
[0021] Filtering the amplified induced electrical signal;
[0022] Based on the filtered induced electrical signal, a heart rate waveform curve of the user to be measured is obtained;
[0023] determining a peak value of the heart rate waveform curve;
[0024] The heart rate of the user to be measured is determined based on the peak value of the heart rate waveform curve.
[0025] Optionally, the method further comprises:
[0026] After completing the heart rate detection of the user to be tested, the linear motor is controlled to switch to the second working mode; wherein the linear motor in the second working mode generates vibration when powered on.
[0027] According to a second aspect of an embodiment of the present disclosure, there is provided a heart rate detection device, comprising:
[0028] A control module, configured to detect a heart rate detection instruction and control the linear motor of the terminal to switch to a first working mode; the linear motor in the first working mode is in an unpowered state;
[0029] A detection module is used to perform heart rate detection on a user to be tested using the linear motor in the first working mode; and to determine the heart rate information of the user to be tested based on the pulse vibration information sensed by the linear motor; wherein the linear motor in the first working mode is used to sense the pulse vibration information of the user to be tested.
[0030] Optionally, the detection module is used to:
[0031] When the terminal is in contact with the skin of the user to be tested, the linear motor in the terminal vibrates along with the pulse vibration of the user to be tested;
[0032] Based on the vibration of the linear motor, the linear motor generates an induced electrical signal; the induced electrical signal is used to determine the pulse vibration information of the user to be measured.
[0033] Optionally, the detection module is used to:
[0034] Based on the vibration of the linear motor, a magnet in the linear motor and a coil in the linear motor are relatively displaced;
[0035] Under the action of the relative displacement between the magnet and the coil, the coil cuts the magnetic flux lines to generate the induced electrical signal.
[0036] Optionally, the control module is used to:
[0037] The heart rate detection instruction is detected, and the power amplifier module in the terminal is connected to the coil of the linear motor; wherein the power amplifier module is used to monitor the induced electrical signal generated by the coil.
[0038] Optionally, the detection module is used to:
[0039] Amplifying the induced electrical signal generated by the linear motor using a power amplifier module in the terminal;
[0040] Based on the amplified induced electrical signal, the heart rate information of the user to be measured is determined.
[0041] Optionally, the detection module is used to:
[0042] Filtering the amplified induced electrical signal;
[0043] Based on the filtered induced electrical signal, a heart rate waveform curve of the user to be measured is obtained;
[0044] determining a peak value of the heart rate waveform curve;
[0045] The heart rate of the user to be measured is determined based on the peak value of the heart rate waveform curve.
[0046] Optionally, the control module is used to: after completing the heart rate detection of the user to be tested, control the linear motor to switch to a second working mode; wherein the linear motor in the second working mode generates vibration when powered on.
[0047] According to a third aspect of an embodiment of the present disclosure, there is provided a heart rate detection device, comprising:
[0048] processor;
[0049] a memory for storing executable instructions;
[0050] Wherein, the processor is configured to: when executing the executable instructions stored in the memory, implement the steps in the heart rate detection method described in the first aspect of the embodiment of the present disclosure.
[0051] According to the fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided. When the instructions in the storage medium are executed by a processor of a heart rate detection device, the heart rate detection device is enabled to perform the steps in the heart rate detection method described in the first aspect of an embodiment of the present disclosure.
[0052] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0053] After detecting the heart rate detection instruction, the embodiment of the present disclosure controls the linear motor in the terminal to switch to the first working mode, and uses the linear motor in the first working mode to sense the pulse vibration information of the user to be tested, so as to determine the heart rate information of the user to be tested based on the pulse vibration information sensed by the linear motor; the heart rate detection of the user to be tested is achieved by directly reusing the existing electronic devices (i.e., the linear motor) in the terminal, without adding additional electronic devices for heart rate detection in the terminal, thereby reducing the cost of the terminal and reducing the design complexity of the terminal.
[0054] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0056] Figure 1 is a schematic diagram of heart rate detection based on radial artery according to an exemplary embodiment;
[0057] Figure 2 is a schematic diagram of heart rate detection based on carotid artery according to an exemplary embodiment;
[0058] Figure 3 is a schematic diagram of a process of performing heart rate detection based on a piezoelectric sensor according to an exemplary embodiment;
[0059] Figure 4 A heart rate detection method according to an exemplary embodiment is shown in FIG. Figure 1 ;
[0060] Figure 5 is a schematic diagram of an XY plane of an X-axis linear motor according to an exemplary embodiment;
[0061] Figure 6 is a schematic Z-direction cross-sectional view of an X-axis linear motor according to an exemplary embodiment;
[0062] Figure 7 A heart rate detection method according to an exemplary embodiment is shown in FIG. Figure 2 ;
[0063] Figure 8 is a structural schematic diagram of a heart rate detection device according to an exemplary embodiment;
[0064] Fig. 9 It is a block diagram of a terminal according to an exemplary embodiment. DETAILED DESCRIPTION
[0065] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices consistent with some aspects of the present disclosure as detailed in the appended claims.
[0066] As people pay more and more attention to health, more and more terminals are integrated with heart rate detection functions. In related technologies, terminals mainly implement heart rate detection in the following two ways:
[0067] First, considering that the amount of blood flowing from the heart to the fingers increases when the heart beats, the terminal's camera and flash can be used to obtain the frequency of changes in the blood in the fingers, and the heart rate information can be determined based on the frequency of changes in the blood.
[0068] Second, a piezoelectric sensor can be added to the terminal, and the piezoelectric sensor can be used to sense the vibration of the pulse, and the heart rate information can be determined based on the vibration information of the pulse.
[0069] It should be noted that the heart rate is the number of times the heart beats in one minute. It is understandable that the user's heart rate can be detected by detecting the user's pulse rate. Figure 1 and Figure 2 As shown, Figure 1 is a schematic diagram of heart rate detection based on radial artery according to an exemplary embodiment; Figure 2 1 is a schematic diagram of a heart rate detection based on the carotid artery according to an exemplary embodiment. It can be understood that the heart rate information can be determined by detecting the pulse of the radial artery at the wrist or the carotid artery at the neck.
[0070] It is worth noting that the principle of using piezoelectric sensors for heart rate detection is to use the inverse piezoelectric effect of piezoelectric sensors. In related technologies, a layer of skin-friendly flexible material is usually attached to the piezoelectric sensor. The impedance characteristics of this material are similar to those of human skin, so that the vibration of the skin (pulse vibration) can be transmitted to the piezoelectric sensor to the greatest extent.
[0071] like Figure 3 As shown, Figure 3 The present invention is a schematic diagram of a process of detecting heart rate based on a piezoelectric sensor according to an exemplary embodiment. The vibration of the pulse squeezes the piezoelectric sensor, causing the piezoelectric sensor to deform and generate a weak current; the current passes through the analog / digital conversion module and is then transmitted to the power amplifier module for amplification; the amplified electrical signal is input to the signal processing chip for low-pass or band-pass filtering to filter out interference noise other than the heart rate frequency, and then waveform and peak detection are performed to obtain heart rate information.
[0072] The present disclosure provides a heart rate detection method. Figure 4 As shown, Figure 4 A heart rate detection method according to an exemplary embodiment is shown in FIG. Figure 1 The method comprises:
[0073] Step S101, a heart rate detection instruction is detected, and the linear motor of the control terminal is switched to a first working mode; the linear motor in the first working mode is in an unpowered state;
[0074] Step S102, using the linear motor in the first working mode to detect the heart rate of the user to be tested; wherein the linear motor in the first working mode is used to sense the pulse vibration information of the user to be tested;
[0075] Step S103: determining the heart rate information of the user to be measured based on the pulse vibration information sensed by the linear motor.
[0076] The heart rate detection method shown in the embodiment of the present disclosure can be applied to a terminal, which may include: a smart phone, a tablet computer or a wearable electronic device, etc.
[0077] In step S101, in response to a heart rate detection instruction input by a user, a linear motor in the terminal may be controlled to switch to a first operating mode.
[0078] It should be noted that the heart rate detection instruction input by the user can be an instruction generated based on the user's startup operation of the heart rate detection application in the terminal, or can be an instruction generated based on the call operation of other applications to the heart rate detection application, etc., and the embodiments of the present disclosure are not limited to this.
[0079] The linear motor is an electronic device integrated into the shell of the terminal. The linear motor can provide vibration feedback for the terminal. For example, it can realize functions such as incoming call vibration and alarm vibration.
[0080] like Figure 5 and Figure 6 As shown, Figure 5 is a schematic diagram of an XY plane of an X-axis linear motor according to an exemplary embodiment; Figure 6 1 is a schematic diagram of a Z-direction cross-section of an X-axis linear motor according to an exemplary embodiment. The linear motor 10 includes a mass block 11, a magnet 12, a spring 13, a magnetic plate 14, and a coil 15. When an excitation signal (AC signal) is input to the coil 15 of the linear motor 10, the mass block 11, the magnet 12, and the coil 15 in the linear motor 10 are relatively displaced under the action of the excitation signal, thereby providing vibration feedback.
[0081] The linear motor in the first working mode is in an unpowered state, which can be understood as no excitation signal is input to the coil of the linear motor, that is, the coil of the linear motor is not powered.
[0082] In step S102, the terminal may be placed at the radial artery on the wrist of the user to be tested, or the terminal may be placed at the carotid artery on the neck of the user to be tested, and the linear motor in the terminal may be used to detect pulse vibration information of the radial artery or the carotid artery.
[0083] It is worth noting that since the carotid artery has a larger blood flow and the pulse vibration effect of the carotid artery is more obvious, the terminal can be placed on the carotid artery of the user's neck to improve the accuracy of heart rate detection.
[0084] In step S103, the pulse rate of the user to be measured can be determined according to the pulse vibration information sensed by the linear motor, and then the heart rate information of the user to be measured can be determined according to the pulse rate of the user to be measured.
[0085] After detecting the heart rate detection instruction, the embodiment of the present disclosure controls the linear motor in the terminal to switch to the first working mode, and uses the linear motor in the first working mode to sense the pulse vibration information of the user to be tested, so as to determine the heart rate information of the user to be tested based on the pulse vibration information sensed by the linear motor; the heart rate detection of the user to be tested is achieved by directly reusing the existing electronic devices (i.e., the linear motor) in the terminal, without adding additional electronic devices for heart rate detection in the terminal, thereby reducing the cost of the terminal and reducing the design complexity of the terminal.
[0086] Optionally, the detecting the heart rate of the user to be detected by using the linear motor in the first working mode includes:
[0087] When the terminal is in contact with the skin of the user to be tested, the linear motor in the terminal vibrates along with the pulse vibration of the user to be tested;
[0088] Based on the vibration of the linear motor, the linear motor generates an induced electrical signal; the induced electrical signal is used to determine the pulse vibration information of the user to be measured.
[0089] In the disclosed embodiment, during the heart rate detection process, the terminal may be placed at the radial artery or carotid artery of the user to be measured, and as the pulse of the radial artery or carotid artery of the user to be measured vibrates, the shell of the terminal vibrates accordingly.
[0090] Since the linear motor includes a magnet and a coil, when the linear motor vibrates, the magnetic flux passing through the coil in the linear motor changes continuously with the vibration of the linear motor, and the coil undergoes electromagnetic induction to generate an induced electrical signal. The pulse vibration information of the user to be tested can be determined by detecting the changes in the induced electrical signal generated by the coil.
[0091] It is understandable that the change of the induced electrical signal generated by the coil can reflect the change of the magnetic flux and the vibration of the linear motor, and then determine the pulse vibration information of the user to be measured based on the vibration of the linear motor.
[0092] The disclosed embodiment brings the terminal into contact with the skin of the user to be tested so that the pulse of the user to be tested vibrates, which can drive the linear motor in the terminal to vibrate accordingly. The vibration of the linear motor then causes the linear motor to generate an induced electrical signal that can reflect the pulse vibration information of the user to be tested, thereby realizing heart rate detection using the linear motor.
[0093] Optionally, based on the vibration of the linear motor, the linear motor generates an induced electrical signal, comprising:
[0094] Based on the vibration of the linear motor, a magnet in the linear motor and a coil in the linear motor are relatively displaced;
[0095] Under the action of the relative displacement between the magnet and the coil, the coil cuts the magnetic flux lines to generate the induced electrical signal.
[0096] In the disclosed embodiment, since the linear motor is fixedly disposed in the shell, the shell drives the linear motor to vibrate along with the pulse vibration of the radial artery or carotid artery of the user to be measured, so that the mass block in the linear motor drives the magnet to perform reciprocating linear motion in the shell of the linear motor, causing relative displacement between the magnet and the coil.
[0097] It should be noted that the coil in the linear motor is a closed circuit located within the magnetic field generated by the magnet.
[0098] The relative displacement of the magnet and the coil causes the coil to cut the magnetic flux lines in the magnetic field formed by the magnet, and the magnetic flux passing through the coil changes, generating a changing induced electrical signal in the coil. Therefore, by monitoring the changes in the induced electrical signal generated by the coil, the vibration of the magnet can be determined, thereby determining the heart rate information of the user to be measured.
[0099] It is worth noting that the embodiment of the present disclosure brings the terminal into contact with the skin of the user to be measured (contact with the radial artery or the carotid artery), and based on the pulse vibration of the user to be measured, drives the vibration of the linear motor in the terminal, thereby causing the magnet in the coil motor to vibrate accordingly, and utilizes the moving magnet to generate a changing magnetic field, so that the coil generates a changing induced electrical signal, thereby realizing the monitoring of pulse vibration and thus the monitoring of heart rate.
[0100] Optionally, the detecting of the heart rate detection instruction and controlling the linear motor of the terminal to switch to the first working mode includes:
[0101] The heart rate detection instruction is detected, and the power amplifier module in the terminal is connected to the coil of the linear motor; wherein the power amplifier module is used to monitor the induced electrical signal generated by the coil.
[0102] In the embodiment of the present disclosure, the terminal may include a power amplification module; it can be understood that the power amplification module is used to amplify the power of the input signal.
[0103] When a heart rate detection instruction input by the user is detected, the power amplifier module and the coil of the linear motor can be connected so that the induced electrical signal generated by the coil can be used as an input signal of the power amplifier module.
[0104] In some embodiments, the terminal may include a controlled switch, a first end of the controlled switch is connected to the coil of the linear motor, and a second end of the controlled switch is connected to the input end of the power amplifier module.
[0105] When a heart rate detection instruction input by the user is detected, the controlled switch can be controlled to be turned on, so that the coil of the linear motor is connected to the power amplifier module.
[0106] In some embodiments, the power amplifier module may be a smart power amplifier module (smart PA) in the terminal; the coil may be connected to a current / voltage (I / V) feedback interface of the smart PA.
[0107] It is worth noting that the I / V feedback interface of the smart PA can implement a temperature protection mechanism; while the smart PA outputs a drive signal, the impedance characteristics of the load can be determined using a feedback voltage signal or a feedback current signal. Since the impedance of the coil in the load is strongly related to the temperature, the coil temperature of the load can be indirectly monitored to achieve the purpose of temperature protection.
[0108] In the embodiment of the present disclosure, when a heart rate detection instruction is detected, the coil of the linear motor can be connected to the I / V feedback interface of the smart PA, and the induced electrical signal generated by the coil can be monitored using the I / V feedback interface to obtain the pulse vibration information of the user to be tested sensed by the linear motor.
[0109] The disclosed embodiment connects the coil in the linear motor and the power amplifier module when a heart rate detection instruction is detected, so as to monitor the induced electrical signal generated by the coil in the linear motor by using the existing power amplifier module in the terminal.
[0110] Optionally, determining the heart rate information of the user to be measured based on the pulse vibration information sensed by the linear motor includes:
[0111] Amplifying the induced electrical signal generated by the linear motor using a power amplifier module in the terminal;
[0112] Based on the amplified induced electrical signal, the heart rate information of the user to be measured is determined.
[0113] In the embodiment of the present disclosure, after connecting the power amplifier module and the coil of the linear motor, the power amplifier module can be used to monitor the induced electrical signal generated by the coil and amplify the induced electrical signal generated by the coil; so as to determine the heart rate information of the user to be measured based on the amplified induced electrical signal.
[0114] In some embodiments, the amplified induced electrical signal may be subjected to analog-to-digital conversion to convert the induced electrical signal (analog electrical signal) into a digital signal; and the heart rate information of the user to be measured may be determined based on the digital signal.
[0115] The specific description of the process of converting the analog electrical signal into a digital signal can be found in the relevant technology, and the embodiments of the present disclosure will not be described in detail here.
[0116] The disclosed embodiment can utilize the power amplifier module of the terminal to amplify the induced electrical signal generated by the coil inside the linear motor, and determine the heart rate information of the user to be tested based on the amplified induced electrical signal, so as to improve the accuracy of heart rate detection.
[0117] Optionally, determining the heart rate information of the user to be measured based on the amplified induced electrical signal includes:
[0118] Filtering the amplified induced electrical signal;
[0119] Based on the filtered induced electrical signal, a heart rate waveform curve of the user to be measured is obtained;
[0120] determining a peak value of the heart rate waveform curve;
[0121] The heart rate of the user to be measured is determined based on the peak value of the heart rate waveform curve.
[0122] In the embodiment of the present disclosure, the amplified induced electrical signal may be filtered to filter out interference noise.
[0123] Here, the filtering process may include: low-pass filtering process or band-pass filtering process.
[0124] It can be understood that by filtering the induced electrical signal to filter out interference noise outside the heart rate fluctuation frequency range, the heart rate fluctuation frequency range is focused.
[0125] After the filtering process of the induced electrical signal is completed, the waveform detection can be performed on the filtered induced electrical signal to obtain the heart rate waveform curve of the user to be tested.
[0126] After the heart rate waveform curve of the user to be measured is determined, the peak value of the heart rate waveform curve can be determined, and the heart rate frequency of the user to be measured can be determined according to the number of peak values in the heart rate waveform curve.
[0127] In some embodiments, after the heart rate waveform curve and the heart rate frequency of the user to be measured are obtained, the heart rate waveform curve and the heart rate frequency of the user to be measured can be output to complete the heart rate detection of the user to be measured.
[0128] The disclosed embodiment filters the induced electrical signal generated by the linear motor with pulse vibration, and performs waveform detection and peak detection on the filtered induced electrical signal to determine the heart rate information of the user to be tested, thereby reducing external electromagnetic interference during the heart rate detection process and improving the accuracy of heart rate detection.
[0129] Optionally, the method further comprises:
[0130] After completing the heart rate detection of the user to be tested, the linear motor is controlled to switch to the second working mode; wherein the linear motor in the second working mode generates vibration when powered on.
[0131] In the embodiment of the present disclosure, after completing the heart rate detection of the user to be tested, the linear motor can be controlled to switch from the first working mode to the second working mode.
[0132] In some embodiments, after completing the heart rate detection of the user to be tested, the connection between the linear motor and the power amplification module can be disconnected, and the linear motor can be switched from the first working mode to the second working mode.
[0133] The linear motor in the second working mode generates vibration when powered on. It can be understood that the linear motor in the second working mode can provide vibration feedback.
[0134] The working process of the linear motor in the second working mode: when an excitation signal (AC signal) is input to the coil of the linear motor, under the action of the excitation signal, the coil in the linear motor generates an alternating magnetic field, so that an attractive force or a repulsive force can be generated between the coil and the magnet. Specifically, when an attractive force is generated between the coil and the magnet, under the action of the attractive force, the magnet drives the mass block to move in the direction close to the coil, and a spring in the linear motor is in a compressed state due to the pressure of the mass block; when a repulsive force is generated between the coil and the magnet, the mass block can move in the direction away from the coil under the action of the repulsive force and the elastic deformation recovery force of the spring. In this way, the mass block reciprocates in a straight line within the adjustable range of the linear motor, thereby causing the linear motor to vibrate.
[0135] The present disclosure also provides a heart rate detection method. Figure 7 As shown, Figure 7 A heart rate detection method according to an exemplary embodiment is shown in FIG. Figure 2 .
[0136] When the user performs signaling detection, the linear motor path can be opened, but no excitation signal is provided to the linear motor, so that the linear motor is in the initial state, and the linear motor is connected to the I / V detection interface of the smart PA at the same time.
[0137] The terminal shell is placed close to the user's carotid artery. At this time, the pulse vibration of the carotid artery will drive the terminal shell to shake, further driving the linear motor to shake.
[0138] When the linear motor shakes, it will cause relative displacement of the mass block and coil inside the linear motor. At this time, the coil cutting the magnetic flux lines will generate an alternating current signal. It should be noted that when the pulse vibration is transmitted to the terminal shell, the slight shaking of the shell will cause the mass block and coil inside the linear motor to move relative to each other; because the mass block is connected to the magnet, the coil and the magnet will move relative to each other, so that the coil cuts the magnetic flux lines to generate an induced current.
[0139] The alternating current signal is detected by the smart PA, and after the smart PA amplifies the current signal, the amplified current signal is input into the DSP chip.
[0140] The DSP chip uses an algorithm to filter the signal (low-pass filtering or band-pass filtering to filter out background noise and reject the signal fluctuation frequency range), and performs waveform detection on the filtered signal.
[0141] It can be understood that the detected waveform is the user's heart rate waveform, and the number of waveform repetitions is the user's heart rate frequency.
[0142] The embodiment of the present disclosure also provides a heart rate detection device. Figure 8 is a structural schematic diagram of a heart rate detection device according to an exemplary embodiment. Figure 8 As shown, the device 100 includes:
[0143] The control module 101 is used to detect the heart rate detection instruction and control the linear motor of the terminal to switch to a first working mode; the linear motor in the first working mode is in an unpowered state;
[0144] The detection module 102 is used to perform heart rate detection on the user to be tested using the linear motor in the first working mode; based on the pulse vibration information sensed by the linear motor, the heart rate information of the user to be tested is determined; wherein the linear motor in the first working mode is used to sense the pulse vibration information of the user to be tested.
[0145] Optionally, the detection module 102 is used to:
[0146] When the terminal is in contact with the skin of the user to be tested, the linear motor in the terminal vibrates along with the pulse vibration of the user to be tested;
[0147] Based on the vibration of the linear motor, the linear motor generates an induced electrical signal; the induced electrical signal is used to determine the pulse vibration information of the user to be measured.
[0148] Optionally, the detection module 102 is used to:
[0149] Based on the vibration of the linear motor, a magnet in the linear motor and a coil in the linear motor are relatively displaced;
[0150] Under the action of the relative displacement between the magnet and the coil, the coil cuts the magnetic flux lines to generate the induced electrical signal.
[0151] Optionally, the control module 101 is used to:
[0152] The heart rate detection instruction is detected, and the power amplifier module in the terminal is connected to the coil of the linear motor; wherein the power amplifier module is used to monitor the induced electrical signal generated by the coil.
[0153] Optionally, the detection module 102 is used to:
[0154] Amplifying the induced electrical signal generated by the linear motor using a power amplifier module in the terminal;
[0155] Based on the amplified induced electrical signal, the heart rate information of the user to be measured is determined.
[0156] Optionally, the detection module 102 is used to:
[0157] Filtering the amplified induced electrical signal;
[0158] Based on the filtered induced electrical signal, a heart rate waveform curve of the user to be measured is obtained;
[0159] determining a peak value of the heart rate waveform curve;
[0160] The heart rate of the user to be measured is determined based on the peak value of the heart rate waveform curve.
[0161] Optionally, the control module is used to: after completing the heart rate detection of the user to be tested, control the linear motor to switch to a second working mode; wherein the linear motor in the second working mode generates vibration when powered on.
[0162] Fig. 9 800 is a block diagram of a terminal according to an exemplary embodiment. For example, the terminal 800 may be a mobile phone, a mobile computer, etc.
[0163] Reference Fig. 9 The terminal 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0164] The processing component 802 generally controls the overall operation of the terminal 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0165] The memory 804 is configured to store various types of data to support operations at the terminal 800. Examples of such data include instructions for any application or method operating on the terminal 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic disk, or an optical disk.
[0166] Power component 806 provides power to various components of terminal 800. Power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to terminal 800.
[0167] The multimedia component 808 includes a screen that provides an output interface between the terminal 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the terminal 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0168] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the terminal 800 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0169] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0170] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the terminal 800. For example, the sensor assembly 814 can detect the open / closed state of the terminal 800, the relative positioning of the components, such as the display and keypad of the terminal 800, and the sensor assembly 814 can also detect the position change of the terminal 800 or a component of the terminal 800, the presence or absence of contact between the user and the terminal 800, the orientation or acceleration / deceleration of the terminal 800 and the temperature change of the terminal 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
[0171] The communication component 816 is configured to facilitate wired or wireless communication between the terminal 800 and other devices. The terminal 800 can access a wireless network based on a communication standard, such as Wi-Fi, 4G or 5G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0172] In an exemplary embodiment, terminal 800 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above methods.
[0173] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of the terminal 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0174] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0175] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A heart rate detection method, characterized in that: The method comprises: When a heart rate detection instruction is detected, the linear motor of the control terminal is switched to a first working mode; the linear motor in the first working mode is in an unpowered state; Using the linear motor in the first working mode to detect the heart rate of the user to be tested; wherein the linear motor in the first working mode is used to sense the pulse vibration information of the user to be tested; Based on the pulse vibration information sensed by the linear motor, the heart rate information of the user to be measured is determined.
2. The method according to claim 1, characterized in that The method of using the linear motor in the first working mode to detect the heart rate of the user to be tested includes: When the terminal is in contact with the skin of the user to be tested, the linear motor in the terminal vibrates along with the pulse vibration of the user to be tested; Based on the vibration of the linear motor, the linear motor generates an induced electrical signal; the induced electrical signal is used to determine the pulse vibration information of the user to be measured.
3. The method according to claim 2, characterized in that Based on the vibration of the linear motor, the linear motor generates an induced electrical signal, including: Based on the vibration of the linear motor, a magnet in the linear motor and a coil in the linear motor are relatively displaced; Under the action of the relative displacement between the magnet and the coil, the coil cuts the magnetic flux lines to generate the induced electrical signal.
4. The method according to any one of claims 1 to 3, characterized in that: The detecting of the heart rate detection instruction and controlling the linear motor of the terminal to switch to the first working mode include: The heart rate detection instruction is detected, and the power amplifier module in the terminal is connected to the coil of the linear motor; wherein the power amplifier module is used to monitor the induced electrical signal generated by the coil.
5. The method according to claim 4, characterized in that The step of determining the heart rate information of the user to be measured based on the pulse vibration information sensed by the linear motor includes: Amplifying the induced electrical signal generated by the linear motor using a power amplifier module in the terminal; Based on the amplified induced electrical signal, the heart rate information of the user to be measured is determined.
6. The method according to claim 5, characterized in that The step of determining the heart rate information of the user to be measured based on the amplified induced electrical signal includes: Filtering the amplified induced electrical signal; Based on the filtered induced electrical signal, a heart rate waveform curve of the user to be measured is obtained; determining a peak value of the heart rate waveform curve; The heart rate of the user to be measured is determined based on the peak value of the heart rate waveform curve.
7. The method according to claim 1, characterized in that The method further comprises: After completing the heart rate detection of the user to be tested, the linear motor is controlled to switch to the second working mode; wherein the linear motor in the second working mode generates vibration when powered on.
8. A heart rate detection device, characterized in that: The device comprises: A control module, configured to detect a heart rate detection instruction and control the linear motor of the terminal to switch to a first working mode; the linear motor in the first working mode is in an unpowered state; A detection module is used to perform heart rate detection on a user to be tested using the linear motor in the first working mode; based on the pulse vibration information sensed by the linear motor, the heart rate information of the user to be tested is determined; wherein the linear motor in the first working mode is used to sense the pulse vibration information of the user to be tested.
9. A heart rate detection device, characterized in that: include: processor; a memory for storing executable instructions; Wherein, the processor is configured to: implement the heart rate detection method according to any one of claims 1 to 7 when executing the executable instructions stored in the memory. 10 . A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of a heart rate detection device, the heart rate detection device is enabled to perform the heart rate detection method according to any one of claims 1 to 7.