A blood pressure calibration method based on time series
By constructing a blood pressure calibration method based on time series, using recurrent neural network and sliding window technology to estimate the patient's current blood pressure value, it solves the problems of inaccurate blood pressure prediction and high cost in the existing technology, and achieves timely and efficient blood pressure monitoring. accuracy.
Patent Information
- Application Number
- CN202211423104.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-14
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-11-14
AI Technical Summary
Existing technology is difficult to accurately predict a patient's current blood pressure value without actual blood pressure measurement, resulting in a failure to predict and warn potential health risks in a timely manner, and the cost of large-scale data verification is high.
A blood pressure calibration method based on time series is adopted. By constructing a long time series model and a short time series model, a recurrent neural network is used to train the patient's historical blood pressure data to form a blood pressure prediction model, which is combined with sliding window technology to predict the current blood pressure value.
It achieves accurate prediction of the patient's current blood pressure value without actual measurement, reduces the cost of large-scale data verification, and improves the timeliness and accuracy of blood pressure monitoring.
Smart Images

Figure CN115607129B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of blood pressure detection, and in particular to a blood pressure calibration method based on time series. Background Art
[0002] Blood pressure testing is a key test for patients before treatment. With the widespread use of portable blood pressure testing instruments in the market, blood pressure testing has become a part of people's health testing in their lives. Especially for middle-aged and elderly patients, blood pressure testing has become a standard for daily blood pressure measurement. It can timely detect their own blood pressure and blood pressure-related diseases during self-blood pressure testing, so as to seek medical treatment in a timely and accurate manner. However, for some patients with blood pressure, there will be cases where they forget to test their blood pressure, so that it is difficult to make timely predictions before health emergencies occur, and then tragedies occur. In order to solve this problem, it is very necessary to predict the patient's blood pressure in advance, timely discover and remind blood pressure patients of potential hidden dangers, and give early warnings.
[0003] At the same time, at the current point in time, the patient's actual blood pressure is unknown. To obtain the actual value of the current blood pressure, actual blood pressure measurement can only be performed. When large-scale data verification is required, the cost of actual measurement will be high and unaffordable. Summary of the invention
[0004] In view of the deficiencies of the prior art, the present invention provides a time-series-based blood pressure calibration method, which uses the patient's existing historical blood pressure data to estimate the patient's current blood pressure value, so that the estimated value can be processed as the current actual blood pressure.
[0005] The present invention adopts the following technical solution:
[0006] A time series-based blood pressure calibration method collects the patient's existing single blood pressure data and dynamic blood pressure data; the collected single blood pressure data and dynamic blood pressure data are counted and cleaned respectively; a long time series model based on the single blood pressure data and a short time series model based on the 24-hour dynamic blood pressure data are constructed, and the short time series model is used to perform corresponding blood pressure correction on the single blood pressure data in the long time series model; a blood pressure estimation model is formed after training the collected patient's existing blood pressure data for several times; and the blood pressure data collected by the patient in the recent period is input into the blood pressure estimation model to obtain the patient's current blood pressure estimation value.
[0007] Furthermore, a blood pressure estimation model is formed after training the collected existing blood pressure data of the patients several times. The specific method is: constructing a training sample data set for the cleaned existing blood pressure data to form a time series of blood pressure data for several consecutive days; using the established time series as the input of the recursive neural network for deep learning to obtain the patient's temporal behavior characteristics and blood pressure estimation value; and obtaining the constructed blood pressure estimation model after training the training sample data set several times through a set sliding window method.
[0008] Furthermore, the long-time series model and the short-time series model are constructed by training the existing blood pressure data through recursive neural network, and the blood pressure calibration conditions set when constructing the model include: the range of change of a single blood pressure: the mean value of the serial blood pressure ± 3 times the standard deviation; the range of change of the difference between adjacent blood pressures: the last blood pressure + the average value of the fluctuation amplitude ± 3 times the standard deviation; the circadian rhythm fluctuation amplitude: (the smoothed average value of the set time point - the average value of the dynamic blood pressure throughout the day) / the average value of the dynamic blood pressure throughout the day * 100% ± constant
[0009] Preferably, the range of variation of the single blood pressure is: the mean value of the serial blood pressure ± 2 times the standard deviation; the range of variation of the difference between adjacent blood pressures is: the last blood pressure + the mean value of the fluctuation amplitude ± 2 times the standard deviation.
[0010] The specific statistical and cleaning methods for single blood pressure data are:
[0011] Randomly select one day from all the collected historical blood pressure data of patients and record it as the last time node Ty; take Ty as the time node, extract the blood pressure data of all users within 180 days forward; delete test users, abnormal users and their data, and delete the existing abnormal blood pressure data; count the number of measurements N of patient users, and delete patient users and their data with N < 3 times, or N > 1000 times.
[0012] Preferably, the number of measurements N of the patient users is counted, and the blood pressure patient users whose number of measurements N is less than 10 times in a time series are deleted.
[0013] The specific statistical and cleaning methods of dynamic blood pressure data are:
[0014] Extract all dynamic blood pressure reports in the system, count the number of dynamic reports M of the user, and delete the patient users and their dynamic blood pressure data with M>6 times; delete invalid reports with less than 10 data items in the dynamic blood pressure report; delete customized reports.
[0015] The technical solution of the present invention has the following advantages:
[0016] The present invention assumes that there is a statistically equivalent relationship between the patient's last blood pressure and the last blood pressure predicted value, as well as the current actual blood pressure and the current blood pressure predicted value, and constructs a long time series model and a short time series model based on a deep neural network. By recursively playing back the time to the time point of the last blood pressure, the patient's last blood pressure predicted value is obtained. The last blood pressure predicted value is made consistent with the last blood pressure through the constructed model, and the current blood pressure predicted value obtained by this method and the current blood pressure actual value are also consistent, thereby obtaining the actual value of the current blood pressure, which is more suitable for large-scale data verification. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the specific embodiments of the present invention, the drawings required for use in the specific embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 A block diagram of the blood pressure calibration method provided by the present invention;
[0019] Figure 2 A statistical diagram of blood pressure data of a patient provided by the present invention;
[0020] Figure 3 A graphical representation of the high pressure difference and the low pressure difference of a patient provided by the present invention;
[0021] Figure 4 This is a 24-hour continuous dynamic blood pressure diagram of a patient provided by the present invention;
[0022] Figure 5 A diagram of a sliding window for constructing a training data set provided by the present invention;
[0023] Figure 6 A diagram is constructed for the time series feature vector provided by the present invention. DETAILED DESCRIPTION
[0024] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0025] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0026] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0027] The following concepts are defined as follows:
[0028] Dynamic blood pressure average: the average high and low pressure values of the 24-hour dynamic blood pressure data for the whole day.
[0029] Circadian rhythm: Classification of blood pressure fluctuations during the day and night, generally divided into dipper, non-dipper, super-dipper, and anti-dipper. Constant values can be set according to the type of circadian blood pressure.
[0030] Last blood pressure: The patient's most recent blood pressure measurement before the current time point.
[0031] Last predicted blood pressure value: The last predicted blood pressure value estimated by this method.
[0032] Current blood pressure predicted value: The current blood pressure predicted value estimated by this method.
[0033] Current actual blood pressure value: In order to compare the effect of this method, the patient's blood pressure is measured immediately on site to obtain the actual value of the current blood pressure.
[0034] Time series (D30): A time series established by taking the current time as the end point and going back 30 days.
[0035] Time series (RD30): In the last three months, a day is randomly selected as the end point, and a time series is established by counting back 30 days.
[0036] Sequence blood pressure average: the average high and low pressure values of all single blood pressure data in the time series.
[0037] like Figure 1 As shown, the present invention provides a blood pressure calibration method based on time series, the method is as follows:
[0038]
S001
[0039] The blood pressure history data collected here is the most recent single blood pressure data and dynamic blood pressure data. The single blood pressure is the patient's single clinic blood pressure data and single home blood pressure data. Generally, patients measure their home blood pressure 1 to 3 times a day.
[0040] Dynamic blood pressure: The patient's 24-hour dynamic blood pressure data. It is measured every half an hour during the day (06:00-22:00) and every hour at night (22:00-06:00 the next day). Generally, it starts around 09:00. In one dynamic blood pressure cycle, there will be about 40 blood pressure data.
[0041] [S002] Count and clean the collected single blood pressure data and dynamic blood pressure data respectively. That is, pre-process the collected historical data.
[0042] When counting blood pressure data of the population, the selected population must have at least one complete dynamic blood pressure and no less than 10 single blood pressures within a time series.
[0043] The specific statistical and cleaning methods for single blood pressure data are:
[0044] One day is randomly selected from all the collected historical blood pressure data of patients and recorded as the last time node Ty; with Ty as the time node, the blood pressure data of all users within 180 days are extracted forward; the test users, abnormal users and their data are deleted, and the existing abnormal blood pressure data is deleted; the number of measurements N of the patient users is counted, and the users and their data with N < 3 times, or N > 1000 times are deleted, preferably the number of measurements N of the patient users is counted, and the single blood pressure patient users with N < 10 times of measurement in a time series are deleted.
[0045] The specific statistical and cleaning methods for dynamic blood pressure data are:
[0046] Extract all dynamic blood pressure reports in the system, count the number of dynamic reports M of users, and delete users with M>6 times and their dynamic blood pressure data; delete invalid reports with less than 10 data items in the dynamic blood pressure report; delete customized reports.
[0047] [S003] Construct a long time series model based on single blood pressure data and a short time series model based on 24-hour dynamic blood pressure data. The short time series model is used to make corresponding blood pressure corrections to the single blood pressure data in the long time series model.
[0048] [S004] A blood pressure estimation model is formed after several trainings on the collected blood pressure data of the patients.
[0049] A training sample data set is constructed for the cleaned existing blood pressure data to form a time series of blood pressure data for several consecutive days; the established time series is used as the input of the recurrent neural network for deep learning to obtain the patient's temporal behavior characteristics and blood pressure estimation values; through the set sliding window method, the constructed blood pressure estimation model is obtained after several training sample data sets are trained, such as Figure 5 shown.
[0050] [S005] Input the blood pressure data collected from the patient in the recent period into the blood pressure estimation model to obtain the patient's current blood pressure estimate.
[0051] The blood pressure prediction model includes a long-term model and a short-term model, which is constructed by training historical blood pressure data through a recursive neural network. The blood pressure calibration conditions set when building the model include: the range of change of a single blood pressure, the range of change of the difference between adjacent blood pressures, and the amplitude of circadian rhythm fluctuations.
[0052] (1) Range of single blood pressure changes:
[0053] Since the distribution of single blood pressure is relatively random, simple algebraic calculations cannot accurately predict the current blood pressure value.
[0054] The present invention counts the blood pressure frequency of the current sequence, such as Figure 2 As shown, since the patient's blood pressure is statistically more consistent with the normal distribution, the present invention determines the general range of the patient's single blood pressure, that is, the mean value of the serial blood pressure ±3 times the standard deviation.
[0055] In actual engineering, the data can be processed according to the mean value of the serial blood pressure ±2 times the standard deviation, that is, the accuracy of the predicted value can be improved by reducing the coverage rate.
[0056] (2) Range of blood pressure difference between adjacent blood pressures (mmHg)
[0057] Although the distribution of blood pressure is relatively discrete, the two adjacent blood pressure values are continuous to a certain extent. The present invention uses the difference between two adjacent blood pressure values as a statistical item and performs frequency analysis on it. It can be seen that it conforms to the normal distribution law, and the average value of the fluctuation amplitude is near 0, such as Figure 3 shown.
[0058] Therefore, the present invention further limits the range of the predicted blood pressure value, that is, the range of the predicted blood pressure value is the last blood pressure + the average value of the fluctuation amplitude ± 3 times the standard deviation.
[0059] In actual engineering, the present invention can be processed according to the last blood pressure + the average value of the fluctuation amplitude ± 2 times the standard deviation.
[0060] (3) Circadian rhythm fluctuation range (%)
[0061] Since human blood pressure fluctuates and has a certain rhythm, it is generally a dipper type blood pressure that is high in the morning and low in the evening. In addition, there is also a reverse dipper type that is low in the morning and high in the evening, a non-dipper type with no obvious changes, and a super dipper type with larger fluctuations.
[0062] like Figure 4 As shown, by analyzing the patient's 24-hour dynamic blood pressure data, the patient's dynamic blood pressure average value, circadian rhythm and blood pressure fluctuation are obtained.
[0063] Taking 6 o'clock as an example, the present invention uses the average blood pressure of 5 to 7 o'clock as the smoothed average blood pressure of 6 o'clock. The fluctuation range of 6 o'clock is calculated as (smoothed average of 6 o'clock - average value of dynamic blood pressure throughout the day) / average value of dynamic blood pressure throughout the day * 100%.
[0064] When patient data are unclear, the average amplitude of all patients with the same dipper type in the system can be used as a surrogate value.
[0065] The blood pressure values at 6 points after circadian rhythm correction are predicted as: Serial blood pressure average + Serial blood pressure average * {(6-point smoothed average - dynamic blood pressure all-day average) / dynamic blood pressure all-day average * 100%} ± constant. The constant value here is used as a correction value and can be taken according to the circadian blood pressure type.
[0066] In summary, the present invention defines the possible range of the patient's blood pressure through the above statistical method, and makes corrections through dynamic blood pressure data to obtain a blood pressure prediction value.
[0067] By introducing the TensorFlow deep learning model, the present invention can use the blood pressure range data obtained by the above statistical method as an intermediate parameter and use it together with the originally collected blood pressure data as training data for the model.
[0068] The present invention uses TensorFlow to build a time series deep learning model, that is, to build a blood pressure estimation model.
[0069] Since blood pressure fluctuates, the longer the collection period (mainly home blood pressure and clinic blood pressure), the more you can feel the volatility of blood pressure. In addition, real blood pressure is continuous, not discrete. The denser the collection period (mainly dynamic blood pressure), the more you can feel the continuity of blood pressure. Therefore, a long time series model based on single blood pressure data with days as the unit can be constructed to predict the patient's current blood pressure. And construct a short time series model based on 24-hour dynamic blood pressure data with hours as the unit to correct the estimated value of the long time series model, so as to obtain a more accurate estimated value. The details are as follows, such as Figure 6 As shown:
[0070] A. Predicting future blood pressure based on the user's historical data. The present invention constructs the original data in chronological order to form a time series. Considering the construction of each training sample (x, y), the first step is to construct feature x. The feature construction includes two levels of feature data:
[0071] ·Constructing portrait attribute features: Through the user's registration information and blood pressure measurement, extract user portrait information including the user's gender, age, blood pressure measurement value (basic data and statistical data in the last six months, the last month, the last week, etc.).
[0072] Time series features: The present invention constructs a training data set by means of a sliding window, as follows Figure 6 As shown, of course, the cleaned data is no longer included in the training samples.
[0073] B. Assuming that the current day is T, the previous N days can be combined into a time series {F T-N ,F T-N+1 ,…,F T-1}.
[0074] C. Use the time series as the input of the recurrent neural network to obtain the user's temporal behavior characteristics, where the input data F for each day T-i Including whether it is a working day; blood pressure measurement records in the current 24 time intervals, etc.
[0075] D. The construction of label y in the training set is relatively simple. If the problem is converted into linear regression processing, the label data of this record is the current blood pressure.
[0076] E. Input the sequence data into the recursive network to extract the time series feature vector, and use the LSTM network as the recursive network module.
[0077] The present invention uses a sliding window method to set multiple different time series, and continuously adjusts the estimation algorithm or model to make the deviation between the estimated value Ni and the actual value N smaller and smaller until convergence. At this time, the estimated value Ni can be equivalent to the actual value N.
[0078] Anything not described in the present invention is applicable to the prior art.
[0079] Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. However, the obvious changes or modifications derived therefrom are still within the scope of protection of the present invention.
Claims
1. A blood pressure calibration method based on time series, characterized in that: Collect the patient's existing single blood pressure data and dynamic blood pressure data; perform statistics and clean the collected single blood pressure data and dynamic blood pressure data respectively; construct a long time series model based on the single blood pressure data and a short time series model based on the 24-hour dynamic blood pressure data, and the short time series model is used to make corresponding blood pressure corrections to the single blood pressure data in the long time series model; form a blood pressure estimation model after training the collected patient's existing blood pressure data for several times; input the patient's blood pressure data collected in the recent period into the blood pressure estimation model to obtain the patient's current blood pressure estimation value; The long time series model and the short time series model are constructed by training the existing blood pressure data through recursive neural network, and the blood pressure calibration conditions set when constructing the model include: the range of change of single blood pressure: the mean value of serial blood pressure ± 3 times the standard deviation; the range of change of the difference between adjacent blood pressures: the fluctuation amplitude mean value ± 3 times the standard deviation; the circadian rhythm fluctuation amplitude: (smoothed average value at the set time point - the average value of dynamic blood pressure throughout the day) / the average value of dynamic blood pressure throughout the day × 100%.
2. The time series-based blood pressure calibration method according to claim 1, characterized in that: A blood pressure estimation model is formed after training the collected blood pressure data of the patients for several times. The specific method is: construct a training sample data set for the cleaned existing blood pressure data to form a time series of blood pressure data for several consecutive days; use the established time series as the input of the recursive neural network for deep learning to obtain the patient's temporal behavior characteristics and blood pressure estimation value; through the set sliding window method, the constructed blood pressure estimation model is obtained after training the training sample data set for several times.
3. The time series-based blood pressure calibration method according to claim 1, characterized in that: The variation range of the single blood pressure is: the mean value of the serial blood pressure ± 2 times the standard deviation; the variation range of the difference between adjacent blood pressures is: the mean value of the fluctuation amplitude ± 2 times the standard deviation.
4. The time series-based blood pressure calibration method according to claim 1, characterized in that: The specific statistical and cleaning methods for single blood pressure data are: Randomly select one day from all the collected historical blood pressure data of patients and record it as the last time node Ty; take Ty as the time node, extract the blood pressure data of all users within 180 days forward; delete test users, abnormal users and their data, and delete the existing abnormal blood pressure data; count the number of measurements N of patient users, and delete users and their data with N < 3 times, or N > 1000 times.
5. The time series-based blood pressure calibration method according to claim 4, characterized in that: The number of measurements N of the patient users is counted, and the blood pressure patient users whose number of measurements N is less than 10 times in a time series are deleted.
6. The time series-based blood pressure calibration method according to any one of claims 1 to 5, characterized in that: The specific statistical and cleaning methods of dynamic blood pressure data are: Extract all dynamic blood pressure reports in the system, count the number of dynamic reports M of patient users, and delete patient users and their dynamic blood pressure data with M>6 times; delete invalid reports with less than 10 data items in the dynamic blood pressure report; delete customized reports.
Citation Information
Patent Citations
Method for constructing prediction model on basis of circular neural network
CN106777874A
Blood pressure detection system based on deep learning
CN111317458A
Blood pressure calculating device and electronic device
CN111374652A
Multivariable time series data prediction model based on double-window mechanism
CN113392137A
Abnormal detection model training method and device, equipment and storage medium
CN115130656A
