A method and device for identifying the working state of a pacemaker based on electrocardiogram signals

By analyzing the pulse position and intercardiogram characteristics in the electrocardiogram signal, identifying the working status of the pacemaker, the difficulty in judgment caused by inaccurate feedback in the prior art is solved, and a more accurate and convenient identification method is achieved.

CN114534101BActive Publication Date: 2025-06-24SHENZHEN CREATIVE IND CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011348755.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-26
Publication Date
2025-06-24
Estimated Expiration
2040-11-26

AI Technical Summary

Technical Problem

The prior art is difficult to accurately and timely identify the working status of the pacemaker, mainly due to inaccurate patient feedback.

Method used

By analyzing the pulse position and intercardiogram characteristics in the ECG signal, the operating status of the pacemaker is identified. Specific steps include obtaining electrocardiogram signal data, identifying pace pulses, P waves and QRS wave groups, calculating interval data, and generating pacemaker working status data based on these characteristics.

Benefits of technology

It provides a more accurate and convenient way to identify the working status of the pacemaker, solving the problem of difficulty in judgment caused by inaccurate patient feedback.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114534101B_ABST
    Figure CN114534101B_ABST
Patent Text Reader

Abstract

An embodiment of the present invention relates to a method and device for identifying the working state of a pacemaker based on electrocardiogram signals. The method includes: acquiring electrocardiogram signal data; identifying pacing pulses to generate first pacing pulse data, extracting the time information of the pulse peak points to generate first peak point data, and counting the number of pacing pulses as the first total number; identifying P waves to generate first P wave data, extracting the time information of the P wave peak points to generate second peak point data, and calculating the PP interval to generate a first interval data sequence; identifying QRS complexes to generate first QRS complex data, and extracting the time information of the R point to generate first R point data; calculating the cardiac cycle intervals to generate a second interval data sequence; when the first total number is empty, the working state of the pacemaker is that there is no pulse information in the pacemaker; when the first total number is not empty, the working state of the pacemaker is identified according to the pacemaker position information. The embodiment of the present invention provides a more accurate and convenient identification means for correctly judging the working state of the pacemaker.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of signal processing, and in particular, to a method and device for identifying the working state of a pacemaker according to an electrocardiogram (ECG) signal. Background Art

[0002] A cardiac pacemaker stimulates the heart to beat by sending tiny electrical pulses to the heart. When the pacemaker electrode is placed in the atrium, the signal sequence on the electrocardiogram is: pacing pulse signal - P wave - QRS complex - T wave. When the pacemaker electrode is placed in the ventricle, the signal sequence on the electrocardiogram is: pacing pulse signal - QRS complex - T wave. Conventionally, the identification of the working state of a cardiac pacemaker mainly relies on the feedback from the patient himself / herself. Due to the differences in factors such as the patient's individual expression ability and individual perception sensitivity, it is often difficult to accurately and timely obtain the true state of the pacemaker. Summary of the Invention

[0003] The object of the present invention is to provide a method, device, electronic device, computer program product, and computer-readable storage medium for identifying the working state of a pacemaker according to an ECG signal, which, on the premise of knowing the installation position of the pacemaker, identify the working state of the pacemaker according to the pulse position and the characteristics of the cardiac cycle in the ECG signal. In this way, the problem that the working state of the pacemaker cannot be correctly judged due to inaccurate patient feedback can be solved, and a more accurate and convenient identification means can be provided for doctors and patients.

[0004] To achieve the above object, a first aspect of an embodiment of the present invention provides a method for identifying the working state of a pacemaker according to an ECG signal, the method including:

[0005] Obtain ECG signal data;

[0006] Perform pacing pulse recognition processing on the ECG signal data to generate a plurality of first pacing pulse data; for each of the first pacing pulse data, perform pulse peak point time information extraction processing to generate corresponding first peak point data; and count the number of the first peak point data as the first total number;

[0007] Perform P wave recognition processing on the ECG signal data to generate a plurality of first P wave data; and for each of the first P wave data, perform P wave peak point time information extraction processing to generate corresponding second peak point data; perform absolute difference calculation processing on adjacent second peak point data to generate corresponding first interphase data; and form a first interphase data sequence from all the first interphase data;

[0008] Perform QRS complex recognition processing on the electrocardiogram signal data to generate multiple first QRS complex data; and perform R point time information extraction processing on each of the first QRS complex data to generate corresponding first R point data; perform absolute difference calculation processing on adjacent first R point data to generate corresponding second interval data; and form a second interval data sequence from all the second interval data.

[0009] When the first total is empty, use the preset pacemaker no pulse information as the first pacemaker working state data.

[0010] When the first total is not empty, perform pacemaker working state recognition processing according to the preset pacemaker position information to generate second pacemaker working state data; when the pacemaker position information is the atrium, perform atrium pacemaker working state recognition processing according to all the first peak point data, all the second peak point data and the first interval data sequence to generate the second pacemaker working state data; when the pacemaker position information is the ventricle, perform ventricle pacemaker working state recognition processing according to all the first peak point data, all the first R point data and the second interval data sequence to generate the second pacemaker working state data.

[0011] Preferably, the performing atrium pacemaker working state recognition processing according to all the first peak point data, all the second peak point data and the first interval data sequence to generate the second pacemaker working state data specifically includes:

[0012] Count the number of all the second peak point data to generate the total number of P waves.

[0013] When the total number of P waves is empty, use the preset atrium pacing poor information as the second pacemaker working state data.

[0014] When the total number of P waves is not empty, perform pacing pulse and P wave relative position recognition processing according to all the first peak point data and all the second peak point data to generate first recognition data; when the first recognition data is that the atrium pulse position is abnormal, use the preset atrium sensing poor information as the second pacemaker working state data; when the first recognition data is that the atrium pulse position is normal, perform first characteristic interval statistical processing according to the first interval data sequence to generate first characteristic interval data; and when the first characteristic interval data is higher than the preset basic interval threshold and lower than the preset first multiple interval threshold, use the preset atrium sensing excessive information as the second pacemaker working state data; wherein, the ratio of the first multiple interval threshold to the basic interval threshold is the first multiple.

