A method and device for determining a type of a ventricular premature beat, a computer device and a storage medium

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

CN119279597BActive Publication Date: 2025-11-28AMBULANC (SHENZHEN) TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411315377.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-20
Publication Date
2025-11-28
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 electrocardiogram signal waveform, identifying characteristic waves (P wave and R wave), and determining the target waveform based on voltage peak and time point when no characteristic wave is present, the system can automatically determine whether it is a premature beat in the left or right ventricle.

Benefits of technology

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

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119279597B_ABST
    Figure CN119279597B_ABST
Patent Text Reader

Abstract

The application discloses a ventricular premature beat type determination method, device, equipment and medium, and the method comprises the following steps: performing feature wave identification on a periodic waveform in a to-be-identified waveform; if no feature wave exists in the periodic waveform, determining a positive wave peak value and a corresponding positive wave peak time point, and a negative wave peak value and a corresponding negative wave peak time point according to a voltage corresponding to each time point in the periodic waveform; for any time point, if a comparison result of the voltage corresponding to the time point and the positive wave peak value and the negative wave peak value satisfies a first preset condition, and a comparison result of the time point and the positive wave peak time point and the negative wave peak time point satisfies a second preset condition, then the waveform between the time point and the wave peak time point is determined as a target waveform; and according to a position of the target waveform in the periodic waveform, left ventricular premature beat or right ventricular premature beat is determined. The detection and judgment of the ventricular premature beat type are automatically realized, and the detection efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of ventricular premature beat identification technology, and in particular to a method, apparatus, device and medium for determining the type of ventricular premature beats. Background Technology

[0002] Premature ventricular contractions (PVCs) are ventricular excitations that occur prematurely at ectopic pacemakers below the His bundle branches. They are a common arrhythmia that can occur in both healthy individuals and those with heart disease. PVCs can be a precursor to malignant arrhythmias, and accurate detection is crucial for preventing serious cases of sudden cardiac death. Currently, PVC detection primarily involves physicians analyzing and identifying electrocardiogram (ECG) signals to determine the presence and type of PVCs. This method is typically time-consuming and labor-intensive, and the manual nature of the analysis can lead to misdiagnosis.

[0003] Therefore, how to automate the detection of premature ventricular contractions and improve detection efficiency has become an urgent problem to be solved. Summary of the Invention

[0004] Based on this, a method, apparatus, device, 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, embodiments of the present invention provide a method for determining the type of premature ventricular contractions (PVCs), the method comprising the following steps:

[0006] Acquire a waveform to be identified, the waveform to be identified including at least one periodic waveform corresponding to a complete cardiac cycle, and perform feature wave identification on the periodic waveform, the feature waves including at least P waves and R waves;

[0007] If the characteristic wave is not present in the periodic waveform, then based on the voltage corresponding to each time point in the periodic wave, determine the peak value of the positive wave with the highest positive voltage and the corresponding positive wave peak time point, as well as the peak value of the negative wave with the highest negative voltage and the corresponding negative wave peak time point.

[0008] For any given time point, if the comparison result between the voltage corresponding to the time point and the positive peak value and the negative peak value satisfies a first preset condition, and the comparison result between the time point and the positive peak time point and the negative peak time point satisfies a second preset condition, then the waveform between the time point and the peak time point is determined to be the target waveform.

[0009] According to a position of the target waveform in the periodic waveform, left ventricular premature beat or right ventricular premature beat is determined.

[0010] In a second aspect, an embodiment of the present application provides a premature ventricular contraction type determination device, which comprises:

[0011] A first acquisition module is configured to acquire a to-be-identified waveform, wherein the to-be-identified waveform comprises a periodic waveform corresponding to at least one complete cardiac cycle, and the periodic waveform is subjected to feature wave identification, and the feature wave at least comprises a P wave and an R wave.

[0012] A first determination module is configured to, if the feature wave does not exist in the periodic waveform, determine a positive wave peak value with a highest positive voltage and a corresponding positive wave peak time point, and a negative wave peak value with a highest negative voltage and a corresponding negative wave peak time point according to a voltage corresponding to each time point in the periodic waveform.

[0013] A second determination module is configured to, for any time point, if a comparison result of the voltage corresponding to the time point and the positive wave peak value and the negative wave peak value satisfies a first preset condition, and a comparison result of the time point and the positive wave peak time point and the negative wave peak time point satisfies a second preset condition, determine a waveform between the time point and the wave peak time point as a target waveform.

