Atrial fibrillation detection processing method, medical equipment and storage medium
By performing heart beat classification and deep learning model detection on dynamic ECG signal data, and marking F waves, the problem of signal noise interference and positioning difficulties in paroxysmal atrial fibrillation detection is solved, and accurate positioning and positioning of paroxysmal atrial fibrillation are achieved. Efficient diagnosis.
Patent Information
- Application Number
- CN202310460928.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-18
- Publication Date
- 2024-10-22
AI Technical Summary
Existing ECG analysis technology is easily interfered by signal noise when detecting paroxysmal atrial fibrillation, leading to false detections, and cannot accurately locate the specific start and end times of paroxysmal atrial fibrillation.
By acquiring dynamic ECG signal data, heartbeat classification is performed to determine atrial fibrillation heartbeats, and a deep learning model is used to preprocess and detect signal segments, marking F waves to confirm the starting and ending heartbeats of paroxysmal atrial fibrillation segments. beats to achieve automatic detection and location of paroxysmal atrial fibrillation segments.
It improves the diagnostic efficiency of paroxysmal atrial fibrillation, reduces the false detection rate, and can accurately locate the occurrence moment and duration of paroxysmal atrial fibrillation.
Smart Images

Figure CN118806291A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electrocardiogram analysis, and in particular to a detection and processing method, medical equipment and storage medium for atrial fibrillation. Background Art
[0002] Atrial fibrillation is one of the most common arrhythmias in clinical practice. Atrial fibrillation can be divided into paroxysmal atrial fibrillation, persistent atrial fibrillation and permanent atrial fibrillation according to its duration. Among them, paroxysmal atrial fibrillation has the characteristics of short duration, difficult to capture the electrocardiogram, and high recurrence rate. As the course of the patient's disease increases, paroxysmal atrial fibrillation will continue to evolve into persistent atrial fibrillation and permanent atrial fibrillation. Therefore, it is of great significance to detect and locate paroxysmal atrial fibrillation.
[0003] At present, the R wave of the ECG signal is detected to obtain the RR interval corresponding to each heartbeat, and then the occurrence of atrial fibrillation is determined by judging the change pattern of the RR interval; however, this is easily interfered by signal noise, resulting in false detection, and misjudging non-atrial fibrillation as paroxysmal atrial fibrillation. ECG scatter plots are also used to identify atrial fibrillation, but scatter plots are usually drawn based on ECGs at a certain time interval, and cannot accurately locate the specific start and end time of paroxysmal atrial fibrillation. Summary of the invention
[0004] The present application at least provides a method for detecting and processing atrial fibrillation, a medical device and a storage medium to solve the above-mentioned problems.
[0005] The first aspect of the present application provides a method for detecting and processing atrial fibrillation, comprising: acquiring dynamic electrocardiogram signal data; classifying heartbeats of the dynamic electrocardiogram signal data to obtain atrial fibrillation heartbeats corresponding to the dynamic electrocardiogram signal data; and obtaining the starting heartbeat and / or ending heartbeat of a paroxysmal atrial fibrillation segment based on the atrial fibrillation heartbeats.
[0006] In some embodiments, the atrial fibrillation detection and processing method also includes: preprocessing the dynamic electrocardiogram signal data to obtain multiple signal segments; performing atrial fibrillation detection on the multiple signal segments to obtain paroxysmal atrial fibrillation segments among the multiple signal segments; and obtaining the starting heartbeat and / or ending heartbeat of the paroxysmal atrial fibrillation segment based on the atrial fibrillation heartbeat, including: obtaining the starting heartbeat and / or ending heartbeat of the paroxysmal atrial fibrillation segment based on the paroxysmal atrial fibrillation segment among the multiple signal segments.
[0007] In some embodiments, the atrial fibrillation detection and processing method also includes: performing f-wave detection on the dynamic electrocardiogram signal data or the multiple signal segments, and marking f-waves on the dynamic electrocardiogram signal data or the multiple signal segments, and the f-waves corresponding to the dynamic electrocardiogram signal data are used to further confirm whether paroxysmal atrial fibrillation exists in the dynamic electrocardiogram signal data.
[0008] In some embodiments, the atrial fibrillation detection and processing method also includes: displaying the f wave and the dynamic electrocardiogram data where the f wave is located or the multiple signal segments; in response to a preset operation instruction on a preset system interface, performing a corresponding preset operation on the f wave marked on the dynamic electrocardiogram signal data, wherein the preset operation includes at least one of adding, deleting, and correcting.
[0009] In some embodiments, the atrial fibrillation detection and processing method further includes: displaying the atrial fibrillation heartbeats corresponding to the dynamic electrocardiogram signal data and the information of the paroxysmal atrial fibrillation segment, wherein the atrial fibrillation heartbeats corresponding to the dynamic electrocardiogram signal data are displayed in an array according to the categories of atrial fibrillation heartbeats.
[0010] In some embodiments, the display of the atrial fibrillation heartbeats corresponding to the dynamic ECG signal data and the information of the paroxysmal atrial fibrillation segments specifically includes: the display of the information of the paroxysmal atrial fibrillation segments includes at least the occurrence time and duration of the paroxysmal atrial fibrillation, the current state of the paroxysmal atrial fibrillation segments, the occurrence order of the paroxysmal atrial fibrillation segments in the multiple signal segments and the number of the paroxysmal atrial fibrillation segments.
[0011] In some embodiments, the atrial fibrillation detection and processing method also includes: in response to a preset operation on any information of the paroxysmal atrial fibrillation segment on a preset system interface, jumping to the paroxysmal atrial fibrillation segment; in response to a confirmation operation on the paroxysmal atrial fibrillation segment, jumping to the information of the paroxysmal atrial fibrillation segment.
[0012] In some embodiments, the cases corresponding to the paroxysmal atrial fibrillation segments are displayed, and the number of paroxysmal atrial fibrillation segments corresponding to the cases and the duration of paroxysmal atrial fibrillation in the paroxysmal atrial fibrillation segments are displayed in a case list.
[0013] The second aspect of the present application provides a medical device, including an ECG acquisition device, a memory, a processor and a display coupled to each other, wherein the ECG acquisition device is used to acquire dynamic ECG signal data, and the processor is used to execute program instructions stored in the memory to implement the atrial fibrillation detection and processing method in the above-mentioned first aspect.
[0014] A third aspect of the present application provides a non-volatile computer-readable storage medium, wherein the computer-readable storage medium is used to store program instructions, and when the program instructions are executed by a processor, the program instructions are used to implement the atrial fibrillation detection and processing method in the first aspect.
[0015] The above scheme can obtain the atrial fibrillation heartbeats corresponding to the dynamic ECG signal data by classifying the heartbeats of the acquired dynamic ECG signal data; based on the atrial fibrillation heartbeats, the starting heartbeat and / or ending heartbeat of the paroxysmal atrial fibrillation segment can be obtained; the scheme in the present application can automatically detect and locate the paroxysmal atrial fibrillation segment, assist medical staff to quickly determine the paroxysmal atrial fibrillation segment, and effectively improve the diagnostic efficiency of paroxysmal atrial fibrillation.
[0016] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application and are used together with the specification to illustrate the technical solution of the present application.
[0018] Figure 1 is a flow chart of a method for detecting and processing atrial fibrillation in an embodiment of the present application;
[0019] Figure 2 is a schematic diagram of the structure of the medical device in the embodiment of the present application;
[0020] Figure 3 is a schematic diagram of atrial fibrillation detection scenario in an embodiment of the present application;
[0021] Figure 4 is a schematic diagram of a scene of wave detection in an embodiment of the present application;
[0022] Figure 5 This is a schematic diagram of a first display scene of a preset system interface in an embodiment of the present application;
[0023] Figure 6 This is a schematic diagram of a second display scene of a preset system interface in an embodiment of the present application;
[0024] Figure 7 is a schematic diagram of a third display scene of a preset system interface in an embodiment of the present application;
[0025] Figure 8 is a schematic diagram of a fourth display scene of a preset system interface in an embodiment of the present application;
[0026] Fig. 9 is a schematic diagram of a fifth display scene of a preset system interface in an embodiment of the present application;
[0027] FIG10( a ) is a schematic diagram of a first scenario of heartbeat classification in an embodiment of the present application;
[0028] FIG10( b ) is a schematic diagram of a second scenario of heartbeat classification in an embodiment of the present application;
[0029] Fig.11 It is a schematic diagram of the structure of the non-volatile computer-readable storage medium in an embodiment of the present application. DETAILED DESCRIPTION
[0030] The present application is further described in detail below in conjunction with the accompanying drawings and examples. It is particularly noted that the following examples are only used to illustrate the present application, but are not intended to limit the scope of the present application. Similarly, the following examples are only some embodiments of the present application rather than all embodiments, and all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0031] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0032] The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the objects associated before and after are in an "or" relationship. In addition, "many" in this article means two or more than two. In addition, the term "at least one" in this article means any combination of at least two of any one or more of a plurality of, for example, including at least one of A, B, and C, and can mean including any one or more elements selected from the set consisting of A, B, and C. In addition, the terms "first", "second", and "third" in this application are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
[0033] As mentioned above, paroxysmal atrial fibrillation is characterized by short duration, difficulty in capturing the ECG attack, and high recurrence rate. As the patient's disease course progresses, paroxysmal atrial fibrillation will continue to evolve into persistent atrial fibrillation and permanent atrial fibrillation. Therefore, it is of great significance to detect and locate paroxysmal atrial fibrillation.
[0034] At present, by detecting the R wave of the ECG signal to obtain the RR interval corresponding to each heartbeat, it is possible to screen for atrial fibrillation and exclude some premature beats, and then determine the occurrence of atrial fibrillation by judging the change pattern of the RR interval. However, this is easily interfered by signal noise, resulting in false detection and misjudging non-atrial fibrillation as paroxysmal atrial fibrillation.
[0035] The difference time scatter plot classification method can also be used to achieve intelligent diagnosis of paroxysmal atrial fibrillation, thereby detecting patients with subclinical atrial fibrillation. However, the scatter plot is usually drawn based on an electrocardiogram at a time interval, and it is impossible to accurately locate the specific start and end time of paroxysmal atrial fibrillation.
[0036] To this end, the present application at least provides a detection and processing method for atrial fibrillation, a medical device and a storage medium to solve the above problems.
[0037] See also Figure 1 , Figure 1 FIG. 1 is a flow chart of a method for detecting and processing atrial fibrillation in an embodiment of the present application. It should be noted that if there are substantially the same results, the method of the present application is not limited to Figure 1 The process sequence shown is limited. This method can be applied to a medical device 200 having functions such as calculation, see Figure 2 , Figure 2 2 is a schematic diagram of the structure of a medical device in an embodiment of the present application. The medical device 200 includes an electrocardiogram acquisition device 201, a memory 202, a processor 203 and a display 204 coupled to each other, the electrocardiogram acquisition device 201 is used to acquire dynamic electrocardiogram signal data, the processor 203 is used to execute the program instructions stored in the memory 202 to implement the steps in the embodiment of the detection and processing method of atrial fibrillation, and the display 204 is used to display the results obtained by the processor 203 executing the program instructions.
[0038] Specifically, the processor 203 is used to control itself and the memory 202 to implement the steps in the above-mentioned embodiment of the atrial fibrillation detection and processing method. The processor 203 can also be called a CPU (Central Processing Unit), and the processor 203 may be an integrated circuit chip with signal processing capabilities. The processor 203 can also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field-programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. In addition, the processor 203 can be implemented by an integrated circuit chip.
[0039] The medical device 200 may execute the method by receiving relevant information. Figure 1 As shown, the detection and processing method of atrial fibrillation includes the following steps:
[0040] S1. Obtaining dynamic ECG signal data.
[0041] It can be understood that the dynamic ECG signal data can be long-term dynamic ECG signal data, that is, ECG signal data collected continuously for a long time, such as ECG signal data collected continuously for 24 hours. The corresponding ECG signal data is collected continuously for a long time by the ECG acquisition device 201, so that the dynamic ECG signal data can be obtained; wherein, the ECG acquisition device 201 can be a dynamic ECG recording box, or other devices that can be implemented, without specific limitation.
[0042] S2. Classify the heartbeats of the dynamic electrocardiogram signal data to obtain the atrial fibrillation heartbeats corresponding to the dynamic electrocardiogram signal data.
[0043] After obtaining the dynamic ECG signal data, the dynamic ECG signal data can be input into the deep learning model, and the deep learning model can be used to classify the heartbeats of the dynamic ECG signal data, so as to classify the dynamic ECG signal data according to the heartbeat characteristics, thereby obtaining the atrial fibrillation heartbeats corresponding to the dynamic ECG signal data, wherein the categories of atrial fibrillation heartbeats may include normal (N), ventricular (V), supraventricular (S), artifact (X), and atrial fibrillation (AF). Among them, the specific type of deep learning model is not specifically limited. In other embodiments, other methods can also be used to classify the heartbeats of the dynamic ECG signal data, which can be selected according to actual use needs without specific limitations.
[0044] S3. According to the atrial fibrillation heartbeat, the starting heartbeat and / or ending heartbeat of the paroxysmal atrial fibrillation segment is obtained.
[0045] According to the obtained atrial fibrillation heartbeat, the starting heartbeat and / or ending heartbeat of the paroxysmal atrial fibrillation segment can be obtained, thereby achieving the positioning of the starting heartbeat and / or ending heartbeat of the paroxysmal atrial fibrillation segment.
[0046] The above scheme can obtain the atrial fibrillation heartbeats corresponding to the dynamic ECG signal data by classifying the heartbeats of the acquired dynamic ECG signal data; based on the atrial fibrillation heartbeats, the starting heartbeat and / or ending heartbeat of the paroxysmal atrial fibrillation segment can be obtained; the scheme in the present application can automatically detect and locate the paroxysmal atrial fibrillation segment, assist medical staff to quickly determine the paroxysmal atrial fibrillation segment, and effectively improve the diagnostic efficiency of paroxysmal atrial fibrillation.
[0047] In one embodiment of the present application, the method for detecting and processing atrial fibrillation also includes: preprocessing dynamic electrocardiogram signal data to obtain multiple signal segments; performing atrial fibrillation detection on the multiple signal segments to obtain paroxysmal atrial fibrillation segments in the multiple signal segments; and obtaining the starting heartbeat and / or ending heartbeat of the paroxysmal atrial fibrillation segments based on the atrial fibrillation heartbeat, including: obtaining the starting heartbeat and / or ending heartbeat of the paroxysmal atrial fibrillation segments based on the paroxysmal atrial fibrillation segments and atrial fibrillation heartbeats in the multiple signal segments.
[0048] It is understandable that after obtaining the dynamic electrocardiogram signal data, the dynamic electrocardiogram signal data is preprocessed, for example, the dynamic electrocardiogram signal data is intercepted at a preset time interval to obtain multiple signal segments. The preset time interval can be set to 10 seconds, or other achievable time intervals, without specific limitation.
[0049] A deep learning model can be used to detect atrial fibrillation on multiple signal segments to obtain paroxysmal atrial fibrillation segments in the multiple signal segments. For example, the obtained multiple signal segments are input into the deep learning model, and the deep learning model is used to detect atrial fibrillation on the multiple signal segments to achieve discrimination and screening of whether there are paroxysmal atrial fibrillation segments among the multiple signal segments; wherein the specific type of the deep learning model is not specifically limited. In other embodiments, other methods can also be used to detect atrial fibrillation on signal segments, which can be selected according to actual use requirements without specific limitation.
[0050] For example, Figure 3 is a schematic diagram of atrial fibrillation detection scenario in an embodiment of the present application, such as Figure 3 As shown, the deep learning model includes multiple convolutional layers, pooling layers, and activation layers, wherein the convolutional neural network can extract high-dimensional features in the signal segment and return the predicted probability value of paroxysmal atrial fibrillation through the softmax layer. Furthermore, based on the predicted probability value of paroxysmal atrial fibrillation, a binary classification is performed between paroxysmal atrial fibrillation and non-paroxysmal atrial fibrillation; for example, when the predicted probability value is greater than a preset threshold, it is judged as paroxysmal atrial fibrillation, and when the predicted probability value is less than a preset threshold, it is judged as non-paroxysmal atrial fibrillation; or other achievable discrimination methods are all acceptable, without specific limitation, thereby obtaining a paroxysmal atrial fibrillation segment in multiple signal segments, and the paroxysmal atrial fibrillation segment indicates that paroxysmal atrial fibrillation occurs in the signal segment.
[0051] Thus, according to the paroxysmal atrial fibrillation segments and atrial fibrillation heartbeats in the multiple signal segments, the starting heartbeat and / or ending heartbeat of the paroxysmal atrial fibrillation segment can be obtained. Among them, the step of preprocessing the dynamic electrocardiogram signal data to obtain multiple signal segments and performing atrial fibrillation detection on the multiple signal segments can be placed before or after the step of classifying the heartbeats of the dynamic electrocardiogram signal data, and is not specifically limited.
[0052] In one embodiment of the present application, the method for detecting and processing atrial fibrillation also includes: performing f-wave detection on the dynamic electrocardiogram signal data or multiple signal segments, and marking the f-wave on the dynamic electrocardiogram signal data or multiple signal segments, and the f-wave corresponding to the dynamic electrocardiogram signal data is used to further confirm whether paroxysmal atrial fibrillation exists in the dynamic electrocardiogram signal data.
[0053] It is understandable that after obtaining the dynamic electrocardiogram signal data, further analyzing the dynamic electrocardiogram signal data, that is, performing f-wave detection on the dynamic electrocardiogram signal data, can improve the accuracy of paroxysmal atrial fibrillation detection. Alternatively, after obtaining the dynamic electrocardiogram signal data, preprocessing the dynamic electrocardiogram signal data to obtain multiple signal segments, performing f-wave detection on the multiple signal segments, and marking f-waves on the multiple signal segments.
[0054] A semantic segmentation algorithm, such as a deep learning semantic segmentation algorithm, can be used to perform f-wave detection on the dynamic ECG signal data or multiple signal segments, so as to detect and identify the f-waves corresponding to the dynamic ECG signal data or multiple signal segments, and obtain the f-waves corresponding to the dynamic ECG signal data or multiple signal segments. The detected f-waves are marked on the dynamic ECG signal data or multiple signal segments to further confirm whether paroxysmal atrial fibrillation exists in the dynamic ECG signal data. For example, the f-waves can be marked with preset graphics, wherein the preset graphics can be a circle, a triangle, a square, or other graphics that can be realized, without specific limitation. In other embodiments, other algorithms or other methods can also be used for f-wave detection, which can be selected according to actual use requirements without specific limitation.
[0055] For example, Figure 4 is a schematic diagram of a scene of wave detection in an embodiment of the present application, such as Figure 4 As shown in the figure, the f-wave detection of the dynamic ECG signal data can be performed using the semantic segmentation algorithm to obtain the f-wave in the dynamic ECG signal data. The symmetric encoder-decoder (Encoder-Decoder) network structure can be used to semantically segment the dynamic ECG signal data. The encoder performs convolution (Conv+Batch Normalization+ReLu) and maximum pooling (Pooling). When performing maximum pooling, the corresponding maximum pooling index (position) is stored; the decoder performs upsampling (Upsampling) and convolution (Conv+Batch Normalization+ReLu), and finally inputs the feature map into the normalized exponential function (softmax) classifier. The softmax classifier will output a probability distribution equal to the length of the input dynamic ECG signal data, and obtain the f-wave area in the dynamic ECG signal data according to the probability distribution.
[0056] The feature map of the encoder is spliced with the upsampled feature map of the decoder at each stage to form a trapezoidal structure. Through the jump splicing architecture, the decoder is allowed to learn the relevant features lost in the encoder pooling at each stage to more accurately segment the f-wave area in the dynamic ECG signal data. After obtaining the corresponding f-wave of the dynamic ECG signal data, as shown in Figure 4 As shown, the f-wave is marked with a circular pattern to further confirm paroxysmal atrial fibrillation in the dynamic ECG signal data.
[0057] The step of performing f-wave detection on the dynamic electrocardiogram signal data may be before or after the step of performing heartbeat classification on the dynamic electrocardiogram signal data, without any specific limitation.
[0058] As described above, f-wave detection is performed on the dynamic electrocardiogram signal data or multiple signal segments, and f-waves are marked on the dynamic electrocardiogram signal data or multiple signal segments. In one embodiment of the present application, the detection and processing method of atrial fibrillation also includes: displaying the f-wave and the dynamic electrocardiogram signal data or multiple signal segments where the f-wave is located; responding to the preset operation instruction on the preset system interface, performing a corresponding preset operation on the f-wave marked on the dynamic electrocardiogram signal data, wherein the preset operation includes at least one of adding, deleting, and modifying.
[0059] It is understandable that the f wave is marked on the dynamic electrocardiogram signal data or multiple signal segments, and the f wave and the dynamic electrocardiogram signal data or multiple signal segments where the f wave is located are displayed. Among them, the f wave and the dynamic electrocardiogram signal data or multiple signal segments where the f wave is located can be displayed through a preset system interface. For example, Figure 5 is a schematic diagram of a first display scene of a preset system interface in an embodiment of the present application, such as Figure 5 As shown, the preset system interface can be displayed through the display 204, wherein the preset system interface can display the f wave and the dynamic electrocardiogram signal data or multiple signal segments where the f wave is located.
[0060] In response to the preset operation instruction on the preset system interface, the f wave marked on the dynamic electrocardiogram signal data is subjected to a corresponding preset operation, wherein the preset operation includes at least one of adding, deleting, and correcting. For example, the display 204 may be a touch screen display, and the preset system interface is displayed through the touch screen display. The medical staff further confirms the marked f wave by viewing the dynamic electrocardiogram signal data and the f wave marked on the dynamic electrocardiogram signal data in the displayed preset system interface, which can assist the medical staff to better confirm whether paroxysmal atrial fibrillation occurs. In addition, the medical staff can perform a corresponding preset operation on the f wave marked on the dynamic electrocardiogram signal data displayed on the preset system interface according to actual use needs, that is, directly operate the corresponding position in the preset system interface displayed on the touch screen display with a preset gesture, such as clicking and sliding, so as to achieve adding an f wave mark, deleting an f wave mark, and correcting an f wave mark.
[0061] As described above, the heartbeat classification is performed on the dynamic electrocardiogram signal data to obtain the atrial fibrillation heartbeat corresponding to the dynamic electrocardiogram signal data. In one embodiment of the present application, the detection and processing method of atrial fibrillation further includes: displaying the atrial fibrillation heartbeat corresponding to the dynamic electrocardiogram signal data and the information of the paroxysmal atrial fibrillation segment, wherein the atrial fibrillation heartbeat corresponding to the dynamic electrocardiogram signal data is displayed in an array according to the category of the atrial fibrillation heartbeat.
[0062] It can be understood that after obtaining the information of atrial fibrillation heartbeats and paroxysmal atrial fibrillation segments corresponding to the dynamic electrocardiogram signal data, the information of atrial fibrillation heartbeats and paroxysmal atrial fibrillation segments corresponding to the dynamic electrocardiogram signal data are displayed through a preset system interface. For example, the preset system interface can be displayed through the display 204, and the information of atrial fibrillation heartbeats and paroxysmal atrial fibrillation segments corresponding to the dynamic electrocardiogram signal data can be displayed in the preset system interface. The categories of atrial fibrillation heartbeats may include normal (N), ventricular (V), supraventricular (S), artifact (X), and atrial fibrillation (AF). Among them, the atrial fibrillation heartbeats of the dynamic electrocardiogram signal data displayed in the preset system interface are displayed in an array according to the categories of atrial fibrillation heartbeats.
[0063] For example, Figure 6 is a schematic diagram of a second display scene of a preset system interface in an embodiment of the present application, such as Figure 6 As shown, the atrial fibrillation heartbeats of the dynamic ECG signal data displayed in the preset system interface are displayed in an array according to the categories of atrial fibrillation heartbeats, namely, normal (N), ventricular (V), supraventricular (S), artifact (X), and atrial fibrillation (AF).
[0064] As described above, atrial fibrillation detection is performed on multiple signal segments to obtain paroxysmal atrial fibrillation segments in the multiple signal segments. In one embodiment of the present application, the information of displaying atrial fibrillation heartbeats and paroxysmal atrial fibrillation segments corresponding to the dynamic electrocardiogram signal data specifically includes: the information of displaying the paroxysmal atrial fibrillation segments at least includes the occurrence time and duration of the paroxysmal atrial fibrillation, the current state of the paroxysmal atrial fibrillation segments, the occurrence order of the paroxysmal atrial fibrillation segments in the multiple signal segments, and the number of the paroxysmal atrial fibrillation segments.
[0065] After obtaining the paroxysmal atrial fibrillation segment from the plurality of signal segments, information of the paroxysmal atrial fibrillation segment is displayed. The information of the paroxysmal atrial fibrillation segment is displayed through a preset system interface. For example, the preset system interface can be displayed through the display 204. The preset system interface can display the information of the paroxysmal atrial fibrillation segment. For example, Figure 7 is a schematic diagram of a third display scene of a preset system interface in an embodiment of the present application, such as Figure 7 As shown, the information displayed on the paroxysmal atrial fibrillation segment includes at least the occurrence time and duration of the paroxysmal atrial fibrillation, the current state of the paroxysmal atrial fibrillation segment, the occurrence order of the paroxysmal atrial fibrillation segment in multiple signal segments, and the number of paroxysmal atrial fibrillation segments. Thus, medical staff can observe the specific time and duration of the paroxysmal atrial fibrillation in the dynamic electrocardiogram signal data through the prompts in the preset system interface.
[0066] As described above, the information of the paroxysmal atrial fibrillation segment among the multiple signal segments is displayed through a preset system interface. In one embodiment of the present application, the detection and processing method of atrial fibrillation further includes: in response to a preset operation on any information of the paroxysmal atrial fibrillation segment on the preset system interface, jumping to the paroxysmal atrial fibrillation segment; in response to a confirmation operation of the paroxysmal atrial fibrillation segment, jumping to the information of the paroxysmal atrial fibrillation segment.
[0067] For example, the display 204 may be a touch screen display, and the preset system interface is displayed by the touch screen display, and the preset system interface displays information of the paroxysmal atrial fibrillation segment. By viewing the information about the paroxysmal atrial fibrillation segment displayed on the preset system interface, the medical staff can perform corresponding preset operations on any information of the paroxysmal atrial fibrillation segment displayed on the preset system interface according to actual needs. For example, the preset operation may be a preset click operation, that is, directly performing a preset click operation at a corresponding position in the preset system interface displayed on the touch screen display, such as single click, double click, or other achievable operations, which can be set according to actual use needs and are not specifically limited. Thus, in response to the preset operation of any information of the paroxysmal atrial fibrillation segment on the preset system interface, jump to the paroxysmal atrial fibrillation segment, so that the medical staff can view the corresponding paroxysmal atrial fibrillation segment. Among them, the medical staff can perform a confirmation operation or a correction operation on the displayed paroxysmal atrial fibrillation segment. In response to the confirmation operation of the paroxysmal atrial fibrillation segment, jump to the information of the paroxysmal atrial fibrillation segment.
[0068] Please refer again Figure 7 , the medical staff can perform corresponding preset operations on the information of the paroxysmal atrial fibrillation segment whose current status is 'unconfirmed'. For example, a preset click operation is performed on the information of the paroxysmal atrial fibrillation segment with the sequence number 3. In response to the preset click operation on the information with the sequence number 3 on the preset system interface, jump to the corresponding paroxysmal atrial fibrillation segment of the information with the sequence number 3. In response to the confirmation operation of the paroxysmal atrial fibrillation segment with the sequence number 3, jump to the information of the paroxysmal atrial fibrillation segment. Figure 8 is a schematic diagram of a fourth display scene of a preset system interface in an embodiment of the present application, such as Figure 8 As shown, the current status of the paroxysmal atrial fibrillation segment with sequence number 3 is changed to 'confirmed'.
[0069] As described above, atrial fibrillation detection is performed on multiple signal segments to obtain paroxysmal atrial fibrillation segments in the multiple signal segments. In one embodiment of the present application, the atrial fibrillation detection and processing method further includes: displaying cases corresponding to the paroxysmal atrial fibrillation segments, and displaying the number of paroxysmal atrial fibrillation segments corresponding to the cases and the duration of paroxysmal atrial fibrillation in the paroxysmal atrial fibrillation segments in the case list.
[0070] It can be understood that after obtaining the paroxysmal atrial fibrillation segments in multiple signal segments, the information of the paroxysmal atrial fibrillation segments will be displayed, and the cases corresponding to the paroxysmal atrial fibrillation segments will be displayed, and the number of paroxysmal atrial fibrillation segments corresponding to the cases and the duration of paroxysmal atrial fibrillation in the paroxysmal atrial fibrillation segments will be displayed in the case list. For example, if it is detected that the frequency of paroxysmal atrial fibrillation in any case is high, that is, the number of paroxysmal atrial fibrillation occurrences in any case is greater than a preset threshold, then the number of paroxysmal atrial fibrillation segments corresponding to the case and the duration of paroxysmal atrial fibrillation in the paroxysmal atrial fibrillation segments will be marked in a preset manner in the case list. For example, Fig. 9 is a schematic diagram of the fifth display scene of the preset system interface in the embodiment of the present application, such as Fig. 9 As shown, the cases corresponding to the paroxysmal atrial fibrillation segments can be marked in red and displayed at the top in the case table to prompt medical staff to check and confirm them first, thereby improving diagnostic efficiency.
[0071] As described above, the heartbeat classification is performed on the dynamic electrocardiogram signal data to obtain the atrial fibrillation heartbeat corresponding to the dynamic electrocardiogram signal data. In one embodiment of the present application, the heartbeat classification is performed on the dynamic electrocardiogram signal data, including: preprocessing the dynamic electrocardiogram signal data to obtain the preprocessed dynamic electrocardiogram signal data; classifying the preprocessed dynamic electrocardiogram signal data to output the atrial fibrillation heartbeat corresponding to the dynamic electrocardiogram signal data.
[0072] The dynamic electrocardiogram signal data is preprocessed to obtain preprocessed dynamic electrocardiogram signal data. The preprocessed dynamic electrocardiogram signal data is input into the deep learning model, and the deep learning model is used to classify the heartbeats of the preprocessed dynamic electrocardiogram signal data to output the atrial fibrillation heartbeats in the dynamic electrocardiogram signal data. The categories of atrial fibrillation heartbeats may include normal (N), ventricular (V), supraventricular (S), artifact (X), and atrial fibrillation (AF). Among them, the specific type of deep learning model is not specifically limited. In other embodiments, other methods can also be used to classify the heartbeats of the preprocessed dynamic electrocardiogram signal data, which can be selected according to actual use needs without specific limitation.
[0073] For example, Figure 10(a) is a schematic diagram of the first scenario of heartbeat classification in an embodiment of the present application, and Figure 10(b) is a schematic diagram of the second scenario of heartbeat classification in an embodiment of the present application. As shown in Figures 10(a) and 10(b), the preprocessed dynamic ECG signal data is input (Input) into the deep learning model, and the convolutional layer (convolutional layer) in the deep learning model is used for reasoning to output (Output) the predicted probability value of atrial fibrillation heartbeat, and then based on the corresponding predicted probability value, the atrial fibrillation heartbeat in the dynamic ECG signal data is output.
[0074] As described above, the dynamic electrocardiogram signal data is preprocessed to obtain the preprocessed dynamic electrocardiogram signal data. In one embodiment of the present application, the dynamic electrocardiogram signal data is preprocessed, including: intercepting all heartbeats in the dynamic electrocardiogram signal data to obtain intercepted heartbeat data; aligning all intercepted heartbeat data to obtain all aligned heartbeat data, wherein all aligned heartbeat data have the same length; reducing the sampling rate of all aligned heartbeat data to a preset value, thereby obtaining the preprocessed dynamic electrocardiogram signal data.
[0075] All heartbeats in the dynamic electrocardiogram signal data are intercepted in a preset manner to obtain intercepted heartbeat data. The preset manner can be set according to actual use requirements, such as the preset manner can be to intercept the heartbeat according to a preset time length, without specific limitation. The intercepted heartbeat data are aligned so that all aligned heartbeat data have the same length, thereby obtaining all aligned heartbeat data. The sampling rate of all aligned heartbeat data is reduced to a preset value, thereby obtaining pre-processed dynamic electrocardiogram signal data, wherein the preset value can be set according to actual use requirements, without specific limitation.
[0076] See also Fig.11 , Fig.11 The computer-readable storage medium 110 is used to store program instructions 111, which, when executed by the processor 203, are used to implement the steps in the above-mentioned atrial fibrillation detection and processing method embodiment.
[0077] The above description of various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other, and for the sake of brevity, they will not be repeated herein.
[0078] In the several embodiments provided in the present application, it should be understood that the disclosed methods and related devices can be implemented in other ways. For example, the above-described related device implementations are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication disconnection shown or discussed can be through some interfaces, indirect coupling or communication disconnection of devices or units, which can be electrical, mechanical or other forms.
[0079] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0080] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of each implementation method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.
Claims
1. A method for detecting and processing atrial fibrillation, It is characterized in that include: Obtaining dynamic ECG signal data; Performing heartbeat classification on the dynamic electrocardiogram signal data to obtain atrial fibrillation heartbeats corresponding to the dynamic electrocardiogram signal data; Based on the atrial fibrillation heartbeat, the starting heartbeat and / or ending heartbeat of the paroxysmal atrial fibrillation segment is obtained.
2. The method according to claim 1, It is characterized in that The atrial fibrillation detection and processing method further includes: Preprocessing the dynamic electrocardiogram signal data to obtain multiple signal segments; Performing atrial fibrillation detection on the multiple signal segments to obtain paroxysmal atrial fibrillation segments in the multiple signal segments; According to the atrial fibrillation heartbeat, obtaining the starting heartbeat and / or ending heartbeat of the paroxysmal atrial fibrillation segment includes: According to the paroxysmal atrial fibrillation segment in the multiple signal segments, the starting heartbeat and / or ending heartbeat of the paroxysmal atrial fibrillation segment is obtained.
3. The method according to claim 1 or 2, It is characterized in that The atrial fibrillation detection and processing method further includes: F-wave detection is performed on the dynamic electrocardiogram signal data or the multiple signal segments, and f-waves are marked on the dynamic electrocardiogram signal data or the multiple signal segments. The f-waves corresponding to the dynamic electrocardiogram signal data are used to further confirm whether paroxysmal atrial fibrillation exists in the dynamic electrocardiogram signal data.
4. The method according to claim 3, It is characterized in that The atrial fibrillation detection and processing method further includes: Display the f-wave and the dynamic electrocardiogram data where the f-wave is located or the multiple signal segments; In response to a preset operation instruction on a preset system interface, a corresponding preset operation is performed on the f wave marked on the dynamic electrocardiogram signal data, wherein the preset operation includes at least one of adding, deleting, and modifying.
5. The method according to claim 1 or 2, It is characterized in that The atrial fibrillation detection and processing method further includes: The atrial fibrillation heartbeats corresponding to the dynamic electrocardiogram signal data and the information of the paroxysmal atrial fibrillation segment are displayed, wherein the atrial fibrillation heartbeats corresponding to the dynamic electrocardiogram signal data are displayed in an array according to the categories of atrial fibrillation heartbeats.
6. The method according to claim 5, It is characterized in that The information displaying the atrial fibrillation heartbeat corresponding to the dynamic electrocardiogram signal data and the paroxysmal atrial fibrillation segment specifically includes: The information displayed on the paroxysmal atrial fibrillation segments includes at least the occurrence time and duration of the paroxysmal atrial fibrillation, the current state of the paroxysmal atrial fibrillation segments, the occurrence order of the paroxysmal atrial fibrillation segments in the multiple signal segments, and the number of the paroxysmal atrial fibrillation segments.
7. The method according to claim 6, It is characterized in that The atrial fibrillation detection and processing method further includes: In response to a preset operation on any information of the paroxysmal atrial fibrillation segment on a preset system interface, jumping to the paroxysmal atrial fibrillation segment; In response to the confirmation operation on the paroxysmal atrial fibrillation segment, the program will jump to the information of the paroxysmal atrial fibrillation segment.
8. The method according to claim 6, It is characterized in that The atrial fibrillation detection and processing method further includes: The cases corresponding to the paroxysmal atrial fibrillation segments are displayed, and the number of paroxysmal atrial fibrillation segments corresponding to the cases and the duration of paroxysmal atrial fibrillation in the paroxysmal atrial fibrillation segments are displayed in a case list.
9. A medical device, It is characterized in that It comprises an ECG acquisition device, a memory, a processor and a display coupled to each other, wherein the ECG acquisition device is used to acquire dynamic ECG signal data, and the processor is used to execute program instructions stored in the memory to implement the method described in any one of claims 1 to 8.
10. A non-volatile computer-readable storage medium having program instructions stored thereon, It is characterized in that When the program instructions are executed by a processor, the method according to any one of claims 1 to 8 is implemented.