[0015] Further, performing recognition processing on the relative positions of pacing pulses and P waves based on all the first peak point data and all the second peak point data to generate first recognition data, specifically including:

[0016] Extracting, from all the first peak point data, the first peak point data closest to each second peak point data as the first closest pulse data corresponding to each second peak point data;

[0017] When each of the first closest pulse data is before its corresponding second peak point data, setting the first recognition data as the atrial pulse position being normal;

[0018] When each of the first closest pulse data is after its corresponding second peak point data, setting the first recognition data as the atrial pulse position being abnormal.

[0019] Further, performing first characteristic interval statistical processing on the first interval data sequence to generate first characteristic interval data, specifically including:

[0020] Performing weighted mean calculation processing on all the first interval data in the first interval data sequence to generate the first characteristic interval data.

[0021] Preferably, performing recognition processing on the working state of the ventricular pacemaker based on all the first peak point data, all the first R point data, and the second interval data sequence to generate the second pacemaker working state data, specifically including:

[0022] Performing recognition processing on the relative positions of pacing pulses and QRS complexes based on all the first peak point data and all the first R point data to generate second recognition data;

[0023] Performing interval stability recognition processing on the second interval data sequence to generate third recognition data;

[0024] When the third recognition data is interval irregularity, using the preset pacing rhythm irregularity information as the second pacemaker working state data;

[0025] When the third recognition data is a regular interval, according to the second interval data sequence, perform second characteristic interval statistical processing to generate second characteristic interval data; when the second characteristic interval data is higher than the first multiple interval threshold, use the preset ventricular pacing poor information as the second pacemaker working state data; when the second characteristic interval data is higher than the basic interval threshold, lower than the first multiple interval threshold, and the second recognition data is normal ventricular pulse position, use the preset ventricular oversensing information as the second pacemaker working state data; when the second characteristic interval data is lower than the basic interval threshold and the second recognition data is normal ventricular pulse position, use the ventricular oversensing information as the second pacemaker working state data; when the second characteristic interval data is lower than the basic interval threshold and the second recognition data is abnormal ventricular pulse position, use the preset ventricular undersensing information as the second pacemaker working state data.

[0026] Further, the relative position recognition processing of the pacing pulse and the QRS complex is performed according to all the first peak point data and all the first R point data to generate second recognition data, specifically including:

[0027] Extract the first peak point data closest to each first R point data from all the first peak point data as the second closest pulse data corresponding to each first R point data;

[0028] When each second closest pulse data is before its corresponding first R point data, set the second recognition data as normal ventricular pulse position;

[0029] When each second closest pulse data is after its corresponding first R point data, set the second recognition data as abnormal ventricular pulse position.

[0030] Further, the interval stability recognition processing is performed according to the second interval data sequence to generate third recognition data, specifically including:

[0031] In the second interval data sequence, perform absolute difference calculation processing on adjacent second interval data to generate a plurality of first difference data;

[0032] When all the first difference data are all lower than the preset difference data threshold, set the third recognition data as a regular interval;

[0033] When all the first difference data cannot all be lower than the difference data threshold, set the third recognition data as interval irregularity.

[0034] Further, performing second characteristic interphase statistical processing according to the second interphase data sequence to generate second characteristic interphase data, specifically including:

[0035] Performing weighted mean calculation processing on all the second interphase data in the second interphase data sequence to generate the second characteristic interphase data.

[0036] The second aspect of the embodiment of the present invention provides a device for identifying the working state of a pacemaker according to an electrocardiogram signal, including:

[0037] An acquisition module is used to acquire electrocardiogram signal data;

[0038] A preprocessing module is used to perform pacing pulse recognition processing on the electrocardiogram signal data to generate a plurality of first pacing pulse data; perform pulse peak point recognition processing on each of the first pacing pulse data to generate corresponding first peak point data; and count the number of the first peak point data as the first total number;

[0039] The preprocessing module is further used to perform P wave recognition processing on the electrocardiogram signal data to generate a plurality of first P wave data; perform P wave peak point recognition processing on each of the first P wave data to generate corresponding second peak point data; perform absolute difference calculation processing on adjacent second peak point data to generate corresponding first interphase data; and form a first interphase data sequence from all the first interphase data;

[0040] The preprocessing module is further used to perform QRS complex recognition processing on the electrocardiogram signal data to generate a plurality of first QRS complex data; perform R point recognition processing on each of the first QRS complex data to generate corresponding first R point data; perform absolute difference calculation processing on adjacent first R point data to generate corresponding second interphase data; and form a second interphase data sequence from all the second interphase data;

[0041] A state recognition module is used to use the preset pacemaker no-pulse information as the first pacemaker working state data when the first total number is empty;

[0042] The state recognition module is further configured to, when the first total number is not empty, perform a pacemaker working state recognition process according to the preset pacemaker position information to generate second pacemaker working state data; when the pacemaker position information is the atrium, perform an atrial pacemaker working state recognition process according to all the first peak point data, all the second peak point data, and the first interphase data sequence to generate the second pacemaker working state data; when the pacemaker position information is the ventricle, perform a ventricular pacemaker working state recognition process according to all the first peak point data, all the first R point data, and the second interphase data sequence to generate the second pacemaker working state data.

[0043] A third aspect of the embodiments of the present invention provides an electronic device, including: a memory, a processor, and a transceiver;

[0044] The processor is used to be coupled with the memory, read and execute the instructions in the memory to implement the method steps described in the first aspect above;

[0045] The transceiver is coupled with the processor, and the processor controls the transceiver to perform message sending and receiving.