[0014] A first determination module is configured to, according to a position of the target waveform in the periodic waveform, determine left ventricular premature beat or right ventricular premature beat.

[0015] In a third aspect, an embodiment of the present application provides a computer device, which comprises a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and the processor implements the premature ventricular contraction type determination method of the first aspect when executing the computer program.

[0016] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, which stores a computer program, and the computer program implements the premature ventricular contraction type determination method of the first aspect when executed by a processor.

[0017] The technical effect achieved by the present application is distinguished from the prior art solutions: the present application acquires a to-be-recognized waveform, performs feature wave recognition on a periodic waveform in the to-be-recognized waveform, if there is no feature wave in the periodic waveform, determines a positive wave peak value with the highest positive voltage and a corresponding positive wave peak time point, and a negative wave peak value with the highest negative voltage and a 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 wave peak value and the negative wave peak value satisfies a 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 satisfies a second preset condition, the waveform between the time point and the wave peak time point is determined as a 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. By performing feature wave recognition on the to-be-recognized waveform, if there is no feature wave 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, 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, and the detection and judgment of the ventricular premature beat type are automatically realized, which not only improves the detection efficiency, but also improves the objective accuracy of the detection result. BRIEF DESCRIPTION OF DRAWINGS

[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the description of the embodiments of the present application. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor.

[0019] Figure 1 is an application environment schematic diagram of a ventricular premature beat type determination method provided by an embodiment of the present application;

[0020] Figure 2 is a flowchart of a ventricular premature beat type determination method provided by an embodiment of the present application;

[0021] Figure 3 is a flowchart of a ventricular premature beat type determination method provided by an embodiment of the present application;

[0022] Figure 4 is a flowchart of a ventricular premature beat type determination method provided by an embodiment of the present application;

[0023] Figure 5 is a flowchart of a ventricular premature beat type determination method provided by an embodiment of the present application;

[0024] Figure 6This is a flowchart illustrating a method for determining the type of premature ventricular contractions provided in Embodiment Six of the present invention;

[0025] Figure 7 This is a flowchart illustrating a method for determining the type of premature ventricular contractions provided in Embodiment 7 of the present invention;

[0026] Figure 8 This is a schematic diagram of the structure of a device for determining the type of premature ventricular contractions provided in Embodiment 8 of the present invention;

[0027] Figure 9 This is a schematic diagram of the structure of a computer device provided in Embodiment 9 of the present invention. Detailed Implementation

[0028] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0029] It should be understood that the sequence number of each step in the following embodiments does not imply the order 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.

[0030] like Figure 1 As shown, this is a method for determining the type of premature ventricular contractions (PVCs) provided in Embodiment 1 of the present invention, which can be applied to applications such as... Figure 1 In this application environment, the server and client communicate. The server provides a service to determine the type of premature ventricular contractions (PVCs), and the client triggers a determination task to the server. Clients include, but are not limited to, handheld computers, desktop computers, laptops, ultra-mobile personal computers (UMPCs), netbooks, cloud computing devices, and personal digital assistants (PDAs). The server-side computer can be implemented using a dedicated server or a server cluster consisting of multiple servers.

[0031] like Figure 2 The diagram shown is a flowchart illustrating a method for determining the type of premature ventricular contractions (PVCs) according to Embodiment 2 of the present invention. This method is applied to... Figure 1 The server in the system connects to the client to obtain the waveform to be identified sent by the client. For example... Figure 2 As shown, the determination method may include the following steps:

[0032] Step S201: Obtain a waveform to be identified, and identify characteristic waves in the periodic waveform.

[0033] In this embodiment, the waveform to be identified can be a curve recorded by an electrocardiograph from the body surface, which can reflect the change of bioelectric potential generated in the process of cardiac excitation generation, conduction and recovery. One normal heartbeat is one complete cardiac cycle, and the waveform corresponding to one complete cardiac cycle is a periodic waveform. The waveform to be identified includes at least one periodic waveform corresponding to one complete cardiac cycle, and the characteristic wave can be a characteristic waveform generated by one normal heartbeat, wherein the characteristic wave at least includes a P wave and an R wave.

[0034] Specifically, the waveform to be identified can be obtained by an electrocardiograph, the periodic waveform in the waveform to be identified is determined, and the P wave and the R wave in the periodic waveform are identified according to the characteristics of the P wave and the R wave, so as to detect whether the characteristic wave exists in the periodic waveform.

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

[0036] Step S202: If the characteristic wave does not exist in the periodic waveform, the positive peak value of the highest positive voltage and the corresponding positive peak time point, and the negative peak value of the highest negative voltage and the corresponding negative peak time point are determined according to the voltage corresponding to each time point in the periodic waveform.

[0037] In this embodiment, the time point corresponds to a time in the waveform record, the voltage can be a specific voltage value of the waveform at each time point, which is used to represent the potential change of the waveform relative to a reference point (such as a zero potential line) at the time point. The positive voltage can be a voltage with a positive value, the negative voltage can be a voltage with a negative value, the positive peak value can be the highest positive voltage, the positive peak time point can be the time point corresponding to the positive peak value, the negative peak value can be the highest negative voltage, and the negative peak time point can be the time point corresponding to the negative peak value.

[0038] Specifically, if the P wave and the R wave do not exist in the periodic waveform, it is determined that the periodic waveform is an abnormal waveform, and two pointers are created, namely pointer 1 and pointer 2. The pointer 1 can be used to point to the voltage corresponding to the first time point of the periodic waveform, and the pointer 2 can be used to point to the voltage corresponding to the last time point of the periodic waveform. Starting 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, the voltage corresponding to the next time point is compared successively to determine the positive peak value of the highest positive voltage and the corresponding positive peak time point, and the negative peak value of the highest negative voltage and the corresponding negative peak time point.

[0039] 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, it is determined that the waveform between the time point and the peak time point is the target waveform.

[0040] Step S204: According to the position of the target waveform in the periodic waveform, the left ventricular premature beat or the right ventricular premature beat is determined.

[0041] In this embodiment, the left ventricular premature beat and the right ventricular premature beat are two types of ventricular premature beat, wherein the left ventricular premature beat can mean that the premature beat of the heart originates from the left ventricle, the right ventricular premature beat can mean that the premature beat of the heart originates from the right ventricle, the target waveform can mean the waveform for determining the left ventricular premature beat or the right ventricular premature beat, the first preset condition can mean the condition that the comparison result of the voltage corresponding to any time point with the positive peak value and the negative peak value should meet for determining the target waveform, and the second preset condition can mean the condition that the comparison result of any time point with the positive peak time point and the negative peak time point should meet for determining the target waveform.

[0042] Specifically, for any time point, the voltage corresponding to the time point is compared with the positive peak value and the negative peak value, if the comparison result meets the first preset condition, the time point is compared with the positive peak time point and the negative 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 as the target waveform, and according to the position of the target waveform in the periodic waveform, the left ventricular premature beat or the right ventricular premature beat is determined.

[0043] In this embodiment, by performing feature wave recognition on the to-be-recognized waveform, if there is no feature wave in the periodic waveform, the target waveform is determined according to the determined positive peak value and the corresponding positive peak time point, the negative peak value and the corresponding negative peak time point, 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, the detection and judgment of the type of ventricular premature beat are automatically realized, which not only improves the detection efficiency, but also improves the objective accuracy of the detection result.

[0044] As shown in FIG. 3, it is a flowchart of a method for determining the type of ventricular premature beat provided by the third embodiment of the present application, and the feature wave recognition on the periodic waveform in step S201 can include the following steps. Figure 3

[0045] Step S301: The periodic waveform is subjected to wavelet transform to obtain the frequency characteristics corresponding to the periodic waveform.

[0046] ​Step S302: Obtain the frequency feature of the characteristic wave, and determine the candidate characteristic wave in the periodic waveform according to the frequency feature of the characteristic wave and the frequency feature corresponding to the periodic waveform.

[0047] Step S303: Obtain the shape feature of the characteristic wave, and the shape feature of each candidate characteristic wave.

[0048] Step S304: For any candidate characteristic wave, similarity comparison is performed on the shape feature of the candidate characteristic wave and the shape feature of the characteristic wave to obtain a similarity score.

[0049] Step S305: If the similarity score is greater than a preset threshold, it is determined that the characteristic wave exists in the periodic waveform, and if the similarity score is less than the preset threshold, it is determined that the characteristic wave does not exist in the periodic waveform.

[0050] In this embodiment, the frequency feature can refer to the feature of the waveform in different scale frequency bands, the shape feature can refer to the height, width and slope of the waveform, the candidate characteristic wave can refer to the waveform in the periodic waveform selected according to the shape feature of the characteristic wave, the similarity score can refer to a score representing the similarity of the shape feature of the candidate characteristic wave and the characteristic wave, and the preset threshold can refer to a threshold that the similarity score should satisfy when determining the candidate characteristic wave as the characteristic wave.

[0051] Specifically, first, the periodic waveform can be wavelet transformed according to a preset wavelet basis and a decomposition level to decompose the periodic waveform into frequency band signals of different scales, second, a specific frequency band is selected for detection according to the frequency feature of the characteristic wave to determine the candidate characteristic wave, for example, the R wave usually corresponds to a high frequency part, so the detection can be performed in a wavelet band containing the main energy of the R wave, the local maximum value points are detected in the selected frequency band by setting a threshold, the positions corresponding to the local maximum value points are determined as the candidate R wave positions, and the candidate R wave positions are mapped back to the original periodic waveform to determine the candidate characteristic wave, then, the shape similarity score of the candidate characteristic wave and the characteristic wave is calculated according to the height, width and slope of the shape feature of the candidate characteristic wave and the characteristic wave, and 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, and 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.

[0052] In this embodiment, the periodic waveform is wavelet transformed, and the characteristic wave is identified based on the frequency feature and the shape feature, so that the detection accuracy of the characteristic wave is improved.

[0053] As Figure 4As shown, the flowchart of the ventricular premature beat type determination method provided by the fourth embodiment of the present application, the step S203 can include the following steps:

[0054] Step S401: For any time point, calculate the first voltage difference between the voltage corresponding to the time point and the positive peak value, and calculate the second voltage difference between the voltage corresponding to the time point and the negative peak value.

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

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

[0057] 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 satisfies the second preset condition, the waveform between the target time point and the peak time point is determined as the target waveform.

[0058] In this embodiment, the first voltage difference can be the voltage difference between the voltage of any time point and the positive peak value, the second voltage difference can be the voltage difference between the voltage of any time point and the negative peak value, the first target time point can be the time point at which the first voltage difference satisfies the first preset condition, and the second target time point can be the time point at which the second voltage difference satisfies the first preset condition.

[0059] Specifically, two pointers are created, namely pointer 3 and pointer 4, the pointer 3 can be used to point to the voltage corresponding to the first time point of the periodic waveform, and the pointer 4 can be used to point to the voltage corresponding to the last time point of the periodic waveform, and the first voltage difference with the maximum positive peak voltage difference satisfying the first preset condition is determined by comparing the voltage corresponding to the first time point and the voltage corresponding to the last time point with the positive peak value and the negative peak value from the middle position of the time point, and the corresponding time point is the first target time point, and the second voltage difference with the maximum negative peak voltage difference satisfying the first preset condition is determined, and the corresponding time point is the 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 satisfies the second preset condition, the waveform between the target time point and the peak time point is determined as the target waveform.

[0060] In the embodiment, the highest voltage difference satisfying the first preset condition is determined by calculating the voltage difference between the voltage at any time point and the voltage of the peak value, and the target time point corresponding to the highest voltage difference is determined, and the target waveform is determined based on the target time point and the peak time point, so that the calculation process is simplified, and the identification speed of the target waveform is improved.

[0061] As shown in Figure 5 The flowchart of the ventricular premature beat type determination method provided by the embodiment five of the present application is shown in the figure, and 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 satisfy the second preset condition in the step S404, the waveform between the target time point and the peak time point is determined as the target waveform, which can include the following steps:

[0062] Step S501: calculating the first duration between the first target time point and the positive peak time point, and calculating the second duration between the second target time point and the negative peak time point.

[0063] 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.

[0064] 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.

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

[0066] 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, and it is determined as 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, and it is determined as the target waveform.

[0067] In the embodiment, the longest duration satisfying the preset second condition is determined by calculating the duration between the target time point and the peak time point, and the waveform between the target time point and the peak time point corresponding to the duration is determined as the target waveform, so that the calculation process is simplified, and the identification speed of the target waveform is improved.

[0068] As Figure 6 shown in the flow diagram of the ventricular premature beat type determination method provided by Embodiment Six of the present application, the step S204 of determining the left ventricular premature beat or the right ventricular premature beat according to the position of the target waveform in the periodic waveform can include the following steps:

[0069] Step S601: If the target waveform is in the first half cycle of the periodic waveform, and the voltages corresponding to the target waveform are all negative voltages, then the right ventricular premature beat is determined.

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

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

[0072] In this embodiment, the determination of the right ventricular premature beat and the left ventricular premature beat is made according to the position of the target waveform in the periodic waveform and the corresponding voltage, which automatically realizes the detection and determination of the ventricular premature beat type and improves the detection efficiency.

[0073] As Figure 7 shown in the flow diagram of the ventricular premature beat type determination method provided by Embodiment Seven of the present application, the determination method can further include the following steps:

[0074] Step S701: The number of periodic waveforms determined as the right ventricular premature beat and the left ventricular premature beat in the to-be-identified waveform is counted.

[0075] Step S702: According to the number, a corresponding treatment item is taken in combination with a preset treatment strategy.

[0076] In this embodiment, the preset treatment strategy can refer to a corresponding treatment method preset for the number of premature beats.

[0077] For example, if the number of right ventricular premature beats and left ventricular premature beats in the to-be-identified waveform within one minute does not reach 10 times, then no corresponding treatment is needed, and if the number of right ventricular premature beats and left ventricular premature beats within one minute exceeds 10 times, then a corresponding treatment needs to be taken for this situation.

[0078] In this embodiment, by counting the number of ventricular premature beats and taking a corresponding treatment item in a timely manner according to the counted number, the further deterioration of the disease is effectively prevented.

[0079] AsFigure 8 As shown in the figure, the device for determining a type of premature ventricular contraction is provided for the eighth embodiment of the present application, and the device for determining a type of premature ventricular contraction corresponds to the method for determining a type of premature ventricular contraction in the above embodiments. The device comprises a first acquisition module 81, a first determination module 82, a second determination module 83, and a first determination module 84. The functions of each module are described in detail as follows.

[0080] The first acquisition module 81 is configured to acquire a to-be-identified waveform, wherein the to-be-identified waveform comprises a periodic waveform corresponding to at least one complete cardiac cycle, and the periodic waveform is subjected to feature wave identification, and the feature wave at least comprises a P wave and an R wave.

[0081] The first determination module 82 is configured to, if the feature wave does not exist in the periodic waveform, determine a positive wave peak value and a corresponding positive wave peak time point with the highest positive voltage and a negative wave peak value and a corresponding negative wave peak time point with the highest negative voltage according to a voltage corresponding to each time point in the periodic waveform.

[0082] The second determination module 83 is configured to, for any time point, if a comparison result of the voltage corresponding to the time point and the positive wave peak value and the negative wave peak value satisfies a first preset condition, and a comparison result of the time point and the positive wave peak time point and the negative wave peak time point satisfies a second preset condition, determine a waveform between the time point and the wave peak time point as a target waveform.

[0083] The first determination module 84 is configured to determine left ventricular premature beat or right ventricular premature beat according to a position of the target waveform in the periodic waveform.

[0084] Optionally, the first acquisition module 81 comprises:

[0085] A transformation unit is configured to perform wavelet transformation on the periodic waveform to obtain a frequency feature corresponding to the periodic waveform.

[0086] A candidate determination unit is configured to obtain a frequency feature of the feature wave, and determine a candidate feature wave in the periodic waveform according to the frequency feature of the feature wave and the frequency feature corresponding to the periodic waveform.

[0087] A second acquisition unit is configured to obtain a shape feature of the feature wave and a shape feature of each candidate feature wave.

[0088] A comparison unit is configured to, for any candidate feature wave, perform similarity comparison on the shape feature of the candidate feature wave and the shape feature of the feature wave to obtain a similarity score.

[0089] The third determining unit is configured to determine that the feature wave exists in the periodic waveform if the similarity score is greater than a preset threshold, and determine that the feature wave does not exist in the periodic waveform if the similarity score is less than the preset threshold.

[0090] Optionally, the second determining module 83 includes:

[0091] The first calculating unit is configured to calculate a first voltage difference between a voltage corresponding to any time point and the positive peak value, and calculate a second voltage difference between the voltage corresponding to the time point and the negative peak value.

[0092] The fourth determining unit is configured to determine that a highest first voltage difference satisfies the first preset condition from all the first voltage differences, and determine that a time point corresponding to the highest first voltage difference is a first target time point.

[0093] The fifth determining unit is configured to determine that a highest second voltage difference satisfies the first preset condition from all the second voltage differences, and determine that a time point corresponding to the highest second voltage difference is a second target time point.

[0094] The sixth determining unit is configured to determine that a waveform between the target time point and the peak time point is the target waveform if a comparison result of the first target time point and the second target time point with the positive peak time point and the negative peak time point satisfies the second preset condition.

[0095] Optionally, the sixth determining unit includes:

[0096] The second calculating sub-unit is configured to calculate a first duration between the first target time point and the positive peak time point, and calculate a second duration between the second target time point and the negative peak time point.

[0097] The seventh determining sub-unit is configured to determine that the first duration satisfies the second preset condition and determine that a waveform between the first target time point and the positive peak time point is the target waveform if the first duration is greater than the second duration.

[0098] The eighth determining sub-unit is configured to determine that the second duration satisfies the second preset condition and determine that a waveform between the second target time point and the negative peak time point is the target waveform if the second duration is greater than the first duration.

[0099] Optionally, the first determining module 84 includes:

[0100] The second determination unit is used to determine that 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, then it is the right ventricular premature beat.

[0101] The third determination unit is used to determine that 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, then it is the left ventricular premature beat.

[0102] Optionally, the determining device further includes:

[0103] The statistics module is used to count the number of periodic waveforms in the waveform to be identified that are the right ventricular premature beats and the left ventricular premature beats;

[0104] The control module is used to take corresponding treatment measures based on the quantity and in conjunction with a preset treatment strategy.

[0105] Optionally, the determining device further includes:

[0106] The denoising module is used to remove interference noise from the waveform to be identified based on wavelet packet decomposition and adaptive threshold.

[0107] Specific limitations regarding the device for determining the type of ventricular premature beats can be found in the limitations of the determination method for ventricular premature beats described above, and will not be repeated here. Each module in the aforementioned device for determining the type of ventricular premature beats can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of the processor, or stored in the memory of a computer device in software form, so that the processor can call and execute the corresponding operations of each module.

[0108] Figure 9 This is a schematic diagram of the structure of a computer device provided in Embodiment 9 of the present invention. Figure 9 As shown, the computer device of this embodiment includes: at least one processor ( Figure 9 The diagram shows only one of the following: a memory and a computer program stored in the memory and executable on at least one processor. When the processor executes the computer program, it implements the steps in the embodiments of the methods for determining any of the aforementioned types of premature ventricular contractions.

[0109] This computer device may include, but is not limited to, a processor and memory. Those skilled in the art will understand that... Figure 9 The examples of computer devices are merely examples and do not constitute a limitation on computer devices. Computer devices may include more or fewer components than shown in the illustration, or combinations of certain components, or different components, such as network interfaces, displays, and input devices.

[0110] The processor can be a central processing unit (CPU), the processor can also be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.

[0111] The memory includes a readable storage medium, an internal memory, etc., where the internal memory can be the memory of the computer device, and the internal memory provides an environment for the operation of the operating system and the computer readable instructions in the readable storage medium. The readable storage medium can be the hard disk of the computer device, and in other embodiments, can also be the external storage device of the computer device, for example, the plug-in hard disk, the smart media card (SMC), the secure digital (SD) card, the flash card, etc. equipped on the computer device. Further, the memory can include both the internal storage unit of the computer device and the external storage device. The memory is used to store the operating system, the application program, the boot loader, the data, and other programs, such as the program code of the computer program, etc. The memory can also be used to temporarily store the data that has been output or will be output.

[0112] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above-mentioned division of each functional unit and module is exemplified, and in actual application, the above-mentioned functions can be completed by different functional units and modules according to needs, 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. Each functional unit and module in the embodiment can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of software functional unit. In addition, the specific names of each functional unit and module are only for easy distinction, and do not limit the protection scope of the present application. The specific working process of the unit and module in the above device can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here. If the integrated unit is realized in the form of 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 application realizes all or part of the processes in the above-mentioned embodiment methods, which can be realized by a computer program to instruct related hardware to complete, and the computer program can be stored in a computer readable storage medium. The computer program includes computer program code, which can be in the form of source code, object code, executable file or some intermediate form. The computer readable medium at least includes any entity or device capable of carrying computer program code, recording medium, computer memory, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), electric carrier signal, telecommunication signal and software distribution medium. For example, U disk, mobile hard disk, magnetic disk or optical disk, etc. In some jurisdictions, according to legislation and patent practice, computer readable medium cannot be electric carrier signal and telecommunication signal.

[0113] The present application realizes all or part of the processes in the above-mentioned embodiment methods, which can also be completed by a computer program product. When the computer program product runs on the computer equipment, it makes the computer equipment execute the steps in the above-mentioned embodiment methods.

[0114] In the above-mentioned embodiments, the description of each embodiment has its own emphasis, and the parts not described or recorded in detail in a certain embodiment can be referred to the related description of other embodiments.

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

[0116] In the embodiments provided by the present application, it should be understood that the disclosed apparatus / computer device and method can be implemented in other manners. For example, the described apparatus / computer device embodiments are merely schematic. For example, the division of the modules or units can be different, and each can include a plurality of sub-units. Some or all of the modules or units can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections can be indirect couplings or communication connections through some interfaces, devices or units, and can be in electrical, mechanical or other forms.

[0117] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e. may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiments.

[0118] The above embodiments are merely used to illustrate the technical solutions of the present application, rather than limit them. Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that the technical solutions recorded in the foregoing embodiments can be modified, or some technical features can be replaced by equivalent technical features, without changing the essence of the corresponding technical solutions, and such modifications or replacements should be included in the protection scope of the present application.

Claims

1. A method for determining the type of premature ventricular contractions (PVCs), characterized in that, The determination method includes the following steps: Acquire a waveform to be identified, the waveform to be identified including at least one periodic waveform corresponding to a complete cardiac cycle, and perform feature wave identification on the periodic waveform, the feature waves including at least P waves and R waves; If the characteristic wave is not present in the periodic waveform, then based on the voltage corresponding to each time point in the periodic waveform, determine the peak value of the positive wave with the highest positive voltage and the corresponding positive wave peak time point, as well as the peak value of the negative wave with the highest negative voltage and the corresponding negative wave peak time point. For any given time point, if the comparison result between the voltage corresponding to the time point and the positive peak value and the negative peak value satisfies a first preset condition, and the comparison result between the time point and the positive peak time point and the negative peak time point satisfies a second preset condition, then the waveform between the time point and the peak time point is determined to be the target waveform. Based on the position of the target waveform within the periodic waveform, determine whether it is a left ventricular premature beat or a right ventricular premature beat; For any given time point, if the comparison result between the voltage corresponding to that time point and the positive peak value and the negative peak value satisfies a first preset condition, and the comparison result between that time point and the positive peak time point and the negative peak time point satisfies a second preset condition, then the waveform between that time point and the peak time point is determined to be the target waveform, including: For any given time point, calculate the first voltage difference between the voltage at that time point and the peak value of the positive wave, and calculate the second voltage difference between the voltage at that time point and the peak value of the negative wave. From all the first voltage differences, determine the highest first voltage difference that satisfies the first preset condition, and determine the time point corresponding to the highest first voltage difference as the first target time point; From all the second voltage differences, determine the highest second voltage difference that satisfies the first preset condition, and determine the time point corresponding to the highest second voltage difference as the second target time point; If the comparison results between the first target time point, the second target time point, the positive peak time point, and the negative peak time point satisfy the second preset condition, then the waveform between the target time point and the peak time point is determined to be the target waveform; If the comparison results between the first target time point, the second target time point, the positive peak time point, and the negative peak time point satisfy the second preset condition, then the waveform between the target time point and the peak time point is determined to be the target waveform, including: Calculate the first duration between the first target time point and the positive peak time point, and calculate the second duration between the second target time point and the negative peak time point; If the first duration is greater than the second duration, then the first duration is determined to satisfy the second preset condition, and the waveform between the first target time point and the positive peak time point is determined to be the target waveform; If the second duration is greater than the first duration, then the second duration is determined to satisfy 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.

2. The method for determining the type of premature ventricular contractions as described in claim 1, characterized in that, The process of identifying the characteristic waves of the periodic waveform includes: Perform wavelet transform on the periodic waveform to obtain the frequency characteristics corresponding to the periodic waveform; The frequency characteristics of the characteristic wave are obtained, and candidate characteristic waves in the periodic waveform are determined based on the frequency characteristics of the characteristic wave and the frequency characteristics corresponding to the periodic waveform. Obtain the morphological features of the feature wave, as well as the morphological features of each candidate feature wave; For any candidate feature wave, the morphological features of the candidate feature wave are compared with the morphological features of the feature wave to obtain a similarity score. If the similarity score is greater than a preset threshold, it is determined that the feature wave exists in the periodic waveform; if the similarity score is less than the preset threshold, it is determined that the feature wave does not exist in the periodic waveform.

3. The method for determining the type of premature ventricular contractions as described in claim 1, characterized in that, The step of determining whether a premature ventricular contraction (PVC) is a left or right ventricular contraction (PVC) based on the position of the target waveform within 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, then it is determined to be a right ventricular premature beat. If the target waveform is in the latter half of the periodic waveform and the voltages corresponding to the target waveform are all positive voltages, then it is determined to be a premature left ventricular contraction.

4. The method for determining the type of premature ventricular contractions as described in claim 1, characterized in that, The determination method further includes: The number of periodic waveforms identified as right ventricular premature beats and left ventricular premature beats in the waveforms to be identified is counted. Based on the stated quantity and in conjunction with a pre-defined treatment strategy, appropriate treatment items are adopted.

5. The method for determining the type of premature ventricular contractions as described in claim 1, characterized in that, After acquiring the waveform to be identified, the process also includes: Interference noise in the waveform to be identified is removed based on wavelet packet decomposition and adaptive thresholding.

6. A device for determining the type of premature ventricular contractions, characterized in that, The determining device includes: The first acquisition module is used to acquire a waveform to be identified, the waveform to be identified including at least one periodic waveform corresponding to a complete cardiac cycle, and to perform feature wave identification on the periodic waveform, the feature wave including at least P wave and R wave; The first determining module is used to determine the highest positive wave peak value and the corresponding positive wave peak time point, as well as the highest negative wave peak value and the corresponding negative wave peak time point, based on the voltage corresponding to each time point in the periodic waveform if the characteristic wave does not exist in the periodic waveform. The second determining module is used to determine the waveform between the time point and the peak time point as the target waveform if, for any given time point, the comparison result between the voltage corresponding to the time point and the positive peak value and the negative peak value satisfies a first preset condition, and the comparison result between the time point and the positive peak time point and the negative peak time point satisfies a second preset condition. The first determination module is used to determine whether a premature ventricular contraction (PVC) is a left ventricular contraction or a premature ventricular contraction (PVC) based on the position of the target waveform in the periodic waveform. The second determining module includes: The first calculation unit is used to calculate, for any given time point, a first voltage difference between the voltage at that time point and the peak value of the positive wave, and a second voltage difference between the voltage at that time point and the peak value of the negative wave. The fourth determining unit is used to determine, from all the first voltage differences, the highest first voltage difference that satisfies the first preset condition, and to determine the time point corresponding to the highest first voltage difference as the first target time point; The fifth determining unit is used to determine, from all the second voltage differences, the highest second voltage difference that satisfies the first preset condition, and to determine the time point corresponding to the highest second voltage difference as the second target time point; The sixth determining unit is used to determine the waveform between the target time point and the peak time point as the target waveform if the comparison results between the first target time point, the second target time point and the positive peak time point and the negative peak time point satisfy the second preset condition. The sixth determining unit includes: The second calculation subunit is used to calculate the first duration between the first target time point and the positive peak time point, and to calculate the second duration between the second target time point and the negative peak time point; The seventh determining subunit is used to determine that if the first duration is greater than the second duration, the first duration satisfies the second preset condition, and to determine the waveform between the first target time point and the positive peak time point as the target waveform; The eighth determining subunit is used to determine that the second duration satisfies the second preset condition if the second duration is greater than the first duration, and to determine the waveform between the second target time point and the negative peak time point as the target waveform.

7. 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, it implements the method for determining the type of premature ventricular contractions as described in any one of claims 1 to 5.

8. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the method for determining the type of premature ventricular contractions as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method and system for detecting heartbeat irregularities

    CN105263401A

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

    CN109259750A