A method for collecting vital sign data of injured or sick persons, terminal equipment and storage medium
By collecting and analyzing cardiac cycle data in real time, calculating the difference amount and triggering abnormal prompts or alarms, the problem of difficulty in detecting small abnormal changes in the existing technology in the early stage is solved, and more accurate and reliable abnormal detection and early warning are achieved.
Patent Information
- Application Number
- CN202411702426.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-26
- Publication Date
- 2025-05-09
- Estimated Expiration
- 2044-11-26
AI Technical Summary
The existing ECG monitoring system is difficult to detect and warn of small abnormal changes in the ECG signal in early stage, causing medical staff to respond only when the condition worsens sharply and miss out on early signals.
By collecting cardiac cycle data in real time, the difference between the current cardiac cycle and the pre-stored waveform standard is calculated. When the difference exceeds the set threshold, an abnormal prompt or alarm is triggered to achieve early detection and early warning.
It improves the accuracy and reliability of electrocardiogram abnormal detection, provides continuous dynamic monitoring capabilities, reduces false alarms, and enhances the flexibility and timeliness of the system.
Smart Images

Figure CN119184707B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of data identification, and in particular relates to a method for collecting vital sign data of injured or sick persons, a terminal device and a storage medium. Background Art
[0002] ECG monitoring systems have been widely used in clinical practice, especially in wards for real-time monitoring of key vital signs such as heart rate and heart rhythm of injured and sick people. However, existing technologies are usually based on preset thresholds, and only trigger alarms when the heart rate is significantly abnormal (such as a sudden drop or rise in heart rate) to remind medical staff to take intervention measures. However, such a sharp drop often means that the patient's condition has entered a critical stage, and the opportunity for timely intervention has been missed.
[0003] Before the heart rate becomes significantly abnormal, the patient's ECG signal may have some small abnormal changes. Although these changes do not reach the threshold to trigger an alarm, they may reflect potential health risks. For example, subtle changes such as ST segment changes, abnormal QRS waveforms, or frequent premature beats in the ECG may be early warning signs of heart problems. However, due to the limitations of the detection algorithm, existing technologies make it difficult to accurately identify and warn of these weak but persistent signal changes.
[0004] Due to the lack of sensitivity to small abnormal information, the alarm function of the existing ECG monitoring system has a lag and cannot issue an early warning in the early stages of the disease, so medical staff can only respond when the patient's condition deteriorates sharply. Missing the early signals of the disease development directly affects the timeliness and effectiveness of rescue. Therefore, how to achieve early detection and early warning of small abnormal changes in ECG signals has become a technical problem that needs to be solved urgently. Summary of the invention
[0005] In view of this, an embodiment of the present invention provides a method for collecting vital sign data of an injured person, a terminal device and a storage medium to solve the technical problem of how to achieve early detection and early warning of small abnormal changes in electrocardiogram signals.
[0006] A first aspect of an embodiment of the present invention provides a method for collecting vital sign data of an injured or sick person, the method comprising:
[0007] S1: real-time acquisition of the current cardiac cycle and acquisition of pre-stored waveform standards; the waveform standards include a standard maximum peak value, a standard time span, and a standard slope of multiple sampling points;
[0008] S2: Calculate a first difference between the wave band of the current cardiac cycle and the waveform standard; the wave band includes a P wave, a QRS wave, a T wave, a PR segment, and a ST segment;
[0009] S3: When the first difference is greater than a first threshold, triggering an abnormality prompt; the abnormality prompt is used to confirm to the user whether there is an abnormality in the subject's body;
[0010] S4: if the first difference is not greater than the first threshold or the user inputs a normal instruction based on the abnormal prompt, collecting subsequent cardiac cycles in real time;
[0011] S5: Calculating a second difference between the subsequent cardiac cycle and the current cardiac cycle;
[0012] S6: When the second difference is greater than a second threshold, triggering an abnormality alarm.
[0013] Furthermore, the S1 includes:
[0014] S11: collecting an ECG signal, and segmenting the ECG signal according to a preset length to obtain a plurality of signal segments;
[0015] S12: decomposing the signal segment by wavelet transform to obtain frequency components corresponding to multiple scales;
[0016] S13: Calculate the standard deviation and mean of the frequency components at each scale;
[0017] S14: Calculate the dynamic threshold according to the standard deviation and the mean;
[0018] S15: matching the initial local maximum of the signal segment at each scale;
[0019] S16: taking the initial local maximum value greater than the dynamic threshold as a candidate value;
[0020] S17: Counting the number of multiple candidate values in different preset value ranges;
[0021] S18: screening R wave peak values from a plurality of candidate values according to the number corresponding to each signal segment;
[0022] S19: determining the cardiac cycle length and the cardiac cycle starting point according to the position of the R wave peak in the electrocardiogram signal;
[0023] S110: extracting the first current cardiac signal from the electrocardiogram signal according to the cardiac cycle length and the cardiac cycle starting point, and acquiring a pre-stored waveform standard.
[0024] Further, S14 includes:
[0025] S141: multiplying the standard deviation by the adjustment coefficient to obtain a first value;
[0026] S142: Add the first value to the mean value to obtain the dynamic threshold.
[0027] Furthermore, S18 includes:
[0028] S181: Select the candidate value corresponding to the maximum number in each signal segment as the candidate peak value;
[0029] S182: Calculating distances between adjacent candidate peaks based on the electrocardiogram signal;
[0030] S183: If the distance is within a preset data range, the candidate peak value corresponding to the distance is used as the R wave peak value.
[0031] Furthermore, S2 includes:
[0032] S21: extracting a plurality of first intersection points of the first detection line and the second detection line in the current cardiac cycle; the first detection line and the second detection line are parallel to both sides of the baseline; the distance between the first detection line and the baseline is a first value, and the distance between the second detection line and the baseline is a first value;
[0033] S22: if the number of first intersections corresponding to the first detection line is a first standard number, extracting a plurality of second intersections of the third detection line in the current cardiac cycle; the first standard number includes six; the third detection line is parallel to the baseline and is located between the baseline and the first detection line;
[0034] S23: if the number of second intersections corresponding to the third detection line is the first standard number, intercepting a first waveform region located above the third detection line; the first waveform region includes a P wave, an R wave, and a T wave;
[0035] S24: if the number of third intersections corresponding to the second detection line is a second standard number, extracting a plurality of third intersections of the fourth detection line in the current cardiac cycle; the second standard number includes four; the fourth detection line is parallel to the baseline and is located between the baseline and the second detection line;
[0036] S25: if the number of third intersections corresponding to the fourth detection line is the second standard number, intercepting a second waveform region located below the fourth detection line; the second waveform region includes a Q wave and an S wave;
[0037] S26: Calculate a first offset between the first waveform area and the waveform standard;
[0038] S27: Calculate a second offset between the second waveform area and the waveform standard;
[0039] S28: taking the sum of the first offset and the second offset as the first difference.
[0040] Further, the S26 includes:
[0041] S261: Calculate a first maximum peak value, a first time span, and first slopes of a plurality of first sampling points in a first waveform region;
[0042] S262: calculating a first deviation between the first maximum peak value and the standard maximum peak value, calculating a second deviation between the first time span and the standard time span, and calculating a third deviation between the first slopes of the plurality of first sampling points and the standard slope;
[0043] S263: Taking the sum of the first deviation, the second deviation and the third deviation as the first offset.
[0044] Further, the S5 includes:
[0045] S51: collecting the amplitude and the third slope of a plurality of second sampling points in the subsequent cardiac cycle and the current cardiac cycle; the plurality of second sampling points are obtained by the intersection of the preset vertical axis value and the waveform;
[0046] S52: respectively calculating a fourth deviation between the amplitude of the subsequent cardiac cycle and the amplitude of the current cardiac cycle;
[0047] S53: respectively calculating a fifth deviation between the third slope of the subsequent cardiac cycle and the current cardiac cycle;
[0048] S54: adding fourth deviations corresponding to the plurality of second sampling points to obtain a first value;
[0049] S55: Add the fifth deviations corresponding to the plurality of second sampling points to obtain a second value;
[0050] S56: Perform weighted processing on the first value and the second value to obtain the first difference.
[0051] A second aspect of an embodiment of the present invention provides a device for collecting vital sign data of an injured or sick person, comprising:
[0052] The acquisition unit is used to acquire the current cardiac cycle in real time and obtain the pre-stored waveform standard; the waveform standard includes the standard maximum peak value, the standard time span and the standard slope of multiple sampling points;
[0053] A first calculation unit, used for calculating a first difference between a wave band of the current cardiac cycle and the waveform standard; the wave band includes a P wave, a QRS wave, a T wave, a PR segment and an ST segment;
[0054] A first judgment unit, configured to trigger an abnormality prompt when the first difference is greater than a first threshold; the abnormality prompt is configured to confirm to the user whether the subject has an abnormality;
[0055] A second judgment unit is configured to collect subsequent cardiac cycles in real time if the first difference is not greater than a first threshold or the user inputs a normal instruction based on the abnormal prompt;
[0056] A second calculation unit, configured to calculate a second difference between a subsequent cardiac cycle and the current cardiac cycle;
[0057] The third judgment unit is used to trigger an abnormality alarm when the second difference is greater than a second threshold.
[0058] The third aspect of an embodiment of the present invention provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the method for collecting vital sign data of injured and sick persons described in the first aspect are implemented.
[0059] A fourth aspect of an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for collecting vital sign data of injured and sick persons described in the first aspect are implemented.
[0060] Compared with the prior art, the embodiment of the present invention has the beneficial effect that: by collecting the data of the current cardiac cycle in real time and comparing it with the pre-stored waveform standard (including the standard maximum peak value, the standard time span and the standard slope of multiple sampling points), the first difference between the current cardiac cycle and the standard waveform can be accurately calculated. The method can carefully detect the slight abnormal changes in the electrocardiogram signal, especially the changes in key bands such as the P wave, QRS wave, T wave, PR segment and ST segment, and improve the accuracy and sensitivity of the detection. When it is detected that the first difference is greater than the set first threshold, the system will immediately trigger an abnormal prompt to remind the user to make further confirmation (in order to avoid the existence of abnormal basic diseases in the subject, resulting in false alarms). If the user confirms that there is no abnormality or the first difference is not greater than the first threshold, the system will continue to collect the data of the subsequent cardiac cycle in real time and calculate the second difference between the current cardiac cycle. By collecting and analyzing the data of the subsequent cardiac cycle in real time, the system continuously calibrates and updates the changes in the electrocardiogram signal. Once the second difference exceeds the set second threshold, the system will trigger an abnormal alarm, thereby providing continuous dynamic monitoring capabilities. This continuous monitoring and dynamic adjustment mechanism enables the system to adapt to changes in ECG signals and provide more reliable and timely anomaly detection and warning. This user participation mechanism not only enhances the flexibility of the system, but also reduces false alarms. In summary, this technical solution effectively improves the accuracy and reliability of ECG signal anomaly detection through a variety of technical means such as precise difference calculation, early warning prompts and continuous dynamic monitoring. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0062] Figure 1 A schematic flow chart of a method for collecting vital sign data of an injured or sick person provided by the present invention is shown;
[0063] Figure 2 A schematic diagram of a cardiac cycle waveform provided by an embodiment of the present invention is shown;
[0064] Figure 3 A schematic diagram of a device for collecting vital sign data of an injured or sick person provided by an embodiment of the present invention is shown;
[0065] Figure 4 A schematic diagram of a terminal device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0066] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.
[0067] The embodiment of the present invention provides a method for collecting vital sign data of an injured or sick person, a terminal device and a storage medium to solve the technical problem of how to achieve early detection and early warning of small-amplitude abnormal changes in electrocardiogram signals.
[0068] First, the present invention provides a method for collecting vital sign data of injured or sick persons. Figure 1 , Figure 1 FIG. 1 is a schematic flow chart of a method for collecting vital sign data of an injured or sick person provided by the present invention. Figure 1 As shown, the method for collecting vital sign data of the injured or sick person may include the following steps:
[0069] S1: real-time acquisition of the current cardiac cycle and acquisition of pre-stored waveform standards; the waveform standards include a standard maximum peak value, a standard time span, and a standard slope of multiple sampling points;
[0070] A current cardiac cycle is extracted from the cardiac signal to determine whether the current cardiac cycle meets the pre-stored waveform standard. The waveform standard is a waveform standard set based on the cardiac cycle generated by a healthy human body, and the waveform standard includes but is not limited to standard parameters such as maximum peak value, standard time span, and standard slope of multiple sampling points.
[0071] The extraction logic of the current cardiac cycle is as follows:
[0072] Specifically, S1 specifically includes S11 to S110:
[0073] S11: collecting an ECG signal, and segmenting the ECG signal according to a preset length to obtain a plurality of signal segments;
[0074] The ECG detection equipment is used to collect the patient's ECG signal in real time. This signal is a continuous time series data that reflects the electrical activity of the heart. The collected ECG signal is segmented according to the preset time length or number of data points to obtain several signal segments. These segments are time windows of fixed length or fixed number of data points.
[0075] S12: decomposing the signal segment by wavelet transform to obtain frequency components corresponding to multiple scales;
[0076] Perform wavelet transform on each signal segment. Wavelet transform is a time-frequency analysis method that can decompose the signal into frequency components corresponding to multiple scales. Through wavelet transform, the frequency characteristics of ECG signals can be analyzed at different scales, making it easier to detect features such as R waves.
[0077] Wavelet transform decomposes the signal into components of different frequencies, each corresponding to a scale. Wavelet function has good time and frequency localization characteristics, making it possible to accurately analyze the changes in signals in different time periods. Frequency components reflect the changing characteristics of signals at different time scales. In electrocardiogram (ECG) signals, frequency components can include: ① Low-frequency components: usually associated with slowly changing signal characteristics, such as baseline drift, changes in heart rate, etc. ② Intermediate-frequency components: This part of the frequency contains the QRS complex (including R wave) and the P wave and T wave before and after it, reflecting the main electrical activity of the heart. ③ High-frequency components: usually associated with rapidly changing noise and irregular signals, such as electromyographic interference, power frequency interference, etc. In signal processing, the purpose of analyzing different frequency components is to identify and extract the target signal (such as R wave) and distinguish it from noise or other interference components. Through multi-scale analysis, features related to R waves can be found in different frequency ranges, thereby improving the accuracy of detection.
[0078] S13: Calculate the standard deviation and mean of the frequency components at each scale;
[0079] S14: Calculate the dynamic threshold according to the standard deviation and the mean;
[0080] The dynamic threshold is used to filter candidate values. The specific calculation logic is as follows:
[0081] Specifically, S14 specifically includes S141 to S142:
[0082] S141: multiplying the standard deviation by the adjustment coefficient to obtain a first value;
[0083] S142: Add the first value to the mean value to obtain the dynamic threshold.
[0084] The reason for setting adaptive thresholds based on mean and standard deviation is that they can effectively describe the distribution characteristics of the signal, thus helping to distinguish important features in the signal (such as R waves). The mean reflects the central tendency of the signal, while the standard deviation measures the dispersion of the signal values. These two parameters can be used to understand the overall behavior of the signal. The characteristics of the signal may change over time. Using the mean and standard deviation for dynamic adjustment, the detection criteria can be adaptively changed according to different signal segments to adapt to different individuals and situations.
[0085] S15: matching the initial local maximum of the signal segment at each scale;
[0086] Since the peak value of the R wave in the cardiac cycle collected from a healthy human body is the maximum value in all bands, this embodiment selects the peak value of the R wave from multiple initial local maxima by matching the initial local maximum value of the signal segment at each scale.
[0087] At each scale, the signal segments are matched for the initial local maximum. The local maximum can be determined by comparing the size of adjacent data points, that is, by comparing the size of adjacent data points until the maximum value is found.
[0088] S16: taking the initial local maximum value greater than the dynamic threshold as a candidate value;
[0089] Initial local maxima that are greater than a dynamic threshold are selected as candidate values. The dynamic threshold ensures that only significant local maxima (such as R waves) are selected as candidate values.
[0090] S17: Counting the number of multiple candidate values in different preset value ranges;
[0091] Since the R wave peak value in the ECG signal of the cardiac cycle is periodic, the number of R wave peak values is much higher than other interference signals.
[0092] Therefore, the present application divides the numerical range corresponding to the R wave peak value into multiple different preset numerical ranges as screening conditions, and counts the number of multiple candidate values in different preset numerical ranges to improve the recognition accuracy of the R wave peak value.
[0093] S18: screening R wave peak values from a plurality of candidate values according to the number corresponding to each signal segment;
[0094] According to the number of candidate values in each signal segment, the R wave peak is screened out. Usually, the R wave is the characteristic point with the largest amplitude and high frequency in the ECG signal.
[0095] Specifically, S18 specifically includes S181 to S183:
[0096] S181: Select the candidate value corresponding to the maximum number in each signal segment as the candidate peak value;
[0097] S182: Calculating distances between adjacent candidate peaks based on the electrocardiogram signal;
[0098] S183: If the distance is within a preset data range, the candidate peak value corresponding to the distance is used as the R wave peak value.
[0099] In order to improve the recognition accuracy of the R wave peak, the time interval (distance) between adjacent R waves is set to verify the test results and exclude peaks that are not in line with physiological laws.
[0100] S19: determining the cardiac cycle length and the cardiac cycle starting point according to the position of the R wave peak in the electrocardiogram signal;
[0101] The length and starting point of the cardiac cycle are determined based on the position of the extracted R wave peak. The length of the cardiac cycle is the time interval between two adjacent R waves, and the starting point is the center position of adjacent R waves.
[0102] S110: extracting the first current cardiac signal from the electrocardiogram signal according to the cardiac cycle length and the cardiac cycle starting point, and acquiring a pre-stored waveform standard.
[0103] In this embodiment, by segmenting the ECG signal according to a preset length, the signal segments can be better managed and processed, thereby making the signal processing more efficient. The application of wavelet transform decomposes the signal into frequency components corresponding to multiple scales, effectively capturing the detailed changes in the signal. The method of calculating the dynamic threshold using standard deviation and mean can adapt to the characteristics of different signal segments, enhance the ability to suppress noise, and improve the robustness of signal processing. By matching the initial local maximum of the signal segment at each scale, and taking the initial local maximum greater than the dynamic threshold as a candidate value, the false detection rate is significantly reduced. The number of multiple candidate values in different preset numerical ranges is counted, and the R wave peak value is screened according to the number, further ensuring the accuracy of R wave peak detection. According to the position of the R wave peak in the ECG signal, the length of the cardiac cycle and the starting point of the cardiac cycle are accurately determined. By extracting the length of the cardiac cycle and the starting point of the cardiac cycle, the first current cardiac signal of the current cardiac cycle is obtained in real time, ensuring the real-time and accuracy of the cardiac cycle. This technical solution can accurately extract the cardiac cycle while collecting ECG signals in real time.
[0104] S2: Calculate a first difference between the wave band of the current cardiac cycle and the waveform standard; the wave band includes a P wave, a QRS wave, a T wave, a PR segment, and a ST segment;
[0105] This embodiment extracts the P wave, QRS wave and T wave according to the intersection of the cardiac cycle and multiple preset detection lines, and then calculates the first difference between the P wave, QRS wave and T wave and the waveform standard. The specific calculation process is as follows:
[0106] The bands include but are not limited to P wave, QRS wave, T wave, PR segment, ST segment and U wave. Please refer to Figure 2 , Figure 2 There are two cardiac cycle waveforms in the figure. Each cardiac cycle includes P wave, QRS wave, T wave, PR segment (the band between P wave and QRS wave) and ST segment (the band between QRS wave and T wave).
[0107] Among them, P wave: reflects atrial depolarization.
[0108] QRS complex: reflects ventricular depolarization, including Q wave, R wave and S wave.
[0109] T wave: reflects ventricular repolarization.
[0110] PR segment: It represents the time interval from the end of atrial depolarization to the beginning of ventricular depolarization.
[0111] ST segment: It represents the time interval from the end of ventricular depolarization to the beginning of ventricular repolarization.
[0112] U wave: Sometimes seen, reflecting the late stage of ventricular repolarization.
[0113] Specifically, S2 specifically includes S21 to S28:
[0114] S21: extracting a plurality of first intersection points of the first detection line and the second detection line in the current cardiac cycle; the first detection line and the second detection line are parallel to both sides of the baseline; the distance between the first detection line and the baseline is a first value, and the distance between the second detection line and the baseline is a first value;
[0115] The baseline is also called an equipotential line, and the first detection line and the second detection line are respectively located on two parallel sides of the baseline, and the first detection line and the second detection line are equidistant from the baseline.
[0116] It is worth noting that in order to avoid the PR segment and ST segment from affecting the extraction results when extracting the P wave, QRS wave and T wave, and to detect whether the PR segment and ST segment have abnormal protrusions, the first detection line and the second detection line are set on both sides of the baseline to extract the P wave, QRS wave and T wave while judging whether the PR segment and ST segment have abnormalities.
[0117] S22: if the number of first intersections corresponding to the first detection line is a first standard number, extracting a plurality of second intersections of the third detection line in the current cardiac cycle; the first standard number includes six; the third detection line is parallel to the baseline and is located between the baseline and the first detection line;
[0118] The first detection line is located on the upper side of the baseline (with the vertical axis of the electrocardiogram as the direction), and is used to extract P waves, R waves, and T waves (it should be noted that since U waves cannot be detected in some electrocardiogram detectors, they are not taken into consideration for the time being, that is, this embodiment assumes that U waves cannot be detected). If the PR segment and ST segment are normal, the number of first intersections is 6. If the PR segment and ST segment are abnormal, the number of first intersections is greater than 6. Therefore, when the number of first intersections is 6, multiple second intersections are extracted through the third detection line located between the first detection line and the baseline to further detect the bottom of the P wave, R wave, and T wave. When the number of first intersections is greater than 6, an abnormal prompt is issued.
[0119] S23: if the number of second intersections corresponding to the third detection line is the first standard number, intercepting a first waveform region located above the third detection line; the first waveform region includes a P wave, an R wave, and a T wave;
[0120] As an optional embodiment of the present application, other detection lines may be set between the third detection line and the baseline, and this process may be repeated until the number of second intersections is greater than 6 (indicating that the bottom of the waveform has been reached), and the first waveform area located above the previous detection line is intercepted.
[0121] S24: if the number of third intersections corresponding to the second detection line is a second standard number, extracting a plurality of third intersections of the fourth detection line in the current cardiac cycle; the second standard number includes four; the fourth detection line is parallel to the baseline and is located between the baseline and the second detection line;
[0122] The second detection line is located below the baseline (in the direction of the vertical axis of the electrocardiogram) and is used to extract the Q wave and the S wave. If the PR segment and the ST segment are normal, the number of the second intersection points is 4. If the PR segment and the ST segment are abnormal, the number of the second intersection points is greater than 4. Therefore, when the number of the second intersection points is 4, a fourth detection line located between the second detection line and the baseline is used to extract multiple third intersection points to further detect the bottom of the Q wave and the S wave. When the number of the second intersection points is greater than 4, an abnormal prompt is issued.
[0123] S25: if the number of third intersections corresponding to the fourth detection line is the second standard number, intercepting a second waveform region located below the fourth detection line; the second waveform region includes a Q wave and an S wave;
[0124] As an optional embodiment of the present application, other detection lines can be set between the fourth detection line and the baseline, and this process can be repeated until the number of third intersections is greater than 4 (indicating that the bottom of the waveform has been reached), and the second waveform area located below the previous detection line is intercepted.
[0125] S26: Calculate a first offset between the first waveform area and the waveform standard;
[0126] Specifically, S26 specifically includes: calculating the first maximum peak, the first time span and the first slope of multiple first sampling points of the first waveform area; calculating the first deviation between the first maximum peak and the standard maximum peak, calculating the second deviation between the first time span and the standard time span, calculating the third deviation between the first slope and the standard slope of multiple first sampling points; taking the sum of the first deviation, the second deviation and the third deviation as the first offset.
[0127] As an optional embodiment of the present application, the first deviation, the second deviation and the third deviation may be multiplied by their respective preset weights, and the sum may be used as the first offset to adjust the degree of influence of different standards on the results, thereby improving the accuracy of subsequent calculations.
[0128] S27: Calculate a second offset between the second waveform area and the waveform standard;
[0129] The calculation logic of S27 is consistent with S26: calculating the first offset between the first waveform area and the waveform standard, and is not limited here.
[0130] S28: taking the sum of the first offset and the second offset as the first difference.
[0131] In this embodiment, by setting multiple detection lines in the electrocardiogram and detecting the number of intersections, the main waveform areas (P wave, Q wave, R wave, S wave, T wave) in each cardiac cycle can be accurately determined. This method extracts the characteristic waveform of the electrocardiogram more accurately, thereby improving the accuracy of the overall detection. The offset between the first waveform area (including P wave, R wave and T wave) and the second waveform area (including Q wave and S wave) and the waveform standard is calculated respectively, and the sum is used as the first difference, which helps to more comprehensively reflect the difference between the cardiac cycle waveform and the standard waveform. This calculation method comprehensively considers the offset of multiple waveform areas, making the difference calculation more comprehensive and effective. By setting detection lines in parallel on both sides of the baseline and extracting waveform areas according to the number of specific intersections, the accuracy of data extraction is ensured. In particular, the setting between the third detection line and the fourth detection line makes the extracted waveform area more accurate, which is helpful for the subsequent calculation of the offset. Clearly dividing and extracting the first waveform area (P wave, R wave and T wave) and the second waveform area (Q wave and S wave) in the current cardiac cycle helps to analyze each waveform area independently. This clear way of dividing the waveform area makes the electrocardiogram analysis clearer and more systematic. In summary, the technical solution realizes the effective calculation of the difference between the cardiac cycle band and the waveform standard through accurate intersection detection and waveform area extraction methods, thereby improving the accuracy, adaptability and reliability of electrocardiogram analysis.
[0132] S3: When the first difference is greater than a first threshold, triggering an abnormality prompt; the abnormality prompt is used to confirm to the user whether there is an abnormality in the subject's body;
[0133] Since the injured or sick person may have an original heart disease, the electrocardiogram may be abnormal. For such injured or sick persons, the significance of electrocardiogram detection is that it is necessary to monitor whether the heart deteriorates or has other abnormalities in the future. Therefore, when it is detected that the first difference is greater than the first threshold (i.e., an abnormality occurs), an abnormal prompt is issued to the user (medical staff) to obtain a normal instruction or an abnormal instruction input by the user.
[0134] S4: if the first difference is not greater than the first threshold or the user inputs a normal instruction based on the abnormal prompt, collecting subsequent cardiac cycles in real time;
[0135] According to the abnormal prompt issued by the device, the user inputs normal instructions or abnormal instructions through physical buttons or touch screen. When a normal instruction is received, the subsequent cardiac cycles are collected in real time to continuously detect the heart condition of the injured person, and an abnormal alarm is triggered when the second difference is greater than the second threshold. When an abnormal instruction is received, the subsequent cardiac cycles are collected in real time to continuously detect the heart condition of the injured person without issuing an abnormal alarm. When the first difference is not greater than the first threshold, indicating that the electrocardiogram is normal, the heart condition of the injured person is continuously detected, and when the second difference is greater than the second threshold, an abnormal alarm is triggered.
[0136] S5: Calculating a second difference between the subsequent cardiac cycle and the current cardiac cycle;
[0137] In the subsequent monitoring process, since it is only necessary to monitor whether the electrocardiogram has abnormal changes, it is only necessary to calculate the similarity between the subsequent cardiac cycle and the current cardiac cycle. The specific calculation logic is as follows:
[0138] Specifically, S5 specifically includes S51 to S56:
[0139] S51: collecting the amplitude and the third slope of a plurality of second sampling points in the subsequent cardiac cycle and the current cardiac cycle; the plurality of second sampling points are obtained by the intersection of the preset vertical axis value and the waveform;
[0140] In the waveform diagram of the cardiac cycle, the intersection of the preset vertical axis value and the waveform is selected as the second sampling point. For each selected second sampling point, its amplitude (i.e., vertical axis value) in the current cardiac cycle and the subsequent cardiac cycle is recorded. The slope of each sampling point is calculated, i.e., the rate of change of the waveform at this point (i.e., the third slope). This can be approximated by the derivative of the waveform near this point.
[0141] S52: respectively calculating a fourth deviation between the amplitude of the subsequent cardiac cycle and the amplitude of the current cardiac cycle;
[0142] For each second sampling point, the amplitude difference between the current cardiac cycle and the subsequent cardiac cycle is calculated to obtain a fourth deviation. For example, assuming that at a specific second sampling point, the amplitude of the current cardiac cycle is A1 and the amplitude of the subsequent cardiac cycle is A2, the fourth deviation is |A2 - A1|.
[0143] S53: respectively calculating a fifth deviation between the third slope of the subsequent cardiac cycle and the current cardiac cycle;
[0144] For each second sampling point, the slope difference between the current cardiac cycle and the subsequent cardiac cycle is calculated, and the average of the slope differences of multiple second sampling points is used as the fifth deviation. For example, assuming that at a specific second sampling point, the slope of the current cardiac cycle is B1 and the slope of the subsequent cardiac cycle is B2, the fifth deviation is |B2 - B1|.
[0145] S54: adding fourth deviations corresponding to the plurality of second sampling points to obtain a first value;
[0146] S55: Add the fifth deviations corresponding to the plurality of second sampling points to obtain a second value;
[0147] S56: Perform weighted processing on the first value and the second value to obtain the first difference.
[0148] In this implementation, by collecting the amplitude and third slope of multiple second sampling points in the subsequent cardiac cycle and the current cardiac cycle, and calculating the fourth deviation and fifth deviation of these points respectively, the slight changes between cardiac cycles can be captured in detail, thereby improving the accuracy of difference detection. By using the data of the two dimensions of amplitude and slope, the deviations are calculated and weighted respectively, which more comprehensively reflects the differences between cardiac cycles compared with the single-dimensional analysis method, provides richer analysis dimensions and more accurate calculation of difference quantities. Multiple second sampling points are obtained by the intersection of the preset vertical axis value and the waveform, ensuring the flexibility and adaptability of the sampling points. Regardless of how the waveform of the cardiac cycle changes, this method can effectively collect key amplitude and slope information and adapt to the changes of various cardiac cycles. By adding the fourth deviation and the fifth deviation corresponding to each of the multiple second sampling points, the first value and the second value are obtained respectively, and weighted processing is performed to comprehensively obtain the first difference quantity. This weighted processing method enhances the reliability of the calculation results and reduces the influence of a single abnormal point on the overall difference quantity. Since the method uses the preset vertical axis value and the intersection of the waveform to determine the sampling point, the complex waveform analysis steps are reduced in the calculation process, thereby improving the calculation efficiency and being suitable for real-time monitoring of changes in the cardiac cycle. In summary, the present invention achieves efficient, accurate and reliable calculation of the second difference between cardiac cycles by accurately collecting, calculating and weighting the deviations of amplitude and slope, significantly improving the technical level of cardiac cycle difference analysis.
[0149] S6: When the second difference is greater than a second threshold, triggering an abnormality alarm.
[0150] It should be noted that the abnormal prompt is used to confirm to the user whether there is an abnormality in the subject's body, while the abnormal alarm is used to inform the user that an abnormality has occurred in the subject's body.
[0151] In this embodiment, by collecting the data of the current cardiac cycle in real time and comparing it with the pre-stored waveform standards (including the standard maximum peak value, the standard time span and the standard slope of multiple sampling points), the first difference between the current cardiac cycle and the standard waveform can be accurately calculated. This method can carefully detect the slight abnormal changes in the ECG signal, especially the changes in key bands such as the P wave, QRS wave, T wave, PR segment and ST segment, thereby improving the accuracy and sensitivity of the detection. When it is detected that the first difference is greater than the set first threshold, the system will immediately trigger an abnormal prompt to remind the user to make further confirmation (in order to avoid the existence of abnormal underlying diseases in the subject, resulting in false alarms). If the user confirms that there is no abnormality or the first difference is not greater than the first threshold, the system will continue to collect the data of the subsequent cardiac cycle in real time and calculate the second difference between the current cardiac cycle. By collecting and analyzing the data of the subsequent cardiac cycle in real time, the system continuously calibrates and updates the changes in the ECG signal. Once the second difference exceeds the set second threshold, the system will trigger an abnormal alarm, thereby providing continuous dynamic monitoring capabilities. This continuous monitoring and dynamic adjustment mechanism enables the system to adapt to changes in ECG signals and provide more reliable and timely anomaly detection and warning. This user participation mechanism not only enhances the flexibility of the system, but also reduces false alarms. In summary, this technical solution effectively improves the accuracy and reliability of ECG signal anomaly detection through a variety of technical means such as precise difference calculation, early warning prompts and continuous dynamic monitoring.
[0152] like Figure 3 The present invention provides a device for collecting vital sign data of injured or sick persons, see Figure 3 , Figure 3 A schematic diagram of a device for collecting vital sign data of an injured or sick person provided by the present invention is shown. Figure 3 The device for collecting vital sign data of an injured or sick person includes:
[0153] The acquisition unit 21 is used to acquire the current cardiac cycle in real time and obtain the pre-stored waveform standard; the waveform standard includes the standard maximum peak value, the standard time span and the standard slope of multiple sampling points;
[0154] A first calculation unit 22, used for calculating a first difference between the wave band of the current cardiac cycle and the waveform standard; the wave band includes a P wave, a QRS wave, a T wave, a PR segment and an ST segment;
[0155] A first judgment unit 23 is used to trigger an abnormality prompt when the first difference is greater than a first threshold; the abnormality prompt is used to confirm to the user whether there is an abnormality in the human body under examination;
[0156] A second judgment unit 24 is configured to collect subsequent cardiac cycles in real time if the first difference is not greater than a first threshold or the user inputs a normal instruction based on the abnormal prompt;
[0157] A second calculation unit 25, configured to calculate a second difference between a subsequent cardiac cycle and the current cardiac cycle;
[0158] The third judgment unit 26 is configured to trigger an abnormality alarm when the second difference is greater than a second threshold.
[0159] The present invention provides a device for collecting vital sign data of injured or sick persons. By collecting data of the current cardiac cycle in real time and comparing it with pre-stored waveform standards (including standard maximum peak value, standard time span and standard slope of multiple sampling points), the first difference between the current cardiac cycle and the standard waveform can be accurately calculated. The method can carefully detect small abnormal changes in electrocardiogram signals, especially changes in key bands such as P wave, QRS wave, T wave, PR segment and ST segment, thereby improving the accuracy and sensitivity of detection. When it is detected that the first difference is greater than the set first threshold, the system will immediately trigger an abnormal prompt to remind the user to make further confirmation (in order to avoid the existence of abnormal basic diseases in the subject, resulting in false alarms). If the user confirms that there is no abnormality or the first difference is not greater than the first threshold, the system will continue to collect data of subsequent cardiac cycles in real time and calculate the second difference between the current cardiac cycle. By collecting and analyzing data of subsequent cardiac cycles in real time, the system continuously calibrates and updates the changes in electrocardiogram signals. Once the second difference exceeds the set second threshold, the system will trigger an abnormal alarm, thereby providing continuous dynamic monitoring capabilities. This continuous monitoring and dynamic adjustment mechanism enables the system to adapt to changes in ECG signals and provide more reliable and timely anomaly detection and warning. This user participation mechanism not only enhances the flexibility of the system, but also reduces false alarms. In summary, this technical solution effectively improves the accuracy and reliability of ECG signal anomaly detection through a variety of technical means such as precise difference calculation, early warning prompts and continuous dynamic monitoring.
[0160] Figure 4 Schematic diagram of a terminal device provided by an embodiment of the present invention. Figure 4 As shown, a terminal device 3 of this embodiment includes: a processor 30, a memory 31, and a computer program 32 stored in the memory 31 and executable on the processor 30, such as a program for collecting vital sign data of an injured or sick person. When the processor 30 executes the computer program 32, the steps in each of the above-mentioned embodiments of the method for collecting vital sign data of an injured or sick person are implemented, such as Figure 1 Alternatively, when the processor 30 executes the computer program 32, the functions of each unit in the above-mentioned device embodiments are realized, for example, Figure 3 Function of the unit shown.
[0161] Exemplarily, the computer program 32 may be divided into one or more units, which are stored in the memory 31 and executed by the processor 30 to complete the present invention. The one or more units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 32 in the terminal device 3. For example, the computer program 32 may be divided into the following specific functions of each unit:
[0162] The acquisition unit is used to acquire the current cardiac cycle in real time and obtain the pre-stored waveform standard; the waveform standard includes the standard maximum peak value, the standard time span and the standard slope of multiple sampling points;
[0163] A first calculation unit, configured to calculate a first difference between a wave band of the current cardiac cycle and the waveform standard; the wave band includes a P wave, a QRS wave, a T wave, a PR segment, and an ST segment;
[0164] A first judgment unit, configured to trigger an abnormality prompt when the first difference is greater than a first threshold; the abnormality prompt is configured to confirm to the user whether the subject has an abnormality;
[0165] A second judgment unit is configured to collect subsequent cardiac cycles in real time if the first difference is not greater than a first threshold or the user inputs a normal instruction based on the abnormal prompt;
[0166] A second calculation unit, configured to calculate a second difference between a subsequent cardiac cycle and the current cardiac cycle;
[0167] The third judgment unit is used to trigger an abnormality alarm when the second difference is greater than a second threshold.
[0168] The terminal device includes but is not limited to a processor 30 and a memory 31. Those skilled in the art will appreciate that Figure 4 It is only an example of a terminal device 3 and does not constitute a limitation on the terminal device 3. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device may also include input and output devices, network access devices, buses, etc.
[0169] The processor 30 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0170] The memory 31 may be an internal storage unit of the terminal device 3, such as a hard disk or memory of the terminal device 3. The memory 31 may also be an external storage device of the terminal device 3, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device 3. Further, the memory 31 may also include both an internal storage unit and an external storage device of the terminal device 3. The memory 31 is used to store the computer program and other programs and data required by the roaming control device. The memory 31 may also be used to temporarily store data that has been output or is to be output.
[0171] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0172] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present invention. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0173] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0174] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0175] An embodiment of the present invention provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0176] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the camera device / terminal device, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a disk or an optical disk.
[0177] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0178] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0179] In the embodiments provided by the present invention, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0180] 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 over multiple network units.
[0181] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0182] It should also be understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
[0183] As used in the present specification and the appended claims, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to monitoring, depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is monitored" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is monitored" or "in response to monitoring [described condition or event]", depending on the context.
[0184] In addition, in the description of the present specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0185] References to "one embodiment" or "some embodiments" etc. described in the present specification mean that one or more embodiments of the present invention include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0186] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A method for collecting vital sign data of injured or sick persons, characterized in that: The method for collecting vital sign data of the injured or sick person comprises: S1: real-time acquisition of the current cardiac cycle and acquisition of pre-stored waveform standards; the waveform standards include standard maximum peak value, standard time span and standard slopes of multiple sampling points; specifically including: S11: collecting an ECG signal, and segmenting the ECG signal according to a preset length to obtain a plurality of signal segments; S12: decomposing the signal segment by wavelet transform to obtain frequency components corresponding to multiple scales; S13: Calculate the standard deviation and mean of the frequency components at each scale; S14: Calculate the dynamic threshold according to the standard deviation and the mean; S15: matching the initial local maximum of the signal segment at each scale; S16: taking the initial local maximum value greater than the dynamic threshold as a candidate value; S17: Counting the number of multiple candidate values in different preset value ranges; S18: screening R wave peak values from a plurality of candidate values according to the number corresponding to each signal segment; S19: determining the cardiac cycle length and the cardiac cycle starting point according to the position of the R wave peak in the electrocardiogram signal; S110: extracting a first current cardiac signal from the electrocardiogram signal according to the cardiac cycle length and the cardiac cycle starting point, and acquiring a pre-stored waveform standard; S2: Calculate a first difference between the wave band of the current cardiac cycle and the waveform standard; the wave band includes a P wave, a QRS wave, a T wave, a PR segment, and a ST segment; S3: When the first difference is greater than a first threshold, triggering an abnormality prompt; the abnormality prompt is used to confirm to the user whether there is an abnormality in the subject's body; S4: if the first difference is not greater than the first threshold or the user inputs a normal instruction based on the abnormal prompt, collecting subsequent cardiac cycles in real time; S5: Calculating a second difference between the subsequent cardiac cycle and the current cardiac cycle; S6: When the second difference is greater than a second threshold, triggering an abnormality alarm.
2. The method for collecting vital sign data of an injured or sick person according to claim 1, characterized in that: The S14 includes: S141: multiplying the standard deviation by the adjustment coefficient to obtain a first value; S142: Add the first value to the mean value to obtain the dynamic threshold.
3. The method for collecting vital sign data of an injured or sick person according to claim 1, characterized in that: The S18 includes: S181: Select the candidate value corresponding to the maximum number in each signal segment as the candidate peak value; S182: Calculating distances between adjacent candidate peaks based on the electrocardiogram signal; S183: If the distance is within a preset data range, the candidate peak value corresponding to the distance is used as the R wave peak value.
4. The method for collecting vital sign data of an injured or sick person according to claim 1, characterized in that: The S2 includes: S21: extracting a plurality of first intersection points of the first detection line and the second detection line in the current cardiac cycle; the first detection line and the second detection line are parallel to both sides of the baseline; the distance between the first detection line and the baseline is a first value, and the distance between the second detection line and the baseline is a first value; S22: if the number of first intersections corresponding to the first detection line is a first standard number, extracting a plurality of second intersections of the third detection line in the current cardiac cycle; the first standard number includes six; the third detection line is parallel to the baseline and is located between the baseline and the first detection line; S23: if the number of second intersections corresponding to the third detection line is the first standard number, intercepting a first waveform region located above the third detection line; the first waveform region includes a P wave, an R wave, and a T wave; S24: if the number of third intersections corresponding to the second detection line is a second standard number, extracting a plurality of third intersections of the fourth detection line in the current cardiac cycle; the second standard number includes four; the fourth detection line is parallel to the baseline and is located between the baseline and the second detection line; S25: if the number of third intersections corresponding to the fourth detection line is the second standard number, intercepting a second waveform region located below the fourth detection line; the second waveform region includes a Q wave and an S wave; S26: Calculate a first offset between the first waveform area and the waveform standard; S27: Calculate a second offset between the second waveform area and the waveform standard; S28: taking the sum of the first offset and the second offset as the first difference.
5. The method for collecting vital sign data of an injured or sick person as claimed in claim 4, characterized in that: The S26 includes: S261: Calculate a first maximum peak value, a first time span, and first slopes of a plurality of first sampling points in a first waveform region; S262: calculating a first deviation between the first maximum peak value and the standard maximum peak value, calculating a second deviation between the first time span and the standard time span, and calculating a third deviation between the first slopes of the plurality of first sampling points and the standard slope; S263: Taking the sum of the first deviation, the second deviation and the third deviation as the first offset.
6. The method for collecting vital sign data of an injured or sick person according to claim 1, characterized in that: The S5 includes: S51: collecting the amplitude and the third slope of a plurality of second sampling points in the subsequent cardiac cycle and the current cardiac cycle; the plurality of second sampling points are obtained by the intersection of the preset vertical axis value and the waveform; S52: respectively calculating a fourth deviation between the amplitude of the subsequent cardiac cycle and the amplitude of the current cardiac cycle; S53: respectively calculating a fifth deviation between the third slope of the subsequent cardiac cycle and the current cardiac cycle; S54: adding fourth deviations corresponding to the plurality of second sampling points to obtain a first value; S55: Add the fifth deviations corresponding to the plurality of second sampling points to obtain a second value; S56: Perform weighted processing on the first value and the second value to obtain the first difference.
7. A device for collecting vital sign data of injured or sick persons, characterized in that: The device for collecting vital sign data of the injured or sick person comprises: An acquisition unit is used to acquire the current cardiac cycle in real time and obtain a pre-stored waveform standard; the waveform standard includes a standard maximum peak value, a standard time span and a standard slope of multiple sampling points; specifically includes: acquiring an electrocardiogram signal, dividing the electrocardiogram signal according to a preset length to obtain multiple signal segments; decomposing the signal segments by wavelet transform to obtain frequency components corresponding to multiple scales; calculating the standard deviation and mean of the frequency components at each scale; calculating a dynamic threshold based on the standard deviation and mean; matching the initial local maximum value of the signal segment at each scale; taking the initial local maximum value greater than the dynamic threshold as a candidate value; counting the number of multiple candidate values in different preset numerical ranges; screening the R wave peak value from the multiple candidate values according to the number corresponding to each signal segment; determining the cardiac cycle length and the starting point of the cardiac cycle according to the position of the R wave peak value in the electrocardiogram signal; extracting the first current cardiac signal from the electrocardiogram signal according to the cardiac cycle length and the starting point of the cardiac cycle, and obtaining a pre-stored waveform standard; A first calculation unit, configured to calculate a first difference between a wave band of the current cardiac cycle and the waveform standard; the wave band includes a P wave, a QRS wave, a T wave, a PR segment, and an ST segment; A first judgment unit, configured to trigger an abnormality prompt when the first difference is greater than a first threshold; the abnormality prompt is configured to confirm to the user whether the subject has an abnormality; A second judgment unit is configured to collect subsequent cardiac cycles in real time if the first difference is not greater than a first threshold or the user inputs a normal instruction based on the abnormal prompt; A second calculation unit, configured to calculate a second difference between a subsequent cardiac cycle and the current cardiac cycle; The third judgment unit is used to trigger an abnormality alarm when the second difference is greater than a second threshold.
8. A terminal device, characterized in that: The terminal device includes: a memory, a processor, and a vital sign data collection program for injured persons stored in the memory and executable on the processor, wherein the vital sign data collection program for injured persons is configured to implement the steps in the method for collecting vital sign data for injured persons as described in any one of claims 1 to 6.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps in the method for collecting vital sign data of an injured or sick person as claimed in any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Electrocardiosignal artificial intelligence processing circuit based on cardiac beat differential coding
CN114469127A
Intelligent processing method for electrocardiogram waveform data
CN117281529A
Cardiac function detection system based on electrocardiogram data, storage medium and device
CN118557166A