[0046] A fourth aspect of the embodiments of the present invention provides a computer program product, where the computer program product includes computer program code, and when the computer program code is executed by a computer, the computer is caused to execute the method described in the first aspect above.

[0047] A fifth aspect of the embodiments of the present invention provides a computer-readable storage medium, where the computer storage medium stores computer instructions, and when the computer instructions are executed by a computer, the computer is caused to execute the instructions of the method described in the first aspect above.

[0048] A method, device, electronic device, computer program product, and computer-readable storage medium for recognizing the working state of a pacemaker according to an electrocardiogram signal provided by the embodiments of the present invention recognize the working state of the pacemaker according to the pulse position and the cardiac cycle characteristics in the electrocardiogram signal on the premise of knowing the pacemaker installation position; thereby, solving the problem that the working state of the pacemaker cannot be correctly judged due to inaccurate patient feedback, and providing a more accurate and convenient recognition means for doctors and patients. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 FIG. is a schematic diagram of a method for recognizing the working state of a pacemaker according to an electrocardiogram signal provided by Embodiment 1 of the present invention;

[0050] Figure 2 FIG. is a module structure diagram of a device for recognizing the working state of a pacemaker according to an electrocardiogram signal provided by Embodiment 2 of the present invention;

[0051] Figure 3 A schematic structural diagram of an electronic device provided in Embodiment 3 of the present invention. Detailed implementation manners

[0052] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0053] Figure 1 A schematic diagram of a method for identifying the working state of a pacemaker according to an electrocardiogram signal provided in Embodiment 1 of the present invention. As Figure 1 shown, the method mainly includes the following steps:

[0054] Step 1, obtaining electrocardiogram signal data.

[0055] Specifically, an electrocardiogram device obtains electrocardiogram signal data through electrocardiogram signal acquisition and signal sampling processing of a patient; the electrocardiogram device can also obtain electrocardiogram signal data through connecting an electrocardiogram signal sampling device and performing electrocardiogram signal acquisition and signal sampling processing on the patient; the electrocardiogram device can also obtain electrocardiogram signal data through data reading from a storage medium storing sampled data. Here, the electrocardiogram device is specifically a terminal device or a server capable of implementing the method of the embodiment of the present invention.

[0056] Step 2, performing pacing pulse recognition processing on the electrocardiogram signal data to generate a plurality of first pacing pulse data; for each first pacing pulse data, performing pulse peak point time information extraction processing to generate corresponding first peak point data; and counting the number of first peak point data as the first total number.

[0057] Here, the electrocardiogram device performs pacing pulse recognition on the narrow signal data segment in the electrocardiogram signal data according to the pacing pulse width range (for example, 0.1 ms to 2 ms) and the pacing pulse amplitude range (for example, 2 mv to 700 mv), and extracts the narrow signal data segment that meets the pacing pulse width range and the pacing pulse amplitude range to form the first pacing pulse data; in the first pacing pulse data, the time information corresponding to the maximum amplitude signal point, that is, the pacing pulse peak point, is extracted as the first peak point data; in the embodiment of the present invention, each first peak point data is used as the position information of each corresponding pacing pulse; the first total number is the total number of pacing pulses in the electrocardiogram signal data. The above-mentioned first peak point data related to the pacing pulse will be called by the atrial and ventricular pacemaker working state recognition processing process in the subsequent steps.

[0058] Step 3: Perform P-wave recognition processing on the electrocardiogram signal data to generate multiple first P-wave data; for each first P-wave data, perform P-wave peak point time information extraction processing to generate corresponding second peak point data; perform absolute difference calculation processing on adjacent second peak point data to generate corresponding first interval data; and form a first interval data sequence from all the first interval data.

[0059] Here, the conventional method of P-wave recognition processing is that the electrocardiogram device first detects the QRS complex, then performs P-wave form detection forward from the starting position of the QRS complex to obtain a P-wave form data segment, and then forms the first P-wave data from the P-wave form data segment; in the first P-wave data, extract the time information corresponding to the maximum amplitude signal point, that is, the P-wave peak point, as the second peak point data; in the embodiments of the present invention, each second peak point data is used as the position information of the corresponding each P-wave; the first interval data is the time difference between the position information of two adjacent P-waves, also called the PP interval; the above-mentioned second peak point data and first interval data sequence related to the P-wave will be called by the atrial pacemaker working state recognition processing process in the subsequent steps.

[0060] Step 4: Perform QRS complex recognition processing on the electrocardiogram signal data to generate multiple first QRS complex data; for each first QRS complex data, perform R-point time information extraction processing to generate corresponding first R-point data; perform absolute difference calculation processing on adjacent first R-point data to generate corresponding second interval data; and form a second interval data sequence from all the second interval data.

[0061] Here, there are various QRS complex detection algorithms, such as the differential method, the matched filtering method, the band-pass filtering method, the wavelet transform method, the morphological method, the length and energy transform method, etc. The electrocardiogram device selects one of the QRS complex detection algorithms to perform QRS complex recognition processing on the electrocardiogram signal data to obtain a QRS complex data segment, and then forms the first QRS complex data from the QRS complex data segment; then, in the first QRS complex data, extract the time information corresponding to the maximum amplitude signal point, that is, the R-point, as the first R-point data; because in the QRS complex, the R-point is its maximum amplitude point, so it is often customary to use the position information of the R-point to represent the position information of the QRS complex, that is, use the first R-point data as the position information of the QRS complex of the first QRS complex data; the cardiac cycle interval refers to the time interval between two consecutive heartbeats. Here, the data representing the cardiac cycle interval is the second interval data, which is equal to the time interval between two adjacent R-points, that is, the difference between two adjacent first R-point data; the above-mentioned first R-point data and second interval data sequence related to the QRS complex will be called by the ventricular pacemaker working state recognition processing process in the subsequent steps.

