Multi-lead electrocardio feature wave detection method, device, equipment and medium

By preprocessing ECG signals and using a deep evidence learning network, the mean confidence level of the lead signals is calculated and effective signals are selected for fusion. This solves the problem of low-confidence signal interference in the detection of multi-lead ECG characteristic waves and improves the detection accuracy.

CN117814808BActive Publication Date: 2026-11-24GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211183112.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-27
Publication Date
2026-11-24
Estimated Expiration
2042-09-27

AI Technical Summary

Technical Problem

Existing multi-lead ECG characteristic wave detection methods are easily interfered with by low-reliability lead signals during fusion, increasing the error of the final detection results.

Method used

By acquiring electrocardiogram (ECG) signals, preprocessing them, and then inputting them into a deep evidence learning network, the mean confidence level of each lead signal is calculated, and the lead signals with high confidence are selected for multi-lead fusion to obtain the ECG characteristic wave detection results.

Benefits of technology

It effectively reduces interference from low-reliability lead signals and improves the accuracy of ECG characteristic wave detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117814808B_ABST
    Figure CN117814808B_ABST
Patent Text Reader

Abstract

This application discloses a method, apparatus, device, and medium for detecting multi-lead electrocardiogram (ECG) characteristic waves. The method includes: acquiring an ECG signal; preprocessing the ECG signal to obtain multiple lead signals; inputting each lead signal into a deep evidence learning network to obtain multiple evidence value sequences; calculating the mean confidence score of the corresponding lead signals based on the multiple evidence value sequences; determining whether the mean confidence score is greater than a confidence score threshold; if so, taking the lead signal corresponding to the mean confidence score as a valid lead signal; and performing multi-lead fusion on all valid lead signals to obtain the ECG characteristic wave detection result. By filtering all lead signals based on the mean confidence score and performing multi-lead fusion on lead signals with higher confidence scores, interference from lead signals with lower confidence scores can be reduced, thereby improving the accuracy of ECG characteristic wave detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electrocardiogram (ECG) detection technology, and for example to a method, apparatus, device, and medium for detecting multi-lead ECG characteristic waves. Background Technology

[0002] Electrocardiography (ECG) is a routine physical examination procedure, and the detection of ECG characteristic waveforms is fundamental to many tasks. By calculating characteristic waveform parameters (such as P wave width, QRS width, and QT interval), ECG analysis can be performed. Most existing methods for detecting ECG characteristic waveforms first perform the detection on a single lead signal, and then fuse the results from multiple leads to obtain the final ECG characteristic waveform result. However, existing methods often use fixed rules when fusing multi-lead ECG characteristic waveforms, failing to consider the varying reliability of analysis results from different ECG characteristic waveform detection methods on different leads. This makes the fusion of multi-lead ECG characteristic waveforms easily susceptible to interference from low-reliability lead signals, increasing the error of the final ECG characteristic waveform detection result. Summary of the Invention

[0003] The purpose of this application is to provide a method, apparatus, device, and medium for detecting multi-lead electrocardiogram (ECG) characteristic waves, which can solve the problem that the detection results are easily affected by low-reliability lead signals when fusing multi-lead ECG characteristic waves, thus increasing the error of the final ECG characteristic wave detection results.

[0004] To achieve the above objectives, in a first aspect, this application provides a method for detecting multi-lead electrocardiogram characteristic waves, comprising:

[0005] Acquire electrocardiogram (ECG) signals; preprocess the ECG signals to obtain multiple lead signals;

[0006] Each of the lead signals is input into a deep evidence learning network to obtain multiple evidence value sequences;

[0007] The confidence average of the corresponding lead signals is calculated based on the multiple evidence value sequences;

[0008] Determine whether the average confidence level is greater than the average confidence level threshold. If so, then the lead signal corresponding to the average confidence level is taken as a valid lead signal.

[0009] Multi-lead fusion of all the valid lead signals was performed to obtain the ECG characteristic wave detection results.

[0010] Preferably, the plurality of evidence value sequences include a P-wave evidence value sequence, a QRS wave evidence value sequence, a T-wave evidence value sequence, and other waveform evidence value sequences; the step of calculating the mean confidence value of the corresponding lead signal based on the plurality of evidence value sequences includes:

[0011] The P-wave evidence value, QRS wave evidence value, T-wave evidence value, and other waveform evidence values ​​of each sampling point of the lead signal are added together to obtain the sampling point evidence value.

[0012] The average value of the evidence values ​​at all the sampling points is calculated to obtain the mean confidence level.

[0013] Preferably, the step of performing multi-lead fusion on all the valid lead signals to obtain the ECG characteristic wave detection results includes:

[0014] The P-wave evidence value sequence, QRS wave evidence value sequence, T-wave evidence value sequence and other waveform evidence value sequence corresponding to all the lead signals are added together to obtain the total composite sequence;

[0015] The P-wave evidence value sequences corresponding to all the lead signals are added together to obtain the P-wave evidence value composite sequence; the ratio of the P-wave evidence value composite sequence to the total composite sequence is taken as the P-wave probability sequence.

[0016] The QRS wave evidence value sequences corresponding to all the lead signals are added together to obtain a comprehensive QRS wave evidence value sequence; the ratio of the comprehensive QRS wave evidence value sequence to the total comprehensive sequence is taken as the QRS wave probability sequence.

[0017] The T-wave evidence value sequences corresponding to all the lead signals are summed to obtain a comprehensive T-wave evidence value sequence; the ratio of the comprehensive T-wave evidence value sequence to the total comprehensive sequence is taken as the T-wave probability sequence.

