Heart rate state auxiliary detection system based on consumer-grade equipment, heart state monitoring system, method, storage medium and terminal
By realizing continuous collection, smoothing processing and correlation analysis of heart rate data on consumer-grade devices, the problem of the inability of existing heart rate detection devices to intuitively and accurately provide heart rate status information is solved, providing convenient and accurate heart rate monitoring and analysis. Function.
Patent Information
- Application Number
- CN202111548078.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-16
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-12-16
AI Technical Summary
Existing consumer-grade heart rate detection devices cannot provide heart rate status information intuitively and accurately, requiring professionals to interpret electrocardiogram data, and long-term monitoring data analysis must be performed in hospitals, limiting the convenience and accuracy for ordinary users.
A heart rate status auxiliary detection system based on consumer-grade equipment is designed, including a heart rate data collection module, smoothing processing, correlation analysis and distribution analysis modules. By continuously collecting heart rate data, smoothing processing, selecting relevant sequence data, and using Peel Sen correlation coefficient and distribution analysis model, output heart rate analysis results, simplify data analysis, and improve user understanding and accuracy.
It enables convenient and accurate understanding of heart rate status on consumer-grade devices, reduces dependence on professional knowledge, allows users to monitor heart rate status intuitively, and provides detailed analysis results through distribution analysis models.
Smart Images

