CN111449649A - Electrocardio data processing method and device and computer readable storage medium - Google Patents

Electrocardio data processing method and device and computer readable storage medium Download PDF

Info

Publication number
CN111449649A
CN111449649A CN201910048588.0A CN201910048588A CN111449649A CN 111449649 A CN111449649 A CN 111449649A CN 201910048588 A CN201910048588 A CN 201910048588A CN 111449649 A CN111449649 A CN 111449649A
Authority
CN
China
Prior art keywords
segment
atrial fibrillation
preset
dispersion
duration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910048588.0A
Other languages
Chinese (zh)
Other versions
CN111449649B (en
Inventor
张在阳
沈东雪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Edan Instruments Inc
Original Assignee
Edan Instruments Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Edan Instruments Inc filed Critical Edan Instruments Inc
Priority to CN201910048588.0A priority Critical patent/CN111449649B/en
Publication of CN111449649A publication Critical patent/CN111449649A/en
Application granted granted Critical
Publication of CN111449649B publication Critical patent/CN111449649B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/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]
    • A61B5/346Analysis of electrocardiograms
    • A61B5/349Detecting specific parameters of the electrocardiograph cycle
    • A61B5/361Detecting fibrillation

Abstract

The invention discloses a method for processing electrocardiogram data, which comprises the following steps: when acquiring electrocardiogram data, generating an interval trend graph and an electrocardiogram waterfall graph according to the electrocardiogram data; taking a preset detection parameter as a detection condition, and detecting an atrial fibrillation segment to be selected in the interval trend graph; and analyzing the atrial fibrillation segment to be selected according to the electrocardiogram data to obtain an atrial fibrillation segment, and marking the atrial fibrillation segment. The invention also discloses a processing device of the electrocardio data and a computer readable storage medium. The invention improves the accuracy of the electrocardio data detection.

Description

