Cardiac function detection system based on electrocardiogram data, storage medium and device

Through the cardiac function detection system based on ECG data and the intelligent analysis of ECG data combined with machine learning algorithms, the problem of being unable to effectively identify and evaluate cardiac function in the existing technology has been solved, and intelligent assessment and emergency diagnosis of cardiac function have been achieved, improving improve the prevention and management of heart disease.

CN118557166AInactive Publication Date: 2024-08-30BENGBU COLLEGE
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410608355.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-16
Publication Date
2024-08-30
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing health software cannot intelligently analyze ECG data, cannot effectively improve abnormal health data, has complex operations and insufficient intelligence, and cannot effectively identify and evaluate heart function status, resulting in the inability to prevent and treat heart diseases in a timely manner.

Method used

A heart function detection system based on ECG data is designed. The ECG data is obtained through the data acquisition module, the abnormal analysis module identifies abnormal parameters, the data processing module generates the impact index, the evaluation index generation module calculates the comprehensive evaluation index, and the comprehensive analysis module evaluates Heart function status, combined with machine learning algorithms to identify and analyze ECG data, to achieve intelligent assessment of heart function.

Benefits of technology

It can identify cardiac events early, evaluate cardiac drug treatment response, guide cardiac reconstruction procedures, quickly diagnose potential cardiac problems, improve the clinical value of electrocardiogram testing, help emergency rescue and long-term heart disease management, and reduce heart disease mortality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118557166A
    Figure CN118557166A
Patent Text Reader

Abstract

The invention provides a cardiac function detection system based on electrocardiogram data, a storage medium and a device, and relates to the technical field of cardiac function detection.The system comprises a data acquisition module, an anomaly analysis module, a data processing module, an evaluation index generation module and a comprehensive analysis module; the data acquisition module is used for acquiring electrocardiogram parameters of a user, including heart rate, P wave and QRS complex wave data; and the abnormity analysis module is used for carrying out abnormity analysis on the electrocardiogram data, and if the abnormity analysis result is that the electrocardiogram data of the user is abnormal, further analysis is carried out. According to the method, cardiac events are recognized in advance through continuous detection of the electrocardiogram data, the method is crucial to the aspects of evaluating the response of cardiac drug treatment, guiding a cardiac reconstruction program and the like, electrocardiogram detection has extremely high clinical value in reality, and doctors are allowed to rapidly evaluate cardiac functions and diagnose various potential cardiac problems.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of cardiac function detection, and in particular to a cardiac function detection system, storage medium and device based on electrocardiogram data. Background Art

[0002] Heart attacks are often acute, progress quickly, are severe and have a high mortality rate. The interval from the onset of acute symptoms to sudden cardiac death is very short. Establishing a complete and effective cardiac function testing system is an effective solution to reduce the incidence and mortality of out-of-hospital heart disease.

[0003] In the prior art, with the popularity of smart mobile devices, various health applications are widely used. Various existing health software can measure various types of health data of users, such as heart rate, heart rhythm, etc., so that users can timely understand the status of their various health indicators. However, the existing health software usually only supports the measurement of health data, and cannot perform intelligent analysis based on the measurement results and take effective measures to improve abnormal health data. The operation is complicated and the intelligence level is insufficient.

[0004] The above information disclosed in this Background section is only for enhancement of understanding of the background of the present disclosure and therefore it may contain information that does not constitute the prior art that is already known to one of ordinary skill in the art. Summary of the invention

[0005] The purpose of the present invention is to provide a cardiac function detection system, storage medium and device based on electrocardiogram data to solve the problems raised in the above-mentioned background technology.

[0006] To achieve the above object, the present invention provides the following technical solutions:

[0007] A cardiac function detection system based on electrocardiogram data, specifically comprising:

[0008] A data acquisition module is used to acquire and identify ECG data, mark the time interval between adjacent P wave peaks in the ECG data as a time unit, divide the ECG data using non-overlapping time units, and acquire ECG parameters within each time unit, wherein the ECG parameters include heart rate, duration and amplitude of the P wave, and duration and amplitude of the QRS complex wave;

[0009] The abnormality analysis module is used to compare the heart rate, duration and amplitude of the P wave, and duration and amplitude of the QRS complex wave recorded in a time unit with the corresponding preset thresholds. If the threshold range is exceeded, the difference between the user's ECG data and the preset range is calculated respectively; if at least one of the parameters has the data fluctuation, it is determined that the user has abnormal ECG data, and the data is transmitted to the evaluation index generation module;