Figure CN114271804B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data processing, and in particular to a heart rate status auxiliary detection system based on consumer-grade devices, a heart status monitoring system, method, storage medium and terminal. Background Art
[0002] Vital signs include four medical signs, namely body temperature, blood pressure, heart rate and respiratory rate, which indicate the state of the body's life-maintaining functions. Monitoring heart-related signs can be used to diagnose heart status. Heart-related signs include heart sounds, heart rate (pulse) and blood pressure, as well as electrocardiogram signals. These signs are related to each other and can be measured by a variety of devices; however. The indicators of vital signs are affected by age, gender, race, health status, emotional state and activity status. But in a healthy body, they are all maintained within a normal range.
[0003] Heart rate can be measured using a variety of sensing technologies, including acoustic sensors, electrical sensors, optical sensors, cameras, and radar. The measurement methods using these sensors are: mechanical pulse sensing (MPS), acoustic cardiography (ACG), electrocardiography (ECG), photoplethysmography (PPG), image photoplethysmography (IPPG), and various radio signals or microwave processing methods (RMM).
[0004] Among them, calculating the heart rate value based on the electrical signal captured by the ECG is a method that is now widely used. Multi-lead ECG, which uses multiple electrodes placed at different locations on the body to record cardiac electrical signals, is widely used in clinical monitoring. The current application scenarios involving ECG have the following characteristics: 1) ECG measurements need to be performed under the guidance of medically trained experts; 2) High-resolution (signal sampling over 128Hz) and high-precision ECG data require professionals to interpret based on knowledge and experience; 3) Long-term measurements, such as ECG Holter (a portable device for 24-48 hours of heart monitoring), are only allowed to analyze data in the hospital after wearing.
[0005] For consumers, since they do not have the professional knowledge and experience to interpret ECG data, the consumer-grade heart rate monitoring devices on the market can detect the heart rate, but they cannot intuitively understand their own heart rate status, making the whole process more cumbersome. Summary of the invention
[0006] In order to help users understand the heart rate status more intuitively, the present application provides a heart rate status auxiliary detection system, method and terminal based on consumer-grade devices.
[0007] In the first aspect, the present application provides a heart rate state auxiliary detection system based on consumer-grade devices using the following technical solutions:
[0008] A heart rate state auxiliary detection system based on consumer-grade equipment, comprising:
[0009] A heart rate data collection module is used to collect continuous heart rate data of the subject to be tested; the continuous heart rate data is characterized as heart rate data collected according to a preset sampling frequency;
[0010] Heart rate data analysis module, including:
[0011] A heart rate rounding and smoothing unit, used for smoothing each heart rate data according to a preset smoothing function and rounding the smoothed data to form pre-processed data;
[0012] A selection unit, selecting data from the pre-processed data to form at least two heart rate sequence data; each of the heart rate sequence data includes at least two pre-processed data selected according to a preset sampling period;
[0013] A correlation analysis unit selects two heart rate sequence data in sequence and calculates the correlation between the two to form a correlation coefficient sequence;
[0014] a distribution analysis unit, which performs distribution analysis on the preprocessed data or the correlation coefficient sequence through a preset distribution analysis model to form a heart rate analysis result; and
[0015] The heart rate status output module is used to output the heart rate analysis results.
[0016] By adopting the above technical scheme, the heart rate data is continuously collected, which facilitates the subsequent data smoothing and selection, avoids the loss of data caused by intermittent collection, affects the subsequent analysis process, and cannot obtain accurate analysis results; in the selection process, the present application selects at least two heart rate sequence data, and the selected data is interval data. The existing heart rate analysis is to analyze a single data in a certain interval data in sequence. The present application selects the corresponding interval data to avoid the interference caused by the abnormality of a single data as much as possible, which greatly improves the accuracy of data analysis; the accuracy of the correlation is guaranteed from the data selection step, by selecting two interval data for correlation analysis, that is, after multiple interval data are processed, a correlation coefficient sequence is obtained, that is, the correlation relationship obtained after processing multiple interval data, further ensuring the accuracy in the subsequent distribution analysis process, and finally outputting the heart rate analysis results; so that consumers can intuitively and accurately understand the current heart rate situation, which is more convenient and accurate.
[0017] Preferably, during the data selection process, the selection unit selects data in sequence from the preprocessed data according to the sampling time axis to form at least two heart rate series data; the sampling times corresponding to two adjacent heart rate series data are respectively defined as the first time series and the second time series; the second time series lags behind the first time series on the time axis.
[0018] Preferably, the first time series and the second time series overlap with each other.
[0019] Preferably, the first time series does not overlap with the second time series.
[0020] Preferably, the first time series and the second time series do not overlap each other and there is a third time series between the two, and the third time series is characterized by sampling time when no sampling is performed.
[0021] By adopting the above technical solution, different data can be selected according to actual conditions during the process of selecting heart rate sequence data.
[0022] When the first time series and the second time series overlap, the correlation between the two adjacent heart rate series data can be improved, and data loss and the like can also be avoided. In this case, the first time series and the second time series overlap, and since there are overlapping data between the two, the correlation between the two will be higher during the correlation analysis, and the risk of error caused by missing data can also be greatly reduced.
[0023] When the first time series and the second time series do not overlap, all data can be detected, which ensures the integrity of the overall data and improves the efficiency of overall data processing. Because there is no overlapping data, the number of sequences can be reduced as much as possible during the data selection process, thereby improving data processing efficiency.
[0024] There is also a third time series between the first time series and the second time series, and the third time series is the sampling time without sampling, so it is possible to implement data analysis between different time periods, which is convenient for subsequent targeted analysis. It is only necessary to select the data of the desired sampling time, thereby improving the operability of the overall data processing.
[0025] Preferably, during the smoothing and rounding process, the heart rate rounding and smoothing unit uses the following specific processing formula:
[0026]
[0027] Among them, RSHR T,L is the preprocessed data at time T, T is the sampling time point in the corresponding sampling period, and L is the length of the smoothing window; HR iis the i-th preprocessed data, symbol Indicates rounding to the nearest integer.
[0028] By adopting the above technical solution, because it is necessary to form data suitable for subsequent correlation analysis, the data needs to be preprocessed before the correlation analysis, and some preprocessing processes are performed by deleting some unsuitable data; however, the solution of the present application has high requirements on the integrity of the data, because all data in the entire time interval need to be processed as analysis samples; therefore, the data is rounded and smoothed, which ensures the integrity of the data while also facilitating the subsequent correlation analysis of the collected data; ensuring the stability of the implementation of the entire method.
[0029] Preferably, the specific formula for the correlation analysis unit to perform correlation analysis on the two selected heart rate sequence data is as follows:
[0030] W TLM ={RSHR T,L …RSHR T+M-1,L};
[0031] W TLD ={RSHR T+D,L …RSHR T+D+M-1,L};
[0032] MCW TLM,D =corr({W TLM , W TLD});
[0033]
[0034] Among them, W TLM and W TLD For two selected heart rate series data; RSHR T,L is the preprocessed data at time T; RSHR T+M-1,L is the preprocessed data at time T+M-1; RSHR T+D+M-1,L is the preprocessed data at time T+D; is the preprocessed data at time T+D+M-1; M is the length of the sampled time series; D is the interval length between two time series corresponding to two adjacent heart rate series data; MCW TLM,D is the Pearson correlation coefficient between two heart rate series data; MC LMD is the correlation coefficient sequence within N seconds; N is the corresponding last sampling time point in the time series.
[0035] By adopting the above technical solution, the Pearson correlation coefficient analysis is used in the correlation analysis process, which can measure whether two data sets are on the same line, and then measure the linear relationship between the interval variables, thereby improving the accuracy of the overall correlation analysis.
[0036] Preferably, the distribution analysis model preset by the distribution analysis unit during the analysis process includes one or more of a recursive scatter model, a moving correlation model, a percentile model, and a CoV model.
[0037] By adopting the above technical solution, different distribution analysis models can be selected according to actual needs to adapt to different application scenarios, so that the data that completes the correlation analysis can form more different result presentations.
[0038] In the second aspect, the present application provides a cardiac status monitoring system based on consumer-grade devices using the following technical solutions:
[0039] A cardiac status monitoring system based on consumer-grade devices, comprising:
[0040] A trigger acquisition module is used to obtain trigger information;
[0041] A monitoring module, used to obtain and output heart rate analysis results through a heart rate status auxiliary detection system based on consumer-grade devices; and
[0042] The processing module starts the monitoring module according to the trigger information.
[0043] Preferably, the trigger information includes short-term trigger information, the monitoring module includes a short-term monitoring module, and the processing module starts the short-term monitoring module according to the short-term trigger information;
[0044] The short-term monitoring module includes:
[0045] A short-term heart rate data collection module collects short-term continuous heart rate data of the subject to be detected within a preset short time period; the short-term continuous heart rate data is characterized as the heart rate data collected according to the preset sampling frequency; and
[0046] The first heart rate monitoring and analysis module analyzes short-term continuous heart rate data through a heart rate state auxiliary detection system based on consumer-grade equipment to obtain and output a first heart rate analysis result.
[0047] Preferably, the trigger information includes long-term trigger information, the monitoring module includes a long-term monitoring module, and the processing module starts the long-term monitoring module according to the long-term trigger information;
[0048] The long-term monitoring module comprises:
[0049] A long-term heart rate data acquisition module is used to acquire long-term continuous heart rate data of the subject to be detected within a preset long-term period; the long-term continuous heart rate data is characterized as the heart rate data acquired according to the preset sampling frequency;
[0050] The second heart rate monitoring and analysis module processes and analyzes the long-term continuous heart rate data through a heart rate state auxiliary detection system based on consumer-grade devices to obtain long-term heart rate analysis data;
[0051] A model comparison module compares and analyzes the long-term heart rate analysis data through a preset historical data model to form a heart state analysis result; and
[0052] Heart status display module, used to display the heart status analysis results
[0053] By adopting the above-mentioned technical solution, real-time monitoring can be carried out for a certain short-term period of time. After real-time collection of heart rate data in a short period of time, relevant analysis is performed and corresponding analysis results are output, thereby forming a real-time analysis result of the heart rate data in the current short-term period of time; through the long-term monitoring module, the consumer's heart state for a longer period of time and the historical heart rate analysis results in the historical database can be analyzed, and then the heart state analysis results can be obtained and presented to the consumer.
[0054] In a third aspect, the present application provides a heart rate state auxiliary detection method based on consumer-grade devices using the following technical solutions:
[0055] A heart rate state auxiliary detection method based on consumer-grade equipment, comprising:
[0056] Collecting continuous heart rate data of the person to be tested; the continuous heart rate data is characterized by the heart rate data collected according to a preset sampling frequency;
[0057] Smoothing each heart rate data according to a preset smoothing function and rounding the smoothed data to form preprocessed data;
[0058] Selecting data from the preprocessed data to form at least two heart rate sequence data; each of the heart rate sequence data includes at least two preprocessed data selected according to a preset sampling period;
[0059] Select two heart rate series data in sequence and calculate the correlation between the two to form a correlation coefficient sequence;
[0060] Performing distribution analysis on the preprocessed data or the correlation coefficient sequence through a preset distribution analysis model to form a heart rate analysis result;
[0061] Output the heart rate analysis results.
[0062] By adopting the above technical scheme, the heart rate data is continuously collected, which facilitates the subsequent data smoothing and selection, avoids the loss of data caused by intermittent collection, affects the subsequent analysis process, and cannot obtain accurate analysis results; in the selection process, the present application selects at least two heart rate sequence data, and the selected data is interval data. The existing heart rate analysis is to analyze a single data in a certain interval data in sequence. The present application selects the corresponding interval data to avoid the interference caused by the abnormality of a single data as much as possible, which greatly improves the accuracy of data analysis; the accuracy of the correlation is guaranteed from the data selection step, by selecting two interval data for correlation analysis, that is, after multiple interval data are processed, a correlation coefficient sequence is obtained, that is, the correlation relationship obtained after processing multiple interval data, further ensuring the accuracy in the subsequent distribution analysis process, and finally outputting the heart rate analysis results; so that consumers can intuitively and accurately understand the current heart rate situation, which is more convenient and accurate.
[0063] In a fourth aspect, the present application provides a method for monitoring cardiac status based on a consumer-grade device using the following technical solution:
[0064] A cardiac state monitoring method based on a consumer-grade device, comprising:
[0065] Get trigger information;
[0066] According to the trigger information, the heart rate status auxiliary detection system based on consumer-grade equipment is used to obtain the heart rate analysis results and display them.
[0067] By adopting the above technical solution, it is possible to monitor a certain time period, collect the heart rate data in real time, and perform relevant analysis to output corresponding analysis results, thereby forming an analysis result of the heart rate data situation or an analysis result of the heart state.
[0068] In a fifth aspect, the present application provides a computer-readable storage medium capable of storing corresponding programs, so that users can more intuitively understand the heart rate status. The following technical solutions are adopted:
[0069] A computer-readable storage medium stores a program that can be loaded and executed by a processor to implement the above-mentioned heart rate state auxiliary detection method based on consumer-grade devices, or stores a program that can be loaded and executed by a processor to implement the above-mentioned heart state monitoring method based on consumer-grade devices.
[0070] In a sixth aspect, the present application provides a smart terminal adopting the following technical solution:
[0071] A smart terminal includes a memory, a processor, and a program stored in the memory and executable on the processor, wherein the program can be loaded and executed by the processor to implement the above-mentioned heart rate state auxiliary detection method based on consumer-grade devices or stores a program that can be loaded and executed by the processor to implement the above-mentioned heart state monitoring method based on consumer-grade devices.
[0072] In summary, the present application has the following beneficial technical effects: while ensuring the accuracy of data analysis, it is possible to analyze different data and present the analysis results to consumers, so that consumers can understand their own heart rate status. BRIEF DESCRIPTION OF THE DRAWINGS
[0073] Figure 1 This is a system structure block diagram of a heart rate status auxiliary detection system based on consumer-grade devices in one embodiment of the present application.
[0074] Figure 2 It is a diagram of an analysis using a recursive scatter model according to one embodiment of the present application.
[0075] Figure 3 It is a schematic diagram of using a mobile correlation model for analysis according to one embodiment of the present application.
[0076] Figure 4 It is a schematic diagram of an embodiment of the present application using a percentile model for analysis.
[0077] Figure 5 This is a schematic diagram of an embodiment of the present application using the CoV model for analysis Figure 1 .
[0078] Figure 6 This is a schematic diagram of an embodiment of the present application using the CoV model for analysis. Figure 2 .
[0079] Figure 7 This is a system structure block diagram of a cardiac status monitoring system based on consumer-grade devices according to one embodiment of the present application.
[0080] Figure 8 This is a visualization example diagram of a classification and regression decision tree model according to one embodiment of the present application.
[0081] Fig. 9 It is a flowchart of a heart rate status auxiliary detection method based on consumer-grade equipment according to one embodiment of the present application.
[0082] Fig.10 It is a flowchart of a cardiac status monitoring method based on a consumer-grade device according to one embodiment of the present application.
[0083] Fig.11It is a flowchart of a method for implementing short-term monitoring in a short-term monitoring module according to one embodiment of the present application.
[0084] Fig.12 It is a flowchart of a method for implementing long-term monitoring in a long-term monitoring module according to one embodiment of the present application. DETAILED DESCRIPTION
[0085] The present application is further described in detail below in conjunction with the accompanying drawings.
[0086] This specific embodiment is merely an explanation of the present application and is not a limitation of the present application. After reading this specification, those skilled in the art may make modifications to the present embodiment without any creative contribution as needed. However, as long as it is within the scope of the claims of the present application, it shall be protected by the patent law.
[0087] The embodiment of the present application provides a heart rate state auxiliary detection system based on consumer-grade devices. The solution of the present application is designed based on consumer-grade devices, such as Figure 1 As shown, it specifically includes a heart rate data acquisition module, a heart rate data analysis module, a heart rate status output module, a communication module and a data storage module; the continuous heart rate is collected through the heart rate data acquisition module; the continuous heart rate data is input into the heart rate data analysis module for processing and analysis, and then the heart rate analysis result is obtained, and then output through the heart rate status output module; data is transmitted between each module through the communication module.
[0088] The communication module transmits data between modules, including but not limited to Bluetooth, Wi-Fi, Zigbee, ANT+ and wired connection can be used for data transmission.
[0089] The data storage module stores relevant data, including but not limited to a large number of heart rate patterns under different medical conditions, different age conditions, and different activity conditions. For example, different activity conditions include lying down or exercising, and different age conditions include 20 years old, 30 years old, or age ranges, etc. During the analysis process by the heart rate data analysis module, the relevant data stored in the data storage module can be called. Among them, the data storage module can be implemented by any storage technology. In one possible embodiment, the data storage module can be a personal data database on the user's local terminal. In another possible embodiment, the data storage module can be a cloud database.
[0090] The heart rate data acquisition module includes a sensor; wherein the sensor can collect and record heart signals using any technology that can measure continuous heart rate for a period of time (for example, more than 5 minutes), such as electrocardiogram (ECG), photoplethysmography (PPG), camera-based remote heart rate measurement, pressure-based measurement, wireless or radar-based measurement, or other sensing technology. Depending on the different measurement technologies, the sensor can be in contact with the skin or non-contact; the sensor in this system can be a combination of one or more technologies that can obtain high-precision heart signals. In one possible embodiment, both electrocardiogram (ECG) and photoplethysmography (PPG) can be used in the data acquisition module to capture ECG signals and optical heart signals at the same time; the signal subsequently input to the heart rate data analysis module can be one of the signals with accurate measurement, or a fused signal that is more accurate than a single signal.
[0091] The heart rate data analysis module receives the signal from the sensor and processes the signal into heart rate sequence data. The heart rate sequence data corresponds to a time series, which can be constructed using a predefined frequency (such as 0.5Hz, 1Hz or 2Hz or other suitable frequencies); the heart rate sequence data is then analyzed and processed to obtain specific heart rate analysis results. The heart rate data analysis module can run on any computing device (mobile phone, smart health device, Internet of Things or other). The heart rate data analysis module can be deployed on the same device as the heart rate data acquisition module, or on different devices.
[0092] In a possible embodiment, the heart rate data can be obtained by a heart rate data acquisition module deployed on a terminal such as a smart bracelet, a computer, or a smart phone, and the data can be analyzed by a heart rate data analysis module deployed on the same terminal.
[0093] In another possible embodiment, the heart rate data can be obtained through a heart rate data acquisition module (such as a camera) built into the computer, the heart rate data can be transmitted to a smart phone via Wi-Fi or other data transmission methods, and the data can be analyzed by a heart rate data analysis module deployed on the mobile phone; in this embodiment, collecting data by a computer and analyzing data by a smart phone are merely illustrative, and the smart phone can also collect data and the computer can analyze data; other terminal devices capable of data collection or data analysis can also be used.
[0094] The heart rate status output module includes a display module, through which the analysis results can be displayed to the user in a more intuitive and understandable form. The displayed content includes but is not limited to any data in this application, any data diagram, and a summary of the analysis results. Among them, the heart rate status output module can be installed in any electronic device, such as a smart bracelet, a smart watch, a mobile phone, a computer, and an Internet of Things device.
[0095] All modules in the system can be located on the same device or on different devices through any communication technology. This embodiment can collect data through a heart rate chest strap and send the heart rate data to a smartphone through low-power Bluetooth. Heart rate data analysis and heart rate status output are performed on the smartphone; the smartphone can communicate with the cloud through the Internet.
[0096] For ease of understanding, the following specifically introduces a heart rate state auxiliary detection system based on consumer-grade devices provided by the embodiment of the present application in combination with specific implementation methods and scenarios. The details are as follows:
[0097] Among them, the heart rate data acquisition module is used to collect continuous heart rate data of the person to be tested; continuous heart rate data is characterized as heart rate data collected according to a preset sampling frequency; the preset sampling frequency can be set according to actual conditions, and in this embodiment, a 1Hz frequency is used as an example for exemplary explanation, that is, the corresponding heart rate value is obtained every second, and the heart rate value in the required period is sampled at a frequency of 1Hz, thereby forming continuous heart rate data; the required period can be a time period, or it can be sampling from the start of the test, which is specifically set according to actual conditions. By continuously collecting heart rate data, subsequent data smoothing and selection are facilitated, avoiding the loss of data caused by intermittent collection, affecting the subsequent analysis process, and failing to obtain accurate analysis results.
[0098] Among them, the heart rate data analysis module includes a heart rate rounding and smoothing unit, a selection unit, a correlation analysis unit and a distribution analysis unit; the continuous heart rate data collected by the heart rate data collection module is input into the heart rate rounding and smoothing unit, and the heart rate data contained in the continuous heart rate data is smoothed and rounded by the heart rate rounding and smoothing unit to form pre-processed data; the pre-processed data is then input into the selection unit to select the data, and after the selected data is selected, it is input into the correlation analysis unit to perform correlation analysis of the selected data to obtain a correlation coefficient sequence; finally, the pre-processed data or the correlation coefficient sequence is input into the distribution analysis unit for analysis to obtain the heart rate analysis result.
[0099] In a possible embodiment, the heart rate rounding and smoothing unit is used to smooth each heart rate data according to a preset smoothing function and round the smoothed data to form preprocessed data. Through data rounding and smoothing, the integrity of the data is ensured while also facilitating subsequent correlation analysis of the collected data; thus ensuring the stability of the entire method.
[0100] Specifically, in the smoothing and rounding process of the heart rate rounding and smoothing unit, an exemplary related formula is as follows:
[0101]
[0102] Among them, RSHR T,L is the preprocessed data at time T, T is the sampling time point in the corresponding sampling period, and L is the length of the smoothing window; HR i is the heart rate data of the ith Indicates rounding to the nearest integer.
[0103] The process of smoothing and rounding is a preprocessing process for heart rate data. For ease of understanding, the following is an exemplary explanation: During the smoothing process, the length of the smoothing window can range from 30 seconds to 500 seconds, and of course it can also be other length ranges, set according to actual conditions, and the range here is only an exemplary explanation; after selecting the length of the smoothing window, the average value in the moving window is calculated according to the required sampling time point. For example, if the sampling time point is a, the average value of the heart rate in the moving window corresponding to a is calculated. During the rounding process, the heart rate value can be rounded to an integer value (in units of heart beats per minute).
[0104] The smoothing function calculates the average of the heart rate in a moving window of fixed size and rounds the average value. Small fluctuations in heart rate changes will be smoothed, while the trend of heart rate changes and drastic changes, such as arrhythmia time, still exist. The change in human activity state may cause changes in heart rate trends, so the smoothing function must be carefully designed to ensure that changes caused by activities are not mistaken for arrhythmia. For example, when a person changes from a sitting state to a standing state, the heart rate may suddenly change. The sudden change process may be several heart rate values. Through the design of the smoothing function, the sudden change factor is averaged into the data of the entire window, reducing the impact of these sudden changes; further reducing the impact of changes in heart rate trends caused by changes in human activity states.
[0105] In a possible embodiment, the selection unit selects data from the preprocessed data to form at least two heart rate sequence data; each heart rate sequence data includes at least two preprocessed data selected according to a preset sampling period. By selecting the corresponding interval data, the risk of interference caused by abnormal single data is reduced as much as possible, and the accuracy of data analysis is greatly improved; the accuracy of the correlation is guaranteed from the step of data selection, and the correlation analysis is performed by selecting two interval data.
[0106] During the data selection process, the selection unit selects data in the preprocessed data in sequence according to the sampling time axis to form at least two heart rate sequence data; the sampling time axis is the time flow during the sampling process, for example, the sampling time period is 100 seconds, and the corresponding heart rate sequence data is selected along the sampling time flow, and the heart rate values of 1-10 seconds, 2-11 seconds, 3-12 seconds, ..., 91-100 seconds can be selected as the heart rate sequence data; and during the sampling process, the heart rate values in the window range of several seconds to several seconds are specifically used as the heart rate sequence data, which can be set according to actual conditions.
[0107] For ease of understanding, the sampling times corresponding to two adjacent heart rate series data are defined as a first time series and a second time series respectively; the second time series lags behind the first time series on the time axis.
[0108] In the process of selecting data in sequence according to the sampling time axis in the preprocessed data to form at least two heart rate sequence data, the corresponding heart rate sequence data is selected specifically according to the window size of the required heart rate sequence data and the selected stride size.
[0109] In a specific implementation, the first time series and the second time series overlap with each other; that is, there is an overlapping portion between the heart rate series data collected in the first time series and the heart rate series data collected in the second time series, and the specific amount of overlap can be set according to actual conditions.
[0110] For ease of understanding, an exemplary description is given. The window size of the heart rate sequence data can be defined as 20 seconds, and the selected stride can be defined as 1 second. A window of the heart rate sequence data displays the heart rate value within 20 seconds; for example, in the selection process, the heart rate values of 1-20 seconds, 2-21 seconds, 3-22 seconds, ... can be selected as the heart rate sequence data. The above window size of the heart rate sequence data and the size of the selected stride are exemplary descriptions, and other sizes may also be used.
[0111] When the first time series and the second time series overlap, the correlation between the two adjacent heart rate series data can be improved, and data loss and the like can also be avoided. In this case, the first time series and the second time series overlap, and since there are overlapping data between the two, the correlation between the two will be higher during the correlation analysis, and the risk of error caused by missing data can also be greatly reduced.
[0112] In a specific implementation, the first time series does not overlap with the second time series, that is, there is no overlapping portion between the heart rate series data collected in the first time series and the heart rate series data collected in the second time series, and there is no other sampling time node between the first time series and the second time series.
[0113] For ease of understanding, an exemplary description is given. The window size of the heart rate sequence data can be defined as 20 seconds, and the selected stride can be defined as 20 seconds. A window of the heart rate sequence data displays the heart rate value within 20 seconds; for example, in the selection process, the heart rate values of 1-20 seconds, 21-40 seconds, 41-60 seconds, ... can be selected as the heart rate sequence data. The above window size of the heart rate sequence data and the size of the selected stride are exemplary descriptions, and other sizes may also be used.
[0114] When the first time series and the second time series do not overlap, all data can be detected, which ensures the integrity of the overall data and improves the efficiency of overall data processing. Because there is no overlapping data, the number of sequences can be reduced as much as possible during the data selection process, thereby improving data processing efficiency.
[0115] In a specific embodiment, the first time series and the second time series do not overlap with each other and there is a third time series between the two, and the third time series is characterized by the sampling time when no sampling is performed; that is, there is no overlapping part between the heart rate series data collected in the first time series and the heart rate series data collected in the second time series, and there are other sampling time nodes between the first time series and the second time series, that is, all other sampling time nodes are the third time series defined above.
[0116] For ease of understanding, an exemplary explanation is given. The window size of the heart rate sequence data can be defined as 20 seconds, the selected stride can be defined as 30 seconds, and a window of the heart rate sequence data displays the heart rate value within 20 seconds; the third time series between two adjacent heart rate sequence data can be defined as 10 seconds; for example, in the selection process, the heart rate values of 1-20 seconds, 31-50 seconds, 61-80 seconds, ... can be selected as the heart rate sequence data. The above window size of the heart rate sequence data and the size of the selected stride are all exemplary explanations, and can also be other sizes; the size of the third time series is also an exemplary explanation, and can also be other sizes.
[0117] There is also a third time series between the first time series and the second time series, and the third time series is the sampling time without sampling, so it is possible to implement data analysis between different time periods, which is convenient for subsequent targeted analysis. It is only necessary to select the data of the desired sampling time, thereby improving the operability of the overall data processing.
[0118] In a possible embodiment, the correlation analysis unit selects two heart rate sequence data in sequence and calculates the correlation between the two to form a correlation coefficient sequence.
[0119] In the process of the correlation analysis unit performing correlation analysis on the two selected heart rate sequence data, an exemplary correlation formula is as follows:
[0120] W TLM ={RSHR T,L …RSHR T+M-1,L};
[0121] W TLD ={RSHR T+D,L …RSHR T+D+M-1,L};
[0122] MCW TLM,D =corr({W TLM , W TLD});
[0123]
[0124] Among them, W TLM and W TLD For two selected heart rate series data; RSHR T,L is the preprocessed data at time T; RSHR T+M-1,L is the preprocessed data at time T+M-1; RSHR T+D,L is the pre-processed data at time T+D; RSHR T+D+M-1,L is the preprocessed data at time T+D+M-1; M is the length of the selected heart rate sequence data; D is the stride length between two time series corresponding to two adjacent heart rate sequence data; MCW TLM,D is the Pearson correlation coefficient between two heart rate series data; MC LMD is the correlation coefficient sequence within N seconds; N is the corresponding last sampling time point in the time series.
[0125] The Pearson correlation coefficient analysis is used in the correlation analysis process, which can measure whether two data sets are on the same line, and then measure the linear relationship between interval variables, thereby improving the accuracy of the overall correlation analysis.
[0126] In a possible embodiment, the distribution analysis unit performs distribution analysis on the preprocessed data or the correlation coefficient sequence through a preset distribution analysis model to form a heart rate analysis result. The distribution analysis model preset by the distribution analysis unit during the analysis process includes but is not limited to one or more of a recursive scatter model, a moving correlation model, a percentile model, and a CoV model. Different distribution analysis models can be selected according to actual needs to adapt to different application scenarios, so that the data that completes the correlation analysis can form more different results.
[0127] In a specific implementation, if the recursive scatter model is used for analysis, the input data corresponds to preprocessed data, and the analysis process of the recursive scatter model includes a data processing process and a judgment process. The recursive scatter model is used to assess heart age. Specifically, the process of analyzing the input preprocessed data using the recursive scatter model is as follows:
[0128] Regarding the data processing process, for each value in RSHR (preprocessed data), construct (RSHR n ,RSHR n+q ), during the construction of the two-dimensional coordinate graph, the corresponding values can be input into the relevant software to obtain the two-dimensional coordinate graph. The range of n is 1 to the RSHR length minus q, where q can be any value in the range of 10-120 seconds. In this embodiment, q is 60 seconds as an example. For example, for an RSHR sequence with a length of 1800, 1740 coordinate points can be generated.
[0129] Regarding the judgment process, for the same healthy subject in the same activity state, the kernel density estimation method can be used to calculate its center point as the heart rate benchmark for the current activity, and then the average distance from all points to the center point in the current activity is calculated to evaluate the heart activity of the current activity. Specifically, the relevant data patterns stored in the data storage module can be called, compared and finally an evaluation result, i.e., the heart rate analysis result, can be formed. For example, in a resting state, the average distance from all points to the center point of a 20-year-old healthy subject is 10, and the average distance from all points to the center point of a 20-year-old healthy subject is 5; a longer distance means more active heart activity and younger heart function.
[0130] For the same healthy subject in different activity states, the kernel density estimation method can be used to calculate the corresponding center point in different activity states; then the distance between the corresponding center points is calculated, and the size of the distance is used to reflect the change scale of the heart for different activities. Specifically, the relevant data mode stored in the data storage module can be called for comparison and finally an evaluation result, that is, a heart rate analysis result. For example, the center point change distance of a 20-year-old healthy subject from a resting state to a walking state is 52, and the center point change distance of a 50-year-old healthy subject from a resting state to a walking state is 15. A large change distance indicates that the heart can adapt well to different exercise states and the heart function is younger, thereby evaluating the heart age of the corresponding healthy subject.
[0131] In a specific implementation, if the mobile correlation model is used for analysis, the input data corresponds to a correlation coefficient sequence, and the analysis process of the mobile correlation model includes a data processing process and a judgment process; the mobile correlation model is used to intuitively display the heart rate changes and judge whether the heart rate is abnormal. The specific process of analyzing the input correlation coefficient sequence through the mobile correlation model is as follows:
[0132] Regarding the data processing process, for MC LMD For each value in the (correlation coefficient sequence), a correlation sequence diagram is constructed; in the process of constructing the correlation sequence diagram, the corresponding value can be input into the relevant software to obtain the corresponding correlation sequence diagram.
[0133] Regarding the judgment process, by retrieving the relevant data patterns stored in the data storage module, comparing and finally forming the evaluation results, the comparison process can be in MC LMD If some values in the (correlation coefficient sequence) exceed the preset correlation coefficient threshold, a result indicating that the heart rate is abnormal is given; otherwise, the heart rate is normal. The number of partial values can be set according to actual conditions, and the correlation coefficient threshold can also be set according to actual conditions.
[0134] The above comparison process is only an exemplary description, and other related common comparison methods can be applied as long as they can be used to analyze the heart rate and finally obtain the corresponding result, which is: the correlation coefficient sequence is relatively stable with a certain degree of fluctuation, which is the result of normal heart rate; while the correlation coefficient sequence has obvious fluctuations and the overall correlation coefficient is low, which is the result of abnormal heart rate.
[0135] In a specific implementation, if a percentile model is used for analysis, the input data corresponds to a correlation coefficient sequence, and the analysis process of the percentile model includes a data processing process and a judgment process.
[0136] Regarding the data processing process, when the specific percentile model analyzes the correlation coefficient sequence, the exemplary correlation formula is as follows:
[0137]
[0138] IPV MC = <IPV MC,0 …IPV MC,100 >
[0139] Among them, IPV MC,i is the i-th percentile value, i is an integer, and the specific range is between 0 and 100; the percentile function is used to calculate the i-th percentile value in the correlation coefficient sequence; MC LMD is the correlation coefficient sequence; IPV MC is a percentile sequence from i=0 to i=100.
[0140] When the percentile function calculates the relevant percentile value, the fifth percentile value means that 5% of the values in the sequence are less than this value, and 95% of the values are greater than this value. Therefore, when i = 0, IPV MC,0 It's MC LMD The minimum value of IPV is when i=100. MC,100 It is IPV MC The maximum value of i, and other values are calculated according to the appropriate i. During the calculation process, the selection of i value can be selected according to the actual situation, for example, 10-100 or 20-100 and so on can be selected.
[0141] Regarding the judgment process, IPV is obtained according to the relevant formula MC,i (i-th percentile value), and then IPV MC,i The heart rate is compared with the percentile threshold. If it is lower than or equal to the percentile threshold, it indicates that there is an abnormal heart rate. For example, if IPV MC,1 If the heart rate is less than or equal to 0.6 (percentile threshold), the heart rate analysis result is abnormal; otherwise, the heart rate analysis result is normal.
[0142] In a specific embodiment, if the CoV model is used for analysis, the input data corresponds to preprocessed data or a correlation coefficient sequence, and the analysis process of the CoV model includes a data processing process and a judgment process.
[0143] Corresponding to the preprocessed data:
[0144] Regarding the data processing process, when the CoV model is used to analyze the correlation coefficient sequence, the exemplary correlation formula is as follows:
[0145]
[0146]
[0147]
[0148] Among them, HRI MC is the average value of the entire correlation coefficient sequence; N is the sequence length of the required correlation coefficient sequence; the length of N can cover the data of the entire correlation coefficient sequence, or take a part of the correlation coefficient sequence, depending on the actual situation; MC LMD,i is the i-th correlation coefficient of the correlation coefficient sequence, i is any value between 0 and N and is an integer; STD MC It's MC LMD The standard deviation of MC It's MC LMD The coefficient of variation of .
[0149] Regarding the judgment process, according to the relevant formula, CoV is obtained MC (MC LMD The coefficient of variation) is calculated based on the preset first coefficient of variation threshold. MC Compared with the first coefficient of variation threshold, if it is greater than or equal to the first coefficient of variation threshold, it indicates that there is an abnormal heart rate; for example, if CoV MC If it is greater than or equal to 0.03 (the first coefficient of variation threshold), the heart rate analysis result is an abnormal heart rate; otherwise, the heart rate analysis result is a normal heart rate.
[0150] In the process of inputting the preprocessed data into the CoV model for analysis, it is possible to keep the same situation for the required comparison time length, such as comparing the analysis of related data of a certain time length, that is, the time length is 10 minutes, 60 minutes, 90 minutes, etc.
[0151] Corresponding to the correlation coefficient sequence:
[0152] Regarding the data processing process, when the CoV model is used to analyze the correlation coefficient sequence, the exemplary correlation formula is as follows:
[0153]
[0154]
[0155]
[0156] Among them, HRI IPV is the average of the entire percentile series; IPV MC,i is the i-th percentile value of the percentile sequence, i is any value between 0 and N and is an integer; STD IPV It is IPV MC The standard deviation of IPVIt is IPV MC The coefficient of variation of .
[0157] Regarding the judgment process, according to the relevant formula, CoV is obtained MC (IPV MC The coefficient of variation) is calculated based on the preset percentile sequence mean value threshold and the second coefficient of variation threshold. IPV Compared with the percentile sequence mean threshold, CoV MC Compared with the second coefficient of variation threshold, if CoV MC is greater than or equal to the second coefficient of variation threshold, and HRI IPV If the value is less than or equal to the percentile sequence mean value threshold, it indicates that the heart rate is abnormal; for example, if CoV IPV Greater than or equal to 0.05 (second coefficient of variation threshold), and HRI IPV If it is less than or equal to 0.96 (the percentile sequence average threshold), the heart rate analysis result is an abnormal heart rate; otherwise, the heart rate analysis result is a normal heart rate.
[0158] When the correlation coefficient sequence is input into the CoV model for analysis, IPV MC The heart rate features of different time lengths can be converted into 101 feature points of the same scale, making the heart rate features of different time lengths comparable.
[0159] In a possible embodiment, the heart rate state output module is used to output the heart rate analysis results. The heart rate state output module displays the heart rate analysis results to the user in an intuitive and easy-to-understand form. The displayed content includes but is not limited to continuous heart rate data, preprocessed data, correlation coefficient sequence, distribution analysis model, heart rate analysis results and all related diagrams and results; the heart rate state output module can be installed in any electronic device, such as smart bracelets, smart watches, mobile phones, computers, and Internet of Things devices, etc.
[0160] Heart rate state auxiliary detection system based on consumer-grade devices The embodiment of the present application also provides a heart state monitoring system based on consumer-grade devices; specifically comprising: a trigger acquisition module, a monitoring module and a processing module. The processing module starts the monitoring module according to the trigger information collected by the trigger acquisition module to collect and analyze the heart rate data of the consumer within a certain time period, and outputs the corresponding analysis results.
[0161] The trigger acquisition module is used to obtain trigger information. The trigger information can be obtained by mechanical button triggering or virtual button triggering. For mechanical button triggering, the trigger information can be automatically obtained after the power is turned on by pressing the power button, or by pressing the corresponding trigger button again after the power is turned on. For virtual button triggering, the trigger information can be obtained by pressing the relevant virtual trigger button in the interface of the corresponding software. The trigger acquisition module can be installed in any electronic device, such as smart bracelets, smart watches, mobile phones, computers and IoT devices.
[0162] The monitoring module is used to obtain and output the heart rate analysis results through the heart rate status auxiliary detection system based on consumer-grade devices.
[0163] The processing module starts the monitoring module according to the trigger information.
[0164] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0165] The trigger information includes short-term trigger information; the monitoring module includes a short-term monitoring module, and the processing module starts the short-term monitoring module according to the short-term trigger information.
[0166] The short-term monitoring module includes a short-term heart rate data acquisition module and a first heart rate monitoring and analysis module.
[0167] The short-term heart rate data acquisition module collects the short-term continuous heart rate data of the person to be tested within a preset short time period; the short-term continuous heart rate data is characterized by the heart rate data collected according to the preset sampling frequency; the short time period is a continuous time interval, which can be 1 minute, 3 minutes, 10 minutes, 20 minutes, 30 minutes, 60 minutes, 90 minutes, etc., and is set according to actual conditions.
[0168] The first heart rate monitoring and analysis module analyzes short-term continuous heart rate data through a heart rate state auxiliary detection system based on a consumer-grade device to obtain and output a first heart rate analysis result. The first heart rate analysis result includes all data and results collected and analyzed by the heart rate state auxiliary detection system based on a consumer-grade device.
[0169] During the process of the short-term monitoring module realizing real-time monitoring of a certain short-term period of time, after the short-term continuous heart rate data is collected, the short-term continuous heart rate data is input into the heart rate state auxiliary detection system based on consumer-grade equipment for processing, that is, the short-term continuous heart rate data is used as the continuous heart rate data required to be collected by the heart rate data collection module in the heart rate state auxiliary detection system based on consumer-grade equipment; after the real-time collection of the heart rate data in a short period of time, relevant analysis is performed and the corresponding analysis results are output, thereby forming a real-time analysis result of the heart rate data situation in the current short-term period of time, forming a first heart rate analysis result.
[0170] The trigger information includes long-term trigger information, the monitoring module includes a long-term monitoring module, and the processing module starts the long-term monitoring module according to the long-term trigger information.
[0171] The long-term monitoring module includes a long-term heart rate data acquisition module, a second heart rate monitoring and analysis module, a model comparison module and a heart status display module.
[0172] The long-term heart rate data acquisition module collects the long-term continuous heart rate data of the person to be tested within a preset long-term period; the long-term continuous heart rate data is characterized by the heart rate data collected according to the preset sampling frequency; wherein, the long-term continuous heart rate data collected by the long-term heart rate data acquisition module can be one or more, collected according to actual conditions; the above-mentioned long-term period is a continuous time interval, which can be 1 day, 3 days, 10 days, 30 days, 60 days, etc., set according to actual conditions.
[0173] The second heart rate monitoring and analysis module processes and analyzes the long-term continuous heart rate data through a heart rate state auxiliary detection system based on consumer-grade devices to obtain long-term heart rate analysis data. The long-term heart rate analysis data includes but is not limited to the data obtained by rounding and smoothing each heart rate data, the data obtained by calculating the correlation between the two selected heart rate sequence data, and the relevant data obtained after the data processing process through the preset distribution analysis model, etc., which can be pre-processed data RSHR, correlation coefficient sequence MC, percentile sequence IPV, standard deviation STD of correlation coefficient sequence MC, coefficient of variation CoV of correlation coefficient sequence MC, etc.
[0174] The model comparison module compares and analyzes the long-term heart rate analysis data with the preset historical data model to form a heart state analysis result. In the process of analyzing and comparing the long-term heart rate analysis data with the historical data model, one or more parameters in the long-term heart rate analysis data can be analyzed and compared with the corresponding model. For example: analyzing the pre-processed data RSHR alone or analyzing the HRI MC (mean value of the correlation coefficient series) and STDMC (Standard deviation of the correlation coefficient sequence MC) for analysis.
[0175] For ease of understanding, the formulas, letters, etc. involved below are unified with the formulas, letters, etc. in the heart rate state auxiliary detection system based on consumer-grade devices.
[0176] RSHR TL Indicates the trend of heart rate changes. MCL MD Reflects the degree of change in heart rate over a period of time, IPV MC 、HRI MC 、STD MC 、HRI IPV 、STD IPV ,CoV IPV , using different statistical methods to describe MCL MD According to different consumer situations, different combinations can be selected to establish model comparison modules for different time lengths.
[0177] The model comparison module can be a model generated by statistical methods or machine learning algorithms. Statistical methods include but are not limited to regression models (including linear and nonlinear scale models), classification models, etc., and machine learning algorithms include but are not limited to artificial neural networks (ANN), support vector machines (SVM), decision trees (DT), deep learning and other methods.
[0178] In one embodiment, a regression model is used as an example. Continuous HRI over a long period of time can be used. MC 、STD MC Used as features to build a regression model.
[0179] The historical data model first processes and analyzes the current actual collected data to obtain comparison data, and then compares the comparison data with a model constructed based on historical heart rate analysis data stored in a preset historical database to obtain a heart state analysis result.
[0180] The continuous HRI obtained in the corresponding long period MC 、STD MC As a feature, the parameter L=600 is set (L is the length of the smoothing window). For example, continuous HRI MC As the dependent variable, continuous STD MC As an independent variable, the least square method is used to calculate its correlation. The least square method is as follows: Assuming STD MC and HRI MC According to the linear distribution, define x = STD MC ,y=HRI MC, where the length of x is N, i.e., it is characterized as a continuous STD MC The length of y is also N, which is characterized by continuous HRI MC The number of .
[0181]
[0182] HRI MC =mSTD MC +b;
[0183] Among them, m and b are the parameters of the linear regression function.
[0184] The continuous HRI will be calculated by the least squares method MC With continuous STD MC The data obtained from the correlation are used to construct a two-dimensional coordinate graph for comparison.
[0185] Based on the historical heart rate analysis data stored in the preset historical database, the correlation of the corresponding data is calculated by the least squares method and a historical two-dimensional coordinate graph is constructed. The distance analysis method is used to compare the historical two-dimensional coordinate graph closest to the two-dimensional coordinate graph; wherein the historical two-dimensional coordinate graph corresponds to the preset evaluation score one by one, and then the closest historical two-dimensional coordinate graph is compared by comparing the two-dimensional coordinate graph. After determining the closest historical two-dimensional coordinate graph, the corresponding evaluation score can be obtained, that is, the evaluation score corresponding to the comparison two-dimensional coordinate graph is obtained. The evaluation score is the result of the heart state analysis. Among them, the distance analysis method can use the Euclidean distance analysis method, the Manhattan distance analysis method, the Hamming distance analysis method, etc. The evaluation score is determined by the distance between the comparison two-dimensional coordinate graph and the historical two-dimensional coordinate graph. The farther from the historical two-dimensional coordinate graph, the lower the evaluation score. For example, 80-100 points indicate that the heart is in good condition and no obvious abnormalities are found. 50-80 points indicate that abnormalities are found but do not need to be treated immediately, and professional medical examinations are required in the hospital. 50 points or less indicate serious abnormalities, and it is recommended to stop the current activity and go to the hospital immediately.
[0186] In one embodiment, an artificial neural network or deep learning in a machine learning algorithm is used to establish a corresponding regression model and classification model; continuous HRI can be used MC With continuous STD MC As features are constructed, specific artificial neural networks or deep learning are existing technologies, so they are not described here in detail.
[0187] In one embodiment, a regression model is used as an example. MC Used as a feature to build a regression model. IPV MCThe heart rate data of different time lengths can be converted into 101 feature points of the same scale, making the heart rate data of different time lengths comparable. For example, IPV in a certain activity state MC Sample, the certain activity state can be running, playing badminton, working, etc. The activity state can be input by the user or provided by an activity state monitoring module of a terminal.
[0188] The historical data model uses a classification and regression decision tree model, specifically using the classification and regression decision tree algorithm (CART) to generate the IPV for the corresponding activity. MC Classification and regression decision tree models for IPV MC After inputting the established classification and regression decision tree model, the heart status analysis results under the current state are formed.
[0189] In the process of constructing the classification and regression decision tree model, a personal history database is established for each consumer, and the heart rate data and other data related to the heart rate data are stored in the personal history database, such as pre-processed data RSHR, correlation coefficient sequence MC, percentile sequence IPV, standard deviation STD of correlation coefficient sequence MC, coefficient of variation CoV of correlation coefficient sequence MC, etc. In this embodiment, the percentile sequence IPV in the personal history database is used to construct the classification and regression decision tree model, that is, each percentile sequence IPV in the personal history database corresponds to an evaluation score. In the process of constructing the classification and regression decision tree model through the percentile sequence IPV, the parameter N=1800 (N is the last sampling time point corresponding to the time series), 101 values of the percentile sequence IPV, plus the activity type corresponding to the percentile sequence IPV are used as features, and the mean square error (MSE) is used as a feature selection method to select the optimal node, and the maximum depth is 100 as a parameter to construct the classification and regression decision tree model.
[0190] The specific construction method is as follows:
[0191] Input each data of the percentile sequence IPV of the corresponding activity, and traverse all possible division points in turn. In the process of traversing all possible division points in turn, select the division point with the smallest mean square error of the label values of the data sets on both sides of the division point and the smallest sum of the mean square errors of the label values on both sides of the division point, and define this division point as the optimal point. Execute the above method until the classification and regression decision tree model reaches the maximum depth of 100 or the mean square error of the label value is 0.
[0192] Classification and regression decision tree model visualization examples are as follows Figure 8 As shown, taking this as an example, the first node IPv MC,0 >0.8 indicates that the feature IPV is selected MC,0 ; When 0.8 is used as the dividing point, all IPVMC,0 The data sets with >=0.8 are the most similar. MC,0 The data sets with a value <0.8 are the most similar; the samples on the same side have a smaller degree of dispersion. This is done in a similar way to get all the division points.
[0193] The long-term monitoring module also includes a personal history database update module; the data obtained by the long-term heart rate data acquisition module, the second heart rate monitoring analysis module, the model comparison module, etc. can be updated to the personal history database, and the update process can be manually input by the consumer or by professional medical staff. Correct and timely updates can help improve the accuracy of monitoring by this long-term monitoring module.
[0194] The heart status display module is used to display the heart status analysis results. The heart status display module displays the heart rate analysis results to the user in an intuitive and easy-to-understand form. The displayed content includes but is not limited to continuous heart rate data, preprocessed data, correlation coefficient sequence, distribution analysis model, heart rate analysis results, heart status analysis results and all related diagrams and results; the heart status display module can be installed in any electronic device, such as smart bracelets, smart watches, mobile phones, computers and IoT devices, etc.
[0195] The following is a detailed description of the embodiment of the present application in conjunction with the drawings in the specification, in which an auxiliary detection method for heart rate status based on a consumer-grade device is provided.
[0196] The main process of the method is described as follows.
[0197] like Fig. 9 As shown:
[0198] Step 1100: Collect continuous heart rate data of the subject to be tested; the continuous heart rate data is characterized by heart rate data collected according to a preset sampling frequency.
[0199] Step 1200: Smoothing each heart rate data according to a preset smoothing function and rounding the smoothed data to form pre-processed data.
[0200] Step 1300: Select data from the preprocessed data to form at least two heart rate sequence data; each heart rate sequence data includes at least two preprocessed data selected according to a preset sampling period.
[0201] Step 1400: Select two heart rate series data in sequence and calculate the correlation between the two to form a correlation coefficient sequence.
[0202] Step 1500: Perform distribution analysis on the correlation coefficient sequence using a preset distribution analysis model to form a heart rate analysis result.
[0203] Step 1600: Output the heart rate analysis results.
[0204] The following is a detailed description of the embodiment of the present application in conjunction with the drawings of the specification, in which a method for monitoring the cardiac state based on a consumer-grade device is further provided.
[0205] like Fig.10 As shown, the main process of the method is described as follows.
[0206] Step 2100: Obtain trigger information.
[0207] Step 2200: According to the trigger information, a heart rate state auxiliary detection system based on consumer-grade equipment is used to obtain a heart rate analysis result and display it.
[0208] The trigger information includes short-term trigger information and long-term trigger information, and the monitoring module includes a short-term monitoring module and a long-term monitoring module.
[0209] like Fig.11 As shown, the method for implementing short-term monitoring with the short-term monitoring module is as follows:
[0210] Step 2311: The processing module activates the short-term monitoring module according to the short-term trigger information.
[0211] Step 2312: Collect short-term continuous heart rate data of the subject to be tested within a preset short-term period; the short-term continuous heart rate data is characterized by the heart rate data collected according to the preset sampling frequency.
[0212] Step 2313: Analyze the short-term continuous heart rate data through the heart rate state auxiliary detection system based on consumer-grade equipment to obtain and output a first heart rate analysis result.
[0213] The method of implementing long-term monitoring with the long-term monitoring module is as follows:
[0214] Step 2321: The processing module starts the long-term monitoring module according to the long-term trigger information.
[0215] Step 2322: Collecting long-term continuous heart rate data of the subject to be tested within the long-term period according to the preset long-term period; the long-term continuous heart rate data is characterized by the heart rate data collected according to the preset sampling frequency.
[0216] Step 2323: Process and analyze the long-term continuous heart rate data through a heart rate state auxiliary detection system based on consumer-grade equipment to obtain long-term heart rate analysis data.
[0217] Step 2324: Compare and analyze the long-term heart rate analysis data using a preset historical data model to form a heart status analysis result.
[0218] Step 2325: Display the heart status analysis results.
[0219] The present application provides a computer-readable storage medium storing a program that can be loaded and executed by a processor to implement the above-mentioned heart rate state auxiliary detection method based on a consumer-grade device or a program that can be loaded and executed by a processor to implement the above-mentioned heart state monitoring method based on a consumer-grade device. Figure 8 or Fig. 9 . The various steps in the process.
[0220] The computer-readable storage medium includes, for example, various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0221] Based on the same inventive concept, the embodiment of the present application provides a smart terminal, including a memory, a processor, and a program stored in the memory and executable on the processor, which can be loaded and executed by the processor to implement the above-mentioned heart rate state auxiliary detection method based on consumer-grade devices or stores a program that can be loaded and executed by the processor to implement the above-mentioned heart state monitoring method based on consumer-grade devices. Figure 8 or Fig. 9 . The various steps in the process.
[0222] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device 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 an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0223] 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, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0224] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0225] 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 technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the method described in each embodiment of the present application.
[0226] As described above, the above embodiments are only used to introduce the technical solution of the present application in detail, but the description of the above embodiments is only used to help understand the method and core idea of the present application and should not be understood as limiting the present application. Any changes or substitutions that can be easily thought of by technicians in this technical field within the technical scope disclosed in the present application should be included in the protection scope of the present application.
Claims
1. A heart rate status auxiliary detection system based on consumer-grade equipment, characterized in that: include: A heart rate data collection module is used to collect continuous heart rate data of the person to be tested; The continuous heart rate data is characterized as heart rate data collected according to a preset sampling frequency; The heart rate data analysis module includes: a heart rate rounding and smoothing unit, which is used to smooth each heart rate data according to a preset smoothing function and round the smoothed data to form pre-processed data; A selection unit, selecting data from the pre-processed data to form at least two heart rate sequence data; each of the heart rate sequence data includes at least two pre-processed data selected according to a preset sampling period; A correlation analysis unit selects two heart rate sequence data in sequence and calculates the correlation between the two to form a correlation coefficient sequence; a distribution analysis unit, which performs distribution analysis on the preprocessed data or the correlation coefficient sequence through a preset distribution analysis model to form a heart rate analysis result; and Heart rate status output module, used to output the heart rate analysis results; The selection unit selects data in the preprocessed data in sequence according to the sampling time axis to form at least two heart rate series data during the data selection process; the sampling times corresponding to two adjacent heart rate series data are defined as a first time series and a second time series respectively; the second time series lags behind the first time series on the time axis; The heart rate rounding and smoothing unit performs the following processing in the smoothing and rounding process: ; in, is the preprocessed data at time T, T is the sampling time point in the corresponding sampling period, L is the length of the smoothing window; HRi is the i-th preprocessed data, symbol Indicates rounding to the nearest integer; The specific formula for the correlation analysis unit to perform correlation analysis on two selected heart rate sequence data is as follows: ; ; ; ; Among them, W TLM and W TLD For two selected heart rate series data; is the preprocessed data at time T; is the preprocessed data at time T+M-1; is the preprocessed data at time T+D; is the preprocessed data at time T+D+M-1; M is the length of the sampled time series; D is the interval length between two time series corresponding to two adjacent heart rate series data; MCW TLM,D is the Pearson correlation coefficient between two heart rate series data; MC LMD is the correlation coefficient sequence within N seconds; N is the corresponding last sampling time point in the time series.
2. The heart rate state auxiliary detection system based on consumer-grade equipment according to claim 1 is characterized in that: The first time series and the second time series overlap with each other.
3. The heart rate state auxiliary detection system based on consumer-grade equipment according to claim 1 is characterized in that: The first time series does not overlap with the second time series.
4. The heart rate state auxiliary detection system based on consumer-grade equipment according to claim 1 is characterized in that: The first time series and the second time series do not overlap each other and there is a third time series between the two. The third time series is characterized by sampling time when no sampling is performed.
5. The heart rate state auxiliary detection system based on consumer-grade equipment according to claim 1 is characterized in that: The distribution analysis model preset by the distribution analysis unit during the analysis process includes one or more of a recursive scatter model, a moving correlation model, a percentile model, and a CoV model.
6. A cardiac status monitoring system based on consumer-grade devices, characterized in that: include: A trigger acquisition module is used to obtain trigger information; A monitoring module, used to obtain and output a heart rate analysis result through a heart rate state auxiliary detection system based on a consumer-grade device as claimed in claim 1; as well as The processing module starts the monitoring module according to the trigger information.
7. The cardiac state monitoring system based on consumer-grade devices according to claim 6, characterized in that: The trigger information includes short-term trigger information, the monitoring module includes a short-term monitoring module, and the processing module starts the short-term monitoring module according to the short-term trigger information; The short-term monitoring module includes: a short-term heart rate data acquisition module, which collects short-term continuous heart rate data of the person to be tested within a preset short time period; the short-term continuous heart rate data is characterized by heart rate data collected according to a preset sampling frequency; and a first heart rate monitoring and analysis module, which analyzes the short-term continuous heart rate data through a heart rate status auxiliary detection system based on consumer-grade equipment to obtain and output a first heart rate analysis result.
8. The cardiac state monitoring system based on consumer-grade devices according to claim 6 or 7, characterized in that: The trigger information includes long-term trigger information, the monitoring module includes a long-term monitoring module, and the processing module starts the long-term monitoring module according to the long-term trigger information; The long-term monitoring module comprises: A long-term heart rate data acquisition module is used to acquire long-term continuous heart rate data of the subject to be detected within a preset long-term period; the long-term continuous heart rate data is characterized as the heart rate data acquired according to the preset sampling frequency; The second heart rate monitoring and analysis module processes and analyzes the long-term continuous heart rate data through a heart rate state auxiliary detection system based on consumer-grade devices to obtain long-term heart rate analysis data; A model comparison module compares and analyzes the long-term heart rate analysis data through a preset historical data model to form a heart state analysis result; and The heart status display module is used to display the heart status analysis results.
9. A heart rate state auxiliary detection method based on consumer-grade equipment, characterized in that: include: Collecting continuous heart rate data of the person to be tested; The continuous heart rate data is characterized as heart rate data collected according to a preset sampling frequency; Smoothing each heart rate data according to a preset smoothing function and rounding the smoothed data to form preprocessed data; Selecting data from the preprocessed data to form at least two heart rate sequence data; each of the heart rate sequence data includes at least two preprocessed data selected according to a preset sampling period; Select two heart rate series data in sequence and calculate the correlation between the two to form a correlation coefficient sequence; Performing distribution analysis on the preprocessed data or the correlation coefficient sequence through a preset distribution analysis model to form a heart rate analysis result; Output the heart rate analysis results; In the data selection process, data are sequentially selected from the preprocessed data according to the sampling time axis to form at least two heart rate series data; the sampling times corresponding to two adjacent heart rate series data are respectively defined as a first time series and a second time series; the second time series lags behind the first time series on the time axis; In the process of smoothing and rounding, the specific processing formula is as follows: ; in, is the preprocessed data at time T, T is the sampling time point in the corresponding sampling period, L is the length of the smoothing window; HRi is the i-th preprocessed data, symbol Indicates rounding to the nearest integer; The specific formula for correlation analysis of two selected heart rate series data is as follows: ; ; ; ; Among them, W TLM and W TLD For two selected heart rate series data; is the preprocessed data at time T; is the preprocessed data at time T+M-1; is the preprocessed data at time T+D; is the preprocessed data at time T+D+M-1; M is the length of the sampled time series; D is the interval length between two time series corresponding to two adjacent heart rate series data; MCW TLM,D is the Pearson correlation coefficient between two heart rate series data; MC LMD is the correlation coefficient sequence within N seconds; N is the corresponding last sampling time point in the time series.
10. A cardiac status monitoring method based on consumer-grade equipment, characterized in that: include: Get trigger information; According to the trigger information, a heart rate analysis result is obtained and displayed through a heart rate state auxiliary detection system based on the consumer-grade device as claimed in claim 1.
11. A computer-readable storage medium, characterized in that it stores There is a program that can be loaded and executed by a processor to implement the heart rate status auxiliary detection method based on a consumer-grade device as described in claim 9, or there is stored a program that can be loaded and executed by a processor to implement the heart status monitoring method based on a consumer-grade device as described in claim 10.
12. An intelligent terminal, characterized in that: It includes a memory, a processor, and a program stored in the memory and executable on the processor, which, when loaded and executed by the processor, can implement the heart rate state auxiliary detection method based on consumer-grade devices as described in claim 9 or stores a program that can be loaded and executed by the processor to implement the heart state monitoring method based on consumer-grade devices as described in claim 10.
