CN111227817A - Heart rate monitoring method and device and storage medium - Google Patents
Heart rate monitoring method and device and storage medium Download PDFInfo
- Publication number
- CN111227817A CN111227817A CN202010032939.1A CN202010032939A CN111227817A CN 111227817 A CN111227817 A CN 111227817A CN 202010032939 A CN202010032939 A CN 202010032939A CN 111227817 A CN111227817 A CN 111227817A
- Authority
- CN
- China
- Prior art keywords
- heart rate
- rate data
- current
- data
- user
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000012544 monitoring process Methods 0.000 title claims abstract description 39
- 238000012806 monitoring device Methods 0.000 claims abstract description 19
- 238000001514 detection method Methods 0.000 claims description 77
- 230000015654 memory Effects 0.000 claims description 18
- 230000001133 acceleration Effects 0.000 claims description 17
- 230000008859 change Effects 0.000 claims description 14
- 230000001502 supplementing effect Effects 0.000 claims description 2
- 230000033764 rhythmic process Effects 0.000 description 11
- 238000000691 measurement method Methods 0.000 description 6
- 230000003068 static effect Effects 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 239000008280 blood Substances 0.000 description 3
- 210000004369 blood Anatomy 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000002035 prolonged effect Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000010009 beating Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000031700 light absorption Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
- 230000009182 swimming Effects 0.000 description 1
- 238000002834 transmittance Methods 0.000 description 1
Images
Classifications
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/02—Detecting, measuring or recording for evaluating the cardiovascular system, e.g. pulse, heart rate, blood pressure or blood flow
- A61B5/024—Measuring pulse rate or heart rate
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/02—Detecting, measuring or recording for evaluating the cardiovascular system, e.g. pulse, heart rate, blood pressure or blood flow
- A61B5/024—Measuring pulse rate or heart rate
- A61B5/0255—Recording instruments specially adapted therefor
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61B—DIAGNOSIS; SURGERY; IDENTIFICATION
- A61B5/00—Measuring for diagnostic purposes; Identification of persons
- A61B5/72—Signal processing specially adapted for physiological signals or for diagnostic purposes
- A61B5/7235—Details of waveform analysis
Landscapes
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Cardiology (AREA)
- Engineering & Computer Science (AREA)
- Medical Informatics (AREA)
- Animal Behavior & Ethology (AREA)
- Pathology (AREA)
- Physics & Mathematics (AREA)
- Biomedical Technology (AREA)
- Heart & Thoracic Surgery (AREA)
- Physiology (AREA)
- Molecular Biology (AREA)
- Surgery (AREA)
- Biophysics (AREA)
- General Health & Medical Sciences (AREA)
- Public Health (AREA)
- Veterinary Medicine (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Psychiatry (AREA)
- Signal Processing (AREA)
- Measuring Pulse, Heart Rate, Blood Pressure Or Blood Flow (AREA)
Abstract
The embodiment of the invention discloses a heart rate monitoring method, a heart rate monitoring device and a storage medium, wherein the heart rate monitoring method comprises the following steps: acquiring current heart rate data of a user; comparing the acquired current heart rate data with recently stored heart rate data; storing the current heart rate data when a difference between the current heart rate data and the most recently stored heart rate data is greater than a predetermined threshold.
Description
Technical Field
The invention relates to the technical field of wearable equipment, in particular to a heart rate monitoring method and device and a computer readable storage medium.
Background
Wearable equipment such as intelligent bracelet can real-time supervision user's rhythm of the heart to according to the rhythm of the heart data drawing rhythm of the heart curve that user's instruction was monitored in with a period of time within range, so that the change of user's more audio-visual understanding rhythm of the heart.
The frequency that present wearable equipment detected the rhythm of the heart is lower, detects rhythm of the heart data once every 30 minutes usually, and the rhythm of the heart data volume that consequently detects in a period of time within range is lower, even wearable equipment adopts the lower hardware of performance also can be comparatively rapid draw out the rhythm of the heart curve. However, if the frequency of detecting the heart rate is very high, for example, once heart rate data per second, like this one day down can produce a large amount of heart rate data, can occupy a large amount of storage space, in addition, wearable equipment such as intelligent bracelet in order to obtain electric quantity duration as long as possible, can adopt the lower hardware of performance usually, under this condition, draw a large amount of heart rate data into heart rate curve and need consume the long time to bring not good user experience for the user.
Disclosure of Invention
In view of this, embodiments of the present invention provide a heart rate monitoring method, apparatus and computer readable storage medium to reduce heart rate data generated at a high heart rate detection frequency, so as to reduce a storage space occupied by the heart rate data and quickly generate a heart rate curve.
According to a first aspect, embodiments of the present invention provide a heart rate monitoring method, including: acquiring current heart rate data of a user; comparing the acquired current heart rate data with recently stored heart rate data; storing the current heart rate data when a difference between the current heart rate data and the most recently stored heart rate data is greater than a predetermined threshold.
Optionally, the heart rate monitoring method further includes: not storing the current heart rate data when the difference between the current heart rate data and the most recently stored heart rate data is less than or equal to the predetermined threshold.
Optionally, the heart rate monitoring method further includes: acquiring the current state of the user; and determining a heart rate detection time interval according to the current state.
Optionally, the acquiring the current state of the user includes: determining a current state of the user from at least one of the current heart rate data, acceleration information, and position change information.
Optionally, the heart rate monitoring method further includes: and when a preset instruction is received, drawing a heart rate curve according to the stored heart rate data.
Optionally, said plotting a heart rate curve from stored heart rate data comprises: acquiring a time interval between detection times of every two adjacent heart rate data in the stored heart rate data; when the time interval between the detection times of the two adjacent heart rate data is greater than the heart rate detection time interval, supplementing virtual heart rate data between the two adjacent heart rate data, wherein the virtual heart rate data is equal to the heart rate data with the earlier detection time in the two adjacent heart rate data, and the time interval between the virtual heart rate data and the heart rate data with the later detection time in the two adjacent heart rate data is equal to the heart rate detection time interval; and drawing a heart rate curve according to the stored heart rate data and the supplemented virtual heart rate data.
According to a second aspect, embodiments of the present invention provide a heart rate monitoring device, comprising: the acquisition unit is used for acquiring the current heart rate data of the user; a comparing unit for comparing the acquired current heart rate data with the most recently stored heart rate data; a storage unit for storing the current heart rate data when a difference between the current heart rate data and the most recently stored heart rate data is greater than a predetermined threshold.
According to a third aspect, embodiments of the present invention provide a heart rate monitoring device, comprising: the heart rate detection unit is used for detecting heart rate data of a user; and a memory and a processor, wherein the heart rate detection unit, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions, so as to implement the heart rate monitoring method according to any one of the first aspect.
Optionally, the heart rate monitoring device further comprises: the acceleration sensor is used for acquiring acceleration information of the heart rate monitoring device; and/or a positioning unit for acquiring position information of the heart rate monitoring device.
According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to perform the method of any one of the above first aspects.
According to the heart rate monitoring method, the heart rate monitoring device and the computer-readable storage medium, the acquired current heart rate data and the recently stored heart rate data are compared, only the current heart rate data with the difference value larger than the preset threshold value between the latest stored heart rate data and the recently stored heart rate data are stored, the heart rate data generated under the high heart rate detection frequency are reduced, therefore, the storage space occupied by the heart rate data can be reduced, and the heart rate curve can be generated quickly.
Drawings
The features and advantages of the present invention will be more clearly understood by reference to the accompanying drawings, which are illustrative and not to be construed as limiting the invention in any way, and in which:
FIG. 1 shows a flow diagram of a heart rate monitoring method according to an embodiment of the invention;
FIG. 2 shows a flow diagram of a heart rate monitoring method according to another embodiment of the invention;
FIGS. 3A and 3B are diagrams illustrating a time interval for determining a current state of a user and a heart rate detection time interval according to an embodiment of the present invention;
FIG. 4 shows a flow chart of specific steps in a heart rate monitoring method according to an embodiment of the invention for plotting a heart rate curve from stored heart rate data;
FIG. 5 shows a schematic diagram of a heart rate curve plotted by a heart rate monitoring method according to an embodiment of the invention;
fig. 6 and 7 show schematic views of a heart rate monitoring apparatus according to an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 shows a heart rate monitoring method according to an embodiment of the invention, which may be applied to a wearable device such as a smart band, and which may comprise the steps of:
s11, obtaining current heart rate data of a user.
Wearable equipment such as smart band is provided with heart rate detection unit, and heart rate detection unit can detect user's heart rate data according to certain heart rate detection frequency, can adopt following two kinds of methods to detect heart rate data usually, and one kind is the photoelectric transmission measurement method, and the other kind is electrocardiosignal measurement method. The photoelectric transmission measurement method is characterized in that a light emitter and a light receiver are used for detecting the change of blood light transmittance caused by regular beating of the heart to detect heart rate data, the light emitter irradiates light beams with certain wavelengths to the surface of the skin, the light beams return to the light receiver in a transmission or reflection mode, when the heart contracts, the blood volume is the largest, the light absorption amount is the largest, the detected light intensity is the smallest, when the heart contracts, the blood volume is the opposite, the detected light intensity is the largest, and the light intensity received by the light receiver is changed in a pulsating mode; the electrocardiosignal measurement method detects heart rate data by detecting the periodic change of electrocardio. The heart rate detection unit transmits the detected heart rate data to the processor of the wearable device, so that the wearable device can acquire the heart rate data of the user in real time.
S12, comparing the acquired current heart rate data with the latest stored heart rate data, executing the step S13 when the difference value between the current heart rate data and the latest stored heart rate data is larger than a preset threshold value, and executing the step S14 when the difference value between the current heart rate data and the latest stored heart rate data is smaller than or equal to the preset threshold value.
Unlike the prior art in which the wearable device stores all acquired heart rate data, in the embodiment of the present invention, the wearable device selectively stores a part of the heart rate data, and only stores current heart rate data in which a difference between the current heart rate data and the most recently stored heart rate data is greater than a predetermined threshold. The predetermined threshold may be set as appropriate according to practical situations, and may be, for example, 0, or other values greater than 0. In this embodiment, the predetermined threshold may be fixed or may be dynamically changed, for example, when the heart rate data is in the normal range, a larger predetermined threshold may be set, and when the heart rate data exceeds the normal range, a smaller predetermined threshold may be set, because the user generally does not care about the heart rate data when the heart rate data is in the normal range, and most of the heart rate data of the user is in the normal range, and by setting the larger predetermined threshold when the heart rate data is in the normal range, the amount of stored heart rate data may be further reduced.
And S13, storing the current heart rate data.
The current heart rate data is stored when a difference between the current heart rate data and the most recently stored heart rate data is greater than a predetermined threshold, the stored heart rate data may include a heart rate amplitude and a detection time. The wearable device can store the current heart rate data locally, can also store in the intelligent terminal such as smart phone that is connected with the wearable device through modes such as bluetooth, or can also store in the high in the clouds. After the current heart rate data is stored, a predetermined heart rate detection time interval passes back to step S11 to execute the next heart rate monitoring cycle, and the stored current heart rate data is used as the most recently stored heart rate data in the next heart rate monitoring cycle. This heart rate detection time interval can be set up rationally according to actual conditions, and heart rate detection time interval is the less, and heart rate detection frequency is the higher promptly, and then the heart rate curve that finally obtains is more accurate.
S14, current heart rate data are not stored.
Since the difference between the current heart rate data and the most recently stored heart rate data is less than or equal to the predetermined threshold, the difference between the current heart rate data and the most recently stored heart rate data may be ignored, the current heart rate data is not stored, and the process returns to step S11 to perform the next heart rate monitoring cycle after the predetermined heart rate detection time interval has elapsed.
In the heart rate monitoring method of the embodiment of the invention, the acquired current heart rate data is compared with the most recently stored heart rate data, only the current heart rate data with the difference value larger than the preset threshold value from the most recently stored heart rate data is stored, and the heart rate data generated under the high heart rate detection frequency is reduced, so that the storage space occupied by the heart rate data can be reduced, and the heart rate curve can be quickly generated.
Fig. 2 shows a heart rate monitoring method according to another embodiment of the invention, which may be applied to a wearable device such as a smart band, which may comprise the steps of:
and S21, acquiring current heart rate data and current state of the user.
The specific content of acquiring the current heart rate data of the user can refer to the description of step S11. The current state of the user can be generally divided into a relatively static state and a motion state, for example, when the user is in the relatively static state, for example, the user is in a sleep state, an office state, and the like, in this state, the heart rate variation amplitude is very low, and the acquired heart rate data is relatively stable; when the user is in an exercise state, for example, the user is running, swimming, or the like, in this state, the heart rate variation amplitude is large, and the acquired heart rate data may have large fluctuation.
For the two different states, different heart rate detection time intervals can be adopted, when the user is in a relatively static state, the acquired heart rate data is relatively stable and has relatively high repeatability, and a larger heart rate detection time interval, namely a lower heart rate detection frequency, can be adopted; when the user is in a sport state, the acquired heart rate data have large fluctuation, and a small heart rate detection time interval is needed to capture the fluctuation of the heart rate data more accurately, namely, a high heart rate detection frequency. Of course, the present invention is not limited to this, and the current state of the user may be subdivided into more different states according to actual needs, and different heart rate detection time intervals are set for the different states, so that the accuracy of the generated heart rate data volume and the heart rate curve can be considered.
As some optional implementations of this embodiment, the current state of the user may be determined by one or more of the user's current heart rate data, acceleration information, and position change information. The wearable device is usually provided with an acceleration sensor such as a three-axis acceleration sensor and a positioning unit such as a GPS, acceleration information can be acquired through the acceleration sensor, position change information can be acquired through the positioning unit, and the user can be judged to be in a relatively static state or a motion state according to one or more of current heart rate data, the acceleration information and the position change information of the user.
And S22, comparing the acquired current heart rate data with the latest stored heart rate data, executing the step S23 when the difference value between the current heart rate data and the latest stored heart rate data is greater than a preset threshold value, and executing the step S24 when the difference value between the current heart rate data and the latest stored heart rate data is less than or equal to the preset threshold value, wherein the specific content can refer to the description of the step S12.
And S23, storing the current heart rate data, wherein the specific content can refer to the description of the step S13.
S24, current heart rate data is not stored, and specific contents can refer to the description of the step S14.
And S25, determining a heart rate detection time interval according to the current state.
As described in step S21, different heart rate detection time intervals are set corresponding to different states of the user, and the heart rate detection time interval may be determined after the current state of the user is determined, and the process returns to step S21 after the determined heart rate detection time interval elapses to perform the next heart rate monitoring cycle.
Compared with the embodiment shown in fig. 1, in the heart rate monitoring method of the embodiment, the current state of the user is further acquired, the heart rate detection time interval is determined according to the current state, different heart rate detection time intervals are adopted corresponding to different states of the user, a larger heart rate detection time interval is adopted for the case that the user is in a relatively static state, and a smaller heart rate detection time interval is adopted for the case that the user is in a motion state, so that the accuracy of the generated heart rate data volume and the heart rate curve can be considered.
It should be understood by those skilled in the art that fig. 2 merely describes an implementation of the present embodiment as an example, and the steps of acquiring the current state of the user and determining the heart rate detection time interval according to the current state in the present embodiment are not limited to being performed in the order shown in fig. 2, and the above steps may be performed at any position.
It will also be appreciated by those skilled in the art that the steps of acquiring the current status of the user and determining the heart rate detection time interval based on the current status in the present embodiment do not require each heart rate monitoring cycle to be performed. In practice, the user may remain in a certain state for a long time, for example, the user may stay in a sleep state for 6-8 hours, each heart rate detection time interval is only measured in minutes or even seconds, and the time interval for determining the current state of the user may be longer, for example, half an hour or 1 hour or longer. As shown in fig. 3A, the time interval for determining the current state of the user is T, which may be, for example, half an hour or 1 hour, and when the step of determining the current state of the user is performed for the first time, the heart rate detection time interval may be determined to be T according to the current state of the user1The determined heart rate detection time interval T is used during the first time interval T1To perform a heart rate monitoring cycle, determining a heart rate detection time interval t when the step of determining the current state of the user is performed a second time2The determined heart rate detection time interval T is used during the second time interval T2The heart rate monitoring circulation is executed, and the like, so that the step of determining the heart rate detection time interval executed by the processor of the wearable device can be greatly reduced, and the electric quantity endurance time of the wearable device can be prolonged.
In other alternative embodiments, the step of determining the current state of the user may be performed when a certain large change in heart rate data is detected, as shown in FIG. 3B, when at T1When a large heart rate data change is detected at any moment, it is determined that a state transition of the user may occur, for example, from a relatively stationary state to a moving state, and a heart rate detection time interval t may be determined according to the current state of the user at that time1Thereafter all at the determined heart rate detection time interval t1To perform a heart rate monitoring cycle until at T2Detecting a larger heart rate data change again at the moment, judging that the user is likely to have state transition again, such as from a motion state to a relatively static state, and determining the heart rate detection time interval t again according to the current state of the user2Thereafter all areDetecting a time interval t with a determined heart rate2The heart rate monitoring circulation is executed until the larger heart rate data change is detected next time, so that the step of determining the heart rate detection time interval executed by the processor of the wearable device can be greatly reduced, and the electric quantity endurance time of the wearable device can be prolonged.
In some optional implementation manners of the embodiments of the present invention, the heart rate monitoring method may further include: and when a preset instruction is received, drawing a heart rate curve according to the stored heart rate data. The above-mentioned instruction of presetting can be that the user sent, also can be that time interval or predetermined time are automatic to be sent, and wearable equipment just can draw out the rhythm of the heart curve according to the rhythm of the heart data that store when receiving this instruction of presetting to show rhythm of the heart change to more audio-visually to the user. As an alternative, the heart rate curve may be directly plotted with the stored heart rate data, however, the heart rate curve plotted in this way lacks the already detected but not stored heart rate data, and the user cannot accurately know the heart rate variation of himself. As another alternative, as shown in fig. 4, the step of plotting a heart rate curve according to the stored heart rate data may include:
s31, acquiring a time interval between detection times of every two adjacent heart rate data in the stored heart rate data.
As shown in FIG. 5, 3 stored heart rate data R are shown in FIG. 51-R3In the figure, the dots represent R, and when a conventional drawing method is used, R is represented by straight lines as indicated by broken lines in FIG. 51And R2And R2And R3Connected, the heart rate curve thus obtained is, however, clearly distorted. It will be appreciated by those skilled in the art that the heart rate data R is smoothed using a smooth curve1-R3Also a connection is possible. However, in the present embodiment, the time interval between the detection times of each adjacent two heart rate data may be calculated, for example, in the example of fig. 5, the heart rate data R may be calculated1And R2Is equal to the heart rate detection time intervalAnd heart rate data R2And R3Is larger than the heart rate detection time interval.
S32, when the time interval between the detection time of two adjacent heart rate data is larger than the heart rate detection time interval, adding virtual heart rate data between the two adjacent heart rate data, wherein the virtual heart rate data is equal to the heart rate data with the former detection time in the two adjacent heart rate data, and the time interval between the virtual heart rate data and the heart rate data with the later detection time in the two adjacent heart rate data is equal to the heart rate detection time interval.
In the example of fig. 5, the heart rate data R1And R2Is equal to the heart rate detection time interval, i.e. the heart rate data R1And R2There is no heart rate data that has been detected but not stored, so there is no need to patch any data in between. And heart rate data R2And R3Is larger than the heart rate detection time interval, i.e. the heart rate data R2And R3There are several heart rate data detected but not stored in between, and in order to avoid distortion of the plotted heart rate curve, it is necessary to find the heart rate data R2And R3And the virtual heart rate data r is added in between. Since only the current heart rate data having a difference value greater than a predetermined threshold value from the most recently stored heart rate data is stored in the heart rate monitoring method of the embodiment of the present invention, the heart rate data R2And R3A number of detected but not stored heart rate data missing in between and the most recently stored heart rate data R2The difference between the heart rate data detected but not stored and the most recently stored heart rate data R is less than or equal to a predetermined threshold2To a negligible extent, so that the supplemented virtual heart rate data R can be made equal to the heart rate data R2. Heart rate data R3And R2The difference between the two is greater than a predetermined threshold value, indicating that the heart rate data R is detected3Heart rate data detected in previous heart rate monitoring cycles and most recently stored heart rate data R2The difference between them is less than or equal to a predetermined threshold, so the virtual heart rate dataR and heart rate data R3The time interval in between is equal to the heart rate detection time interval. Although virtual heart rate data R and heart rate data R2There may also be several heart rate data detected but not stored, but these heart rate data with virtual heart rate data R and heart rate data R2To a negligible extent, the heart rate data R can be directly recorded2And the virtual heart rate data r are connected together by a straight line. It will be appreciated by those skilled in the art that although only one virtual heart rate data r is supplemented in fig. 5, it is also feasible to supplement a plurality of equal virtual heart rate data r.
And S33, drawing a heart rate curve according to the stored heart rate data and the supplemented virtual heart rate data.
The heart rate curve is plotted, for example, as shown in fig. 5, by comparing the heart rate data R2And R3Can obtain an accurate heart rate curve by adding a virtual heart rate data R without adding the heart rate data R2And R3All missing detected but not stored heart rate data in between, particularly when the user is in a relatively stationary state. It will be appreciated by those skilled in the art that although a straight line connection is used between the stored heart rate data and the supplemented virtual heart rate data in the example of fig. 5, it is also possible to use a smooth curve connection between these heart rate data.
Through the steps, the virtual heart rate data are supplemented between the adjacent heart rate data of which the time interval between the detection time is greater than the heart rate detection time interval in the stored heart rate data, so that a user can more accurately know the heart rate change of the user under the condition that only a small amount of virtual heart rate data are supplemented and the generation speed of a heart rate curve is not obviously delayed.
Correspondingly, as shown in fig. 6, an embodiment of the present invention further provides a heart rate monitoring device, which may be suitable for wearable devices such as smart bracelets, and may include:
the obtaining unit 41 is configured to obtain current heart rate data of the user, and the specific content may refer to the description of step S11.
The comparing unit 42 is configured to compare the acquired current heart rate data with the most recently stored heart rate data, and the specific content may refer to the description of step S12.
The storage unit 43 is configured to store the current heart rate data when a difference between the current heart rate data and the most recently stored heart rate data is greater than a predetermined threshold, and the specific content may refer to the description of step S13.
Other specific details of the heart rate monitoring device according to the embodiment of the present invention can be understood with reference to the corresponding related descriptions and effects in the embodiments shown in fig. 1 to fig. 5, and are not described herein again.
As shown in fig. 7, an embodiment of the present invention further provides a heart rate monitoring apparatus, which may be a wearable device such as a smart band, for example, and may include a heart rate detection unit 51, a processor 52, and a memory 53, where the heart rate detection unit 51, the processor 52, and the memory 53 may be connected by a bus or in another manner, and fig. 7 illustrates an example of connection by a bus.
The heart rate detection unit 51 is used for detecting heart rate data of the user, and the heart rate detection unit 51 may include, for example, a light emitter and a light receiver, and acquires the heart rate data of the user by a photoelectric transmission measurement method; the heart rate detection unit 51 may also include an electrocardiograph sensor, and acquires heart rate data of the user by an electrocardiograph signal measurement method. The heart rate detecting unit 51 may detect the heart rate data of the user at certain heart rate detecting time intervals, that is, at certain heart rate detecting frequency, and transmit the detected heart rate data to the processor 52 of the heart rate monitoring apparatus, and further specific content may refer to the description of step S11.
The memory 53, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions corresponding to the heart rate monitoring method in the embodiments of the present invention. The processor 52 executes various functional applications of the processor and data processing by executing non-transitory software instructions stored in the memory 53, namely, implementing the heart rate monitoring method in the above-described method embodiments.
The memory 53 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 53 may optionally include memory located remotely from the processor 52, which may be connected to the processor 52 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
In some optional implementations of embodiments of the present invention, the heart rate monitoring device may further include at least one of an acceleration sensor and a positioning unit. The acceleration sensor is used for acquiring acceleration values of the heart rate monitoring device, and can be a three-axis acceleration sensor, so that the acceleration values of the heart rate monitoring device in different directions can be acquired; the positioning unit is used for acquiring the position of the heart rate monitoring device, and can be a GPS unit or positioning according to a mobile network, WLAN or Bluetooth.
The details of the heart rate monitoring device can be understood by referring to the corresponding descriptions and effects in the embodiments shown in fig. 1 to 5, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD) or a Solid State Drive (SSD), etc.; the storage medium may also comprise a combination of memories of the kind described above.
Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.
Claims (10)
1. A method of heart rate monitoring, comprising:
acquiring current heart rate data of a user;
comparing the acquired current heart rate data with recently stored heart rate data;
storing the current heart rate data when a difference between the current heart rate data and the most recently stored heart rate data is greater than a predetermined threshold.
2. The method of claim 1, further comprising:
not storing the current heart rate data when the difference between the current heart rate data and the most recently stored heart rate data is less than or equal to the predetermined threshold.
3. The method of claim 1, further comprising:
acquiring the current state of the user;
and determining a heart rate detection time interval according to the current state.
4. The method of claim 3, wherein the obtaining the current state of the user comprises:
determining a current state of the user from at least one of the current heart rate data, acceleration information, and position change information.
5. The method according to any one of claims 1-4, further comprising:
and when a preset instruction is received, drawing a heart rate curve according to the stored heart rate data.
6. The method of claim 5, wherein said plotting a heart rate curve from stored heart rate data comprises:
acquiring a time interval between detection times of every two adjacent heart rate data in the stored heart rate data;
when the time interval between the detection times of the two adjacent heart rate data is greater than the heart rate detection time interval, supplementing virtual heart rate data between the two adjacent heart rate data, wherein the virtual heart rate data is equal to the heart rate data with the earlier detection time in the two adjacent heart rate data, and the time interval between the virtual heart rate data and the heart rate data with the later detection time in the two adjacent heart rate data is equal to the heart rate detection time interval;
and drawing a heart rate curve according to the stored heart rate data and the supplemented virtual heart rate data.
7. A heart rate monitoring device, comprising:
the acquisition unit is used for acquiring the current heart rate data of the user;
a comparing unit for comparing the acquired current heart rate data with the most recently stored heart rate data;
a storage unit for storing the current heart rate data when a difference between the current heart rate data and the most recently stored heart rate data is greater than a predetermined threshold.
8. A heart rate monitoring device, comprising:
the heart rate detection unit is used for detecting heart rate data of a user; and
a memory and a processor, the heart rate detection unit, the memory and the processor being communicatively connected to each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the heart rate monitoring method according to any one of claims 1-6.
9. The heart rate monitoring device of claim 8, further comprising:
the acceleration sensor is used for acquiring acceleration information of the heart rate monitoring device; and/or
And the positioning unit is used for acquiring the position information of the heart rate monitoring device.
10. A computer-readable storage medium having stored thereon computer instructions for causing a computer to perform the method of any one of claims 1-6.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010032939.1A CN111227817A (en) | 2020-01-13 | 2020-01-13 | Heart rate monitoring method and device and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010032939.1A CN111227817A (en) | 2020-01-13 | 2020-01-13 | Heart rate monitoring method and device and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN111227817A true CN111227817A (en) | 2020-06-05 |
Family
ID=70874687
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010032939.1A Pending CN111227817A (en) | 2020-01-13 | 2020-01-13 | Heart rate monitoring method and device and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111227817A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113229808A (en) * | 2021-05-19 | 2021-08-10 | 珠海格力电器股份有限公司 | Method and device for judging whether a person is in bed or not, storage medium and electronic equipment |
| CN113545765A (en) * | 2021-07-16 | 2021-10-26 | 厦门硅田系统工程有限公司 | Heart rate continuous output method of heart rate measuring device and heart rate measuring device |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102812644A (en) * | 2010-03-15 | 2012-12-05 | 高通股份有限公司 | Method and apparatus for processing and reconstructing data |
| CN107077523A (en) * | 2014-03-20 | 2017-08-18 | 比特斯达克有限公司 | Health risk index is determined |
| WO2018045595A1 (en) * | 2016-09-12 | 2018-03-15 | 华为技术有限公司 | Heart rate detection method and device |
| CN109146236A (en) * | 2018-07-06 | 2019-01-04 | 东软集团股份有限公司 | Indexes Abnormality detection method, device, readable storage medium storing program for executing and electronic equipment |
| CN109938720A (en) * | 2019-03-29 | 2019-06-28 | 努比亚技术有限公司 | Based reminding method, wearable device and computer readable storage medium based on heart rate |
-
2020
- 2020-01-13 CN CN202010032939.1A patent/CN111227817A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102812644A (en) * | 2010-03-15 | 2012-12-05 | 高通股份有限公司 | Method and apparatus for processing and reconstructing data |
| CN107077523A (en) * | 2014-03-20 | 2017-08-18 | 比特斯达克有限公司 | Health risk index is determined |
| WO2018045595A1 (en) * | 2016-09-12 | 2018-03-15 | 华为技术有限公司 | Heart rate detection method and device |
| CN109146236A (en) * | 2018-07-06 | 2019-01-04 | 东软集团股份有限公司 | Indexes Abnormality detection method, device, readable storage medium storing program for executing and electronic equipment |
| CN109938720A (en) * | 2019-03-29 | 2019-06-28 | 努比亚技术有限公司 | Based reminding method, wearable device and computer readable storage medium based on heart rate |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113229808A (en) * | 2021-05-19 | 2021-08-10 | 珠海格力电器股份有限公司 | Method and device for judging whether a person is in bed or not, storage medium and electronic equipment |
| CN113545765A (en) * | 2021-07-16 | 2021-10-26 | 厦门硅田系统工程有限公司 | Heart rate continuous output method of heart rate measuring device and heart rate measuring device |
| CN113545765B (en) * | 2021-07-16 | 2024-04-09 | 厦门硅田系统工程有限公司 | Continuous heart rate output method of heart rate measuring device and heart rate measuring device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6502470B2 (en) | Methods and systems for reducing heart beat energy consumption | |
| CN104197952B (en) | A kind of user's walking step-recording method, device and mobile terminal | |
| US20220246015A1 (en) | Fall detection method and apparatus, and wearable device | |
| CN110097876A (en) | Voice wakes up processing method and is waken up equipment | |
| EP3366205B1 (en) | Heart rate detection method and device | |
| CN109581437B (en) | Wearable device and positioning method and device thereof | |
| CN106331559B (en) | Method and system for intelligent video recognition of sewage pool aeration | |
| CN111227817A (en) | Heart rate monitoring method and device and storage medium | |
| CN108937867A (en) | A kind of dormant monitoring method and device | |
| CN105814518A (en) | Information processing method and smart bracelet | |
| CN113783999B (en) | Method and device for controlling terminal display and computer readable medium | |
| CN114170661A (en) | A face access control recognition wake-up method, device, storage medium and terminal | |
| US9729693B1 (en) | Determining measurement confidence for data collected from sensors of a wearable device | |
| CN108279019B (en) | Step counting method and device and intelligent wearable device | |
| EP3184042A1 (en) | Electronic device and computer-readable recording medium | |
| CN117854678B (en) | A sports health management method, system and medium based on wearable device | |
| JP2023508789A (en) | ECG signal detection method and device | |
| JP2019514257A (en) | Coordinated Transmission Management for Multiple Smart Devices | |
| CN111643057A (en) | Physiological parameter data processing method and system | |
| JP5522338B2 (en) | Situation judging device, situation judging system, method and program thereof | |
| CN116668641A (en) | Cloud surveillance camera trigger method, system, electronic device and storage medium | |
| EP4311480A1 (en) | Method for monitoring sleep, apparatus, device, and storage medium | |
| CN110548273B (en) | Method and device for setting motion mode | |
| CN107152936B (en) | Step counting method, step counting equipment and mobile phone | |
| JPWO2022234638A5 (en) | Estimation device, estimation system, estimation method and program |
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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200605 |