[0010] The data processing module is used to perform dimensionless processing on the difference between the duration and amplitude of the P wave and the preset threshold value to generate a first impact index; and to perform dimensionless processing on the difference between the duration and amplitude of the QRS complex wave and the preset threshold value to generate a second impact index;

[0011] An evaluation index generation module, used for substituting the difference between the heart rate and a preset threshold, the first impact index and the second impact index into an evaluation index generation formula to generate a comprehensive evaluation index;

[0012] The comprehensive analysis module is used to compare the comprehensive evaluation index with the preset professional evaluation threshold to evaluate the state of cardiac function.

[0013] Furthermore, the specific logic of using machine learning to identify ECG data is as follows:

[0014] Collect an electrocardiogram data set, and annotate the positions of the R wave, Q wave, and S wave; use the electrocardiogram data set as a training set, and use the position annotations of the R wave, Q wave, and S wave as labels; construct a machine learning model based on a support vector machine algorithm, input the training set and labels into the machine learning model, and train the machine learning model; use the electrocardiogram data to be identified as input data, input it into the trained machine learning model, output the position annotation information of the R wave, Q wave, and S wave, and realize the identification of the electrocardiogram data. The result of the identification is that which data belongs to the R wave, Q wave, and S wave in a time unit will be displayed, that is, the voltage data of the electrocardiogram signal belonging to the R wave, Q wave, and S wave and their corresponding time series will be distinguished;

[0015] Furthermore, the specific logic for collecting ECG data is as follows:

[0016] The heart rate is calculated by calculating the time of the R wave interval on the ECG waveform, recording the heart rate α within a time unit, and comparing the recorded heart rate with a preset heart rate threshold. If the heart rate exceeds the threshold range, the difference Δα between the user's heart rate and the preset heart rate range is calculated;

[0017] Record the duration β and amplitude of the P wave within a time unit The recorded duration β is compared with the preset threshold. If it exceeds the threshold range, the difference Δβ between the duration β and the preset threshold is calculated. The amplitude is calculated if it exceeds the preset threshold. The difference from the preset threshold

[0018] The duration γ and amplitude ω of the QRS complex wave within a time unit are recorded, and the recorded duration γ is compared with the preset threshold. If it exceeds the threshold range, the difference Δγ between the duration γ and the preset threshold is calculated; the recorded amplitude ω is compared with the preset threshold. If it exceeds the threshold range, the difference Δω between the amplitude ω and the preset threshold is calculated.

[0019] Furthermore, the amplitude of the P wave within a time unit is collected The specific logic is:

[0020] The vertical distance from the highest point of the P wave (or the lowest point, if the P wave is negative) to the baseline is the amplitude of the P wave; using the ECG paper grid as a reference, each small square on the ECG paper usually corresponds to a voltage change of 0.1 millivolts, and each large square contains 5 small squares, so it is equal to 0.5 millivolts; measure the number of squares from the highest point of the P wave to the baseline, and multiply it by the voltage value represented by each square to get the amplitude of the P wave

[0021] Furthermore, the specific logic for collecting the amplitude ω of the QRS complex wave within a time unit is:

[0022] Measure the R wave apex: The vertical distance from the baseline to the R wave apex is the R wave amplitude; measure the S wave nadir: The vertical distance from the baseline to the S wave nadir is the S wave amplitude; measure the sum of the vertical distances between the R wave apex and the S wave nadir; use the ECG paper grid as a reference: On a standard ECG paper, each small square usually represents 0.1 millivolts or 1 millimeter of amplitude, and each large square contains 5 small squares, which equals 0.5 millivolts. Count the heights of the R and S waves through the grid, and multiply by the voltage value represented by each small square to get the amplitude of the QRS complex wave, ω.

[0023] Furthermore, the formula for generating the first impact index is:

[0024]

[0025] Where X is the first impact index, Δβ is the difference between the duration of the P wave in a time unit and the preset threshold, is the difference between the amplitude of the P wave and the preset threshold, C1 is the constant correction index, and μ is The factor coefficient is 0.22≤μ≤0.5;

[0026] The formula used to generate the second impact index is:

[0027]

[0028] Among them, Y is the second influence index, Δγ is the difference between the duration of the QRS complex wave in a time unit and the preset threshold, Δω is the difference between the amplitude of the QRS complex wave and the preset threshold, C2 is the constant correction index, τ is the factor coefficient of (Δγ+Δω), 0.2≤τ≤0.5.

[0029] Furthermore, the formula for generating the comprehensive evaluation index ZS is:

[0030] ZS=θ*Δα+ln[ε*(X+Y)]+C3

[0031] Among them, ZS is a comprehensive evaluation index, Δα is the difference between the user's heart rate and the preset heart rate range, X is a first influence index, Y is a second influence index, C3 is a constant correction index, θ is a factor coefficient of the difference Δα between the user's heart rate and the preset heart rate range, 0.2≤τ≤0.5, ε is a factor coefficient of the sum of the first influence index X and the second influence index Y, 0.2≤ε≤0.5.

[0032] Furthermore, the comprehensive evaluation index is compared with the preset professional evaluation threshold to evaluate the state of cardiac function, based on the specific logic:

[0033] When ZS≤ZY, the target user's heart is judged to be in a mildly abnormal state. A more detailed evaluation is needed to determine the cause of the abnormality, which may include lifestyle changes, drug treatment, and further heart tests. Regular follow-up tests are required and the quality plan should be adjusted according to the doctor's advice.

[0034] When ZS>ZY, it is judged that the target user's current heart is in an abnormal state and requires emergency medical intervention and hospitalization, as well as regular heart examinations.

[0035] Among them, ZS is the comprehensive evaluation index and ZY is the preset professional evaluation threshold.

[0036] The present invention also includes a computer-readable storage medium having a computer program stored thereon, which is used to implement the following steps when executed by a processor:

[0037] ECG data and identifying the ECG data, marking the time interval between adjacent P wave peaks in the ECG data as a time unit, dividing the ECG data using non-overlapping time units, and obtaining ECG parameters within each time unit, wherein the ECG parameters include heart rate, duration and amplitude of the P wave, and duration and amplitude of the QRS complex wave;

[0038] The heart rate, duration and amplitude of the P wave, and duration and amplitude of the QRS complex wave recorded within a time unit are compared with the corresponding preset thresholds. If they exceed the threshold range, the difference between the user's ECG data and the preset range is calculated respectively; if at least one of the parameters has the data fluctuation, it is determined that the user has abnormal ECG data, and the data is transmitted to the evaluation index generation module;

[0039] The duration and amplitude of the P wave are processed dimensionlessly with the difference of the preset threshold value to generate a first impact index; the duration and amplitude of the QRS complex wave are processed dimensionlessly with the difference of the preset threshold value to generate a second impact index;

[0040] Substituting the difference between the heart rate and the preset threshold, the first impact index and the second impact index into the evaluation index generation formula to generate a comprehensive evaluation index;

[0041] The comprehensive assessment index is compared with the preset professional assessment threshold to evaluate the status of cardiac function.

[0042] The present invention also includes a device, including a memory and a processor, wherein the memory stores a computer program executable by the processor, and the memory uses the above-mentioned storage medium.

[0043] Compared with the prior art, the present invention has the following beneficial effects: in clinical practice, the continuous detection of these ECG data is crucial for early identification of cardiac events, evaluation of responses to cardiac drug therapy, and guidance of cardiac reconstruction procedures. ECG testing has extremely high clinical value in reality, allowing doctors to quickly evaluate cardiac function and diagnose various potential heart problems. By analyzing the electrical activity of the heart, doctors can detect important health problems such as arrhythmias, myocardial ischemia or infarction, and abnormal cardiac structure. This detection is crucial for emergency first aid, long-term heart disease management, and preventive health examinations, and can save lives, guide treatment, and improve the quality of life of patients. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 It is a schematic diagram of the overall system structure of the present invention. DETAILED DESCRIPTION

[0045] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with specific embodiments.

[0046] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the present invention should be understood by people with ordinary skills in the field to which the present invention belongs. The words "first", "second" and similar words used in the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0047] Example:

[0048] See also Figure 1 The present invention provides a cardiac function detection system based on electrocardiogram data, which specifically includes:

[0049] A data acquisition module is used to acquire and identify ECG data, mark the time interval between adjacent P wave peaks in the ECG data as a time unit, divide the ECG data using non-overlapping time units, and acquire ECG parameters within each time unit, wherein the ECG parameters include heart rate, duration and amplitude of the P wave, and duration and amplitude of the QRS complex wave;

[0050] In this embodiment, the ECG data is waveform data with the time series in the horizontal axis and the voltage of the ECG signal as the vertical axis, which includes multiple ECG waveforms, such as P wave, QRS complex, etc. The ECG signal will show obvious periodicity, which is caused by the continuous contraction and relaxation of the heart. Each waveform in the ECG signal represents a different cardiac event, such as atrial contraction and ventricular contraction.

[0051] An electrocardiogram is a graphical representation used to record the electrical activity of the heart, in which the QRS complex wave represents the contraction and relaxation process of the heart. A complete electrocardiogram cycle usually includes an R wave and corresponding Q wave and S wave. In this embodiment, the time interval between adjacent P wave peaks is calibrated as a time unit, so the electrocardiogram data within a time unit is the data of an electrocardiogram cycle. The electrocardiogram data is divided into non-overlapping time units, that is, the electrocardiogram data is divided into independent time intervals according to the electrocardiogram cycle.

[0052] In this embodiment, machine learning is used to identify ECG data, and the specific logic is:

[0053] Collect an electrocardiogram dataset and annotate the positions of the R wave, Q wave, and S wave. Use the electrocardiogram dataset as a training set and annotate the positions of the R wave, Q wave, and S wave as labels.

[0054] A machine learning model based on the support vector machine algorithm is constructed, and the training set and labels are input into the machine learning model to train the machine learning model; the electrocardiogram data to be identified is used as input data and input into the trained machine learning model, and the position annotation information of the R wave, Q wave and S wave is output to realize the identification of the electrocardiogram data. The result of the identification is which data belongs to the R wave, Q wave and S wave within a time unit, that is, the voltage data of the electrocardiogram signal belonging to the R wave, Q wave and S wave and their corresponding time series are distinguished.

[0055] In this embodiment, the amplitude of the P wave within a time unit is collected. The specific logic is:

[0056] The vertical distance from the highest point of the P wave (or the lowest point if the P wave is negative) to the baseline is the amplitude of the P wave; using the ECG paper grid as a reference, each small square on the ECG paper usually corresponds to a voltage change of 0.1 millivolts, and each large square contains 5 small squares, so it is equal to 0.5 millivolts; measure the number of squares from the highest point of the P wave to the baseline, and multiply it by the voltage value represented by each square to get the amplitude of the P wave.

[0057] The specific logic for collecting the amplitude ω of the QRS complex wave within a time unit is:

[0058] Measure the R wave apex: The vertical distance from the baseline to the R wave apex is the R wave amplitude; measure the S wave nadir: The vertical distance from the baseline to the S wave nadir is the S wave amplitude; measure the sum of the vertical distances between the R wave apex and the S wave nadir; use the ECG paper grid as a reference: On a standard ECG paper, each small square usually represents 0.1 millivolts or 1 millimeter of amplitude, and each large square contains 5 small squares, which equals 0.5 millivolts. Count the heights of the R and S waves through the grid, and multiply by the voltage value represented by each small square to get the amplitude of the QRS complex wave, ω.

[0059] The abnormality analysis module compares the recorded heart rate, duration and amplitude of the P wave, and duration and amplitude of the QRS complex wave within a time unit with the corresponding preset thresholds. If the threshold range is exceeded, the difference between the user's ECG data and the preset range is calculated respectively; if at least one of the parameters has the data fluctuation, it is determined that the user has abnormal ECG data, and the data is transmitted to the evaluation index generation module;

[0060] In this embodiment, the heart rate is calculated by calculating the time of the R wave interval on the ECG waveform, and the heart rate α within a time unit is recorded. The recorded heart rate is compared with the preset heart rate threshold. If it exceeds the threshold range, the difference Δα between the user's heart rate and the preset heart rate range is calculated; when the heart rate is higher than the threshold, it may cause insufficient blood supply to the heart because the ventricular congestion time is reduced, reducing the amount of blood output by the heart with each beat; when the heart rate is lower than the threshold, it may cause insufficient oxygen and nutrition supply to organs and tissues. In some cases, bradycardia may be a sign of problems with the cardiac conduction system, such as sinus node dysfunction or atrioventricular block. Therefore, the difference Δα between the heart rate and the preset heart rate range is used as an important parameter for evaluating the user's heart state.

[0061] Record the duration β and amplitude of the P wave within a time unit The recorded duration β is compared with the preset threshold. If it exceeds the threshold range, the difference Δβ between the duration β and the preset threshold is calculated. The amplitude is calculated if it exceeds the preset threshold. The difference from the preset threshold In the electrocardiogram, the P wave represents the depolarization of the atrium, that is, the electrophysiological activity of atrial contraction. The normal duration of the P wave should be less than or equal to 120 milliseconds, and its amplitude is usually within 0.25 millivolts. If the difference between the duration or amplitude of the P wave and the preset threshold increases, it may mean conduction delay or atrial hypertrophy of the left or right atrium. Therefore, the duration β and amplitude of the P wave within a time unit are calculated. The difference Δβ from the preset threshold and As an important parameter for evaluating the user's heart condition.

[0062] The duration β and amplitude ω of the QRS complex wave within a time unit are recorded, and the recorded duration γ is compared with the preset threshold. If it exceeds the threshold range, the difference Δγ between the duration γ and the preset threshold is calculated; the recorded amplitude ω is compared with the preset threshold. If it exceeds the threshold range, the difference Δω between the amplitude ω and the preset threshold is calculated; in the electrocardiogram, the QRS complex wave represents ventricular depolarization, that is, the electrical activity of the ventricle. If the difference between the duration or amplitude of the QRS complex wave and the preset threshold increases, this may mean a series of problems such as ventricular conduction delay (such as bundle branch block) or electrolyte disorder. Therefore, the difference Δγ and Δω between the duration γ and amplitude ω of the QRS complex wave within a time unit and the preset threshold is used as an important parameter for evaluating the user's heart state.

[0063] The data processing module performs dimensionless processing on the difference between the duration and amplitude of the P wave and the preset threshold value to generate a first impact index; and performs dimensionless processing on the difference between the duration and amplitude of the QRS complex wave and the preset threshold value to generate a second impact index;

[0064] In this embodiment, the formula for generating the first impact index is:

[0065]

[0066] Where X is the first impact index, Δβ is the difference between the duration of the P wave in a time unit and the preset threshold, is the difference between the amplitude of the P wave and the preset threshold, C1 is the constant correction index, and μ is The factor coefficient is 0.2≤μ≤0.5; the normal P wave duration is about 80-120 milliseconds. When Δβ increases, it means that the difference between the duration of the P wave in a time unit and the preset threshold increases, which usually reflects the problem of atrial hypertrophy. Therefore, the first influence index X increases; when When it increases, it means that the difference between the amplitude of the P wave in a time unit and the preset threshold value increases, which usually reflects problems such as atrial hypertrophy, electrolyte disorder or abnormal conduction in the atrium. Therefore, the increase of the first impact index X indicates that Δβ, It is positively correlated with X.

[0067] The formula used to generate the second impact index is:

[0068]

[0069] Among them, Y is the second influence index, Δγ is the difference between the duration of the QRS complex wave in a time unit and the preset threshold, Δω is the difference between the amplitude of the QRS complex wave and the preset threshold, C2 is the constant correction index, τ is the factor coefficient of (Δγ+Δω), 0.2≤τ≤0.5; under normal circumstances, the duration of the QRS complex wave is generally 80-120 milliseconds. When Δγ increases, it means that the difference between the duration of the QRS complex wave in a time unit and the preset threshold increases, which usually reflects problems such as ventricular conduction delay, bundle branch block or myocardial hypertrophy, so the second influence index Y increases; when Δω increases, it means that the difference between the amplitude of the QRS complex wave in a time unit and the preset threshold increases, which usually reflects problems such as changes in heart positioning and heart disease, so the second influence index Y increases, which means that Δγ, Δω and Y are positively correlated.

[0070] An evaluation index generation module, which substitutes the difference between the heart rate and a preset threshold, the first impact index and the second impact index into an evaluation index generation formula to generate a comprehensive evaluation index;

[0071] In this embodiment, the formula for generating the comprehensive evaluation index ZS is:

[0072] ZS=θ*Δα+ln[ε*(X+Y)]+C3

[0073] Among them, ZS is a comprehensive evaluation index, Δα is the difference between the user's heart rate and the preset heart rate range, X is a first influence index, Y is a second influence index, C3 is a constant correction index, θ is a factor coefficient of the difference Δα between the user's heart rate and the preset heart rate range, 0.2≤τ≤0.5, ε is a factor coefficient of the sum of the first influence index X and the second influence index Y, 0.2≤ε≤0.5; in the present invention, the comprehensive evaluation index is mainly composed of three parts: the first influence index X, the second influence index Y and the difference Δα between the heart rate and the preset heart rate range, the duration and amplitude of the P wave and QRS complex wave within a time unit and the difference with the preset threshold value will act on the first influence index X and the second influence index Y respectively, and when X, Y, and Δα increase, it means that the deviation of these electrocardiogram data from the normal value increases, then the comprehensive evaluation index increases, that is, it indicates that X, Y, Δα and ZS are positively correlated.

[0074] The comprehensive analysis module compares the comprehensive evaluation index with the preset professional evaluation threshold to evaluate the status of cardiac function. Medical professionals conduct further evaluation based on the analysis results.

[0075] In this embodiment, the comprehensive evaluation index is compared with a preset professional evaluation threshold to evaluate the state of cardiac function, and the specific logic is as follows:

[0076] When ZS≤ZY, the target user's heart is judged to be in a mildly abnormal state. A more detailed evaluation is needed to determine the cause of the abnormality, which may include lifestyle changes, drug treatment, and further heart tests. Regular follow-up tests are required and the quality plan should be adjusted according to the doctor's advice.

[0077] When ZS>ZY, it is judged that the target user's current heart is in an abnormal state and requires emergency medical intervention and hospitalization, as well as regular heart examinations.

[0078] Among them, ZS is the comprehensive evaluation index and ZY is the preset professional evaluation threshold.

[0079] The present invention also includes a computer-readable storage medium having a computer program stored thereon, which is used to implement the following steps when executed by a processor:

[0080] ECG data and identifying the ECG data, marking the time interval between adjacent P wave peaks in the ECG data as a time unit, dividing the ECG data using non-overlapping time units, and obtaining ECG parameters within each time unit, wherein the ECG parameters include heart rate, duration and amplitude of the P wave, and duration and amplitude of the QRS complex wave;

[0081] The heart rate, duration and amplitude of the P wave, and duration and amplitude of the QRS complex wave recorded within a time unit are compared with the corresponding preset thresholds. If they exceed the threshold range, the difference between the user's ECG data and the preset range is calculated respectively; if at least one of the parameters has the data fluctuation, it is determined that the user has abnormal ECG data, and the data is transmitted to the evaluation index generation module;

[0082] The duration and amplitude of the P wave are processed dimensionlessly with the difference of the preset threshold value to generate a first impact index; the duration and amplitude of the QRS complex wave are processed dimensionlessly with the difference of the preset threshold value to generate a second impact index;

[0083] Substituting the difference between the heart rate and the preset threshold, the first impact index and the second impact index into the evaluation index generation formula to generate a comprehensive evaluation index;

[0084] The comprehensive assessment index is compared with the preset professional assessment threshold to evaluate the status of cardiac function.

[0085] The present invention also includes a device, including a memory and a processor, wherein the memory stores a computer program executable by the processor, and the memory uses the above-mentioned storage medium.

[0086] The specific values ​​of μ, τ, θ and ε in the formula are generally determined by technical personnel in this field according to actual conditions. The technical personnel in this field collect multiple groups of sample data, and set corresponding preset proportional coefficients for each group of sample data. The preset proportional coefficients and the collected sample data are substituted into the formula. Through repeated experiments and parameter adjustments, the accuracy of the model output and the rationality of the results are observed, and these factor coefficients are gradually adjusted. The performance and effect of the model under different parameter settings are compared to find the optimal coefficient combination, and the calculated factor coefficients are screened and averaged to obtain the values ​​of μ, τ, θ and ε.

[0087] In addition, the size of the preset factor coefficient is to quantify each parameter to obtain a specific value. In order to facilitate subsequent comparison, the size of the coefficient depends on the amount of sample data and the corresponding preset proportional coefficient initially set by technical personnel in this field for each set of sample data. It is not unique as long as it does not affect the proportional relationship between the parameter and the quantized value.

[0088] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technicians in this field according to actual conditions.

[0089] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination thereof. When implemented by software, the above embodiments may be implemented in whole or in part in the form of a computer program product. Those skilled in the art may appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein may be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed by hardware or software methods depends on the specific application and design constraints of the technical solution.

[0090] 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, and 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.

[0091] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims

1. A cardiac function detection system based on electrocardiogram data, characterized in that: Specifically include: A data acquisition module is used to acquire and identify ECG data, mark the time interval between adjacent P wave peaks in the ECG data as a time unit, divide the ECG data using non-overlapping time units, and acquire ECG parameters within each time unit, wherein the ECG parameters include heart rate, duration and amplitude of the P wave, and duration and amplitude of the QRS complex wave; The abnormal analysis module is used to compare the heart rate, duration and amplitude of the P wave, and duration and amplitude of the QRS complex wave recorded in a time unit with the corresponding preset thresholds. If the threshold range is exceeded, the difference between the user's ECG data and the preset range is calculated respectively; If at least one of the parameters has the data fluctuation, it is determined that the user has abnormal ECG data, and the data is transmitted to the evaluation index generation module; The data processing module is used to perform dimensionless processing on the difference between the duration and amplitude of the P wave and the preset threshold value to generate a first impact index; and to perform dimensionless processing on the difference between the duration and amplitude of the QRS complex wave and the preset threshold value to generate a second impact index; An evaluation index generation module, used to substitute the difference between the heart rate and a preset threshold, the first impact index and the second impact index into an evaluation index generation formula to generate a comprehensive evaluation index; The comprehensive analysis module is used to compare the comprehensive evaluation index with the preset professional evaluation threshold to evaluate the state of cardiac function.

2. A cardiac function detection system based on electrocardiogram data according to claim 1, characterized in that: Machine learning is used to identify ECG data. The specific logic is as follows: Collect an electrocardiogram data set, and annotate the positions of the R wave, Q wave, and S wave; use the electrocardiogram data set as a training set, and use the position annotations of the R wave, Q wave, and S wave as labels; construct a machine learning model based on a support vector machine algorithm, input the training set and labels into the machine learning model, and train the machine learning model; use the electrocardiogram data to be identified as input data, input it into the trained machine learning model, output the position annotation information of the R wave, Q wave, and S wave, and realize the identification of the electrocardiogram data. The result of the identification is that within a time unit, it will show which data belongs to the R wave, Q wave, and S wave, that is, the voltage data of the electrocardiogram signal belonging to the R wave, Q wave, and S wave and their corresponding time series are distinguished. The specific logic for collecting ECG data is as follows: The heart rate is calculated by calculating the intervals between adjacent R waves on the ECG waveform, recording the heart rate α within a time unit, and comparing the recorded heart rate with a preset heart rate threshold. If the heart rate exceeds the threshold range, the difference Δα between the user's heart rate and the preset heart rate range is calculated; Record the duration β and amplitude of the P wave within a time unit The recorded duration β is compared with the preset threshold. If it exceeds the threshold range, the difference Δβ between the duration β and the preset threshold is calculated. The amplitude is calculated if it exceeds the preset threshold. The difference from the preset threshold The duration γ and amplitude ω of the QRS complex wave within a time unit are recorded, and the recorded duration γ is compared with the preset threshold. If it exceeds the threshold range, the difference Δγ between the duration γ and the preset threshold is calculated; the recorded amplitude ω is compared with the preset threshold. If it exceeds the threshold range, the difference Δω between the amplitude ω and the preset threshold is calculated.

3. A cardiac function detection system based on electrocardiogram data according to claim 2, characterized in that: Collect the amplitude of the P wave within a time unit The specific logic is: The vertical distance from the highest point of the P wave (or the lowest point, if the P wave is negative) to the baseline is the amplitude of the P wave; using the ECG paper grid as a reference, each small square on the ECG paper usually corresponds to a voltage change of 0.1 millivolts, and each large square contains 5 small squares, so it is equal to 0.5 millivolts; measure the number of squares from the highest point of the P wave to the baseline, and multiply it by the voltage value represented by each square to get the amplitude of the P wave 4. A cardiac function detection system based on electrocardiogram data according to claim 2, characterized in that: The specific logic for collecting the amplitude ω of the QRS complex wave within a time unit is: Measure the top of the R wave: the vertical distance from the baseline to the top of the R wave is the amplitude of the R wave; measure the lowest point of the S wave: the vertical distance from the baseline to the lowest point of the S wave is the amplitude of the S wave; measure the sum of the vertical distances between the top of the R wave and the lowest point of the S wave; use the ECG paper grid as a reference: on a standard ECG paper, each small square usually represents 0.1 millivolts of voltage or 1 mm of amplitude, and each large square contains 5 small squares, which equals 0.5 millivolts. Count the heights of the R and S waves through the squares and multiply by the voltage value represented by each small square to get the amplitude of the QRS complex wave, ω.

