CN110811579A - Heart rate curve generation method, heart rate measurement device and storage medium - Google Patents

Heart rate curve generation method, heart rate measurement device and storage medium Download PDF

Info

Publication number
CN110811579A
CN110811579A CN201911188799.0A CN201911188799A CN110811579A CN 110811579 A CN110811579 A CN 110811579A CN 201911188799 A CN201911188799 A CN 201911188799A CN 110811579 A CN110811579 A CN 110811579A
Authority
CN
China
Prior art keywords
heart rate
interface
intelligent wearable
wearable device
rate curve
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911188799.0A
Other languages
Chinese (zh)
Inventor
王德信
王董董
张学军
付晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Goertek Intelligent Sensor Co Ltd
Original Assignee
Qingdao Goertek Intelligent Sensor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Goertek Intelligent Sensor Co Ltd filed Critical Qingdao Goertek Intelligent Sensor Co Ltd
Priority to CN201911188799.0A priority Critical patent/CN110811579A/en
Publication of CN110811579A publication Critical patent/CN110811579A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/0205Simultaneously evaluating both cardiovascular conditions and different types of body conditions, e.g. heart and respiratory condition
    • 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/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/0245Detecting, measuring or recording pulse rate or heart rate by using sensing means generating electric signals, i.e. ECG signals
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/318Heart-related electrical modalities, e.g. electrocardiography [ECG]
    • 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
    • A61B5/6803Head-worn items, e.g. helmets, masks, headphones or goggles
    • 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
    • A61B5/681Wristwatch-type devices

Landscapes

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

Abstract

The invention discloses a method for generating a heart rate curve, which comprises the following steps: acquiring heart rate data acquired by intelligent wearable equipment, wherein the intelligent wearable equipment is used for acquiring ECG (electrocardiogram) data and PPG (photoplethysmography) photoelectric detection data of a user as the heart rate data; generating a heart rate curve from the heart rate data, the heart rate curve comprising an ECG electrocardiogram curve and/or a PPG heart rate curve; and displaying the heart rate curve according to the current display interface. The invention also discloses a heart rate measuring device and a computer readable storage medium. The heart rate measurement method and the device realize heart rate measurement of the user by the intelligent wearable device based on multi-sensor fusion.

Description

Heart rate curve generation method, heart rate measurement device and storage medium
Technical Field
The invention relates to the technical field of human body heart rate measurement, in particular to a heart rate curve generation method, heart rate measurement equipment and a computer readable storage medium.
Background
Along with the development of science and technology, people attach more and more importance to the health of oneself, and intelligence wearing equipment has received people's favor because the measurement of healthy focus such as heart rate blood oxygen is convenient in time. In order to meet the requirements of multifunction and portability of the intelligent wearable device, it is a development trend to apply sip (system In a package) system-In-package technology to assemble the intelligent wearable device. At present, a module function test system is urgently needed to be developed, and the heart rate measurement function of intelligent wearable equipment with SIP packaged multi-sensor fusion is realized.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a heart rate curve generation method, heart rate measurement equipment and a computer readable storage medium, which are used for realizing heart rate measurement of a user by intelligent wearable equipment based on multi-sensor fusion.
In order to achieve the above object, the present invention provides a method for generating a heart rate curve, which includes the following steps:
acquiring heart rate data acquired by intelligent wearable equipment, wherein the intelligent wearable equipment is used for acquiring ECG (electrocardiogram) data and PPG (photoplethysmography) photoelectric detection data of a user as the heart rate data;
generating a heart rate curve from the heart rate data, the heart rate curve comprising an ECG electrocardiogram curve and/or a PPG heart rate curve;
and displaying the heart rate curve according to the current display interface.
Optionally, the method for generating a heart rate curve is applied to a heart rate measuring device, the heart rate measuring device includes a system operation interface, the system operation interface includes a main interface, the main interface is used for displaying the display interface, and the display interface includes at least one of a first display interface, a second display interface and a third display interface;
the step of displaying the heart rate curve according to the current display interface comprises:
when the current display interface is the first display interface, displaying the ECG electrocardiogram curve;
when the current display interface is the second display interface, displaying the PPG heart rate curve;
and when the current display interface is the third display interface, the ECG electrocardiogram curve and the PPG heart rate curve are displayed in parallel.
Optionally, the main interface further includes a setting interface, and the step of acquiring the heart rate data acquired by the intelligent wearable device includes:
acquiring heart rate data acquired by the intelligent wearable equipment according to a test mode set based on the setting interface;
wherein the test mode comprises at least one of an ECG test mode and a PPG test mode;
the setting interface is further used for setting sampling parameters of the intelligent wearable device, and the sampling parameters comprise at least one of a current parameter, a sampling frequency, a light emitting diode enabled by the PPG test mode and a photodiode enabled by the PPG test mode.
Optionally, after the step of generating a heart rate curve according to the heart rate data, the method further includes:
when the currently set test mode is the ECG test mode, switching the sub-interface currently displayed by the main interface from the setting interface to the first display interface;
when the currently set test mode is the PPG test mode, switching the sub-interface currently displayed on the main interface from the set interface to the second display interface;
and when the currently set test mode is the ECG test mode and the PPG test mode, switching the sub-interface currently displayed on the main interface from the set interface to the third display interface.
Optionally, the system operation interface further includes an intelligent wearable device connection interface, and before the step of acquiring the heart rate data acquired by the intelligent wearable device, the method further includes:
when an intelligent wearable device searching instruction sent based on the intelligent wearable device connecting interface is received, searching the intelligent wearable device by adopting Bluetooth communication;
displaying the searched intelligent wearable equipment in the intelligent wearable equipment connection interface;
and when a selected instruction of the intelligent wearable device displayed on the connection interface of the intelligent wearable device is received, establishing Bluetooth communication connection with the intelligent wearable device corresponding to the selected instruction.
Optionally, before the step of acquiring the heart rate data acquired by the smart wearable device, the method further includes:
sending a data transmission opening signal to the intelligent wearable device so that the intelligent wearable device updates an index value to be a first preset value;
when the index value is updated to the first preset value, the intelligent wearable device sends acquired heart rate data to the home terminal.
Optionally, the method for generating a heart rate curve further includes:
sending a data transmission closing signal to the intelligent wearable device so that the intelligent wearable device updates the index value to a second preset value;
when the index value is updated to the second preset value, the intelligent wearable device stops sending the acquired heart rate data to the local terminal.
Optionally, after the step of sending a data transmission turn-on signal to the smart wearable device, the method further includes:
when receiving heart rate data sent by the intelligent wearable device, acquiring device information of the intelligent wearable device, wherein the device information comprises at least one of electric quantity information, a device name and a device model;
and when the heart rate curve is displayed, the equipment information and the heart rate curve are displayed in a correlation mode.
To achieve the above object, the present invention also provides a heart rate measuring apparatus including:
the heart rate measuring device comprises a memory, a processor and a heart rate curve generating program stored on the memory and capable of running on the processor, wherein the heart rate curve generating program realizes the steps of the heart rate curve generating method when being executed by the processor.
In order to achieve the above object, the present invention further provides a computer-readable storage medium, on which a heart rate curve generation program is stored, and when the heart rate curve generation program is executed by a processor, the steps of the method for generating a heart rate curve as described above are implemented.
The generation method of the heart rate curve, the heart rate measuring device and the computer readable storage medium provided by the invention are used for acquiring heart rate data acquired by intelligent wearable equipment, wherein the intelligent wearable equipment is used for acquiring ECG data and PPG photoelectric detection data of a user as the heart rate data; generating a heart rate curve from the heart rate data, the heart rate curve comprising an ECG electrocardiogram curve and/or a PPG heart rate curve; and displaying the heart rate curve according to the current display interface. Like this, realized carrying out heart rate measurement to the user based on the intelligent wearing equipment of multisensor integration.
Drawings
Fig. 1 is a schematic diagram of a hardware operating environment of a terminal according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a method for generating a heart rate curve according to the present invention;
fig. 3 is a flowchart illustrating a method for generating a heart rate curve according to a second embodiment of the present 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.
The invention provides a method for generating a heart rate curve, which realizes heart rate measurement of a user by intelligent wearable equipment based on multi-sensor fusion.
As shown in fig. 1, fig. 1 is a schematic diagram of a hardware operating environment of a terminal according to an embodiment of the present invention;
the terminal of the embodiment of the invention can be a heart rate measuring device or a heart rate detecting system, and can also be a control terminal or a server of the heart rate measuring device.
As shown in fig. 1, the terminal may include: a processor 1001, such as a Central Processing Unit (CPU), a memory 1002, and a communication bus 1003. The communication bus 1003 is used for implementing connection communication between the components in the terminal. The memory 1002 may be a random-access memory (RAM) or a non-volatile memory (non-volatile memory), such as a disk memory. The memory 1002 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration of the terminal shown in fig. 1 is not intended to be limiting of the terminal of embodiments of the present invention and may include more or less components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a heart rate curve generation program may be included in the memory 1002, which is a type of computer storage medium.
In the terminal shown in fig. 1, the processor 1001 may be configured to invoke a generation procedure of the heart rate curve stored in the memory 1002 and perform the following operations:
acquiring heart rate data acquired by intelligent wearable equipment, wherein the intelligent wearable equipment is used for acquiring ECG (electrocardiogram) data and PPG (photoplethysmography) photoelectric detection data of a user as the heart rate data;
generating a heart rate curve from the heart rate data, the heart rate curve comprising an ECG electrocardiogram curve and/or a PPG heart rate curve;
and displaying the heart rate curve according to the current display interface.
Further, the processor 1001 may invoke a generation program of the heart rate curve stored in the memory 1002, and also perform the following operations:
the generation method of the heart rate curve is applied to heart rate measuring equipment, the heart rate measuring equipment comprises a system operation interface, the system operation interface comprises a main interface, the main interface is used for displaying the display interface, and the display interface comprises at least one of a first display interface, a second display interface and a third display interface;
the step of displaying the heart rate curve according to the current display interface comprises:
when the current display interface is the first display interface, displaying the ECG electrocardiogram curve;
when the current display interface is the second display interface, displaying the PPG heart rate curve;
and when the current display interface is the third display interface, the ECG electrocardiogram curve and the PPG heart rate curve are displayed in parallel.
Further, the processor 1001 may invoke a generation program of the heart rate curve stored in the memory 1002, and also perform the following operations:
the main interface further comprises a setting interface, and the step of acquiring the heart rate data acquired by the intelligent wearable device comprises the following steps:
acquiring heart rate data acquired by the intelligent wearable equipment according to a test mode set based on the setting interface;
wherein the test mode comprises at least one of an ECG test mode and a PPG test mode;
the setting interface is further used for setting sampling parameters of the intelligent wearable device, and the sampling parameters comprise at least one of a current parameter, a sampling frequency, a light emitting diode enabled by the PPG test mode and a photodiode enabled by the PPG test mode.
Further, the processor 1001 may invoke a generation program of the heart rate curve stored in the memory 1002, and also perform the following operations:
when the currently set test mode is the ECG test mode, switching the sub-interface currently displayed by the main interface from the setting interface to the first display interface;
when the currently set test mode is the PPG test mode, switching the sub-interface currently displayed on the main interface from the set interface to the second display interface;
and when the currently set test mode is the ECG test mode and the PPG test mode, switching the sub-interface currently displayed on the main interface from the set interface to the third display interface.
Further, the processor 1001 may invoke a generation program of the heart rate curve stored in the memory 1002, and also perform the following operations:
when an intelligent wearable device searching instruction sent based on the intelligent wearable device connecting interface is received, searching the intelligent wearable device by adopting Bluetooth communication;
displaying the searched intelligent wearable equipment in the intelligent wearable equipment connection interface;
and when a selected instruction of the intelligent wearable device displayed on the connection interface of the intelligent wearable device is received, establishing Bluetooth communication connection with the intelligent wearable device corresponding to the selected instruction.
Further, the processor 1001 may invoke a generation program of the heart rate curve stored in the memory 1002, and also perform the following operations:
sending a data transmission opening signal to the intelligent wearable device so that the intelligent wearable device updates an index value to be a first preset value;
when the index value of the intelligent wearable device is updated to the first preset value, the intelligent wearable device sends acquired heart rate data to the local terminal
Further, the processor 1001 may invoke a generation program of the heart rate curve stored in the memory 1002, and also perform the following operations:
sending a data transmission closing signal to the intelligent wearable device so that the intelligent wearable device updates the index value to a second preset value;
when the index value is updated to the second preset value, the intelligent wearable device stops sending the acquired heart rate data to the local terminal.
Further, the processor 1001 may invoke a generation program of the heart rate curve stored in the memory 1002, and also perform the following operations:
when receiving heart rate data sent by the intelligent wearable device, acquiring device information of the intelligent wearable device, wherein the device information comprises at least one of electric quantity information, a device name and a device model;
and when the heart rate curve is displayed, the equipment information and the heart rate curve are displayed in a correlation mode.
Referring to fig. 2, in an embodiment, the method for generating the heart rate curve includes:
step S10, heart rate data acquired by the intelligent wearable device is acquired, and the intelligent wearable device is used for acquiring ECG (electrocardiogram) data and PPG (photoplethysmography) photoelectric detection data of a user to serve as the heart rate data.
In this embodiment, the terminal in this embodiment may be a heart rate measuring device or a heart rate detecting system, or may be a control terminal or a server of the heart rate measuring device. The following description will be given taking an example in which the terminal of the embodiment is a heart rate measuring device.
It is noted that the heart rate measuring device may be a computer device.
Optionally, the smart wearable device is integrated with an ECG (electrocardiography) electrocardiography detection module and a PPG (photoplethysgraph) photodetection module, respectively for acquiring ECG electrocardiography data and PPG photodetection data as heart rate data from a user wearing the smart wearable device.
The ECG technique is a technique for recording a pattern of change in electrical activity generated every cardiac cycle of the heart from the body surface by using an electrocardiograph.
The PPG is a non-destructive infrared detection technique, which is used in biomedicine, and is used for detecting the heart rate of human body movement by using a photoplethysmography technique. The PPG technology utilizes a photoelectric sensor to detect the difference of reflected light intensity after absorption of blood and tissues of a human body, traces the change of blood vessel volume in a cardiac cycle, and calculates the heart rate from the obtained pulse waveform.
Optionally, intelligent wearing equipment can be selected to be intelligent earphone, intelligent bracelet and intelligent glasses etc..
Optionally, the heart rate measuring device and the intelligent wearable device are pre-established with a bluetooth connection.
Optionally, after the intelligent wearable device is successfully connected, the terminal searches for device services. In order to facilitate the reception of the heart rate data, an iterator is used to search for a data service in the service list, to assign the service additionally to a service variable, and then to register a service state change, a feature value change, a descriptor is written to the signal slot connection function, and to call a service detail discovery function. When the service state is changed to ServiceDiscovered, a feature list is acquired by using characteristics (), and when a notification exists in a feature, a descriptor variable under the feature is created according to a protocol and is used as a private variable m _ notification desc of a class. Further, based on a setdescriptor (int index) method written in the type, free control of sending and stopping of the heart rate data acquired by the intelligent wearable device is achieved. Firstly, whether the Uuid of the descriptor m _ notification descriptor desc of the current service m _ lowserver and the notification feature is a defined protocol address is judged, and an on signal is obtained when an index value index is defined as a first preset value, and an off signal is obtained when the index value index is defined as a second preset value, wherein the first preset value is 1, and the second preset value is 0. Meanwhile, the smart wearable device stops sending the heart rate data to the heart rate detection device when the voidQLowEnergyService:: the value of the writeDescriptor (const QLowEnergyDescriptor & descriptor-ptor, const QbyeArray & newValue) is updated to stop and start sending the data, when the written value is defined as {0x01,00} (corresponding to the index value of 1) the smart wearable device starts sending the heart rate data to the heart rate detection device, and when the written value is defined as {0x00,0x00} (corresponding to the index value of 0).
Optionally, before receiving the heart rate data collected by the intelligent wearable device, the terminal may send a data transmission opening signal to the intelligent wearable device, and when receiving the data transmission opening signal, the intelligent wearable device determines that the heart rate data needs to be sent to the heart rate detection device currently, and updates the index value to the first preset value. At this time, the intelligent wearable device starts to send heart rate data to the heart rate detection device.
Optionally, when the terminal needs to stop receiving the heart rate data collected by the intelligent wearable device, the terminal may send a data transmission closing signal to the intelligent wearable device, and when the intelligent wearable device receives the data transmission closing signal, the terminal determines that the heart rate data needs to be stopped being sent to the heart rate detection device currently, and updates the index value to a second preset value. At this time, the intelligent wearable device stops sending heart rate data to the heart rate detection device.
Optionally, the terminal stores the heart rate data in the database after receiving the heart rate data sent by the intelligent wearable device. And when step S10 is executed, acquiring the heart rate data acquired by the intelligent wearable device from the database.
Optionally, the terminal may directly acquire the received heart rate data after receiving the heart rate data sent by the intelligent wearable device.
And step S20, generating a heart rate curve according to the heart rate data, wherein the heart rate curve comprises an ECG electrocardiogram curve and/or a PPG heart rate curve.
Optionally, the heart rate measuring device is provided with a heart rate curve drawing module for analyzing the heart rate data and generating a heart rate curve according to the analysis result.
Optionally, when the terminal acquires the ECG electrocardiogram data, the ECG electrocardiogram data is generated based on the heart rate curve drawing module; when the terminal obtains the PPG photoelectric detection data, a PPG heart rate curve is generated based on a heart rate curve drawing module.
And step S30, displaying the heart rate curve according to the current display interface.
Optionally, the heart rate measuring device has a display screen, and the display screen is used for displaying a system operation interface of the heart rate measuring device, wherein a main interface is arranged in the system operation interface of the heart rate measuring device.
Optionally, the main interface adopts a tab page type interface with multiple interfaces displayed simultaneously. The QTabWidget control is used for respectively Setting a plurality of sub-interfaces, namely a Setting interface, a first display interface, a second display interface and a third display interface in the main interface, wherein the Setting interface is marked as a Setting interface, the first display interface is marked as an ECGPlot interface, the second display interface is marked as a PPGPlot interface, and the third display interface is marked as an ECG & PPGPlot interface.
Optionally, each sub-interface under the main interface is implemented not in a main interface class MainWindow, but a class is created for each sub-interface and is inherited to a QDialog class, so that modularization of the sub-interface is realized, and sub-interface management operations such as adding and deleting the sub-interface are facilitated.
Optionally, the setting interface is used for setting an adoption parameter of the intelligent wearable device and setting a current test mode.
Optionally, the test mode includes at least one of an ECG test mode and a PPG test mode, and when the currently set test mode is the ECG test mode, the terminal acquires ECG electrocardiogram data detected by the intelligent wearable device based on the ECG electrocardiogram detection module, and generates an ECG electrocardiogram curve according to the ECG electrocardiogram data; when the currently set test mode is a PPG test mode, the terminal acquires PPG photoelectric detection data detected by the intelligent wearable device based on a PPG photoelectric detection module, and generates a PPG heart rate curve according to the PPG photoelectric detection data; when the currently set test mode is an ECG test mode and a PPG test mode for parallel testing, the terminal may generate an ECG electrocardiogram curve and a PPG heart rate curve, respectively, where the order of generation of the ECG electrocardiogram curve and the PPG heart rate curve is not limited, or may generate the ECG electrocardiogram curve and the PPG heart rate curve simultaneously.
Optionally, the sampling parameter of the smart wearable device mainly includes at least one of a current parameter of the smart wearable device, an adoption frequency of the smart wearable device, a light emitting diode enabled by the smart wearable device in the PPG test mode, and a photodiode enabled by the smart wearable device in the PPG test mode. The PPG photoelectric detection module of the intelligent wearable device is provided with a plurality of light emitting diodes which are respectively a red LED lamp, a green LED lamp and an infrared LED lamp; the PPG photoelectric detection module of the intelligent wearable device is also provided with at least two photodiodes. Based on this, the setting interface can also provide LED combination mode selection, that is, the collocation of different LED lamps and/or photodiodes is preset for the user to select quickly.
Further, the current parameter may also be a driving current of an LED lamp in the PPG module, a driving current of a photodiode.
Optionally, the first display interface (ECGPlot interface) is mainly used for displaying ECG electrocardiogram curves; the second display interface (PPGPlot interface) is mainly used for displaying the PPG heart rate curve under the current setting, for example, the PPG heart rate curve under the green LED; the third display interface (ECG & PPGPlot interface) is mainly used for simultaneously displaying the PPG heart rate curve and the ECG electrocardiogram curve, so that the user can observe the time difference occurring at the peak of the curve, and the user can analyze the PPG signals corresponding to the PPG heart rate curve and the delay conditions of the ECG signals corresponding to the ECG electrocardiogram curve.
Optionally, the setting interface may be further configured to set a display interface currently displayed on the main interface, and after the terminal generates the generated heart rate curve, the heart rate curve may be displayed according to the display interface set on the setting interface.
Optionally, when the current display interface is set as the first display interface, the terminal displays the ECG curve; when the current display interface is set as a second display interface, the terminal displays the PPG heart rate curve; and when the current display interface is set as a third display interface, the ECG curve and the PPG heart rate curve are displayed in parallel.
Alternatively, the sub-interface displayed by the main interface may be a setting interface before the heart rate curve is generated. And after the terminal generates the heart rate curve, the display interface corresponding to the heart rate curve can be automatically jumped to. The implementation method comprises the steps of dragging a QTableWidget control into a setting interface, adding corresponding test modes by using a setItem (int row, int column, QTableWidget item) method, defining different Key values for each mode, clicking a setting button of the setting interface after selecting the test mode based on the setting interface, acquiring the Key value of the selected test mode in a setting button slot function, and taking the acquired Key value as a private variable of the setting interface; setting a signal function GoPlotTab (int Key) carrying a Key value, and transmitting the signal function in a groove function of a determined button. The golmottab (intkey) signal and the custom slot function topmottab (int key) are connected in the host interface using the connect () method. And in the ToPlotTab (int Key) slot function, using a setCurrentIndex () method of QTabWidget to a corresponding display interface according to different Key values.
Therefore, when the currently set test mode is the ECG test mode, the terminal can switch the currently displayed sub-interface of the main interface from the setting interface to the first display interface; when the currently set test mode is the PPG test mode, the terminal can switch the sub-interface currently displayed on the main interface from the setting interface to a second display interface; when the currently set test mode is the ECG test mode and the PPG test mode, the terminal can switch the sub-interface currently displayed on the main interface from the setting interface to the third display interface.
Therefore, the system operation interface of the heart rate testing equipment uses the concise label page type interface displayed by multiple sub-interfaces simultaneously and the sub-interfaces automatically jump, so that the heart rate testing process is concise and clear, and the coupling degree between the interface modules corresponding to the sub-interfaces is low.
Optionally, when the terminal receives the heart rate data sent by the intelligent wearable device, the terminal can also acquire the device information of the intelligent wearable device from the intelligent wearable device, and when the heart rate curve is displayed, the device information is displayed at the same time. Wherein, the equipment information comprises at least one of electric quantity information of the intelligent wearable equipment, equipment name of the intelligent wearable equipment and equipment model of the intelligent wearable equipment
Optionally, the terminal associates the device information of the intelligent wearable device with the heart rate data obtained from the intelligent wearable device, and when the heart rate data is displayed corresponding to the heart rate curve, the device information and the heart rate curve are displayed in an associated manner. Like this, be convenient for the user to know the equipment information of the intelligent wearing equipment that the heart rate curve that shows corresponds at present.
In one embodiment, heart rate data acquired by intelligent wearable equipment is acquired, and the intelligent wearable equipment is used for acquiring ECG (electrocardiogram) data and PPG (photoplethysmography) photoelectric detection data of a user as the heart rate data; generating a heart rate curve from the heart rate data, the heart rate curve comprising an ECG electrocardiogram curve and/or a PPG heart rate curve; and displaying the heart rate curve according to the current display interface. Like this, realized carrying out heart rate measurement to the user based on the intelligent wearing equipment of multisensor integration.
In a second embodiment, as shown in fig. 3, based on the embodiment shown in fig. 2, the system operation interface further includes an intelligent wearable device connection interface, and before the step of acquiring the heart rate data acquired by the intelligent wearable device, the method further includes:
and S40, when an intelligent wearable device searching instruction sent based on the intelligent wearable device connecting interface is received, searching the intelligent wearable device by adopting Bluetooth communication.
And S50, displaying the searched intelligent wearable device in the intelligent wearable device connection interface.
And S60, when a selected instruction of the intelligent wearable device displayed on the intelligent wearable device connection interface is received, establishing Bluetooth communication connection with the intelligent wearable device corresponding to the selected instruction.
In this embodiment, the system operation interface further includes an intelligent wearable device connection interface, and the intelligent wearable device connection interface is independent of the main interface, and adopts an independent interface, so as to facilitate the search connection of the bluetooth device.
Optionally, the smart wearable device is a bluetooth device.
Optionally, the qtblewidget is dragged into the connection interface of the intelligent wearable device to store the name and address of the bluetooth device, in order to solve the problem of overlapping the name and address of the device when the intelligent wearable device is searched again each time, the terminal searches again the intelligent wearable device when detecting a click event generated by clicking a Scanning button triggered by a user each time, clears the content of the QTaleWidget in a slot function of the intelligent wearable device, sets a row to 0 by setrowcount (), and deletes the row added by the last search.
Optionally, the data layer of the terminal uses bluetooth communication to transmit data, and the bluetooth device is BLE (bluetooth low Energy). All BLE devices use the "generic attribute specification" (GATT), which provides the application program interface with knowledge that the operating system is typically based on the GATT.
Optionally, the user can search for an intelligent wearable device through the intelligent wearable device connection interface, and when the terminal receives an intelligent wearable device search instruction sent based on the intelligent wearable device connection interface, the terminal searches for the intelligent wearable device through bluetooth communication, and displays the searched intelligent wearable device in the intelligent wearable device connection interface.
Specifically, the terminal first creates a qbluethodevicedescriptyagent object for searching for adding a bluetooth device, and sets one-time search time to 5s using setlowenergydiscovertimeout (). And then registering a signal slot connection function connect (), monitoring a QBLuettoothDeviceDiscovery agent:: finished signal in real time, triggering an addDevice () slot function once found, adding the device name and address of the intelligent wearable device in the QTaleWidget, and storing the device information of the intelligent wearable device in a device list. Further, the terminal displays the equipment list on the connection interface of the intelligent wearable equipment, so that the user can select the intelligent wearable equipment to be connected currently.
Optionally, the intelligent wearable device is connected in a Key-value mode, and a user can click a name of a device to be connected in the device list by using a mouse to send a selected instruction of the intelligent wearable device. When the terminal receives a selection instruction of the intelligent wearable device, a Key value of the device name of the currently selected intelligent wearable device is obtained in the slot function, then corresponding device information is searched in the device list, and Bluetooth communication connection is established between the terminal and the intelligent wearable device.
Further, the terminal may be predefined with a characteristic value to characterize a data value, such as device information, heart rate data, transferred between the smart wearable device and the heart rate detection device.
In one embodiment, when an intelligent wearable device searching instruction sent based on the intelligent wearable device connecting interface is received, the intelligent wearable device is searched by adopting Bluetooth communication; displaying the searched intelligent wearable equipment in the intelligent wearable equipment connection interface; and when a selected instruction of the intelligent wearable device displayed on the connection interface of the intelligent wearable device is received, establishing Bluetooth communication connection with the intelligent wearable device corresponding to the selected instruction. Like this, removed heart rate test equipment serial ports data transmission module's development from, reduced the complexity of heart rate test equipment module design, practiced thrift the cost simultaneously.
In addition, the present invention also provides a heart rate measuring apparatus, which includes a memory, a processor, and a heart rate curve generation program stored on the memory and executable on the processor, and the processor implements the steps of the heart rate curve generation method according to the above embodiment when executing the heart rate curve generation program.
Furthermore, the present invention also provides a computer-readable storage medium, which includes a heart rate curve generation program, and when the heart rate curve generation program is executed by a processor, the steps of the heart rate curve generation method according to the above embodiment are implemented.
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 an alternative embodiment. 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 television, a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only an alternative 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. A method for generating a heart rate curve, the method comprising the steps of:
acquiring heart rate data acquired by intelligent wearable equipment, wherein the intelligent wearable equipment is used for acquiring ECG (electrocardiogram) data and PPG (photoplethysmography) photoelectric detection data of a user as the heart rate data;
generating a heart rate curve from the heart rate data, the heart rate curve comprising an ECG electrocardiogram curve and/or a PPG heart rate curve;
and displaying the heart rate curve according to the current display interface.
2. The method for generating a heart rate curve according to claim 1, wherein the method for generating a heart rate curve is applied to a heart rate measuring device, the heart rate measuring device comprises a system operation interface, the system operation interface comprises a main interface, the main interface is used for displaying the display interface, and the display interface comprises at least one of a first display interface, a second display interface and a third display interface;
the step of displaying the heart rate curve according to the current display interface comprises:
when the current display interface is the first display interface, displaying the ECG electrocardiogram curve;
when the current display interface is the second display interface, displaying the PPG heart rate curve;
and when the current display interface is the third display interface, the ECG electrocardiogram curve and the PPG heart rate curve are displayed in parallel.
3. The method for generating a heart rate curve according to claim 2, wherein the main interface further includes a setting interface, and the step of acquiring the heart rate data acquired by the smart wearable device includes:
acquiring heart rate data acquired by the intelligent wearable equipment according to a test mode set based on the setting interface;
wherein the test mode comprises at least one of an ECG test mode and a PPG test mode;
the setting interface is further used for setting sampling parameters of the intelligent wearable device, and the sampling parameters comprise at least one of a current parameter, a sampling frequency, a light emitting diode enabled by the PPG test mode and a photodiode enabled by the PPG test mode.
4. A method for generating a heart rate curve as defined in claim 3, wherein the step of generating a heart rate curve from the heart rate data is followed by the step of:
when the currently set test mode is the ECG test mode, switching the sub-interface currently displayed by the main interface from the setting interface to the first display interface;
when the currently set test mode is the PPG test mode, switching the sub-interface currently displayed on the main interface from the set interface to the second display interface;
and when the currently set test mode is the ECG test mode and the PPG test mode, switching the sub-interface currently displayed on the main interface from the set interface to the third display interface.
5. The method for generating a heart rate curve according to claim 2, wherein the system operation interface further includes an intelligent wearable device connection interface, and before the step of acquiring the heart rate data acquired by the intelligent wearable device, the method further includes:
when an intelligent wearable device searching instruction sent based on the intelligent wearable device connecting interface is received, searching the intelligent wearable device by adopting Bluetooth communication;
displaying the searched intelligent wearable equipment in the intelligent wearable equipment connection interface;
and when a selected instruction of the intelligent wearable device displayed on the connection interface of the intelligent wearable device is received, establishing Bluetooth communication connection with the intelligent wearable device corresponding to the selected instruction.
6. The method for generating a heart rate curve according to claim 1, wherein before the step of acquiring the heart rate data acquired by the smart wearable device, the method further comprises:
sending a data transmission opening signal to the intelligent wearable device so that the intelligent wearable device updates an index value to be a first preset value;
when the index value is updated to the first preset value, the intelligent wearable device sends acquired heart rate data to the home terminal.
7. The method of generating a heart rate curve as defined in claim 6, further comprising:
sending a data transmission closing signal to the intelligent wearable device so that the intelligent wearable device updates the index value to a second preset value;
when the index value is updated to the second preset value, the intelligent wearable device stops sending the acquired heart rate data to the local terminal.
8. The method for generating a heart rate curve according to claim 6, wherein after the step of sending a data transmission on signal to the smart wearable device, the method further comprises:
when receiving heart rate data sent by the intelligent wearable device, acquiring device information of the intelligent wearable device, wherein the device information comprises at least one of electric quantity information, a device name and a device model;
and when the heart rate curve is displayed, the equipment information and the heart rate curve are displayed in a correlation mode.
9. Heart rate measurement device, characterized in that it comprises a memory, a processor and a heart rate curve generation program stored on said memory and executable on said processor, said heart rate curve generation program, when executed by said processor, implementing the steps of the heart rate curve generation method according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that a heart rate curve generation program is stored on the computer-readable storage medium, which when executed by a processor implements the steps of the heart rate curve generation method according to any one of claims 1 to 8.
CN201911188799.0A 2019-11-27 2019-11-27 Heart rate curve generation method, heart rate measurement device and storage medium Pending CN110811579A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911188799.0A CN110811579A (en) 2019-11-27 2019-11-27 Heart rate curve generation method, heart rate measurement device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911188799.0A CN110811579A (en) 2019-11-27 2019-11-27 Heart rate curve generation method, heart rate measurement device and storage medium

Publications (1)

Publication Number Publication Date
CN110811579A true CN110811579A (en) 2020-02-21

Family

ID=69542564

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911188799.0A Pending CN110811579A (en) 2019-11-27 2019-11-27 Heart rate curve generation method, heart rate measurement device and storage medium

Country Status (1)

Country Link
CN (1) CN110811579A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111493861A (en) * 2020-04-02 2020-08-07 出门问问信息科技有限公司 Electrocardiogram measuring method and device, electronic equipment and computer storage medium
WO2021260044A1 (en) * 2020-06-23 2021-12-30 Myzone Limited Physical activity monitoring system

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140257049A1 (en) * 2013-02-25 2014-09-11 Texas Instruments Incorporated Wearable heart monitoring apparatus
US20160346609A1 (en) * 2015-05-28 2016-12-01 Nike, Inc. Wearable usb device assembly
US20170014037A1 (en) * 2014-04-02 2017-01-19 Koninklijke Philips N.V. System and method for detecting variation of heart rate of a user
US20170181644A1 (en) * 2015-12-29 2017-06-29 Daniel J. Meer Wearable Device Heart Monitor Systems
WO2017113377A1 (en) * 2015-12-31 2017-07-06 深圳市洛书和科技发展有限公司 Body surface-based noninvasive physical health comprehensive testing system
US20170347899A1 (en) * 2016-06-03 2017-12-07 FOURTH FRONTIER TECHNOLOGIES, Pvt. Ltd. Method and system for continuous monitoring of cardiovascular health
US20180055375A1 (en) * 2016-09-01 2018-03-01 Apple Inc. Systems and methods for determining an intensity level of an exercise using photoplethysmogram (ppg)
US20180303353A1 (en) * 2017-04-20 2018-10-25 Intel Corporation Optical heart rate sensor with reduced power
CN109645977A (en) * 2019-01-04 2019-04-19 深圳金康特智能科技有限公司 A kind of method and system based on intelligent object wearing device monitoring human heart rate's variability
WO2019101699A1 (en) * 2017-11-23 2019-05-31 Koninklijke Philips N.V. Wearable device using ppg sensor for optical communication
US20190274556A1 (en) * 2016-10-28 2019-09-12 Huawei Technologies Co., Ltd. Blood Pressure Measurement Method And Apparatus For Wearable Device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140257049A1 (en) * 2013-02-25 2014-09-11 Texas Instruments Incorporated Wearable heart monitoring apparatus
US20170014037A1 (en) * 2014-04-02 2017-01-19 Koninklijke Philips N.V. System and method for detecting variation of heart rate of a user
US20160346609A1 (en) * 2015-05-28 2016-12-01 Nike, Inc. Wearable usb device assembly
US20170181644A1 (en) * 2015-12-29 2017-06-29 Daniel J. Meer Wearable Device Heart Monitor Systems
WO2017113377A1 (en) * 2015-12-31 2017-07-06 深圳市洛书和科技发展有限公司 Body surface-based noninvasive physical health comprehensive testing system
US20170347899A1 (en) * 2016-06-03 2017-12-07 FOURTH FRONTIER TECHNOLOGIES, Pvt. Ltd. Method and system for continuous monitoring of cardiovascular health
US20180055375A1 (en) * 2016-09-01 2018-03-01 Apple Inc. Systems and methods for determining an intensity level of an exercise using photoplethysmogram (ppg)
US20190274556A1 (en) * 2016-10-28 2019-09-12 Huawei Technologies Co., Ltd. Blood Pressure Measurement Method And Apparatus For Wearable Device
US20180303353A1 (en) * 2017-04-20 2018-10-25 Intel Corporation Optical heart rate sensor with reduced power
WO2019101699A1 (en) * 2017-11-23 2019-05-31 Koninklijke Philips N.V. Wearable device using ppg sensor for optical communication
CN109645977A (en) * 2019-01-04 2019-04-19 深圳金康特智能科技有限公司 A kind of method and system based on intelligent object wearing device monitoring human heart rate's variability

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111493861A (en) * 2020-04-02 2020-08-07 出门问问信息科技有限公司 Electrocardiogram measuring method and device, electronic equipment and computer storage medium
WO2021260044A1 (en) * 2020-06-23 2021-12-30 Myzone Limited Physical activity monitoring system

