Determination method and device of ventricular premature beat type, computer equipment and storage medium

By automatically identifying voltage peaks and timing points in electrocardiogram signals, the automation problem of ventricular premature beat detection has been solved, improving detection efficiency and accuracy.

CN119279597AActive Publication Date: 2025-01-10AMBULANC (SHENZHEN) TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411315377.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-20
Publication Date
2025-01-10
Estimated Expiration
2044-09-20

AI Technical Summary

Technical Problem

In current technologies, the detection of premature ventricular contractions (PVCs) mainly relies on manual judgment, which is time-consuming and labor-intensive and prone to misdiagnosis. There is a lack of automated detection methods.

Method used

By acquiring the waveform to be identified, the characteristic wave in the periodic waveform is identified. If no characteristic wave exists, the target waveform is determined based on the voltage peak value and the time point. Combined with the waveform position, the premature beat of the left or right ventricle is automatically determined.

Benefits of technology

It enables automated detection of ventricular premature beats, improving detection efficiency and accuracy, simplifying the calculation process, and reducing manual intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119279597A_ABST
    Figure CN119279597A_ABST
Patent Text Reader

Abstract

The invention discloses a ventricular premature beat type judgment method, device, equipment and medium, and the method comprises the steps: carrying out the feature wave recognition of a periodic waveform in a to-be-recognized waveform, if no feature wave exists in the periodic waveform, determining a forward wave peak value and a corresponding forward wave peak time point according to the voltage corresponding to each time point in the periodic waveform, for any time point, if the comparison result of the voltage corresponding to the time point, the positive wave peak value and the negative wave peak value meets a first preset condition, and the comparison result of the time point, the positive wave peak time point and the negative wave peak time point meets a second preset condition, determining that the voltage corresponding to the time point meets the first preset condition; if yes, determining the waveform between the time point and the peak time point as a target waveform, and determining left ventricular premature beat or right ventricular premature beat according to the position of the target waveform in the periodic waveform. The ventricular premature beat type is automatically detected and judged, and the detection efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of ventricular premature beat recognition, and in particular to a method, device, equipment and medium for determining the type of ventricular premature beat. Background Art

[0002] Premature ventricular contractions (PVCs) are ventricular excitations that occur prematurely from ectopic pacemakers below the His bundle branches. They are common arrhythmias in clinical practice and occur in both normal people and patients with heart disease. They may be a precursor to malignant arrhythmias. Accurately detecting them is of great significance for preventing some serious sudden cardiac deaths. At present, the detection of ventricular premature contractions is mainly done by doctors detecting and identifying the collected electrocardiograms to determine whether the patient has ventricular premature contractions and the type of ventricular premature contractions. This method usually consumes corresponding time and labor costs, and is based on manual judgments, which may also lead to misdiagnosis.

[0003] Therefore, how to automatically detect ventricular premature beats and improve detection efficiency has become an urgent problem to be solved. Summary of the invention

[0004] Based on this, a method, device, equipment and medium for determining the type of ventricular premature beats are provided to solve the problem of how to automatically detect ventricular premature beats and improve detection efficiency.

[0005] In a first aspect, an embodiment of the present invention provides a method for determining the type of ventricular premature beats, the method comprising the following steps: Acquire a waveform to be identified, the waveform to be identified includes at least one periodic waveform corresponding to a complete cardiac cycle, and perform characteristic wave identification on the periodic waveform, the characteristic wave includes at least a P wave and an R wave; If the characteristic wave does not exist in the periodic waveform, then determine the positive wave peak value with the highest positive voltage and the corresponding positive wave peak time point, and the negative wave peak value with the highest negative voltage and the corresponding negative wave peak time point according to the voltage corresponding to each time point in the periodic wave; For any time point, if the comparison result of the voltage corresponding to the time point with the positive peak value and the negative peak value meets the first preset condition, and the comparison result of the time point with the positive peak time point and the negative peak time point meets the second preset condition, then the waveform between the time point and the peak time point is determined to be the target waveform; A left ventricular premature beat or a right ventricular premature beat is determined according to the position of the target waveform in the periodic waveform.

[0006] In a second aspect, an embodiment of the present invention provides a device for determining the type of ventricular premature beats, the device comprising: A first acquisition module is used to acquire a waveform to be identified, wherein the waveform to be identified includes at least one periodic waveform corresponding to a complete cardiac cycle, and perform characteristic wave identification on the periodic waveform, wherein the characteristic wave includes at least a P wave and an R wave; A first determination module is used to determine the positive wave peak value with the highest positive voltage and the corresponding positive wave peak time point, and the negative wave peak value with the highest negative voltage and the corresponding negative wave peak time point according to the voltage corresponding to each time point in the periodic wave if the characteristic wave does not exist in the periodic waveform; A second determination module is used for, for any time point, if a comparison result of the voltage corresponding to the time point with the positive wave peak value and the negative wave peak value meets a first preset condition, and a comparison result of the time point with the positive wave peak time point and the negative wave peak time point meets a second preset condition, then determining that the waveform between the time point and the wave peak time point is the target waveform; The first determination module is used to determine the left ventricular premature beat or the right ventricular premature beat according to the position of the target waveform in the periodic waveform.

[0007] In a third aspect, an embodiment of the present invention provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method for determining the type of ventricular premature beats of the first aspect when executing the computer program.

[0008] In a fourth aspect, an embodiment of the present invention 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 method for determining the type of ventricular premature beats according to the first aspect above is implemented.

[0009] The technical effect achieved by the present invention is different from that achieved by the prior art solutions: the present invention obtains the waveform to be identified and performs characteristic wave identification on the periodic waveform in the waveform to be identified. If there is no characteristic wave in the periodic waveform, the positive wave peak value with the highest positive voltage and the corresponding positive wave peak time point, as well as the negative wave peak value with the highest negative voltage and the corresponding negative wave peak time point are determined according to the voltage corresponding to each time point in the periodic wave. For any time point, if the comparison result of the voltage corresponding to the time point with the positive wave peak value and the negative wave peak value meets the first preset condition, and the comparison result of the time point with the positive wave peak time point and the negative wave peak time point meets the second preset condition, the waveform between the time point and the peak time point is determined to be the target waveform, and the left ventricular premature beat or the right ventricular premature beat is determined according to the position of the target waveform in the periodic waveform. Among them, by performing characteristic wave recognition on the waveform to be identified, if the characteristic wave does not exist in the periodic waveform, the target waveform is determined according to the determined positive wave peak value and the corresponding positive wave peak time point, the negative wave peak value and the corresponding negative wave peak time point, and the left ventricular premature beat or right ventricular premature beat is determined according to the position of the target waveform in the periodic waveform, thereby automatically realizing the detection and judgment of the type of ventricular premature beat, which not only improves the detection efficiency, but also improves the objective accuracy of the detection results. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0011] Figure 1 This is a schematic diagram of an application environment of a method for determining the type of premature ventricular beats provided in the first embodiment of the present invention; Figure 2 It is a flow chart of a method for determining the type of ventricular premature beats provided in the second embodiment of the present invention; Figure 3 It is a flow chart of a method for determining the type of ventricular premature beats provided in Embodiment 3 of the present invention; Figure 4 It is a flow chart of a method for determining the type of ventricular premature beats provided in the fourth embodiment of the present invention; Figure 5 It is a flow chart of a method for determining the type of ventricular premature beats provided in Embodiment 5 of the present invention; Figure 6 It is a flow chart of a method for determining the type of ventricular premature beats provided in Embodiment 6 of the present invention; Figure 71 is a flow chart of a method for determining the type of ventricular premature beats provided in Embodiment 7 of the present invention; Figure 8 It is a structural schematic diagram of a device for determining the type of ventricular premature beats provided in Embodiment 8 of the present invention; Fig. 9 It is a structural diagram of a computer device provided in Embodiment 9 of the present invention. DETAILED DESCRIPTION

[0012] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0013] It should be understood that the order of execution of the steps in the following embodiments does not imply a precedence of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0014] like Figure 1 As shown in the figure, a method for determining the type of ventricular premature beats provided in the first embodiment of the present invention can be applied in the following cases: Figure 1 In the application environment, the server communicates with the client, the server provides a ventricular premature beat type determination service, and the client triggers a determination task to the server. The client includes but is not limited to a PDA, a desktop computer, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a cloud computer device, a personal digital assistant (PDA), and other devices. The computer device corresponding to the server can be implemented with an independent server or a server cluster consisting of multiple servers.

[0015] like Figure 2 FIG. 1 is a flow chart of a method for determining the type of ventricular premature beats provided in Embodiment 2 of the present invention. The method for determining the type of ventricular premature beats is applied to Figure 1 The server in the example connects to the client to obtain the waveform to be identified sent by the client. Figure 2 As shown, the determination method may include the following steps: Step S201: Acquire the waveform to be identified and perform characteristic wave identification on the periodic waveform.

[0016] In this embodiment, the waveform to be identified may refer to a curve recorded from the body surface by an electrocardiograph that can reflect the changes in bioelectric potential generated during the generation, conduction and recovery of cardiac excitation. A normal heartbeat is a complete cardiac cycle, and the waveform corresponding to a complete cardiac cycle is a periodic waveform. Among them, the waveform to be identified includes at least one periodic waveform corresponding to a complete cardiac cycle, and the characteristic wave may refer to a characteristic waveform generated by a normal heartbeat, wherein the characteristic wave includes at least a P wave and an R wave.

[0017] Specifically, the waveform to be identified can be obtained through an electrocardiograph, and the periodic waveform in the waveform to be identified can be determined. According to the characteristics of the P wave and the R wave, the P wave and the R wave of the periodic waveform can be identified to detect whether there is a characteristic wave in the periodic waveform.

[0018] Optionally, after the waveform to be identified is acquired, interference noise of the waveform to be identified is removed based on a wavelet packet decomposition method and an adaptive threshold.

[0019] Step S202: If there is no characteristic wave in the periodic waveform, determine the positive wave peak value with the highest positive voltage and the corresponding positive wave peak time point, and the negative wave peak value with the highest negative voltage and the corresponding negative wave peak time point according to the voltage corresponding to each time point in the periodic wave.

[0020] In this embodiment, the time point corresponds to a certain moment in the waveform record, and the voltage may refer to the specific voltage value of the waveform at each time point, which is used to indicate the potential change of the waveform relative to a reference point (such as a zero potential line) at that time point. The positive voltage may refer to a voltage with a positive value, the negative voltage may refer to a voltage with a negative value, the positive wave peak value may refer to the positive voltage with the highest voltage, the positive wave peak time point may refer to the time point corresponding to the positive wave peak value, the negative wave peak value may refer to the negative voltage with the highest voltage, and the negative wave peak time point may refer to the time point corresponding to the negative wave peak value.

[0021] Specifically, if there are no P waves and R waves in the periodic waveform, the periodic waveform is determined to be an abnormal waveform, and two pointers, namely pointer 1 and pointer 2, are created. Pointer 1 can be used to point to the voltage corresponding to the first time point of the periodic waveform, and pointer 2 can be used to point to the voltage corresponding to the last time point of the periodic waveform. From the voltage corresponding to the first time point and the voltage corresponding to the last time point to the middle time point, respectively, the voltages corresponding to the next time points are compared one by one to determine the positive wave peak value with the highest positive voltage and the corresponding positive wave peak time point, as well as the negative wave peak value with the highest negative voltage and the corresponding negative wave peak time point.

[0022] Step S203: For any time point, if the comparison result of the voltage corresponding to the time point with the positive peak value and the negative peak value meets the first preset condition, and the comparison result of the time point with the positive peak time point and the negative peak time point meets the second preset condition, then the waveform between the time point and the peak time point is determined to be the target waveform.

[0023] Step S204: Determine the left ventricular premature beat or the right ventricular premature beat according to the position of the target waveform in the periodic waveform.

[0024] In the present embodiment, left ventricular premature beats and right ventricular premature beats are two types of ventricular premature beats, wherein left ventricular premature beats may refer to premature beats of the heart originating from the left ventricle, and right ventricular premature beats may refer to premature beats of the heart originating from the right ventricle. The target waveform may refer to the waveform for determining left ventricular premature beats or right ventricular premature beats. The first preset condition may refer to the condition that should be satisfied by the comparison result of the voltage corresponding to any time point with the positive peak value and the negative peak value to determine the target waveform. The second preset condition may refer to the condition that should be satisfied by the comparison result of the voltage corresponding to any time point with the positive peak time point and the negative peak time point to determine the target waveform.

[0025] Specifically, for any time point, the voltage corresponding to the time point is compared with the positive wave peak value and the negative wave peak value. If the comparison result meets the first preset condition, the time point is compared with the positive wave peak time point and the negative wave peak time point. If the comparison result meets the second preset condition, the waveform between the time point and the peak time point is determined to be the target waveform, and the left ventricular premature beat or right ventricular premature beat is determined based on the position of the target waveform in the periodic waveform.

[0026] In this embodiment, characteristic waves are identified for the waveform to be identified. If the characteristic waves do not exist in the periodic waveform, the target waveform is determined based on the determined positive wave peak value and the corresponding positive wave peak time point, the negative wave peak value and the corresponding negative wave peak time point. The left ventricular premature beat or the right ventricular premature beat is determined based on the position of the target waveform in the periodic waveform, and the detection and judgment of the ventricular premature beat type is automatically realized, which not only improves the detection efficiency, but also improves the objective accuracy of the detection results.