[0062] Step 5, determine whether the first total is empty. When the first total is empty, go to Step 6; when the first total is not empty, go to Step 7.

[0063] Here, when the first total is empty, it indicates that no pacing pulse is found in the electrocardiogram signal data, and the electrocardiogram device will go to Step 6 to directly give the abnormal information of the pacemaker working state; when the first total is empty, the electrocardiogram device will go to Step 7 for further identification processing.

[0064] Step 6, use the preset pacemaker no-pulse information as the first pacemaker working state data.

[0065] Here, when the first total is empty, it indicates that no pacing pulse is found in the electrocardiogram signal data, and the electrocardiogram device outputs the first pacemaker working state data = pacemaker no-pulse information; the pacemaker no-pulse information is the preset abnormal information used to identify the pacemaker no-pulse phenomenon; there are various reasons for this situation, such as the failure of the pulse generation component of the pacemaker, the failure of the electrode of the pacemaker, etc.

[0066] Step 7, according to the preset pacemaker position information, perform pacemaker working state identification processing to generate the second pacemaker working state data;

[0067] Here, when the first total is not empty, it indicates that the pacemaker is still in the working state, and the subsequent steps are to further identify the abnormal information in the specific working state; in the embodiment of the present invention, the installation position of the pacemaker is known, and the pacemaker position information is the preset information used to identify the pacemaker position, and its values specifically include the atrium and the ventricle;

[0068] Specifically, it includes: Step 71, when the pacemaker position information is the atrium, according to all the first peak point data, all the second peak point data and the first interval data sequence, perform atrial pacemaker working state identification processing to generate the second pacemaker working state data;

[0069] Here, when the pacemaker position information is the atrium, it indicates that the pacemaker is installed in the atrium, and the current step is to further identify the situation of atrial pacing;

[0070] Specifically, it includes: Step 711, count the number of all the second peak point data to generate the total number of P waves;

[0071] Here, as can be seen from the previous text, the second peak point data is used to identify the position information of each P wave, and counting the number of all the second peak point data is to count the total number of P waves;

[0072] Step 712, when the total number of P waves is empty, use the preset atrial pacing poor information as the second pacemaker working state data;

[0073] Here, the total number of P waves is empty, indicating the disappearance of P waves in the electrocardiogram signal data. When the patient is not implanted with a pacemaker, the disappearance of P waves in the electrocardiogram signal indicates a decline or loss of the patient's atrial contraction function. The purpose of implanting a pacemaker in the patient is to stimulate the atrium to resume the contraction action. After the pacemaker is implanted, if there are still no P waves in the patient's electrocardiogram signal, the most likely reason is that the pacemaker located in the atrium has poor pacing performance. The second pacemaker working status data = atrial pacing poor information, and the atrial pacing poor information is abnormal information preset for identifying the phenomenon of poor pacemaker pacing;

[0074] Step 713, when the total number of P waves is not empty, based on all the first peak point data and all the second peak point data, perform relative position recognition processing of the pacing pulse and the P wave to generate first recognition data;

[0075] When the first recognition data indicates that the atrial pulse position is abnormal, use the preset atrial sensing poor information as the second pacemaker working status data;

[0076] When the first recognition data indicates that the atrial pulse position is normal, based on the first interval data sequence, perform first characteristic interval statistical processing to generate first characteristic interval data; and when the first characteristic interval data is higher than the preset basic interval threshold and lower than the preset first multiple interval threshold, use the atrial sensing over information as the second pacemaker working status data;

[0077] Among them, the ratio of the first multiple interval threshold to the basic interval threshold is the first multiple;

[0078] Among them, based on all the first peak point data and all the second peak point data, perform relative position recognition processing of the pacing pulse and the P wave to generate first recognition data, specifically including: extracting from all the first peak point data the first peak point data closest to each second peak point data as the first nearest pulse data corresponding to each second peak point data; when each first nearest pulse data is before its corresponding second peak point data, set the first recognition data as the normal atrial pulse position; when each first nearest pulse data is after its corresponding second peak point data, set the first recognition data as the abnormal atrial pulse position;

[0079] Among them, based on the first interval data sequence, perform first characteristic interval statistical processing to generate first characteristic interval data, specifically including: performing weighted mean calculation processing on all the first interval data in the first interval data sequence to generate first characteristic interval data;

[0080] Here, the appearance of P waves in the electrocardiogram signal data indicates that the pacing function of the atrial pacemaker is okay, but further identification of the pacing quality is required;

[0081] Before identifying the pacing quality, it is necessary to perform identification processing on the relative positions of the pacing pulse and the P wave to obtain the positional relationship between the pacing pulse and the P wave, which is the first identification data. Since the waveform characteristic of atrial pacing is the pulse - P wave - QRS complex - T wave, if the pacing pulse position, that is, the first nearest pulse data, is before the P wave position, that is, the second peak point data, the relative positional relationship between the two is normal, and the first identification data is set to the normal atrial pulse position; if the pacing pulse position, that is, the first nearest pulse data, is after the P wave position, that is, the second peak point data, the relative positional relationship between the two is abnormal, and the first identification data is set to the abnormal atrial pulse position.

[0082] After obtaining the positional relationship between the pacing pulse and the P wave, if the first identification data is the abnormal atrial pulse position, then the second pacemaker working state data = atrial sensing poor information, where the atrial sensing poor information is abnormal information preset to identify the atrial sensing poor phenomenon of the pacemaker. There are various reasons for such problems. For example, poor sensing of the pacemaker pulse caused by severe cardiac fibrosis; or interference from a high - magnetic - field environment on the operation of the pacemaker, resulting in poor atrial sensing of the pacemaker.