Electrocardio data processing method and device and computer readable storage medium
Technical Field
The present invention relates to the field of medical signal processing, and in particular, to a method and an apparatus for processing electrocardiographic data, and a computer-readable storage medium.
Background
In all current electrocardiographic examinations, dynamic electrocardiographic examination is an important examination method, and atrial fibrillation is an important arrhythmia screening method in dynamic electrocardiographic examination. The atrial fibrillation is divided into whole-course atrial fibrillation, long-course atrial fibrillation and paroxysmal atrial fibrillation, wherein the paroxysmal atrial fibrillation generally has the duration of only a few seconds or a few minutes, and an important sign of the paroxysmal atrial fibrillation, namely f wave has the characteristics of small fibrillation amplitude and high fibrillation frequency, so that the paroxysmal atrial fibrillation is very difficult to detect. In the prior art, generally, doctors perform full-view analysis on long-range dynamic data, identify atrial fibrillation of short arrays by human eyes and manually define the atrial fibrillation events, which increases the workload of doctors, and due to inaccuracy of human factors, errors or missing detection may occur, which easily causes clinical risks.
Disclosure of Invention
The invention mainly aims to provide an electrocardio data processing method, an electrocardio data processing device and a computer readable storage medium, aiming at improving the accuracy of electrocardio data detection.
In order to achieve the above object, the present invention provides a method for processing electrocardiographic data, wherein the method for processing electrocardiographic data comprises the following steps:
when acquiring electrocardiogram data, generating an interval trend graph and an electrocardiogram waterfall graph according to the electrocardiogram data;
taking a preset detection parameter as a detection condition, and detecting an atrial fibrillation segment to be selected in the interval trend graph;
and analyzing the atrial fibrillation segment to be selected according to the electrocardiogram data to obtain an atrial fibrillation segment, and marking the atrial fibrillation segment.
Optionally, the step of determining atrial fibrillation segments to be selected in the interval trend graph includes:
dividing the interval trend graph into a plurality of segments with a preset number of heartbeats;
and sequentially determining whether each segment is an atrial fibrillation segment to be selected according to detection parameters, wherein the detection parameters comprise at least one of dispersion, duration and heart rate values.
Optionally, the step of sequentially determining whether each of the segments is an atrial fibrillation segment to be selected according to the detected parameters includes:
obtaining the dispersion of each segment in the interval trend chart, and judging whether the dispersion of each segment in the interval trend chart is greater than a preset dispersion or not;
and when the dispersion is greater than the preset dispersion, taking the segment as the atrial fibrillation segment to be selected.
Optionally, after the step of obtaining the dispersion of each segment in the interval trend graph and determining whether the dispersion of each segment in the interval trend graph is greater than a preset dispersion, the method for processing electrocardiographic data further includes:
when the dispersion is larger than the preset dispersion, judging whether the duration of the segment is larger than the preset duration;
and when the duration is longer than the preset duration, taking the segment as the atrial fibrillation segment to be selected.
Optionally, after the step of determining whether the duration of the segment is greater than the preset duration when the dispersion is greater than the preset dispersion, the method for processing electrocardiographic data further includes:
when the duration is longer than the preset duration, judging whether the heart rate value in the segment is larger than a preset heart rate value or not;
and when the heart rate value is larger than the preset heart rate value, taking the segment as the atrial fibrillation segment to be selected.
Optionally, after the step of determining whether the heart rate value in the segment is greater than the preset heart rate value when the duration is greater than the preset duration, the method for processing electrocardiographic data further includes:
when the heart rate value is smaller than or equal to the preset heart rate value, taking the heart beat corresponding to the heart rate value as a dividing point, and dividing the segment into a plurality of sub-segments;
and when the duration of the sub-segments is greater than the preset duration, taking the sub-segments as the atrial fibrillation segments to be selected.
Optionally, the step of determining an atrial fibrillation segment in the electrocardiogram waterfall graph according to the to-be-selected atrial fibrillation segment includes:
acquiring a position range of P waves in the electrocardiogram waterfall graph, and acquiring an electrocardiogram waterfall picture section corresponding to the atrial fibrillation segment to be selected in the electrocardiogram waterfall graph;
and determining an electrocardio waterfall picture section without P waves according to the position range and the electrocardio waterfall picture section, and taking the electrocardio waterfall picture section without P waves as the atrial fibrillation section.
Optionally, after the step of analyzing the to-be-selected atrial fibrillation segment according to the electrocardiogram data to obtain an atrial fibrillation segment and marking the atrial fibrillation segment, the method for processing the electrocardiographic data further includes:
acquiring parameter information corresponding to preset parameters of the atrial fibrillation segment in the electrocardiogram waterfall diagram, wherein the parameter information comprises at least one of starting time, duration, average dispersion and average heart rate value of the atrial fibrillation segment;
and outputting the parameter information.
In order to achieve the above object, the present invention further provides an apparatus for processing electrocardiographic data, comprising:
the processing method comprises the steps of storing the electrocardio data, storing the electrocardio data into a memory, storing the electrocardio data into a processor, and executing the electrocardio data processing program on the processor.
In order to achieve the above object, the present invention further provides a computer-readable storage medium, in which a program for processing electrocardiographic data is stored, and when the program for processing electrocardiographic data is executed by a processor, the steps of the method for processing electrocardiographic data are implemented.
According to the electrocardio data processing method, the electrocardio data processing device and the computer readable storage medium, when the electrocardio data are obtained, an interval trend graph and an electrocardio waterfall graph are generated according to the electrocardio data, a preset detection parameter is used as a detection condition, an atrial fibrillation segment to be selected is detected in the interval trend graph, the atrial fibrillation segment to be selected is analyzed according to the electrocardio waterfall graph to obtain an atrial fibrillation segment, and the atrial fibrillation segment is marked. The invention improves the accuracy of the electrocardio data detection.
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 schematic flow chart illustrating a first embodiment of a method for processing electrocardiographic data according to the present invention;
FIG. 3 is a schematic flow chart illustrating a second embodiment of a method for processing electrocardiographic data according to the present invention;
fig. 4 is a schematic diagram of an interval trend graph and an electrocardiogram waterfall graph according to the present invention.
The objects, features and advantages 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 atrial fibrillation is divided into whole-course atrial fibrillation, long-course atrial fibrillation and paroxysmal atrial fibrillation, wherein the paroxysmal atrial fibrillation generally has the duration of only a few seconds or a few minutes, and an important sign of the paroxysmal atrial fibrillation, namely f wave has the characteristics of small fibrillation amplitude and high fibrillation frequency, so that the paroxysmal atrial fibrillation is very difficult to detect. In the prior art, generally, doctors perform full-view analysis on long-range dynamic data, identify atrial fibrillation of short arrays by human eyes and manually define the atrial fibrillation events, which increases the workload of doctors, and due to inaccuracy of human factors, errors or missing detection may occur, which easily causes clinical risks. The invention provides an electrocardio data processing method, which is characterized in that when electrocardio data are obtained, an interval trend graph and an electrocardio waterfall graph are generated according to the electrocardio data, preset detection parameters are used as detection conditions, an atrial fibrillation segment to be selected is detected in the interval trend graph, the atrial fibrillation segment to be selected is analyzed according to the electrocardio waterfall graph to obtain an atrial fibrillation segment, and the atrial fibrillation segment is marked, so that the accuracy of electrocardio data detection is improved.
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 comprises but is not limited to an electrocardio data processing device.
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.
Referring to fig. 1, the terminal may include: a processor 1001, such as a 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 high-speed RAM memory or a non-volatile memory (e.g., 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 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1002, which is a kind of computer storage medium, may include therein a processing program of electrocardiographic data.
In the server shown in fig. 1, the processor 1001 may be configured to call a processing program of electrocardiographic data stored in the memory 1002, and perform the following operations:
when acquiring electrocardiogram data, generating an interval trend graph and an electrocardiogram waterfall graph according to the electrocardiogram data;
taking a preset detection parameter as a detection condition, and detecting an atrial fibrillation segment to be selected in the interval trend graph;
and analyzing the atrial fibrillation segment to be selected according to the electrocardiogram data to obtain an atrial fibrillation segment, and marking the atrial fibrillation segment.
Further, the processor 1001 may be configured to call a processing program of the electrocardiographic data stored in the memory 1002, and perform the following operations:
dividing the interval trend graph into a plurality of segments with a preset number of heartbeats;
and sequentially determining whether each segment is an atrial fibrillation segment to be selected according to detection parameters, wherein the detection parameters comprise at least one of dispersion, duration and heart rate values.
Further, the processor 1001 may be configured to call a processing program of the electrocardiographic data stored in the memory 1002, and perform the following operations:
obtaining the dispersion of each segment in the interval trend chart, and judging whether the dispersion of each segment in the interval trend chart is greater than a preset dispersion or not;
and when the dispersion is greater than the preset dispersion, taking the segment as the atrial fibrillation segment to be selected.
Further, the processor 1001 may be configured to call a processing program of the electrocardiographic data stored in the memory 1002, and perform the following operations:
when the dispersion is larger than the preset dispersion, judging whether the duration of the segment is larger than the preset duration;
and when the duration is longer than the preset duration, taking the segment as the atrial fibrillation segment to be selected.
Further, the processor 1001 may be configured to call a processing program of the electrocardiographic data stored in the memory 1002, and perform the following operations:
when the duration is longer than the preset duration, judging whether the heart rate value in the segment is larger than a preset heart rate value or not;
and when the heart rate value is larger than the preset heart rate value, taking the segment as the atrial fibrillation segment to be selected.
Further, the processor 1001 may be configured to call a processing program of the electrocardiographic data stored in the memory 1002, and perform the following operations:
when the heart rate value is smaller than or equal to the preset heart rate value, taking the heart beat corresponding to the heart rate value as a dividing point, and dividing the segment into a plurality of sub-segments;
and when the duration of the sub-segments is greater than the preset duration, taking the sub-segments as the atrial fibrillation segments to be selected.
Further, the processor 1001 may be configured to call a processing program of the electrocardiographic data stored in the memory 1002, and perform the following operations:
acquiring a position range of P waves in the electrocardiogram waterfall graph, and acquiring an electrocardiogram waterfall picture section corresponding to the atrial fibrillation segment to be selected in the electrocardiogram waterfall graph;
and determining an electrocardio waterfall picture section without P waves according to the position range and the electrocardio waterfall picture section, and taking the electrocardio waterfall picture section without P waves as the atrial fibrillation section.
Further, the processor 1001 may be configured to call a processing program of the electrocardiographic data stored in the memory 1002, and perform the following operations:
acquiring parameter information corresponding to preset parameters of the atrial fibrillation segment in the electrocardiogram waterfall diagram, wherein the parameter information comprises at least one of starting time, duration, average dispersion and average heart rate value of the atrial fibrillation segment;
and outputting the parameter information.
Referring to fig. 2, in an embodiment, the method for processing electrocardiographic data includes:
step S10, when acquiring the electrocardiogram data, generating an interval trend graph and an electrocardiogram waterfall graph according to the electrocardiogram data;
step S20, taking preset detection parameters as detection conditions, and detecting atrial fibrillation fragments to be selected in the interval trend graph;
and step S30, analyzing the atrial fibrillation segment to be selected according to the electrocardiogram waterfall diagram to obtain an atrial fibrillation segment, and marking the atrial fibrillation segment.
In the present embodiment, the execution subject is an electrocardiographic data processing device, and the electrocardiographic data processing device may be an independent terminal or a terminal including a program for processing electrocardiographic data.
After the processing program of the electrocardiographic data is started, initializing operation is carried out, when a card reading instruction is received, a path corresponding to the card reading instruction is obtained, and the electrocardiographic data in the dynamic electrocardiographic recording box is read according to the path. And analyzing the whole-course atrial fibrillation of the electrocardiogram data to obtain a full-view analysis result of the whole-course atrial fibrillation, wherein the full-view analysis result at least comprises an interval trend graph and an electrocardiogram waterfall graph.
As shown in fig. 4, the upper graph in fig. 4 is an interval trend graph. The interval trend graph is an RR interval trend graph, the horizontal axis of the interval trend graph is time, the vertical axis of the interval trend graph is RR intervals, the interval trend graph shows the variation trend of the RR intervals of the whole heart beat, and the dispersion of the RR intervals is visually shown. The RR interval is the time between the R-waves in the two QRS-waves, which is used to calculate the ventricular rate. The QRS complex reflects changes in left and right ventricular depolarization potentials and time, with the first downward wave being the Q wave, followed by an upward wave being the R wave, followed by a downward wave being the S wave. The P wave is atrial depolarization wave which represents the excitation of the left atrium and the right atrium, and the analysis of the P wave has important significance for the diagnosis and differential diagnosis of arrhythmia.
As shown in fig. 4, the lower graph in fig. 4 is an electrocardiogram waterfall graph. The electrocardiogram waterfall diagram is a graphical presentation form of waveform characteristics, all cardiac waves are vertically stacked in a overlooking mode, different waveforms are represented by different colors and different brightnesses, and therefore whether a certain segment has a P wave or not can be judged through the electrocardiogram waterfall diagram, and whether the segment is an atrial fibrillation segment or not is determined (one of the characteristics of the atrial fibrillation segment is that the P wave does not exist).
In this embodiment, the atrial fibrillation segment to be selected is preliminarily determined according to the interval trend graph, and the atrial fibrillation segment is finally determined from the atrial fibrillation segment to be selected through the electrocardiogram waterfall graph. The step of determining the atrial fibrillation segment to be selected according to the interval trend graph can be as follows: and scanning and analyzing the interval trend graph, and screening the atrial fibrillation fragments to be selected by taking preset detection parameters as detection conditions. Specifically, the interval trend graph is divided into a plurality of segments according to a preset number of heart beats, and whether each segment is an atrial fibrillation segment to be selected is determined in sequence according to detected parameters, wherein the detected parameters comprise at least one of dispersion, duration and heart rate value. Optionally, the preset number is three.
The step of obtaining the dispersion of the segments comprises: acquiring time differences between adjacent intervals in the segments; and calculating the dispersion of the segments according to the time difference. Specifically, taking 3 heartbeats as an example to divide the interval trend graph into a plurality of segments, R peaks of 3 heartbeats are R1, R2 and R3 respectively in chronological order, then two RR intervals are R1R2 and R2R3 respectively, and then the RR interval dispersion of the preset segment is S1 ═ (R2R3-R1R2)/R1R2, where R1R2 is a time period between R1 and R2, and R2R3 is a time period between R2 and R3.
Optionally, the dispersion of each segment in the interval trend graph is obtained, and whether the dispersion of each segment in the interval trend graph is greater than a preset dispersion is judged, if the dispersion of the segment is greater than the preset dispersion, the segment is taken as the atrial fibrillation segment to be selected. Take 3 heart beats as an example to divide the interval trend graph into a plurality of segments. The R peaks of 3 heart beats in chronological order are R1, R2 and R3, respectively, then the two RR intervals are R1R2 and R2R3, respectively, and the RR interval dispersion of the segment is S1 ═ R
(R2R3-R1R2)/R1R2, wherein R1R2 is the time period between R1 and R2, and R2R3 is the time period between R2 and R3. And the preset dispersion is S, when S1 is greater than S, the segment is taken as the atrial fibrillation segment to be selected, and when S1 is less than or equal to S, the preset segment is not considered.
Optionally, if the duration of the segment is greater than a preset duration, the segment is used as the atrial fibrillation segment to be selected. Taking 3 heart beats to divide an interval trend graph into a plurality of segments as an example, judging the size relationship between the duration T1 of the segments and a preset time T, when T1 is more than T, taking the segments as atrial fibrillation segments to be selected, and when T1 is less than or equal to T, not considering the preset segments.
Optionally, if the heart rate value in the segment is greater than the preset heart rate value, the segment is used as the to-be-selected atrial fibrillation segment. Taking 3 heart beats to divide an interval trend graph into a plurality of segments as an example, judging the size relationship between the heart rate value HRx of the segments and a preset heart rate value HR, and when the heart rate values HRx of the segments are all larger than HR, taking the segments as atrial fibrillation segments to be selected. If the heart rate value in the segment is smaller than or equal to the preset heart rate value, dividing the segment into a plurality of sub-segments by taking the heart beat corresponding to the heart rate value as a demarcation point, and taking the sub-segments as the atrial fibrillation segments to be selected when the duration of the sub-segments is longer than the preset duration. Taking 3 heart beats to divide the interval trend graph into a plurality of segments as an example, when the heart rate values HRx of the segments are all smaller than or equal to HR, the heart rate value is taken as a dividing point, the segments are divided into an a1 segment and an a2 segment (a plurality of sub-segments can be divided by taking the heart rate value as the dividing point, HRx of each sub-segment is larger than HR), whether the duration T1 of the a1 segment is larger than the preset duration T is judged again, if yes, the a1 segment is a qualified segment, whether the duration T1 of the a2 segment is larger than the preset duration T is judged, if yes, the a2 segment is also a qualified segment, and the a1 segment and the a2 segment are both taken as atrial fibrillation segments to be selected.
When at least two detection parameters are used, the detection order of the detection parameters is not limited. For example, the dispersion and the duration are used for detection, so that whether the dispersion of each segment in the interval trend graph is greater than the preset dispersion or not can be judged firstly, whether the duration of the segment of which the dispersion is greater than the preset dispersion or not is greater than the preset duration or not can be judged secondly, whether the duration of each segment in the interval trend graph is greater than the preset duration or not can be judged firstly, whether the dispersion of the segment of which the duration is greater than the preset duration or not is greater than the preset dispersion or not is judged secondly, namely, the detection sequence can be sequentially: the dispersion may be a time-duration dispersion. Alternatively, 3 heart beats are taken as an example to divide the interval trend graph into a plurality of segments. The R peaks of 3 beats in chronological order are R1, R2 and R3, respectively, then the two RR intervals are R1R2 and R2R3, respectively, then the RR interval dispersion of the segment is S1 ═ (R2R3-R1R2)/R1R2, where R1R2 is the time period between R1 and R2, and R2R3 is the time period between R2 and R3. And when S1 is greater than S, judging the size relationship between the duration time T1 of the segment and the preset time T, when T1 is greater than T, taking the segment as the atrial fibrillation segment to be selected, and when T1 is less than or equal to T, not considering the preset segment.
For example, the dispersion and the heart rate value are used for detection, it may be determined whether the dispersion of each segment in the interval trend graph is greater than the preset dispersion, and then it is determined whether the heart rate value of the segment whose dispersion is greater than the preset heart rate value, or it may be determined whether the heart rate value of each segment in the interval trend graph is greater than the preset heart rate value, and then it is determined whether the dispersion of the segment whose heart rate value is greater than the preset dispersion.
For example, the duration and the heart rate value are used for detection, it may be determined whether the duration of each segment in the interval trend graph is longer than a preset duration, and then it is determined whether the heart rate value of the segment whose duration is longer than the preset duration is longer than a preset heart rate value, or it may be determined whether the heart rate value of each segment in the interval trend graph is longer than a preset heart rate value, and then it is determined whether the duration of the segment whose heart rate value is longer than the preset duration.
For example, using the dispersion, duration and heart rate values, the detection order may be: dispersion-duration-heart rate value, dispersion-heart rate value-duration, duration-dispersion-heart rate value, duration-heart rate value-dispersion, heart rate value-dispersion-duration, heart rate value-duration-dispersion.
Optionally, if the dispersion of the segment is greater than the preset dispersion, the duration of the segment is greater than the preset duration, and the heart rate value in the segment is greater than the preset heart rate value, the segment is taken as the atrial fibrillation segment to be selected. Take 3 heart beats as an example to divide the interval trend graph into a plurality of segments. The R peaks of 3 beats in chronological order are R1, R2 and R3, respectively, then the two RR intervals are R1R2 and R2R3, respectively, then the RR interval dispersion of the segment is S1 ═ (R2R3-R1R2)/R1R2, where R1R2 is the time period between R1 and R2, and R2R3 is the time period between R2 and R3. And when S1 is greater than S, judging the size relationship between the duration time T1 of the segment and the preset time T, when T1 is greater than T, judging the size relationship between the heart rate value HRx of the segment and the preset heart rate value HR, and when the heart rate values HRx of the segments are all greater than HR, taking the segment as the atrial fibrillation segment to be selected.
If the dispersion of fragment is greater than preset dispersion, the duration of fragment is greater than preset duration, heart rate value in the fragment is less than or equal to when presetting heart rate value, with the heart beat that the heart rate value corresponds is as the demarcation point, will the fragment divide into a plurality of sub-fragments the duration of sub-fragment is greater than when presetting duration, will the sub-fragment is regarded as wait to select the atrial fibrillation fragment. Take 3 heart beats as an example to divide the interval trend graph into a plurality of segments. The R peaks of 3 beats in chronological order are R1, R2 and R3, respectively, then the two RR intervals are R1R2 and R2R3, respectively, then the RR interval dispersion of the segment is S1 ═ (R2R3-R1R2)/R1R2, where R1R2 is the time period between R1 and R2, and R2R3 is the time period between R2 and R3. When S1 is greater than S, the size relation between the duration T1 of the segment and the preset time T is judged, when T1 is greater than T, the size relation between the heart rate value HRx of the segment and the preset heart rate value HR is judged, when the heart rate value HRx of the segment is smaller than or equal to HR, the segment is divided into an A1 segment and an A2 segment by taking the heart rate value as a boundary point (a plurality of sub-segments can be divided by taking the heart rate value as the boundary point, HRx of each sub-segment is larger than HR), whether the duration T1 of the A1 segment is larger than the preset duration T is judged again, if yes, the A1 segment is a qualified segment, whether the duration T1 of the A2 segment is larger than the preset duration T is judged, if yes, the A2 segment is also a qualified segment, and the A1 segment and the A2 segment are both used as the atrial fibrillation segment to be selected.
In this embodiment, the step of determining the atrial fibrillation fragment in the electrocardiographic waterfall graph according to the to-be-selected atrial fibrillation fragment includes the steps of: acquiring a position range of P waves in the electrocardiogram waterfall graph, and acquiring an electrocardiogram waterfall picture section corresponding to the atrial fibrillation segment to be selected in the electrocardiogram waterfall graph; and determining an electrocardio waterfall picture section without P waves according to the position range and the electrocardio waterfall picture section, and taking the electrocardio waterfall picture section without P waves as the atrial fibrillation section. Or analyzing the electrocardiogram waterfall graph segments one by one, and if the electrocardiogram waterfall graph segments do not have the graphic characteristic value of the P wave, taking the electrocardiogram waterfall graph segments as atrial fibrillation segments. The graphic feature values include, but are not limited to, pixel point distribution, color value, brightness, saturation, and the like of the P-wave position region.
It should be noted that, the atrial fibrillation segment to be selected determined according to the interval trend graph may also be directly used as the atrial fibrillation segment, rather than performing the secondary screening of the electrocardiogram waterfall graph.
It should be noted that the method described in this embodiment is suitable for detecting short-range atrial fibrillation, and atrial fibrillation segments have the characteristics of large RR interval dispersion and large heart rate value, while short-range atrial fibrillation segments have the characteristic of short duration, so that the segments to be selected are screened by using the dispersion, the heart rate value and the duration. The duration of the segment is set to be longer than the preset time, so as to avoid the error of the segment with too short duration on the detection result.
In the technical scheme disclosed in the embodiment, when acquiring the electrocardiogram data, an interval trend graph and an electrocardiogram waterfall graph are generated according to the electrocardiogram data, a preset detection parameter is used as a detection condition, an atrial fibrillation segment to be selected is detected in the interval trend graph, the atrial fibrillation segment to be selected is analyzed according to the electrocardiogram waterfall graph to obtain an atrial fibrillation segment, and the atrial fibrillation segment is marked. Thus, the accuracy of short-range atrial fibrillation detection is improved.
In an embodiment, based on the embodiment shown in fig. 2, the method for processing electrocardiographic data further includes:
when acquiring electrocardiogram data, generating an interval trend graph and an electrocardiogram waterfall graph according to the electrocardiogram data;
taking a preset detection parameter as a detection condition, and detecting an atrial fibrillation segment to be selected in the interval trend graph;
and analyzing the atrial fibrillation segment to be selected according to the electrocardiogram data to obtain an atrial fibrillation segment, and marking the atrial fibrillation segment.
The method is suitable for detecting long-range atrial fibrillation. The atrial fibrillation segment to be selected is preliminarily determined according to the interval trend graph, and is finally determined from the atrial fibrillation segment to be selected through the electrocardiogram waterfall graph. The step of determining the atrial fibrillation segment to be selected according to the interval trend graph can be as follows: and scanning and analyzing the interval trend graph, and screening the atrial fibrillation fragments to be selected by taking preset detection parameters as detection conditions. Specifically, the interval trend graph is divided into a plurality of segments according to a preset number of heart beats, and whether each segment is an atrial fibrillation segment to be selected is determined in sequence according to detected parameters, wherein the detected parameters comprise at least one of dispersion and heart rate values. Optionally, the preset number is three.
Optionally, the dispersion of each segment in the interval trend graph is obtained, and whether the dispersion of each segment in the interval trend graph is greater than a preset dispersion is judged, if the dispersion of the segment is greater than the preset dispersion, the segment is taken as the atrial fibrillation segment to be selected. Take 3 heart beats as an example to divide the interval trend graph into a plurality of segments. The R peaks of 3 beats in chronological order are R1, R2 and R3, respectively, then the two RR intervals are R1R2 and R2R3, respectively, then the RR interval dispersion of the segment is S1 ═ (R2R3-R1R2)/R1R2, where R1R2 is the time period between R1 and R2, and R2R3 is the time period between R2 and R3. And the preset dispersion is S, when S1 is greater than S, the segment is taken as the atrial fibrillation segment to be selected, and when S1 is less than or equal to S, the preset segment is not considered.
Optionally, if the heart rate value in the segment is greater than the preset heart rate value, the segment is used as the to-be-selected atrial fibrillation segment. Taking 3 heart beats to divide an interval trend graph into a plurality of segments as an example, judging the size relationship between the heart rate value HRx of the segments and a preset heart rate value HR, and when the heart rate values HRx of the segments are all larger than HR, taking the segments as atrial fibrillation segments to be selected. If the heart rate value in the segment is smaller than or equal to the preset heart rate value, dividing the segment into a plurality of sub-segments by taking the heart beat corresponding to the heart rate value as a demarcation point, and taking the sub-segments as the atrial fibrillation segments to be selected when the duration of the sub-segments is longer than the preset duration. Taking 3 heart beats to divide the interval trend graph into a plurality of segments as an example, when the heart rate values HRx of the segments are all smaller than or equal to HR, the heart rate value is taken as a dividing point, the segments are divided into an a1 segment and an a2 segment (a plurality of sub-segments can be divided by taking the heart rate value as the dividing point, HRx of each sub-segment is larger than HR), whether the duration T1 of the a1 segment is larger than the preset duration T is judged again, if yes, the a1 segment is a qualified segment, whether the duration T1 of the a2 segment is larger than the preset duration T is judged, if yes, the a2 segment is also a qualified segment, and the a1 segment and the a2 segment are both taken as atrial fibrillation segments to be selected.
When at least two detection parameters are used, the detection order of the detection parameters is not limited. For example, the dispersion and the heart rate value are used for detection, then, whether the dispersion of each segment in the interval trend graph is greater than the preset dispersion or not can be judged firstly, whether the heart rate value of the segment with the dispersion greater than the preset dispersion or not is judged secondly, whether the heart rate value of each segment in the interval trend graph is greater than the preset heart rate value or not can be judged firstly, whether the dispersion of the segment with the heart rate value greater than the preset heart rate value or not is judged secondly, and the detection sequence can be sequentially: the dispersion-heart rate value can also be a heart rate value-dispersion.
Alternatively, 3 heart beats are taken as an example to divide the interval trend graph into a plurality of segments. The R peaks of 3 beats in chronological order are R1, R2 and R3, respectively, then the two RR intervals are R1R2 and R2R3, respectively, then the RR interval dispersion of the segment is S1 ═ (R2R3-R1R2)/R1R2, where R1R2 is the time period between R1 and R2, and R2R3 is the time period between R2 and R3. And when S1 is larger than S, judging the size relationship between the heart rate value HRx of the segment and a preset heart rate value HR, and when the heart rate values HRx of the segment are all larger than HR, taking the segment as the atrial fibrillation segment to be selected.
If the dispersion of the segments is greater than the preset dispersion, when the heart rate value in the segments is less than or equal to the preset heart rate value, taking the heart beat corresponding to the heart rate value as a demarcation point, dividing the segments into a plurality of sub-segments, and taking the sub-segments as the atrial fibrillation segments to be selected when the duration of the sub-segments is greater than the preset duration. Take 3 heart beats as an example to divide the interval trend graph into a plurality of segments. The R peaks of 3 beats in chronological order are R1, R2 and R3, respectively, then the two RR intervals are R1R2 and R2R3, respectively, then the RR interval dispersion of the segment is S1 ═ (R2R3-R1R2)/R1R2, where R1R2 is the time period between R1 and R2, and R2R3 is the time period between R2 and R3. When S1 is greater than S, judging the size relationship between the heart rate value HRx of the segment and a preset heart rate value HR, when the heart rate values HRx of the segment are all smaller than or equal to HR, taking the heart rate value as a boundary point, dividing the segment into an A1 segment and an A2 segment (a plurality of sub-segments can be divided by taking the heart rate value as the boundary point, HRx of each sub-segment is larger than HR), judging whether the duration T1 of the A1 segment is larger than the preset duration T, if so, the A1 segment is a qualified segment, judging whether the duration T1 of the A2 segment is larger than the preset duration T, if so, the A2 segment is also the qualified segment, and the A1 segment and the A2 segment are both used as atrial fibrillation segments to be selected.
In this embodiment, the step of determining the atrial fibrillation fragment in the electrocardiographic waterfall graph according to the to-be-selected atrial fibrillation fragment includes the steps of: acquiring a position range of P waves in the electrocardiogram waterfall graph, and acquiring an electrocardiogram waterfall picture section corresponding to the atrial fibrillation segment to be selected in the electrocardiogram waterfall graph; and determining an electrocardio waterfall picture section without P waves according to the position range and the electrocardio waterfall picture section, and taking the electrocardio waterfall picture section without P waves as the atrial fibrillation section. Or analyzing the electrocardiogram waterfall graph segments one by one, and if the electrocardiogram waterfall graph segments do not have the graphic characteristic value of the P wave, taking the electrocardiogram waterfall graph segments as atrial fibrillation segments. The graphic feature values include, but are not limited to, pixel point distribution, color value, brightness, saturation, and the like of the P-wave position region.
It should be noted that, the atrial fibrillation segment to be selected determined according to the interval trend graph may also be directly used as the atrial fibrillation segment, rather than performing the secondary screening of the electrocardiogram waterfall graph.
In the technical scheme disclosed in the embodiment, when acquiring the electrocardiogram data, an interval trend graph and an electrocardiogram waterfall graph are generated according to the electrocardiogram data, a preset detection parameter is used as a detection condition, an atrial fibrillation segment to be selected is detected in the interval trend graph, the atrial fibrillation segment to be selected is analyzed according to the electrocardiogram waterfall graph to obtain an atrial fibrillation segment, and the atrial fibrillation segment is marked. Thus, the accuracy of long-range atrial fibrillation detection is improved.
In an embodiment, as shown in fig. 3, after the step of analyzing the fragment of atrial fibrillation to be selected according to the electrocardiogram waterfall graph to obtain an atrial fibrillation fragment and marking the atrial fibrillation fragment according to the embodiment shown in fig. 2, the method for processing electrocardiographic data further includes:
step S40, acquiring parameter information corresponding to preset parameters of the atrial fibrillation segment in the electrocardiogram waterfall diagram, wherein the parameter information comprises at least one of starting time, duration, average dispersion and average heart rate value of the atrial fibrillation segment;
and step S50, outputting the parameter information.
In this embodiment, the atrial fibrillation segment is marked, stored and recorded, and meanwhile, parameter information corresponding to preset parameters of the atrial fibrillation segment is presented in a list form on an interface, where the parameter information includes at least one of start time, duration, average dispersion and average heart rate value of the atrial fibrillation segment. The system generates and outputs a scatter diagram, a histogram, a trend diagram and the like, and further generates and outputs an analysis report.
According to the technical scheme disclosed by the embodiment, after the atrial fibrillation segment is obtained, the parameter information of the atrial fibrillation segment is output, so that analysis by a doctor is facilitated.
The invention also provides an electrocardiogram data processing device, which comprises an electrocardiogram data processing program, wherein the electrocardiogram data processing program is configured to realize the steps of the electrocardiogram data processing method under the condition that the electrocardiogram data processing device is used as an execution main body.
The embodiment of the present invention further provides a computer-readable storage medium, where a processing program of electrocardiographic data is stored in the computer-readable storage medium, and the processing program of electrocardiographic data is executed by a processor to implement the steps of the processing method of electrocardiographic data mainly executed by the air conditioner or the server.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a 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 a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. The method for processing the electrocardiogram data is characterized by comprising the following steps of:
when acquiring electrocardiogram data, generating an interval trend graph and an electrocardiogram waterfall graph according to the electrocardiogram data;
taking a preset detection parameter as a detection condition, and detecting an atrial fibrillation segment to be selected in the interval trend graph;
and analyzing the atrial fibrillation segment to be selected according to the electrocardiogram data to obtain an atrial fibrillation segment, and marking the atrial fibrillation segment.
2. The method of processing electrocardiographic data according to claim 1 wherein said step of determining a segment of atrial fibrillation to be selected in said interval trend graph comprises:
dividing the interval trend graph into a plurality of segments with a preset number of heartbeats;
and sequentially determining whether each segment is an atrial fibrillation segment to be selected according to detection parameters, wherein the detection parameters comprise at least one of dispersion, duration and heart rate values.
3. The method for processing electrocardiographic data according to claim 2, wherein the step of sequentially determining whether each of the segments is a segment of atrial fibrillation to be selected according to the detected parameters comprises:
obtaining the dispersion of each segment in the interval trend chart, and judging whether the dispersion of each segment in the interval trend chart is greater than a preset dispersion or not;
and when the dispersion is greater than the preset dispersion, taking the segment as the atrial fibrillation segment to be selected.
4. The method for processing electrocardiographic data according to claim 3, wherein after the step of obtaining the dispersion of each segment in the interval trend graph and determining whether the dispersion of each segment in the interval trend graph is greater than a preset dispersion, the method for processing electrocardiographic data further comprises:
when the dispersion is larger than the preset dispersion, judging whether the duration of the segment is larger than the preset duration;
and when the duration is longer than the preset duration, taking the segment as the atrial fibrillation segment to be selected.
5. The method for processing electrocardiographic data according to claim 4, wherein after the step of determining whether the duration of the segment is longer than the preset duration when the dispersion is longer than the preset dispersion, the method for processing electrocardiographic data further comprises:
when the duration is longer than the preset duration, judging whether the heart rate value in the segment is larger than a preset heart rate value or not;
and when the heart rate value is larger than the preset heart rate value, taking the segment as the atrial fibrillation segment to be selected.
6. The method for processing electrocardiographic data according to claim 5, wherein after the step of determining whether the heart rate value in the segment is greater than the preset heart rate value when the duration is greater than the preset duration, the method for processing electrocardiographic data further comprises:
when the heart rate value is smaller than or equal to the preset heart rate value, taking the heart beat corresponding to the heart rate value as a dividing point, and dividing the segment into a plurality of sub-segments;
and when the duration of the sub-segments is greater than the preset duration, taking the sub-segments as the atrial fibrillation segments to be selected.
7. The method for processing electrocardiographic data according to claim 1, wherein the step of determining atrial fibrillation segments in the electrocardiographic waterfall graph according to the atrial fibrillation segment to be selected comprises the following steps:
acquiring a position range of P waves in the electrocardiogram waterfall graph, and acquiring an electrocardiogram waterfall picture section corresponding to the atrial fibrillation segment to be selected in the electrocardiogram waterfall graph;
and determining an electrocardio waterfall picture section without P waves according to the position range and the electrocardio waterfall picture section, and taking the electrocardio waterfall picture section without P waves as the atrial fibrillation section.
8. The method for processing electrocardiographic data according to any one of claims 1-7, wherein after the step of analyzing the atrial fibrillation segment to be selected according to the electrocardiographic waterfall graph to obtain an atrial fibrillation segment and marking the atrial fibrillation segment, the method for processing electrocardiographic data further comprises:
acquiring parameter information corresponding to preset parameters of the atrial fibrillation segment in the electrocardiogram waterfall diagram, wherein the parameter information comprises at least one of starting time, duration, average dispersion and average heart rate value of the atrial fibrillation segment;
and outputting the parameter information.
9. An apparatus for processing electrocardiographic data, comprising a memory, a processor, and a program for processing electrocardiographic data stored in the memory and executable on the processor, wherein the program for processing electrocardiographic data realizes the steps of the method for processing electrocardiographic data according to any one of claims 1 to 8 when executed by the processor.
10. A computer-readable storage medium, characterized in that a processing program of electrocardiographic data is stored on the computer-readable storage medium, and the processing program of electrocardiographic data realizes the steps of the processing method of electrocardiographic data according to any one of claims 1 to 8 when executed by a processor.
CN201910048588.0A 2019-01-18 2019-01-18 Electrocardiogram data processing method and device and computer readable storage medium Active CN111449649B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910048588.0A CN111449649B (en) 2019-01-18 2019-01-18 Electrocardiogram data processing method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910048588.0A CN111449649B (en) 2019-01-18 2019-01-18 Electrocardiogram data processing method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111449649A true CN111449649A (en) 2020-07-28
CN111449649B CN111449649B (en) 2023-07-11

Family

ID=71671505

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910048588.0A Active CN111449649B (en) 2019-01-18 2019-01-18 Electrocardiogram data processing method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111449649B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022110231A1 (en) * 2020-11-30 2022-06-02 深圳迈瑞生物医疗电子股份有限公司 Monitoring system, atrial fibrillation comprehensive management method and monitoring data display method

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080221633A1 (en) * 2004-10-19 2008-09-11 University Of Washington Long-term monitoring for discrimination of different heart rhythms
WO2008137539A1 (en) * 2007-05-01 2008-11-13 Medtronic, Inc. Method and apparatus for detecting arrhythmias in a medical device
US20090275849A1 (en) * 2008-05-02 2009-11-05 Donald-Bane Stewart Methods for Detection of Cardiac Arrhythmias
CN104367318A (en) * 2014-11-07 2015-02-25 北京海思敏医疗技术有限公司 Detection method and device for atrial fibrillation
CN106264518A (en) * 2016-08-04 2017-01-04 东莞市第三人民医院 A kind of based on finger tip Electrocardiographic atrial fibrillation detection method and device
US20170296076A1 (en) * 2016-04-13 2017-10-19 Cardiac Pacemakers, Inc. Af monitor and offline processing
CN107296604A (en) * 2017-08-29 2017-10-27 心云(北京)医疗器械有限公司 A kind of atrial fibrillation determination methods
CN107427215A (en) * 2015-02-18 2017-12-01 美敦力公司 For identifying the device of sick sinus syndrome in implantable cardiac monitoring device
US20180104502A1 (en) * 2016-10-18 2018-04-19 Cardiac Pacemakers, Inc. Systems and methods for arrhythmia detection
CN108577823A (en) * 2018-04-27 2018-09-28 京东方科技集团股份有限公司 A kind of arrhythmia detection device and arrhythmia detection system
CN109044338A (en) * 2018-08-08 2018-12-21 广州视源电子科技股份有限公司 atrial fibrillation detection device and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080221633A1 (en) * 2004-10-19 2008-09-11 University Of Washington Long-term monitoring for discrimination of different heart rhythms
WO2008137539A1 (en) * 2007-05-01 2008-11-13 Medtronic, Inc. Method and apparatus for detecting arrhythmias in a medical device
US20090275849A1 (en) * 2008-05-02 2009-11-05 Donald-Bane Stewart Methods for Detection of Cardiac Arrhythmias
CN104367318A (en) * 2014-11-07 2015-02-25 北京海思敏医疗技术有限公司 Detection method and device for atrial fibrillation
CN107427215A (en) * 2015-02-18 2017-12-01 美敦力公司 For identifying the device of sick sinus syndrome in implantable cardiac monitoring device
US20170296076A1 (en) * 2016-04-13 2017-10-19 Cardiac Pacemakers, Inc. Af monitor and offline processing
CN106264518A (en) * 2016-08-04 2017-01-04 东莞市第三人民医院 A kind of based on finger tip Electrocardiographic atrial fibrillation detection method and device
US20180104502A1 (en) * 2016-10-18 2018-04-19 Cardiac Pacemakers, Inc. Systems and methods for arrhythmia detection
CN107296604A (en) * 2017-08-29 2017-10-27 心云(北京)医疗器械有限公司 A kind of atrial fibrillation determination methods
CN108577823A (en) * 2018-04-27 2018-09-28 京东方科技集团股份有限公司 A kind of arrhythmia detection device and arrhythmia detection system
CN109044338A (en) * 2018-08-08 2018-12-21 广州视源电子科技股份有限公司 atrial fibrillation detection device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022110231A1 (en) * 2020-11-30 2022-06-02 深圳迈瑞生物医疗电子股份有限公司 Monitoring system, atrial fibrillation comprehensive management method and monitoring data display method

Also Published As

Publication number Publication date
CN111449649B (en) 2023-07-11

Similar Documents

Publication Publication Date Title
US11445968B2 (en) Quantitative heart testing
US10682118B2 (en) Ultrasound system and method for analyzing cardiac periodicity
US20090275850A1 (en) Electrocardiographic (ECG) Data Analysis Systems and Methods
AU2009243424B2 (en) ECG signal analysis tool
CN110464333B (en) Method and device for storing electrocardiogram data
CN110393520B (en) Electrocardiogram data analysis method and device, electrocardiogram analyzer and storage medium
CN109310354B (en) Method and device for presenting ST events in electrocardiogram
US20160183832A1 (en) Heart Electrophysiological Signal Analysis System
US10856756B2 (en) Time-frequency analysis of electrocardiograms
EP3641643B1 (en) System for detecting atrial fibrillation
CN113786200B (en) Electrocardiosignal processing method, electrocardiosignal processing device, electrocardiosignal processing equipment and readable medium
US10918301B2 (en) Multiple rhythm template monitoring
US6967652B1 (en) Method and apparatus for displaying physiological patient data
US10950018B2 (en) Interpolation of dynamic three-dimensional maps
JP2023120282A (en) Biological signal processing device and data generation method for automatic analysis
CN111150386A (en) Method, device and storage medium for electrocardio analysis
CN111449649B (en) Electrocardiogram data processing method and device and computer readable storage medium
US11452476B2 (en) Detection report data generation method
CN110545713B (en) Physiological information waveform processing method, program, computer-readable storage medium, and physiological information waveform processing device
CN110916649B (en) Processing device, processing method and detection device for long-range electrocardiogram scatter diagram
JP7152268B2 (en) BIOLOGICAL SIGNAL PROCESSING DEVICE AND CONTROL METHOD THEREOF
JP2001504722A (en) Statistical mapping of the physiological state of the mammalian heart
CN111493856A (en) Heart beat classification correction method, heart beat classification correction device, electrocardiogram checking system and storage medium
US20230277107A1 (en) Systems and methods for visual tracing of abnormality in diagnostic and monitoring clinical applications
US20220313136A1 (en) Physiological information processing apparatus, physiological information processing method, and non-transitory computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant