WO2020052640A1 - Deep learning algorithm-based electrocardiogram feature extraction method, apparatus, system, device, and classification method - Google Patents

Deep learning algorithm-based electrocardiogram feature extraction method, apparatus, system, device, and classification method Download PDF

Info

Publication number
WO2020052640A1
WO2020052640A1 PCT/CN2019/105624 CN2019105624W WO2020052640A1 WO 2020052640 A1 WO2020052640 A1 WO 2020052640A1 CN 2019105624 W CN2019105624 W CN 2019105624W WO 2020052640 A1 WO2020052640 A1 WO 2020052640A1
Authority
WO
WIPO (PCT)
Prior art keywords
ecg
model
feature extraction
deep learning
learning algorithm
Prior art date
Application number
PCT/CN2019/105624
Other languages
French (fr)
Chinese (zh)
Inventor
李长岭
姜文兵
赵亚
冷晓畅
向建平
Original Assignee
杭州脉流科技有限公司
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 杭州脉流科技有限公司 filed Critical 杭州脉流科技有限公司
Publication of WO2020052640A1 publication Critical patent/WO2020052640A1/en

Links

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]
    • 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
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7235Details of waveform analysis
    • A61B5/7246Details of waveform analysis using correlation, e.g. template matching or determination of similarity
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7235Details of waveform analysis
    • A61B5/7264Classification of physiological signals or data, e.g. using neural networks, statistical classifiers, expert systems or fuzzy systems
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7235Details of waveform analysis
    • A61B5/7264Classification of physiological signals or data, e.g. using neural networks, statistical classifiers, expert systems or fuzzy systems
    • A61B5/7267Classification of physiological signals or data, e.g. using neural networks, statistical classifiers, expert systems or fuzzy systems involving training the classification device

Definitions

  • the present invention relates to the technical field of electrocardiogram signal processing, and in particular, to an electrocardiogram feature extraction method, device, system, device, and classification method based on a deep learning algorithm.
  • ECG detection is the most important method for detecting and diagnosing heart diseases.
  • the human electrocardiogram (ECG) is the comprehensive performance of the heart's electrical activity on the surface of the body. By extracting the characteristic information of the ECG, you can get the heart parts. Physiological condition.
  • the current arrhythmia analysis mainly uses the waveform analysis method and the template matching method.
  • the waveform analysis method first obtains characteristic waveform parameters, such as characteristic waveform amplitude, time length, rise / fall time, waveform interval, etc. These waveform parameters are compared with the judgment threshold obtained based on clinical experience, and the analysis result of arrhythmia can be obtained.
  • the template matching method mainly calculates the average RR interval and the average R wave shape of the subject's ECG signal as templates, and compares the RR interval and R wave shape of each heartbeat of the subject with the template. If the difference exceeds a certain range, arrhythmia is considered to have occurred.
  • the waveform analysis method uses the empirical threshold of the solidified characteristic waveform parameters as the basis for judgment. It is relatively simple and intuitive, with fewer characteristic values, limited classification types, and ECG morphology is very sensitive to noise. Various transform domains and statistical methods are useful for arrhythmia types. The definition is confusing, and the classification results and effects are also different.
  • the template matching method can only make an effective judgment when the R-wave morphology of the subject is significantly different from that of the template, and cannot effectively judge the arrhythmia waveforms that are not significantly different.
  • the human body is a non-linear complex system.
  • the shape of individual ECG signals will change over time, and physical health conditions also have a large impact on ECG signals.
  • ECG signal data is very large and complex, and more adequate feature information extraction is required. .
  • the invention provides a method, a device, a system, a device, and a classification method for extracting ECG features based on a deep learning algorithm, which improves the accuracy and diversity of ECG signal feature extraction.
  • a method for extracting ECG features based on a deep learning algorithm includes the following steps: randomly extracting a continuous ECG signal from a 12-lead ECG to be processed, the ECG signal including at least two cardiac cycles; and the ECG signal to be intercepted
  • the feature extraction model is input in the form of pictures, and the features of the ECG signal are extracted.
  • the feature extraction model is obtained by training based on a ResNet model, an Inception model, or an Inception-ResNet model.
  • the following also provides a number of optional methods, but it is not intended as an additional limitation on the above-mentioned overall scheme. It is only a further addition or preference. Without technical or logical contradiction, each of the alternative methods can be performed separately for the above-mentioned overall scheme Combination can also be a combination of multiple optional ways.
  • the features extracted by the feature extraction model should be understood broadly, including both the information directly extracted from the electrocardiogram and the information obtained by progressively processing the directly extracted information, and further processing including classification and other processing methods.
  • the feature extraction model includes a convolution layer, a pooling layer, a dropout layer, and a fully-connected layer, wherein the convolution layer, the pooling layer, and the dropout layer all adopt a Relu activation function or a variant thereof, and are fully connected
  • the layer uses the softmax function.
  • the first convolution layer in the convolution layer includes 6 convolution channels, and the convolution kernel of each convolution channel is ⁇ 1, 1, 2 ⁇ , ⁇ 1, 2, 1 ⁇ , ⁇ 2,1,1 ⁇ .
  • the size of the pooling window of the pooling layer is (2, 2).
  • the fully connected layer includes three layers, the number of neurons in the first layer is 448, the number of neurons in the second layer is 112, and the number of neurons in the third layer is 28.
  • the dormancy ratio of the neurons in the dropout layer is 0.5.
  • An ECG feature extraction device based on a deep learning algorithm includes: a preprocessing module for randomly intercepting a continuous ECG signal from a 12-lead ECG to be processed, the ECG signal including at least two cardiac cycles; extraction The module is used for inputting the intercepted electrocardiogram signal into a feature extraction model in the form of a picture to extract the characteristics of the electrocardiogram signal; the feature extraction model is obtained by training based on a ResNet model, an Inception model, or an Inception-ResNet model.
  • a computer device includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the processor implements the following steps: Randomly intercepts a continuous ECG signal in a 12-lead ECG to be processed.
  • the ECG signal includes at least two cardiac cycles; the intercepted ECG signal is input into a feature extraction model in the form of a picture to extract the characteristics of the ECG signal; the feature extraction model is based on a ResNet model, or an Inception model, or an Inception-ResNet model training get.
  • An ECG feature extraction system based on a deep learning algorithm includes a terminal and a server, the server includes a memory and a processor, the memory stores a computer program, and the server obtains an electrocardiogram from the terminal; the processor executes all When describing a computer program, the following steps are implemented:
  • the intercepted electrocardiogram signal is input into a feature extraction model in the form of a picture, and the features of the electrocardiogram signal are extracted; the feature extraction model is obtained by training based on a ResNet model, or an Inception model, or an Inception-ResNet model.
  • a computer-readable storage medium stores a computer program in the computer-readable storage medium.
  • the computer program is executed by a computer processor, the following steps are implemented:
  • the intercepted electrocardiogram signal is input into a feature extraction model in the form of a picture, and the features of the electrocardiogram signal are extracted; the feature extraction model is obtained by training based on a ResNet model, or an Inception model, or an Inception-ResNet model.
  • a method for classifying an ECG signal based on a deep neural network includes the following steps: Randomly intercept a segment of a continuous ECG signal from a 12-lead ECG to be processed, the ECG signal including at least two cardiac cycles; and dividing the intercepted ECG signal into The picture form is input into a classification model to obtain a classification result; the classification model is obtained by training based on a ResNet model, or an Inception model, or an Inception-ResNet model.
  • the ECG feature extraction method, device, system, equipment and classification method based on the deep learning algorithm provided by the present invention reduce the incompleteness caused by artificial design features and improve the accuracy of ECG feature extraction and classification based on the deep learning algorithm. And diversity.
  • FIG. 1 is a flowchart of an ECG feature extraction method based on a deep learning algorithm in an embodiment
  • FIG. 2 is a schematic diagram of an intercepted electrocardiogram signal
  • FIG. 3 is a schematic diagram of a computer device in one embodiment
  • FIG. 4 is a flowchart of an ECG feature extraction method based on a deep learning algorithm in one embodiment.
  • a method for extracting ECG features based on a deep learning algorithm includes the following steps:
  • step S1 a continuous ECG signal is randomly intercepted from the 12-lead ECG to be processed, and the ECG signal includes at least two cardiac cycles.
  • the ECG signal (ie, the electrocardiogram signal) can be a unipolar ECG signal or a bipolar ECG signal.
  • an individual's ECG can be recorded by one or more electrodes placed on the surface of the human body.
  • the 12-lead ECG can provide spatial information about ECG activity, and each of the 12 leads represents a specific location in the space where the heart's ECG activity is measured.
  • lead I right arm to left arm
  • lead II right arm to left leg
  • lead III left arm to left leg
  • leads V1, V2 , V3, V4, V5 and V6 unipolar chest leads.
  • two electrodes need to be in contact with the two skin surfaces of the limbs, such as the right and left arms.
  • an electrode is required to make contact with the skin surface of the chest.
  • the term "contact” herein may refer to the direct contact between the electrode and the bare skin, or the indirect contact between the electrode and the bare skin with a conductive material (such as a conductive patch or conductive clothing).
  • the ECG data originally collected was discrete data.
  • One-dimensional ECG signals were obtained by Bspline interpolation.
  • the one-dimensional ECG signals were pre-processed to generate noise reduction signals, and then the ECG signal feature extraction was performed.
  • the noise sources of the ECG signal include the background of the electromyographic signal, baseline drift, power frequency interference, and motion artifacts.
  • Preprocessing can use existing techniques, for example, wavelet transform or filter to remove baseline drift and power frequency from the ECG signal. Interference and high-frequency noise.
  • step S2 the intercepted electrocardiogram signal is input into a feature extraction model in the form of a picture, and the features of the electrocardiogram signal are extracted; the feature extraction model is obtained by training based on a ResNet model, an Inception model, or an Inception-ResNet model.
  • the ECG signal is input to the feature extraction model in the form of a picture as shown in FIG. 2, and the picture size of the ECG signal is 1200 ⁇ 600 pixels.
  • the process of extracting ECG features usually requires artificial design features, which are prone to miss detection and misjudgment.
  • the feature extraction model is based on the ResNet model, or Inception model, or Inception-ResNet model training, can be automatically and effectively extracted from a large number of electrocardiograms to fully describe the characteristics of the electrocardiogram, including low-dimensional heartbeat features, improve the integrity and diversity of ECG signal feature extraction, robust Stronger performance and better detection accuracy.
  • the feature extraction model is retrained to ensure that the feature extraction model has a better extraction accuracy rate.
  • the feature extraction model includes a convolution layer, a pooling layer, a dropout layer, and a fully connected layer, wherein the convolution layer, the pooling layer, and the dropout layer all adopt a Relu activation function or a variant thereof, a fully connected layer Using the softmax function.
  • the first convolution layer in the convolution layer includes 6 convolution channels, and the convolution kernel of each convolution channel is ⁇ 1, 1, 2 ⁇ , ⁇ 1, 2, 1 ⁇ , ⁇ 2,1,1 ⁇ .
  • the first convolution layer is used to enhance boundary information of a picture.
  • the pooling window size of the pooling layer is (2, 2).
  • the pooling layer is used for dimensionality reduction, thereby reducing operation parameters and improving calculation speed.
  • the fully connected layer includes three layers, the number of neurons in the first layer is 448, the number of neurons in the second layer is 112, and the number of neurons in the third layer is 28.
  • the fully connected layer is used to integrate multi-channel data into a one-dimensional feature vector. According to the characteristics of the multilayer neural network, the abstract one-dimensional feature vector is classified at the fully connected layer.
  • the number of neurons in the third layer of the fully connected layer determines the number of extracted ECG features. In this embodiment, 28 types of ECG features can be extracted.
  • the proportion of dormant neurons in the dropout layer is 0.5.
  • a dropout layer is added between every two fully connected layers to avoid overfitting.
  • the neurons that are trained each time will temporarily sleep according to the set ratio.
  • the dormancy ratio of the neurons is set to 0.5 according to experience, that is, each time an ECG sample enters the model, half of the neurons in the fully connected layer will not participate in the training of the sample.
  • the feature extraction model is trained in deep learning frameworks TensorFlow and Keras.
  • the training process of the feature extraction model includes:
  • Step a construct a training database and a test database.
  • the data of the training database and test database can come from hospitals and physical examination centers.
  • the total number of ECGs in the training database and test database is not less than 100,000, of which 70% are normal ECGs, and the rest are abnormal ECGs.
  • Each ECG has passed at least two ECG experts Manually label abnormal features independently. There is no overlap between the ECG data in the training database and the test database, and the amount of ECG data in the training database is greater than the amount of ECG data in the test database.
  • the ECG data in the training database and the test database are from different individuals, including males between the ages of 10 and 99 and females between the ages of 10 and 99. The proportion of males and females is half.
  • the training and test databases Randomly selected from the data set of the electrocardiograph, including various representative waveform and artifact record numbers, various uncommon but clinically significant data, and some complex ventricular, nodular, and supraventricular arrhythmias And conduction abnormalities.
  • Each ECG signal data in the training database and test database includes the ECG signal format, sampling frequency, length, and related information about the patient, such as the place of collection, the patient's condition, and medication, etc.
  • the signal analysis results mainly include information such as heartbeat, rhythm and signal quality.
  • the annotations of each ECG signal data in the training database and test database contain the basic information of ECG signals and the results of signal analysis by ECG diagnostic experts, such as: signal duration, heart rate, signal quality, location of arrhythmic beats, Number and arrhythmia characteristics.
  • the abnormal characteristics of electrical signals in the training database and test data center determine the features that the feature extraction model can extract.
  • ECG signals include, but are not limited to, the following types of heartbeats: normal, pacing, sinus tachycardia, sinus bradycardia, sinus arrhythmia, sinus arrest, escape beat, and escape beat rhythm (Further divided into atrial rhythm, borderline rhythm, ventricular rhythm, other escape beats and escape beat rhythms) Atrial premature beat, supraventricular dual rhythm, premature ventricular beat, fast ventricular rate, slow ventricular rate, supraventricular Tachycardia, ventricular tachycardia, atrial flutter, atrial fibrillation, first degree atrioventricular block, second degree atrioventricular block, third degree atrioventricular block, indoor block (further divided into left bundle branch Conduction block, right bundle branch block, left anterior branch block, other indoor blocks), noise, others.
  • heartbeats normal, pacing, sinus tachycardia, sinus bradycardia, sinus arrhythmia, sinus arrest, escape beat, and escape beat rhythm (Further divided into atrial rhythm, borderline rhythm
  • Step b preprocessing each ECG in the training database and the test database.
  • a continuous ECG signal is randomly intercepted, and the ECG signal includes at least two cardiac cycles.
  • the electrocardiogram signal is converted into a picture format, which is the same as the method for converting the central electrocardiogram signal into a picture format in step S2.
  • the ECG signals converted into pictures in the training database are used as input for the ResNet model (or Inception model or Inception-ResNet model) for training.
  • the trained models are tested using the ECG in the test database.
  • the test results are divided into four types: True positive (TP), true negative (TN), false positive (FP), false negative (FN).
  • the four results are used to evaluate the feature extraction results.
  • Sen Sensitivity
  • Spe Specificity
  • PPV Positive rate
  • Acc Accuracy
  • Acc (TP + TN) / (TP + FP + FN + TN).
  • Sen Spe Acc PPV 99% 98.6% 98.8% 98.1%
  • steps in the flowchart of FIG. 1 are sequentially displayed according to the directions of the arrows, these steps are not necessarily performed sequentially in the order indicated by the arrows. Unless explicitly stated in this document, the execution of these steps is not strictly limited, and these steps can be performed in other orders. Moreover, at least a part of the steps in FIG. 1 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. The execution of these sub-steps or stages The sequence is not necessarily performed sequentially, but may be performed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
  • an ECG feature extraction device based on a deep learning algorithm includes a preprocessing module for randomly intercepting a continuous ECG signal from a 12-lead ECG to be processed, where the ECG signal includes at least Two cardiac cycles; an extraction module, which is used to input the intercepted ECG signals into a feature extraction model in the form of pictures to extract the characteristics of the ECG signal; the feature extraction model is based on a ResNet model, or an Inception model, or an Inception-ResNet model. .
  • a preprocessing module for randomly intercepting a continuous ECG signal from a 12-lead ECG to be processed, where the ECG signal includes at least Two cardiac cycles
  • an extraction module which is used to input the intercepted ECG signals into a feature extraction model in the form of pictures to extract the characteristics of the ECG signal
  • the feature extraction model is based on a ResNet model, or an Inception model, or an Inception-ResNet model.
  • Each module in the above-mentioned ECG feature extraction device based on a deep learning algorithm may be implemented in whole or in part by software, hardware, and a combination thereof.
  • the above-mentioned modules may be embedded in the hardware form or independent of the processor in the computer device, or may be stored in the memory of the computer device in the form of software, so that the processor calls and performs the operations corresponding to the above modules.
  • the ECG feature extraction device based on the deep learning algorithm provided in this embodiment may be configured at a remote end, and the ECG signal may be obtained through a remote terminal connected to the device.
  • the device of this embodiment may be configured at the terminal (for example, a computer used by a user). Or medical detection equipment) to obtain the ECG signal directly through the ECG acquisition device.
  • a computer device is provided.
  • the computer device may be a terminal, and its internal structure diagram may be as shown in FIG. 3.
  • the computer equipment includes a processor, a memory, a network interface, a display screen, and an input device connected through a system bus.
  • the processor of the computer device is used to provide computing and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system and a computer program.
  • the internal memory provides an environment for running an operating system and computer programs in a non-volatile storage medium.
  • the network interface of the computer device is used to communicate with an external terminal through a network connection.
  • the computer program is executed by a processor to implement an ECG feature extraction method based on a deep learning algorithm.
  • the display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen.
  • the input device of the computer device may be a touch layer covered on the display screen, or a button, a trackball, or a touchpad provided on the computer device casing. , Or an external keyboard, trackpad, or mouse.
  • FIG. 3 is only a block diagram of a part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer equipment to which the scheme of the present application is applied.
  • the specific computer equipment may be Include more or fewer parts than shown in the figure, or combine certain parts, or have a different arrangement of parts.
  • a computer device including a memory and a processor.
  • the memory stores a computer program
  • the processor implements the following steps when the computer program executes:
  • the intercepted electrocardiogram signal is input into a feature extraction model in the form of a picture, and the features of the electrocardiogram signal are extracted; the feature extraction model is obtained by training based on a ResNet model, or an Inception model, or an Inception-ResNet model.
  • an ECG feature extraction system based on a deep learning algorithm which includes a terminal and a server.
  • the server includes a memory and a processor.
  • the memory stores a computer program, and the server obtains the information from the terminal. ECG; when the processor executes the computer program, the following steps are implemented:
  • the intercepted electrocardiogram signal is input into a feature extraction model in the form of a picture, and the features of the electrocardiogram signal are extracted; the feature extraction model is obtained by training based on a ResNet model, or an Inception model, or an Inception-ResNet model.
  • the terminal may be, but is not limited to, a computer, a laptop, a smart phone, a tablet, and a portable wearable device.
  • the server may be a remote background server or a server in a cloud platform.
  • An independent server or It is implemented by a server cluster composed of multiple servers.
  • the ECG is transmitted between the terminal and the server through a communication network.
  • the communication network can be, but is not limited to, 3G, 4G, 5G, and wifi.
  • information related to the ECG can be transmitted from the terminal to the server.
  • the related information of the ECG includes, but is not limited to, user information and detection time.
  • the server receives the ECG data and transmits the extracted feature results to the terminal through the communication network.
  • the server stores the received electrocardiogram data and feature extraction results.
  • a computer-readable storage medium stores a computer program, and when the computer program is executed by a computer processor, the following steps are implemented:
  • the intercepted electrocardiogram signal is input into a feature extraction model in the form of a picture, and the features of the electrocardiogram signal are extracted; the feature extraction model is obtained by training based on a ResNet model, or an Inception model, or an Inception-ResNet model.
  • Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory can include random access memory (RAM) or external cache memory.
  • RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Synchlink DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDRSDRAM dual data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous chain Synchlink DRAM
  • Rambus direct RAM
  • DRAM direct memory bus dynamic RAM
  • RDRAM memory bus dynamic RAM
  • an ECG signal classification method based on a deep neural network including the following steps:
  • the intercepted electrocardiogram signals are input into a classification model in the form of pictures to obtain a classification result; the classification model is obtained by training based on a ResNet model, or an Inception model, or an Inception-ResNet model.
  • the classification categories of ECG signals include, but are not limited to: normal, pacing, sinus tachycardia, sinus bradycardia, sinus arrhythmia, sinus arrest, escape beat, and escape beat rhythm (further divided into atrial Heart rhythm, border rhythm, ventricular rhythm, other escape beats and escape beat rhythms) Atrial premature beats, supraventricular duplex, premature ventricular beats, fast ventricular rate, slow ventricular rate, supraventricular tachycardia, ventricular Tachycardia, atrial flutter, atrial fibrillation, first degree atrioventricular block, second degree atrioventricular block, third degree atrioventricular block, indoor block (further divided into left bundle branch block, right bundle Branch block, left anterior branch block, other indoor blocks), noise, other.

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Cardiology (AREA)
  • Physics & Mathematics (AREA)
  • Animal Behavior & Ethology (AREA)
  • Public Health (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Surgery (AREA)
  • Biophysics (AREA)
  • General Health & Medical Sciences (AREA)
  • Pathology (AREA)
  • Veterinary Medicine (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physiology (AREA)
  • Psychiatry (AREA)
  • Signal Processing (AREA)
  • Evolutionary Computation (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)

Abstract

A deep learning algorithm-based electrocardiogram feature extraction method, an apparatus, a system, a device, and a classification method. The deep learning algorithm-based electrocardiogram feature extraction method comprises the following steps: randomly capturing a segment of continuous electrocardiogram signals in a 12-lead electrocardiogram to be processed, the electrocardiogram signals comprising at least two cardiac cycles (S1); and inputting the captured electrocardiogram signals into a feature extraction model in the form of pictures, and extracting electrocardiogram signal features, the feature extraction model being obtained by means of training on the basis of a ResNet mode, or an Inception model, or an Inception-ResNet model (S2). According to the deep learning algorithm-based electrocardiogram feature extraction method, the apparatus, the system, the device, and the classification method, incompleteness caused by artificial design of features can be reduced, thereby improving the accuracy and diversity of deep learning algorithm-based electrocardiogram feature extraction.

Description

基于深度学习算法的心电特征提取方法、装置、系统、设备和分类方法ECG feature extraction method, device, system, device and classification method based on deep learning algorithm 技术领域Technical field
本发明涉及心电图信号处理技术领域,具体涉及基于深度学习算法的 心电特征提取方法、装置、系统、设备和分类方法。The present invention relates to the technical field of electrocardiogram signal processing, and in particular, to an electrocardiogram feature extraction method, device, system, device, and classification method based on a deep learning algorithm.
背景技术Background technique
心电检测是目前最主要的检测和诊断心脏疾病的手段,人体心电信号 (Electrocardiograph,ECG)是心脏电活动在体表的综合表现,通过提取心电图中的特征信息,可以得到心脏各部位的生理状况。ECG detection is the most important method for detecting and diagnosing heart diseases. The human electrocardiogram (ECG) is the comprehensive performance of the heart's electrical activity on the surface of the body. By extracting the characteristic information of the ECG, you can get the heart parts. Physiological condition.
以心律失常为例,目前的心律失常分析主要采用波形分析法和模板匹配法。波形分析法首先获取特征波形参数,如特征波形的幅值、时间长度、 上升/下降时间、波形间期等,这些波形参数和根据临床经验获取的判断阈值进行对比,可以得到心律失常的分析结果。模板匹配法主要通过计算出被检测者心电信号中的平均R-R间期和R波平均形态作为模板,将被检测者每次心跳的R-R间期和R波形态与模板对比,若两者的差异超出一定范 围,则认为发生了心律失常。Taking arrhythmia as an example, the current arrhythmia analysis mainly uses the waveform analysis method and the template matching method. The waveform analysis method first obtains characteristic waveform parameters, such as characteristic waveform amplitude, time length, rise / fall time, waveform interval, etc. These waveform parameters are compared with the judgment threshold obtained based on clinical experience, and the analysis result of arrhythmia can be obtained. . The template matching method mainly calculates the average RR interval and the average R wave shape of the subject's ECG signal as templates, and compares the RR interval and R wave shape of each heartbeat of the subject with the template. If the difference exceeds a certain range, arrhythmia is considered to have occurred.
波形分析法采用固化的特征波形参数的经验阈值作为判断依据,较为简单和直观,特征值较少,分类类型有限,且心电图形态对噪声非常敏感, 各种变换域和统计方法对心律失常类型的定义比较混乱,分类结果和效果也各不相同。而模板匹配法只有在被检测者的R波形态与模板具有较大差异时,才能做出有效判断,对差异不明显的心律失常波形不能有效判断。The waveform analysis method uses the empirical threshold of the solidified characteristic waveform parameters as the basis for judgment. It is relatively simple and intuitive, with fewer characteristic values, limited classification types, and ECG morphology is very sensitive to noise. Various transform domains and statistical methods are useful for arrhythmia types. The definition is confusing, and the classification results and effects are also different. The template matching method can only make an effective judgment when the R-wave morphology of the subject is significantly different from that of the template, and cannot effectively judge the arrhythmia waveforms that are not significantly different.
人体是一个非线性的复杂系统,个体心电信号的形态会随时间发生改变,而且身体健康情况对心电信号也有较大影响,心电信号数据非常庞大复杂,需要进行更加充分的特征信息提取。The human body is a non-linear complex system. The shape of individual ECG signals will change over time, and physical health conditions also have a large impact on ECG signals. ECG signal data is very large and complex, and more adequate feature information extraction is required. .
技术问题technical problem
本发明提供了一种基于深度学习算法的心电特征提取方法、装置、系统、设备和分类方法,提高心电图信号特征提取的准确性和多样性。The invention provides a method, a device, a system, a device, and a classification method for extracting ECG features based on a deep learning algorithm, which improves the accuracy and diversity of ECG signal feature extraction.
技术解决方案Technical solutions
一种基于深度学习算法的心电特征提取方法,包括如下步骤: 在待处理的十二导联心电图中随机截取一段连续的心电图信号,该心电图信号至少包含两个心动周期;将截取的心电图信号以图片形式输入特征提取模型中,提取得到心电图信号特征;所述特征提取模型基于ResNet模型、或Inception模型、或Inception-ResNet模型训练得到。以下还提供了若干可选方式,但并不作为对上述总体方案的额外限定,仅仅是进一步的增补或优选,在没有技术或逻辑矛盾的前提下,各可选方式可单独针对上述总体方案进行组合,还可以是多个可选方式之间进行组合。A method for extracting ECG features based on a deep learning algorithm includes the following steps: randomly extracting a continuous ECG signal from a 12-lead ECG to be processed, the ECG signal including at least two cardiac cycles; and the ECG signal to be intercepted The feature extraction model is input in the form of pictures, and the features of the ECG signal are extracted. The feature extraction model is obtained by training based on a ResNet model, an Inception model, or an Inception-ResNet model. The following also provides a number of optional methods, but it is not intended as an additional limitation on the above-mentioned overall scheme. It is only a further addition or preference. Without technical or logical contradiction, each of the alternative methods can be performed separately for the above-mentioned overall scheme Combination can also be a combination of multiple optional ways.
通过特征提取模型提取到的特征应作宽泛理解,既包括直接从心电图提取到的信息,也包括对直接提取的信息做一进步处理得到的信息,进一步处理包括分类等处理方式。The features extracted by the feature extraction model should be understood broadly, including both the information directly extracted from the electrocardiogram and the information obtained by progressively processing the directly extracted information, and further processing including classification and other processing methods.
可选地,所述特征提取模型包括卷积层、池化层、dropout层和全连接层,其中,卷积层、池化层、dropout层均采用采用Relu激活函数或其变体, 全连接层采用softmax函数。Optionally, the feature extraction model includes a convolution layer, a pooling layer, a dropout layer, and a fully-connected layer, wherein the convolution layer, the pooling layer, and the dropout layer all adopt a Relu activation function or a variant thereof, and are fully connected The layer uses the softmax function.
可选地,所述卷积层中第一卷积层包括6个卷积通道,每个卷积通道的卷积核均为{{1,1,2},{1,2,1},{2,1,1}}。Optionally, the first convolution layer in the convolution layer includes 6 convolution channels, and the convolution kernel of each convolution channel is {{1, 1, 2}, {1, 2, 1}, {2,1,1}}.
可选地,所述池化层的池化窗口大小为(2,2)。 可选地,所述全连接层包含三层,第一层的神经元个数为448,第二层的神经元个数为112,第三层层的神经元个数为28。 可选地,所述dropout层中神经元的休眠比例为0.5。 一种基于深度学习算法的心电特征提取装置,包括:预处理模块,用于在待处理的十二导联心电图中随机截取一段连续的心电图信号,该心电图信号至少包含两个心动周期;提取模块,用于将截取的心电图信号以图片形式输入特征提取模型中,提取得到心电图信号特征;所述特征提取模型基于ResNet模型、或Inception模型、或Inception-ResNet模型训练得到。 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现如下步骤: 在待处理的十二导联心电图中随机截取一段连续的心电图信号,该心电图信号至少包含两个心动周期;将截取的心电图信号以图片形式输入特征提取模型中,提取得到心电图信号特征;所述特征提取模型基于ResNet模型、或Inception模型、或Inception-ResNet模型训练得到。一种基于深度学习算法的心电特征提取系统,包括终端以及服务器,所述服务器包括存储器和处理器,所述存储器内存储有计算机程序,所述 服务器从终端获取心电图;所述处理器执行所述计算机程序时,实现如下步骤:Optionally, the size of the pooling window of the pooling layer is (2, 2). Optionally, the fully connected layer includes three layers, the number of neurons in the first layer is 448, the number of neurons in the second layer is 112, and the number of neurons in the third layer is 28. Optionally, the dormancy ratio of the neurons in the dropout layer is 0.5. An ECG feature extraction device based on a deep learning algorithm includes: a preprocessing module for randomly intercepting a continuous ECG signal from a 12-lead ECG to be processed, the ECG signal including at least two cardiac cycles; extraction The module is used for inputting the intercepted electrocardiogram signal into a feature extraction model in the form of a picture to extract the characteristics of the electrocardiogram signal; the feature extraction model is obtained by training based on a ResNet model, an Inception model, or an Inception-ResNet model. A computer device includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the processor implements the following steps: Randomly intercepts a continuous ECG signal in a 12-lead ECG to be processed. The ECG signal includes at least two cardiac cycles; the intercepted ECG signal is input into a feature extraction model in the form of a picture to extract the characteristics of the ECG signal; the feature extraction model is based on a ResNet model, or an Inception model, or an Inception-ResNet model training get. An ECG feature extraction system based on a deep learning algorithm includes a terminal and a server, the server includes a memory and a processor, the memory stores a computer program, and the server obtains an electrocardiogram from the terminal; the processor executes all When describing a computer program, the following steps are implemented:
在待处理的十二导联心电图中随机截取一段连续的心电图信号,该心电图信号至少包含两个心动周期;Randomly intercept a continuous ECG signal from the 12-lead ECG to be processed, and the ECG signal includes at least two cardiac cycles;
将截取的心电图信号以图片形式输入特征提取模型中,提取得到心电图信号特征;所述特征提取模型基于ResNet模型、或Inception模型、或 Inception-ResNet模型训练得到。The intercepted electrocardiogram signal is input into a feature extraction model in the form of a picture, and the features of the electrocardiogram signal are extracted; the feature extraction model is obtained by training based on a ResNet model, or an Inception model, or an Inception-ResNet model.
一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被计算机处理器执行时实现如下步骤:A computer-readable storage medium stores a computer program in the computer-readable storage medium. When the computer program is executed by a computer processor, the following steps are implemented:
在待处理的十二导联心电图中随机截取一段连续的心电图信号,该心电图信号至少包含两个心动周期;Randomly intercept a continuous ECG signal from the 12-lead ECG to be processed, and the ECG signal includes at least two cardiac cycles;
将截取的心电图信号以图片形式输入特征提取模型中,提取得到心电图信号特征;所述特征提取模型基于ResNet模型、或Inception模型、或 Inception-ResNet模型训练得到。The intercepted electrocardiogram signal is input into a feature extraction model in the form of a picture, and the features of the electrocardiogram signal are extracted; the feature extraction model is obtained by training based on a ResNet model, or an Inception model, or an Inception-ResNet model.
一种基于深度神经网络的心电图信号分类方法,包括如下步骤: 在待处理的十二导联心电图中随机截取一段连续的心电图信号,该心电图信号至少包含两个心动周期; 将截取的心电图信号以图片形式输入分类模型中,得到分类结果;所述分类模型基于ResNet模型、或Inception模型、或Inception-ResNet模型训练得到。A method for classifying an ECG signal based on a deep neural network includes the following steps: Randomly intercept a segment of a continuous ECG signal from a 12-lead ECG to be processed, the ECG signal including at least two cardiac cycles; and dividing the intercepted ECG signal into The picture form is input into a classification model to obtain a classification result; the classification model is obtained by training based on a ResNet model, or an Inception model, or an Inception-ResNet model.
有益效果Beneficial effect
本发明提供的基于深度学习算法的心电特征提取方法、装置、系统、 设备和分类方法,减少人为设计特征带来的不完备性,提高基于深度学习 算法的心电特征提取和分类的准确率以及多样性。The ECG feature extraction method, device, system, equipment and classification method based on the deep learning algorithm provided by the present invention reduce the incompleteness caused by artificial design features and improve the accuracy of ECG feature extraction and classification based on the deep learning algorithm. And diversity.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为一个实施例中基于深度学习算法的心电特征提取方法的流程图;FIG. 1 is a flowchart of an ECG feature extraction method based on a deep learning algorithm in an embodiment; FIG.
图2为截取的心电图信号示意图; 图3为一个实施例中计算机设备的示意图; 图4为一个实施例中基于深度学习算法的心电特征提取方法的流程图。FIG. 2 is a schematic diagram of an intercepted electrocardiogram signal; FIG. 3 is a schematic diagram of a computer device in one embodiment; and FIG. 4 is a flowchart of an ECG feature extraction method based on a deep learning algorithm in one embodiment.
本发明的实施方式Embodiments of the invention
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In the following, the technical solutions in the embodiments of the present invention will be clearly and completely described with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
如图1、图4所示,一种基于深度学习算法的心电特征提取方法,包括如下步骤:As shown in Figures 1 and 4, a method for extracting ECG features based on a deep learning algorithm includes the following steps:
步骤S1,在待处理的十二导联心电图中随机截取一段连续的心电图信号,该心电图信号至少包含两个心动周期。In step S1, a continuous ECG signal is randomly intercepted from the 12-lead ECG to be processed, and the ECG signal includes at least two cardiac cycles.
ECG信号(即心电图信号)可以是单极ECG信号或者是双极ECG信号。 例如,在12导联ECG中,可以由放置在人体表面的一个或多个电极来记录个体的心电活动。12导联ECG可以提供关于心电活动的空间信息,12导联中每一个导联都代表对心脏的心电活动进行测量的空间中的具体方位。The ECG signal (ie, the electrocardiogram signal) can be a unipolar ECG signal or a bipolar ECG signal. For example, in a 12-lead ECG, an individual's ECG can be recorded by one or more electrodes placed on the surface of the human body. The 12-lead ECG can provide spatial information about ECG activity, and each of the 12 leads represents a specific location in the space where the heart's ECG activity is measured.
12个导联中,导联I(右臂到左臂),导联II(右臂到左腿)和导联III(左臂到左腿)是双极肢导联,导联V1、V2、V3、V4、V5和V6是单极胸部导联。为了形成双极肢导联以进行测量,需要由两个电极分别与两肢(如右臂和左臂)的两块皮肤表面接触。为了形成单极胸部导联以进行测量,需要有一个电极与胸部的皮肤表面接触。术语“接触”在此可以指电极与裸露皮肤的直接接触,或者电极与裸露皮肤之间有导电材料(如导电贴片或导电服装)的间接接触。Of the 12 leads, lead I (right arm to left arm), lead II (right arm to left leg) and lead III (left arm to left leg) are bipolar limb leads, leads V1, V2 , V3, V4, V5 and V6 are unipolar chest leads. In order to form a bipolar limb lead for measurement, two electrodes need to be in contact with the two skin surfaces of the limbs, such as the right and left arms. In order to form a monopolar chest lead for measurement, an electrode is required to make contact with the skin surface of the chest. The term "contact" herein may refer to the direct contact between the electrode and the bare skin, or the indirect contact between the electrode and the bare skin with a conductive material (such as a conductive patch or conductive clothing).
原始采集的心电数据为离散数据,采用Bspline插值法拟合得到一维 ECG信号,对一维ECG信号进行预处理以生成降噪信号,然后进行心电图信号特征提取。The ECG data originally collected was discrete data. One-dimensional ECG signals were obtained by Bspline interpolation. The one-dimensional ECG signals were pre-processed to generate noise reduction signals, and then the ECG signal feature extraction was performed.
ECG信号的噪声源包括:肌电信号背景、基线漂移、工频干扰、以及运动伪影,预处理可以采用现有技术,例如,通过小波变换或滤波器去除心电图信号中的基线漂移、工频干扰与高频噪声。The noise sources of the ECG signal include the background of the electromyographic signal, baseline drift, power frequency interference, and motion artifacts. Preprocessing can use existing techniques, for example, wavelet transform or filter to remove baseline drift and power frequency from the ECG signal. Interference and high-frequency noise.
步骤S2,将截取的心电图信号以图片形式输入特征提取模型中,提取得到心电图信号特征;特征提取模型基于ResNet模型、或Inception模型、 或Inception-ResNet模型训练得到。In step S2, the intercepted electrocardiogram signal is input into a feature extraction model in the form of a picture, and the features of the electrocardiogram signal are extracted; the feature extraction model is obtained by training based on a ResNet model, an Inception model, or an Inception-ResNet model.
心电图信号以如图2所示的图片形式输入特征提取模型,心电图信号的图片大小为1200×600像素。The ECG signal is input to the feature extraction model in the form of a picture as shown in FIG. 2, and the picture size of the ECG signal is 1200 × 600 pixels.
现有技术中,在对心电图特征进行提取的过程中通常需要人为设计特征,易发生漏检和误判,本实施例中特征提取模型基于ResNet模型、或 Inception模型、或Inception-ResNet模型训练得到,能够从大数量的心电图中自动有效提取全面描述心电图的特征,包括维数较低的心跳特征,提高心电图信号特征提取的完整性和多样性,鲁棒性更强,检测精度更好。In the prior art, the process of extracting ECG features usually requires artificial design features, which are prone to miss detection and misjudgment. In this embodiment, the feature extraction model is based on the ResNet model, or Inception model, or Inception-ResNet model training, can be automatically and effectively extracted from a large number of electrocardiograms to fully describe the characteristics of the electrocardiogram, including low-dimensional heartbeat features, improve the integrity and diversity of ECG signal feature extraction, robust Stronger performance and better detection accuracy.
所述特征提取模型在预定使用时间后,采用更新的心电图数据重新进行训练,保证特征提取模型具有更好的提取准确率。After the feature extraction model is used for a predetermined time, the feature extraction model is retrained to ensure that the feature extraction model has a better extraction accuracy rate.
在一个实施例中,特征提取模型包括卷积层、池化层、dropout层和全连接层,其中,卷积层、池化层、dropout层均采用Relu激活函数或其变体,全连接层采用softmax函数。In one embodiment, the feature extraction model includes a convolution layer, a pooling layer, a dropout layer, and a fully connected layer, wherein the convolution layer, the pooling layer, and the dropout layer all adopt a Relu activation function or a variant thereof, a fully connected layer Using the softmax function.
在一个实施例中,卷积层中第一卷积层包括6个卷积通道,每个卷积通道的卷积核均为{{1,1,2},{1,2,1},{2,1,1}}。In one embodiment, the first convolution layer in the convolution layer includes 6 convolution channels, and the convolution kernel of each convolution channel is {{1, 1, 2}, {1, 2, 1}, {2,1,1}}.
所述第一卷积层用于增强图片的边界信息。 在一个实施例中,池化层的池化窗口大小为(2,2)。The first convolution layer is used to enhance boundary information of a picture. In one embodiment, the pooling window size of the pooling layer is (2, 2).
所述池化层用于降维,进而降低运算参数,提高计算速度。 在一个实施例中,全连接层包含三层,第一层的神经元个数为448,第二层的神经元个数为112,第三层的神经元个数为28。 所述全连接层用于将多通道的数据整合成一维特征向量,根据多层神经网络的特性,抽象一维特征向量在全连接层进行分类。 所述全连接层中第三层的神经元个数决定了提取出的心电图特征的数量,本实施例中,能够提取28种心电图特征。 在一个实施例中,dropout层中神经元的休眠比例为0.5。 每两个全连接层之间加入dropout层用于避免过拟合,依据dropout层的工作原理,每次训练的神经元会按照设定的比例暂时休眠,当下次训练时, 本轮神经元再次参与训练。本实施例根据经验设置神经元的休眠比例为 0.5,即每次心电图样本进入模型时,在全连接层将会有一半的神经元不参与此次样本的训练。The pooling layer is used for dimensionality reduction, thereby reducing operation parameters and improving calculation speed. In one embodiment, the fully connected layer includes three layers, the number of neurons in the first layer is 448, the number of neurons in the second layer is 112, and the number of neurons in the third layer is 28. The fully connected layer is used to integrate multi-channel data into a one-dimensional feature vector. According to the characteristics of the multilayer neural network, the abstract one-dimensional feature vector is classified at the fully connected layer. The number of neurons in the third layer of the fully connected layer determines the number of extracted ECG features. In this embodiment, 28 types of ECG features can be extracted. In one embodiment, the proportion of dormant neurons in the dropout layer is 0.5. A dropout layer is added between every two fully connected layers to avoid overfitting. According to the working principle of the dropout layer, the neurons that are trained each time will temporarily sleep according to the set ratio. When the next training, the neurons in this round are again Participate in training. In this embodiment, the dormancy ratio of the neurons is set to 0.5 according to experience, that is, each time an ECG sample enters the model, half of the neurons in the fully connected layer will not participate in the training of the sample.
特征提取模型的训练在深度学习框架TensorFlow和Keras中进行,特征提取模型的训练过程包括:The feature extraction model is trained in deep learning frameworks TensorFlow and Keras. The training process of the feature extraction model includes:
步骤a,构建训练数据库和测试数据库。训练数据库和测试数据库的数据可以来自医院和体检中心,训练数据库和测试数据库的心电图数量共计不少于10万,其中70%为正常心电图,其余为异常心电图,各心电图均通过至少两个心电图专家手工独立标注异常特征。训练数据库和测试数据库中的心电图数据相互之间无交叉,训练数据库的心电图数据数量大于测试数据库中的心电图数据数量。Step a, construct a training database and a test database. The data of the training database and test database can come from hospitals and physical examination centers. The total number of ECGs in the training database and test database is not less than 100,000, of which 70% are normal ECGs, and the rest are abnormal ECGs. Each ECG has passed at least two ECG experts Manually label abnormal features independently. There is no overlap between the ECG data in the training database and the test database, and the amount of ECG data in the training database is greater than the amount of ECG data in the test database.
训练数据库和测试数据库中的各心电图数据来自不同的个体,包括年龄在10~99岁之间的男性和10~99岁之间的女性,男性和女性的比例各占一半,训练数据库和测试数据库从心电图机的数据集中随机选取,包含具有代表意义的各种波形和伪迹记录号、各种不常见但有重要临床意义的数据、以及一些复杂的室性、结性、室上性心律失常和传导异常。The ECG data in the training database and the test database are from different individuals, including males between the ages of 10 and 99 and females between the ages of 10 and 99. The proportion of males and females is half. The training and test databases Randomly selected from the data set of the electrocardiograph, including various representative waveform and artifact record numbers, various uncommon but clinically significant data, and some complex ventricular, nodular, and supraventricular arrhythmias And conduction abnormalities.
训练数据库和测试数据库中的每条心电信号数据包括心电信号的格式、采样频率、长度以及此记录患者的相关信息,例如采集地、患者病情、 用药情况等,以及心电专家对心电信号分析的结果,主要包括心跳、节律和信号质量等信息。 训练数据库和测试数据库中的每条心电信号数据的注释包含心电信号的基本信息和心电诊断专家对信号分析的结果,例如:信号时长、心率、 信号质量、发生心律失常心拍的位置、个数和心率失常特征等。Each ECG signal data in the training database and test database includes the ECG signal format, sampling frequency, length, and related information about the patient, such as the place of collection, the patient's condition, and medication, etc. The signal analysis results mainly include information such as heartbeat, rhythm and signal quality. The annotations of each ECG signal data in the training database and test database contain the basic information of ECG signals and the results of signal analysis by ECG diagnostic experts, such as: signal duration, heart rate, signal quality, location of arrhythmic beats, Number and arrhythmia characteristics.
训练数据库和测试数据中心电信号的异常特征,决定了特征提取模型能够提取出的特征。The abnormal characteristics of electrical signals in the training database and test data center determine the features that the feature extraction model can extract.
心电信号的特征包括但不限于体现如下心跳类型的特征:正常、起搏、 窦性心动过速、窦性心动过缓、窦性心律不齐、窦性停搏、逸搏及逸搏心 律(进一步分为房性心律、交界性心律、室性心律、其他逸搏及逸搏心律) 房性早搏、室上性二联律、室性早搏、快心室率、慢心室率、室上性心动 过速、室性心动过速、心房扑动、心房颤动、一度房室传导阻滞、二度房 室传导阻滞、三度房室传导阻滞、室内阻滞(进一步分为左束支传导阻滞、 右束支传导阻滞、左前分支传导阻滞、其他室内阻滞)、噪音、其他。The characteristics of ECG signals include, but are not limited to, the following types of heartbeats: normal, pacing, sinus tachycardia, sinus bradycardia, sinus arrhythmia, sinus arrest, escape beat, and escape beat rhythm (Further divided into atrial rhythm, borderline rhythm, ventricular rhythm, other escape beats and escape beat rhythms) Atrial premature beat, supraventricular dual rhythm, premature ventricular beat, fast ventricular rate, slow ventricular rate, supraventricular Tachycardia, ventricular tachycardia, atrial flutter, atrial fibrillation, first degree atrioventricular block, second degree atrioventricular block, third degree atrioventricular block, indoor block (further divided into left bundle branch Conduction block, right bundle branch block, left anterior branch block, other indoor blocks), noise, others.
步骤b,对训练数据库和测试数据库中各心电图进行预处理。针对训练数据库和测试数据库中某一心电图,随机截取一段连续的心电图信号,该心电图信号至少包含两个心动周期。心电图信号转化为图片形式,与步骤S2中心电图信号转化为图片形式的方法相同。Step b, preprocessing each ECG in the training database and the test database. For a certain ECG in the training database and the test database, a continuous ECG signal is randomly intercepted, and the ECG signal includes at least two cardiac cycles. The electrocardiogram signal is converted into a picture format, which is the same as the method for converting the central electrocardiogram signal into a picture format in step S2.
将训练数据库中转化为图片形式的心电图信号作为ResNet模型(或 Inception模型、或Inception-ResNet模型)的输入进行训练,训练得到的模型利用测试数据库中的心电图进行测试,测试结果分为四种:真阳性(TP)、 真阴性(TN)、假阳性(FP)、假阴性(FN)。The ECG signals converted into pictures in the training database are used as input for the ResNet model (or Inception model or Inception-ResNet model) for training. The trained models are tested using the ECG in the test database. The test results are divided into four types: True positive (TP), true negative (TN), false positive (FP), false negative (FN).
利用四种结果对特征提取结果进行评估,评估采用如下四个参数: 敏感度(Sen),计算公式为:Sen=TP/(TP+FN); 特异性(Spe),计算公式为:Spe= TN/(FP+TN); 阳性率(PPV),计算公式为:PPV= TP/(TP+FP) 准确率(Acc),计算公式为:Acc= (TP+TN)/(TP+FP+FN+TN)。 评估结果如表 1 所示。 The four results are used to evaluate the feature extraction results. The evaluation uses the following four parameters: Sensitivity (Sen), calculated as: Sen = TP / (TP + FN); Specificity (Spe), calculated as: Spe = TN / (FP + TN); Positive rate (PPV), calculated as: PPV = TP / (TP + FP) ; Accuracy (Acc), calculated as: Acc = (TP + TN) / (TP + FP + FN + TN). The evaluation results are shown in Table 1.
表 1Table 1
 Zh
SenSen SpeSpe AccAcc PPVPPV
99%99% 98.6%98.6% 98.8%98.8% 98.1%98.1%
应该理解的是,虽然图1的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图1中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部 分轮流或者交替地执行。It should be understood that although the steps in the flowchart of FIG. 1 are sequentially displayed according to the directions of the arrows, these steps are not necessarily performed sequentially in the order indicated by the arrows. Unless explicitly stated in this document, the execution of these steps is not strictly limited, and these steps can be performed in other orders. Moreover, at least a part of the steps in FIG. 1 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. The execution of these sub-steps or stages The sequence is not necessarily performed sequentially, but may be performed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
在一个实施例中,一种基于深度学习算法的心电特征提取装置,包括:预处理模块,用于在待处理的十二导联心电图中随机截取一段连续的心电图信号,该心电图信号至少包含两个心动周期;提取模块,用于将截取的心电图信号以图片形式输入特征提取模型中,提取得到心电图信号特征;所述特征提取模型基于ResNet模型、或Inception模型、或Inception-ResNet模型训练得到。 关于各模块中功能限定可参见上文中对于基于深度学习算法的心电特征提取方法的限定,在此不再赘述。上述基于深度学习算法的心电特征提取装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。In one embodiment, an ECG feature extraction device based on a deep learning algorithm includes a preprocessing module for randomly intercepting a continuous ECG signal from a 12-lead ECG to be processed, where the ECG signal includes at least Two cardiac cycles; an extraction module, which is used to input the intercepted ECG signals into a feature extraction model in the form of pictures to extract the characteristics of the ECG signal; the feature extraction model is based on a ResNet model, or an Inception model, or an Inception-ResNet model. . For the function limitation in each module, please refer to the limitation on the ECG feature extraction method based on the deep learning algorithm above, which is not repeated here. Each module in the above-mentioned ECG feature extraction device based on a deep learning algorithm may be implemented in whole or in part by software, hardware, and a combination thereof. The above-mentioned modules may be embedded in the hardware form or independent of the processor in the computer device, or may be stored in the memory of the computer device in the form of software, so that the processor calls and performs the operations corresponding to the above modules.
本实施例提供的基于深度学习算法的心电特征提取装置可配置在远端,通过与之相连的远程终端获取心电图信号,还可以是本实施例装置本身就配置在终端(例如用户使用的计算机或医用检测设备),直接通过心电图采集装置获取心电图信号。The ECG feature extraction device based on the deep learning algorithm provided in this embodiment may be configured at a remote end, and the ECG signal may be obtained through a remote terminal connected to the device. Alternatively, the device of this embodiment may be configured at the terminal (for example, a computer used by a user). Or medical detection equipment) to obtain the ECG signal directly through the ECG acquisition device.
在一个实施例中,提供了一种计算机设备,该计算机设备可以是终端,其内部结构图可以如图3所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现基于深度学习算法的心电特征提取方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. 3. The computer equipment includes a processor, a memory, a network interface, a display screen, and an input device connected through a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for running an operating system and computer programs in a non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. The computer program is executed by a processor to implement an ECG feature extraction method based on a deep learning algorithm. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device may be a touch layer covered on the display screen, or a button, a trackball, or a touchpad provided on the computer device casing. , Or an external keyboard, trackpad, or mouse.
本领域技术人员可以理解,图3中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 3 is only a block diagram of a part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer equipment to which the scheme of the present application is applied. The specific computer equipment may be Include more or fewer parts than shown in the figure, or combine certain parts, or have a different arrangement of parts.
在一个实施例中,提供了一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现如下步骤:In one embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor implements the following steps when the computer program executes:
在待处理的十二导联心电图中随机截取一段连续的心电图信号,该心电图信号至少包含两个心动周期;Randomly intercept a continuous ECG signal from the 12-lead ECG to be processed, and the ECG signal includes at least two cardiac cycles;
将截取的心电图信号以图片形式输入特征提取模型中,提取得到心电图信号特征;所述特征提取模型基于ResNet模型、或Inception模型、或 Inception-ResNet模型训练得到。The intercepted electrocardiogram signal is input into a feature extraction model in the form of a picture, and the features of the electrocardiogram signal are extracted; the feature extraction model is obtained by training based on a ResNet model, or an Inception model, or an Inception-ResNet model.
在一个实施例中,提供了一种基于深度学习算法的心电特征提取系统,包括终端以及服务器,所述服务器包括存储器和处理器,所述存储器 内存储有计算机程序,所述服务器从终端获取心电图;所述处理器执行所述计算机程序时,实现如下步骤:In one embodiment, an ECG feature extraction system based on a deep learning algorithm is provided, which includes a terminal and a server. The server includes a memory and a processor. The memory stores a computer program, and the server obtains the information from the terminal. ECG; when the processor executes the computer program, the following steps are implemented:
在待处理的十二导联心电图中随机截取一段连续的心电图信号,该心电图信号至少包含两个心动周期;Randomly intercept a continuous ECG signal from the 12-lead ECG to be processed, and the ECG signal includes at least two cardiac cycles;
将截取的心电图信号以图片形式输入特征提取模型中,提取得到心电图信号特征;所述特征提取模型基于ResNet模型、或Inception模型、或 Inception-ResNet模型训练得到。The intercepted electrocardiogram signal is input into a feature extraction model in the form of a picture, and the features of the electrocardiogram signal are extracted; the feature extraction model is obtained by training based on a ResNet model, or an Inception model, or an Inception-ResNet model.
所述终端可以但不限于为:计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备,所述服务器可以是远程的后台服务器,或者是云平台中的服务器,具体可采用独立的服务器或者是多个服务器组成的服务器集群来实现,终端和服务器之间通过通信网络传输心电图,通信网络可以但不限于为3G、4G、5G、wifi。The terminal may be, but is not limited to, a computer, a laptop, a smart phone, a tablet, and a portable wearable device. The server may be a remote background server or a server in a cloud platform. An independent server or It is implemented by a server cluster composed of multiple servers. The ECG is transmitted between the terminal and the server through a communication network. The communication network can be, but is not limited to, 3G, 4G, 5G, and wifi.
除了将原始心电图从终端传输至服务器,可以将与心电图的相关信息从终端传输至服务器,心电图的相关信息包括但不限于用户信息、检测时间。服务器接收心电图数据,并将提取得到的特征结果通过通信网络传输至终端。服务器存储接收的心电图数据以及特征提取结果。In addition to transmitting the original ECG from the terminal to the server, information related to the ECG can be transmitted from the terminal to the server. The related information of the ECG includes, but is not limited to, user information and detection time. The server receives the ECG data and transmits the extracted feature results to the terminal through the communication network. The server stores the received electrocardiogram data and feature extraction results.
在一个实施例中,提供了一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被计算机处理器执行时实现如下步骤:In one embodiment, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program, and when the computer program is executed by a computer processor, the following steps are implemented:
在待处理的十二导联心电图中随机截取一段连续的心电图信号,该心电图信号至少包含两个心动周期;Randomly intercept a continuous ECG signal from the 12-lead ECG to be processed, and the ECG signal includes at least two cardiac cycles;
将截取的心电图信号以图片形式输入特征提取模型中,提取得到心电图信号特征;所述特征提取模型基于ResNet模型、或Inception模型、或 Inception-ResNet模型训练得到。The intercepted electrocardiogram signal is input into a feature extraction model in the form of a picture, and the features of the electrocardiogram signal are extracted; the feature extraction model is obtained by training based on a ResNet model, or an Inception model, or an Inception-ResNet model.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中 所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易 失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. In execution, the computer program may include the processes of the embodiments of the methods as described above. Wherein, any reference to the storage, storage, database, or other media used in the embodiments provided in this application may include non-volatile and / or volatile storage. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Synchlink DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
在一个实施例中,提供了一种基于深度神经网络的心电图信号分类方法,包括如下步骤:In one embodiment, an ECG signal classification method based on a deep neural network is provided, including the following steps:
在待处理的十二导联心电图中随机截取一段连续的心电图信号,该心电图信号至少包含两个心动周期;Randomly intercept a continuous ECG signal from the 12-lead ECG to be processed, and the ECG signal includes at least two cardiac cycles;
将截取的心电图信号以图片形式输入分类模型中,得到分类结果;所述分类模型基于ResNet模型、或Inception模型、或Inception-ResNet模型训练得到。The intercepted electrocardiogram signals are input into a classification model in the form of pictures to obtain a classification result; the classification model is obtained by training based on a ResNet model, or an Inception model, or an Inception-ResNet model.
心电图信号的分类类别包括但不限于:正常、起搏、窦性心动过速、窦性心动过缓、窦性心律不齐、窦性停搏、逸搏及逸搏心律(进一步分为 房性心律、交界性心律、室性心律、其他逸搏及逸搏心律)房性早搏、室上性二联律、室性早搏、快心室率、慢心室率、室上性心动过速、室性心动过速、心房扑动、心房颤动、一度房室传导阻滞、二度房室传导阻滞、 三度房室传导阻滞、室内阻滞(进一步分为左束支传导阻滞、右束支传导阻滞、左前分支传导阻滞、其他室内阻滞)、噪音、其他。The classification categories of ECG signals include, but are not limited to: normal, pacing, sinus tachycardia, sinus bradycardia, sinus arrhythmia, sinus arrest, escape beat, and escape beat rhythm (further divided into atrial Heart rhythm, border rhythm, ventricular rhythm, other escape beats and escape beat rhythms) Atrial premature beats, supraventricular duplex, premature ventricular beats, fast ventricular rate, slow ventricular rate, supraventricular tachycardia, ventricular Tachycardia, atrial flutter, atrial fibrillation, first degree atrioventricular block, second degree atrioventricular block, third degree atrioventricular block, indoor block (further divided into left bundle branch block, right bundle Branch block, left anterior branch block, other indoor blocks), noise, other.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be arbitrarily combined. In order to make the description concise, all possible combinations of the technical features in the above embodiments have not been described. However, as long as there is no contradiction in the combination of these technical features, they should be It is considered to be the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation manners of the present application, and their descriptions are more specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be noted that, for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the protection scope of this application patent shall be subject to the appended claims.

Claims (10)

  1. 一种基于深度学习算法的心电特征提取方法,其特征在于,包括如下步骤:A method for extracting ECG features based on a deep learning algorithm is characterized in that it includes the following steps:
    在待处理的十二导联心电图中随机截取一段连续的心电图信号,该心电图信号至少包含两个心动周期;Randomly intercept a continuous ECG signal from the 12-lead ECG to be processed, and the ECG signal includes at least two cardiac cycles;
    将截取的心电图信号以图片形式输入特征提取模型中,提取得到心电图信号特征;所述特征提取模型基于ResNet模型、或Inception模型、或 Inception-ResNet模型训练得到。The intercepted electrocardiogram signal is input into a feature extraction model in the form of a picture, and the features of the electrocardiogram signal are extracted; the feature extraction model is obtained by training based on a ResNet model, or an Inception model, or an Inception-ResNet model.
  2. 如权利要求1所述的基于深度学习算法的心电特征提取方法,其特征在于,所述特征提取模型包括卷积层、池化层、dropout层和全连接层,其中,卷积层、池化层、dropout层均采用Relu激活函数或其变体,全连接层采用softmax函数。The ECG feature extraction method based on deep learning algorithm according to claim 1, wherein the feature extraction model comprises a convolution layer, a pooling layer, a dropout layer, and a fully connected layer, wherein the convolution layer, the pool The chemical layer and the dropout layer both use the Relu activation function or a variant thereof, and the fully connected layer uses the softmax function.
  3. 如权利要求2所述的基于深度学习算法的心电特征提取方法,其特征在于,所述卷积层中第一卷积层包括6个卷积通道,每个卷积通道的卷积核均为{{1,1,2},{1,2,1},{2,1,1}}。The ECG feature extraction method based on deep learning algorithm according to claim 2, wherein the first convolution layer in the convolution layer includes 6 convolution channels, and the convolution kernel of each convolution channel is For {{1,1,2}, {1,2,1}, {2,1,1}}.
  4. 如权利要求2所述的基于深度学习算法的心电特征提取方法,其特征在于,所述池化层的池化窗口大小为(2,2)。The method for extracting ECG features based on a deep learning algorithm according to claim 2, wherein the size of the pooling window of the pooling layer is (2, 2).
  5. 如权利要求2所述的基于深度学习算法的心电特征提取方法,其特征在于,所述全连接层包含三层,第一层的神经元个数为448,第二层的神经元个数为112,第三层的神经元个数为28。The method for extracting ECG features based on a deep learning algorithm according to claim 2, wherein the fully connected layer comprises three layers, the number of neurons in the first layer is 448, and the number of neurons in the second layer Is 112, and the number of neurons in the third layer is 28.
  6. 如权利要求2所述的基于深度学习算法的心电特征提取方法,其特征在于,所述dropout层中神经元的休眠比例为0.5。The method for extracting ECG features based on a deep learning algorithm according to claim 2, wherein the sleep ratio of the neurons in the dropout layer is 0.5.
  7. 一种基于深度学习算法的心电特征提取装置,其特征在于,包括:预处理模块,用于在待处理的十二导联心电图中随机截取一段连续的心电图信号,该心电图信号至少包含两个心动周期; 提取模块,用于将截取的心电图信号以图片形式输入特征提取模型中,提取得到心电图信号特征;所述特征提取模型基于ResNet模型、或Inception模型、或Inception-ResNet模型训练得到。A device for extracting ECG features based on a deep learning algorithm, comprising: a pre-processing module for randomly intercepting a continuous ECG signal from a 12-lead ECG to be processed, the ECG signal including at least two Cardiac cycle An extraction module is used to input the intercepted electrocardiogram signal into a feature extraction model in the form of a picture to extract the characteristics of the electrocardiogram signal; the feature extraction model is obtained by training based on a ResNet model, an Inception model, or an Inception-ResNet model.
  8. 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1 至6中任一项所述的基于深度学习算法的心电特征提取方法。A computer device includes a memory and a processor, and the memory stores a computer program, wherein the processor implements the deep learning algorithm according to any one of claims 1 to 6 when executing the computer program. ECG feature extraction method.
  9. 一种基于深度学习算法的心电特征提取系统,包括终端以及服务器,所述服务器包括存储器和处理器,所述存储器内存储有计算机程序, 其特征在于,所述服务器从终端获取心电图;所述处理器执行所述计算机程序时,实现如权利要求1~6任一项所述的基于深度学习算法的心电特征提取方法。An ECG feature extraction system based on a deep learning algorithm includes a terminal and a server. The server includes a memory and a processor. The memory stores a computer program. It is characterized in that the server obtains an electrocardiogram from a terminal; when the processor executes the computer program, the method for extracting an electrocardiogram feature based on a deep learning algorithm according to any one of claims 1 to 6 is implemented.
  10. 一种基于深度学习算法的心电图信号分类方法,其特征在于,包括如下步骤:An ECG signal classification method based on a deep learning algorithm is characterized in that it includes the following steps:
    在待处理的十二导联心电图中随机截取一段连续的心电图信号,该心电图信号至少包含两个心动周期;Randomly intercept a continuous ECG signal from the 12-lead ECG to be processed, and the ECG signal includes at least two cardiac cycles;
    将截取的心电图信号以图片形式输入分类模型中,得到分类结果;所述分类模型基于ResNet模型、或Inception模型、或Inception-ResNet模型训练得到。The intercepted electrocardiogram signals are input into a classification model in the form of pictures to obtain a classification result; the classification model is obtained by training based on a ResNet model, an Inception model, or an Inception-ResNet model.
PCT/CN2019/105624 2018-09-14 2019-09-12 Deep learning algorithm-based electrocardiogram feature extraction method, apparatus, system, device, and classification method WO2020052640A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811075592.8A CN110897629A (en) 2018-09-14 2018-09-14 Deep learning algorithm-based electrocardiogram feature extraction method, device, system, equipment and classification method
CN201811075592.8 2018-09-14

Publications (1)

Publication Number Publication Date
WO2020052640A1 true WO2020052640A1 (en) 2020-03-19

Family

ID=69776772

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/105624 WO2020052640A1 (en) 2018-09-14 2019-09-12 Deep learning algorithm-based electrocardiogram feature extraction method, apparatus, system, device, and classification method

Country Status (2)

Country Link
CN (1) CN110897629A (en)
WO (1) WO2020052640A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114652322A (en) * 2022-03-24 2022-06-24 中南大学 Electrocardiosignal classification method and system based on multi-domain feature learning
CN118285809A (en) * 2024-03-21 2024-07-05 济南大学 Multi-feature auxiliary diagnosis method based on double-lead ECG signal, terminal and readable storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2767157C2 (en) * 2020-07-21 2022-03-16 Общество с ограниченной ответственностью "СберМедИИ" (ООО "СберМедИИ") Method and system for automatic ecg analysis
CN112568908A (en) * 2020-12-14 2021-03-30 上海数创医疗科技有限公司 Electrocardiogram waveform positioning and classifying model device adopting multi-scale visual field depth learning
CN113647959B (en) * 2021-07-27 2024-01-12 东软集团股份有限公司 Waveform identification method, device and equipment for electrocardiographic waveform signals

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160135706A1 (en) * 2014-11-14 2016-05-19 Zoll Medical Corporation Medical Premonitory Event Estimation
CN105748063A (en) * 2016-04-25 2016-07-13 山东大学齐鲁医院 Intelligent arrhythmia diagnosis method based on multiple-lead and convolutional neural network
CN107714023A (en) * 2017-11-27 2018-02-23 乐普(北京)医疗器械股份有限公司 Static ecg analysis method and apparatus based on artificial intelligence self study
CN107837082A (en) * 2017-11-27 2018-03-27 乐普(北京)医疗器械股份有限公司 Electrocardiogram automatic analysis method and device based on artificial intelligence self study
CN107951485A (en) * 2017-11-27 2018-04-24 乐普(北京)医疗器械股份有限公司 Ambulatory ECG analysis method and apparatus based on artificial intelligence self study
CN107981858A (en) * 2017-11-27 2018-05-04 乐普(北京)医疗器械股份有限公司 Electrocardiogram heartbeat automatic recognition classification method based on artificial intelligence
CN108113666A (en) * 2017-12-19 2018-06-05 中国科学院深圳先进技术研究院 Recognition methods, device and the equipment of atrial fibrillation signal
CN108309263A (en) * 2018-02-24 2018-07-24 乐普(北京)医疗器械股份有限公司 Multi-parameter monitoring data analysing method and multi-parameter monitoring system
CN108478209A (en) * 2018-02-24 2018-09-04 乐普(北京)医疗器械股份有限公司 Ecg information dynamic monitor method and dynamic monitor system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170156592A1 (en) * 2015-12-02 2017-06-08 Mediatek Inc. Healthcare systems and monitoring method for physiological signals
CN108175402A (en) * 2017-12-26 2018-06-19 智慧康源(厦门)科技有限公司 The intelligent identification Method of electrocardiogram (ECG) data based on residual error network
CN108464827A (en) * 2018-03-08 2018-08-31 四川大学 It is a kind of it is Weakly supervised under electrocardio image-recognizing method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160135706A1 (en) * 2014-11-14 2016-05-19 Zoll Medical Corporation Medical Premonitory Event Estimation
CN105748063A (en) * 2016-04-25 2016-07-13 山东大学齐鲁医院 Intelligent arrhythmia diagnosis method based on multiple-lead and convolutional neural network
CN107714023A (en) * 2017-11-27 2018-02-23 乐普(北京)医疗器械股份有限公司 Static ecg analysis method and apparatus based on artificial intelligence self study
CN107837082A (en) * 2017-11-27 2018-03-27 乐普(北京)医疗器械股份有限公司 Electrocardiogram automatic analysis method and device based on artificial intelligence self study
CN107951485A (en) * 2017-11-27 2018-04-24 乐普(北京)医疗器械股份有限公司 Ambulatory ECG analysis method and apparatus based on artificial intelligence self study
CN107981858A (en) * 2017-11-27 2018-05-04 乐普(北京)医疗器械股份有限公司 Electrocardiogram heartbeat automatic recognition classification method based on artificial intelligence
CN108113666A (en) * 2017-12-19 2018-06-05 中国科学院深圳先进技术研究院 Recognition methods, device and the equipment of atrial fibrillation signal
CN108309263A (en) * 2018-02-24 2018-07-24 乐普(北京)医疗器械股份有限公司 Multi-parameter monitoring data analysing method and multi-parameter monitoring system
CN108478209A (en) * 2018-02-24 2018-09-04 乐普(北京)医疗器械股份有限公司 Ecg information dynamic monitor method and dynamic monitor system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114652322A (en) * 2022-03-24 2022-06-24 中南大学 Electrocardiosignal classification method and system based on multi-domain feature learning
CN118285809A (en) * 2024-03-21 2024-07-05 济南大学 Multi-feature auxiliary diagnosis method based on double-lead ECG signal, terminal and readable storage medium

Also Published As

Publication number Publication date
CN110897629A (en) 2020-03-24

Similar Documents

Publication Publication Date Title
Merdjanovska et al. Comprehensive survey of computational ECG analysis: Databases, methods and applications
US20220015711A1 (en) System and method for automated analysis and detection of cardiac arrhythmias from electrocardiograms
US9872652B2 (en) Method and apparatus for heart rate monitoring using an electrocardiogram sensor
WO2020052640A1 (en) Deep learning algorithm-based electrocardiogram feature extraction method, apparatus, system, device, and classification method
CN106214145B (en) Electrocardiogram classification method based on deep learning algorithm
Lai et al. Non-standardized patch-based ECG lead together with deep learning based algorithm for automatic screening of atrial fibrillation
Yang Multiscale recurrence quantification analysis of spatial cardiac vectorcardiogram signals
JP7429371B2 (en) Method and system for quantifying and removing asynchronous noise in biophysical signals
Demirel et al. Energy-efficient real-time heart monitoring on edge–fog–cloud internet of medical things
CN109497986A (en) Electrocardiogram intelligent analysis method, device, computer equipment and system based on deep neural network
Nandagopal et al. Newly constructed real time ECG monitoring system using labview
Singhal et al. A systematic review on artificial intelligence-based techniques for diagnosis of cardiovascular arrhythmia diseases: challenges and opportunities
US9549681B2 (en) Matrix-based patient signal analysis
Prashar et al. Novel cardiac arrhythmia processing using machine learning techniques
Khatun et al. Detection of myocardial infarction and arrhythmia from single-lead ECG data using bagging trees classifier
Mathur et al. Analysis of CNN and feed-forward ANN model for the evaluation of ECG signal
Vizcaya et al. Standard ECG lead I prospective estimation study from far-field bipolar leads on the left upper arm: A neural network approach
Gavriel et al. Smartphone as an ultra-low cost medical tricorder for real-time cardiological measurements via ballistocardiography
CN111528833B (en) Rapid identification and processing method and system for electrocardiosignals
CN110897628A (en) Deep neural network-based electrocardiogram signal feature extraction method, device, system, equipment and classification method
Rajoub Machine learning in biomedical signal processing with ECG applications
Marhoon et al. A new real-time resource-efficient algorithm for ECG denoising, feature extraction and classification-based wearable sensor network
Rashkovska et al. Clustering of heartbeats from ECG recordings obtained with wireless body sensors
Oktivasari et al. A simple real-time system for detection of normal and myocardial ischemia in the ST segment and t wave ECG signal
CN110897626A (en) Deep neural network-based electrocardiogram analysis method, device, computer equipment and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19859597

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19859597

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 19859597

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 04.02.2022)

122 Ep: pct application non-entry in european phase

Ref document number: 19859597

Country of ref document: EP

Kind code of ref document: A1