[0083] If the first identification data is the normal atrial pulse position, then it is necessary to further identify the quality of the pacemaker according to the PP interval mentioned above. Here, the basic interval threshold is default set to 1000ms, the first multiple is default set to 1.5 times, and the first multiple interval threshold is default 1.5 * 1000ms = 1500ms. Before further identification, it is necessary to calculate a PP interval mean as the first characteristic interval data according to all the first interval data sequences, that is, the PP intervals, using the conventional weighted mean calculation method. When the positional relationship between the pacing pulse and the P wave is normal, if the first characteristic interval data is between 1000ms - 1500ms, it indicates that the first characteristic interval data has been prolonged compared to the conventional basic interval threshold. Then the second pacemaker working state data = atrial sensing excessive information, where the atrial sensing excessive information is abnormal information preset to identify the atrial sensing excessive phenomenon of the pacemaker. There are various reasons for such problems. For example, atrial sensing excessive of the pacemaker caused by factors such as broken pacemaker leads, broken insulation layers, short - circuits, etc.; or atrial sensing excessive of the pacemaker caused by mutual interference between multiple pacemakers in the body; or interference from a high - magnetic - field environment on the operation of the pacemaker, resulting in atrial sensing excessive of the pacemaker, etc.

[0084] Step 72, when the pacemaker position information is ventricular, perform ventricular pacemaker working state identification processing based on all the first peak point data, all the first R point data, and the second interval data sequence to generate the second pacemaker working state data.

[0085] Here, when the pacemaker position information is the ventricle, it indicates that the pacemaker is installed in the ventricle, and the current step is to further identify the situation of ventricular pacing;

[0086] Specifically, it includes: Step 721, perform relative position recognition processing on the pacing pulse and the QRS complex according to all the first peak point data and all the first R point data, and generate second recognition data;

[0087] Specifically, it includes: Extract the first peak point data closest to each first R point data from all the first peak point data as the second closest pulse data corresponding to each first R point data; When each second closest pulse data is before its corresponding first R point data, set the second recognition data as the ventricular pulse position normal; When each second closest pulse data is after its corresponding first R point data, set the second recognition data as the ventricular pulse position normal;

[0088] Here, before identifying the situation of ventricular pacing, it is necessary to perform relative position recognition processing on the pacing pulse and the QRS complex to obtain the position relationship between the pacing pulse and the QRS complex, which is the second recognition data: Because the waveform characteristic of ventricular pacing is pulse - QRS complex - T wave, then, if the pacing pulse position, that is, the second closest pulse data, is before the QRS complex position, that is, the first R point data, the relative position relationship is normal, and the second recognition data is set as the ventricular pulse position normal: If the pacing pulse position, that is, the second closest pulse data, is after the QRS complex position, that is, the first R point data, the relative position relationship is abnormal, and the second recognition data is set as the ventricular pulse position abnormal;

[0089] Step 722, perform inter - interval stability recognition processing according to the second inter - interval data sequence, and generate third recognition data;

[0090] Specifically, it includes: In the second inter - interval data sequence, perform absolute difference calculation processing on adjacent second inter - interval data to generate a plurality of first difference data; When all the first difference data are all lower than the preset difference data threshold, set the third recognition data as regular inter - interval; When all the first difference data cannot be all lower than the difference data threshold, set the third recognition data as inter - interval irregularity;

[0091] Here, before identifying the situation of ventricular pacing, it is also necessary to identify the inter-beat interval stability, whether the inter-beat interval shows arrhythmia or regular intervals. The conventional identification method is to use the difference method to calculate the difference of the second inter-beat interval data in the second inter-beat interval data sequence. The smaller the difference result, the smaller the difference of the second inter-beat interval data. The difference data threshold is a pre-set data range. If the difference result is within this range, it indicates that the difference of the second inter-beat interval data is small, that is, the inter-beat interval of the current electrocardiogram signal data is stable, and the third identification data is set to regular intervals. If the difference result exceeds this range, it indicates that the difference of the second inter-beat interval data is large, that is, the inter-beat interval of the current electrocardiogram signal data is unstable, and the third identification data is set to arrhythmia.

[0092] Step 723, when the third identification data is arrhythmia, set the pre-set pacing rhythm arrhythmia information as the second pacemaker working state data.

[0093] Here, when the third identification data is arrhythmia, it indicates that the pacing rhythm of the pacemaker is irregular. The second pacemaker working state data = pacing rhythm arrhythmia information. The pacing rhythm arrhythmia information is an abnormal information pre-set to identify the pacing rhythm arrhythmia phenomenon of the pacemaker. There are various reasons for this type of problem, such as mood swings caused by menopause, arrhythmia caused by excessive anxiety, heart rhythm disorders caused by vagus nerve excitement, etc.

[0094] Step 724, when the third identification data is regular intervals, perform second characteristic inter-beat interval statistical processing according to the second inter-beat interval data sequence to generate second characteristic inter-beat interval data.

[0095] When the second characteristic inter-beat interval data is higher than the first multiple inter-beat interval threshold, set the pre-set ventricular pacing poor information as the second pacemaker working state data.

[0096] When the second characteristic inter-beat interval data is higher than the basic inter-beat interval threshold, lower than the first multiple inter-beat interval threshold, and the second identification data is normal ventricular pulse position, set the pre-set ventricular oversensing information as the second pacemaker working state data.

[0097] When the second characteristic inter-beat interval data is lower than the basic inter-beat interval threshold and the second identification data is normal ventricular pulse position, set the ventricular oversensing information as the second pacemaker working state data.

[0098] When the second characteristic inter-beat interval data is lower than the basic inter-beat interval threshold and the second identification data is abnormal ventricular pulse position, set the pre-set ventricular undersensing information as the second pacemaker working state data.

[0099] Among them, according to the second interphase data sequence, second characteristic interphase statistical processing is performed to generate second characteristic interphase data, which specifically includes: performing weighted mean calculation processing on all second interphase data in the second interphase data sequence to generate second characteristic interphase data.