[0018] The sequences of other waveform evidence values ​​corresponding to all the lead signals are added together to obtain a comprehensive sequence of other waveform evidence values; the ratio of the comprehensive sequence of other waveform evidence values ​​to the total comprehensive sequence is taken as the probability sequence of other waveforms.

[0019] The P-wave probability sequence, QRS wave probability sequence, T-wave probability sequence, and other waveform probability sequences are used as the ECG characteristic wave detection results.

[0020] Preferably, after determining whether the average credibility value is greater than the average credibility value threshold, the method further includes:

[0021] If the mean confidence level is less than or equal to the mean confidence level threshold, then the lead signal corresponding to the mean confidence level is considered an invalid lead signal.

[0022] Preferably, the step of inputting each of the lead signals into a deep evidence learning network to obtain multiple evidence value sequences includes:

[0023] Each of the lead signals is input into the first module of the deep evidence learning network, and convolution, activation and normalization are performed sequentially to obtain the first intermediate signal;

[0024] The first intermediate signal is input into the second module of the deep evidence learning network, and depthwise separable convolution, activation, depthwise separable convolution and normalization are performed sequentially to obtain the second intermediate signal.

[0025] The second intermediate signal is input into the third module of the deep evidence learning network, and convolution and activation are performed sequentially to obtain the multiple evidence value sequences.

[0026] Preferably, the preprocessing of the electrocardiogram signal to obtain multiple lead signals includes:

[0027] The electrocardiogram signal is resampled to obtain a resampled signal;

[0028] The resampled signal is bandpass filtered to obtain a filtered signal, which includes multiple lead signals.

[0029] Preferably, the deep evidence learning network is trained using a first loss function; the first loss function is:

[0030]

[0031] Among them, y c Here, c represents the sample label, P represents the P-wave, QRS represents the QRS wave, T represents the T-wave, O-wave represents other waveforms, λ is the adjustment parameter, and e P Represents the P-wave evidence value sequence, e QRS e represents the QRS wave evidence value sequence. T Represents the T-wave evidence value sequence, e O e represents the sequence of other waveform evidence values. c Let be the sequence of sample evidence values, and Loss be the first loss function.

[0032] Secondly, this application provides a multi-lead electrocardiogram characteristic wave detection device, comprising:

[0033] ECG signal acquisition module, used to acquire ECG signals;

[0034] An electrocardiogram (ECG) signal preprocessing module is used to preprocess the ECG signal to obtain multiple lead signals;

[0035] The evidence value sequence calculation module is used to input each of the lead signals into a deep evidence learning network to obtain multiple evidence value sequences.

[0036] The confidence mean calculation module is used to calculate the confidence mean of the corresponding lead signal based on the multiple evidence value sequences;

[0037] The confidence mean judgment module is used to determine whether the confidence mean is greater than the confidence mean threshold. If so, the lead signal corresponding to the confidence mean is taken as a valid lead signal.

[0038] The effective lead signal fusion module is used to perform multi-lead fusion of all the effective lead signals to obtain the ECG characteristic wave detection results.

[0039] This application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the multi-lead electrocardiogram characteristic wave detection method and / or the multi-lead electrocardiogram characteristic wave detection method described in any of the above claims.

[0040] This application also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the multi-lead electrocardiogram characteristic wave detection method described in any of the above claims and / or the multi-lead electrocardiogram characteristic wave detection method described in any of the above claims.

[0041] This application discloses a multi-lead electrocardiogram (ECG) characteristic wave detection method, comprising: acquiring an ECG signal; preprocessing the ECG signal to obtain multiple lead signals; inputting each lead signal into a deep evidence learning network to obtain multiple evidence value sequences; calculating the mean confidence value of the corresponding lead signals based on the multiple evidence value sequences; determining whether the mean confidence value is greater than a mean confidence value threshold; if so, the lead signal corresponding to the mean confidence value is considered a valid lead signal; performing multi-lead fusion on all valid lead signals to obtain the ECG characteristic wave detection result. By filtering all lead signals based on the mean confidence value and performing multi-lead fusion on lead signals with higher confidence, interference from lead signals with lower confidence can be reduced, thereby improving the accuracy of ECG characteristic wave detection. Attached Figure Description

[0042] Figure 1 This is a flowchart illustrating a multi-lead electrocardiogram characteristic wave detection method according to one embodiment;

[0043] Figure 2 This is a flowchart illustrating the calculation of the mean confidence level of the corresponding lead signal in one embodiment.

[0044] Figure 3 This is a schematic diagram of a process for multi-lead fusion of all valid lead signals in one embodiment;

[0045] Figure 4This is a schematic diagram illustrating the process of inputting each lead signal into a deep evidence learning network, as shown in one embodiment.

[0046] Figure 5 This is a schematic diagram of a preprocessing flow for electrocardiogram signals according to one embodiment;

[0047] Figure 6 This is a schematic block diagram of a multi-lead electrocardiogram characteristic wave detection device according to an embodiment;

[0048] Figure 7 This is a schematic block diagram of the structure of a computer device according to one embodiment.

[0049] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0050] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0051] Those skilled in the art will understand that, unless specifically stated otherwise, the singular forms “a,” “an,” “the,” and “the” used herein may also include the plural forms. It should be further understood that the term “comprising” as used in this specification means the presence of features, integers, steps, operations, elements, modules, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, modules, components, and / or groups thereof. It should be understood that when we say an element is “connected” or “coupled” to another element, it can be directly connected or coupled to the other element, or there may be intermediate elements. Furthermore, “connected” or “coupled” as used herein can include wireless connections or wireless coupling. The term “and / or” as used herein includes all or any modules and all combinations of one or more associated listed items.

[0052] It will be understood by those skilled in the art that, unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. It should also be understood that terms such as those defined in general dictionaries should be understood to have the same meaning as in the context of the prior art, and should not be interpreted in an idealized or overly formal sense unless specifically defined as herein.

[0053] In one embodiment, refer to Figure 1 This is a flowchart illustrating the multi-lead electrocardiogram characteristic wave detection method disclosed in this application, including the following steps S1-S6:

[0054] S1: Acquire electrocardiogram (ECG) signals.

[0055] Electrocardiogram (ECG) signals include characteristic waves and other waveforms. Characteristic waves include the P wave, QRS complex, and T wave. Other waveforms include the U wave, F wave, and other waveforms.

[0056] S2: Preprocess the electrocardiogram signal to obtain multiple lead signals.

[0057] The electrocardiogram signal is resampled to obtain a resampled signal;

[0058] The resampled signal is bandpass filtered to obtain a filtered signal, which includes multiple lead signals.

[0059] The electrocardiogram (ECG) signal is resampled to a set frequency to obtain a resampled signal. Preferably, the set frequency is set to 250Hz.

[0060] The resampled signal is bandpass filtered to obtain the filtered signal. Preferably, the frequency of the bandpass filter is set to 0.5-45Hz.

[0061] The filtered signal is a multi-lead signal, containing m leads, each with n sampling points.

[0062] S3: Input each of the lead signals into a deep evidence learning network to obtain multiple evidence value sequences.

[0063] Each of the lead signals is input into the first module of the deep evidence learning network, and convolution, activation and normalization are performed sequentially to obtain the first intermediate signal;

[0064] The first intermediate signal is input into the second module of the deep evidence learning network, and depthwise separable convolution, activation, depthwise separable convolution and normalization are performed sequentially to obtain the second intermediate signal.

[0065] The second intermediate signal is input into the third module of the deep evidence learning network, and convolution and activation are performed sequentially to obtain the multiple evidence value sequences.

[0066] A lead signal contains n sampling points, and the P-wave evidence value sequence, QRS wave evidence value sequence, T-wave evidence value sequence, and other waveform evidence value sequences each contain n sampling points.

[0067] The first module of the deep evidence learning network includes a convolutional layer, a first activation layer, and a first normalization layer. The second module includes a first depthwise separable convolutional layer, a second activation layer, a second depthwise separable convolutional layer, and a second normalization layer. The third module includes a convolutional layer and a third activation layer.

[0068] S4: Calculate the mean confidence level of the corresponding lead signal based on the multiple evidence value sequences.

[0069] The P-wave evidence value, QRS wave evidence value, T-wave evidence value, and other waveform evidence values ​​of each sampling point of the lead signal are added together to obtain the sampling point evidence value.

[0070] The average value of the evidence values ​​at all the sampling points is calculated to obtain the mean confidence level.

[0071] Based on the P-wave evidence value sequence, QRS wave evidence value sequence, T-wave evidence value sequence, and other waveform evidence value sequences, the P-wave evidence value, QRS wave evidence value, T-wave evidence value, and other waveform evidence value for each sampling point can be obtained. The P-wave evidence value, QRS wave evidence value, T-wave evidence value, and other waveform evidence value for each sampling point are added together to obtain the corresponding sampling point evidence value. A total of n sampling point evidence values ​​can be obtained. The average of these n sampling point evidence values ​​is then calculated to obtain the mean confidence level.

[0072] S5: Determine whether the average confidence level is greater than the average confidence level threshold. If so, then take the lead signal corresponding to the average confidence level as a valid lead signal.

[0073] The mean confidence level can reflect the confidence level of the P-wave, QRS wave, T-wave, and other waveforms, and can comprehensively measure the confidence level of the lead signal.

[0074] Selecting valid lead signals based on the mean confidence level can reduce interference from low-confidence lead signals, thereby improving the accuracy of ECG characteristic wave detection.

[0075] S6: Perform multi-lead fusion on all the valid lead signals to obtain the ECG characteristic wave detection results.

[0076] The P-wave evidence value sequence, QRS wave evidence value sequence, T-wave evidence value sequence and other waveform evidence value sequence corresponding to all the lead signals are added together to obtain the total composite sequence;

[0077] The P-wave evidence value sequences corresponding to all the lead signals are added together to obtain the P-wave evidence value composite sequence; the ratio of the P-wave evidence value composite sequence to the total composite sequence is taken as the P-wave probability sequence.

[0078] The QRS wave evidence value sequences corresponding to all the lead signals are added together to obtain a comprehensive QRS wave evidence value sequence; the ratio of the comprehensive QRS wave evidence value sequence to the total comprehensive sequence is taken as the QRS wave probability sequence.

[0079] The T-wave evidence value sequences corresponding to all the lead signals are summed to obtain a comprehensive T-wave evidence value sequence; the ratio of the comprehensive T-wave evidence value sequence to the total comprehensive sequence is taken as the T-wave probability sequence.

[0080] The sequences of other waveform evidence values ​​corresponding to all the lead signals are added together to obtain a comprehensive sequence of other waveform evidence values; the ratio of the comprehensive sequence of other waveform evidence values ​​to the total comprehensive sequence is taken as the probability sequence of other waveforms.

[0081] The P-wave probability sequence, QRS wave probability sequence, T-wave probability sequence, and other waveform probability sequences are used as the ECG characteristic wave detection results.

[0082] The P-wave probability sequence, QRS wave probability sequence, T-wave probability sequence, and other waveform probability sequences all contain n sampling points. The probability values ​​of different probability sequences are close to 1 at the characteristic wave position and close to 0 at other positions.

[0083] The ECG characteristic waveform detection results include P wave probability sequence, QRS wave probability sequence, T wave probability sequence and other waveform probability sequences, which can comprehensively reflect the ECG characteristics.

[0084] As described above, the multi-lead ECG feature wave detection method includes acquiring an ECG signal; preprocessing the ECG signal to obtain multiple lead signals; inputting each lead signal into a deep evidence learning network to obtain multiple evidence value sequences; calculating the mean confidence score of the corresponding lead signals based on the multiple evidence value sequences; determining whether the mean confidence score is greater than a confidence score threshold; if so, the lead signal corresponding to the mean confidence score is considered a valid lead signal; performing multi-lead fusion on all valid lead signals to obtain the ECG feature wave detection result. Filtering all lead signals based on the mean confidence score and performing multi-lead fusion on lead signals with higher confidence scores can reduce interference from lead signals with lower confidence scores, thereby improving the accuracy of ECG feature wave detection.

[0085] In one embodiment, refer to Figure 2 The plurality of evidence value sequences include P-wave evidence value sequences, QRS wave evidence value sequences, T-wave evidence value sequences, and other waveform evidence value sequences; the step of calculating the mean confidence level of the corresponding lead signal based on the plurality of evidence value sequences includes:

[0086] S41: Add the P-wave evidence value, QRS wave evidence value, T-wave evidence value and other waveform evidence values ​​of each sampling point of the lead signal to obtain the sampling point evidence value.

[0087] A lead signal contains n sampling points. Based on the P-wave evidence value sequence, QRS wave evidence value sequence, T-wave evidence value sequence, and other waveform evidence value sequences, the P-wave evidence value, QRS wave evidence value, T-wave evidence value, and other waveform evidence value for each sampling point can be obtained. The P-wave evidence value, QRS wave evidence value, T-wave evidence value, and other waveform evidence value for each sampling point are added together to obtain the corresponding sampling point evidence value.

[0088] S42: Calculate the average value of all the evidence values ​​of the sampling points to obtain the average confidence level.

[0089] A total of n sampling point evidence values ​​can be obtained. The average of the n sampling point evidence values ​​is used to obtain the confidence mean.

[0090] The mean confidence level can reflect the confidence level of the P-wave, QRS wave, T-wave, and other waveforms, and can comprehensively measure the confidence level of the lead signal.

[0091] As described above, the mean confidence level of the corresponding lead signal is calculated based on multiple evidence value sequences. This involves summing the P-wave evidence value, QRS wave evidence value, T-wave evidence value, and other waveform evidence values ​​at each sampling point of the lead signal to obtain the sampling point evidence value. The average of all sampling point evidence values ​​is then calculated to obtain the mean confidence level. The mean confidence level reflects the confidence levels of the P-wave, QRS wave, T-wave, and other waveforms, providing a relatively comprehensive measure of the lead signal's confidence level.

[0092] In one embodiment, refer to Figure 3 The step of performing multi-lead fusion on all the valid lead signals to obtain the ECG characteristic wave detection results includes:

[0093] S61: Add the P-wave evidence value sequence, QRS wave evidence value sequence, T-wave evidence value sequence and other waveform evidence value sequence corresponding to all the lead signals to obtain the total composite sequence;

[0094] S62: Add the P-wave evidence value sequences corresponding to all the lead signals to obtain a comprehensive P-wave evidence value sequence; use the ratio of the comprehensive P-wave evidence value sequence to the total comprehensive sequence as the P-wave probability sequence;

[0095] S63: Add the QRS wave evidence value sequences corresponding to all the lead signals to obtain a comprehensive QRS wave evidence value sequence; use the ratio of the comprehensive QRS wave evidence value sequence to the total comprehensive sequence as the QRS wave probability sequence;

[0096] S64: Add the T-wave evidence value sequences corresponding to all the lead signals to obtain a comprehensive T-wave evidence value sequence; use the ratio of the comprehensive T-wave evidence value sequence to the total comprehensive sequence as the T-wave probability sequence;

[0097] S65: Add the sequences of other waveform evidence values ​​corresponding to all the lead signals to obtain a comprehensive sequence of other waveform evidence values; use the ratio of the comprehensive sequence of other waveform evidence values ​​to the total comprehensive sequence as the probability sequence of other waveforms;

[0098] S66: The P-wave probability sequence, QRS wave probability sequence, T-wave probability sequence and other waveform probability sequences are used as the ECG characteristic wave detection results.

[0099] The formula for detecting ECG characteristic waves is as follows:

[0100]

[0101] Where c is the sample category, e i,P Let e ​​be the P-wave evidence value of the i-th valid lead signal. i,QRS Let e ​​be the QRS wave evidence value of the i-th valid lead signal. i,T Let e ​​be the T-wave evidence value of the i-th valid lead signal. i,O Let m be the other waveform evidence values ​​for the i-th valid lead signal. ’ The total number of valid leads, where i is the index of the valid lead, and p... c Let e ​​be the probability sequence of the c-th type of ECG characteristic wave. i,c The evidence value for the type c ECG characteristic wave of the i-th valid lead signal.

[0102] The ECG characteristic waveform detection results include P wave probability sequence, QRS wave probability sequence, T wave probability sequence and other waveform probability sequences, which can comprehensively reflect the ECG characteristics.

[0103] As described above, multi-lead fusion is performed on all valid lead signals to obtain the ECG characteristic wave detection results. This includes adding the P-wave evidence value sequences, QRS wave evidence value sequences, T-wave evidence value sequences, and other waveform evidence value sequences corresponding to all lead signals to obtain the total composite sequence; adding the P-wave evidence value sequences corresponding to all lead signals to obtain the P-wave evidence value composite sequence; using the ratio of the P-wave evidence value composite sequence to the total composite sequence as the P-wave probability sequence; adding the QRS wave evidence value sequences corresponding to all lead signals to obtain the QRS wave evidence value composite sequence; and using the QRS wave evidence value sequences as the P-wave probability sequence. The ratio of the composite sequence to the total composite sequence is used as the QRS wave probability sequence; the T wave evidence value sequences corresponding to all lead signals are summed to obtain the T wave evidence value composite sequence; the ratio of the T wave evidence value composite sequence to the total composite sequence is used as the T wave probability sequence; the other waveform evidence value sequences corresponding to all lead signals are summed to obtain the other waveform evidence value composite sequence; the ratio of the other waveform evidence value composite sequence to the total composite sequence is used as the other waveform probability sequence; the P wave probability sequence, QRS wave probability sequence, T wave probability sequence, and other waveform probability sequences are used as the ECG characteristic wave detection results. The ECG characteristic wave detection results, including the P wave probability sequence, QRS wave probability sequence, T wave probability sequence, and other waveform probability sequences, can comprehensively reflect the ECG characteristics.

[0104] In one embodiment, after determining whether the average credibility value is greater than the average credibility value threshold, the method further includes:

[0105] If the mean confidence level is less than or equal to the mean confidence level threshold, then the lead signal corresponding to the mean confidence level is considered an invalid lead signal.

[0106] The confidence mean threshold is affected by the first loss function used to train the deep evidence learning network. Preferably, λ is set to 0.0001, the confidence mean threshold ranges from 0 to 100, and the confidence mean threshold is set to 50.

[0107] If the mean confidence level is less than or equal to the confidence level threshold, it indicates that the corresponding lead signal may be subject to interference, and the corresponding lead signal will be considered an invalid lead signal.

[0108] Preferably, if no lead signal meets the threshold, the confidence level is indicated as too low.

[0109] As mentioned above, after determining whether the mean confidence level is greater than the mean confidence level threshold, the process further includes: if the mean confidence level is less than or equal to the mean confidence level threshold, then the lead signal corresponding to the mean confidence level is considered an invalid lead signal. A mean confidence level less than or equal to the mean confidence level threshold indicates that the corresponding lead signal may have interference, and therefore the corresponding lead signal is considered an invalid lead signal.

[0110] In one embodiment, refer to Figure 4 The step of inputting each of the lead signals into a deep evidence learning network to obtain multiple evidence value sequences includes:

[0111] S31: Input each of the lead signals into the first module of the deep evidence learning network, and perform convolution, activation and normalization in sequence to obtain the first intermediate signal;

[0112] S32: Input the first intermediate signal into the second module of the deep evidence learning network, and perform depthwise separable convolution, activation, depthwise separable convolution and normalization in sequence to obtain the second intermediate signal;

[0113] S33: Input the second intermediate signal into the third module of the deep evidence learning network, and perform convolution and activation sequentially to obtain the multiple evidence value sequences.

[0114] The first module of the deep evidence learning network includes a convolutional layer, a first activation layer, and a first normalization layer. The second module includes a first depthwise separable convolutional layer, a second activation layer, a second depthwise separable convolutional layer, and a second normalization layer. The third module includes a convolutional layer and a third activation layer.

[0115] Preferably, the total number of the second modules of the deep evidence learning network is 5. That is, after each lead signal is input into the first module of the deep evidence learning network to obtain the first intermediate signal, the first intermediate signal is sequentially input into the second modules of the 5 identical deep evidence learning networks to obtain the second intermediate signal.

[0116] Compared to conventional convolution operations, depthwise separable convolution has fewer parameters and requires less computational resources. Both convolution and depthwise separable convolution can extract signal features.

[0117] The activation operation uses a nonlinear function, which can enhance the adaptability of deep evidence learning networks to nonlinear lead signals.

[0118] Preferably, the activation function used in the first activation layer is the ReLU function, the activation function used in the second activation layer is the ReLU function, and the activation function used in the third activation layer is the SoftPlus function.

[0119] Normalization layers are used to stabilize the training process and accelerate convergence.

[0120] Deep evidence learning networks can process signals from each lead to obtain P-wave evidence value sequences, QRS wave evidence value sequences, T-wave evidence value sequences, and other waveform evidence value sequences.

[0121] As described above, each lead signal is input into a deep evidence learning network to obtain multiple evidence value sequences. This includes inputting each lead signal into a first module of the deep evidence learning network, performing convolution, activation, and normalization sequentially to obtain a first intermediate signal. The first intermediate signal is then input into a second module of the deep evidence learning network, performing depthwise separable convolution, activation, depthwise separable convolution, and normalization sequentially to obtain a second intermediate signal. The second intermediate signal is then input into a third module of the deep evidence learning network, performing convolution and activation sequentially to obtain multiple evidence value sequences. These multiple evidence value sequences include P-wave evidence value sequences, QRS wave evidence value sequences, T-wave evidence value sequences, and other waveform evidence value sequences. The deep evidence learning network can process each lead signal to obtain P-wave evidence value sequences, QRS wave evidence value sequences, T-wave evidence value sequences, and other waveform evidence value sequences.

[0122] In one embodiment, refer to Figure 5 The preprocessing of the electrocardiogram signal yields multiple lead signals, including:

[0123] S21: Resample the electrocardiogram signal to obtain a resampled signal.

[0124] The electrocardiogram (ECG) signal is resampled to a set frequency to obtain a resampled signal. Preferably, the set frequency is set to 250Hz.

[0125] S22: Bandpass filtering is performed on the resampled signal to obtain a filtered signal, the filtered signal including multiple lead signals.

[0126] The resampled signal is bandpass filtered to obtain the filtered signal. Preferably, the frequency of the bandpass filter is set to 0.5-45Hz.

[0127] The filtered signal is a multi-lead signal, containing m leads, each with n sampling points.

[0128] Preprocessing electrocardiogram (ECG) signals can reduce noise in them.

[0129] As described above, preprocessing the electrocardiogram (ECG) signal to obtain multiple lead signals includes: resampling the ECG signal to obtain a resampled signal; and bandpass filtering the resampled signal to obtain a filtered signal, which includes multiple lead signals. This preprocessing of the ECG signal can reduce noise in the ECG signal.

[0130] In one embodiment, the deep evidence learning network is trained using a first loss function; the first loss function is:

[0131]

[0132] Among them, y c Here, c represents the sample label, P represents the P-wave, QRS represents the QRS wave, T represents the T-wave, O represents other waveforms, λ is the adjustment parameter, and e P Represents the P-wave evidence value sequence, e QRS e represents the QRS wave evidence value sequence. T Represents the T-wave evidence value sequence, e O e represents the sequence of other waveform evidence values. c Let be the sequence of sample evidence values, and Loss be the first loss function.

[0133] The deep evidence learning network to be trained is used with a first loss function and a training sample set, which includes real electrocardiogram (ECG) characteristic waves. The loss function value of the first loss function of the deep evidence learning network during training is calculated, and backpropagation is performed based on the loss function value to update the network parameters of the deep evidence learning network to be trained.

[0134] Determine if the value of the loss function is less than the preset value. If it is, stop training and obtain the deep evidence learning network.

[0135] If the value of the loss function is greater than or equal to the preset value, training continues until the value of the loss function is less than the preset value, at which point training stops, and the deep evidence learning network is obtained.

[0136] The first loss function includes P-wave evidence value sequences, QRS wave evidence value sequences, T-wave evidence value sequences, and other waveform evidence value sequences. The deep evidence learning network trained based on the first loss function can process lead signals to obtain P-wave evidence value sequences, QRS wave evidence value sequences, T-wave evidence value sequences, and other waveform evidence value sequences.

[0137] As described above, the deep evidence learning network is trained using a first loss function. The network to be trained is then trained using the first loss function and a training sample set, which includes real ECG characteristic waves. The loss function value of the first loss function in the training deep evidence learning network is calculated, and backpropagation is performed based on the loss function value to update the network parameters of the network to be trained. It is determined whether the value of the loss function is less than a preset value; if so, training stops, and the deep evidence learning network is obtained. The first loss function includes P-wave evidence value sequences, QRS wave evidence value sequences, T-wave evidence value sequences, and other waveform evidence value sequences. The deep evidence learning network trained using the first loss function can process lead signals to obtain P-wave evidence value sequences, QRS wave evidence value sequences, T-wave evidence value sequences, and other waveform evidence value sequences.

[0138] Reference Figure 6This is a schematic block diagram of a multi-lead electrocardiogram characteristic wave detection device disclosed in this application. The device includes:

[0139] ECG signal acquisition module 10, used to acquire ECG signals;

[0140] The electrocardiogram (ECG) signal preprocessing module 20 is used to preprocess the ECG signal to obtain multiple lead signals;

[0141] The evidence value sequence calculation module 30 is used to input each of the lead signals into the deep evidence learning network to obtain multiple evidence value sequences;

[0142] The confidence mean calculation module 40 is used to calculate the confidence mean of the corresponding lead signal based on the multiple evidence value sequences;

[0143] The confidence mean judgment module 50 is used to determine whether the confidence mean is greater than the confidence mean threshold. If so, the lead signal corresponding to the confidence mean is taken as a valid lead signal.

[0144] The effective lead signal fusion module 60 is used to perform multi-lead fusion on all the effective lead signals to obtain the ECG characteristic wave detection results.

[0145] As described above, the multi-lead ECG characteristic wave detection device can realize the multi-lead ECG characteristic wave detection method.

[0146] In one embodiment, the confidence mean calculation module 40 further includes:

[0147] The sampling point evidence value calculation unit is used to add the P-wave evidence value, QRS wave evidence value, T-wave evidence value and other waveform evidence values ​​of each sampling point of the lead signal to obtain the sampling point evidence value;

[0148] The credibility mean calculation unit is used to calculate the average value of all the evidence values ​​of the sampling points to obtain the credibility mean.

[0149] In one embodiment, the effective lead signal fusion module 60 further includes:

[0150] The overall sequence calculation unit is used to add the P-wave evidence value sequence, QRS wave evidence value sequence, T-wave evidence value sequence and other waveform evidence value sequence corresponding to all the lead signals to obtain the overall sequence.

[0151] The P-wave probability sequence calculation unit is used to add the P-wave evidence value sequences corresponding to all the lead signals to obtain a comprehensive P-wave evidence value sequence; the ratio of the comprehensive P-wave evidence value sequence to the total comprehensive sequence is used as the P-wave probability sequence.

[0152] The QRS wave probability sequence calculation unit is used to add the QRS wave evidence value sequences corresponding to all the lead signals to obtain a comprehensive QRS wave evidence value sequence; the ratio of the comprehensive QRS wave evidence value sequence to the total comprehensive sequence is used as the QRS wave probability sequence.

[0153] The T-wave probability sequence calculation unit is used to add the T-wave evidence value sequences corresponding to all the lead signals to obtain a comprehensive T-wave evidence value sequence; the ratio of the comprehensive T-wave evidence value sequence to the total comprehensive sequence is used as the T-wave probability sequence.

[0154] The other waveform probability sequence calculation unit is used to add the other waveform evidence value sequences corresponding to all the lead signals to obtain the other waveform evidence value comprehensive sequence; and to use the ratio of the other waveform evidence value comprehensive sequence to the total comprehensive sequence as the other waveform probability sequence.

[0155] The ECG characteristic wave detection result definition unit is used to define the P wave probability sequence, QRS wave probability sequence, T wave probability sequence and other waveform probability sequences as the ECG characteristic wave detection result.

[0156] In one embodiment, the multi-lead ECG characteristic wave detection device further includes:

[0157] An invalid lead signal filtering module is used to identify the lead signal corresponding to the mean confidence level as an invalid lead signal if the mean confidence level is less than or equal to the mean confidence level threshold.

[0158] In one embodiment, the evidence value sequence calculation module 30 further includes:

[0159] The first intermediate signal calculation unit is used to input each of the lead signals into the first module of the deep evidence learning network, and perform convolution, activation and normalization in sequence to obtain the first intermediate signal;

[0160] The second intermediate signal calculation unit is used to input the first intermediate signal into the second module of the deep evidence learning network, and sequentially perform depthwise separable convolution, activation, depthwise separable convolution and normalization to obtain the second intermediate signal.

[0161] Multiple evidence value sequence calculation units are used to input the second intermediate signal into the third module of the deep evidence learning network, and perform convolution and activation sequentially to obtain the multiple evidence value sequences.

[0162] In one embodiment, the ECG signal preprocessing module 20 further includes:

[0163] An electrocardiogram (ECG) signal resampling unit is used to resample the ECG signal to obtain a resampled signal;

[0164] The resampled signal bandpass filtering unit is used to perform bandpass filtering on the resampled signal to obtain a filtered signal, the filtered signal including multiple lead signals.

[0165] In one embodiment, the multi-lead ECG characteristic wave detection device further includes:

[0166] The deep evidence learning network training module is used to train the deep evidence learning network according to the first loss function; the first loss function is:

[0167]

[0168] Among them, y c Here, c represents the sample label, P represents the P-wave, QRS represents the QRS wave, T represents the T-wave, O represents other waveforms, λ is the adjustment parameter, and e P Represents the P-wave evidence value sequence, e QRS e represents the QRS wave evidence value sequence. T Represents the T-wave evidence value sequence, e O e represents the sequence of other waveform evidence values. c Let be the sequence of sample evidence values, and Loss be the first loss function.

[0169] Reference Figure 7 This application also provides a computer device whose internal structure can be as follows: Figure 7 As shown, this computer device includes a processor, memory, network interface, and database connected via a system bus. The processor is designed to provide computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores operating devices, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores active lead signals, etc. The network interface is used for communication with external terminals via a network connection. When executed by a processor, this computer program implements a multi-lead electrocardiogram (ECG) characteristic wave detection method, comprising the following steps: acquiring an ECG signal; preprocessing the ECG signal to obtain multiple lead signals; inputting each lead signal into a deep evidence learning network to obtain multiple evidence value sequences; calculating the mean confidence level of the corresponding lead signal based on the multiple evidence value sequences; determining whether the mean confidence level is greater than a mean confidence level threshold; if so, taking the lead signal corresponding to the mean confidence level as a valid lead signal; and performing multi-lead fusion on all valid lead signals to obtain the ECG characteristic wave detection result. Those skilled in the art will understand that... Figure 7The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer equipment on which the present application is applied.

[0170] One embodiment of this application also provides a computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program implements a multi-lead electrocardiogram (ECG) feature wave detection method, including the following steps: acquiring an ECG signal; preprocessing the ECG signal to obtain multiple lead signals; inputting each lead signal into a deep evidence learning network to obtain multiple evidence value sequences; calculating the mean confidence value of the corresponding lead signal based on the multiple evidence value sequences; determining whether the mean confidence value is greater than a mean confidence value threshold; if so, taking the lead signal corresponding to the mean confidence value as a valid lead signal; and performing multi-lead fusion on all valid lead signals to obtain an ECG feature wave detection result. It is understood that the computer-readable storage medium in this embodiment can be a volatile readable storage medium or a non-volatile readable storage medium.

[0171] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media provided in this application and in the embodiments may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual-speed SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0172] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, apparatus, article, or method. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, apparatus, article, or method that includes that element.

[0173] The above description is merely a preferred embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent structural or procedural transformations made based on the content of the present invention's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of the present invention.

Claims

1. A method for detecting characteristic waves in multi-lead electrocardiograms, characterized in that, The method includes: Acquire electrocardiogram (ECG) signals; preprocess the ECG signals to obtain multiple lead signals; Each of the lead signals is input into a deep evidence learning network to obtain multiple evidence value sequences; The average confidence level of the corresponding lead signal is calculated based on the multiple evidence value sequences; Determine whether the average confidence level is greater than the average confidence level threshold. If so, then the lead signal corresponding to the average confidence level is taken as a valid lead signal. Multi-lead fusion was performed on all the valid lead signals to obtain the ECG characteristic wave detection results; The plurality of evidence value sequences include P-wave evidence value sequences, QRS wave evidence value sequences, T-wave evidence value sequences, and other waveform evidence value sequences; the step of calculating the mean confidence level of the corresponding lead signal based on the plurality of evidence value sequences includes: The P-wave evidence value, QRS wave evidence value, T-wave evidence value, and other waveform evidence values ​​of each sampling point of the lead signal are added together to obtain the sampling point evidence value. The average value of the evidence values ​​at all the sampling points is calculated to obtain the mean confidence level. The step of performing multi-lead fusion on all the valid lead signals to obtain the ECG characteristic wave detection results includes: The P-wave evidence value sequence, QRS wave evidence value sequence, T-wave evidence value sequence and other waveform evidence value sequence corresponding to all the lead signals are added together to obtain the total composite sequence; The P-wave evidence value sequences corresponding to all the lead signals are added together to obtain the P-wave evidence value composite sequence; the ratio of the P-wave evidence value composite sequence to the total composite sequence is taken as the P-wave probability sequence. The QRS wave evidence value sequences corresponding to all the lead signals are added together to obtain a comprehensive QRS wave evidence value sequence; the ratio of the comprehensive QRS wave evidence value sequence to the total comprehensive sequence is taken as the QRS wave probability sequence. The T-wave evidence value sequences corresponding to all the lead signals are summed to obtain a comprehensive T-wave evidence value sequence; the ratio of the comprehensive T-wave evidence value sequence to the total comprehensive sequence is taken as the T-wave probability sequence. The sequences of other waveform evidence values ​​corresponding to all the lead signals are added together to obtain a comprehensive sequence of other waveform evidence values; the ratio of the comprehensive sequence of other waveform evidence values ​​to the total comprehensive sequence is taken as the probability sequence of other waveforms. The P-wave probability sequence, QRS wave probability sequence, T-wave probability sequence, and other waveform probability sequences are used as the ECG characteristic wave detection results.

2. The method for detecting multi-lead electrocardiogram characteristic waves according to claim 1, characterized in that, After determining whether the average credibility value is greater than the average credibility value threshold, the method further includes: If the mean confidence level is less than or equal to the mean confidence level threshold, then the lead signal corresponding to the mean confidence level is considered an invalid lead signal.

3. The method for detecting multi-lead electrocardiogram characteristic waves according to claim 1, characterized in that, The step of inputting each lead signal into a deep evidence learning network to obtain multiple evidence value sequences includes: Each of the lead signals is input into the first module of the deep evidence learning network, and convolution, activation and normalization are performed sequentially to obtain the first intermediate signal; The first intermediate signal is input into the second module of the deep evidence learning network, and depthwise separable convolution, activation, depthwise separable convolution and normalization are performed sequentially to obtain the second intermediate signal; The second intermediate signal is input into the third module of the deep evidence learning network, and convolution and activation are performed sequentially to obtain the multiple evidence value sequences.

4. The method for detecting multi-lead electrocardiogram characteristic waves according to claim 1, characterized in that, The electrocardiogram signal is preprocessed to obtain multiple lead signals, including: The electrocardiogram signal is resampled to obtain a resampled signal; The resampled signal is bandpass filtered to obtain a filtered signal, which includes multiple lead signals.

5. The method for detecting multi-lead electrocardiogram characteristic waves according to claim 1, characterized in that, The deep evidence learning network is trained using a first loss function; the first loss function is: Among them, y c Here are the sample labels, c represents the sample category, P indicates P-wave, QRS indicates QRS-wave, T indicates T-wave, and O-wave indicates other waveforms. To adjust the parameter, e P Represents the P-wave evidence value sequence, e QRS e represents the QRS wave evidence value sequence. T Represents the T-wave evidence value sequence, e O e represents the sequence of other waveform evidence values. c Let be the sequence of sample evidence values, and Loss be the first loss function.

6. A multi-lead electrocardiogram characteristic wave detection device, characterized in that, The apparatus for implementing the multi-lead electrocardiogram characteristic wave detection method according to any one of claims 1 to 5, the apparatus comprising: ECG signal acquisition module, used to acquire ECG signals; An electrocardiogram (ECG) signal preprocessing module is used to preprocess the ECG signal to obtain multiple lead signals; The evidence value sequence calculation module is used to input each of the lead signals into a deep evidence learning network to obtain multiple evidence value sequences. The confidence mean calculation module is used to calculate the confidence mean of the corresponding lead signal based on the multiple evidence value sequences; The confidence mean judgment module is used to determine whether the confidence mean is greater than the confidence mean threshold. If so, the lead signal corresponding to the confidence mean is taken as a valid lead signal. The effective lead signal fusion module is used to perform multi-lead fusion of all the effective lead signals to obtain the ECG characteristic wave detection results.

7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the multi-lead electrocardiogram characteristic wave detection method according to any one of claims 1 to 5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the multi-lead electrocardiogram characteristic wave detection method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Multi-lead QRS wave group detection method, device and equipment and storage medium

    CN111345816A

  • Electrocardiogram anomaly detection method, model training method, device and equipment and medium

    CN111631705A