A real-time monitoring method system for patients' electrocardiogram data in emergency department
By analyzing the waveform interval characteristics in the electrocardiogram and adjusting the threshold of the differential threshold method, the accuracy and reliability of R-wave detection are improved, the problem of low R-wave detection accuracy in the existing technology is solved, and it is suitable for real-time monitoring in the emergency department.
Patent Information
- Application Number
- CN202411064363.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-05
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-08-05
AI Technical Summary
The existing differential threshold method has low detection accuracy for R-wave signals in ECG data monitoring, making it difficult to effectively identify arrhythmias and changes in cardiac function. Especially in emergency departments, there is an urgent need for real-time monitoring.
By analyzing the symmetry factor, distance difference characteristic value and waveform approximation of each waveform interval in the electrocardiogram, the initial threshold of the differential threshold method is adjusted, and the threshold increasing factor and threshold reducing factor are combined to improve the accuracy of R wave detection.
It improves the accuracy and reliability of R-wave detection, narrows the detection range, and enhances the accuracy of threshold determination by the differential threshold method. It is suitable for real-time ECG data monitoring in the emergency department.
Smart Images

Figure CN118576223B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electrocardiogram data monitoring, and in particular to a method system for real-time monitoring of electrocardiogram data of patients in an emergency department. Background Art
[0002] Real-time monitoring of ECG data refers to the process of monitoring and recording the electrical activity of the human heart. Through electrocardiogram (ECG) technology, the electrical signals of the heart at different time points can be measured and recorded in real time, reflecting the electrical activity of the heart during each heartbeat, including the excitement and contraction of the heart muscle.
[0003] Since the R wave is one of the most obvious and easily recognizable waveform features in the electrocardiogram, the time interval and morphology of the R wave can help identify various types of arrhythmias. This information helps doctors accurately diagnose patients' heart rhythm problems, and the amplitude and morphology changes of the R wave can reflect the excitability of the ventricles and overall heart function. By monitoring the changes in the R wave, the muscle state of the ventricles and the heart's ability to pump blood can be evaluated. Therefore, R-wave detection of ECG data is of great significance for monitoring the health of the heart. At present, the R-wave signal is often detected by the differential threshold method. However, due to the differences in ECG data of different patients and the complexity of ECG data, the fixed threshold of the differential threshold method has low detection accuracy for R-wave signals. Summary of the invention
[0004] In order to solve the above technical problems, the purpose of this application is to provide a method system for real-time monitoring of patient ECG data in the emergency department. The technical solutions adopted are as follows:
[0005] In a first aspect, an embodiment of the present application provides a method for real-time monitoring of electrocardiogram data of patients in an emergency department, the method comprising the following steps:
[0006] Interpreting the ECG data of each moment in the ECG of the subject, and obtaining each waveform interval of all collected ECG data based on the difference of ECG data at adjacent moments;
[0007] Analyze the symmetry of the ECG data corresponding to both sides of the peak value of each waveform interval to obtain the symmetry factor of each waveform interval; analyze the distance difference between each waveform interval and the overall waveform interval to obtain the distance difference characteristic value of each waveform interval;
[0008] Analyze the distance relationship between any two waveform intervals and the correlation of ECG data changes between waveform intervals to obtain the waveform similarity between any two waveform intervals;
[0009] Combining the symmetry factor, the distance difference characteristic value, and the waveform approximation, the waveform anomaly degree of each waveform interval is obtained; based on the number of waveform intervals and the waveform anomaly degree, a threshold increase factor is determined, and the distance distribution between the overall waveform intervals is further analyzed to obtain a threshold reduction factor;
[0010] The initial threshold of the differential threshold method is adjusted according to the threshold increase factor and the threshold decrease factor, and R wave detection is performed on the electrocardiogram data of the subject detected in real time based on the differential threshold method after the threshold is adjusted.
[0011] In one embodiment, the determination of each waveform interval includes:
[0012] The ECG data of all moments are organized into an ECG data sequence, and a differential sequence of the ECG data sequence is obtained. The ECG data corresponding to a plurality of consecutive elements in the differential sequence that are greater than or equal to a preset threshold in the ECG data sequence are recorded as waveform points, and an interval corresponding to a plurality of consecutive waveform points in the ECG data sequence is taken as a waveform interval.
[0013] In one embodiment, determining the symmetry factor includes:
[0014] Based on the peak value of each waveform interval, each waveform interval is divided into a first sub-interval and a second sub-interval. For each waveform interval, the difference in the number of waveform points between the first sub-interval and the second sub-interval is calculated, which is recorded as the first difference. The discreteness of the corresponding elements in the differential sequence of all waveform points in the waveform interval is calculated. The difference in the waveform points at symmetrical positions on the left and right sides of the first sub-interval and the second sub-interval with the peak position as the center is calculated, which is recorded as the second difference. The reverse mapping result of the first difference, the discreteness, and the fusion value of all the second differences in the waveform interval is used as the symmetry factor of each waveform interval.
[0015] In one embodiment, determining the distance difference characteristic value includes:
[0016] Calculate the metric distance between each waveform interval and the peak point of the adjacent waveform interval, calculate the mean of the metric distance of all waveform intervals, record it as the average waveform distance, calculate the difference between the metric distance of each waveform interval and the average waveform distance, record it as the third difference, and take the fusion result of the third difference of each waveform interval and the minimum value of the third differences of all waveform intervals as the distance difference characteristic value of each waveform interval.
[0017] In one embodiment, the process of determining the waveform similarity is:
[0018] Obtaining all minimum values in all collected ECG data, calculating the fitting curve of all ECG data between the previous minimum value and the next minimum value in each waveform interval, calculating the difference between the previous minimum value and the corresponding peak value in each waveform interval, recorded as the fourth difference, and the difference at the corresponding time, recorded as the fifth difference, and taking the fusion result of the fourth difference and the fifth difference as the first extreme value distance of each waveform interval;
[0019] For the latter minimum value, the same method as the first extreme value distance is used to obtain the second extreme value distance of each waveform interval, the correlation between any two waveform intervals and the fitting curve is calculated, the difference between the first extreme value distance and the second extreme value distance of any two waveform intervals are calculated respectively, and the waveform approximation is determined based on the sum of the difference between the first extreme value distance and the difference between the second extreme value distance and the correlation of the fitting curve;
[0020] The waveform approximation is positively correlated with the correlation of the fitting curve and negatively correlated with the sum value.
[0021] In one embodiment, the determination of the waveform abnormality comprises:
[0022] Calculate the cumulative sum of the waveform similarities between any waveform interval and all other waveform intervals, and determine the waveform abnormality based on the cumulative sum, the symmetry factor, and the distance difference characteristic value;
[0023] The waveform anomaly degree of any waveform interval is positively correlated with the distance difference characteristic value, and negatively correlated with both the cumulative sum and the symmetry factor.
[0024] In one embodiment, the threshold increase factor is a fusion value of the number of waveform intervals and the waveform abnormality of all waveform intervals.
[0025] In one embodiment, the threshold reduction factor is a ratio of the average waveform distance to the fusion value.
[0026] In one embodiment, adjusting the initial threshold of the differential threshold method includes:
[0027] When the threshold increase factor is greater than the threshold decrease factor, and the difference between the threshold increase factor and the threshold decrease factor is greater than the preset threshold, the product of the preset adjustment parameter and the normalized threshold increase factor is calculated, the addition result of the product and the preset control parameter is calculated, and the product of the addition result and the initial threshold is used as the threshold adjusted by the differential threshold method;
[0028] When the absolute value of the difference between the threshold increase factor and the threshold decrease factor is less than or equal to the preset threshold, the differential threshold method keeps the initial threshold unchanged;
[0029] Otherwise, the multiplication result of the preset adjustment parameter and the normalized threshold reduction factor is calculated, the difference between the preset control parameter and the multiplication result is calculated, and the product of the difference and the initial threshold is used as the threshold adjusted by the differential threshold method.
[0030] In the second aspect, an embodiment of the present application also provides a real-time monitoring system for ECG data of patients in the emergency department, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of any one of the above methods when executing the computer program.
[0031] This application has at least the following beneficial effects:
[0032] The present application interprets the ECG data of the subject at each moment in the ECG, obtains each waveform interval of all the collected ECG data based on the difference of the ECG data at adjacent moments, thereby reducing the traversal range of R wave detection and improving the efficiency of R wave detection; analyzes the symmetry of the ECG data corresponding to both sides of the peak value of each waveform interval to obtain the symmetry factor of each waveform interval; reflects the symmetry of the distribution of the central ECG data in the waveform interval, analyzes the distance difference between each waveform interval and the overall waveform interval, obtains the distance difference characteristic value of each waveform interval, reflects the distance distribution characteristics between the waveform intervals, further, analyzes the distance relationship between any two waveform intervals and the correlation of the ECG data changes between the waveform intervals, and obtains the waveform similarity between any two waveform intervals; by analyzing the symmetry and distance distribution of the waveform intervals, as well as the waveform The method improves the accuracy and reliability of R wave detection by combining the symmetry factor, the distance difference characteristic value and the waveform approximation to obtain the waveform abnormality of each waveform interval, which reflects the possibility that the waveform interval belongs to abnormal interference; finally, based on the number of waveform intervals and the waveform abnormality, the threshold increase factor is determined, and the distance distribution between the overall waveform intervals is further analyzed to obtain the threshold reduction factor, and the threshold increase factor and the threshold reduction factor are used to adjust the initial threshold of the differential threshold method, so that the threshold determination of the differential threshold method combines the distribution characteristics of the electrocardiogram data of the subject to be tested, thereby improving the accuracy of the threshold determination of the differential threshold method; based on the differential threshold method after adjusting the threshold, the electrocardiogram data of the subject to be tested that is detected in real time is subjected to R wave detection, thereby further improving the accuracy of R wave detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0034] Figure 1 A flowchart of a method for real-time monitoring of electrocardiogram data of patients in an emergency department provided in one embodiment of the present application;
[0035] Figure 2 Construct a flow chart for the differential thresholding threshold adjustment indicator. DETAILED DESCRIPTION
[0036] In order to further explain the technical means and effects adopted by the present application to achieve the predetermined invention purpose, the following is a detailed description of the specific implementation method, structure, features and effects of a real-time monitoring method system for ECG data of patients in the emergency department proposed in accordance with the present application, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0037] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
[0038] The following is a detailed description of a specific scheme of a method system for real-time monitoring of ECG data of patients in the emergency department provided by the present application in conjunction with the accompanying drawings.
[0039] See also Figure 1 , which shows a flowchart of a method for real-time monitoring of ECG data of patients in an emergency department provided by an embodiment of the present application, the method comprising the following steps:
[0040] S1, interpreting the ECG data of the subject at each moment, and obtaining each waveform interval of all collected ECG data based on the difference of ECG data at adjacent moments.
[0041] An ECG monitor is used to obtain the ECG of patients in the emergency department, and the ECG data within T minutes before the current moment in the patient's ECG is collected. In one embodiment of the present application, the collection time interval is 0.1s, T=30, and the implementer can adjust it according to the actual situation, and this application does not impose any restrictions on this.
[0042] ECG data generally includes three sub-waves: P wave, QRS complex and T wave, which contain important pathological information. A complete ECG beat includes PQRST waves, among which R wave has the most significant feature. In order to detect R wave, the traditional differential threshold method needs to pre-set the differential threshold. However, during the real-time monitoring of ECG data, the patient may have arrhythmia or the collected ECG data may be unexpectedly interfered with, causing the differential threshold method to misdetect or miss the R wave.
[0043] In order to narrow the R-wave detection range and reduce the difficulty of R-wave detection, first, the waveform intervals in the collected ECG data are obtained based on the initial threshold of the differential threshold method. Specifically, the ECG data collected at all times are organized into an ECG data sequence in chronological order, and the differential sequence of the ECG data sequence is calculated to obtain the initial threshold of the differential threshold method. For the differential sequence of the ECG data sequence, the ECG data corresponding to at least N consecutive elements greater than or equal to the initial threshold in the ECG data sequence are recorded as waveform points, and the interval corresponding to at least N consecutive waveform points in the ECG data sequence is taken as a waveform interval. In one embodiment of the present application, the initial threshold U is artificially set to 0.2, N=5, and the implementer can set it according to the actual situation. The present application does not impose any restrictions on this. For example, there is a differential sequence , then all the ECG data corresponding to the elements 0.2, 0.3, 0.4, 0.2, and 0.5 in the differential sequence in the ECG data sequence are recorded as waveform points, and these waveform points are collectively referred to as a waveform interval.
[0044] S2, analyzing the symmetry of the ECG data corresponding to both sides of the peak of each waveform interval to obtain the symmetry factor of each waveform interval; analyzing the distance difference between each waveform interval and the overall waveform interval to obtain the distance difference characteristic value of each waveform interval.
[0045] Each waveform interval obtained represents an R wave or an interference waveform. The waveform points in the waveform interval are analyzed, and the maximum value of the ECG data in each waveform interval is taken as the peak value of each waveform interval. If there are multiple equal maximum values in the waveform interval, the maximum value closest to the center of the waveform interval is taken as the peak value of the waveform interval.
[0046] According to the characteristics of the R wave, the R wave has the largest amplitude in the electrocardiogram, the amplitude of the R wave waveform changes rapidly, and the R wave waveform has a certain symmetry. Therefore, the symmetry of the waveform points within the waveform interval can be analyzed, which is conducive to the accurate identification of the R wave.
[0047] The peak value of each waveform interval is obtained. In one embodiment of the present application, the portion on the left side of the peak value in each waveform interval is recorded as the first sub-interval, and the portion on the right side of the peak value is recorded as the second sub-interval.
[0048] It should be noted that, when the peak value of the waveform interval is located at the beginning and the end of the waveform interval, the division into the first sub-interval and the second sub-interval is not performed.
[0049] Based on the distribution difference of the waveform points between the first sub-interval and the second sub-interval in each waveform interval, the symmetry factor of each waveform interval is determined, specifically:
[0050] For each waveform interval, the difference in the number of waveform points between the first sub-interval and the second sub-interval is calculated, recorded as the first difference, the discreteness of the corresponding elements in the differential sequence of all waveform points in the waveform interval is calculated, and the difference in the waveform points at symmetrical positions on the left and right sides centered on the peak position in the first sub-interval and the second sub-interval is calculated, recorded as the second difference. The reverse mapping result of the first difference, the discreteness, and the fusion value of all the second differences in the waveform interval is used as the symmetry factor of each waveform interval.
[0051] It should be noted that the difference indicates the degree of difference between two variables, which can be calculated by subtraction, division, etc.; the discreteness indicates the degree of dispersion of multiple data, which can be calculated by variance, standard deviation, etc.; fusion means combining multiple variables in a way that enhances the overall effect, which can be done by addition, multiplication, etc.; reverse mapping means that the dependent variable will decrease as the independent variable increases, and the dependent variable will increase as the independent variable decreases.
[0052] In one embodiment of the present application, for each waveform interval, the absolute value of the difference in the number of waveform points between the first sub-interval and the second sub-interval is calculated, recorded as the first difference, the variance of the corresponding elements of all waveform points in the waveform interval in the differential sequence is calculated, and the absolute value of the difference between the waveform points at the symmetrical positions of the first sub-interval and the second sub-interval is calculated with the peak position as the center, recorded as the second difference, the sum of all the second differences in the waveform interval is calculated, recorded as the first sum, and the inverse of the product of the first sum, the first difference, and the variance is used as the symmetry factor of each waveform interval.
[0053] The larger the symmetry factor of the waveform interval, the greater the possibility that the waveform interval corresponds to a true R wave, and the smaller the possibility that it represents an abnormal waveform or an interference waveform.
[0054] However, since the symmetry of the real R wave may also be affected by the physiological state of the emergency department patient, resulting in a decrease in symmetry, the accuracy of R wave recognition can be further increased by analyzing the distance distribution relationship between different waveform intervals. Based on the distribution characteristics of the R wave peak in the ECG data, it can be seen that the peak of the R wave is often accompanied by a "refractory period" phenomenon for a certain period of time before and after the appearance of the R wave peak due to the existence of other sub-waves and waveform gaps, that is, a new R wave peak often does not appear for a period of time before and after the appearance of an R wave peak. Based on this, the distance difference characteristic value of each waveform interval is constructed, specifically:
[0055] Calculate the metric distance between each waveform interval and the peak point of the adjacent waveform interval, calculate the mean of the metric distance of all waveform intervals, record it as the average waveform distance, calculate the difference between the metric distance of each waveform interval and the average waveform distance, record it as the third difference, and take the fusion result of the third difference of each waveform interval and the minimum value of the third differences of all waveform intervals as the distance difference characteristic value of each waveform interval.
[0056] In one embodiment of the present application, the time-series interval distance between the peak points of each waveform interval and the next adjacent waveform interval is calculated, and for the last waveform interval at the tail, its interval distance is set to 0, the mean of the interval distances of all waveform intervals is calculated and recorded as the average waveform distance, the absolute value of the difference between the interval distance of each waveform interval and the average waveform distance is calculated and recorded as the third difference, and the sum of the third difference of each waveform interval and the minimum value of the third differences of all waveform intervals is used as the distance difference characteristic value of each waveform interval.
[0057] For the normally collected ECG data of patients, the heart beats smoothly, so the collected ECG data has a certain periodicity. When the patient has an abnormal condition or the signal collection is disturbed, the periodicity of the ECG data is destroyed, which is reflected in the waveform interval, that is, the spacing of the waveform interval changes greatly.
[0058] The larger the distance difference characteristic value of the waveform interval is, the greater the possibility that the waveform interval corresponds to the interference waveform.
[0059] S3, analyzing the distance relationship between any two waveform intervals and the correlation of the ECG data changes between the waveform intervals, and obtaining the waveform similarity between any two waveform intervals.
[0060] According to the heartbeat information of the electrocardiogram, the adjacent waveform of each R wave is a Q wave or an S wave. Therefore, there are often two minimum points in the adjacent electrocardiogram data of each waveform interval, corresponding to the Q wave and the S wave respectively, and the similarity between different waveform intervals is relatively high.
[0061] Therefore, the minimum values in all collected ECG data are obtained, and the fitting curve of all ECG data between the previous minimum value and the next minimum value in each waveform interval is calculated. The difference between the previous minimum value and the corresponding peak value in each waveform interval is calculated, which is recorded as the fourth difference, and the difference at the corresponding time is recorded as the fifth difference. The fusion result of the fourth difference and the fifth difference is used as the first extreme value distance of each waveform interval.
[0062] For the latter minimum value, the same method as the first extreme value distance is adopted to obtain the second extreme value distance of each waveform interval, the correlation between any two waveform intervals corresponding to the fitting curve is calculated, the difference between the first extreme value distance and the second extreme value distance of any two waveform intervals are calculated respectively, and the waveform approximation between any two waveform intervals is determined based on the sum of the difference between the first extreme value distance and the difference between the second extreme value distance, recorded as a second sum, and the correlation of the fitting curve;
[0063] The waveform approximation between any two waveform intervals is positively correlated with the correlation of the fitting curve, and negatively correlated with the second sum value.
[0064] It should be noted that the correlation can be calculated using methods such as the Pearson correlation coefficient and the Spearman correlation coefficient, and this application does not impose any restrictions on this; a positive correlation means that the dependent variable will increase as the independent variable increases, and the dependent variable will decrease as the independent variable decreases, and a negative correlation means that the dependent variable will decrease as the independent variable increases, and the dependent variable will increase as the independent variable decreases.
[0065] In one embodiment of the present application, a traversal method is used to obtain the minimum values in all collected ECG data, and the least squares method is used to calculate the fitting curve of all ECG data between the previous minimum value and the next minimum value in each waveform interval, wherein the least squares method is a prior art known in the art and is not described in detail in the present application. The absolute value of the difference between the previous minimum value and the corresponding peak value of each waveform interval is calculated, recorded as the fourth difference, and the absolute value of the difference between the sampling time of the previous minimum value and the sampling time of the corresponding peak value of each waveform interval is calculated, recorded as the fifth difference, and the product of the fourth difference and the fifth difference is used as the first extreme value distance of each waveform interval;
[0066] For the latter minimum value, the same method as the first extreme value distance is adopted to obtain the second extreme value distance of each waveform interval.
[0067] The expression for the waveform similarity between any two waveform intervals can be: , where G represents the waveform similarity between waveform interval Q and waveform interval W, The Pearson correlation coefficient of the fitting curve corresponding to the waveform interval Q and the waveform interval W is represented. represents the mth extreme value distance of the waveform interval Q, represents the mth extreme value distance of the waveform interval W, where m is 1 or 2. The calculation of the Pearson correlation coefficient is a well-known technique, and this application will not elaborate on it in detail.
[0068] Since interference waveforms often have a certain degree of randomness, the higher the waveform similarity between two waveform intervals, the lower the possibility that the two waveform intervals are interference waveforms.
[0069] S4, obtaining the waveform anomaly of each waveform interval according to the symmetry factor, the distance difference characteristic value, and the waveform approximation; determining the threshold increase factor based on the number of waveform intervals and the waveform anomaly of all waveform intervals, and continuing to analyze the distance distribution between the overall waveform intervals to obtain the threshold reduction factor.
[0070] Taking waveform interval Q as an example, the cumulative sum of the waveform similarities between waveform interval Q and all other waveform intervals is calculated, and the waveform abnormality of waveform interval Q is determined based on the cumulative sum, the symmetry factor, and the distance difference characteristic value;
[0071] The waveform anomaly degree of the waveform interval Q is positively correlated with the distance difference characteristic value, and negatively correlated with both the cumulative sum and the symmetry factor.
[0072] In one embodiment of the present application, the expression of the waveform abnormality of the waveform interval Q can be , where YC represents the waveform anomaly of the waveform interval Q, C represents the distance difference characteristic value of the waveform interval Q, and Y represents the symmetry factor of the waveform interval Q. represents the waveform similarity between waveform interval Q and other k-th waveform intervals, Indicates the number of waveform intervals, Indicates adjustment of parameters to avoid calculation failure due to the denominator being zero. , implementers can set it according to actual conditions, and this application does not impose any restrictions on this.
[0073] The waveform abnormality of each waveform interval can be obtained by using the same calculation method as the waveform abnormality of the waveform interval Q.
[0074] Furthermore, the threshold increase factor of the differential threshold method is determined based on the number of waveform intervals and the waveform anomaly of all waveform intervals. Specifically, the fusion result of the number of waveform intervals and the waveform anomaly of all waveform intervals is used as the threshold increase factor of the differential threshold method.
[0075] In one embodiment of the present application, the sum of the waveform abnormalities of all waveform intervals is calculated and recorded as the third sum, and the product of the third sum and the number of waveform intervals is recorded as the first product, which is determined as the threshold increase factor of the differential threshold method.
[0076] When the number of waveform intervals increases and the waveform anomaly of the waveform interval increases, it means that the threshold of the current differential threshold method is too small and too many interference waveforms are detected. At this time, the threshold of the differential threshold method needs to be increased.
[0077] The ratio of the average waveform distance of all waveform intervals to the first product is used as a threshold reduction factor of the differential threshold method.
[0078] When the average waveform distance is larger, it means that the interval between the waveform intervals is farther. At this time, the threshold setting of the differential threshold method may be too large, resulting in missed detection of the waveform interval. Therefore, it is necessary to reduce the threshold of the differential threshold method. When the number of waveform intervals is smaller and the waveform abnormality of the waveform interval is lower, it also means that the threshold setting of the differential threshold method may be too large. There may be waveform intervals that are not detected. Therefore, it is necessary to reduce the threshold of the differential threshold method.
[0079] S5, adjusting the initial threshold of the differential threshold method according to the threshold increase factor and the threshold decrease factor, and performing R wave detection on the electrocardiogram data of the subject detected in real time based on the differential threshold method after the threshold is adjusted.
[0080] Based on the initial threshold, the threshold increase factor, and the threshold decrease factor of the differential threshold method, the threshold of the differential threshold method is adjusted.
[0081] In one embodiment of the present application, the threshold adjusted by the differential threshold method is It can be expressed as:
[0082] ;
[0083] Wherein, U represents the initial threshold of the differential threshold method, E is an adjustment parameter, and in this embodiment, E=0.1. The implementer can set it according to the actual situation, and this application does not impose any restrictions on this. ZD is the normalized threshold increase factor, and JX is the normalized threshold decrease factor. Indicates the preset threshold value, is the preset control parameter. , , implementers can set it according to actual conditions, and this application does not impose any restrictions on this. The differential threshold method threshold adjustment indicator construction flow chart is as follows Figure 2 shown.
[0084] In this embodiment, the threshold increase factor and the threshold decrease factor are normalized using a Sigmoid function. The implementer may select other existing feasible normalization mapping methods according to actual conditions, and this application does not impose any restrictions on this.
[0085] The patient's ECG data is used as the input of the differential threshold method after adjusting the threshold, and the output is the R wave in the patient's ECG data. Based on the detected R wave, experts in the field are assisted in analysis to complete the real-time monitoring of the ECG data. Among them, the differential threshold method is an existing well-known technology, and this application will not be described in detail.
[0086] Based on the same inventive concept as the above method, an embodiment of the present application also provides a system for real-time monitoring of ECG data of patients in the emergency department, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein when the processor executes the computer program, the steps of any one of the above-mentioned methods for real-time monitoring of ECG data of patients in the emergency department are implemented.
[0087] In summary, the present application interprets the ECG data at each moment in the ECG of the subject to be tested, obtains each waveform interval of all collected ECG data based on the difference in ECG data at adjacent moments, thereby reducing the traversal range of R wave detection and improving the efficiency of R wave detection; analyzes the symmetry of the ECG data corresponding to both sides of the peak of each waveform interval to obtain the symmetry factor of each waveform interval; reflects the symmetry of the distribution of central ECG data in the waveform interval, analyzes the distance difference between each waveform interval and the overall waveform interval, obtains the distance difference characteristic value of each waveform interval, reflects the distance distribution characteristics between the waveform intervals, and further analyzes the distance relationship between any two waveform intervals and the correlation of ECG data changes between the waveform intervals to obtain the waveform similarity between any two waveform intervals; by analyzing the symmetry and distance distribution of the waveform intervals, and The waveform similarity improves the accuracy and reliability of R wave detection; the waveform abnormality of each waveform interval is obtained by combining the symmetry factor, the distance difference characteristic value, and the waveform similarity; the possibility that the waveform interval belongs to abnormal interference is reflected; finally, based on the number of waveform intervals and the waveform abnormality, the threshold increase factor is determined, and the distance distribution between the overall waveform intervals is further analyzed to obtain the threshold reduction factor, and the threshold increase factor and the threshold reduction factor are used to adjust the initial threshold of the differential threshold method, so that the threshold determination of the differential threshold method combines the distribution characteristics of the electrocardiogram data of the subject to be tested, thereby improving the accuracy of the threshold determination of the differential threshold method; based on the differential threshold method after adjusting the threshold, R wave detection is performed on the electrocardiogram data of the subject to be tested that is detected in real time, thereby further improving the accuracy of R wave detection.
[0088] It should be noted that the above sequence of the embodiments of the present application is for description only and does not represent the advantages and disadvantages of the embodiments. The above is a description of a specific embodiment of this specification. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0089] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
[0090] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present application should be included in the protection scope of the present application.
Claims
1. A method for real-time monitoring of electrocardiogram data of patients in an emergency department, characterized in that: The method comprises the following steps: Interpreting the ECG data of each moment in the ECG of the subject, and obtaining each waveform interval of all collected ECG data based on the difference of ECG data at adjacent moments; Analyze the symmetry of the ECG data corresponding to both sides of the peak value of each waveform interval to obtain the symmetry factor of each waveform interval; analyze the distance difference between each waveform interval and the overall waveform interval to obtain the distance difference characteristic value of each waveform interval; Analyze the distance relationship between any two waveform intervals and the correlation of ECG data changes between waveform intervals to obtain the waveform similarity between any two waveform intervals; Combining the symmetry factor, the distance difference characteristic value, and the waveform approximation, the waveform anomaly degree of each waveform interval is obtained; based on the number of waveform intervals and the waveform anomaly degree, a threshold increase factor is determined, and the distance distribution between the overall waveform intervals is further analyzed to obtain a threshold reduction factor; According to the threshold increase factor and the threshold decrease factor, the initial threshold of the differential threshold method is adjusted, and the R wave detection is performed on the electrocardiogram data of the subject detected in real time based on the differential threshold method after the threshold is adjusted; The determination of each waveform interval includes: The ECG data of all moments are combined into an ECG data sequence, a differential sequence of the ECG data sequence is obtained, the ECG data corresponding to a plurality of consecutive elements in the differential sequence that are greater than or equal to a preset threshold in the ECG data sequence are recorded as waveform points, and the interval corresponding to the plurality of consecutive waveform points in the ECG data sequence is taken as a waveform interval; The determination of the symmetry factor includes: Based on the peak value of each waveform interval, each waveform interval is divided into a first sub-interval and a second sub-interval. For each waveform interval, the difference in the number of waveform points between the first sub-interval and the second sub-interval is calculated, which is recorded as the first difference. The discreteness of the corresponding elements in the differential sequence of all waveform points in the waveform interval is calculated. The difference in the waveform points at symmetrical positions on the left and right sides of the first sub-interval and the second sub-interval with the peak position as the center is calculated, which is recorded as the second difference. The reverse mapping result of the first difference, the discreteness, and the fusion value of all the second differences in the waveform interval is used as the symmetry factor of each waveform interval.
2. A method for real-time monitoring of ECG data of patients in an emergency department as claimed in claim 1, characterized in that: Determination of the distance difference characteristic value includes: Calculate the metric distance between each waveform interval and the peak point of the adjacent waveform interval, calculate the mean of the metric distance of all waveform intervals, record it as the average waveform distance, calculate the difference between the metric distance of each waveform interval and the average waveform distance, record it as the third difference, and take the fusion result of the third difference of each waveform interval and the minimum value of the third differences of all waveform intervals as the distance difference characteristic value of each waveform interval.
3. A method for real-time monitoring of ECG data of patients in an emergency department as claimed in claim 1, characterized in that: The process of determining the waveform similarity is: Obtaining all minimum values in all collected ECG data, calculating the fitting curve of all ECG data between the previous minimum value and the next minimum value in each waveform interval, calculating the difference between the previous minimum value and the corresponding peak value in each waveform interval, recorded as the fourth difference, and the difference at the corresponding time, recorded as the fifth difference, and taking the fusion result of the fourth difference and the fifth difference as the first extreme value distance of each waveform interval; For the latter minimum value, the same method as the first extreme value distance is used to obtain the second extreme value distance of each waveform interval, the correlation between any two waveform intervals and the fitting curve is calculated, the difference between the first extreme value distance and the second extreme value distance of any two waveform intervals are calculated respectively, and the waveform approximation is determined based on the sum of the difference between the first extreme value distance and the difference between the second extreme value distance and the correlation of the fitting curve; The waveform approximation is positively correlated with the correlation of the fitting curve and negatively correlated with the sum value.
4. A method for real-time monitoring of ECG data of patients in an emergency department as claimed in claim 1, characterized in that: The determination of the waveform abnormality includes: Calculate the cumulative sum of the waveform similarities between any waveform interval and all other waveform intervals, and determine the waveform abnormality based on the cumulative sum, the symmetry factor, and the distance difference characteristic value; The waveform anomaly degree of any waveform interval is positively correlated with the distance difference characteristic value, and negatively correlated with both the cumulative sum and the symmetry factor.
5. A method for real-time monitoring of ECG data of patients in an emergency department as claimed in claim 2, characterized in that: The threshold increase factor is a fusion value of the number of waveform intervals and the waveform anomaly degree of all waveform intervals.
6. A method for real-time monitoring of ECG data of patients in an emergency department as claimed in claim 5, characterized in that: The threshold reduction factor is a ratio of the average waveform distance to the fusion value.
7. A method for real-time monitoring of ECG data of patients in an emergency department as claimed in claim 1, characterized in that: The adjusting the initial threshold of the differential threshold method comprises: When the threshold increase factor is greater than the threshold decrease factor, and the difference between the threshold increase factor and the threshold decrease factor is greater than the preset threshold, the product of the preset adjustment parameter and the normalized threshold increase factor is calculated, the addition result of the product and the preset control parameter is calculated, and the product of the addition result and the initial threshold is used as the threshold adjusted by the differential threshold method; When the absolute value of the difference between the threshold increase factor and the threshold decrease factor is less than or equal to the preset threshold, the differential threshold method keeps the initial threshold unchanged; Otherwise, the multiplication result of the preset adjustment parameter and the normalized threshold reduction factor is calculated, the difference between the preset control parameter and the multiplication result is calculated, and the product of the difference and the initial threshold is used as the threshold adjusted by the differential threshold method.
8. A real-time monitoring system for ECG data of patients in an emergency department, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Method and device for calibrating R wave of electrocardiosignal
CN103006208A
Remote intelligent medical care system
CN111128338A
Cited By
Self-adaptive electrocardiosignal filtering and R wave detection method and system for intelligent underwear
CN122701347A