[0100] Here, when the third recognition data is a regular interphase, further recognition of the ventricular pacing quality is performed; before performing the further recognition, it is necessary to calculate a mean cardiac cycle interval as the second characteristic interphase data according to all second interphase data in the second interphase data sequence, that is, the cardiac cycle intervals, by the conventional weighted mean calculation method; then, based on the second characteristic interphase data and the second recognition data reflecting the positional relationship between the pacing pulse and the QRS complex, further recognition of the ventricular pacing quality is performed:

[0101] When the second characteristic interphase data > the first multiple interphase threshold, the second pacemaker working state data = pacemaker ventricular pacing poor information, where the pacemaker ventricular pacing poor information is abnormal information preset for identifying the pacemaker ventricular pacing poor phenomenon;

[0102] When the second characteristic interphase data is between the base interphase threshold and the first multiple interphase threshold, and the pacing pulse is before the QRS complex, that is, the second recognition data is normal ventricular pulse position, the second pacemaker working state data = ventricular oversensing information, where the ventricular oversensing information is abnormal information preset for identifying the pacemaker ventricular oversensing phenomenon;

[0103] When the second characteristic interphase data is less than the base interphase threshold, and the pacing pulse is before the QRS complex, that is, the second recognition data is normal ventricular pulse position, the second pacemaker working state data = ventricular oversensing information, where the ventricular oversensing information is abnormal information preset for identifying the pacemaker ventricular oversensing phenomenon;

[0104] When the second characteristic interphase data is less than the base interphase threshold, and the pacing pulse is after the QRS complex, that is, the second recognition data is abnormal ventricular pulse position, the second pacemaker working state data = ventricular undersensing information, where the ventricular undersensing information is abnormal information preset for identifying the pacemaker ventricular undersensing phenomenon.

[0105] In summary, through the embodiments of the present invention, eight types of information reflecting the working state of the pacemaker can be obtained based on the automatic analysis of electrocardiogram signal data: pacemaker no pulse information, atrial pacing poor information, atrial undersensing information, atrial oversensing information, pacing rhythm irregularity information, ventricular pacing poor information, ventricular oversensing information, and ventricular undersensing information. It provides help for doctors and patients to conveniently and quickly check the working state of the pacemaker.

[0106] Figure 2 FIG. 0 is a module structure diagram of a device for identifying the working state of a pacemaker according to the second embodiment of the present invention. The device may be the terminal device or the server described in the foregoing embodiment, or may be a device that enables the foregoing terminal device or server to implement the method provided in the embodiment of the present invention. For example, the device may be a device or a chip system of the foregoing terminal device or server. As Figure 2 shown, the device includes:

[0107] An acquisition module 201 is configured to acquire electrocardiogram signal data;

[0108] A preprocessing module 202 is configured to perform pacing pulse recognition processing on the electrocardiogram signal data to generate a plurality of first pacing pulse data; perform pulse peak point recognition processing on each first pacing pulse data to generate corresponding first peak point data; and count the number of first peak point data as the first total number;

[0109] The preprocessing module 202 is further configured to perform P-wave recognition processing on the electrocardiogram signal data to generate a plurality of first P-wave data; perform P-wave peak point recognition processing on each first P-wave data to generate corresponding second peak point data; perform absolute difference calculation processing on adjacent second peak point data to generate corresponding first interval data; and form a first interval data sequence from all the first interval data;

[0110] The preprocessing module 202 is further configured to perform QRS complex recognition processing on the electrocardiogram signal data to generate a plurality of first QRS complex data; perform R-point recognition processing on each first QRS complex data to generate corresponding first R-point data; perform absolute difference calculation processing on adjacent first R-point data to generate corresponding second interval data; and form a second interval data sequence from all the second interval data;

[0111] A state recognition module 203 is configured to, when the first total number is empty, use the preset pacemaker no-pulse information as the first pacemaker working state data;

[0112] The state recognition module 203 is further configured to, when the first total number is not empty, perform pacemaker working state recognition processing according to the preset pacemaker position information to generate second pacemaker working state data; when the pacemaker position information is the atrium, perform atrium pacemaker working state recognition processing according to all the first peak point data, all the second peak point data, and the first interval data sequence to generate second pacemaker working state data; when the pacemaker position information is the ventricle, perform ventricle pacemaker working state recognition processing according to all the first peak point data, all the first R-point data, and the second interval data sequence to generate second pacemaker working state data.

[0113] An apparatus for identifying the working state of a pacemaker according to an electrocardiogram signal provided by an embodiment of the present invention can execute the method steps in the above method embodiment, and its implementation principle and technical effect are similar, which will not be elaborated here.

[0114] It should be noted that it should be understood that the division of each module of the above apparatus is only a logical function division. In actual implementation, it can be fully or partially integrated into a physical entity, or physically separated. And these modules can all be implemented in the form of software called by a processing element; they can also all be implemented in the form of hardware; or some modules can be implemented in the form of software called by a processing element, and some modules can be implemented in the form of hardware. For example, the acquisition module can be a separately established processing element, or can be integrated in a certain chip of the above apparatus. In addition, it can also be stored in the memory of the above apparatus in the form of program code, and the function of the above determination module can be called and executed by a certain processing element of the above apparatus. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together or can be independently implemented. The processing element described here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each of the above modules can be completed by the integrated logic circuit in the processor element or the instruction in the form of software.

[0115] For example, the above modules can be one or more integrated circuits configured to implement the above method, such as: one or more Application Specific Integrated Circuits (ASICs), or, one or more Digital Signal Processors (DSPs), or, one or more Field Programmable Gate Arrays (FPGAs), etc. Again, when a certain module above is implemented in the form of a processing element scheduling program code, the processing element can be a general-purpose processor, such as a Central Processing Unit (CPU) or other processors that can call program code. Again, these modules can be integrated together and implemented in the form of a System-on-a-chip (SOC).

[0116] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present invention are generated in whole or in part. The above computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The above computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the above computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center in a wired manner (such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or a wireless manner (such as infrared, wireless, Bluetooth, microwave, etc.). The above computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more integrated available media. The above available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)), etc.

[0117] Figure 3 FIG. 4 is a schematic structural diagram of an electronic device provided in Embodiment 3 of the present invention. The electronic device can be the aforementioned terminal device or server, or a terminal device or server that is connected to the aforementioned terminal device or server and implements the method of the embodiments of the present invention. As Figure 3 shown, the electronic device may include: a processor 31 (such as a CPU), a memory 32, and a transceiver 33; the transceiver 33 is coupled to the processor 31, and the processor 31 controls the transceiver operations of the transceiver 33. Various instructions can be stored in the memory 32 for completing various processing functions and implementing the methods and processing procedures provided in the above embodiments of the present invention. Preferably, the electronic device related to the embodiments of the present invention further includes: a power supply 34, a system bus 35, and a communication port 36. The system bus 35 is used to implement communication connections between components. The above communication port 36 is used for the electronic device to connect and communicate with other peripherals.

[0118] In Figure 3The system bus mentioned above can be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The system bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of representation, only a thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The communication interface is used to implement the communication between the database access device and other devices (such as clients, read-write libraries, and read-only libraries). The memory may include Random Access Memory (RAM), and may also include non-volatile memory, such as at least one disk memory.

[0119] The above-mentioned processor can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0120] It should be noted that the embodiment of the present invention also provides a computer-readable storage medium, in which instructions are stored. When it runs on a computer, it causes the computer to execute the methods and processes provided in the above embodiments.

[0121] The embodiment of the present invention also provides a chip for running instructions. The chip is used to execute the methods and processes provided in the above embodiments.

[0122] The embodiment of the present invention also provides a program product, which includes a computer program. The computer program is stored in a storage medium. At least one processor can read the computer program from the above storage medium, and the at least one processor executes the methods and processes provided in the above embodiments.

[0123] A method, device, electronic device, computer program product, and computer-readable storage medium for identifying the working state of a pacemaker according to an electrocardiogram signal provided by the embodiment of the present invention identify the working state of the pacemaker according to the pulse position and the cardiac cycle characteristics in the electrocardiogram signal on the premise of knowing the installation position of the pacemaker; thereby, solving the problem that the working state of the pacemaker cannot be correctly judged due to inaccurate patient feedback, and also providing a more accurate and convenient identification means for doctors and patients.

[0124] Those skilled in the art should also be able to further realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0125] The steps of the methods or algorithms described in combination with the embodiments disclosed herein can be implemented by hardware, software modules executed by a processor, or a combination of the two. The software modules can be placed in a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.

[0126] The specific embodiments described above have further detailed the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only the specific embodiments of the present invention and is not used to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for identifying the working state of a pacemaker based on electrocardiogram signals, characterized in that, The method includes: Obtaining electrocardiogram signal data; Performing pacing pulse recognition processing on the electrocardiogram signal data to generate a plurality of first pacing pulse data; for each of the first pacing pulse data, performing pulse peak point time information extraction processing to generate corresponding first peak point data; and counting the number of the first peak point data as the first total; Performing P wave recognition processing on the electrocardiogram signal data to generate a plurality of first P wave data; and for each of the first P wave data, performing P wave peak point time information extraction processing to generate corresponding second peak point data; performing absolute difference calculation processing on adjacent second peak point data to generate corresponding first interval data; and forming a first interval data sequence from all the first interval data; Performing QRS complex recognition processing on the electrocardiogram signal data to generate a plurality of first QRS complex data; and for each of the first QRS complex data, performing R point time information extraction processing to generate corresponding first R point data; performing absolute difference calculation processing on adjacent first R point data to generate corresponding second interval data; and forming a second interval data sequence from all the second interval data; When the first total is empty, using the preset pacemaker no-pulse information as the first pacemaker working state data; When the first total is not empty, performing pacemaker working state recognition processing according to the preset pacemaker position information to generate second pacemaker working state data; when the pacemaker position information is the atrium, performing atrium pacemaker working state recognition processing according to all the first peak point data, all the second peak point data and the first interval data sequence to generate the second pacemaker working state data; when the pacemaker position information is the ventricle, performing ventricle pacemaker working state recognition processing according to all the first peak point data, all the first R point data and the second interval data sequence to generate the second pacemaker working state data; Wherein, the performing atrium pacemaker working state recognition processing according to all the first peak point data, all the second peak point data and the first interval data sequence to generate the second pacemaker working state data specifically includes: Counting the number of all the second peak point data to generate the total number of P waves; When the total number of P waves is empty, using the preset atrium pacing poor information as the second pacemaker working state data; When the total number of P waves is not empty, based on all the first peak point data and all the second peak point data, perform pacing pulse and P wave relative position recognition processing to generate first recognition data; when the first recognition data indicates that the atrial pulse position is abnormal, use the preset atrial sensing poor information as the second pacemaker working state data; when the first recognition data indicates that the atrial pulse position is normal, based on the first interval data sequence, perform first characteristic interval statistical processing to generate first characteristic interval data; and when the first characteristic interval data is higher than the preset basic interval threshold and lower than the preset first multiple interval threshold, use the preset atrial sensing excessive information as the second pacemaker working state data; wherein, the ratio of the first multiple interval threshold to the basic interval threshold is the first multiple. The performing ventricular pacemaker working state recognition processing based on all the first peak point data, all the first R point data and the second interval data sequence to generate the second pacemaker working state data specifically includes: Based on all the first peak point data and all the first R point data, perform pacing pulse and QRS complex relative position recognition processing to generate second recognition data; Based on the second interval data sequence, perform interval stability recognition processing to generate third recognition data; When the third recognition data indicates interval irregularity, use the preset pacing rhythm irregularity information as the second pacemaker working state data; When the third recognition data indicates regular intervals, based on the second interval data sequence, perform second characteristic interval statistical processing to generate second characteristic interval data; when the second characteristic interval data is higher than the first multiple interval threshold, use the preset ventricular pacing poor information as the second pacemaker working state data; when the second characteristic interval data is higher than the basic interval threshold and lower than the first multiple interval threshold and the second recognition data indicates that the ventricular pulse position is normal, use the preset ventricular sensing excessive information as the second pacemaker working state data; when the second characteristic interval data is lower than the basic interval threshold and the second recognition data indicates that the ventricular pulse position is normal, use the ventricular sensing excessive information as the second pacemaker working state data; when the second characteristic interval data is lower than the basic interval threshold and the second recognition data indicates that the ventricular pulse position is abnormal, use the preset ventricular sensing poor information as the second pacemaker working state data.