Similar Documents

Publication Publication Date Title
CN104767807B (en) A kind of information transmitting methods and relevant device based on wearable device
CN107847131A (en) Monitor device and monitoring-information display methods
CN110811579A (en) Heart rate curve generation method, heart rate measurement device and storage medium
TWI760304B (en) Terminal device and health managing method
US20110077488A1 (en) Evaluation Board For A Medical Monitoring Module System And Method
CN106294839B (en) A kind of link jump method and device
CN110087221A (en) A kind of rescue mode and equipment
CN102599889B (en) Medical detector, physiologic information recognition methods and physiologic information acquisition methods
CN105030204B (en) The control method and wearable device of wearable device execution module
CN110334629B (en) Method and device capable of detecting distance in multiple directions and readable storage medium
CN108039963A (en) A kind of container collocation method, device and storage medium
JP2023525850A (en) DETECTION METHOD, DETECTION DEVICE, ELECTRONIC DEVICE, STORAGE MEDIUM AND COMPUTER PROGRAM
CN109189953A (en) A kind of selection method and device of multimedia file
JP2019514443A (en) Electronic device, electronic device system, information processing method and information presentation method
WO2021134634A1 (en) Portable monitoring device, remote monitoring center, and medical monitoring method
EP4286024A1 (en) Method for detecting rope skipping state, and electronic device
CN107907636A (en) The testing result management system and its testing result management method of pesticide residue
CN109450904B (en) Health monitoring thing networking gateway device
CN115886831A (en) Multi-lead electrocardiogram detection method and electronic equipment
CN109032344A (en) Location processing method and Related product
CN109328029B (en) Vital sign data statistical system and monitor
CN109740430A (en) Fingerprint input method and relevant device
CN205729331U (en) Pulse palpation instrument control circuit, intelligence pulse palpation instrument, Intelligent bracelet and mobile terminal
CN115211825A (en) Blood pressure measuring method, blood pressure measuring device, earphone device and computer readable storage medium
CN103622684A (en) Control method for portable heart rate monitoring system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200221

RJ01 Rejection of invention patent application after publication