WO2022134472A1 - Method, device and terminal for electrocardiosignal detection and storage medium - Google Patents

Method, device and terminal for electrocardiosignal detection and storage medium Download PDF

Info

Publication number
WO2022134472A1
WO2022134472A1 PCT/CN2021/097285 CN2021097285W WO2022134472A1 WO 2022134472 A1 WO2022134472 A1 WO 2022134472A1 CN 2021097285 W CN2021097285 W CN 2021097285W WO 2022134472 A1 WO2022134472 A1 WO 2022134472A1
Authority
WO
WIPO (PCT)
Prior art keywords
ecg signal
abnormal
segment
signal segment
ecg
Prior art date
Application number
PCT/CN2021/097285
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 WO2022134472A1 publication Critical patent/WO2022134472A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/318Heart-related electrical modalities, e.g. electrocardiography [ECG]
    • A61B5/346Analysis of electrocardiograms
    • A61B5/349Detecting specific parameters of the electrocardiograph cycle
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H50/00ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
    • G16H50/20ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for computer-aided diagnosis, e.g. based on medical expert systems

Definitions

  • the present application belongs to the field of artificial intelligence, and in particular, relates to a method, device, terminal and storage medium for detecting ECG signals.
  • ECG signals have been widely used in the diagnosis of various cardiac abnormalities, and can also be used to predict the morbidity and mortality of cardiovascular diseases. Early, correct diagnosis of cardiac abnormalities can increase the chances of successful treatment. However, manual interpretation of ECG signals is time-consuming and labor-intensive, and requires higher requirements for medical personnel. Therefore, it is very necessary to automatically interpret ECG signals based on neural network models.
  • One of the purposes of the embodiments of the present application is to provide a method, device, terminal and storage medium for detecting ECG signals, so as to solve the problem that the existing neural network model cannot identify the location of abnormal ECG signals while identifying the location of abnormal ECG signals. It is a technical problem that the abnormal type corresponding to the abnormal ECG signal is found, which is not conducive to the interpretation of the ECG signal.
  • an embodiment of the present application provides a method for detecting an ECG signal, the method comprising:
  • the ECG signal detection model includes an abnormal ECG signal screening module and an abnormal ECG signal classification module, and the abnormal ECG signal screening module is used to screen out the abnormal ECG signals from the ECG signals, And determine the position of the abnormal ECG signal, and the abnormal ECG signal classification module is used for analyzing the abnormal ECG signal to obtain the abnormal type corresponding to the abnormal ECG signal.
  • an embodiment of the present application provides a device for detecting an ECG signal, the device comprising:
  • a first acquisition unit used to acquire the ECG signal to be detected
  • the ECG signal detection model includes an abnormal ECG signal screening module and an abnormal ECG signal classification module, and the abnormal ECG signal screening module is used to screen out the abnormal ECG signals from the ECG signals, And determine the position of the abnormal ECG signal, and the abnormal ECG signal classification module is used for analyzing the abnormal ECG signal to obtain the abnormal type corresponding to the abnormal ECG signal.
  • an embodiment of the present application provides a terminal for detecting electrocardiographic signals, including a memory, a processor, and a computer program stored in the memory and running on the processor, where the processor implements when executing the computer program:
  • the ECG signal detection model includes an abnormal ECG signal screening module and an abnormal ECG signal classification module, and the abnormal ECG signal screening module is used to screen out the abnormal ECG signals from the ECG signals, And determine the position of the abnormal ECG signal, and the abnormal ECG signal classification module is used for analyzing the abnormal ECG signal to obtain the abnormal type corresponding to the abnormal ECG signal.
  • an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium may be non-volatile or volatile, and the computer-readable storage medium stores a computer program, the computer program Implemented when executed by the processor:
  • the ECG signal detection model includes an abnormal ECG signal screening module and an abnormal ECG signal classification module, and the abnormal ECG signal screening module is used to screen out the abnormal ECG signals from the ECG signals, And determine the position of the abnormal ECG signal, and the abnormal ECG signal classification module is used for analyzing the abnormal ECG signal to obtain the abnormal type corresponding to the abnormal ECG signal.
  • the embodiment of the present application has the beneficial effect that the ECG signal to be detected is processed based on the pre-trained ECG signal detection model.
  • the abnormal ECG signal screening module in the ECG signal detection model can screen out the abnormal ECG signal from the ECG signal, and determine the position of the abnormal ECG signal, and the classification module in the ECG signal detection model can detect the abnormal ECG signal.
  • the abnormal ECG signal screened by the ECG signal screening module is analyzed to obtain the abnormal type corresponding to the abnormal ECG signal. Based on this method, not only the abnormal ECG signal in the ECG signal to be detected can be accurately located, but also the abnormal type of the abnormal ECG signal can be accurately identified, and the speed and accuracy of the interpretation of the ECG signal can be improved. .
  • FIG. 1 is a schematic flowchart of a method for detecting an electrocardiogram signal provided by an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a method for detecting an ECG signal provided by another embodiment of the present application
  • FIG. 3 is a schematic diagram of ECG signal division provided by an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a method for detecting an ECG signal provided by another embodiment of the present application.
  • FIG. 5 is a schematic flowchart of a method for detecting an ECG signal provided by another embodiment of the present application.
  • FIG. 6 is a schematic flowchart of a method for detecting an ECG signal provided by another embodiment of the present application.
  • FIG. 7 is a schematic diagram of a device for detecting an ECG signal provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a terminal for detecting an ECG signal provided by another embodiment of the present application.
  • ECG signals have been widely used in the diagnosis of various cardiac abnormalities, and can also be used to predict the morbidity and mortality of cardiovascular diseases. Early, correct diagnosis of cardiac abnormalities can increase the chances of successful treatment. However, manual interpretation of ECG signals is time-consuming and labor-intensive, and requires higher requirements for medical personnel. Therefore, it is very necessary to automatically interpret ECG signals based on neural network models.
  • the selected training samples are incomplete and inaccurate, so that the neural network model obtained by training cannot locate the position of abnormal ECG signals, and cannot accurately identify the corresponding abnormal ECG signals. exception type.
  • the present application provides a method for detecting an ECG signal, which processes the ECG signal to be detected based on a pre-trained ECG signal detection model.
  • the abnormal ECG signal screening module in the ECG signal detection model can screen out the abnormal ECG signal from the ECG signal, and determine the position of the abnormal ECG signal, and the classification module in the ECG signal detection model can detect the abnormal ECG signal.
  • the abnormal ECG signal screened by the ECG signal screening module is analyzed to obtain the abnormal type corresponding to the abnormal ECG signal. Based on this method, not only the abnormal ECG signal in the ECG signal to be detected can be accurately located, but also the abnormal type of the abnormal ECG signal can be accurately identified, and the speed and accuracy of the interpretation of the ECG signal can be improved. .
  • FIG. 1 is a schematic flowchart of a method for detecting an ECG signal provided by an embodiment of the present application.
  • the execution subject of the method for detecting an ECG signal in this embodiment is a terminal, and the terminal includes but is not limited to a mobile terminal such as a smart phone, a tablet computer, a computer, a Personal Digital Assistant (PDA), etc., and may also include a desktop computer, a server, etc. Wait for the terminal.
  • the method for detecting an ECG signal as shown in FIG. 1 may include S101 to S102, and the details are as follows:
  • S101 Acquire an ECG signal to be detected.
  • a waveform diagram that can completely represent one cardiac cycle of the heart is called a cardiac beat signal, and the ECG signal to be detected may include several cardiac beat signals.
  • the user's ECG signal can be input to the terminal that detects the ECG signal, that is, the ECG signal to be detected is input, and the terminal that detects the ECG signal receives the ECG signal to be detected. ECG signal.
  • the ECG signal to be detected may also be stored in a preset folder of the terminal in advance, and when an instruction to detect the ECG signal is received, the ECG signal to be detected is extracted from the preset folder.
  • the medical detection device may also generate the ECG signal to be detected after detecting the user's heart, and transmit the ECG signal to be detected to a terminal that detects the ECG signal, and the terminal receives the ECG signal to be detected.
  • This is only an exemplary description, and it is not limited.
  • S102 Input the ECG signal into a trained ECG signal detection model for processing, and obtain the position of the abnormal ECG signal in the ECG signal and the abnormal type corresponding to the abnormal ECG signal;
  • the ECG signal detection model includes an abnormal ECG signal screening module and an abnormal ECG signal classification module, and the abnormal ECG signal screening module is used to screen out the abnormal ECG signals from the ECG signals, And determine the position of the abnormal ECG signal, and the abnormal ECG signal classification module is used for analyzing the abnormal ECG signal to obtain the abnormal type corresponding to the abnormal ECG signal.
  • a pre-trained ECG signal detection model is pre-stored in the terminal.
  • the ECG signal detection model is obtained by using a machine learning algorithm to train the first sample training set based on the initial screening network and the second sample training set based on the initial classification network.
  • the ECG signal detection model can be pre-trained by the terminal, or the file corresponding to the ECG signal detection model can be transplanted to the terminal after being pre-trained by other devices. That is to say, the executive body that trains the ECG signal detection model and the executive body that uses the ECG signal detection model may be the same or different.
  • the trained ECG signal detection model may include an abnormal ECG signal screening module and an abnormal ECG signal classification module.
  • the abnormal ECG signal screening module is obtained by training the first sample training set based on the initial screening network.
  • the abnormal electrocardiographic signal screening module performs screening processing on the electrocardiographic signal to be detected, screens out the abnormal electrocardiographic signal in the electrocardiographic signal to be detected, and can determine the position of the abnormal electrocardiographic signal. It should be noted that, when there is no abnormal ECG signal in the ECG signal to be detected, the abnormal ECG signal screening module will output a null value if the abnormal ECG signal cannot be detected. It can be understood that when there is no abnormal ECG signal in the ECG signal to be detected, the output of the trained ECG signal detection model is empty.
  • the abnormal ECG signal classification module is obtained by training the second sample training set based on the initial classification network.
  • the abnormal ECG signal classification module analyzes the abnormal ECG signals screened by the abnormal ECG signal screening module, and obtains the abnormal type corresponding to the abnormal ECG signals.
  • the abnormal type refers to the type to which the abnormal ECG signal belongs.
  • abnormal types may include atrial fibrillation, first-degree AV block, left bundle branch block, right bundle branch block, premature atrial contractions, premature ventricular contractions, ST segment and T wave abnormalities (ST-T changes), P Wave abnormalities, abnormal QRS complexes, significant changes in QRS complexes and ST-T, and arrhythmias.
  • the abnormality type can be used to assist the doctor in judging the user's disease.
  • the abnormality type corresponding to the abnormal ECG signal of the user is P-wave abnormality. According to previous experience, it can be judged that the user has a high probability of atrial hypertrophy; the abnormal ECG signal of the user is abnormal.
  • the corresponding abnormal type is ST-T change, and the user's myocardial ischemia can be judged according to the usual experience. This is only an exemplary description, and it is not limited.
  • the abnormal ECG signal screening module will output a null value if it cannot detect the abnormal ECG signal. Accordingly, the abnormal ECG signal classification module will output a null value at this time. If there is no abnormal ECG signal that can be processed, a null value will also be output. It is finally reflected that the output of the trained ECG signal detection model is empty.
  • FIG. 2 is a schematic flowchart of a method for detecting an ECG signal provided by another embodiment of the present application.
  • the foregoing S102 may include S1021 to S1028, and the details are as follows:
  • S1021 Divide the ECG signal into a plurality of ECG signal segments.
  • each ECG signal segment contains 2 heartbeat signals or 3 heartbeat signals. This is only an exemplary description, and it is not limited.
  • FIG. 3 is a schematic diagram of ECG signal division provided by an embodiment of the present application.
  • Figure 3 only shows a certain segment of the ECG signal.
  • the ECG signal segment selected by each rectangular frame represents the divided ECG signal segment.
  • the ECG signal segment contains 3 heartbeat signals, and the second ECG signal, the third ECG signal, and the third ECG signal each contain 2 heartbeat signals.
  • This figure is only an exemplary illustration, which is not limited.
  • S1022 Select a first ECG signal segment and a second ECG signal segment from the plurality of ECG signal segments, the first ECG signal segment is adjacent to the second ECG signal segment, and the first ECG signal segment is adjacent to the second ECG signal segment.
  • An ECG signal segment is any one of the plurality of ECG signal segments.
  • the first ECG signal segment refers to any one ECG signal segment among the divided multiple ECG signal segments
  • the second ECG signal segment refers to an ECG signal segment adjacent to the first ECG signal segment.
  • a first ECG signal segment is selected from a plurality of ECG signal segments according to the order of division, and the next ECG signal segment adjacent to the first ECG signal segment is selected as the second ECG signal segment.
  • the first ECG signal segment on the left is selected as the first ECG signal segment, and the next ECG signal segment adjacent to it is the second ECG signal segment. If the third ECG signal segment is selected as the first ECG signal segment, the last ECG signal segment adjacent to it is the second ECG signal segment.
  • This figure is only an exemplary illustration, which is not limited.
  • S1023 Input the first ECG signal segment and the second ECG signal segment into the abnormal ECG signal screening module for screening processing to obtain the first ECG signal segment and the second ECG signal segment The degree of matching between signal fragments.
  • the degree of matching can be understood as the degree of similarity, that is, the degree of similarity between two ECG signal segments. In this embodiment, it is to determine the degree of similarity between the first ECG signal segment and the second ECG signal segment.
  • the matching degree may be represented by 1 and 0, wherein 1 indicates that the two electrocardiographic signal segments have a high degree of matching, and 0 represents that the two electrocardiographic signal segments have a low matching degree.
  • the abnormal ECG signal screening module When the abnormal ECG signal screening module outputs 1, it indicates the first ECG signal segment and the second ECG signal.
  • the matching degree between the segments is high; when the abnormal ECG signal screening module outputs 0, it indicates that the matching degree between the first ECG signal segment and the second ECG signal segment is low.
  • the matching degree may also be represented by a specific numerical value, percentage, etc., for example, the matching degree may be 95, 90, 80, 30, 95%, 60%, and so on. This is only an exemplary description, and it is not limited.
  • the preset threshold is used for comparison with the matching degree, and the comparison result is used to assist in determining whether to mark the first ECG signal segment and the second ECG signal segment as abnormal ECG signals.
  • the preset threshold can also be adjusted accordingly.
  • the preset threshold may be set to 1.
  • the matching degree between the first ECG signal segment and the second ECG signal segment is 0.
  • the preset threshold value 1 which proves that the first ECG signal segment and the second ECG signal are
  • the segment matching degree is low, that is, the similarity degree is low.
  • the first ECG signal segment and the second ECG signal segment are two ECG signal segments with large differences, which are likely to be abnormal ECG signal segments.
  • the first ECG signal segment and the second ECG signal segment are respectively marked as abnormal ECG signals.
  • first ECG signal segment and the second ECG signal segment are respectively marked as abnormal ECG signals
  • the respective differences between the first ECG signal segment and the second ECG signal segment in the entire ECG signal to be detected are acquired.
  • the position is to obtain the coordinates of the first ECG signal segment and the second ECG signal segment in the entire ECG signal to be detected, respectively.
  • the position or coordinates can also be represented by the description of the number of segments.
  • the position of the first ECG signal segment in the entire ECG signal to be detected is the first ECG signal segment
  • the second ECG signal segment The position of the electrical signal segment in the entire ECG signal to be detected is the second ECG signal segment. This is only an exemplary description, and it is not limited.
  • the ECG signal segment marked as abnormal ECG signal can be marked with a rectangular frame, for example, the first ECG signal segment and the first ECG signal segment marked as abnormal ECG signal can be marked with a rectangular frame different from the color of the ECG signal.
  • the second ECG signal segment is framed, so that the doctor can directly check which of the ECG signals to be detected are abnormal ECG signals.
  • S1025 Input the third ECG signal segment and the fourth ECG signal segment from the multiple ECG signal segments into the abnormal ECG signal screening module for screening processing, to obtain the third ECG signal segment and the ECG signal segment. Matching degree between fourth ECG signal segments, the first ECG signal segment, the second ECG signal segment, the third ECG signal segment, and the fourth ECG signal segment are adjacent in sequence .
  • the next ECG signal segment adjacent to the second ECG signal segment is the third ECG signal segment
  • the next ECG signal segment adjacent to the third ECG signal segment is the fourth ECG signal segment. That is, the first ECG signal segment, the second ECG signal segment, the third ECG signal segment, and the fourth ECG signal segment are adjacent in sequence.
  • the four ECG signal segments are, from left to right, the first ECG signal segment, the second ECG signal segment, the third ECG signal segment, and the fourth ECG signal segment .
  • the first ECG signal segment and the second ECG signal segment are processed, and then the third ECG signal segment and the fourth ECG signal segment are processed.
  • the third ECG signal segment and the fourth ECG signal segment are input into the abnormal ECG signal screening module for screening processing to obtain the matching degree between the third ECG signal segment and the fourth ECG signal segment.
  • the third ECG signal segment and the fourth ECG signal segment are respectively marked as abnormal ECG signals, and it is determined that the third ECG signal segment and the fourth ECG signal segment are respectively position in the ECG signal.
  • the third ECG signal segment or the fourth ECG signal segment is retained, and the retained ECG signal segment and the fifth ECG signal segment are input to the abnormal ECG signal.
  • the screening process is performed in the screening module, and the fourth ECG signal segment is adjacent to the fifth ECG signal segment. This cycle is used until the processing of multiple ECG signal segments corresponding to the ECG signal to be detected is completed.
  • first ECG signal segment, the second ECG signal segment, the third ECG signal segment, and the fourth ECG signal segment are all used to refer to multiple ECG signal segments that need to be processed.
  • a certain ECG signal segment is for the purpose of explaining the solution more clearly, rather than restricting that it must be the first ECG signal segment, the second ECG signal segment, and so on.
  • the preset threshold may be set to 1.
  • the matching degree between the third ECG signal segment and the fourth ECG signal segment is 0.
  • the preset threshold value 1 which proves that the third ECG signal segment and the fourth ECG signal are The segment matching degree is low, that is, the similarity degree is low.
  • the third ECG signal segment and the fourth ECG signal segment are two ECG signal segments with large differences, which are probably abnormal ECG signal segments.
  • the third ECG signal segment and the fourth ECG signal segment are respectively marked as abnormal ECG signals.
  • the position is to obtain the coordinates of the third ECG signal segment and the fourth ECG signal segment in the entire ECG signal to be detected, respectively.
  • the position or coordinates can also be represented by the description of the number of segments.
  • the location of the third ECG signal segment in the entire ECG signal to be detected is the third ECG signal segment, and the fourth ECG signal segment.
  • the position of the electrical signal segment in the entire ECG signal to be detected is the fourth ECG signal segment. This is only an exemplary description, and it is not limited.
  • the ECG signal segment marked as abnormal ECG signal may be marked with a rectangular frame, for example, the third ECG signal segment and the first ECG signal segment marked as abnormal ECG signal may be marked with a rectangular frame different from the color of the ECG signal.
  • the four ECG signal segments are framed, so that the doctor can directly check which of the ECG signals to be detected are abnormal ECG signals.
  • S1027 Analyze the abnormal electrocardiographic signal based on the abnormal electrocardiographic signal classification module to obtain an abnormality type corresponding to the abnormal electrocardiographic signal.
  • the abnormal ECG signal is analyzed based on the abnormal ECG signal classification module to obtain the abnormal type corresponding to the abnormal ECG signal.
  • the ECG signal segments marked as abnormal ECG signals are analyzed by the abnormal ECG signal classification module, and the abnormal type corresponding to each abnormal ECG signal is obtained.
  • a feature vector of an abnormal electrocardiogram signal can be extracted by an abnormal electrocardiogram signal classification module, and the feature vector can be classified to obtain an abnormality type corresponding to the abnormal electrocardiogram signal.
  • the preset threshold may be set to 1.
  • the matching degree between the first ECG signal segment and the second ECG signal segment is 1, and it is detected that the matching degree 1 is equal to the preset threshold 1, which proves that the first ECG signal segment and the second ECG signal segment
  • the segment matching degree is high, that is, the similarity degree is high. It can be understood that the first ECG signal segment and the second ECG signal segment are two ECG signal segments with small differences, which are probably normal ECG signal segments.
  • One ECG signal segment or the second ECG signal segment is retained, and the retained ECG signal segment is used to continue the screening process with the third ECG signal segment to obtain the retained ECG signal segment and the third ECG signal segment
  • the matching degree between them, the ECG signal segment that is not retained can be eliminated.
  • compare the matching degree with the preset threshold value when the matching degree between the retained ECG signal segment and the third ECG signal segment is When the value is less than the preset threshold, the reserved ECG signal segment and the third ECG signal segment are respectively marked as abnormal ECG signals, and the respective positions of the retained ECG signal segment and the third ECG signal segment in the ECG signal are determined.
  • the retained ECG signal segment or the third ECG signal segment is retained, and the ECG signal segment retained at this time is
  • the electrical signal fragment and the fourth electrocardiographic signal fragment are input into the abnormal electrocardiographic signal screening module for screening processing to obtain the matching degree between the remaining electrocardiographic signal fragment and the fourth electrocardiographic signal fragment. This process is repeated until all the ECG signal segments in the plurality of ECG signal segments are screened. This is only an exemplary description, and it is not limited.
  • the first ECG signal segment is retained, and the first ECG signal segment and the third ECG signal segment are input into the abnormal ECG signal screening module for screening processing to obtain the first ECG signal segment and the third ECG signal segment.
  • the degree of matching between the signal segments is determined, and then the above steps are performed cyclically until the processing of the multiple ECG signal segments corresponding to the ECG signal to be detected is completed.
  • the second ECG signal segment is retained, and the second ECG signal segment and the third ECG signal segment are input into the abnormal ECG signal screening module for screening processing to obtain the second ECG signal segment and the third ECG signal segment.
  • the degree of matching between the signal segments is determined, and then the above steps are performed cyclically until the processing of the multiple ECG signal segments corresponding to the ECG signal to be detected is completed.
  • FIG. 4 is a schematic flowchart of a method for detecting an ECG signal provided by another embodiment of the present application.
  • the foregoing S1023 may include S10231 to S10233, and the details are as follows:
  • S10231 Extract a first feature vector corresponding to the first ECG signal segment based on the abnormal ECG signal screening module.
  • the abnormal ECG signal screening module can be obtained by training based on the twin network.
  • the twin network is actually implemented by two parallel networks with all parameters shared and the same structure, and the network structure adopted by the twin network is not limited. It can be VGG-16 structure, Resnet-50 structure and Resnet-101 structure, etc.
  • the two parallel networks in the twin network process the first ECG signal segment and the second ECG signal segment respectively, extract the first feature vector corresponding to the first ECG signal segment, and extract the first ECG signal segment corresponding to the second ECG signal segment. Two eigenvectors.
  • the twin network includes a plurality of convolution layers
  • the first ECG signal segment can be normalized first
  • the normalized first ECG signal segment is passed to the first convolution layer
  • the first convolution layer performs convolution processing on the first ECG signal segment, extracts features corresponding to the first ECG signal segment, and outputs a feature map based on the extracted features.
  • the first convolutional layer inputs the feature map to the first sampling layer
  • the first sampling layer performs feature selection on the feature map, removes redundant features, reconstructs a new feature map, and passes the new feature map to the second convolutional layer.
  • the second convolutional layer performs secondary feature extraction on the new feature map, and outputs the feature map again based on the extracted features.
  • the second convolutional layer passes the re-output feature map to the second sampling layer, and the second The sampling layer performs secondary feature selection and reconstructs the feature map.
  • the first feature vector corresponding to the first ECG signal segment is obtained after the last sampling layer in the Siamese network completes its processing. This is only an exemplary description, and is not limited thereto.
  • S10233 Calculate the similarity between the first feature vector and the second feature vector to obtain the matching degree between the first ECG signal segment and the second ECG signal segment.
  • the cosine distance formula is as follows:
  • cos ⁇ represents the degree of matching, and the closer the value of cos ⁇ is to 1, the more similar the first eigenvector and the second eigenvector are, that is, the more similar the first ECG signal segment and the second ECG signal segment are;
  • A represents the first eigenvector, B represents the second eigenvector;
  • i represents the dimension corresponding to the first eigenvector and the second eigenvector, that is, i in A i represents the dimension corresponding to the first eigenvector, and i in B i represents The dimension corresponding to the second feature vector.
  • the Pearson correlation coefficient can also be used to determine the matching degree between the first ECG signal segment and the second ECG signal segment.
  • the first feature vector and the second feature vector are input into the preset formula (2) for calculation to obtain the matching degree between the first ECG signal segment and the second ECG signal segment.
  • the preset formula (2) is as follows:
  • X represents the first eigenvector
  • Y represents the second eigenvector
  • ⁇ x y represents the Pearson correlation coefficient between the first eigenvector and the second eigenvector, which can also be understood as the first eigenvector.
  • the degree of matching between the electrical signal segment and the second ECG signal segment; cov(X, Y) represents the covariance of X and Y, ⁇ X represents the standard deviation of X, and ⁇ Y represents the standard deviation of Y.
  • the values calculated by the above two formulas may be mapped to the manner represented by 1 and 0.
  • the matching degree is 1; if the calculated value is within the second preset value range, the matching degree is 0.
  • the first preset value range and the second preset value range are set by the user according to the actual situation, and can be used to assist in judging the degree of similarity between the two ECG signal segments. This is only an exemplary description, and it is not limited.
  • FIG. 5 is a schematic flowchart of a method for detecting an ECG signal provided by another embodiment of the present application.
  • the foregoing S1027 may include S10271 to S10272, and the details are as follows:
  • S10271 Extract an abnormal feature vector corresponding to the abnormal ECG signal based on the abnormal ECG signal classification module.
  • the abnormal ECG signal classification module can be obtained by training based on a Long-Short Term Memory (LSTM) artificial neural network.
  • the LSTM model contains multiple network layers, and the abnormal ECG signal contains 3 heartbeat signals as an example to illustrate.
  • the abnormal ECG signal is input into the LSTM model, the first network layer extracts the feature vector corresponding to the first heartbeat signal, and the feature vector is input into the second network layer; the second network layer extracts the second heartbeat signal The corresponding feature vector, and the feature vector corresponding to the second heart beat signal is fused with the feature vector corresponding to the first heart beat signal and transmitted to the third network layer; the third network layer extracts the feature corresponding to the third heart beat signal.
  • the above steps may be continued until all the heartbeat signals are processed. This is only an exemplary description, and it is not limited.
  • S10272 Classify the abnormal feature vector to obtain the abnormal type corresponding to the abnormal ECG signal.
  • the abnormal feature vector extracted in S10271 is passed to the output layer in the LSTM model, that is, passed to the fully connected layer.
  • the normalized exponential function (Softmax function) in the fully connected layer classifies the feature vector passed from the previous network layer to obtain the abnormal type corresponding to the abnormal ECG signal. That is, it is determined which one of atrial fibrillation, first-degree atrioventricular block, left bundle branch block and the like the abnormal electrocardiographic signal belongs to.
  • the ECG signal to be detected is processed based on a pre-trained ECG signal detection model.
  • the abnormal ECG signal screening module in the ECG signal detection model can screen out the abnormal ECG signal from the ECG signal, and determine the position of the abnormal ECG signal, and the classification module in the ECG signal detection model can detect the abnormal ECG signal.
  • the abnormal ECG signal screened by the ECG signal screening module is analyzed to obtain the abnormal type corresponding to the abnormal ECG signal.
  • the abnormal ECG signal in the ECG signal to be detected can be accurately located, which is convenient for the user to quickly and accurately find the position of the abnormal ECG signal in the whole ECG signal, and can also accurately identify the abnormal ECG signal.
  • the abnormal type of the electrical signal is convenient to assist the doctor in diagnosing the patient's disease according to the abnormal type. Based on this method, the speed and accuracy of interpreting the ECG signal are improved.
  • FIG. 6 is a schematic flowchart of a method for detecting an ECG signal provided by another embodiment of the present application.
  • the method may include S201-S207.
  • steps S206 to S207 shown in FIG. 6 reference may be made to the relevant descriptions of S101 to S102 in the embodiment corresponding to FIG. 1 , and for brevity, details are not repeated here. Steps S201 to S205 will be specifically described below.
  • S201 Obtain a first sample training set; the first sample training set includes a plurality of sample ECG signal segments.
  • the first sample training set may include multiple sample ECG signal segments.
  • sample ECG signals may include the ECG signals of normal people, and may also include the ECG signals of people with various diseases.
  • sample ECG signals are divided into multiple sample ECG signal segments, and correspondingly, multiple abnormal sample ECG signal segments and multiple normal sample ECG signal segments are obtained. For the division manner, reference may be made to the description in S1021, which will not be repeated here.
  • S202 Perform a screening process on the plurality of sample ECG signal fragments based on the initial screening network to obtain a second sample training set; the sample ECG signal fragments in the second sample training set include abnormal sample ECG signal fragments and normal samples Fragment of ECG signal.
  • the initial screening network can use a twin network.
  • the sample ECG signal fragments in the second sample training set are obtained after screening, so the obtained second sample training set is filtered out of a large number of the same ECG signal fragments, and also filtered out.
  • a large number of normal sample ECG signal fragments that is to say, although both the first sample training set and the second sample training set contain abnormal sample ECG signal segments and normal sample ECG signal segments, the abnormal sample ECG signal segments and normal sample ECG signal segments in the second sample training set
  • the number of electrical signal segments is less than the number in the first sample training set, especially the number of normal sample ECG signal segments is far less than the number of normal sample ECG signal segments in the first sample training set.
  • the specific process of using the initial screening network to screen multiple sample ECG signal fragments may be to use the initial screening network to screen multiple sample ECG signal fragments corresponding to each sample ECG signal.
  • please refer to The process of screening and processing the ECG signal by the abnormal ECG signal screening module in S102 will not be repeated here.
  • an appropriate ECG signal segment can be selected according to the number of abnormal sample ECG signal segments obtained after screening.
  • the number of normal sample ECG signal fragments can be learned.
  • S203 Label each sample ECG signal segment in the second sample training set to obtain a classification type corresponding to each sample ECG signal segment.
  • the manual labeling method is used to label each sample ECG signal segment in the second sample training set, that is, label the classification type corresponding to each sample ECG signal segment.
  • S204 Train an initial classification network based on each sample ECG signal segment in the second sample training set and the classification type corresponding to each sample ECG signal segment, and update parameters of the initial classification network based on the training result.
  • the initial classification network can use the LSTM network.
  • the LSTM network is used to classify each sample ECG signal segment, and output the actual classification type corresponding to each sample ECG signal segment.
  • the specific classification process refer to the description in S1027 above, which is not repeated here.
  • the loss value is calculated based on the actual classification type corresponding to each sample ECG signal segment output by the LSTM network and the classification type manually marked for the sample ECG signal segment. Compare the size between the loss value and the preset loss threshold, when the loss value is greater than the preset loss threshold, adjust the parameters of the LSTM network, and continue to train the LSTM network; when the loss value is less than or equal to the preset loss value When the loss threshold is reached, the training is stopped, and the LSTM network has been trained at this time. It can be understood that the LSTM network at this time is the trained abnormal ECG signal classification module.
  • the loss function corresponding to the initial classification network in the process of training the initial classification network, it may also be determined whether the loss function corresponding to the initial classification network has converged.
  • the loss function corresponding to the initial classification network does not converge, adjust the parameters of the initial classification network and continue to train the initial classification network.
  • the loss function corresponding to the initial classification network converges, it is equivalent to obtaining a trained abnormal ECG signal classification module.
  • the initial screening network has been screened for multiple sample ECG signal fragments, the network has become very stable, which is equivalent to obtaining a trained abnormal ECG signal screening module. Based on the abnormal ECG signal screening module and the abnormal ECG signal classification module, a trained ECG signal detection model is constructed.
  • the ECG signal detection model trained in the above manner includes an abnormal ECG signal screening module and an abnormal ECG signal classification module.
  • the ECG signal detection model passes the abnormal ECG signal screening module.
  • a large number of identical ECG signal segments in the ECG signal to be detected can be filtered out, and it can also be understood as filtering out a large number of normal ECG signal segments in the ECG signal to be detected (usually, abnormal ECG signals are in the whole ECG signal. Only part of it, most of them are normal ECG signals).
  • the abnormal ECG signal classification module classifies and processes the abnormal ECG signals, the workload is reduced, and the processed abnormal type is more accurate.
  • the ECG signal detection model and the abnormality type corresponding to the abnormal ECG signal may also be uploaded to the blockchain.
  • the ECG signal detection model and the abnormal type corresponding to the abnormal ECG signal are uploaded to the blockchain, which can ensure its security and fairness and transparency to users.
  • the ECG signal detection model and the abnormal type corresponding to the abnormal ECG signal are uploaded to the blockchain.
  • the blockchain referred to in this example is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm.
  • Blockchain essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information to verify its Validity of information (anti-counterfeiting) and generation of the next block.
  • the blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
  • FIG. 7 is a schematic diagram of an apparatus for detecting an ECG signal provided by an embodiment of the present application.
  • Each unit included in the apparatus is used to perform each step in the embodiment corresponding to FIG. 1 , FIG. 2 , and FIG. 4 to FIG. 6 .
  • FIG. 7 For details, please refer to the relevant descriptions in the corresponding embodiments of FIG. 1 , FIG. 2 , and FIG. 4 to FIG. 6 .
  • Figure 7 including:
  • a first acquiring unit 310 configured to acquire the ECG signal to be detected
  • the processing unit 320 is configured to input the ECG signal into the trained ECG signal detection model for processing, and obtain the position of the abnormal ECG signal in the ECG signal and the abnormal type corresponding to the abnormal ECG signal ; wherein, the ECG signal detection model includes an abnormal ECG signal screening module and an abnormal ECG signal classification module, and the abnormal ECG signal screening module is used to screen out the abnormal ECG signal from the ECG signal , and determine the position of the abnormal ECG signal, and the abnormal ECG signal classification module is used for analyzing the abnormal ECG signal to obtain the abnormal type corresponding to the abnormal ECG signal.
  • the processing unit 320 includes:
  • a dividing unit configured to divide the ECG signal into a plurality of ECG signal segments
  • a selection unit configured to select a first ECG signal segment and a second ECG signal segment from the plurality of ECG signal segments, where the first ECG signal segment is adjacent to the second ECG signal segment,
  • the first ECG signal segment is any one of the multiple ECG signal segments
  • the first screening unit is configured to input the first ECG signal segment and the second ECG signal segment into the abnormal ECG signal screening module for screening processing, and obtain the first ECG signal segment and all the ECG signal segments. matching degree between the second ECG signal segments;
  • a marking unit configured to respectively mark the first ECG signal segment and the second ECG signal segment as abnormal ECG signals when the matching degree is detected to be less than a preset threshold, and determine the first ECG signal segment the respective positions of the ECG signal segment and the second ECG signal segment in the ECG signal;
  • the second screening unit is configured to input the third ECG signal segment and the fourth ECG signal segment among the plurality of ECG signal segments into the abnormal ECG signal screening module for screening processing to obtain the third ECG signal segment degree of matching between the signal segment and the fourth ECG signal segment, the first ECG signal segment, the second ECG signal segment, the third ECG signal segment, and the fourth ECG signal segment
  • the signal segments are adjacent in sequence
  • a detection unit configured to, when it is detected that the matching degree between the third ECG signal segment and the fourth ECG signal segment is less than a preset threshold, compare the third ECG signal segment with the fourth ECG signal segment
  • the ECG signal segments are respectively marked as abnormal ECG signals, and the respective positions of the third ECG signal segment and the fourth ECG signal segment in the ECG signal are determined;
  • an analysis unit configured to analyze the abnormal ECG signal based on the abnormal ECG signal classification module to obtain an abnormal type corresponding to the abnormal ECG signal;
  • a third screening unit configured to select the first ECG signal when the matching degree between the first ECG signal segment and the second ECG signal segment is greater than or equal to the preset threshold.
  • the first screening unit is specifically used for:
  • the similarity between the first feature vector and the second feature vector is calculated to obtain the matching degree between the first ECG signal segment and the second ECG signal segment.
  • the analysis unit is specifically used for:
  • the abnormal feature vector is classified to obtain the abnormal type corresponding to the abnormal ECG signal.
  • the device further includes:
  • a second obtaining unit configured to obtain a first sample training set;
  • the first sample training set includes a plurality of sample ECG signal segments;
  • a third acquiring unit configured to perform screening processing on the plurality of sample ECG signal fragments based on the initial screening network to obtain a second sample training set; the sample ECG signal fragments in the second sample training set include abnormal sample ECGs Signal fragments and normal sample ECG signal fragments;
  • a labeling unit configured to label each sample ECG signal segment in the second sample training set to obtain a classification type corresponding to each sample ECG signal segment
  • a first training unit configured to train an initial classification network based on each sample ECG signal segment in the second sample training set and the classification type corresponding to each sample ECG signal segment, and update the initial classification network based on the training result
  • the parameters of the classification network
  • the second training unit is configured to generate the trained ECG signal detection model based on the initial classification network at this time and the initial screening network when the loss function corresponding to the initial classification network converges.
  • the device further includes:
  • the uploading unit is configured to upload the ECG signal detection model and the abnormality type corresponding to the abnormal ECG signal to the blockchain.
  • FIG. 8 is a schematic diagram of a terminal for detecting an ECG signal provided by another embodiment of the present application.
  • the terminal 4 for detecting electrocardiographic signals in this embodiment includes: a processor 40, a memory 41, and computer instructions 42 stored in the memory 41 and executable on the processor 40.
  • the processor 40 executes the computer instructions 42
  • the steps in each of the foregoing embodiments of the method for detecting an ECG signal are implemented, for example, S101 to S102 shown in FIG. 1 .
  • the processor 40 executes the computer instructions 42
  • the functions of the units in the foregoing embodiments are implemented, for example, the functions of the units 310 to 320 shown in FIG. 7 .
  • the computer instructions 42 may be divided into one or more units, and the one or more units are stored in the memory 41 and executed by the processor 40 to complete the present application.
  • the one or more units may be a series of computer instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer instruction 42 in the terminal 4 for detecting ECG signals.
  • the computer instruction 42 may be divided into a first obtaining unit and a processing unit, and the specific functions of each unit are as described above.
  • the terminal that detects the ECG signal may include, but is not limited to, the processor 40 and the memory 41 .
  • FIG. 8 is only an example of the terminal 4 for detecting ECG signals, and does not constitute a limitation on the terminal for detecting ECG signals, and may include more or less components than those shown in the figure, or a combination of certain Some components, or different components, for example, the terminal that detects the ECG signal may also include an input and output terminal, a network access terminal, a bus, and the like.
  • the so-called processor 40 may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processors, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the memory 41 may be an internal storage unit of the terminal for detecting ECG signals, such as a hard disk or memory of the terminal for detecting ECG signals.
  • the memory 41 may also be an external storage terminal of the terminal for detecting ECG signals, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, flash memory card (Flash Card), etc.
  • the memory 41 may also include both an internal storage unit of the terminal for detecting ECG signals and an external storage terminal.
  • the memory 41 is used to store the computer instructions and other programs and data required by the terminal.
  • the memory 41 can also be used to temporarily store data that has been output or will be output.
  • the present application also provides computer storage media, which can be non-volatile or volatile.
  • the computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, realizes: acquiring the ECG signal to be detected; inputting the ECG signal into the trained ECG signal detection model for processing, and obtaining The position of the abnormal ECG signal in the ECG signal and the abnormal type corresponding to the abnormal ECG signal;
  • the ECG signal detection model includes an abnormal ECG signal screening module and an abnormal ECG signal classification module, the The abnormal ECG signal screening module is used to screen out the abnormal ECG signal from the ECG signal, and determine the position of the abnormal ECG signal, and the abnormal ECG signal classification module is used to classify the abnormal ECG signal.
  • the electrical signal is analyzed to obtain the abnormal type corresponding to the abnormal ECG signal.
  • the present application also provides a computer program product, which, when the computer program product runs on a terminal, enables the terminal to implement the steps of each of the above-mentioned methods for detecting electrocardiographic signals.
  • the embodiments of the present application also provide a chip or integrated circuit, the chip or integrated circuit includes: a processor for invoking and running a computer program from a memory, so that a terminal installed with the chip or integrated circuit executes the above-mentioned various detection methods The steps of the method of an electrical signal.