2. The method for identifying the working state of a pacemaker based on an electrocardiogram signal according to claim 1, wherein The performing pacing pulse and P wave relative position recognition processing based on all the first peak point data and all the second peak point data to generate first recognition data specifically includes: Extract, from all the first peak point data, the first peak point data closest to each second peak point data as the first nearest pulse data corresponding to each second peak point data; When each first nearest pulse data is before its corresponding second peak point data, set the first recognition data to indicate that the atrial pulse position is normal; When each of the first nearest pulse data is after its corresponding second peak point data, set the first identification data as the atrial pulse position being abnormal.

3. The method for identifying the working state of a pacemaker according to an electrocardiogram signal as claimed in claim 1, wherein The first characteristic interphase statistical processing according to the first interphase data sequence to generate first characteristic interphase data specifically includes: Performing weighted mean calculation processing on all the first interphase data in the first interphase data sequence to generate the first characteristic interphase data.

4. The method for identifying the working state of a pacemaker based on an electrocardiogram signal according to claim 1, wherein The relative position recognition processing of the pacing pulse and the QRS complex according to all the first peak point data and all the first R point data to generate second identification data specifically includes: Extracting, from all the first peak point data, the first peak point data closest to each of the first R point data as the second nearest pulse data corresponding to each of the first R point data; When each of the second nearest pulse data is before its corresponding first R point data, set the second identification data as the ventricular pulse position being normal; When each of the second nearest pulse data is after its corresponding first R point data, set the second identification data as the ventricular pulse position being abnormal.

5. The method for identifying the working state of a pacemaker according to an electrocardiogram signal as claimed in claim 1, wherein The interphase stability recognition processing according to the second interphase data sequence to generate third identification data specifically includes: In the second interphase data sequence, performing absolute difference calculation processing on adjacent second interphase data to generate a plurality of first difference data; When all the first difference data are all lower than a preset difference data threshold, set the third identification data as a regular interphase; When all the first difference data cannot all be lower than the difference data threshold, set the third identification data as interphase irregularity.

6. The method for identifying the working state of a pacemaker according to an electrocardiogram signal as claimed in claim 1, wherein The second characteristic interphase statistical processing according to the second interphase data sequence to generate second characteristic interphase data specifically includes: Performing weighted mean calculation processing on all the second interphase data in the second interphase data sequence to generate the second characteristic interphase data.

7. An apparatus for implementing the method according to any one of claims 1-6 for identifying the working state of a pacemaker based on an electrocardiogram signal, characterized in that, The device includes: An acquisition module for acquiring electrocardiogram signal data; A preprocessing module for performing pacing pulse recognition processing on the electrocardiogram signal data to generate a plurality of first pacing pulse data; performing pulse peak point recognition processing on each of the first pacing pulse data to generate corresponding first peak point data; and counting the number of the first peak point data as the first total number; The preprocessing module is further configured to perform P wave recognition processing on the electrocardiogram signal data to generate a plurality of first P wave data; perform P wave peak point recognition processing on each of the first P wave data to generate corresponding second peak point data; perform absolute difference calculation processing on adjacent second peak point data to generate corresponding first interphase data; and form a first interphase data sequence from all the first interphase data; The preprocessing module is further configured to perform QRS complex recognition processing on the electrocardiogram signal data to generate a plurality of first QRS complex data; perform R point recognition processing on each of the first QRS complex data to generate corresponding first R point data; perform absolute difference calculation processing on adjacent first R point data to generate corresponding second interval data; and form a second interval data sequence from all the second interval data. The status recognition module is configured to, when the first total number is empty, use the preset pacemaker no-pulse information as the first pacemaker working status data. The status recognition module is further configured to, when the first total number is not empty, perform pacemaker working status recognition processing according to the preset pacemaker position information to generate second pacemaker working status data; when the pacemaker position information is the atrium, perform atrium pacemaker working status recognition processing according to all the first peak point data, all the second peak point data, and the first interval data sequence to generate the second pacemaker working status data; when the pacemaker position information is the ventricle, perform ventricle pacemaker working status recognition processing according to all the first peak point data, all the first R point data, and the second interval data sequence to generate the second pacemaker working status data.

8. An electronic device, characterized in that, Comprising: A memory, a processor, and a transceiver; The processor is configured to be coupled to the memory, read and execute instructions in the memory to implement the method according to any one of claims 1-6. The transceiver is coupled to the processor, and the processor controls the transceiver to perform message sending and receiving.

9. A computer program product, characterized in that, The computer program product includes computer program code, and when the computer program code is executed by a computer, the computer is caused to execute the method according to any one of claims 1-6.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a computer, the computer is caused to execute the method according to any one of claims 1-6.

Citation Information

Patent Citations

  • Intelligent identification method for electrocardiogram data based on residual network

    CN108175402A

  • Pace maker pulse-analyzing system

    JP1990302274A