[0027] like Figure 3 FIG. 2 is a flow chart of a method for determining the type of ventricular premature beats provided in Embodiment 3 of the present invention. In the above step S201, the characteristic wave recognition of the periodic waveform may include the following steps: Step S301: Perform wavelet transform on the periodic waveform to obtain the frequency characteristics corresponding to the periodic waveform.

[0028] Step S302: Obtain the frequency characteristics of the characteristic wave, and determine the candidate characteristic waves in the periodic waveform according to the frequency characteristics of the characteristic wave and the frequency characteristics corresponding to the periodic waveform.

[0029] Step S303: Acquire the morphological features of the characteristic wave and the morphological features of each candidate characteristic wave.

[0030] Step S304: For any candidate characteristic wave, the morphological features of the candidate characteristic wave are compared with the morphological features of the characteristic wave to obtain a similarity score.

[0031] Step S305: If the similarity score is greater than a preset threshold, it is determined that there is a characteristic wave in the periodic waveform; if the similarity score is less than the preset threshold, it is determined that there is no characteristic wave in the periodic waveform.

[0032] In this embodiment, the frequency feature may refer to the features of the waveform in frequency bands of different scales, the morphological feature may refer to the morphological features such as the height, width and slope of the waveform, the candidate characteristic wave may refer to the waveform in the periodic waveform obtained by screening according to the morphological features of the characteristic wave, the similarity score may refer to the score representing the similarity between the morphological features of the candidate characteristic wave and the characteristic wave, and the preset threshold may refer to the threshold that the similarity score should meet when the candidate characteristic wave is determined to be the characteristic wave in advance.

[0033] Specifically, first, the periodic waveform can be subjected to wavelet transformation according to a preset wavelet basis and decomposition layer number, and the periodic waveform can be decomposed into frequency band signals of different scales. Secondly, according to the frequency characteristics of the characteristic wave, a specific frequency band is selected for detection to determine the candidate characteristic wave. For example, the R wave usually corresponds to the high-frequency part, so it can be detected in the wavelet band containing the main energy of the R wave. In the selected frequency band, the local maximum point is detected by setting a threshold, and the corresponding position of the local maximum point is determined as the candidate R wave position, and the candidate R wave position is mapped back to the original periodic waveform to determine the candidate characteristic wave. Then, according to the morphological characteristics of the candidate characteristic wave and the characteristic wave, such as height, width and slope, the morphological similarity score of the two is calculated. Finally, if the similarity score of the candidate characteristic wave is greater than the preset threshold, it is determined that the characteristic wave exists in the periodic waveform. If the similarity score of the candidate characteristic wave is less than the preset threshold, it is determined that the characteristic wave does not exist in the periodic waveform.

[0034] In this embodiment, by performing wavelet transformation on the periodic waveform, characteristic wave identification is performed on the periodic waveform based on frequency characteristics and morphological characteristics, thereby improving the detection accuracy of the characteristic wave.

[0035] like Figure 4As shown, a flow chart of a method for determining the type of ventricular premature beats provided by Embodiment 4 of the present invention, in the above step S203, for any time point, if the comparison result of the voltage corresponding to the time point with the positive wave peak value and the negative wave peak value meets the first preset condition, and the comparison result of the time point with the positive wave peak time point and the negative wave peak time point meets the second preset condition, then determining that the waveform between the time point and the wave peak time point is the target waveform may include the following steps: Step S401: for any time point, calculating a first voltage difference between a voltage corresponding to the time point and a positive wave peak value, and calculating a second voltage difference between a voltage corresponding to the time point and a negative wave peak value.

[0036] Step S402: From among all the first voltage differences, determine that the highest first voltage difference satisfies a first preset condition, and determine the time point corresponding to the highest first voltage difference as the first target time point.

[0037] Step S403: From among all the second voltage differences, determine that the highest second voltage difference satisfies the first preset condition, and determine the time point corresponding to the highest second voltage difference as the second target time point.

[0038] Step S404: If the comparison result of the first target time point, the second target time point, the positive peak time point and the negative peak time point meets the second preset condition, then the waveform between the target time point and the peak time point is determined to be the target waveform.

[0039] In this embodiment, the first voltage difference may refer to the voltage difference between the voltage at any time point and the positive wave peak value, the second voltage difference may refer to the voltage difference between the voltage at any time point and the negative wave peak value, the first target time point may refer to the time point when the first voltage difference satisfies the first preset condition, and the second target time point may refer to the time point when the second voltage difference satisfies the first preset condition.

[0040] Specifically, two pointers are created, namely pointer 3 and pointer 4. Pointer 3 can be used to point to the voltage corresponding to the first time point of the periodic waveform, and pointer 4 can be used to point to the voltage corresponding to the last time point of the periodic waveform. From the voltage corresponding to the first time point and the voltage corresponding to the last time point to the position of the middle time point, respectively, the difference comparison with the positive peak value and the negative peak value is started one by one, and it is determined that the first voltage difference with the largest voltage difference with the positive peak value meets the first preset condition, and the corresponding time point is set as the first target time point, and it is determined that the second voltage difference with the largest voltage difference with the negative peak value meets the first preset condition, and the corresponding time point is set as the second target time point. If the comparison results of the first target time point, the second target time point and the positive peak time point and the negative peak time point meet the second preset condition, the waveform between the target time point and the peak time point is determined to be the target waveform.

[0041] In this embodiment, by calculating the voltage difference between the voltage at any time point and the peak value, it is determined that the highest voltage difference meets the first preset condition, and the time point corresponding to the highest voltage difference is the target time point. Based on the target time point and the peak time point, the target waveform is determined, which simplifies the calculation process and improves the recognition speed of the target waveform.

[0042] like Figure 5 As shown, a flow chart of a method for determining the type of ventricular premature beats provided in Embodiment 5 of the present invention, in the above step S404, if the comparison result of the first target time point, the second target time point, the positive peak time point, and the negative peak time point meets the second preset condition, then determining the waveform between the target time point and the peak time point as the target waveform may include the following steps: Step S501: Calculate a first duration between a first target time point and a positive peak time point, and calculate a second duration between a second target time point and a negative peak time point.

[0043] Step S502: If the first duration is greater than the second duration, it is determined that the first duration satisfies the second preset condition, and the waveform between the first target time point and the positive peak time point is determined as the target waveform.

[0044] Step S503: If the second duration is greater than the first duration, it is determined that the second duration satisfies the second preset condition, and the waveform between the second target time point and the negative peak time point is determined as the target waveform.

[0045] In this embodiment, the first duration may refer to the time difference between the first target time point and the positive peak time point, and the second duration may refer to the time difference between the second target time point and the negative peak time point.

[0046] Specifically, the first duration between the first target time point and the positive peak time point is calculated, and the second duration between the second target time point and the negative peak time point is calculated. If the first duration is greater than the second duration, it means that the waveform width between the first target time point and the positive peak time point is larger, then it is the target waveform. If the first duration is greater than the second duration, it means that the waveform width between the second target time point and the negative peak time point is larger, then it is the target waveform.

[0047] In this embodiment, by calculating the duration between the target time point and the peak time point, determining that the longest duration satisfies the preset second condition, and determining the waveform between the target time point and the peak time point of the corresponding duration as the target waveform, the calculation process is simplified and the recognition speed of the target waveform is improved.

[0048] like Figure 6As shown, a flow chart of a method for determining the type of ventricular premature beats provided by Embodiment 6 of the present invention, in the above step S204, determining the left ventricular premature beat or the right ventricular premature beat according to the position of the target waveform in the periodic waveform may include the following steps: Step S601: If the target waveform is in the first half of the periodic waveform, and the voltage corresponding to the target waveform is a negative voltage, it is determined to be a right ventricular premature beat.

[0049] Step S602: If the target waveform is in the second half of the periodic waveform, and the voltages corresponding to the target waveform are all positive voltages, it is determined to be a left ventricular premature beat.

[0050] Specifically, if the time point corresponding to the target waveform is in the first half of the periodic waveform, and the voltage corresponding to the target waveform is a negative value relative to the zero potential line, it is determined to be a right ventricular premature beat. If the time point corresponding to the target waveform is in the second half of the periodic waveform, and the voltage corresponding to the target waveform is a positive value relative to the zero potential line, it is determined to be a left ventricular premature beat.

[0051] In this embodiment, right ventricular premature beats and left ventricular premature beats are determined based on the position of the target waveform in the periodic waveform and the corresponding voltage, thereby automatically detecting and determining the type of ventricular premature beats and improving detection efficiency.

[0052] like Figure 7 As shown, a flow chart of a method for determining the type of ventricular premature beats provided by Embodiment 7 of the present invention is shown. The determination method may further include the following steps: Step S701: Count the number of periodic waveforms determined to be right ventricular premature beats and left ventricular premature beats in the waveform to be identified.

[0053] Step S702: According to the quantity and in combination with the preset treatment strategy, corresponding treatment items are adopted.

[0054] In this embodiment, the preset treatment strategy may refer to a corresponding treatment method preset according to the number of premature beats.

[0055] For example, if the number of right ventricular premature beats and left ventricular premature beats in the waveform to be identified is less than 10 times within one minute, no corresponding treatment is required. If the number of right ventricular premature beats and left ventricular premature beats exceeds 10 times within one minute, corresponding treatment is required.

[0056] In this embodiment, by counting the number of ventricular premature beats, and taking corresponding treatment items in time according to the counted number, further deterioration of the disease is effectively prevented.

[0057] like Figure 8As shown, a device for determining the type of ventricular premature beats provided in Embodiment 8 of the present invention corresponds to the method for determining the type of ventricular premature beats in the above-mentioned embodiment. The determination device includes a first acquisition module 81, a first determination module 82, a second determination module 83 and a first determination module 84. Each functional module is described in detail as follows: A first acquisition module 81 is used to acquire a waveform to be identified, wherein the waveform to be identified includes at least one periodic waveform corresponding to a complete cardiac cycle, and perform characteristic wave identification on the periodic waveform, wherein the characteristic wave includes at least a P wave and an R wave; A first determination module 82 is used to determine the positive wave peak value with the highest positive voltage and the corresponding positive wave peak time point, and the negative wave peak value with the highest negative voltage and the corresponding negative wave peak time point according to the voltage corresponding to each time point in the periodic wave if the characteristic wave does not exist in the periodic waveform; A second determination module 83 is used for, for any time point, if a comparison result of the voltage corresponding to the time point with the positive wave peak value and the negative wave peak value meets a first preset condition, and a comparison result of the time point with the positive wave peak time point and the negative wave peak time point meets a second preset condition, then determining that the waveform between the time point and the wave peak time point is the target waveform; The first determination module 84 is used to determine the left ventricular premature beat or the right ventricular premature beat according to the position of the target waveform in the periodic waveform.

[0058] Optionally, the first acquisition module 81 includes: A transformation unit, used for performing wavelet transformation on the periodic waveform to obtain a frequency feature corresponding to the periodic waveform; a candidate determination unit, configured to obtain a frequency feature of the characteristic wave, and determine a candidate characteristic wave in the periodic waveform according to the frequency feature of the characteristic wave and a frequency feature corresponding to the periodic waveform; A second acquisition unit, used to acquire the morphological features of the characteristic wave and the morphological features of each candidate characteristic wave; A comparison unit, for comparing the morphological features of any candidate characteristic wave with the morphological features of the characteristic wave for similarity, to obtain a similarity score; The third determination unit is configured to determine that the characteristic wave exists in the periodic waveform if the similarity score is greater than a preset threshold, and to determine that the characteristic wave does not exist in the periodic waveform if the similarity score is less than the preset threshold.

[0059] Optionally, the second determining module 83 includes: A first calculation unit, used for calculating, for any time point, a first voltage difference between the voltage corresponding to the time point and the positive wave peak value, and calculating a second voltage difference between the voltage corresponding to the time point and the negative wave peak value; a fourth determining unit, configured to determine, from among all the first voltage differences, that a highest first voltage difference satisfies the first preset condition, and to determine a time point corresponding to the highest first voltage difference as a first target time point; a fifth determining unit, configured to determine, from among all the second voltage differences, that a highest second voltage difference satisfies the first preset condition, and to determine a time point corresponding to the highest second voltage difference as a second target time point; The sixth determination unit is used to determine that the waveform between the target time point and the peak time point is the target waveform if the comparison result of the first target time point, the second target time point, the positive peak time point and the negative peak time point meets the second preset condition.

[0060] Optionally, the sixth determining unit includes: A second calculation subunit, configured to calculate a first duration between the first target time point and the positive peak time point, and to calculate a second duration between the second target time point and the negative peak time point; a seventh determining subunit, configured to determine, if the first duration is greater than the second duration, that the first duration satisfies the second preset condition, and determine that the waveform between the first target time point and the positive wave peak time point is the target waveform; An eighth determining subunit is configured to determine that the second duration satisfies the second preset condition if the second duration is greater than the first duration, and to determine that the waveform between the second target time point and the negative peak time point is the target waveform.

[0061] Optionally, the first determination module 84 includes: A second determination unit, configured to determine that the target waveform is the right ventricular premature beat if the target waveform is in the first half of the periodic waveform and the voltages corresponding to the target waveform are all negative voltages; The third determination unit is used to determine that the target waveform is the left ventricular premature beat if the target waveform is in the second half of the periodic waveform and the voltages corresponding to the target waveform are all positive voltages.

[0062] Optionally, the determination device further includes: A statistical module, used for counting the number of periodic waveforms determined to be the right ventricular premature beats and the left ventricular premature beats in the waveform to be identified; The control module is used to adopt corresponding treatment items according to the quantity and in combination with a preset treatment strategy.

[0063] Optionally, the determination device further includes: The denoising module is used to remove the interference noise of the waveform to be identified based on the wavelet packet decomposition method and the adaptive threshold.

[0064] For the specific definition of the device for determining the type of ventricular premature beats, please refer to the definition of the method for determining the type of ventricular premature beats mentioned above, which will not be repeated here. Each module in the above-mentioned device for determining the type of ventricular premature beats can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0065] Fig. 9 This is a schematic diagram of the structure of a computer device provided in Embodiment 9 of the present invention. Fig. 9 As shown, the computer device of this embodiment includes: at least one processor ( Fig. 9 Only one is shown), a memory, and a computer program stored in the memory and executable on at least one processor, wherein when the processor executes the computer program, the steps in any of the above-mentioned embodiments of the method for determining the type of ventricular premature beats are implemented.

[0066] The computer device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that Fig. 9 This is merely an example of a computer device and does not constitute a limitation on the computer device. The computer device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. For example, it may also include a network interface, a display screen, and an input device.

[0067] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0068] The memory includes a readable storage medium, an internal memory, etc., wherein the internal memory may be the memory of a computer device, and the internal memory provides an environment for the operation of the operating system and computer-readable instructions in the readable storage medium. The readable storage medium may be a hard disk of a computer device, and in other embodiments, it may also be an external storage device of the computer device, for example, 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), etc. equipped on the computer device. Further, the memory may also include both an internal storage unit of the computer device and an external storage device. The memory is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of a computer program, etc. The memory may also be used to temporarily store data that has been output or is to be output.

[0069] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention. The specific working process of the units and modules in the above-mentioned device can refer to the corresponding process in the above-mentioned method embodiment, which will not be repeated here. 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 such understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and 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 method embodiment 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 at least include: any entity or device capable of carrying computer program code, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0070] The present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by a computer program product. When the computer program product runs on a computer device, the computer device can implement the steps in the above-mentioned method embodiment when executing.

[0071] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0072] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0073] In the embodiments provided by the present invention, it should be understood that the disclosed devices / computer equipment and methods can be implemented in other ways. For example, the device / computer equipment embodiments described above 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 multiple 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 connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0074] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0075] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features can be replaced by equivalents, and these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A method for determining the type of ventricular premature beats, characterized in that: The determination method comprises the following steps: Acquire a waveform to be identified, the waveform to be identified includes at least one periodic waveform corresponding to a complete cardiac cycle, and perform characteristic wave identification on the periodic waveform, the characteristic wave includes at least a P wave and an R wave; If the characteristic wave does not exist in the periodic waveform, then determine the positive wave peak value with the highest positive voltage and the corresponding positive wave peak time point, and the negative wave peak value with the highest negative voltage and the corresponding negative wave peak time point according to the voltage corresponding to each time point in the periodic wave; For any time point, if the comparison result of the voltage corresponding to the time point with the positive peak value and the negative peak value meets the first preset condition, and the comparison result of the time point with the positive peak time point and the negative peak time point meets the second preset condition, then the waveform between the time point and the peak time point is determined to be the target waveform; A left ventricular premature beat or a right ventricular premature beat is determined according to the position of the target waveform in the periodic waveform.

2. The method for determining the type of ventricular premature beats according to claim 1, wherein: The step of identifying characteristic waves of the periodic waveform comprises: Performing wavelet transformation on the periodic waveform to obtain frequency characteristics corresponding to the periodic waveform; Acquire the frequency characteristics of the characteristic wave, and determine the candidate characteristic wave in the periodic waveform according to the frequency characteristics of the characteristic wave and the frequency characteristics corresponding to the periodic waveform; Acquire the morphological features of the characteristic wave and the morphological features of each candidate characteristic wave; For any candidate characteristic wave, the morphological features of the candidate characteristic wave are compared with the morphological features of the characteristic wave to obtain a similarity score; If the similarity score is greater than a preset threshold, it is determined that the characteristic wave exists in the periodic waveform; if the similarity score is less than the preset threshold, it is determined that the characteristic wave does not exist in the periodic waveform.

3. The method for determining the type of ventricular premature beat according to claim 1, wherein: For any time point, if a comparison result of the voltage corresponding to the time point with the positive peak value and the negative peak value satisfies a first preset condition, and a comparison result of the time point with the positive peak time point and the negative peak time point satisfies a second preset condition, then determining that the waveform between the time point and the peak time point is the target waveform includes: For any time point, calculate a first voltage difference between the voltage corresponding to the time point and the positive wave peak value, and calculate a second voltage difference between the voltage corresponding to the time point and the negative wave peak value; Determine, from among all the first voltage differences, that a highest first voltage difference satisfies the first preset condition, and determine a time point corresponding to the highest first voltage difference as a first target time point; Determine, from among all the second voltage differences, that a highest second voltage difference satisfies the first preset condition, and determine a time point corresponding to the highest second voltage difference as a second target time point; If the comparison result of the first target time point, the second target time point, the positive peak time point and the negative peak time point meets the second preset condition, the waveform between the target time point and the peak time point is determined to be the target waveform.

4. The method for determining the type of ventricular premature beats according to claim 3, wherein: If the comparison result between the first target time point, the second target time point, the positive peak time point and the negative peak time point satisfies the second preset condition, determining the waveform between the target time point and the peak time point as the target waveform comprises: Calculating a first duration between the first target time point and the positive peak time point, and calculating a second duration between the second target time point and the negative peak time point; If the first duration is greater than the second duration, determining that the first duration satisfies the second preset condition, and determining that the waveform between the first target time point and the positive peak time point is the target waveform; If the second duration is greater than the first duration, it is determined that the second duration satisfies the second preset condition, and the waveform between the second target time point and the negative peak time point is determined to be the target waveform.

5. The method for determining the type of ventricular premature beat according to claim 1, wherein: The step of determining a left ventricular premature beat or a right ventricular premature beat according to a position of the target waveform in the periodic waveform includes: If the target waveform is in the first half of the periodic waveform, and the voltages corresponding to the target waveform are all negative voltages, it is determined to be the right ventricular premature beat; If the target waveform is in the second half of the periodic waveform, and the voltages corresponding to the target waveforms are all positive voltages, it is determined to be the left ventricular premature beat.

6. The method for determining the type of ventricular premature beat according to claim 1, characterized in that: The determination method further comprises: Counting the number of periodic waveforms determined to be the right ventricular premature beats and the left ventricular premature beats in the waveform to be identified; According to the quantity, combined with the preset treatment strategy, corresponding treatment items are adopted.

7. The method for determining the type of ventricular premature beat according to claim 1, characterized in that: After obtaining the waveform to be identified, the method further includes: The interference noise of the waveform to be identified is removed based on wavelet packet decomposition method and adaptive threshold.

8. A device for determining the type of ventricular premature beats, characterized in that: The determining device comprises: A first acquisition module is used to acquire a waveform to be identified, wherein the waveform to be identified includes at least one periodic waveform corresponding to a complete cardiac cycle, and perform characteristic wave identification on the periodic waveform, wherein the characteristic wave includes at least a P wave and an R wave; A first determination module is used to determine the positive wave peak value with the highest positive voltage and the corresponding positive wave peak time point, and the negative wave peak value with the highest negative voltage and the corresponding negative wave peak time point according to the voltage corresponding to each time point in the periodic wave if the characteristic wave does not exist in the periodic waveform; A second determination module is used for, for any time point, if a comparison result of the voltage corresponding to the time point with the positive wave peak value and the negative wave peak value meets a first preset condition, and a comparison result of the time point with the positive wave peak time point and the negative wave peak time point meets a second preset condition, then determining that the waveform between the time point and the wave peak time point is the target waveform; The first determination module is used to determine the left ventricular premature beat or the right ventricular premature beat according to the position of the target waveform in the periodic waveform.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method for determining the type of ventricular premature beats as claimed in any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for determining the type of ventricular premature beats as claimed in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Method and system for detecting heartbeat irregularities

    CN105263401A

  • Heart rate calculation method, device, compute device and storage medium

    CN109259750A

  • Feature point detecting method and device, equipment and storage medium

    CN111657905A

  • Tracking pacing effectiveness based on waveform features

    US20140114372A1