Heart beat diagnosis result reverse confirmation method, terminal equipment and storage medium
By grouping heartbeats and using Lorenz scatter plots, the method efficiently verifies heartbeat types, enhancing diagnostic accuracy and reducing errors in electrocardiogram analysis.
Patent Information
- Application Number
- CN202411677089.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-22
- Publication Date
- 2024-12-24
- Estimated Expiration
- 2044-11-22
AI Technical Summary
The inefficiency and impracticality of manually confirming the accuracy of each heartbeat in a large volume of electrocardiogram data hinders the doctor's work efficiency in diagnosing arrhythmia.
A method involving grouping heartbeats at fixed intervals, calculating average heart rate and variability, determining rhythm jump-out points, and using Lorenz scatter plots to display and verify the accuracy of heartbeat types.
Enables quick confirmation of pre-diagnosis results, reducing missed and misdiagnoses by visually distinguishing different heart rhythms through distinct Lorenz scatter plots.
Smart Images

Figure CN119174613A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electrocardiogram diagnosis, and in particular to a method for reversely confirming a cardiac beat diagnosis result, a terminal device and a storage medium. Background Art
[0002] In the daily dynamic electrocardiogram diagnosis and analysis process, a 24-hour dynamic electrocardiogram has about 80,000 to 140,000 heartbeats. The diagnosing doctor needs to edit and confirm the accuracy of the types and positions of such a large number of heartbeats, and then issue the number of arrhythmia heartbeats and diagnostic conclusions of this dynamic electrocardiogram. It is definitely impractical to confirm the accuracy of each heartbeat, so a function that can batch confirm the accuracy of heartbeat information and qualitative dynamic electrocardiogram arrhythmia is needed to improve the doctor's work efficiency. Summary of the invention
[0003] In order to solve the above problems, the present invention proposes a method for reverse confirmation of heartbeat diagnosis results, a terminal device and a storage medium.
[0004] The specific plan is as follows: A method for reverse confirmation of heartbeat diagnosis results comprises the following steps: S1: receiving electrocardiogram data including a heartbeat type diagnosis result, and generating a corresponding heartbeat sequence; S2: group the heartbeat sequences according to fixed intervals, and calculate the average heart rate, number of heartbeat types and heart rate variability corresponding to each group of heartbeats; S3: Calculate the distance between two adjacent groups of heartbeats according to the average heart rate, number of heartbeat types and heart rate variability of each group of heartbeats; S4: determining a rhythm jump-out point of the heartbeat sequence based on two adjacent groups of heartbeats whose distance is greater than a distance threshold; S5: After segmenting the heartbeat sequence by rhythm jump-out points, different Lorenz scatter plots are used to display the heartbeats corresponding to different segments; S6: Determine whether the corresponding heartbeat type is accurately diagnosed based on each displayed Lorenz scatter plot.
[0005] Furthermore, the fixed interval is 10 heart beats.
[0006] Furthermore, the calculation formula for the distance between two adjacent groups of heartbeats is:
[0007] in, represents the distance between the nth group of heart beats and the n+1th group of heart beats, and Respectively represent the average heart rate of the nth group of heart beats and the n+1th group of heart beats, and They represent the number of heartbeat types contained in the nth heartbeat group and the n+1th heartbeat group, respectively. and They represent the heart rate variability of the nth group of heart beats and the n+1th group of heart beats respectively.
[0008] Further, when determining the rhythm jump-out point of the heartbeat sequence based on two adjacent groups of heartbeats whose distance is greater than a distance threshold, when the distance between the two adjacent groups of heartbeats is greater than the distance threshold, the segmentation point of the two adjacent groups of heartbeats is used as the rhythm jump-out point.
[0009] A terminal device for reverse confirmation of cardiac diagnosis results comprises a processor, a memory and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the method described above in the embodiment of the present invention are implemented.
[0010] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described above in an embodiment of the present invention are implemented.
[0011] The present invention adopts the above technical solution to display heartbeats of different rhythms in the form of different Lorenz scatter plots, so that doctors can quickly confirm the accuracy of the pre-diagnosis results to avoid missed diagnosis and misdiagnosis. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 Shown is a flow chart of a method according to a first embodiment of the present invention.
[0013] Figure 2 Shown is a Lorenz scatter plot when the heartbeat type is atrial fibrillation in this embodiment.
[0014] Figure 3 Shown is a Lorenz scatter plot when the heart beat type is atrial flutter in this embodiment.
[0015] Figure 4 The figure shows the Lorenz scatter plot when the heartbeat type is premature ventricular bigeminy in this embodiment.
[0016] Figure 5 The Lorenz scatter plot is shown when the heartbeat type is ventricular parallel rhythm in this embodiment. DETAILED DESCRIPTION
[0017] To further illustrate various embodiments, the present invention provides drawings. These drawings are part of the disclosure of the present invention, which are mainly used to illustrate the embodiments and can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments. With reference to these contents, ordinary technicians in this field should be able to understand other possible implementations and advantages of the present invention.
[0018] The present invention will now be further described with reference to the accompanying drawings and specific implementation methods.
[0019] Embodiment 1: The embodiment of the present invention provides a method for reverse confirmation of heartbeat diagnosis results, which is based on the doctor having completed basic diagnosis work on a piece of electrocardiogram data (i.e., having completed editing of the heartbeat type of each heartbeat), such as Figure 1 As shown, the method comprises the following steps: S1: Receive electrocardiogram data including heartbeat type diagnosis results and generate corresponding heartbeat sequences.
[0020] The order of each heartbeat in the heartbeat sequence is sorted according to the order of each heartbeat corresponding to the electrocardiogram, and the heartbeat data can be scanned starting from the beginning of the electrocardiogram.
[0021] The heart beat types include normal and various arrhythmias, such as atrial fibrillation, atrial flutter, etc.
[0022] S2: The heartbeat sequences are grouped at fixed intervals and the average heart rate (HR), number of beat types (BN) and heart rate variability (RMSSD) corresponding to each group of heartbeats are calculated.
[0023] The fixed interval set in this embodiment is 10 heart beats, that is, 10 heart beats form a group.
[0024] The heartbeat of the nth group is recorded as X n =[HR n ,BN n ,RMSSD n ].
[0025] S3: Calculate the distance between two adjacent groups of heartbeats based on the average heart rate, number of heartbeat types and heart rate variability of each group of heartbeats.
[0026] The calculation formula of the distance between two adjacent groups of heartbeats in this embodiment is:
[0027] in, represents the distance between the nth group of heart beats and the n+1th group of heart beats, and Respectively represent the average heart rate of the nth group of heart beats and the n+1th group of heart beats, and They represent the number of heartbeat types contained in the nth heartbeat group and the n+1th heartbeat group, respectively. and They represent the heart rate variability of the nth group of heart beats and the n+1th group of heart beats respectively.
[0028] S4: Determine a rhythm jump-out point of the heartbeat sequence based on two adjacent groups of heartbeats whose distance is greater than a distance threshold.
[0029] There are about 100,000 heartbeats in a 24-hour dynamic electrocardiogram. The heartbeat information (including arrhythmia type, interval, amplitude, etc.) in a continuous time period is constantly changing, but this change will present a regular repetitive cycle, which we call rhythm. Heart rhythm refers to a series of electrical activities of the atria and ventricles caused by the impulses sent by the sinoatrial node through the atrioventricular node, the atrioventricular bundle, and finally through the left and right bundle branches and transmitted to the Purkinje fibers. It is reflected in the electrocardiogram that the intervals within a period of time may be small, large, absolutely irregular, or may have regular alternations of fast and slow, etc.
[0030] When the collected heartbeat changes no longer conform to the previous rules, the subsequent heartbeats may start another regular repetitive cycle, that is, forming a new rhythm. The time point when the previous rhythm ended is called the rhythm jump-out point.
[0031] In this embodiment, when the rhythm exit point of the heartbeat sequence is determined based on two adjacent groups of heartbeats whose distance is greater than the distance threshold, when the distance between the two adjacent groups of heartbeats is greater than the distance threshold, the division point of the two adjacent groups of heartbeats is used as the rhythm exit point, that is, when the distance between the nth group of heartbeats and the n+1th group of heartbeats is greater than the distance threshold, the division point between the nth group of heartbeats and the n+1th group of heartbeats is used as the rhythm exit point.
[0032] The cardiac sequence may contain multiple rhythm jump points, and all rhythm jump points need to be found.
[0033] The size of the distance threshold can be set by those skilled in the art based on experimental data and is not limited here.
[0034] S5: After segmenting the heartbeat sequence by rhythm jump-out points, different Lorenz scatter plots are used to display the heartbeats corresponding to different segments.
[0035] When M rhythm jump-out points are found, the heart beat sequence is divided into M+1 segments.
[0036] The Lorenz scatter plot is a two-dimensional coordinate system, in which the horizontal axis represents the heartbeat interval and the vertical axis represents the compensatory interval of the heartbeat. The interval refers to the time interval between the current heartbeat and the previous heartbeat. The compensatory interval refers to the process of premature beats, in which the premature contraction of premature beats causes the heart rhythm to be reorganized, resulting in a compensatory gap.
[0037] S6: Determine whether the corresponding heartbeat type is accurately diagnosed based on each displayed Lorenz scatter plot.
[0038] Since each heartbeat corresponds to the same rhythm, when it is displayed through a Lorenz scatter plot, the type of heartbeat can be better judged based on the display result, and then the judgment result based on the Lorenz scatter plot can be compared with the diagnosis result to determine whether the diagnosis result is correct.
[0039] The embodiment of the present invention presents the characteristics of Lorenz scatter plots with different distribution forms according to different arrhythmia heart rates, such as Figure 2-5 The Lorenz scatter plots shown correspond to atrial fibrillation, atrial flutter, premature ventricular bigeminy, and ventricular parallel rhythm. Displaying heart beats of different rhythms in the form of different Lorenz scatter plots can help doctors quickly confirm the accuracy of the pre-diagnosis results to avoid missed diagnosis and misdiagnosis.
[0040] Embodiment 2: The present invention also provides a terminal device for reverse confirmation of cardiac diagnosis results, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps in the above-mentioned method embodiment of the first embodiment of the present invention when executing the computer program.
[0041] Further, as an executable solution, the terminal device for reverse confirmation of the heartbeat diagnosis result can be a computing device such as a desktop computer, a notebook, a PDA, and a cloud server. The terminal device for reverse confirmation of the heartbeat diagnosis result can include, but is not limited to, a processor and a memory. Those skilled in the art can understand that the composition structure of the terminal device for reverse confirmation of the heartbeat diagnosis result is only an example of the terminal device for reverse confirmation of the heartbeat diagnosis result, and does not constitute a limitation on the terminal device for reverse confirmation of the heartbeat diagnosis result. It can include more or less components than the above, or combine certain components, or different components. For example, the terminal device for reverse confirmation of the heartbeat diagnosis result can also include input and output devices, network access devices, buses, etc., and the embodiment of the present invention does not limit this.
[0042] Further, as an executable solution, the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the heartbeat diagnosis result reverse confirmation terminal device, and uses various interfaces and lines to connect various parts of the entire heartbeat diagnosis result reverse confirmation terminal device.
[0043] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the terminal device for reverse confirmation of cardiac diagnosis results by running or executing the computer program and / or module stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system and an application required for at least one function; the data storage area can store data created according to the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0044] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above method in the embodiment of the present invention are implemented.
[0045] If the module / unit integrated in the terminal device for reverse confirmation of the heartbeat diagnosis result 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 present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, Random Access Memory) and software distribution medium, etc.
[0046] Although the present invention has been specifically shown and described in conjunction with the preferred embodiments, it should be understood by those skilled in the art that various changes may be made to the present invention in form and details without departing from the spirit and scope of the present invention as defined by the appended claims, all of which are within the scope of protection of the present invention.
Claims
1. A method for reverse confirmation of heart beat diagnosis results, characterized in that: The following steps are involved: S1: receiving electrocardiogram data including a heartbeat type diagnosis result, and generating a corresponding heartbeat sequence; S2: group the heartbeat sequences according to fixed intervals, and calculate the average heart rate, number of heartbeat types and heart rate variability corresponding to each group of heartbeats; S3: Calculate the distance between two adjacent groups of heartbeats according to the average heart rate, number of heartbeat types and heart rate variability of each group of heartbeats; S4: determining a rhythm jump-out point of the heartbeat sequence based on two adjacent groups of heartbeats whose distance is greater than a distance threshold; S5: After segmenting the heartbeat sequence by rhythm jump-out points, different Lorenz scatter plots are used to display the heartbeats corresponding to different segments; S6: Determine whether the corresponding heartbeat type is accurately diagnosed based on each displayed Lorenz scatter plot.
2. The method for reverse confirmation of heartbeat diagnosis result according to claim 1, characterized in that: The fixed interval is 10 heart beats.
3. The method for reverse confirmation of heart beat diagnosis result according to claim 1, characterized in that: The calculation formula for the distance between two adjacent groups of heartbeats is: in, represents the distance between the nth group of heart beats and the n+1th group of heart beats, and Respectively represent the average heart rate of the nth group of heart beats and the n+1th group of heart beats, and They represent the number of heartbeat types contained in the nth heartbeat group and the n+1th heartbeat group, respectively. and They represent the heart rate variability of the nth group of heart beats and the n+1th group of heart beats respectively.
4. The method for reverse confirmation of heart beat diagnosis result according to claim 1, characterized in that: When determining the rhythm breakout point of the heartbeat sequence based on two adjacent heartbeat groups whose distance is greater than a distance threshold, when the distance between the two adjacent heartbeat groups is greater than the distance threshold, the segmentation point of the two adjacent heartbeat groups is used as the rhythm breakout point.
5. A terminal device for reverse confirmation of heartbeat diagnosis results, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 4 when executing the computer program.
6. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method as claimed in any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Electrocardiosignal preanalysis method
CN105997054A
An electrocardiogram data display method and a terminal apparatus
CN107157475A
Electrocardiographic scatter point display method and display device
CN108403105A
Cascaded binary classifier for identifying rhythms in single-lead electrocardiogram (ECG) signal
CN109522916A
Method for measuring heart rate variability (HRV) through intelligent cellphone
CN109717858A