5. The cardiac function detection system based on electrocardiogram data according to claim 1, characterized in that: The formula used to generate the first impact index is: Where X is the first impact index, Δβ is the difference between the duration of the P wave in a time unit and the preset threshold, is the difference between the amplitude of the P wave and the preset threshold, C1 is the constant correction index, and μ is The factor coefficient is 0.2≤μ≤0.5; The formula used to generate the second impact index is: Among them, Y is the second influence index, Δγ is the difference between the duration of the QRS complex wave in a time unit and the preset threshold, Δω is the difference between the amplitude of the QRS complex wave and the preset threshold, C2 is the constant correction index, τ is the factor coefficient of (Δγ+Δω), 0.2≤τ≤0.

5.

6. The cardiac function detection system based on electrocardiogram data according to claim 1, characterized in that: The formula for generating the comprehensive evaluation index ZS is: ZS=θ*Δα+ln[ε*(X+Y)]+C3 Wherein, ZS is a comprehensive evaluation index, Δα is a difference between the user's heart rate and a preset heart rate range, X is a first influence index, Y is a second influence index, C3 is a constant correction index, θ is a factor coefficient of a difference Δa between the user's heart rate and a preset heart rate range, 0.2≤τ≤0.5, ε is a factor coefficient of a sum of the first influence index X and the second influence index Y, 0.2≤ε≤0.

5.

7. A cardiac function detection system based on electrocardiogram data according to claim 6, characterized in that: The comprehensive assessment index is compared with the preset professional assessment threshold to assess the state of cardiac function, based on the following specific logic: When ZS≤ZY, the target user's heart is judged to be in a mildly abnormal state. A more detailed evaluation is needed to determine the cause of the abnormality, which may include lifestyle changes, drug treatment, and further heart tests. Regular follow-up tests are required and the quality plan should be adjusted according to the doctor's advice. When ZS>ZY, it is judged that the target user's current heart is in an abnormal state and requires emergency medical intervention and hospitalization, as well as regular heart examinations. Among them, ZS is the comprehensive evaluation index and ZY is the preset professional evaluation threshold.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, it is used to implement the following steps: ECG data and identifying the ECG data, marking the time interval between adjacent P wave peaks in the ECG data as a time unit, dividing the ECG data using non-overlapping time units, and obtaining ECG parameters within each time unit, wherein the ECG parameters include heart rate, duration and amplitude of the P wave, and duration and amplitude of the QRS complex wave; Compare the recorded heart rate, P wave duration and amplitude, QRS complex wave duration and amplitude within a time unit with the corresponding preset thresholds, and if they exceed the threshold range, calculate the difference between the user's ECG data and the preset range respectively; If at least one of the parameters has the data fluctuation, it is determined that the user has abnormal ECG data, and the data is transmitted to the evaluation index generation module; The duration and amplitude of the P wave are processed dimensionlessly with the difference of the preset threshold value to generate a first impact index; the duration and amplitude of the QRS complex wave are processed dimensionlessly with the difference of the preset threshold value to generate a second impact index; Substituting the difference between the heart rate and the preset threshold, the first impact index and the second impact index into the evaluation index generation formula to generate a comprehensive evaluation index; The comprehensive assessment index is compared with the preset professional assessment threshold to evaluate the status of cardiac function.

9. A device comprising a memory and a processor, characterized in that: The memory stores a computer program that can be executed by a processor, and the memory adopts the storage medium according to claim 8.

Citation Information

Cited By

  • Physical sign data acquisition method of sick and wounded, terminal equipment and storage medium

    CN119184707A

  • A method for collecting vital sign data of injured or sick persons, terminal equipment and storage medium

    CN119184707B