Landscapes

  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Biomedical Technology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Cardiology (AREA)
  • Medical Informatics (AREA)
  • Public Health (AREA)
  • General Health & Medical Sciences (AREA)
  • Pathology (AREA)
  • Primary Health Care (AREA)
  • Epidemiology (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Biophysics (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Molecular Biology (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • Veterinary Medicine (AREA)
  • Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)

Abstract

A device and terminal for electrocardiosignal detection and a storage medium. The device comprises: a first obtaining unit, configured to obtain electrocardiosignals to be detected; and a processing unit, configured to input said electrocardiosignals into a trained electrocardiosignal detection model for processing to obtain the locations of abnormal electrocardiosignals in said electrocardiosignals and abnormal types corresponding to the abnormal electrocardiosignals. On the basis of an abnormal electrocardiosignal screening module in the electrocardiosignal detection model, the abnormal electrocardiosignals can be screened out from the electrocardiosignals, the locations of the abnormal electrocardiosignals are determined, and an abnormal electrocardiosignal classification module in the electrocardiosignal detection model can analyze the abnormal electrocardiosignals to obtain the abnormal types corresponding to the abnormal electrocardiosignals. According to the device, the abnormal electrocardiosignals in said electrocardiosignals can be accurately positioned, meanwhile, the abnormal types of the abnormal electrocardiosignals can be accurately recognized, and the electrocardiosignal reading speed and accuracy are improved. The terminal and the storage medium correspond to the device.

Description

一种检测心电信号的方法、装置、终端及存储介质A method, device, terminal and storage medium for detecting ECG signals
本申请要求于2020年12月25日在中华人民共和国国家知识产权局专利局提交的、申请号为202011560066.8、发明名称为“一种检测心电信号的方法、装置、终端及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requires the Chinese Patent Office of the State Intellectual Property Office of the People's Republic of China with the application number 202011560066.8 and the invention titled "A method, device, terminal and storage medium for detecting electrocardiographic signals" on December 25, 2020. Priority to the patent application, the entire contents of which are incorporated herein by reference.
技术领域technical field
本申请属于人工智能领域,尤其涉及一种检测心电信号的方法、装置、终端及存储介质。The present application belongs to the field of artificial intelligence, and in particular, relates to a method, device, terminal and storage medium for detecting ECG signals.
背景技术Background technique
心电信号作为反应患者生命体征的一种重要信息,已广泛用于诊断各种心脏异常中,其还可用于预测心血管疾病的发病率和死亡率等。心脏异常的早期,正确诊断可以增加成功治疗的机会。然而,人工解读心电信号费时费力,对医务人员的要求也较高。因此,基于神经网络模型自动解读心电信号非常有必要。As an important information reflecting the vital signs of patients, ECG signals have been widely used in the diagnosis of various cardiac abnormalities, and can also be used to predict the morbidity and mortality of cardiovascular diseases. Early, correct diagnosis of cardiac abnormalities can increase the chances of successful treatment. However, manual interpretation of ECG signals is time-consuming and labor-intensive, and requires higher requirements for medical personnel. Therefore, it is very necessary to automatically interpret ECG signals based on neural network models.
发明人意识到,现有的神经网络模型,不能在定位出异常心电信号位置的同时,识别出异常心电信号对应的异常类型,不利于心电信号的解读。The inventor realized that the existing neural network model cannot identify the abnormal type corresponding to the abnormal ECG signal while locating the position of the abnormal ECG signal, which is not conducive to the interpretation of the ECG signal.
技术问题technical problem
本申请实施例的目的之一在于:提供了一种检测心电信号的方法、装置、终端及存储介质,以解决现有的神经网络模型,不能在定位出异常心电信号位置的同时,识别出异常心电信号对应的异常类型,不利于心电信号的解读的技术问题。One of the purposes of the embodiments of the present application is to provide a method, device, terminal and storage medium for detecting ECG signals, so as to solve the problem that the existing neural network model cannot identify the location of abnormal ECG signals while identifying the location of abnormal ECG signals. It is a technical problem that the abnormal type corresponding to the abnormal ECG signal is found, which is not conducive to the interpretation of the ECG signal.
技术解决方案technical solutions
第一方面,本申请实施例提供了一种检测心电信号的方法,该方法包括:In a first aspect, an embodiment of the present application provides a method for detecting an ECG signal, the method comprising:
获取待检测的心电信号;Obtain the ECG signal to be detected;
将所述心电信号输入到已训练的心电信号检测模型中进行处理,得到所述心电信号中异常心电信号的位置以及所述异常心电信号对应的异常类型;Inputting the ECG signal into the trained ECG signal detection model for processing to obtain the position of the abnormal ECG signal in the ECG signal and the abnormal type corresponding to the abnormal ECG signal;
其中,所述心电信号检测模型包括异常心电信号筛选模块以及异常心电信号分类模块,所述异常心电信号筛选模块用于从所述心电信号中筛选出所述异常心电信号,并确定所述异常心电信号的位置,所述异常心电信号分类模块用于对所述异常心电信号进行分析,得到所述异常心电信号对应的异常类型。Wherein, the ECG signal detection model includes an abnormal ECG signal screening module and an abnormal ECG signal classification module, and the abnormal ECG signal screening module is used to screen out the abnormal ECG signals from the ECG signals, And determine the position of the abnormal ECG signal, and the abnormal ECG signal classification module is used for analyzing the abnormal ECG signal to obtain the abnormal type corresponding to the abnormal ECG signal.
第二方面,本申请实施例提供了一种检测心电信号的装置,该装置包括:In a second aspect, an embodiment of the present application provides a device for detecting an ECG signal, the device comprising:
第一获取单元,用于获取待检测的心电信号;a first acquisition unit, used to acquire the ECG signal to be detected;
处理单元,用于将所述心电信号输入到已训练的心电信号检测模型中进行处理,得到所述心电信号中异常心电信号的位置以及所述异常心电信号对应的异常类型;其中,所述心电信号检测模型包括异常心电信号筛选模块以及异常心电信号分类模块,所述异常心电信号筛选模块用于从所述心电信号中筛选出所述异常心电信号,并确定所述异常心电信号的位置,所述异常心电信号分类模块用于对所述异常心电信号进行分析,得到所述异常心电信号对应的异常类型。a processing unit, configured to input the ECG signal into a trained ECG signal detection model for processing, and obtain the position of the abnormal ECG signal in the ECG signal and the abnormal type corresponding to the abnormal ECG signal; Wherein, the ECG signal detection model includes an abnormal ECG signal screening module and an abnormal ECG signal classification module, and the abnormal ECG signal screening module is used to screen out the abnormal ECG signals from the ECG signals, And determine the position of the abnormal ECG signal, and the abnormal ECG signal classification module is used for analyzing the abnormal ECG signal to obtain the abnormal type corresponding to the abnormal ECG signal.
第三方面,本申请实施例提供了一种检测心电信号的终端,包括存储器、处理器以及存储在存储器中并可在处理器上运行的计算机程序,所述处理器执行计算机程序时实现:In a third aspect, an embodiment of the present application provides a terminal for detecting electrocardiographic signals, including a memory, a processor, and a computer program stored in the memory and running on the processor, where the processor implements when executing the computer program:
获取待检测的心电信号;Obtain the ECG signal to be detected;
将所述心电信号输入到已训练的心电信号检测模型中进行处理,得到所述心电信号中异常心电信号的位置以及所述异常心电信号对应的异常类型;Inputting the ECG signal into the trained ECG signal detection model for processing to obtain the position of the abnormal ECG signal in the ECG signal and the abnormal type corresponding to the abnormal ECG signal;
其中,所述心电信号检测模型包括异常心电信号筛选模块以及异常心电信号分类模块,所述异常心电信号筛选模块用于从所述心电信号中筛选出所述异常心电信号,并确定所述异常心电信号的位置,所述异常心电信号分类模块用于对所述异常心电信号进行分析,得到所述异常心电信号对应的异常类型。Wherein, the ECG signal detection model includes an abnormal ECG signal screening module and an abnormal ECG signal classification module, and the abnormal ECG signal screening module is used to screen out the abnormal ECG signals from the ECG signals, And determine the position of the abnormal ECG signal, and the abnormal ECG signal classification module is used for analyzing the abnormal ECG signal to obtain the abnormal type corresponding to the abnormal ECG signal.
第四方面,本申请实施例提供了一种计算机可读存储介质,计算机可读存储介质可以是非易失性,也可以是易失性,计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现:In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium may be non-volatile or volatile, and the computer-readable storage medium stores a computer program, the computer program Implemented when executed by the processor:
获取待检测的心电信号;Obtain the ECG signal to be detected;
将所述心电信号输入到已训练的心电信号检测模型中进行处理,得到所述心电信号中异常心电信号的位置以及所述异常心电信号对应的异常类型;Inputting the ECG signal into the trained ECG signal detection model for processing to obtain the position of the abnormal ECG signal in the ECG signal and the abnormal type corresponding to the abnormal ECG signal;
其中,所述心电信号检测模型包括异常心电信号筛选模块以及异常心电信号分类模块,所述异常心电信号筛选模块用于从所述心电信号中筛选出所述异常心电信号,并确定所述异常心电信号的位置,所述异常心电信号分类模块用于对所述异常心电信号进行分析,得到所述异常心电信号对应的异常类型。Wherein, the ECG signal detection model includes an abnormal ECG signal screening module and an abnormal ECG signal classification module, and the abnormal ECG signal screening module is used to screen out the abnormal ECG signals from the ECG signals, And determine the position of the abnormal ECG signal, and the abnormal ECG signal classification module is used for analyzing the abnormal ECG signal to obtain the abnormal type corresponding to the abnormal ECG signal.
有益效果beneficial effect
本申请实施例与现有技术相比存在的有益效果是:基于预先训练好的心电信号检测模型对待检测的心电信号进行处理。该心电信号检测模型中的异常心电信号筛选模块可以从心电信号中筛选出异常心电信号,并确定该异常心电信号的位置,该心电信号检测模型中的分类模块可以对异常心电信号筛选模块筛选出的异常心电信号进行分析,得到该异常心电信号对应的异常类型。基于该方法,不仅可以准确地对待检测的心电信号中的异常心电信号进行定位,同时还可以准确地识别出该异常心电信号的异常类型,提升了解读心电信号的速率以及准确率。Compared with the prior art, the embodiment of the present application has the beneficial effect that the ECG signal to be detected is processed based on the pre-trained ECG signal detection model. The abnormal ECG signal screening module in the ECG signal detection model can screen out the abnormal ECG signal from the ECG signal, and determine the position of the abnormal ECG signal, and the classification module in the ECG signal detection model can detect the abnormal ECG signal. The abnormal ECG signal screened by the ECG signal screening module is analyzed to obtain the abnormal type corresponding to the abnormal ECG signal. Based on this method, not only the abnormal ECG signal in the ECG signal to be detected can be accurately located, but also the abnormal type of the abnormal ECG signal can be accurately identified, and the speed and accuracy of the interpretation of the ECG signal can be improved. .
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或示范性技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings that are used in the description of the embodiments or exemplary technologies. Obviously, the drawings in the following description are only for the present application. In some embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.
图1是本申请实施例提供的一种检测心电信号的方法的示意流程图;1 is a schematic flowchart of a method for detecting an electrocardiogram signal provided by an embodiment of the present application;
图2是本申请另一实施例提供的一种检测心电信号的方法的示意流程图;FIG. 2 is a schematic flowchart of a method for detecting an ECG signal provided by another embodiment of the present application;
图3是本申请一实施例提供的心电信号划分示意图;3 is a schematic diagram of ECG signal division provided by an embodiment of the present application;
图4是本申请又一实施例提供的一种检测心电信号的方法的示意流程图;FIG. 4 is a schematic flowchart of a method for detecting an ECG signal provided by another embodiment of the present application;
图5是本申请另一实施例提供的一种检测心电信号的方法的示意流程图;5 is a schematic flowchart of a method for detecting an ECG signal provided by another embodiment of the present application;
图6是本申请又一实施例提供的一种检测心电信号的方法的示意流程图;FIG. 6 is a schematic flowchart of a method for detecting an ECG signal provided by another embodiment of the present application;
图7是本申请一实施例提供的一种检测心电信号的装置的示意图;FIG. 7 is a schematic diagram of a device for detecting an ECG signal provided by an embodiment of the present application;
图8是本申请另一实施例提供的一种检测心电信号的终端的示意图。FIG. 8 is a schematic diagram of a terminal for detecting an ECG signal provided by another embodiment of the present application.
本发明的实施方式Embodiments of the present invention
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
心电信号作为反应患者生命体征的一种重要信息,已广泛用于诊断各种心脏异常中,其还可用于预测心血管疾病的发病率和死亡率等。心脏异常的早期,正确诊断可以增加成功治疗的机会。然而,人工解读心电信号费时费力,对医务人员的要求也较高。因此,基于神经网络模型自动解读心电信号非常有必要。As an important information reflecting the vital signs of patients, ECG signals have been widely used in the diagnosis of various cardiac abnormalities, and can also be used to predict the morbidity and mortality of cardiovascular diseases. Early, correct diagnosis of cardiac abnormalities can increase the chances of successful treatment. However, manual interpretation of ECG signals is time-consuming and labor-intensive, and requires higher requirements for medical personnel. Therefore, it is very necessary to automatically interpret ECG signals based on neural network models.
然而,现有的神经网络模型在训练过程中,选取的训练样本不全面、不准确,导致训练得到的神经网络模型不能定位出异常心电信号的位置,不能准确地识别出异常心电信号对应的异常类型。However, during the training process of the existing neural network model, the selected training samples are incomplete and inaccurate, so that the neural network model obtained by training cannot locate the position of abnormal ECG signals, and cannot accurately identify the corresponding abnormal ECG signals. exception type.
有鉴于此,本申请提供了一种检测心电信号的方法,基于预先训练好的心电信号检测模型对待检测的心电信号进行处理。该心电信号检测模型中的异常心电信号筛选模块可以从心电信号中筛选出异常心电信号,并确定该异常心电信号的位置,该心电信号检测模型中的分类模块可以对异常心电信号筛选模块筛选出的异常心电信号进行分析,得到该异常心电信号对应的异常类型。基于该方法,不仅可以准确地对待检测的心电信号中的异常心电信号进行定位,同时还可以准确地识别出该异常心电信号的异常类型,提升了解读心电信号的速率以及准确率。In view of this, the present application provides a method for detecting an ECG signal, which processes the ECG signal to be detected based on a pre-trained ECG signal detection model. The abnormal ECG signal screening module in the ECG signal detection model can screen out the abnormal ECG signal from the ECG signal, and determine the position of the abnormal ECG signal, and the classification module in the ECG signal detection model can detect the abnormal ECG signal. The abnormal ECG signal screened by the ECG signal screening module is analyzed to obtain the abnormal type corresponding to the abnormal ECG signal. Based on this method, not only the abnormal ECG signal in the ECG signal to be detected can be accurately located, but also the abnormal type of the abnormal ECG signal can be accurately identified, and the speed and accuracy of the interpretation of the ECG signal can be improved. .
请参见图1,图1是本申请实施例提供的一种检测心电信号的方法的示意流程图。本实施例中检测心电信号的方法的执行主体为终端,终端包括但不限于智能手机、平板电脑、计算机、个人数字助理(Personal Digital Assistant,PDA)等移动终端,还可以包括台式电脑、服务器等终端。如图1所示的检测心电信号的方法可包括S101~S102,具体如下:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a method for detecting an ECG signal provided by an embodiment of the present application. The execution subject of the method for detecting an ECG signal in this embodiment is a terminal, and the terminal includes but is not limited to a mobile terminal such as a smart phone, a tablet computer, a computer, a Personal Digital Assistant (PDA), etc., and may also include a desktop computer, a server, etc. Wait for the terminal. The method for detecting an ECG signal as shown in FIG. 1 may include S101 to S102, and the details are as follows:
S101:获取待检测的心电信号。S101: Acquire an ECG signal to be detected.
可以完整代表心脏一次心动周期的波形图被称为一个心拍信号,该待检测的心电信号中可以包括若干个心拍信号。A waveform diagram that can completely represent one cardiac cycle of the heart is called a cardiac beat signal, and the ECG signal to be detected may include several cardiac beat signals.
当需要检测某个用户的心电信号是否有异常时,可以向检测心电信号的终端输入该用户的心电信号,即输入待检测的心电信号,检测心电信号的终端接收该待检测的心电信号。When it is necessary to detect whether the ECG signal of a certain user is abnormal, the user's ECG signal can be input to the terminal that detects the ECG signal, that is, the ECG signal to be detected is input, and the terminal that detects the ECG signal receives the ECG signal to be detected. ECG signal.
也可以是预先将待检测的心电信号存储至该终端的某个预设文件夹中,当接收到检测心电信号的指令时,在该预设文件夹中提取待检测的心电信号。The ECG signal to be detected may also be stored in a preset folder of the terminal in advance, and when an instruction to detect the ECG signal is received, the ECG signal to be detected is extracted from the preset folder.
还可以是医疗检测设备对用户的心脏进行检测后生成该待检测的心电信号,将该待检测的心电信号传输至检测心电信号的终端,该终端接收该待检测的心电信号。此处仅为示例性说明,对此不做限定。The medical detection device may also generate the ECG signal to be detected after detecting the user's heart, and transmit the ECG signal to be detected to a terminal that detects the ECG signal, and the terminal receives the ECG signal to be detected. This is only an exemplary description, and it is not limited.
S102:将所述心电信号输入到已训练的心电信号检测模型中进行处理,得到所述心电信号中异常心电信号的位置以及所述异常心电信号对应的异常类型;S102: Input the ECG signal into a trained ECG signal detection model for processing, and obtain the position of the abnormal ECG signal in the ECG signal and the abnormal type corresponding to the abnormal ECG signal;
其中,所述心电信号检测模型包括异常心电信号筛选模块以及异常心电信号分类模块,所述异常心电信号筛选模块用于从所述心电信号中筛选出所述异常心电信号,并确定所述异常心电信号的位置,所述异常心电信号分类模块用于对所述异常心电信号进行分析,得到所述异常心电信号对应的异常类型。Wherein, the ECG signal detection model includes an abnormal ECG signal screening module and an abnormal ECG signal classification module, and the abnormal ECG signal screening module is used to screen out the abnormal ECG signals from the ECG signals, And determine the position of the abnormal ECG signal, and the abnormal ECG signal classification module is used for analyzing the abnormal ECG signal to obtain the abnormal type corresponding to the abnormal ECG signal.
在本实施例中,该终端中预先存储有预先训练好的心电信号检测模型。该心电信号检测模型是使用机器学习算法,基于初始筛选网络对第一样本训练集、初始分类网络对第二样本训练集进行训练得到。可以理解的是,该心电信号检测模型可以由该终端预先训练好,也可以由其他设备预先训练好后将该心 电信号检测模型对应的文件移植至本终端中。也就是说,训练该心电信号检测模型的执行主体与使用该心电信号检测模型的执行主体可以是相同的,也可以是不同的。In this embodiment, a pre-trained ECG signal detection model is pre-stored in the terminal. The ECG signal detection model is obtained by using a machine learning algorithm to train the first sample training set based on the initial screening network and the second sample training set based on the initial classification network. It can be understood that the ECG signal detection model can be pre-trained by the terminal, or the file corresponding to the ECG signal detection model can be transplanted to the terminal after being pre-trained by other devices. That is to say, the executive body that trains the ECG signal detection model and the executive body that uses the ECG signal detection model may be the same or different.
示例性地,已训练的心电信号检测模型可以包括异常心电信号筛选模块以及异常心电信号分类模块。其中,异常心电信号筛选模块是基于初始筛选网络对第一样本训练集进行训练得到的。该异常心电信号筛选模块对待检测的心电信号进行筛选处理,筛选出该待检测的心电信号中的异常心电信号,并可确定该异常心电信号的位置。值得说明的是,当待检测的心电信号中没有异常心电信号时,该异常心电信号筛选模块检测不到异常心电信号就会输出空值。可理解为当待检测的心电信号中没有异常心电信号时,已训练的心电信号检测模型输出为空。Exemplarily, the trained ECG signal detection model may include an abnormal ECG signal screening module and an abnormal ECG signal classification module. The abnormal ECG signal screening module is obtained by training the first sample training set based on the initial screening network. The abnormal electrocardiographic signal screening module performs screening processing on the electrocardiographic signal to be detected, screens out the abnormal electrocardiographic signal in the electrocardiographic signal to be detected, and can determine the position of the abnormal electrocardiographic signal. It should be noted that, when there is no abnormal ECG signal in the ECG signal to be detected, the abnormal ECG signal screening module will output a null value if the abnormal ECG signal cannot be detected. It can be understood that when there is no abnormal ECG signal in the ECG signal to be detected, the output of the trained ECG signal detection model is empty.
异常心电信号分类模块是基于初始分类网络对第二样本训练集进行训练得到的。该异常心电信号分类模块对异常心电信号筛选模块筛选得到的异常心电信号进行分析,得到异常心电信号对应的异常类型。The abnormal ECG signal classification module is obtained by training the second sample training set based on the initial classification network. The abnormal ECG signal classification module analyzes the abnormal ECG signals screened by the abnormal ECG signal screening module, and obtains the abnormal type corresponding to the abnormal ECG signals.
其中,异常类型是指该异常心电信号所属的种类。例如,异常类型可以包括房颤、一度房室传导阻滞、左束支阻滞、右束支阻滞、房性早搏、室性早搏、ST段和T波异常(ST-T变)、P波异常、QRS波异常、QRS波和ST—T显著改变、心律失常等。该异常类型可用于辅助医生判断用户的疾病情况,例如,该用户的异常心电信号对应的异常类型为P波异常,根据往常经验可判断该用户大概率心房肥大;该用户的异常心电信号对应的异常类型为ST-T变,根据往常经验可判断该用户心肌缺血。此处仅为示例性说明,对此不做限定。Wherein, the abnormal type refers to the type to which the abnormal ECG signal belongs. For example, abnormal types may include atrial fibrillation, first-degree AV block, left bundle branch block, right bundle branch block, premature atrial contractions, premature ventricular contractions, ST segment and T wave abnormalities (ST-T changes), P Wave abnormalities, abnormal QRS complexes, significant changes in QRS complexes and ST-T, and arrhythmias. The abnormality type can be used to assist the doctor in judging the user's disease. For example, the abnormality type corresponding to the abnormal ECG signal of the user is P-wave abnormality. According to previous experience, it can be judged that the user has a high probability of atrial hypertrophy; the abnormal ECG signal of the user is abnormal. The corresponding abnormal type is ST-T change, and the user's myocardial ischemia can be judged according to the usual experience. This is only an exemplary description, and it is not limited.
值得说明的是,当待检测的心电信号中没有异常心电信号,异常心电信号筛选模块检测不到异常心电信号就会输出空值,相应地,此时该异常心电信号分类模块没有可处理的异常心电信号,也会输出空值。最终体现为已训练的心电信号检测模型输出为空。It is worth noting that when there is no abnormal ECG signal in the ECG signal to be detected, the abnormal ECG signal screening module will output a null value if it cannot detect the abnormal ECG signal. Accordingly, the abnormal ECG signal classification module will output a null value at this time. If there is no abnormal ECG signal that can be processed, a null value will also be output. It is finally reflected that the output of the trained ECG signal detection model is empty.
请参见图2,图2是本申请另一实施例提供的一种检测心电信号的方法的示意流程图。可选地,在一种可能的实现方式中,如图2所示,上述S102可以包括S1021~S1028,具体如下:Please refer to FIG. 2. FIG. 2 is a schematic flowchart of a method for detecting an ECG signal provided by another embodiment of the present application. Optionally, in a possible implementation manner, as shown in FIG. 2 , the foregoing S102 may include S1021 to S1028, and the details are as follows:
S1021:将所述心电信号划分为多个心电信号片段。S1021: Divide the ECG signal into a plurality of ECG signal segments.
将心电信号按顺序划分为多个长度一样的心电信号片段。例如,按照待检测的心电信号中各个心拍信号的原始顺序,每隔2个心拍信号或者每隔3个心拍信号进行一次划分,得到多个心电信号片段,每个心电信号片段中包含2个心拍信号或者3个心拍信号。此处仅为示例性说明,对此不做限定。Divide the ECG signal into a plurality of ECG signal segments with the same length in sequence. For example, according to the original order of each heartbeat signal in the ECG signal to be detected, every second heartbeat signal or every third heartbeat signal is divided to obtain a plurality of ECG signal segments, and each ECG signal segment contains 2 heartbeat signals or 3 heartbeat signals. This is only an exemplary description, and it is not limited.
请参见图3,图3是本申请一实施例提供的心电信号划分示意图。图3仅示出心电信号中的某个片段,如图3所示,每个矩形框框选中的心电信号片段表示划分好的心电信号片段,共有四个心电信号片段,第一个心电信号片段包含3个心拍信,第二个心电信号、第三个心电信号、第三个心电信号各包含2个心拍信号。此图仅为示例性说明,对此不做限定。Please refer to FIG. 3 , which is a schematic diagram of ECG signal division provided by an embodiment of the present application. Figure 3 only shows a certain segment of the ECG signal. As shown in Figure 3, the ECG signal segment selected by each rectangular frame represents the divided ECG signal segment. There are four ECG signal segments. The ECG signal segment contains 3 heartbeat signals, and the second ECG signal, the third ECG signal, and the third ECG signal each contain 2 heartbeat signals. This figure is only an exemplary illustration, which is not limited.
S1022:在所述多个心电信号片段中选取第一心电信号片段和第二心电信号片段,所述第一心电信号片段与所述第二心电信号片段相邻,所述第一心电信号片段为所述多个心电信号片段中的任意一个。S1022: Select a first ECG signal segment and a second ECG signal segment from the plurality of ECG signal segments, the first ECG signal segment is adjacent to the second ECG signal segment, and the first ECG signal segment is adjacent to the second ECG signal segment. An ECG signal segment is any one of the plurality of ECG signal segments.
第一心电信号片段指划分得到的多个心电信号片段中的任意一个心电信号片段,第二心电信号片段指与该第一心电信号片段相邻的心电信号片段。通常按照划分时的顺序在多个心电信号片段中选取第一心电信号片段,选取与该第一心电信号片段相邻的下一个心电信号片段作为第二心电信号片段。The first ECG signal segment refers to any one ECG signal segment among the divided multiple ECG signal segments, and the second ECG signal segment refers to an ECG signal segment adjacent to the first ECG signal segment. Usually, a first ECG signal segment is selected from a plurality of ECG signal segments according to the order of division, and the next ECG signal segment adjacent to the first ECG signal segment is selected as the second ECG signal segment.
示例性地,如图3所示的四个心电信号片段,选择左边第一个为第一心电信号片段,与其相邻的下一个心电信号片段即为第二心电信号片段。若选择第三个为第一心电信号片段,与其相邻的最后一个心电信号片段即为第二心电信号片段。此图仅为示例性说明,对此不做限定。Exemplarily, for the four ECG signal segments shown in FIG. 3 , the first ECG signal segment on the left is selected as the first ECG signal segment, and the next ECG signal segment adjacent to it is the second ECG signal segment. If the third ECG signal segment is selected as the first ECG signal segment, the last ECG signal segment adjacent to it is the second ECG signal segment. This figure is only an exemplary illustration, which is not limited.
S1023:将所述第一心电信号片段和所述第二心电信号片段输入所述异常心电信号筛选模块中进行筛选处理,得到所述第一心电信号片段和所述第二心电信号片段之间的匹配度。S1023: Input the first ECG signal segment and the second ECG signal segment into the abnormal ECG signal screening module for screening processing to obtain the first ECG signal segment and the second ECG signal segment The degree of matching between signal fragments.
匹配度可以理解为相似度,即两个心电信号片段之间的相似程度。在本实施例中,即为确定第一心电信号片段和第二心电信号片段之间的相似程度。The degree of matching can be understood as the degree of similarity, that is, the degree of similarity between two ECG signal segments. In this embodiment, it is to determine the degree of similarity between the first ECG signal segment and the second ECG signal segment.
示例性地,匹配度可以用1和0表示,其中,1表示两个心电信号片段匹配度高,0表示两个心电信号片段匹配度低。将第一心电信号片段和第二心电信号片段输入异常心电信号筛选模块中进行筛选处理,当异常心电信号筛选模块输出1时,表示第一心电信号片段和第二心电信号片段之间匹配度高;当异常心电信号筛选模块输出0时,表示第一心电信号片段和第二心电信号片段之间匹配度低。Exemplarily, the matching degree may be represented by 1 and 0, wherein 1 indicates that the two electrocardiographic signal segments have a high degree of matching, and 0 represents that the two electrocardiographic signal segments have a low matching degree. Input the first ECG signal segment and the second ECG signal segment into the abnormal ECG signal screening module for screening processing. When the abnormal ECG signal screening module outputs 1, it indicates the first ECG signal segment and the second ECG signal. The matching degree between the segments is high; when the abnormal ECG signal screening module outputs 0, it indicates that the matching degree between the first ECG signal segment and the second ECG signal segment is low.
可选地,在一种可能的实现方式中,也可以用具体的数值、百分比等表示匹配度,例如匹配度可以为95、90、80、30、95%、60%、等。此处仅为示例性说明,对此不做限定。Optionally, in a possible implementation manner, the matching degree may also be represented by a specific numerical value, percentage, etc., for example, the matching degree may be 95, 90, 80, 30, 95%, 60%, and so on. This is only an exemplary description, and it is not limited.
比较匹配度与预设阈值的大小,当匹配度小于预设阈值时,执行S1024~S1027,当匹配度大于或等于预设阈值时,执行S1028。Comparing the matching degree with the preset threshold, when the matching degree is less than the preset threshold, execute S1024-S1027, and when the matching degree is greater than or equal to the preset threshold, execute S1028.
S1024:当检测到所述匹配度小于预设阈值时,将所述第一心电信号片段和所述第二心电信号片段分别标记为异常心电信号,并确定所述第一心电信号片段和所述第二心电信号片段分别在所述心电信号中的位置。S1024: When it is detected that the matching degree is less than a preset threshold, mark the first ECG signal segment and the second ECG signal segment as abnormal ECG signals respectively, and determine the first ECG signal the position of the segment and the second ECG signal segment in the ECG signal, respectively.
预设阈值用于与匹配度做比较,比较结果用于辅助判断是否将第一心电信号片段、第二心电信号片段标记为异常心电信号。当匹配度的表现形式不同时,预设阈值也可相应地进行调整。The preset threshold is used for comparison with the matching degree, and the comparison result is used to assist in determining whether to mark the first ECG signal segment and the second ECG signal segment as abnormal ECG signals. When the expressions of the matching degree are different, the preset threshold can also be adjusted accordingly.
示例性地,当匹配度用1和0表示时,预设阈值可以设置为1。例如,第一心电信号片段和第二心电信号片段之间的匹配度为0,此时检测到该匹配度0小于预设阈值1,证明第一心电信号片段和第二心电信号片段匹配度低,即相似程度低,可以理解为第一心电信号片段和第二心电信号片段是两个差异较大的心电信号片段,大概率为异常心电信号片段,因此将第一心电信号片段和第二心电信号片段分别标记为异常心电信号。Exemplarily, when the matching degree is represented by 1 and 0, the preset threshold may be set to 1. For example, the matching degree between the first ECG signal segment and the second ECG signal segment is 0. At this time, it is detected that the matching degree 0 is less than the preset threshold value 1, which proves that the first ECG signal segment and the second ECG signal are The segment matching degree is low, that is, the similarity degree is low. It can be understood that the first ECG signal segment and the second ECG signal segment are two ECG signal segments with large differences, which are likely to be abnormal ECG signal segments. The first ECG signal segment and the second ECG signal segment are respectively marked as abnormal ECG signals.
在将第一心电信号片段和第二心电信号片段分别标记为异常心电信号的同时,获取第一心电信号片段和第二心电信号片段分别在整个待检测的心电信号中的位置,即获取第一心电信号片段和第二心电信号片段分别在整个待检测的心电信号中的坐标。可选地,也可以用第几个片段的描述进行表示位置或坐标,例如,第一心电信号片段在整个待检测的心电信号中的位置是第一个心电信号片段,第二心电信号片段在整个待检测的心电信号中的位置是第二个心电信号片段。此处仅为示例性说明,对此不做限定。While the first ECG signal segment and the second ECG signal segment are respectively marked as abnormal ECG signals, the respective differences between the first ECG signal segment and the second ECG signal segment in the entire ECG signal to be detected are acquired. The position is to obtain the coordinates of the first ECG signal segment and the second ECG signal segment in the entire ECG signal to be detected, respectively. Optionally, the position or coordinates can also be represented by the description of the number of segments. For example, the position of the first ECG signal segment in the entire ECG signal to be detected is the first ECG signal segment, the second ECG signal segment The position of the electrical signal segment in the entire ECG signal to be detected is the second ECG signal segment. This is only an exemplary description, and it is not limited.
可选地,可将标记为异常心电信号的心电信号片段进行矩形框标记,例如,用不同于心电信号颜色的矩形框将标记为异常心电信号的第一心电信号片段和第二心电信号片段进行框选,便于医生直接查看待检测的心电信号中哪些是异常心电信号。Optionally, the ECG signal segment marked as abnormal ECG signal can be marked with a rectangular frame, for example, the first ECG signal segment and the first ECG signal segment marked as abnormal ECG signal can be marked with a rectangular frame different from the color of the ECG signal. The second ECG signal segment is framed, so that the doctor can directly check which of the ECG signals to be detected are abnormal ECG signals.
S1025:将多个心电信号片段中的第三心电信号片段和第四心电信号片段输入所述异常心电信号筛选模块中进行筛选处理,得到所述第三心电信号片段和所述第四心电信号片段之间的匹配度,所述第一心电信号片段、所述第二心电信号片段、所述第三心电信号片段以及所述第四心电信号片段依次相邻。S1025: Input the third ECG signal segment and the fourth ECG signal segment from the multiple ECG signal segments into the abnormal ECG signal screening module for screening processing, to obtain the third ECG signal segment and the ECG signal segment. Matching degree between fourth ECG signal segments, the first ECG signal segment, the second ECG signal segment, the third ECG signal segment, and the fourth ECG signal segment are adjacent in sequence .
第二心电信号片段相邻的下一个心电信号片段为第三心电信号片段,与第三心电信号片段相邻的下一个心电信号片段为第四心电信号片段。即第一心电信号片段、第二心电信号片段、第三心电信号片段以及第四心电信号片段依次相邻。The next ECG signal segment adjacent to the second ECG signal segment is the third ECG signal segment, and the next ECG signal segment adjacent to the third ECG signal segment is the fourth ECG signal segment. That is, the first ECG signal segment, the second ECG signal segment, the third ECG signal segment, and the fourth ECG signal segment are adjacent in sequence.
示例性地,如图3所示的四个心电信号片段,从左到右依次是第一心电信号片段、第二心电信号片段、第三心电信号片段以及第四心电信号片段。S1023和S1024中对第一心电信号片段和第二心电信号片段进行了处理,接下来对第三心电信号片段和第四心电信号片段进行处理。具体地,将第三心电信号片段和第四心电信号片段输入异常心电信号筛选模块中进行筛选处理,得到第三心电信号片段和第四心电信号片段之间的匹配度。当检测到该匹配度小于预设阈值时,将第三心电信号片段和第四心电信号片段分别标记为异常心电信号,并确定第三心电信号片段和第四心电信号片段分别在心电信号中的位置。当检测到该匹配度大于或等于预设阈值时,将第三心电信号片段或第四心电信号片段保留,并将保留的心电信号片段与第五心电信号片段输入异常心电信号筛选模块中进行筛选处理,第四心电信号片段与第五心电信号片段相邻。以此为循环,直至待检测的心电信号对应的多个心电信号片段均处理完成。可以理解的是,第一心电信号片段、第二心电信号片段、第三心电信号片段以及第四心电信号片段均是用于指代需要被处理的多个心电信号片段中的某个心电信号片段,是为了更清楚的说明本方案,而不是限定必须是第一个心电信号片段、第二个心电信号片段等。Exemplarily, as shown in FIG. 3, the four ECG signal segments are, from left to right, the first ECG signal segment, the second ECG signal segment, the third ECG signal segment, and the fourth ECG signal segment . In S1023 and S1024, the first ECG signal segment and the second ECG signal segment are processed, and then the third ECG signal segment and the fourth ECG signal segment are processed. Specifically, the third ECG signal segment and the fourth ECG signal segment are input into the abnormal ECG signal screening module for screening processing to obtain the matching degree between the third ECG signal segment and the fourth ECG signal segment. When it is detected that the matching degree is less than the preset threshold, the third ECG signal segment and the fourth ECG signal segment are respectively marked as abnormal ECG signals, and it is determined that the third ECG signal segment and the fourth ECG signal segment are respectively position in the ECG signal. When it is detected that the matching degree is greater than or equal to the preset threshold, the third ECG signal segment or the fourth ECG signal segment is retained, and the retained ECG signal segment and the fifth ECG signal segment are input to the abnormal ECG signal The screening process is performed in the screening module, and the fourth ECG signal segment is adjacent to the fifth ECG signal segment. This cycle is used until the processing of multiple ECG signal segments corresponding to the ECG signal to be detected is completed. It can be understood that the first ECG signal segment, the second ECG signal segment, the third ECG signal segment, and the fourth ECG signal segment are all used to refer to multiple ECG signal segments that need to be processed. A certain ECG signal segment is for the purpose of explaining the solution more clearly, rather than restricting that it must be the first ECG signal segment, the second ECG signal segment, and so on.
S1026:当检测到所述第三心电信号片段和所述第四心电信号片段之间的匹配度小于预设阈值时,将所述第三心电信号片段和所述第四心电信号片段分别标记为异常心电信号,并确定所述第三心电信号片段和所述第四心电信号片段分别在所述心电信号中的位置。S1026: When it is detected that the matching degree between the third ECG signal segment and the fourth ECG signal segment is less than a preset threshold, compare the third ECG signal segment and the fourth ECG signal segment The segments are respectively marked as abnormal ECG signals, and the respective positions of the third ECG signal segment and the fourth ECG signal segment in the ECG signal are determined.
示例性地,当匹配度用1和0表示时,预设阈值可以设置为1。例如,第三心电信号片段和第四心电信号片段之间的匹配度为0,此时检测到该匹配度0小于预设阈值1,证明第三心电信号片段和第四心电信号片段匹配度低,即相似程度低,可以理解为第三心电信号片段和第四心电信号片段是两个差异较大的心电信号片段,大概率为异常心电信号片段,因此将第三心电信号片段和第四心电信号片段分别标记为异常心电信号。Exemplarily, when the matching degree is represented by 1 and 0, the preset threshold may be set to 1. For example, the matching degree between the third ECG signal segment and the fourth ECG signal segment is 0. At this time, it is detected that the matching degree 0 is less than the preset threshold value 1, which proves that the third ECG signal segment and the fourth ECG signal are The segment matching degree is low, that is, the similarity degree is low. It can be understood that the third ECG signal segment and the fourth ECG signal segment are two ECG signal segments with large differences, which are probably abnormal ECG signal segments. The third ECG signal segment and the fourth ECG signal segment are respectively marked as abnormal ECG signals.
在将第三心电信号片段和第四心电信号片段分别标记为异常心电信号的同时,获取第三心电信号片段和第四心电信号片段分别在整个待检测的心电信号中的位置,即获取第三心电信号片段和第四心电信号片段分别在整个待检测的心电信号中的坐标。可选地,也可以用第几个片段的描述进行表示位置或坐标,例如,第三心电信号片段在整个待检测的心电信号中的位置是第三个心电信号片段,第四心电信号片段在整个待检测的心电信号中的位置是第四个心电信号片段。此处仅为示例性说明,对此不做限定。While marking the third ECG signal segment and the fourth ECG signal segment as abnormal ECG signals, respectively, obtain the difference between the third ECG signal segment and the fourth ECG signal segment in the entire ECG signal to be detected. The position is to obtain the coordinates of the third ECG signal segment and the fourth ECG signal segment in the entire ECG signal to be detected, respectively. Optionally, the position or coordinates can also be represented by the description of the number of segments. For example, the location of the third ECG signal segment in the entire ECG signal to be detected is the third ECG signal segment, and the fourth ECG signal segment. The position of the electrical signal segment in the entire ECG signal to be detected is the fourth ECG signal segment. This is only an exemplary description, and it is not limited.
可选地,可将标记为异常心电信号的心电信号片段进行矩形框标记,例如,用不同于心电信号颜色的矩形框将标记为异常心电信号的第三心电信号片段和第四心电信号片段进行框选,便于医生直接查看待检测的心电信号中哪些是异常心电信号。Optionally, the ECG signal segment marked as abnormal ECG signal may be marked with a rectangular frame, for example, the third ECG signal segment and the first ECG signal segment marked as abnormal ECG signal may be marked with a rectangular frame different from the color of the ECG signal. The four ECG signal segments are framed, so that the doctor can directly check which of the ECG signals to be detected are abnormal ECG signals.
S1027:基于所述异常心电信号分类模块对所述异常心电信号进行分析,得到所述异常心电信号对应的异常类型。S1027: Analyze the abnormal electrocardiographic signal based on the abnormal electrocardiographic signal classification module to obtain an abnormality type corresponding to the abnormal electrocardiographic signal.
基于所述异常心电信号分类模块对所述异常心电信号进行分析,得到所述异常心电信号对应的异常类型。The abnormal ECG signal is analyzed based on the abnormal ECG signal classification module to obtain the abnormal type corresponding to the abnormal ECG signal.
通过异常心电信号分类模块对标记为异常心电信号的心电信号片段进行分析,得到每个异常心电信号对应的异常类型。例如,可通过异常心电信号分类模块提取异常心电信号的特征向量,对该特征向量进行分类,得到该异常心电信号对应的异常类型。The ECG signal segments marked as abnormal ECG signals are analyzed by the abnormal ECG signal classification module, and the abnormal type corresponding to each abnormal ECG signal is obtained. For example, a feature vector of an abnormal electrocardiogram signal can be extracted by an abnormal electrocardiogram signal classification module, and the feature vector can be classified to obtain an abnormality type corresponding to the abnormal electrocardiogram signal.
可选地,当匹配度大于或等于预设阈值时,执行S1028。Optionally, when the matching degree is greater than or equal to the preset threshold, perform S1028.
S1028:当检测到所述第一心电信号片段和所述第二心电信号片段之间的匹配度大于或等于所述预设阈值时,将所述第一心电信号片段或所述第二心电信号片段保留,并将保留的心电信号片段与第三心电信号片段输入所述异常心电信号筛选模块中进行筛选处理,得到所述保留的心电信号片段和所述第三心电信号片段之间的匹配度。S1028: When it is detected that the degree of matching between the first ECG signal segment and the second ECG signal segment is greater than or equal to the preset threshold, put the first ECG signal segment or the second ECG signal segment The second ECG signal segment is retained, and the retained ECG signal segment and the third ECG signal segment are input into the abnormal ECG signal screening module for screening processing, and the retained ECG signal segment and the third ECG signal segment are obtained. The degree of matching between ECG signal segments.
示例性地,当匹配度用1和0表示时,预设阈值可以设置为1。例如,第一心电信号片段和第二心电信号片段之间的匹配度为1,此时检测到该匹配度1等于预设阈值1,证明第一心电信号片段和第二心电信号片段匹配度高,即相似程度高,可以理解为第一心电信号片段和第二心电信号片段是两个差异很小的心电信号片段,大概率为正常心电信号片段,因此将第一心电信号片段或第二心电信号片段保留,保留下来的这个心电信号片段用于与第三心电信号片段继续进行筛选处理,得到保留的心电信号片段和第三心电信号片段之间的匹配度,未被保留的那个心电信号片段可以被剔除。得到保留的心电信号片段和第三心电信号片段之间的匹配度之后,比较匹配度与预设阈值的大小,当保留的心电信号片段和第三心电信号片段之间的匹配度小于预设阈值时,将保留的心电信号片段和第三心电信号片段分别标记为异常心电信号,并确定保留的心电信号片段和第三心电信号片段分别在心电信号中的位置。当保留的心电信号片段和第三心电信号片段之间的匹配度大于或等于预设阈值时,将保留的心电信号片段或第三心电信号片段保留,并将此时保留的心电信号片段与第四心电信号片段输入异常心电信号筛选模块中进行筛选处理,得到此时保留的心电信号片段与第四心电信号片段之间的匹配度。一直循环此过程,直至多个心电信号片段中的所有心电信号片段都筛选完成。此处仅为示例性说明,对此不做限定。Exemplarily, when the matching degree is represented by 1 and 0, the preset threshold may be set to 1. For example, the matching degree between the first ECG signal segment and the second ECG signal segment is 1, and it is detected that the matching degree 1 is equal to the preset threshold 1, which proves that the first ECG signal segment and the second ECG signal segment The segment matching degree is high, that is, the similarity degree is high. It can be understood that the first ECG signal segment and the second ECG signal segment are two ECG signal segments with small differences, which are probably normal ECG signal segments. One ECG signal segment or the second ECG signal segment is retained, and the retained ECG signal segment is used to continue the screening process with the third ECG signal segment to obtain the retained ECG signal segment and the third ECG signal segment The matching degree between them, the ECG signal segment that is not retained can be eliminated. After obtaining the matching degree between the retained ECG signal segment and the third ECG signal segment, compare the matching degree with the preset threshold value, when the matching degree between the retained ECG signal segment and the third ECG signal segment is When the value is less than the preset threshold, the reserved ECG signal segment and the third ECG signal segment are respectively marked as abnormal ECG signals, and the respective positions of the retained ECG signal segment and the third ECG signal segment in the ECG signal are determined. . When the matching degree between the retained ECG signal segment and the third ECG signal segment is greater than or equal to the preset threshold, the retained ECG signal segment or the third ECG signal segment is retained, and the ECG signal segment retained at this time is The electrical signal fragment and the fourth electrocardiographic signal fragment are input into the abnormal electrocardiographic signal screening module for screening processing to obtain the matching degree between the remaining electrocardiographic signal fragment and the fourth electrocardiographic signal fragment. This process is repeated until all the ECG signal segments in the plurality of ECG signal segments are screened. This is only an exemplary description, and it is not limited.
例如,将第一心电信号片段保留,并将第一心电信号片段与第三心电信号片段输入异常心电信号筛选模块中进行筛选处理,得到第一心电信号片段和第三心电信号片段之间的匹配度,之后循环执行上述步骤,直至待检测的心电信号对应的多个心电信号片段均处理完成。For example, the first ECG signal segment is retained, and the first ECG signal segment and the third ECG signal segment are input into the abnormal ECG signal screening module for screening processing to obtain the first ECG signal segment and the third ECG signal segment. The degree of matching between the signal segments is determined, and then the above steps are performed cyclically until the processing of the multiple ECG signal segments corresponding to the ECG signal to be detected is completed.
或者,将第二心电信号片段保留,并将第二心电信号片段与第三心电信号片段输入异常心电信号筛选模块中进行筛选处理,得到第二心电信号片段和第三心电信号片段之间的匹配度,之后循环执行上述步骤,直至待检测的心电信号对应的多个心电信号片段均处理完成。Alternatively, the second ECG signal segment is retained, and the second ECG signal segment and the third ECG signal segment are input into the abnormal ECG signal screening module for screening processing to obtain the second ECG signal segment and the third ECG signal segment. The degree of matching between the signal segments is determined, and then the above steps are performed cyclically until the processing of the multiple ECG signal segments corresponding to the ECG signal to be detected is completed.
采用该方法可过滤掉大量相同的心电信号片段,一方面减少了后续心电信号检测模型对异常心电信号进行分类的工作量,一方面使分类的结果整准确。Using this method can filter out a large number of identical ECG signal segments, on the one hand, the workload of the subsequent ECG signal detection model for classifying abnormal ECG signals is reduced, and on the other hand, the classification results are made accurate.
请参见图4,图4是本申请又一实施例提供的一种检测心电信号的方法的示意流程图。可选地,在一种可能的实现方式中,如图4所示,上述S1023可以包括S10231~S10233,具体如下:Please refer to FIG. 4. FIG. 4 is a schematic flowchart of a method for detecting an ECG signal provided by another embodiment of the present application. Optionally, in a possible implementation manner, as shown in FIG. 4 , the foregoing S1023 may include S10231 to S10233, and the details are as follows:
S10231:基于所述异常心电信号筛选模块提取所述第一心电信号片段对应的第一特征向量。S10231: Extract a first feature vector corresponding to the first ECG signal segment based on the abnormal ECG signal screening module.
该异常心电信号筛选模块可以基于孪生网络训练得到。孪生网络实际由两个并行并且所有参数共享、结构一致的网络实现的,对该孪生网络采用的网络结构不作限定。可以是VGG-16结构、Resnet-50结构和Resnet-101结构等。孪生网络中两个并行的网络分别对第一心电信号片段和第二心电信号片段处理,提取第一心电信号片段对应的第一特征向量,以及提取第二心电信号片段对应的第二特征向量。The abnormal ECG signal screening module can be obtained by training based on the twin network. The twin network is actually implemented by two parallel networks with all parameters shared and the same structure, and the network structure adopted by the twin network is not limited. It can be VGG-16 structure, Resnet-50 structure and Resnet-101 structure, etc. The two parallel networks in the twin network process the first ECG signal segment and the second ECG signal segment respectively, extract the first feature vector corresponding to the first ECG signal segment, and extract the first ECG signal segment corresponding to the second ECG signal segment. Two eigenvectors.
在本实施例中,孪生网络包含多个卷积层,可先对第一心电信号片段进行归一化处理,将归一化处理后的第一心电信号片段传递至第一个卷积层,第一个卷积层对该第一心电信号片段进行卷积处理,提取该第一心电信号片段对应的特征,并基于提取的特征输出特征图。第一卷积层将特征图输入至第一个采样层,第一个采样层对特征图进行特征选择,去除多余特征,重构新的特征图,并将新的特征图传递至第二个卷积层。第二个卷积层对新的特征图进行二次特征提取,并基于提取的特征再次输出特征图,第二个卷积层将再次输出的特征图传递至第二个采样层,第二个采样层进行二次特征选择,重构特征图。以此类推,直至孪生网络中的最后一个采样层对其处理完成后,得到第一心电信号片段对应的第一特征向量。此处仅为示例性说明,对此不做限定。In this embodiment, the twin network includes a plurality of convolution layers, the first ECG signal segment can be normalized first, and the normalized first ECG signal segment is passed to the first convolution layer, the first convolution layer performs convolution processing on the first ECG signal segment, extracts features corresponding to the first ECG signal segment, and outputs a feature map based on the extracted features. The first convolutional layer inputs the feature map to the first sampling layer, the first sampling layer performs feature selection on the feature map, removes redundant features, reconstructs a new feature map, and passes the new feature map to the second convolutional layer. The second convolutional layer performs secondary feature extraction on the new feature map, and outputs the feature map again based on the extracted features. The second convolutional layer passes the re-output feature map to the second sampling layer, and the second The sampling layer performs secondary feature selection and reconstructs the feature map. By analogy, the first feature vector corresponding to the first ECG signal segment is obtained after the last sampling layer in the Siamese network completes its processing. This is only an exemplary description, and is not limited thereto.
S10232:基于所述异常心电信号筛选模块提取所述第二心电信号片段对应的第二特征向量;S10232: Extract the second feature vector corresponding to the second ECG signal segment based on the abnormal ECG signal screening module;
异常心电信号筛选模块提取第二心电信号片段对应的第二特征向量的具体过程,可参考S10231中异常心电信号筛选模块提取第一心电信号片段对应的第一特征向量的具体过程,此处不再赘述。For the specific process of extracting the second eigenvector corresponding to the second ECG signal segment by the abnormal ECG signal screening module, please refer to the specific process of extracting the first eigenvector corresponding to the first ECG signal segment by the abnormal ECG signal screening module in S10231, It will not be repeated here.
S10233:计算所述第一特征向量与所述第二特征向量之间的相似度,得到所述第一心电信号片段和所述第二心电信号片段之间的匹配度。S10233: Calculate the similarity between the first feature vector and the second feature vector to obtain the matching degree between the first ECG signal segment and the second ECG signal segment.
将第一特征向量与第二特征向量输入余弦距离公式进行计算,得到的值即为第一心电信号片段和第二心电信号片段之间的匹配度,余弦距离公式如下:Input the first eigenvector and the second eigenvector into the cosine distance formula for calculation, and the obtained value is the matching degree between the first ECG signal segment and the second ECG signal segment. The cosine distance formula is as follows:
Figure PCTCN2021097285-appb-000001
Figure PCTCN2021097285-appb-000001
上述公式(1)中,cosθ表示匹配度,cosθ的值越接近1,表明第一特征向量与第二特征向量越相似,即第一心电信号片段和第二心电信号片段越相似;A表示第一特征向量,B表示第二特征向量;i表示第一特征向量与第二特征向量各自对应的维度,即A i中的i表示第一特征向量对应的维度,B i中的i表示第二特征向量对应的维度。 In the above formula (1), cosθ represents the degree of matching, and the closer the value of cosθ is to 1, the more similar the first eigenvector and the second eigenvector are, that is, the more similar the first ECG signal segment and the second ECG signal segment are; A represents the first eigenvector, B represents the second eigenvector; i represents the dimension corresponding to the first eigenvector and the second eigenvector, that is, i in A i represents the dimension corresponding to the first eigenvector, and i in B i represents The dimension corresponding to the second feature vector.
可选地,也可用皮尔逊相关系数确定第一心电信号片段和第二心电信号片段之间的匹配度。将第一特征向量与第二特征向量输入预设公式(2)进行计算,得到第一心电信号片段和第二心电信号片段之间的匹配度。预设公式(2)如下:Optionally, the Pearson correlation coefficient can also be used to determine the matching degree between the first ECG signal segment and the second ECG signal segment. The first feature vector and the second feature vector are input into the preset formula (2) for calculation to obtain the matching degree between the first ECG signal segment and the second ECG signal segment. The preset formula (2) is as follows:
Figure PCTCN2021097285-appb-000002
Figure PCTCN2021097285-appb-000002
上述公式(2)中,X表示第一特征向量,Y表示第二特征向量,ρ x,y表示第一特征向量与第二特征向量之间的皮尔逊相关系数,也可理解为第一心电信号片段和第二心电信号片段之间的匹配度;cov(X,Y)表示X、Y的协方差,σ X表示X的标准差,σ Y表示Y的标准差。 In the above formula (2), X represents the first eigenvector, Y represents the second eigenvector, ρ x, y represents the Pearson correlation coefficient between the first eigenvector and the second eigenvector, which can also be understood as the first eigenvector. The degree of matching between the electrical signal segment and the second ECG signal segment; cov(X, Y) represents the covariance of X and Y, σ X represents the standard deviation of X, and σ Y represents the standard deviation of Y.
可选地,在一种可能的实现方式中,当匹配度用1和0表示时,可将通过上述两个公式计算得到的数值映射为用1和0表示的方式。例如,计算得到的数值在第一预设数值范围内,则匹配度为1;计算得到的数值在第二预设数值范围内,则匹配度为0。其中,第一预设数值范围和第二预设数值范围由 用户根据实际情况进行设置,可用于辅助判断两个心电信号片段之间的相似程度。此处仅为示例性说明,对此不做限定。Optionally, in a possible implementation manner, when the matching degree is represented by 1 and 0, the values calculated by the above two formulas may be mapped to the manner represented by 1 and 0. For example, if the calculated value is within the first preset value range, the matching degree is 1; if the calculated value is within the second preset value range, the matching degree is 0. The first preset value range and the second preset value range are set by the user according to the actual situation, and can be used to assist in judging the degree of similarity between the two ECG signal segments. This is only an exemplary description, and it is not limited.
请参见图5,图5是本申请另一实施例提供的一种检测心电信号的方法的示意流程图。可选地,在一种可能的实现方式中,如图5所示,上述S1027可以包括S10271~S10272,具体如下:Please refer to FIG. 5. FIG. 5 is a schematic flowchart of a method for detecting an ECG signal provided by another embodiment of the present application. Optionally, in a possible implementation manner, as shown in FIG. 5 , the foregoing S1027 may include S10271 to S10272, and the details are as follows:
S10271:基于所述异常心电信号分类模块提取所述异常心电信号对应的异常特征向量。S10271: Extract an abnormal feature vector corresponding to the abnormal ECG signal based on the abnormal ECG signal classification module.
该异常心电信号分类模块可以基于长短期记忆人工神经网络(Long-Short Term Memory,LSTM)训练得到。LSTM模型中包含多个网络层,以异常心电信号中包含3个心拍信号为例进行说明。将该异常心电信号输入LSTM模型中,第一个网络层提取第1个心拍信号对应的特征向量,并将该特征向量输入第二个网络层;第二个网络层提取第2个心拍信号对应的特征向量,并将第2个心拍信号对应的特征向量与第1个心拍信号对应的特征向量融合后传递至第3个网络层;第三个网络层提取第3个心拍信号对应的特征向量,并将第3个心拍信号对应的特征向与第二个网络层输出的特征向量进行融合,得到该异常心电信号对应的异常特征向量。可以理解的是,当异常心电信号包含多个心拍信号时,可继续执行上述步骤,直至所有的心拍信号处理完成。此处仅为示例性说明,对此不做限定。The abnormal ECG signal classification module can be obtained by training based on a Long-Short Term Memory (LSTM) artificial neural network. The LSTM model contains multiple network layers, and the abnormal ECG signal contains 3 heartbeat signals as an example to illustrate. The abnormal ECG signal is input into the LSTM model, the first network layer extracts the feature vector corresponding to the first heartbeat signal, and the feature vector is input into the second network layer; the second network layer extracts the second heartbeat signal The corresponding feature vector, and the feature vector corresponding to the second heart beat signal is fused with the feature vector corresponding to the first heart beat signal and transmitted to the third network layer; the third network layer extracts the feature corresponding to the third heart beat signal. vector, and fuse the feature vector corresponding to the third heartbeat signal with the feature vector output by the second network layer to obtain the abnormal feature vector corresponding to the abnormal ECG signal. It can be understood that, when the abnormal ECG signal contains multiple heartbeat signals, the above steps may be continued until all the heartbeat signals are processed. This is only an exemplary description, and it is not limited.
S10272:对所述异常特征向量进行分类,得到所述异常心电信号对应的异常类型。S10272: Classify the abnormal feature vector to obtain the abnormal type corresponding to the abnormal ECG signal.
将S10271中提取到的异常特征向量传递至LSTM模型中的输出层,即传递至全连接层。全连接层中的归一化指数函数(Softmax函数)对前一个网络层传递过来的特征向量进行分类,得到异常心电信号对应的异常类型。即判断出该异常心电信号是属于房颤、一度房室传导阻滞、左束支阻滞等中的哪一种。The abnormal feature vector extracted in S10271 is passed to the output layer in the LSTM model, that is, passed to the fully connected layer. The normalized exponential function (Softmax function) in the fully connected layer classifies the feature vector passed from the previous network layer to obtain the abnormal type corresponding to the abnormal ECG signal. That is, it is determined which one of atrial fibrillation, first-degree atrioventricular block, left bundle branch block and the like the abnormal electrocardiographic signal belongs to.
本申请实施例,基于预先训练好的心电信号检测模型对待检测的心电信号进行处理。该心电信号检测模型中的异常心电信号筛选模块可以从心电信号中筛选出异常心电信号,并确定该异常心电信号的位置,该心电信号检测模型中的分类模块可以对异常心电信号筛选模块筛选出的异常心电信号进行分析,得到该异常心电信号对应的异常类型。基于该方法,可以准确地对待检测的心电信号中的异常心电信号进行定位,便于用户快速准确地找到异常心电信号在整个心电信号中的位置,还可以准确地识别出该异常心电信号的异常类型,便于辅助医生根据该异常类型对病人的疾病进行诊断,基于该方法提升了解读心电信号的速率以及准确率。In this embodiment of the present application, the ECG signal to be detected is processed based on a pre-trained ECG signal detection model. The abnormal ECG signal screening module in the ECG signal detection model can screen out the abnormal ECG signal from the ECG signal, and determine the position of the abnormal ECG signal, and the classification module in the ECG signal detection model can detect the abnormal ECG signal. The abnormal ECG signal screened by the ECG signal screening module is analyzed to obtain the abnormal type corresponding to the abnormal ECG signal. Based on this method, the abnormal ECG signal in the ECG signal to be detected can be accurately located, which is convenient for the user to quickly and accurately find the position of the abnormal ECG signal in the whole ECG signal, and can also accurately identify the abnormal ECG signal. The abnormal type of the electrical signal is convenient to assist the doctor in diagnosing the patient's disease according to the abnormal type. Based on this method, the speed and accuracy of interpreting the ECG signal are improved.
请参见图6,图6是本申请又一实施例提供的一种检测心电信号的方法的示意流程图。该方法可以包括S201~S207。其中,图6所示的步骤S206~S207可以参考图1对应的实施例中S101~S102的相关描述,为了简洁,这里不再赘述。下面将具体对步骤S201~S205进行说明。Please refer to FIG. 6. FIG. 6 is a schematic flowchart of a method for detecting an ECG signal provided by another embodiment of the present application. The method may include S201-S207. For steps S206 to S207 shown in FIG. 6 , reference may be made to the relevant descriptions of S101 to S102 in the embodiment corresponding to FIG. 1 , and for brevity, details are not repeated here. Steps S201 to S205 will be specifically described below.
S201:获取第一样本训练集;所述第一样本训练集包括多个样本心电信号片段。S201: Obtain a first sample training set; the first sample training set includes a plurality of sample ECG signal segments.
第一样本训练集中可以包括多个样本心电信号片段。示例性地,可以预先在网络上或者医院等收集大量不同用户的样本心电信号,这些样本心电信号中可以包括正常人的心电信号,也可以包括有各种疾病的人的心电信号。将这些样本心电信号划分为多个样本心电信号片段,相应地会得到多个异常样本心电信号片段以及多个正常样本心电信号片段。划分方式可参考S1021中的描述,此处不再赘述。The first sample training set may include multiple sample ECG signal segments. Exemplarily, a large number of sample ECG signals of different users may be collected in advance on the network or in hospitals, etc. These sample ECG signals may include the ECG signals of normal people, and may also include the ECG signals of people with various diseases. . These sample ECG signals are divided into multiple sample ECG signal segments, and correspondingly, multiple abnormal sample ECG signal segments and multiple normal sample ECG signal segments are obtained. For the division manner, reference may be made to the description in S1021, which will not be repeated here.
S202:基于初始筛选网络对所述多个样本心电信号片段进行筛选处理,得到第二样本训练集;所述第二样本训练集中的样本心电信号片段包括异常样本心电信号片段以及正常样本心电信号片段。S202: Perform a screening process on the plurality of sample ECG signal fragments based on the initial screening network to obtain a second sample training set; the sample ECG signal fragments in the second sample training set include abnormal sample ECG signal fragments and normal samples Fragment of ECG signal.
初始筛选网络可以采用孪生网络,第二样本训练集中的样本心电信号片段是经过筛选后得到的,因此得到的第二样本训练集被过滤掉了大量相同的心电信号片段,也过滤掉了大量正常样本心电信号片段。也就是说,虽然第一样本训练集与第二样本训练集中都包含异常样本心电信号片段以及正常样本心电信号片段,但第二样本训练集中的异常样本心电信号片段以及正常样本心电信号片段数量要少于第一样本训练集中的数量,尤其是正常样本心电信号片段要远少于第一样本训练集中的正常样本心电信号片段数量。The initial screening network can use a twin network. The sample ECG signal fragments in the second sample training set are obtained after screening, so the obtained second sample training set is filtered out of a large number of the same ECG signal fragments, and also filtered out. A large number of normal sample ECG signal fragments. That is to say, although both the first sample training set and the second sample training set contain abnormal sample ECG signal segments and normal sample ECG signal segments, the abnormal sample ECG signal segments and normal sample ECG signal segments in the second sample training set The number of electrical signal segments is less than the number in the first sample training set, especially the number of normal sample ECG signal segments is far less than the number of normal sample ECG signal segments in the first sample training set.
采用该初始筛选网络对多个样本心电信号片段进行筛选处理的具体过程,可以是通过初始筛选网络对每个样本心电信号对应的多个样本心电信号片段进行筛选处理,具体地可参考S102中异常心电信号筛选模块对心电信号进行筛选处理的过程,此处不再赘述。The specific process of using the initial screening network to screen multiple sample ECG signal fragments may be to use the initial screening network to screen multiple sample ECG signal fragments corresponding to each sample ECG signal. For details, please refer to The process of screening and processing the ECG signal by the abnormal ECG signal screening module in S102 will not be repeated here.
可选地,在一种可能的实现方式中,为了保证异常样本心电信号片段以及正常样本心电信号片段的数量均衡,可以根据筛选处理后得到的异常样本心电信号片段的数量选择合适的正常样本心电信号片段的数量。这样在训练心电信号检测模型时,使该模型学习到各种类型的特征,进而可以使训练得到的心电信号检测模型分类结果更准确。Optionally, in a possible implementation manner, in order to ensure that the number of abnormal sample ECG signal segments and normal sample ECG signal segments is balanced, an appropriate ECG signal segment can be selected according to the number of abnormal sample ECG signal segments obtained after screening. The number of normal sample ECG signal fragments. In this way, when the ECG signal detection model is trained, the model can learn various types of features, thereby making the classification result of the ECG signal detection model obtained by training more accurate.
S203:对所述第二样本训练集中的每个样本心电信号片段进行标注,得到每个样本心电信号片段对应的分类类型。S203: Label each sample ECG signal segment in the second sample training set to obtain a classification type corresponding to each sample ECG signal segment.
采用人工标注的方式对第二样本训练集中的每个样本心电信号片段进行标注,即标注每个样本心电信号片段对应的分类类型。The manual labeling method is used to label each sample ECG signal segment in the second sample training set, that is, label the classification type corresponding to each sample ECG signal segment.
S204:基于所述第二样本训练集中的每个样本心电信号片段以及每个样本心电信号片段对应的分类类型对初始分类网络进行训练,并基于训练结果更新所述初始分类网络的参数。S204: Train an initial classification network based on each sample ECG signal segment in the second sample training set and the classification type corresponding to each sample ECG signal segment, and update parameters of the initial classification network based on the training result.
初始分类网络可以采用LSTM网络。示例性地,采用该LSTM网络对每个样本心电信号片段进行分类处理,输出每个样本心电信号片段对应的实际分类类型。具体的分类过程参考上面S1027中的描述,此处不再赘述。The initial classification network can use the LSTM network. Exemplarily, the LSTM network is used to classify each sample ECG signal segment, and output the actual classification type corresponding to each sample ECG signal segment. For the specific classification process, refer to the description in S1027 above, which is not repeated here.
基于该LSTM网络输出的每样本心电信号片段对应的实际分类类型,以及人工对该样本心电信号片段标注的分类类型计算损失值。比较该损失值与预设损失阈值之间的大小,当该损失值大于预设损失阈值时,调整该LSTM网络的参数,并继续对该LSTM网络进行训练;当该损失值小于或等于预设损失阈值时,停止训练,此时的LSTM网络已经训练完成。可以理解为此时的LSTM网络即为训练好的异常心电信号分类模块。The loss value is calculated based on the actual classification type corresponding to each sample ECG signal segment output by the LSTM network and the classification type manually marked for the sample ECG signal segment. Compare the size between the loss value and the preset loss threshold, when the loss value is greater than the preset loss threshold, adjust the parameters of the LSTM network, and continue to train the LSTM network; when the loss value is less than or equal to the preset loss value When the loss threshold is reached, the training is stopped, and the LSTM network has been trained at this time. It can be understood that the LSTM network at this time is the trained abnormal ECG signal classification module.
S205:当所述初始分类网络对应的损失函数收敛时,基于此时的初始分类网络以及所述初始筛选网络生成所述已训练的心电信号检测模型。S205: When the loss function corresponding to the initial classification network converges, generate the trained ECG signal detection model based on the initial classification network at this time and the initial screening network.
可选地,在一种可能的实现方式中,在对初始分类网络训练的过程中,也可判断初始分类网络对应的损失函数是否收敛。当初始分类网络对应的损失函数未收敛时,调整初始分类网络的参数,继续对初始分类网络进行训练。当初始分类网络对应的损失函数收敛时,相当于得到了训练好的异常心电信号分类模块。初始筛选网络在经过对多个样本心电信号片段进行筛选处理后,该网络已经很稳定,相当于得到了训练好的异常心电信号筛选模块。基于异常心电信号筛选模块和异常心电信号分类模块构建生成已训练的心电信号检测模型。Optionally, in a possible implementation manner, in the process of training the initial classification network, it may also be determined whether the loss function corresponding to the initial classification network has converged. When the loss function corresponding to the initial classification network does not converge, adjust the parameters of the initial classification network and continue to train the initial classification network. When the loss function corresponding to the initial classification network converges, it is equivalent to obtaining a trained abnormal ECG signal classification module. After the initial screening network has been screened for multiple sample ECG signal fragments, the network has become very stable, which is equivalent to obtaining a trained abnormal ECG signal screening module. Based on the abnormal ECG signal screening module and the abnormal ECG signal classification module, a trained ECG signal detection model is constructed.
本申请实施例中,通过上述方式训练得到的心电信号检测模型包括异常心电信号筛选模块和异常心电信号分类模块,该心电信号检测模型在使用过程中,通过异常心电信号筛选模块可以过滤掉待检测的心电信号中大量相同的心电信号片段,也可以理解为过滤掉待检测的心电信号中大量正常的心电信号片段(通常,异常心电信号在整个心电信号中只占部分,大多数都是正常心电信号)。使得异常心电信号分类模块对异常心电信号进行分类处理时,减少了工作量,处理得到的异常类型更准确。In the embodiment of the present application, the ECG signal detection model trained in the above manner includes an abnormal ECG signal screening module and an abnormal ECG signal classification module. During use, the ECG signal detection model passes the abnormal ECG signal screening module. A large number of identical ECG signal segments in the ECG signal to be detected can be filtered out, and it can also be understood as filtering out a large number of normal ECG signal segments in the ECG signal to be detected (usually, abnormal ECG signals are in the whole ECG signal. Only part of it, most of them are normal ECG signals). When the abnormal ECG signal classification module classifies and processes the abnormal ECG signals, the workload is reduced, and the processed abnormal type is more accurate.
可选地,在一种可能的实现方式中,还可将心电信号检测模型以及异常心电信号对应的异常类型上传至区块链中。Optionally, in a possible implementation manner, the ECG signal detection model and the abnormality type corresponding to the abnormal ECG signal may also be uploaded to the blockchain.
在本实施例中,将心电信号检测模型以及异常心电信号对应的异常类型上传至区块链中,可保证其安全性和对用户的公正透明性。且将心电信号检测模型以及异常心电信号对应的异常类型上传至区块链中,借助区块链上文件无法随意篡改的特性,能够避免心电信号检测模型以及异常心电信号对应的异常类型被恶意篡改,便于后续用户可直接准确地获取到异常心电信号对应的异常类型,也便于后续用户使用该心电信号检测模型。In this embodiment, the ECG signal detection model and the abnormal type corresponding to the abnormal ECG signal are uploaded to the blockchain, which can ensure its security and fairness and transparency to users. In addition, the ECG signal detection model and the abnormal type corresponding to the abnormal ECG signal are uploaded to the blockchain. With the feature that the files on the blockchain cannot be tampered with at will, the abnormal ECG signal detection model and the abnormal ECG signal can be avoided. The type is maliciously tampered with, so that the subsequent user can directly and accurately obtain the abnormal type corresponding to the abnormal ECG signal, and it is also convenient for the subsequent user to use the ECG signal detection model.
本示例所指区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。区块链可以包括区块链底层平台、平台产品服务层以及应用服务层等。The blockchain referred to in this example is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain, essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information to verify its Validity of information (anti-counterfeiting) and generation of the next block. The blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
请参见图7,图7是本申请一实施例提供的一种检测心电信号的装置的示意图。该装置包括的各单元用于执行图1、图2、图4~图6对应的实施例中的各步骤。具体请参阅图1、图2、图4~图6各自对应的实施例中的相关描述。为了便于说明,仅示出了与本实施例相关的部分。参见图7,包括:Please refer to FIG. 7 . FIG. 7 is a schematic diagram of an apparatus for detecting an ECG signal provided by an embodiment of the present application. Each unit included in the apparatus is used to perform each step in the embodiment corresponding to FIG. 1 , FIG. 2 , and FIG. 4 to FIG. 6 . For details, please refer to the relevant descriptions in the corresponding embodiments of FIG. 1 , FIG. 2 , and FIG. 4 to FIG. 6 . For convenience of description, only the parts related to this embodiment are shown. See Figure 7, including:
第一获取单元310,用于获取待检测的心电信号;a first acquiring unit 310, configured to acquire the ECG signal to be detected;
处理单元320,用于将所述心电信号输入到已训练的心电信号检测模型中进行处理,得到所述心电信号中异常心电信号的位置以及所述异常心电信号对应的异常类型;其中,所述心电信号检测模型包括异常心电信号筛选模块以及异常心电信号分类模块,所述异常心电信号筛选模块用于从所述心电信号中筛选出所述异常心电信号,并确定所述异常心电信号的位置,所述异常心电信号分类模块用于对所述异常心电信号进行分析,得到所述异常心电信号对应的异常类型。The processing unit 320 is configured to input the ECG signal into the trained ECG signal detection model for processing, and obtain the position of the abnormal ECG signal in the ECG signal and the abnormal type corresponding to the abnormal ECG signal ; wherein, the ECG signal detection model includes an abnormal ECG signal screening module and an abnormal ECG signal classification module, and the abnormal ECG signal screening module is used to screen out the abnormal ECG signal from the ECG signal , and determine the position of the abnormal ECG signal, and the abnormal ECG signal classification module is used for analyzing the abnormal ECG signal to obtain the abnormal type corresponding to the abnormal ECG signal.
可选地,所述处理单元320包括:Optionally, the processing unit 320 includes:
划分单元,用于将所述心电信号划分为多个心电信号片段;a dividing unit, configured to divide the ECG signal into a plurality of ECG signal segments;
选择单元,用于在所述多个心电信号片段中选取第一心电信号片段和第二心电信号片段,所述第一心电信号片段与所述第二心电信号片段相邻,所述第一心电信号片段为所述多个心电信号片段中的任意一个;a selection unit, configured to select a first ECG signal segment and a second ECG signal segment from the plurality of ECG signal segments, where the first ECG signal segment is adjacent to the second ECG signal segment, The first ECG signal segment is any one of the multiple ECG signal segments;
第一筛选单元,用于将所述第一心电信号片段和所述第二心电信号片段输入所述异常心电信号筛选模块中进行筛选处理,得到所述第一心电信号片段和所述第二心电信号片段之间的匹配度;The first screening unit is configured to input the first ECG signal segment and the second ECG signal segment into the abnormal ECG signal screening module for screening processing, and obtain the first ECG signal segment and all the ECG signal segments. matching degree between the second ECG signal segments;
标记单元,用于当检测到所述匹配度小于预设阈值时,将所述第一心电信号片段和所述第二心电信号片段分别标记为异常心电信号,并确定所述第一心电信号片段和所述第二心电信号片段分别在所述心电信号中的位置;a marking unit, configured to respectively mark the first ECG signal segment and the second ECG signal segment as abnormal ECG signals when the matching degree is detected to be less than a preset threshold, and determine the first ECG signal segment the respective positions of the ECG signal segment and the second ECG signal segment in the ECG signal;
第二筛选单元,用于将多个心电信号片段中的第三心电信号片段和第四心电信号片段输入所述异常心电信号筛选模块中进行筛选处理,得到所述第三心电信号片段和所述第四心电信号片段之间的匹配度,所述第一心电信号片段、所述第二心电信号片段、所述第三心电信号片段以及所述第四心电信号片段依次相邻;The second screening unit is configured to input the third ECG signal segment and the fourth ECG signal segment among the plurality of ECG signal segments into the abnormal ECG signal screening module for screening processing to obtain the third ECG signal segment degree of matching between the signal segment and the fourth ECG signal segment, the first ECG signal segment, the second ECG signal segment, the third ECG signal segment, and the fourth ECG signal segment The signal segments are adjacent in sequence;
检测单元,用于当检测到所述第三心电信号片段和所述第四心电信号片段之间的匹配度小于预设阈值时,将所述第三心电信号片段和所述第四心电信号片段分别标记为异常心电信号,并确定所述第三心电信号片段和所述第四心电信号片段分别在所述心电信号中的位置;A detection unit, configured to, when it is detected that the matching degree between the third ECG signal segment and the fourth ECG signal segment is less than a preset threshold, compare the third ECG signal segment with the fourth ECG signal segment The ECG signal segments are respectively marked as abnormal ECG signals, and the respective positions of the third ECG signal segment and the fourth ECG signal segment in the ECG signal are determined;
分析单元,用于基于所述异常心电信号分类模块对所述异常心电信号进行分析,得到所述异常心电信号对应的异常类型;an analysis unit, configured to analyze the abnormal ECG signal based on the abnormal ECG signal classification module to obtain an abnormal type corresponding to the abnormal ECG signal;
第三筛选单元,用于当检测到所述第一心电信号片段和所述第二心电信号片段之间的匹配度大于或等于所述预设阈值时,将所述第一心电信号片段或所述第二心电信号片段保留,并将保留的心电信号片段与第三心电信号片段输入所述异常心电信号筛选模块中进行筛选处理,得到所述保留的心电信号片段和所述第三心电信号片段之间的匹配度。a third screening unit, configured to select the first ECG signal when the matching degree between the first ECG signal segment and the second ECG signal segment is greater than or equal to the preset threshold The segment or the second ECG signal segment is retained, and the retained ECG signal segment and the third ECG signal segment are input into the abnormal ECG signal screening module for screening processing to obtain the retained ECG signal segment and the degree of matching between the third ECG signal segment.
可选地,所述第一筛选单元具体用于:Optionally, the first screening unit is specifically used for:
基于所述异常心电信号筛选模块提取所述第一心电信号片段对应的第一特征向量;Extract the first feature vector corresponding to the first ECG signal segment based on the abnormal ECG signal screening module;
基于所述异常心电信号筛选模块提取所述第二心电信号片段对应的第二特征向量;Extract the second feature vector corresponding to the second ECG signal segment based on the abnormal ECG signal screening module;
计算所述第一特征向量与所述第二特征向量之间的相似度,得到所述第一心电信号片段和所述第二心电信号片段之间的匹配度。The similarity between the first feature vector and the second feature vector is calculated to obtain the matching degree between the first ECG signal segment and the second ECG signal segment.
可选地,所述分析单元具体用于:Optionally, the analysis unit is specifically used for:
基于所述异常心电信号分类模块提取所述异常心电信号对应的异常特征向量;Extract the abnormal feature vector corresponding to the abnormal ECG signal based on the abnormal ECG signal classification module;
对所述异常特征向量进行分类,得到所述异常心电信号对应的异常类型。The abnormal feature vector is classified to obtain the abnormal type corresponding to the abnormal ECG signal.
可选地,所述装置还包括:Optionally, the device further includes:
第二获取单元,用于获取第一样本训练集;所述第一样本训练集包括多个样本心电信号片段;a second obtaining unit, configured to obtain a first sample training set; the first sample training set includes a plurality of sample ECG signal segments;
第三获取单元,用于基于初始筛选网络对所述多个样本心电信号片段进行筛选处理,得到第二样本训练集;所述第二样本训练集中的样本心电信号片段包括异常样本心电信号片段以及正常样本心电信号片段;A third acquiring unit, configured to perform screening processing on the plurality of sample ECG signal fragments based on the initial screening network to obtain a second sample training set; the sample ECG signal fragments in the second sample training set include abnormal sample ECGs Signal fragments and normal sample ECG signal fragments;
标注单元,用于对所述第二样本训练集中的每个样本心电信号片段进行标注,得到每个样本心电信号片段对应的分类类型;a labeling unit, configured to label each sample ECG signal segment in the second sample training set to obtain a classification type corresponding to each sample ECG signal segment;
第一训练单元,用于基于所述第二样本训练集中的每个样本心电信号片段以及每个样本心电信号片段对应的分类类型对初始分类网络进行训练,并基于训练结果更新所述初始分类网络的参数;A first training unit, configured to train an initial classification network based on each sample ECG signal segment in the second sample training set and the classification type corresponding to each sample ECG signal segment, and update the initial classification network based on the training result The parameters of the classification network;
第二训练单元,用于当所述初始分类网络对应的损失函数收敛时,基于此时的初始分类网络以及所述初始筛选网络生成所述已训练的心电信号检测模型。The second training unit is configured to generate the trained ECG signal detection model based on the initial classification network at this time and the initial screening network when the loss function corresponding to the initial classification network converges.
可选地,所述装置还包括:Optionally, the device further includes:
上传单元,用于将所述心电信号检测模型以及所述异常心电信号对应的异常类型上传至区块链中。The uploading unit is configured to upload the ECG signal detection model and the abnormality type corresponding to the abnormal ECG signal to the blockchain.
请参见图8,图8是本申请另一实施例提供的一种检测心电信号的终端的示意图。如图8所示,该实施例的检测心电信号的终端4包括:处理器40、存储器41以及存储在所述存储器41中并可在所述 处理器40上运行的计算机指令42。所述处理器40执行所述计算机指令42时实现上述各个检测心电信号的方法实施例中的步骤,例如图1所示的S101至S102。或者,所述处理器40执行所述计算机指令42时实现上述各实施例中各单元的功能,例如图7所示单元310至320功能。Please refer to FIG. 8. FIG. 8 is a schematic diagram of a terminal for detecting an ECG signal provided by another embodiment of the present application. As shown in FIG. 8 , the terminal 4 for detecting electrocardiographic signals in this embodiment includes: a processor 40, a memory 41, and computer instructions 42 stored in the memory 41 and executable on the processor 40. When the processor 40 executes the computer instructions 42 , the steps in each of the foregoing embodiments of the method for detecting an ECG signal are implemented, for example, S101 to S102 shown in FIG. 1 . Alternatively, when the processor 40 executes the computer instructions 42, the functions of the units in the foregoing embodiments are implemented, for example, the functions of the units 310 to 320 shown in FIG. 7 .
示例性地,所述计算机指令42可以被分割成一个或多个单元,所述一个或者多个单元被存储在所述存储器41中,并由所述处理器40执行,以完成本申请。所述一个或多个单元可以是能够完成特定功能的一系列计算机指令段,该指令段用于描述所述计算机指令42在所述检测心电信号的终端4中的执行过程。例如,所述计算机指令42可以被分割为第一获取单元以及处理单元,各单元具体功能如上所述。Illustratively, the computer instructions 42 may be divided into one or more units, and the one or more units are stored in the memory 41 and executed by the processor 40 to complete the present application. The one or more units may be a series of computer instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer instruction 42 in the terminal 4 for detecting ECG signals. For example, the computer instruction 42 may be divided into a first obtaining unit and a processing unit, and the specific functions of each unit are as described above.
所述检测心电信号的终端可包括,但不仅限于,处理器40、存储器41。本领域技术人员可以理解,图8仅仅是检测心电信号的终端4的示例,并不构成对检测心电信号的终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述检测心电信号的终端还可以包括输入输出终端、网络接入终端、总线等。The terminal that detects the ECG signal may include, but is not limited to, the processor 40 and the memory 41 . Those skilled in the art can understand that FIG. 8 is only an example of the terminal 4 for detecting ECG signals, and does not constitute a limitation on the terminal for detecting ECG signals, and may include more or less components than those shown in the figure, or a combination of certain Some components, or different components, for example, the terminal that detects the ECG signal may also include an input and output terminal, a network access terminal, a bus, and the like.
所称处理器40可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called processor 40 may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processors, digital signal processors (Digital Signal Processors, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
所述存储器41可以是所述检测心电信号的终端的内部存储单元,例如检测心电信号的终端的硬盘或内存。所述存储器41也可以是所述检测心电信号的终端的外部存储终端,例如所述检测心电信号的终端上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器41还可以既包括所述检测心电信号的终端的内部存储单元也包括外部存储终端。所述存储器41用于存储所述计算机指令以及所述终端所需的其他程序和数据。所述存储器41还可以用于暂时地存储已经输出或者将要输出的数据。The memory 41 may be an internal storage unit of the terminal for detecting ECG signals, such as a hard disk or memory of the terminal for detecting ECG signals. The memory 41 may also be an external storage terminal of the terminal for detecting ECG signals, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, flash memory card (Flash Card), etc. Further, the memory 41 may also include both an internal storage unit of the terminal for detecting ECG signals and an external storage terminal. The memory 41 is used to store the computer instructions and other programs and data required by the terminal. The memory 41 can also be used to temporarily store data that has been output or will be output.
本申请还提供了计算机存储介质,该计算机可读存储介质可以是非易失性,也可以是易失性。该计算机可读存储介质存储有计算机程序,该计算机程序被处理器执行时实现:获取待检测的心电信号;将所述心电信号输入到已训练的心电信号检测模型中进行处理,得到所述心电信号中异常心电信号的位置以及所述异常心电信号对应的异常类型;其中,所述心电信号检测模型包括异常心电信号筛选模块以及异常心电信号分类模块,所述异常心电信号筛选模块用于从所述心电信号中筛选出所述异常心电信号,并确定所述异常心电信号的位置,所述异常心电信号分类模块用于对所述异常心电信号进行分析,得到所述异常心电信号对应的异常类型。The present application also provides computer storage media, which can be non-volatile or volatile. The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, realizes: acquiring the ECG signal to be detected; inputting the ECG signal into the trained ECG signal detection model for processing, and obtaining The position of the abnormal ECG signal in the ECG signal and the abnormal type corresponding to the abnormal ECG signal; wherein, the ECG signal detection model includes an abnormal ECG signal screening module and an abnormal ECG signal classification module, the The abnormal ECG signal screening module is used to screen out the abnormal ECG signal from the ECG signal, and determine the position of the abnormal ECG signal, and the abnormal ECG signal classification module is used to classify the abnormal ECG signal. The electrical signal is analyzed to obtain the abnormal type corresponding to the abnormal ECG signal.
本申请还提供了一种计算机程序产品,当计算机程序产品在终端上运行时,使得该终端执行时实现上述各个检测心电信号的方法的步骤。The present application also provides a computer program product, which, when the computer program product runs on a terminal, enables the terminal to implement the steps of each of the above-mentioned methods for detecting electrocardiographic signals.
本申请实施例还提供了一种芯片或者集成电路,该芯片或者集成电路包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有该芯片或者集成电路的终端执行上述各个检测心电信号的方法的步骤。The embodiments of the present application also provide a chip or integrated circuit, the chip or integrated circuit includes: a processor for invoking and running a computer program from a memory, so that a terminal installed with the chip or integrated circuit executes the above-mentioned various detection methods The steps of the method of an electrical signal.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the above-mentioned embodiments, those of ordinary skill in the art should understand that: it can still be used for the above-mentioned implementations. The technical solutions recorded in the examples are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit scope of the technical solutions in the embodiments of the application, and should be included in the present application. within the scope of protection of the application.

Claims (20)

  1. 一种检测心电信号的方法,其中,包括:A method for detecting ECG signals, comprising:
    获取待检测的心电信号;Obtain the ECG signal to be detected;
    将所述心电信号输入到已训练的心电信号检测模型中进行处理,得到所述心电信号中异常心电信号的位置以及所述异常心电信号对应的异常类型;Inputting the ECG signal into the trained ECG signal detection model for processing to obtain the position of the abnormal ECG signal in the ECG signal and the abnormal type corresponding to the abnormal ECG signal;
    其中,所述心电信号检测模型包括异常心电信号筛选模块以及异常心电信号分类模块,所述异常心电信号筛选模块用于从所述心电信号中筛选出所述异常心电信号,并确定所述异常心电信号的位置,所述异常心电信号分类模块用于对所述异常心电信号进行分析,得到所述异常心电信号对应的异常类型。Wherein, the ECG signal detection model includes an abnormal ECG signal screening module and an abnormal ECG signal classification module, and the abnormal ECG signal screening module is used to screen out the abnormal ECG signals from the ECG signals, And determine the position of the abnormal ECG signal, and the abnormal ECG signal classification module is used for analyzing the abnormal ECG signal to obtain the abnormal type corresponding to the abnormal ECG signal.
  2. 如权利要求1所述的方法,其中,所述将所述心电信号输入到已训练的心电信号检测模型中进行处理,得到所述心电信号中异常心电信号的位置以及所述异常心电信号对应的异常类型,包括:The method according to claim 1, wherein the ECG signal is input into a trained ECG signal detection model for processing to obtain the location of the abnormal ECG signal and the abnormality in the ECG signal. Abnormal types corresponding to ECG signals, including:
    将所述心电信号划分为多个心电信号片段;dividing the ECG signal into a plurality of ECG signal segments;
    在所述多个心电信号片段中选取第一心电信号片段和第二心电信号片段,所述第一心电信号片段与所述第二心电信号片段相邻,所述第一心电信号片段为所述多个心电信号片段中的任意一个;A first ECG signal segment and a second ECG signal segment are selected from the plurality of ECG signal segments, the first ECG signal segment is adjacent to the second ECG signal segment, and the first ECG signal segment is adjacent to the second ECG signal segment. The electrical signal segment is any one of the plurality of ECG signal segments;
    将所述第一心电信号片段和所述第二心电信号片段输入所述异常心电信号筛选模块中进行筛选处理,得到所述第一心电信号片段和所述第二心电信号片段之间的匹配度;Inputting the first ECG signal segment and the second ECG signal segment into the abnormal ECG signal screening module for screening processing to obtain the first ECG signal segment and the second ECG signal segment match between;
    当检测到所述匹配度小于预设阈值时,将所述第一心电信号片段和所述第二心电信号片段分别标记为异常心电信号,并确定所述第一心电信号片段和所述第二心电信号片段分别在所述心电信号中的位置;When it is detected that the matching degree is smaller than a preset threshold, the first ECG signal segment and the second ECG signal segment are respectively marked as abnormal ECG signals, and the first ECG signal segment and the second ECG signal segment are respectively marked as abnormal ECG signals. the respective positions of the second ECG signal segments in the ECG signal;
    将多个心电信号片段中的第三心电信号片段和第四心电信号片段输入所述异常心电信号筛选模块中进行筛选处理,得到所述第三心电信号片段和所述第四心电信号片段之间的匹配度,所述第一心电信号片段、所述第二心电信号片段、所述第三心电信号片段以及所述第四心电信号片段依次相邻;Inputting the third ECG signal segment and the fourth ECG signal segment in the multiple ECG signal segments into the abnormal ECG signal screening module for screening processing to obtain the third ECG signal segment and the fourth ECG signal segment The degree of matching between ECG signal segments, the first ECG signal segment, the second ECG signal segment, the third ECG signal segment, and the fourth ECG signal segment are adjacent in sequence;
    当检测到所述第三心电信号片段和所述第四心电信号片段之间的匹配度小于预设阈值时,将所述第三心电信号片段和所述第四心电信号片段分别标记为异常心电信号,并确定所述第三心电信号片段和所述第四心电信号片段分别在所述心电信号中的位置;When it is detected that the matching degree between the third ECG signal segment and the fourth ECG signal segment is less than a preset threshold, the third ECG signal segment and the fourth ECG signal segment are respectively Mark the abnormal ECG signal, and determine the respective positions of the third ECG signal segment and the fourth ECG signal segment in the ECG signal;
    基于所述异常心电信号分类模块对所述异常心电信号进行分析,得到所述异常心电信号对应的异常类型;Analyzing the abnormal ECG signal based on the abnormal ECG signal classification module to obtain the abnormal type corresponding to the abnormal ECG signal;
    或,or,
    当检测到所述第一心电信号片段和所述第二心电信号片段之间的匹配度大于或等于所述预设阈值时,将所述第一心电信号片段或所述第二心电信号片段保留,并将保留的心电信号片段与第三心电信号片段输入所述异常心电信号筛选模块中进行筛选处理,得到所述保留的心电信号片段和所述第三心电信号片段之间的匹配度。When it is detected that the matching degree between the first ECG signal segment and the second ECG signal segment is greater than or equal to the preset threshold, the first ECG signal segment or the second ECG signal segment is The electrical signal segment is retained, and the retained ECG signal segment and the third ECG signal segment are input into the abnormal ECG signal screening module for screening processing, and the retained ECG signal segment and the third ECG signal segment are obtained. The degree of matching between signal fragments.
  3. 如权利要求2所述的方法,其中,所述将所述第一心电信号片段和所述第二心电信号片段输入所述异常心电信号筛选模块中进行筛选处理,得到所述第一心电信号片段和所述第二心电信号片段之间的匹配度,包括:The method according to claim 2, wherein the first ECG signal segment and the second ECG signal segment are input into the abnormal ECG signal screening module for screening processing to obtain the first ECG signal segment. The matching degree between the ECG signal segment and the second ECG signal segment, including:
    基于所述异常心电信号筛选模块提取所述第一心电信号片段对应的第一特征向量;Extract the first feature vector corresponding to the first ECG signal segment based on the abnormal ECG signal screening module;
    基于所述异常心电信号筛选模块提取所述第二心电信号片段对应的第二特征向量;Extract the second feature vector corresponding to the second ECG signal segment based on the abnormal ECG signal screening module;
    计算所述第一特征向量与所述第二特征向量之间的相似度,得到所述第一心电信号片段和所述第二心电信号片段之间的匹配度。The similarity between the first feature vector and the second feature vector is calculated to obtain the matching degree between the first ECG signal segment and the second ECG signal segment.
  4. 如权利要求2所述的方法,其中,所述基于所述异常心电信号分类模块对所述异常心电信号进行分析,得到所述异常心电信号对应的异常类型,包括:The method according to claim 2, wherein the analyzing the abnormal ECG signal based on the abnormal ECG signal classification module to obtain the abnormal type corresponding to the abnormal ECG signal, comprising:
    基于所述异常心电信号分类模块提取所述异常心电信号对应的异常特征向量;Extract the abnormal feature vector corresponding to the abnormal ECG signal based on the abnormal ECG signal classification module;
    对所述异常特征向量进行分类,得到所述异常心电信号对应的异常类型。The abnormal feature vector is classified to obtain the abnormal type corresponding to the abnormal ECG signal.
  5. 如权利要求1至4任一项所述的方法,其中,所述获取待检测的心电信号之前,所述方法还包括:The method according to any one of claims 1 to 4, wherein, before acquiring the ECG signal to be detected, the method further comprises:
    获取第一样本训练集;所述第一样本训练集包括多个样本心电信号片段;obtaining a first sample training set; the first sample training set includes a plurality of sample ECG signal segments;
    基于初始筛选网络对所述多个样本心电信号片段进行筛选处理,得到第二样本训练集;所述第二样本训练集中的样本心电信号片段包括异常样本心电信号片段以及正常样本心电信号片段;Perform screening processing on the plurality of sample ECG signal segments based on the initial screening network to obtain a second sample training set; the sample ECG signal segments in the second sample training set include abnormal sample ECG signal segments and normal sample ECG signal segments signal fragment;
    对所述第二样本训练集中的每个样本心电信号片段进行标注,得到每个样本心电信号片段对应的分类类型;Marking each sample ECG signal segment in the second sample training set to obtain a classification type corresponding to each sample ECG signal segment;
    基于所述第二样本训练集中的每个样本心电信号片段以及每个样本心电信号片段对应的分类类型对初始分类网络进行训练,并基于训练结果更新所述初始分类网络的参数;The initial classification network is trained based on each sample ECG signal segment in the second sample training set and the classification type corresponding to each sample ECG signal segment, and the parameters of the initial classification network are updated based on the training result;
    当所述初始分类网络对应的损失函数收敛时,基于此时的初始分类网络以及所述初始筛选网络生成所述已训练的心电信号检测模型。When the loss function corresponding to the initial classification network converges, the trained ECG signal detection model is generated based on the initial classification network at this time and the initial screening network.
  6. 如权利要求1至4任一项所述的方法,其中,所述将所述心电信号输入到已训练的心电信号检测模型中进行处理,得到所述心电信号中异常心电信号的位置以及所述异常心电信号对应的异常类型之后,所述方法还包括:The method according to any one of claims 1 to 4, wherein the ECG signal is input into a trained ECG signal detection model for processing to obtain an abnormal ECG signal in the ECG signal. After the location and the abnormal type corresponding to the abnormal ECG signal, the method further includes:
    将所述心电信号检测模型以及所述异常心电信号对应的异常类型上传至区块链中。Upload the ECG signal detection model and the abnormality type corresponding to the abnormal ECG signal to the blockchain.
  7. 一种检测心电信号的装置,其中,包括:A device for detecting ECG signals, comprising:
    第一获取单元,用于获取待检测的心电信号;a first acquisition unit, used to acquire the ECG signal to be detected;
    处理单元,用于将所述心电信号输入到已训练的心电信号检测模型中进行处理,得到所述心电信号中异常心电信号的位置以及所述异常心电信号对应的异常类型;其中,所述心电信号检测模型包括异常心电信号筛选模块以及异常心电信号分类模块,所述异常心电信号筛选模块用于从所述心电信号中筛选出所述异常心电信号,并确定所述异常心电信号的位置,所述异常心电信号分类模块用于对所述异常心电信号进行分析,得到所述异常心电信号对应的异常类型。a processing unit, configured to input the ECG signal into a trained ECG signal detection model for processing, and obtain the position of the abnormal ECG signal in the ECG signal and the abnormal type corresponding to the abnormal ECG signal; Wherein, the ECG signal detection model includes an abnormal ECG signal screening module and an abnormal ECG signal classification module, and the abnormal ECG signal screening module is used to screen out the abnormal ECG signals from the ECG signals, And determine the position of the abnormal ECG signal, and the abnormal ECG signal classification module is used for analyzing the abnormal ECG signal to obtain the abnormal type corresponding to the abnormal ECG signal.
  8. 如权利要求7所述的装置,其中,所述装置还包括:The apparatus of claim 7, wherein the apparatus further comprises:
    第二获取单元,用于获取第一样本训练集;所述第一样本训练集包括多个样本心电信号片段;a second obtaining unit, configured to obtain a first sample training set; the first sample training set includes a plurality of sample ECG signal segments;
    第三获取单元,用于基于初始筛选网络对所述多个样本心电信号片段进行筛选处理,得到第二样本训练集;所述第二样本训练集中的样本心电信号片段包括异常样本心电信号片段以及正常样本心电信号片段;A third acquiring unit, configured to perform screening processing on the plurality of sample ECG signal fragments based on the initial screening network to obtain a second sample training set; the sample ECG signal fragments in the second sample training set include abnormal sample ECGs Signal fragments and normal sample ECG signal fragments;
    标注单元,用于对所述第二样本训练集中的每个样本心电信号片段进行标注,得到每个样本心电信号片段对应的分类类型;a labeling unit, configured to label each sample ECG signal segment in the second sample training set to obtain a classification type corresponding to each sample ECG signal segment;
    第一训练单元,用于基于所述第二样本训练集中的每个样本心电信号片段以及每个样本心电信号片段对应的分类类型对初始分类网络进行训练,并基于训练结果更新所述初始分类网络的参数;A first training unit, configured to train an initial classification network based on each sample ECG signal segment in the second sample training set and the classification type corresponding to each sample ECG signal segment, and update the initial classification network based on the training result The parameters of the classification network;
    第二训练单元,用于当所述初始分类网络对应的损失函数收敛时,基于此时的初始分类网络以及所述初始筛选网络生成所述已训练的心电信号检测模型。The second training unit is configured to generate the trained ECG signal detection model based on the initial classification network at this time and the initial screening network when the loss function corresponding to the initial classification network converges.
  9. 一种检测心电信号的终端,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现:A terminal for detecting electrocardiographic signals, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements when the processor executes the computer program:
    获取待检测的心电信号;Obtain the ECG signal to be detected;
    将所述心电信号输入到已训练的心电信号检测模型中进行处理,得到所述心电信号中异常心电信号的位置以及所述异常心电信号对应的异常类型;Inputting the ECG signal into the trained ECG signal detection model for processing to obtain the position of the abnormal ECG signal in the ECG signal and the abnormal type corresponding to the abnormal ECG signal;
    其中,所述心电信号检测模型包括异常心电信号筛选模块以及异常心电信号分类模块,所述异常心电信号筛选模块用于从所述心电信号中筛选出所述异常心电信号,并确定所述异常心电信号的位置,所述异常心电信号分类模块用于对所述异常心电信号进行分析,得到所述异常心电信号对应的异常类型。Wherein, the ECG signal detection model includes an abnormal ECG signal screening module and an abnormal ECG signal classification module, and the abnormal ECG signal screening module is used to screen out the abnormal ECG signals from the ECG signals, And determine the position of the abnormal ECG signal, and the abnormal ECG signal classification module is used for analyzing the abnormal ECG signal to obtain the abnormal type corresponding to the abnormal ECG signal.
  10. 如权利要求9所述的终端,其中,所述处理器执行所述计算机程序时还实现:The terminal according to claim 9, wherein, when the processor executes the computer program, it further implements:
    将所述心电信号划分为多个心电信号片段;dividing the ECG signal into a plurality of ECG signal segments;
    在所述多个心电信号片段中选取第一心电信号片段和第二心电信号片段,所述第一心电信号片段与所述第二心电信号片段相邻,所述第一心电信号片段为所述多个心电信号片段中的任意一个;A first ECG signal segment and a second ECG signal segment are selected from the plurality of ECG signal segments, the first ECG signal segment is adjacent to the second ECG signal segment, and the first ECG signal segment is adjacent to the second ECG signal segment. The electrical signal segment is any one of the plurality of ECG signal segments;
    将所述第一心电信号片段和所述第二心电信号片段输入所述异常心电信号筛选模块中进行筛选处理,得到所述第一心电信号片段和所述第二心电信号片段之间的匹配度;Inputting the first ECG signal segment and the second ECG signal segment into the abnormal ECG signal screening module for screening processing to obtain the first ECG signal segment and the second ECG signal segment match between;
    当检测到所述匹配度小于预设阈值时,将所述第一心电信号片段和所述第二心电信号片段分别标记为异常心电信号,并确定所述第一心电信号片段和所述第二心电信号片段分别在所述心电信号中的位置;When it is detected that the matching degree is smaller than a preset threshold, the first ECG signal segment and the second ECG signal segment are respectively marked as abnormal ECG signals, and the first ECG signal segment and the second ECG signal segment are respectively marked as abnormal ECG signals. the respective positions of the second ECG signal segments in the ECG signal;
    将多个心电信号片段中的第三心电信号片段和第四心电信号片段输入所述异常心电信号筛选模块中进行筛选处理,得到所述第三心电信号片段和所述第四心电信号片段之间的匹配度,所述第一心电信号片段、所述第二心电信号片段、所述第三心电信号片段以及所述第四心电信号片段依次相邻;Inputting the third ECG signal segment and the fourth ECG signal segment in the multiple ECG signal segments into the abnormal ECG signal screening module for screening processing to obtain the third ECG signal segment and the fourth ECG signal segment The degree of matching between ECG signal segments, the first ECG signal segment, the second ECG signal segment, the third ECG signal segment, and the fourth ECG signal segment are adjacent in sequence;
    当检测到所述第三心电信号片段和所述第四心电信号片段之间的匹配度小于预设阈值时,将所述第三心电信号片段和所述第四心电信号片段分别标记为异常心电信号,并确定所述第三心电信号片段和所述第四心电信号片段分别在所述心电信号中的位置;When it is detected that the matching degree between the third ECG signal segment and the fourth ECG signal segment is less than a preset threshold, the third ECG signal segment and the fourth ECG signal segment are respectively Mark the abnormal ECG signal, and determine the respective positions of the third ECG signal segment and the fourth ECG signal segment in the ECG signal;
    基于所述异常心电信号分类模块对所述异常心电信号进行分析,得到所述异常心电信号对应的异常类型;Analyzing the abnormal ECG signal based on the abnormal ECG signal classification module to obtain the abnormal type corresponding to the abnormal ECG signal;
    或,or,
    当检测到所述第一心电信号片段和所述第二心电信号片段之间的匹配度大于或等于所述预设阈值时,将所述第一心电信号片段或所述第二心电信号片段保留,并将保留的心电信号片段与第三心电信号 片段输入所述异常心电信号筛选模块中进行筛选处理,得到所述保留的心电信号片段和所述第三心电信号片段之间的匹配度。When it is detected that the matching degree between the first ECG signal segment and the second ECG signal segment is greater than or equal to the preset threshold, the first ECG signal segment or the second ECG signal segment is The electrical signal segment is retained, and the retained ECG signal segment and the third ECG signal segment are input into the abnormal ECG signal screening module for screening processing, and the retained ECG signal segment and the third ECG signal segment are obtained. The degree of matching between signal fragments.
  11. 如权利要求10所述的终端,其中,所述处理器执行所述计算机程序时还实现:The terminal of claim 10, wherein, when the processor executes the computer program, it further implements:
    基于所述异常心电信号筛选模块提取所述第一心电信号片段对应的第一特征向量;Extract the first feature vector corresponding to the first ECG signal segment based on the abnormal ECG signal screening module;
    基于所述异常心电信号筛选模块提取所述第二心电信号片段对应的第二特征向量;Extract the second feature vector corresponding to the second ECG signal segment based on the abnormal ECG signal screening module;
    计算所述第一特征向量与所述第二特征向量之间的相似度,得到所述第一心电信号片段和所述第二心电信号片段之间的匹配度。The similarity between the first feature vector and the second feature vector is calculated to obtain the matching degree between the first ECG signal segment and the second ECG signal segment.
  12. 如权利要求10所述的终端,其中,所述处理器执行所述计算机程序时还实现:The terminal of claim 10, wherein, when the processor executes the computer program, it further implements:
    基于所述异常心电信号分类模块提取所述异常心电信号对应的异常特征向量;Extract the abnormal feature vector corresponding to the abnormal ECG signal based on the abnormal ECG signal classification module;
    对所述异常特征向量进行分类,得到所述异常心电信号对应的异常类型。The abnormal feature vector is classified to obtain the abnormal type corresponding to the abnormal ECG signal.
  13. 如权利要求9至12任一项所述的终端,其中,所述处理器执行所述计算机程序时还实现:The terminal according to any one of claims 9 to 12, wherein, when the processor executes the computer program, it further implements:
    获取第一样本训练集;所述第一样本训练集包括多个样本心电信号片段;obtaining a first sample training set; the first sample training set includes a plurality of sample ECG signal segments;
    基于初始筛选网络对所述多个样本心电信号片段进行筛选处理,得到第二样本训练集;所述第二样本训练集中的样本心电信号片段包括异常样本心电信号片段以及正常样本心电信号片段;Perform screening processing on the plurality of sample ECG signal segments based on the initial screening network to obtain a second sample training set; the sample ECG signal segments in the second sample training set include abnormal sample ECG signal segments and normal sample ECG signal segments signal fragment;
    对所述第二样本训练集中的每个样本心电信号片段进行标注,得到每个样本心电信号片段对应的分类类型;Marking each sample ECG signal segment in the second sample training set to obtain a classification type corresponding to each sample ECG signal segment;
    基于所述第二样本训练集中的每个样本心电信号片段以及每个样本心电信号片段对应的分类类型对初始分类网络进行训练,并基于训练结果更新所述初始分类网络的参数;The initial classification network is trained based on each sample ECG signal segment in the second sample training set and the classification type corresponding to each sample ECG signal segment, and the parameters of the initial classification network are updated based on the training result;
    当所述初始分类网络对应的损失函数收敛时,基于此时的初始分类网络以及所述初始筛选网络生成所述已训练的心电信号检测模型。When the loss function corresponding to the initial classification network converges, the trained ECG signal detection model is generated based on the initial classification network at this time and the initial screening network.
  14. 如权利要求9至12任一项所述的终端,其中,所述处理器执行所述计算机程序时还实现:The terminal according to any one of claims 9 to 12, wherein, when the processor executes the computer program, it further implements:
    将所述心电信号检测模型以及所述异常心电信号对应的异常类型上传至区块链中。Upload the ECG signal detection model and the abnormality type corresponding to the abnormal ECG signal to the blockchain.
  15. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其中,所述计算机程序被处理器执行时实现:A computer-readable storage medium storing a computer program, wherein the computer program is executed by a processor to realize:
    获取待检测的心电信号;Obtain the ECG signal to be detected;
    将所述心电信号输入到已训练的心电信号检测模型中进行处理,得到所述心电信号中异常心电信号的位置以及所述异常心电信号对应的异常类型;Inputting the ECG signal into the trained ECG signal detection model for processing, to obtain the position of the abnormal ECG signal in the ECG signal and the abnormal type corresponding to the abnormal ECG signal;
    其中,所述心电信号检测模型包括异常心电信号筛选模块以及异常心电信号分类模块,所述异常心电信号筛选模块用于从所述心电信号中筛选出所述异常心电信号,并确定所述异常心电信号的位置,所述异常心电信号分类模块用于对所述异常心电信号进行分析,得到所述异常心电信号对应的异常类型。Wherein, the ECG signal detection model includes an abnormal ECG signal screening module and an abnormal ECG signal classification module, and the abnormal ECG signal screening module is used to screen out the abnormal ECG signals from the ECG signals, And determine the position of the abnormal ECG signal, and the abnormal ECG signal classification module is used for analyzing the abnormal ECG signal to obtain the abnormal type corresponding to the abnormal ECG signal.
  16. 如权利要求15所述的计算机可读存储介质,其中,所述计算机程序被处理器执行时还实现:The computer-readable storage medium of claim 15, wherein the computer program, when executed by the processor, further implements:
    将所述心电信号划分为多个心电信号片段;dividing the ECG signal into a plurality of ECG signal segments;
    在所述多个心电信号片段中选取第一心电信号片段和第二心电信号片段,所述第一心电信号片段与所述第二心电信号片段相邻,所述第一心电信号片段为所述多个心电信号片段中的任意一个;A first ECG signal segment and a second ECG signal segment are selected from the plurality of ECG signal segments, the first ECG signal segment is adjacent to the second ECG signal segment, and the first ECG signal segment is adjacent to the second ECG signal segment. The electrical signal segment is any one of the plurality of ECG signal segments;
    将所述第一心电信号片段和所述第二心电信号片段输入所述异常心电信号筛选模块中进行筛选处理,得到所述第一心电信号片段和所述第二心电信号片段之间的匹配度;Inputting the first ECG signal segment and the second ECG signal segment into the abnormal ECG signal screening module for screening processing to obtain the first ECG signal segment and the second ECG signal segment match between;
    当检测到所述匹配度小于预设阈值时,将所述第一心电信号片段和所述第二心电信号片段分别标记为异常心电信号,并确定所述第一心电信号片段和所述第二心电信号片段分别在所述心电信号中的位置;When it is detected that the matching degree is less than a preset threshold, the first ECG signal segment and the second ECG signal segment are respectively marked as abnormal ECG signals, and the first ECG signal segment and the second ECG signal segment are respectively marked as abnormal ECG signals. the respective positions of the second ECG signal segments in the ECG signal;
    将多个心电信号片段中的第三心电信号片段和第四心电信号片段输入所述异常心电信号筛选模块中进行筛选处理,得到所述第三心电信号片段和所述第四心电信号片段之间的匹配度,所述第一心电信号片段、所述第二心电信号片段、所述第三心电信号片段以及所述第四心电信号片段依次相邻;Inputting the third ECG signal segment and the fourth ECG signal segment in the multiple ECG signal segments into the abnormal ECG signal screening module for screening processing to obtain the third ECG signal segment and the fourth ECG signal segment The degree of matching between ECG signal segments, the first ECG signal segment, the second ECG signal segment, the third ECG signal segment, and the fourth ECG signal segment are adjacent in sequence;
    当检测到所述第三心电信号片段和所述第四心电信号片段之间的匹配度小于预设阈值时,将所述第三心电信号片段和所述第四心电信号片段分别标记为异常心电信号,并确定所述第三心电信号片段和所述第四心电信号片段分别在所述心电信号中的位置;When it is detected that the matching degree between the third ECG signal segment and the fourth ECG signal segment is less than a preset threshold, the third ECG signal segment and the fourth ECG signal segment are respectively Mark the abnormal ECG signal, and determine the respective positions of the third ECG signal segment and the fourth ECG signal segment in the ECG signal;
    基于所述异常心电信号分类模块对所述异常心电信号进行分析,得到所述异常心电信号对应的异常类型;Analyzing the abnormal ECG signal based on the abnormal ECG signal classification module to obtain the abnormal type corresponding to the abnormal ECG signal;
    或,or,
    当检测到所述第一心电信号片段和所述第二心电信号片段之间的匹配度大于或等于所述预设阈值时,将所述第一心电信号片段或所述第二心电信号片段保留,并将保留的心电信号片段与第三心电信号片段输入所述异常心电信号筛选模块中进行筛选处理,得到所述保留的心电信号片段和所述第三心电信号片段之间的匹配度。When it is detected that the matching degree between the first ECG signal segment and the second ECG signal segment is greater than or equal to the preset threshold, the first ECG signal segment or the second ECG signal segment is The electrical signal segment is retained, and the retained ECG signal segment and the third ECG signal segment are input into the abnormal ECG signal screening module for screening processing, and the retained ECG signal segment and the third ECG signal segment are obtained. The degree of matching between signal fragments.
  17. 如权利要求16所述的计算机可读存储介质,其中,所述计算机程序被处理器执行时还实现:The computer-readable storage medium of claim 16, wherein the computer program, when executed by the processor, further implements:
    基于所述异常心电信号筛选模块提取所述第一心电信号片段对应的第一特征向量;Extract the first feature vector corresponding to the first ECG signal segment based on the abnormal ECG signal screening module;
    基于所述异常心电信号筛选模块提取所述第二心电信号片段对应的第二特征向量;Extract the second feature vector corresponding to the second ECG signal segment based on the abnormal ECG signal screening module;
    计算所述第一特征向量与所述第二特征向量之间的相似度,得到所述第一心电信号片段和所述第二心电信号片段之间的匹配度。The similarity between the first feature vector and the second feature vector is calculated to obtain the matching degree between the first ECG signal segment and the second ECG signal segment.
  18. 如权利要求16所述的计算机可读存储介质,其中,所述计算机程序被处理器执行时还实现:The computer-readable storage medium of claim 16, wherein the computer program, when executed by the processor, further implements:
    基于所述异常心电信号分类模块提取所述异常心电信号对应的异常特征向量;Extract the abnormal feature vector corresponding to the abnormal ECG signal based on the abnormal ECG signal classification module;
    对所述异常特征向量进行分类,得到所述异常心电信号对应的异常类型。The abnormal feature vector is classified to obtain the abnormal type corresponding to the abnormal ECG signal.
  19. 如权利要求15至18任一项所述的计算机可读存储介质,其中,所述计算机程序被处理器执行时还实现:The computer-readable storage medium of any one of claims 15 to 18, wherein the computer program, when executed by the processor, further implements:
    获取第一样本训练集;所述第一样本训练集包括多个样本心电信号片段;obtaining a first sample training set; the first sample training set includes a plurality of sample ECG signal segments;
    基于初始筛选网络对所述多个样本心电信号片段进行筛选处理,得到第二样本训练集;所述第二样本训练集中的样本心电信号片段包括异常样本心电信号片段以及正常样本心电信号片段;Perform screening processing on the plurality of sample ECG signal segments based on the initial screening network to obtain a second sample training set; the sample ECG signal segments in the second sample training set include abnormal sample ECG signal segments and normal sample ECG signal segments signal fragment;
    对所述第二样本训练集中的每个样本心电信号片段进行标注,得到每个样本心电信号片段对应的分类类型;Marking each sample ECG signal segment in the second sample training set to obtain a classification type corresponding to each sample ECG signal segment;
    基于所述第二样本训练集中的每个样本心电信号片段以及每个样本心电信号片段对应的分类类型对初始分类网络进行训练,并基于训练结果更新所述初始分类网络的参数;The initial classification network is trained based on each sample ECG signal segment in the second sample training set and the classification type corresponding to each sample ECG signal segment, and the parameters of the initial classification network are updated based on the training result;
    当所述初始分类网络对应的损失函数收敛时,基于此时的初始分类网络以及所述初始筛选网络生成所述已训练的心电信号检测模型。When the loss function corresponding to the initial classification network converges, the trained ECG signal detection model is generated based on the initial classification network at this time and the initial screening network.
  20. 如权利要求15至18任一项所述的计算机可读存储介质,其中,所述计算机程序被处理器执行时还实现:The computer-readable storage medium of any one of claims 15 to 18, wherein the computer program, when executed by the processor, further implements:
    将所述心电信号检测模型以及所述异常心电信号对应的异常类型上传至区块链中。Upload the ECG signal detection model and the abnormality type corresponding to the abnormal ECG signal to the blockchain.
PCT/CN2021/097285 2020-12-25 2021-05-31 Method, device and terminal for electrocardiosignal detection and storage medium WO2022134472A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011560066.8A CN112690802B (en) 2020-12-25 2020-12-25 Method, device, terminal and storage medium for detecting electrocardiosignals
CN202011560066.8 2020-12-25

Publications (1)

Publication Number Publication Date
WO2022134472A1 true WO2022134472A1 (en) 2022-06-30

Family

ID=75510418

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/097285 WO2022134472A1 (en) 2020-12-25 2021-05-31 Method, device and terminal for electrocardiosignal detection and storage medium

Country Status (2)

Country Link
CN (1) CN112690802B (en)
WO (1) WO2022134472A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117481606A (en) * 2023-11-13 2024-02-02 齐鲁工业大学(山东省科学院) Small sample electrocardiosignal classification method based on improved twin network

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112690802B (en) * 2020-12-25 2023-03-03 平安科技(深圳)有限公司 Method, device, terminal and storage medium for detecting electrocardiosignals
CN113729723B (en) * 2021-09-18 2024-02-02 浙江工业大学 Electrocardiogram signal quality analysis method and device based on ResNet-50 and transfer learning

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4625278A (en) * 1983-09-22 1986-11-25 Wong Alan S Method and apparatus for enhancing CRT screen markings in a physiological display system
JP2017023283A (en) * 2015-07-17 2017-02-02 フクダ電子株式会社 Electrocardiographic examination apparatus
CN108836310A (en) * 2018-07-13 2018-11-20 希蓝科技(北京)有限公司 A kind of method and system for judging automatically user's electrocardio state based on artificial intelligence
CN110384486A (en) * 2018-04-16 2019-10-29 三星电子株式会社 It monitors biological signal measuring state and measures the device and method of biological information
CN110693486A (en) * 2019-09-27 2020-01-17 武汉中旗生物医疗电子有限公司 Electrocardiogram abnormity labeling method and device
CN111291673A (en) * 2020-02-04 2020-06-16 贵州省人民医院 Method, device, server and storage medium for predicting time sequence signal classification
CN211243351U (en) * 2019-06-25 2020-08-14 杨安素 Wearable equipment for pregnancy health monitoring
US10765407B2 (en) * 2012-10-04 2020-09-08 Canon Medical Systems Corporation Ultrasound diagnosis apparatus
CN112690802A (en) * 2020-12-25 2021-04-23 平安科技(深圳)有限公司 Method, device, terminal and storage medium for detecting electrocardiosignals

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107516075B (en) * 2017-08-03 2020-10-09 安徽华米智能科技有限公司 Electrocardiosignal detection method and device and electronic equipment
US11013470B2 (en) * 2018-06-08 2021-05-25 Cambridge Heartwear Limited Detecting abnormalities in ECG signals
CN110393520B (en) * 2018-11-16 2022-03-29 迪姆软件(北京)有限公司 Electrocardiogram data analysis method and device, electrocardiogram analyzer and storage medium
CN109871742B (en) * 2018-12-29 2021-05-14 安徽心之声医疗科技有限公司 Electrocardiosignal positioning method based on attention circulation neural network
CN110393519B (en) * 2019-08-19 2022-06-24 广州视源电子科技股份有限公司 Electrocardiosignal analysis method and device, storage medium and processor
CN111956208B (en) * 2020-08-27 2021-04-20 电子科技大学 ECG signal classification method based on ultra-lightweight convolutional neural network

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4625278A (en) * 1983-09-22 1986-11-25 Wong Alan S Method and apparatus for enhancing CRT screen markings in a physiological display system
US10765407B2 (en) * 2012-10-04 2020-09-08 Canon Medical Systems Corporation Ultrasound diagnosis apparatus
JP2017023283A (en) * 2015-07-17 2017-02-02 フクダ電子株式会社 Electrocardiographic examination apparatus
CN110384486A (en) * 2018-04-16 2019-10-29 三星电子株式会社 It monitors biological signal measuring state and measures the device and method of biological information
CN108836310A (en) * 2018-07-13 2018-11-20 希蓝科技(北京)有限公司 A kind of method and system for judging automatically user's electrocardio state based on artificial intelligence
CN211243351U (en) * 2019-06-25 2020-08-14 杨安素 Wearable equipment for pregnancy health monitoring
CN110693486A (en) * 2019-09-27 2020-01-17 武汉中旗生物医疗电子有限公司 Electrocardiogram abnormity labeling method and device
CN111291673A (en) * 2020-02-04 2020-06-16 贵州省人民医院 Method, device, server and storage medium for predicting time sequence signal classification
CN112690802A (en) * 2020-12-25 2021-04-23 平安科技(深圳)有限公司 Method, device, terminal and storage medium for detecting electrocardiosignals

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ZHANG HAIBIN: "Study on ECG Signal Quality Assessment Method", CHINESE MASTER'S THESES FULL-TEXT DATABASE, 1 May 2019 (2019-05-01), pages 1 - 57, XP055946562, ISSN: 1674-0246 *
ZHU ZHAOWEI, WANG HAN, ZHAO TINGTING, GUO YANGMING, XU ZHUOYANG, LIU ZHUO, LIU SIQI, LAN XIANG, SUN XINGZHI, FENG MENGLING: "Classification of Cardiac Abnormalities From ECG Signals Using SE-ResNet", 2016 COMPUTING IN CARDIOLOGY CONFERENCE (CINC), vol. 47, 13 September 2020 (2020-09-13), pages 1 - 4, XP055946560, ISSN: 2325-887X, ISBN: 978-1-5090-0895-7, DOI: 10.22489/CinC.2020.281 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117481606A (en) * 2023-11-13 2024-02-02 齐鲁工业大学(山东省科学院) Small sample electrocardiosignal classification method based on improved twin network
CN117481606B (en) * 2023-11-13 2024-05-14 齐鲁工业大学(山东省科学院) Small sample electrocardiosignal classification method based on improved twin network

Also Published As

Publication number Publication date
CN112690802A (en) 2021-04-23
CN112690802B (en) 2023-03-03

Similar Documents

Publication Publication Date Title
WO2022134472A1 (en) Method, device and terminal for electrocardiosignal detection and storage medium
Gao et al. An effective LSTM recurrent network to detect arrhythmia on imbalanced ECG dataset
Jiang et al. A novel multi-module neural network system for imbalanced heartbeats classification
de Albuquerque et al. Robust automated cardiac arrhythmia detection in ECG beat signals
Zhang et al. Automated detection of cardiovascular disease by electrocardiogram signal analysis: a deep learning system
US20050222508A1 (en) Cardiac diagnostic system and method
US20210204858A1 (en) Automatic sensing of features within an electrocardiogram
WO2021253709A1 (en) Electrocardiogram heartbeat classification method and apparatus, and electronic device and medium
Šajn et al. Image processing and machine learning for fully automated probabilistic evaluation of medical images
WO2019146357A1 (en) Medical image processing device, method, and program, and diagnosis assistance device, method, and program
WO2021164640A1 (en) Retinal image recognition method and apparatus, electronic device, and storage medium
Roshini et al. Automatic diagnosis of diabetic retinopathy with the aid of adaptive average filtering with optimized deep convolutional neural network
Zhang et al. [Retracted] An ECG Heartbeat Classification Method Based on Deep Convolutional Neural Network
Chen et al. Large-scale classification of 12-lead ECG with deep learning
US20220101185A1 (en) Mobile ai
Ullah et al. An End‐to‐End Cardiac Arrhythmia Recognition Method with an Effective DenseNet Model on Imbalanced Datasets Using ECG Signal
CN115666387A (en) Electrocardiosignal identification method and electrocardiosignal identification device based on multiple leads
Kang et al. Quantitative assessment of chest CT patterns in COVID-19 and bacterial pneumonia patients: a deep learning perspective
Zhao et al. An explainable attention-based TCN heartbeats classification model for arrhythmia detection
Li et al. DeepECG: Image-based electrocardiogram interpretation with deep convolutional neural networks
Do et al. Data augmentation for 12-lead ECG beat classification
Vázquez et al. Label noise and self-learning label correction in cardiac abnormalities classification
Barandas et al. Evaluation of uncertainty quantification methods in multi-label classification: A case study with automatic diagnosis of electrocardiogram
Kutluana et al. Classification of cardiac disorders using weighted visibility graph features from ECG signals
GB2603831A (en) Mobile AI

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: 21908483

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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 1205A DATED 02.11.2023)