Medical event prediction method, wearable device, and computer-readable storage medium

By acquiring and processing users' historical vital signal data and training prediction models, it solves the problem of difficulty in predicting potential atrial fibrillation risk with existing technology, and achieves accurate prediction and early prevention of possible future atrial fibrillation events.

CN113130024BActive Publication Date: 2024-10-29HUAWEI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN201911403659.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-31
Publication Date
2024-10-29
Estimated Expiration
2039-12-31

AI Technical Summary

Technical Problem

Existing atrial fibrillation detection methods are difficult to predict potential risk of atrial fibrillation attacks and cannot effectively predict future atrial fibrillation events.

Method used

By obtaining the user's multiple time-based historical life signal data, setting windows for feature extraction and annotation, and using semi-supervised or fully supervised training methods to train the prediction model, it can predict the trend and probability that the user may develop atrial fibrillation in the future.

Benefits of technology

It achieves accurate prediction of the risk of atrial fibrillation events that have not occurred to the user currently but may occur in the future, and provides visual reference to help users prevent it as early as possible.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113130024B_ABST
    Figure CN113130024B_ABST
Patent Text Reader

Abstract

The present application provides a prediction method for medical events, a wearable device, and a computer-readable storage medium, which belong to the field of big data processing technology. The calculation method includes: obtaining the user's vital signal data; setting a window based on a predetermined rule, wherein each window includes multiple segments of vital signal data; extracting features from the multiple segments of vital signal data in the window; and calculating the calculation result based on the features extracted from the window and the pre-trained prediction model. The calculation result is accurate and can accurately reflect the user's status, so that the user can understand his or her own status in a timely manner and find problems to prevent them early.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of medical event prediction, and in particular to a medical event prediction method, a wearable device, and a computer-readable storage medium. Background Art

[0002] Atrial fibrillation (AF), also known as atrial fibrillation, is a common arrhythmia. Long-term AF can cause serious complications, such as heart failure, hypertension, and the most serious stroke.

[0003] In the existing technology, the person being tested goes to the hospital for testing, and medical instruments and equipment obtain the user's data within the effective time, such as PPG (Photo Plethysmo Graphy, PPG), and the doctor or instructor determines whether the current event is an atrial fibrillation event based on the data. It is suitable for finding individuals who have already suffered from atrial fibrillation from the crowd. However, statistics show that the proportion of individuals with atrial fibrillation is relatively low, and most people are in a state of potential future atrial fibrillation. Since no atrial fibrillation event has occurred, it is difficult for existing detection methods to predict the potential risk of atrial fibrillation. Summary of the invention

[0004] In view of this, the present application provides a medical event prediction method, apparatus, wearable device, electronic device and computer-readable storage medium, which can provide accurate calculation results to facilitate users to predict medical events.

[0005] Some embodiments of the present application provide a method for training a prediction model. The present application is introduced from multiple aspects below, and the embodiments and beneficial effects of the following multiple aspects can be referenced to each other.

[0006] In a first aspect, the present application provides a training method for a prediction model, which is applied to an electronic device, and the method includes: obtaining multiple time-based historical vital signal data of at least one user, that is, multiple time-based historical vital signal data of one user can be obtained, or multiple time-based historical vital signal data of multiple users can be obtained, wherein multiple historical vital signal data refers to multiple life signal data corresponding to multiple different time periods, and the user's life signal data can be in units of "bars" or "bytes" (data size); setting at least one window for life signal data for each user based on predetermined rules, and the predetermined rules can be a restriction on the time period, such as limiting the time period in units of hours, days, months or years, or a predetermined volume of life signal data, such as a certain number or bytes of life signal data. Each window includes multiple segments of historical vital signal data; for each user, features are extracted from multiple segments of historical vital signal data in the window, the window is labeled, and the attribute category corresponding to the multiple segments of historical vital signal data in the window is determined, wherein the attribute category is used to characterize the medical event associated with the user corresponding to the window, such as atrial fibrillation; taking the window as a unit, the features extracted based on the window and the attribute category corresponding to the window are used as the training sample set, and the prediction model is trained by semi-supervised training method or fully supervised training method. The prediction model can calculate the calculation results of the user more accurately, and the calculation results can be used to indicate the trend and probability analysis and prediction of atrial fibrillation that may occur in a certain period of time in the future, which is a medical event that has not occurred to the user at present, such as atrial fibrillation, and provide some strong visual references.

[0007] In a possible implementation of the first aspect, the predetermined rule includes: using a predetermined time period and / or a predetermined volume of multiple segments of historical vital signal data as the length of the window. Specifically, a predetermined number of multiple segments of historical vital signal data (e.g., 50 historical vital signal data) can be used as the length of the window, or a predetermined total size of multiple segments of historical vital signal data (e.g., 50 bytes of historical vital signal data) can be used as the length of the window. The window length is set to accumulate a rich set of training samples, thereby improving the accuracy of the prediction model.

[0008] In a possible implementation of the first aspect, the setting of the window also requires updating of the data in the window, and the updating of the data in the window includes: obtaining the newly collected historical vital signal data of the user and storing it in the window to update the window, wherein the newly collected historical vital signal data of the user refers to the collection of historical vital signal data that has not participated in the training. By updating the window, the features extracted based on the window and the attribute categories corresponding to the window can also be updated in time, so that the prediction model can be continuously trained, and the results calculated by the prediction model can more accurately reflect the current status of the user, thereby improving the accuracy of the prediction model.

[0009] In a possible implementation of the first aspect above, the update processing of the data in the window includes two situations, namely, there is a free position in the window (the window is not full of the set length) and there is no free position in the window (the window is full of the set length). Specifically, after obtaining the newly collected historical vital signal data of the user, there is a free position in the window, then the newly collected historical vital signal data of the user is directly stored in the free position in the window; after obtaining the newly collected historical vital signal data of the user, there is no free position in the window, two methods can be used, only retaining the data with the most recent collection time or selecting the historical vital signal data in the window and the historical vital signal data of the newly collected user that is not stored in the window.

[0010] In a possible implementation of the first aspect above, the historical vital signal data in the window and the historical vital signal data of newly collected users that are not stored in the window can be selected in the following manner. Specifically, the historical vital signal data of each user in the window and the historical vital signal data of each newly collected user are scored according to the user's predetermined status, such as the user's health status and disease status. The vital signal data in the healthy status can be excluded first, and the closer the vital signal data to the health status is, the higher the score is, and the closer the vital signal data to the disease status is, the lower the score is, that is, the vital signal data with a score in the predetermined state is deleted until the length of the window is met.

[0011] Furthermore, according to the classification rule of the current time from the nearest to the nearest time when the newly collected historical vital signal data of the user is collected, the historical vital signal data stored in the window is divided into corresponding classes; each class is checked in order from the nearest to the nearest time from the nearest time until a class with historical vital signal data is found, and the historical vital signal data in the class is scored, and the vital signal data with a score in the user's predetermined state is deleted until the length of the window is met. The vital signal data in the window obtained by the classification rule can better reflect the risk of medical events that may occur to the user.

[0012] In a possible implementation of the first aspect, at least one piece of vital signal data is retained in each category, and different weight values ​​are set for the historical vital signal data in each category according to the degree of contribution to the prediction model, and a lower weight value is given to the vital signal data that contributes less to the accuracy of the prediction model. The higher the weight value, the more it can affect the accuracy of the prediction model. Since the older the vital signal data is, the weaker the degree to which it reflects the current state of the user, the weight values ​​are set from low to high in order from far to near from the current time, thereby reducing the degree of influence of vital signal data that is far from the current time on the accuracy of the prediction model.

[0013] In a possible implementation of the first aspect, in a fully supervised training method, the window is labeled to determine the attribute category corresponding to the historical life signal data in the window, including: manually linearly labeling or automatically labeling the window corresponding to the attribute category in the intermediate state, and the automatic labeling uses radial basis function and nearest neighbor classification algorithm for labeling. This labeling method is simple and can improve the accuracy of the prediction model compared to the partial labeling method.

[0014] In a second aspect, the present application provides a method for predicting medical events, which is applied to electronic devices. The method includes: obtaining the user's vital signal data, which can be in units of "bars" or "bytes" (data size); setting windows based on predetermined rules, each window including multiple segments of vital signal data; extracting features from the multiple segments of vital signal data in the window; and calculating the results based on the features extracted from the window and a pre-trained prediction model in units of windows to obtain calculation results.

[0015] The calculation results obtained by the data calculation method according to the embodiment of the present application are more accurate and can accurately reflect the user's status, so that the user can understand his or her own status in time, discover problems and prevent them early.

[0016] In a possible implementation of the second aspect, a predetermined time period and / or a predetermined volume of multiple segments of historical vital signal data is used as the length of the window. Specifically, a predetermined number of multiple segments of historical vital signal data (e.g., 50 historical vital signal data) can be used as the length of the window, or a predetermined total size of multiple segments of historical vital signal data (e.g., 50 bytes of historical vital signal data) can be used as the length of the window. The window length is set to accumulate a rich set of training samples, thereby improving the accuracy of the prediction model.

[0017] In a possible implementation of the second aspect, the window is set based on a predetermined rule, further comprising: updating the data in the window, specifically comprising: obtaining newly collected vital signal data of the user, and storing it in the window to update the window, wherein the newly collected vital signal data is the current vital signal data collected at the current time and not involved in the calculation. By updating the window, the features extracted based on the window can also be updated in time, so that the calculation results are continuously updated and the current state of the user is reflected in time.

[0018] In a possible implementation of the second aspect above, the update processing of the data in the window includes two situations, namely, the window has sufficient free space (the window is not full of the set length) and the window does not have sufficient free space (the window is full of the set length). Specifically, for the newly collected vital signal data of the user, if there are sufficient free space in the window, the current vital signal data is directly stored in the free space in the order of collection; for the newly collected vital signal data of the user, if there are not enough free space in the window, only the data with the most recent collection time is retained, or the vital signal data in the window and the newly collected vital signal data of the user that is not stored in the window are selected.

[0019] In a possible implementation of the second aspect above, the vital signal data in the window and the newly collected vital signal data of the user that are not stored in the window are selected, including: scoring each vital signal data in the window and the newly collected vital signal data according to a predetermined state, and deleting the vital signal data with a score in a predetermined state until the size of the window setting is met.

[0020] Furthermore, according to the classification rule from near to far from the current time when the newly collected vital signal data is collected, the vital signal data stored in the window is divided into corresponding categories; each category is checked in order from far to near from the current time until a category with vital signal data is found, and the vital signal data in the category is scored, and the vital signal data with a score in a predetermined state of the user is deleted. The vital signal data in the window obtained by this classification rule can better reflect the risk of a possible medical event for the user.

[0021] In a possible implementation of the second aspect above, at least one piece of vital signal data is retained in each category, and different weight values ​​are set for the vital signal data in each category according to the degree of contribution to the calculation result. A lower weight value is given to the vital signal data that contributes less to the calculation result. Among them, the higher the weight value, the more it can affect the accuracy of the calculation result. Since the older the vital signal data is, the weaker the degree to which it reflects the current state of the user, the weight values ​​are set from low to high in order from far to near from the current time, thereby reducing the degree of influence of vital signal data far from the current time on the accuracy of the calculation result. So that the vital signal data in the window can more truly reflect the current state of the user and improve the accuracy of the calculation results.

[0022] In a possible implementation of the second aspect, the data calculation method further includes: based on the data in the big data platform, counting the attribute categories of other users within the same preset range as the calculation result, and the states of other users corresponding to the attribute categories; and evaluating the state of the user corresponding to the calculation result according to the states of other users corresponding to the attribute categories. This can facilitate users to predict the probability of medical events (such as atrial fibrillation) that may occur to them in the future, so as to prevent them early.

[0023] In a possible implementation of the second aspect above, the method for predicting medical events also includes: before obtaining the user's vital signal data, each collected vital signal data needs to be denoised, for example, through filtering, signal quality analysis and other processing methods to improve the reliability of the data.

[0024] In a third aspect, the present application provides an electronic device for generating a prediction model, comprising:

[0025] The first acquisition module is used to obtain multiple time-based historical vital signal data of at least one user; the first window setting module is used to set at least one window for vital signal data for each user based on predetermined rules, and each window includes multiple historical vital signal data; the first extraction module is used to extract features from the multiple historical vital signal data in the window for each user; the labeling module is used to label the window and determine the attribute category corresponding to the multiple historical vital signal data in the window, wherein the attribute category is used to characterize the medical event associated with the user corresponding to the window; the training module is used to use the window-based features and the attribute category corresponding to the window as a training sample set, and obtain a prediction model through a semi-supervised training method or a fully supervised training method.

[0026] According to the electronic device for generating a prediction model according to the embodiment of the present application, which is used to execute the method of the first aspect embodiment, a prediction model can be trained to obtain a prediction model, which can accurately calculate the user's calculation results. The calculation results can be used to indicate medical events that have not occurred to the user at present, such as atrial fibrillation, but can be used to analyze and predict the trend and probability of atrial fibrillation that may occur in a certain period of time in the future, as well as provide some strong visual references.

[0027] In a possible implementation of the third aspect, the predetermined rule includes: using a predetermined time period and / or a predetermined volume of multiple segments of historical vital signal data as the length of the window, specifically, using a predetermined number of multiple segments of historical vital signal data as the length of the window, or using a predetermined total size of multiple segments of historical vital signal data as the length of the window. The window length is set to accumulate a rich set of training samples, thereby improving the accuracy of the prediction model.

[0028] In a possible implementation of the third aspect, the first window setting module is further used to update the data in the window, including: obtaining the newly collected historical vital signal data of the user, and storing it in the window to update the window, wherein the newly collected historical vital signal data of the user refers to the collection of historical vital signal data that has not participated in the training. By updating the window, the features extracted based on the window and the attribute categories corresponding to the window can also be updated in time, so that the prediction model can be continuously trained, and the results calculated by the prediction model more accurately reflect the current status of the user, thereby improving the accuracy of the prediction model.

[0029] In a possible implementation of the third aspect above, the first window setting module is specifically used for: when the newly collected historical vital signal data of the user is obtained, if there is free space in the window, the newly collected historical vital signal data of the user is directly stored in the free space in the window; when the newly collected historical vital signal data of the user is obtained, if there is no free space in the window, only the data with the most recent collection time is retained, or the historical vital signal data in the window and the historical vital signal data of the newly collected user that is not stored in the window are selected.

[0030] In a possible implementation of the third aspect above, the first window setting module is specifically used to score the historical vital signal data of each user in the window and the newly collected historical vital signal data of each user according to the user's preset status, where the predetermined status is such as the user's health status and disease status, and delete the vital signal data with a score in the predetermined status until the window length is met.

[0031] In a possible implementation of the third aspect, the first window setting module is specifically used to: classify the historical vital signal data stored in the window into corresponding classes according to the classification rule from near to far from the current time when the historical vital signal data of the newly collected user is collected; check each class in order from far to near from the current time until a class with historical vital signal data is found, and score the historical vital signal data in the class, and delete the vital signal data with a score in a predetermined state of the user until the length of the window is met. The vital signal data in the window obtained through the classification rule can better reflect the risk of a possible medical event for the user.

[0032] In a possible implementation of the third aspect above, the first window setting module is also specifically used to: retain at least one piece of life signal data in each category, and set different weight values ​​for the historical life signal data in each category according to the degree of contribution to the prediction model. Life signal data that contributes less to the accuracy of the prediction model is given a lower weight value. Among them, the higher the weight value, the more it can affect the accuracy of the prediction model. Since the older the life signal data, the weaker the degree to which it reflects the current state of the user, the weight values ​​are set from low to high in order from far to near from the current time, thereby reducing the degree of influence of life signal data that is far away from the current time on the accuracy of the prediction model.

[0033] In a possible implementation of the third aspect, in the fully supervised training method, the labeling module is specifically used to: manually linearly label or automatically label the windows corresponding to the attribute categories in the intermediate state, and the automatic labeling uses radial basis function and nearest neighbor classification algorithm for labeling. This labeling method is simple and can improve the accuracy of the prediction model compared to the partial labeling method.

[0034] In a fourth aspect, the present application provides an electronic device for computing, comprising: a second acquisition module for acquiring a user's vital signal data; a second window setting module for setting windows based on predetermined rules, each window comprising multiple segments of vital signal data; a second extraction module for extracting features from the multiple segments of vital signal data within the window; and a computing module for calculating results based on the features extracted from the window and a pre-trained prediction model in units of windows.

[0035] The electronic device for calculating the data according to the embodiment of the present application is used to execute the method of the above-mentioned second aspect embodiment to obtain the calculation result based on the user's vital signal data. The calculation result is more accurate and can accurately reflect the user's status, so that the user can understand his or her own status in time, discover problems and prevent them early.

[0036] In a possible implementation of the fourth aspect, the predetermined rule includes: using a predetermined time period and / or a predetermined volume of multiple segments of vital signal data as the length of the window. Specifically, it includes using a predetermined number of multiple segments of vital signal data as the length of the window, or using a predetermined total size of multiple segments of vital signal data as the length of the window. The window length is set to accumulate a rich set of training samples to improve the accuracy of the prediction model.

[0037] In a possible implementation of the fourth aspect, the second window setting module is further used to update the data in the window, including: obtaining newly collected vital signal data of the user and storing it in the window to update the window, wherein the newly collected vital signal data is the current vital signal data collected at the current time and not involved in the calculation. By updating the window, the features extracted based on the window can also be updated in time, so that the calculation results are continuously updated and the current state of the user is reflected in time.

[0038] In a possible implementation of the fourth aspect above, the second window setting module is specifically used for: when there is free space in the window after acquiring the vital signal data of a newly collected user, the current vital signal data is directly stored in the free space in the order of collection; when there is no free space in the window after acquiring the vital signal data of a newly collected user, only the data with the most recent collection time is retained or the vital signal data in the window and the vital signal data of the newly collected user that is not stored in the window are selected.

[0039] In a possible implementation of the fourth aspect above, the second window setting module is specifically used to: score each vital signal data and newly collected vital signal data in the window according to a predetermined state, and delete the vital signal data with a score in a predetermined state until the size of the window setting is met.

[0040] Furthermore, the second window setting module is specifically used to: classify the existing vital signal data in the window into corresponding classes according to the classification rule from near to far from the current time when the newly collected vital signal data is collected; check each class in order from far to near from the current time until a class with vital signal data is found, and score the vital signal data in the class, and delete the vital signal data whose score is in the user's predetermined state. The vital signal data in the window obtained by the classification rule can better reflect the risk of medical events that may occur to the user.

[0041] In a possible implementation of the fourth aspect above, the second window setting module is also specifically used to: retain at least one piece of vital signal data in each category, and set different weight values ​​for the vital signal data in each category according to the degree of contribution to the calculation result. A lower weight value is given to the vital signal data that contributes less to the calculation result. Among them, the higher the weight value, the more it can affect the accuracy of the calculation result. Since the older the vital signal data is, the weaker the degree to which it reflects the current state of the user, the weight values ​​are set from low to high in order from far to near from the current time, thereby reducing the degree of influence of vital signal data that is far away from the current time on the accuracy of the calculation result. So that the vital signal data in the window can more truly reflect the current state of the user and improve the accuracy of the calculation results.

[0042] In a possible implementation of the fourth aspect, the electronic device further includes: an evaluation module for counting attribute categories of other users within the same preset range as the calculation result and states of other users corresponding to the attribute categories based on data in the big data platform; the evaluation module evaluates the state of the user corresponding to the calculation result according to the states of other users corresponding to the attribute categories. This can facilitate users to predict the probability of atrial fibrillation that they may develop in the future, so as to prevent it early.

[0043] In a possible implementation of the fourth aspect, the electronic device further includes: a processing module for filtering, signal quality analysis, and other methods to reduce noise on each collected vital signal data before acquiring the vital signal data of the user, so as to improve the reliability of the data. In a possible implementation of the fourth aspect, the electronic device further includes: a display module for displaying the calculation results, so that the user can intuitively understand his or her own situation and take corresponding preventive measures in a timely manner.

[0044] In a fifth aspect, the present application provides a data computing system, comprising: an electronic device for generating a prediction model according to an embodiment of the third aspect; and an electronic device for computing according to an embodiment of the fourth aspect.

[0045] In the sixth aspect, the present application provides a wearable device, including: a collector for periodically collecting the vital signal data of the user; a memory for storing instructions; a processor for reading the instructions stored in the memory to perform the following steps: obtaining the vital signal data of the user; setting a window based on a predetermined rule, the window including multiple segments of vital signal data; extracting features from the multiple segments of vital signal data in the window; calculating the calculation results based on the features extracted from the window and the prediction model; a display screen for displaying the calculation results so that the user can intuitively observe the calculation results. According to the accurate calculation results that can be obtained by the wearable device of the embodiment of the present application, the calculation results can more accurately reflect the user's physical state, so that the user can understand his own state in time, find problems and prevent them early.

[0046] In a possible implementation of the sixth aspect above, the predetermined rule includes: using at least one of a predetermined time period and a predetermined volume of the plurality of segments of vital signal data as the length of the window.

[0047] In a possible implementation of the sixth aspect, taking the predetermined volume of the plurality of segments of vital signal data as the length of the window includes: taking the predetermined number of the plurality of segments of vital signal data as the length of the window, or taking the predetermined total size of the plurality of segments of vital signal data as the length of the window. The window length is set so as to accumulate a rich set of training samples, thereby improving the accuracy of the prediction model.

[0048] In a possible implementation of the sixth aspect above, the processor is specifically used to set a window based on predetermined rules, and update the data in the window, and the updating of the data in the window includes: for the newly collected vital signal data of the user, if there are enough free spaces in the window, the current vital signal data is directly stored in the free spaces according to the order of collection; for the newly collected vital signal data of the user, if there are not enough free spaces in the window, the vital signal data in the window and the newly collected vital signal data of the user not stored in the window are selected.

[0049] In a possible implementation of the sixth aspect, the processor is specifically configured to: in order of collection time, when the window is full, retain only the data with the most recent collection time.

[0050] In a possible implementation of the sixth aspect above, the processor is specifically used to: score each vital signal data and newly collected vital signal data in the window according to a predetermined state, and delete the vital signal data with a score in the predetermined state until the size of the window setting is met.

[0051] In a possible implementation of the sixth aspect, the processor is specifically configured to: classify the stored vital signal data in the window into corresponding classes according to the classification rule from near to far from the current time when the newly collected vital signal data is collected; check each class in order from far to near from the current time until a class with vital signal data is found, score the vital signal data in the class, and delete the vital signal data whose score is in a predetermined state of the user. The vital signal data in the window obtained by the classification rule can better reflect the risk of a possible medical event for the user.

[0052] In a possible implementation of the sixth aspect, at least one piece of vital signal data is retained in each category, and different weight values ​​are set for the vital signal data in each category according to the degree of contribution to the calculation result. The higher the weight value, the more it can affect the accuracy of the calculation result. Since the older the vital signal data is, the weaker the degree to which it reflects the current state of the user is. Therefore, the weight values ​​are set from low to high in order from far to near from the current time, thereby reducing the influence of vital signal data far from the current time on the accuracy of the calculation result. So that the vital signal data in the window can more truly reflect the current state of the user and improve the accuracy of the calculation result.

[0053] In a possible implementation of the sixth aspect, the processor further includes: based on the data in the big data platform, counting the attribute categories of other users in the same preset range as the calculation result, and the states of other users corresponding to the attribute categories; and evaluating the state of the user corresponding to the calculation result according to the states of other users corresponding to the attribute categories. This can facilitate users to predict the probability of atrial fibrillation that they may develop in the future, so as to prevent it early.

[0054] In a seventh aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the processor executes the method of the first aspect embodiment and the method of the second aspect embodiment mentioned above. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Figure 1a This is a schematic diagram of the structure of a prediction system according to an embodiment of the present application;

[0056] Figure 1b A schematic diagram of the structure of a prediction system of a processor on a cloud server according to an embodiment of the present application;

[0057] Figure 1c A schematic diagram of the structure of a prediction system of a processor on a wearable device according to an embodiment of the present application;

[0058] Figure 1d A schematic diagram of the structure of a prediction system of a processor on a computing device according to an embodiment of the present application;

[0059] Figure 2 A flowchart of a method for predicting atrial fibrillation according to the present application;

[0060] Figure 3 A probability distribution diagram of atrial fibrillation corresponding to the calculation results of some embodiments of the present application;

[0061] Figure 4 A flowchart of a method for training a prediction model according to some embodiments of the present application;

[0062] Figure 5 A schematic diagram of the structure of an electronic device for generating a prediction model according to an embodiment of the present application;

[0063] Figure 6 A schematic diagram of the structure of an electronic device for computing according to an embodiment of the present application;

[0064] Figure 7 This is a schematic diagram of the structure of a wearable device in some embodiments of the present application;

[0065] Figure 8aA graph showing the calculation results of medical events in some embodiments of the present application;

[0066] Figure 8b A schematic diagram of a UI interface of a risk value output by a display module according to a specific implementation of the present application in some embodiments of the present application;

[0067] Figure 8c A schematic diagram of a UI interface of a calculation result output by a display module according to a specific implementation of the present application in some embodiments of the present application;

[0068] Fig. 9 A block diagram of a device according to some embodiments of the present application;

[0069] Fig.10 A block diagram of a system on a chip (SoC) according to some embodiments of the present application. DETAILED DESCRIPTION

[0070] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0071] It is understandable that the medical event in this application refers to an adverse cardiac event related to physical health that may occur to the user, and non-limiting examples may include atrial fibrillation (AF) or myocardial infarction. The medical event is an application scenario implemented by the calculation method provided in this application. By collecting data related to medical events and performing calculations, the results obtained can be used to indicate medical events that have not occurred to the user at present, but may occur in a certain period of time in the future. Trends and probabilities of medical events are analyzed and predicted, as well as providing some visual references. It can be understood by those skilled in the art that this application is intended to protect a method of data processing (calculation) and corresponding devices and systems, and is not intended to protect medical diagnostic methods.

[0072] It can be understood that for the calculation method provided in this application, the higher the calculation result, the higher the probability that the user will experience a medical event within a certain period of time in the future. It can also be understood that the time when the user may experience a medical event is closer to the current predicted time.

[0073] According to one embodiment of the present application, the prediction model can be based on historical vital signal data (such as Photo Plethysmo Graphy, PPG for short) in a big data platform and obtained by machine learning training, wherein the historical vital signal data can be a collection of historical vital signal data of medical events similar to the person being tested.

[0074] It can be understood that the window of the present application can be a predetermined time period as the length of a window, or a predetermined volume of user's vital signal data as the length of a window, or a combination of the two to set the length of the window. By setting the window, multiple segments of user's vital signal data can be obtained to improve the accuracy of the calculation.

[0075] It will be understood that, as used herein, the term "module" may refer to or include an application specific integrated circuit (ASIC), an electronic circuit, a processor (shared, dedicated, or group) and / or memory that executes one or more software or firmware programs, a combinational logic circuit, and / or other appropriate hardware components that provide the described functionality, or may be part of these hardware components.

[0076] It is understood that in each embodiment of the present application, the processor may be a microprocessor, a digital signal processor, a microcontroller, etc., and / or any combination thereof. According to another aspect, the processor may be a single-core processor, a multi-core processor, etc., and / or any combination thereof.

[0077] The embodiments of the present application will be further described below in conjunction with the accompanying drawings.

[0078] According to some embodiments of the present application, a schematic diagram of a prediction system is disclosed, which can be used for the prediction of medical events, wherein non-limiting examples of medical events may include myocardial infarction or atrial fibrillation, etc. Figure 1a The schematic diagram of the prediction system is shown in Figure 2. Figure 1a As shown, the system includes a wearable device 101, a user wearing the wearable device, and a cloud server 102 wirelessly connected to the wearable device.

[0079] Non-limiting examples of the wearable device 101 include portable devices that can be worn directly on the human body, such as on the wrist, chest, etc., or integrated into the user's clothes or accessories. Devices presented in the form of bracelets or watches and worn on the wrist are typical examples that are easier to understand as wearable devices. The wearable device 101 can be worn on the user for a long time and is used to periodically collect the user's vital signal data (such as PPG signal data) based on specific rules. The collected user's vital signal data is calculated by a prediction model to obtain the user's calculation result, and the calculation result is transmitted to the wearable device for the user to review.

[0080] The cloud server 102 can be connected to one or more wearable devices. Here, as an example, only the case where it is connected to one wearable device is listed. In addition, the cloud server 102 can collect and integrate the user's vital signal data from multiple wearable devices, and these data are used for the calculation disclosed in this application to obtain the final calculation result. In addition, the cloud server 102 can also be connected to other necessary devices, such as routers and other auxiliary function servers, but for the sake of simplicity, Figure 1a Not listed one by one.

[0081] The collected vital signal data of the user is used to obtain the calculation result of the user through the prediction calculation of the prediction model, and the user can intuitively obtain the calculation result through the wearable device 101. The calculation result is used to evaluate the probability of the user having a medical event in the future, so that the user can take preventive measures according to his or her own condition in time. The prediction calculation based on the vital signal data of the user is implemented in a specific processor, for example, in the processor 103 according to the present application.

[0082] The processor 103 for calling instructions to implement calculations can be placed in the cloud server 102, or incorporated into the wearable device 101, or placed in a computing device 104 that is independent of the wearable device 101 and the cloud server 102 but can be connected and synchronized with the wearable device 101 and the cloud server 102, such as a mobile phone, a personal computer, etc. Figures 1a to 1d shown.

[0083] According to one embodiment of the present application, the calculation based on the vital signal data of the user includes the training of the prediction model and the calculation of the user's results. The establishment of the prediction model and the calculation of the results of the vital signal data of a specific user based on the prediction model can be implemented by the same processor 103 as described above. For example, the processor 103 is in the wearable device, that is, the wearable device 101 can realize the training of the prediction model and the calculation of the results of a specific user. It can also be implemented by two separate processors. For example, the first processor is responsible for training the prediction model, and the second processor is responsible for calculating the results of a specific user based on the prediction model. When the two processors are separate, the two can exist separately in any two of the cloud server, the computing device (if any), and the wearable device.

[0084] Based on the description of the above embodiments, according to some embodiments of the present application, the following introduces a method for predicting medical events implemented by a processor of a prediction system according to the present application with specific embodiments. Figure 2 A flowchart of a medical event prediction method implemented by a processor of a prediction system according to the present application is shown. Figure 2 As shown, the prediction method specifically includes:

[0085] Step S210, obtaining the vital signal data of the user, wherein the vital signal data of the user is collected by the wearable device. The vital signal data of the user may be in units of "bars" or "bytes" (data size). In the following exemplary description, "bars" are used as an example of the unit of the vital signal data of the user. It can be understood by those skilled in the art that the case of using "bytes" or other units as the unit of the vital signal data of the user is similar. The vital signal data of the user of the present application may be PPG signal data.

[0086] According to an embodiment of the present application, in order to improve the reliability of data, the life signal data collected each time needs to be processed for noise reduction, for example, through filtering, signal quality analysis and other processing methods.

[0087] Step S220, based on the predetermined rules, a window is set, each window includes multiple segments of vital signal data, wherein multiple segments refer to multiple time periods, each of which may have at least one or more vital signal data, and multiple segments of vital signal data refer to multiple segments of vital signal data within multiple time periods. Here, the predetermined rules may include taking one or both of a predetermined time period and a predetermined volume of multiple segments of vital signal data as the length of the window. For example, the predetermined time period may be a period of time, for example, a time period in units of hours, days, months, and years, as the length of a window, or the total predetermined volume of multiple segments of vital signal data may be used as the length of the window, wherein the predetermined volume as the window length may be a predetermined number of multiple segments of vital signal data or a predetermined total size of data storage space, for example, a storage space for storing a certain number of user vital signal data in units of bars or data size (bytes) as the length of a window, or a predetermined time period and a predetermined volume of multiple segments of vital signal data may be combined as the length of the window, such as 100 data in 6 months as the length of the window, which is not the only limitation here.

[0088] For a user, multiple segments of vital signal data can be obtained after multiple measurements. These multiple segments of vital signal data can be loaded into one or more windows as needed. In the case of multiple windows, the vital signal data contained in these different windows may also be partially overlapping. According to one embodiment of the present application, multiple segments of vital signal data include multiple segments of historical vital data of the user and newly collected vital signal data of the user. As time goes by, the vital signal data of the user in the window needs to be updated and processed, that is, taking the window as a unit, the vital signal data in the window is updated, and the window is also updated accordingly. The results calculated based on the vital signal data in the window will also be continuously updated, thereby realizing continuous detection of the user's physical condition.

[0089] It is understandable that in order to improve the accuracy of the calculation results, taking into account the uneven temporal distribution of the user's vital signal data, time errors between the signal collection points and real events, and the possible missing of signal collection points and events, the present application increases the amount of the user's vital signal data and extends the data collection time to minimize errors and improve the credibility of the calculation results.

[0090] According to an embodiment of the present application, the updating process of the vital signal data in the window is further described below by taking the PPG signal data as an example.

[0091] S211, setting the initial size of the window, for example, 100 locations for storing PPG signal data can store 100 pieces of PPG signal data.

[0092] S212, when the wearable device completes a successful collection, the newly collected PPG signal data is stored in the window, wherein the newly collected PPG signal data is the current PPG signal data collected at the current time.

[0093] During updating, if there is an idle position in the window (ie, there are less than 100 PPG signal data in the window), the current PPG signal data is directly stored in the idle position in the order of collection.

[0094] If the window is full, the data needs to be selected. In the following embodiments, how to select the data will be described in detail.

[0095] According to an implementation method of the embodiment of the present application, only the first 100 data with the most recent collection time may be retained in order of collection time when the window is full.

[0096] According to another implementation of the embodiment of the present application, considering that before a medical event occurs to a user, the PPG signal data is sometimes within a normal range and sometimes within an abnormal range, so collecting PPG signal data within an abnormal range as much as possible is more conducive to predicting possible medical events in the future for the user, so as to remind the user to take preventive measures in advance. Therefore, in the present application, by scoring each PPG signal data in the window and the newly collected PPG signal data, the PPG signal data is divided into healthy PPG signal data and abnormal PPG signal data (unhealthy PPG signal data), and the closer the PPG signal data is to a healthy state (the more regular the beat), the higher the score. For example, taking the heart rate value of an adult as an example, the heart rate value of an adult in a healthy state is 60 to 100 beats / minute, and the heart rate value other than this is an abnormal PPG signal data (a heart rate value less than 60 beats / minute or greater than 100 beats / minute). When the abnormal PPG signal data is less than 60 beats / minute, the closer to 60 beats / minute, the higher the score, and when the abnormal PPG signal data is greater than 100 beats / minute, the closer to 60 beats / minute, the higher the score. If the score value of the newly collected PPG signal data is not the highest value compared with the PPG signal data in the window, that is, the newly collected PPG signal data is not the PPG signal data closest to the health status, the PPG signal data with the highest score in the window is deleted, and the newly collected PPG signal data is stored instead to obtain an updated window, so that the PPG signal data in the window can reflect the user's physical condition in a timely manner. Furthermore, before scoring each PPG signal data in the window and the newly collected PPG signal data, the PPG signal data in the stored window can be classified according to time. For example, it can be divided into 5 categories from near to far according to the current time from the newly collected PPG signal data, and the stored PPG signal data can be divided into 5 categories according to time: PPG signal data in the same hour as the current time of the newly collected PPG signal data is Category 1, PPG signal data on the same day except Category 1 is Category 2, PPG signal data in the same week except Category 1 and Category 2 is Category 3, PPG signal data in the same month except Categories 1, 2 and 3 is Category 4, and PPG signal data at other times except the first four categories is Category 5. Assume that the classification result is: among 100 PPG signal data, there are 30 PPG signal data in the first category, 0 PPG signal data in the second category, 50 PPG signal data in the third category, 20 PPG signal data in the fourth category, and 0 PPG signal data in the fifth category.When selecting data, each category is checked in order from far to near from the current time, that is, from the 5th category to the 1st category, until a category with more than one PPG signal data is found. For example, when the 4th category is found, there are 20 data in the 4th category, then each PPG signal data in the 4th category is scored, the PPG signal data with the highest score is selected, and the PPG signal data is deleted. In this way, space is obtained in the window to store the newly collected PPG signal data. Through this selection method, the PPG signal data far from the current time can be deleted first, so that the data in the window can better express the user's recent status.

[0097] Furthermore, in order to be able to reflect the user's physical condition for a long time, the vital signal data in the window is classified in order from far to near from the current time, and at least one vital signal data is retained in each category during updating. That is to say, according to the above-mentioned scoring rules, the PPG signal data in each category is continuously deleted. When there is only one PPG signal data left in a certain category or there is only one PPG signal data in the category, then the data is retained regardless of whether the PPG signal data is the highest value. And a weight value is preset for the vital signal data in each category, and a lower weight value is given to the vital signal data with less impact on the calculation result. Among them, the higher the weight value, the greater the impact on the calculation result. Among them, the vital signal data that contributes less to the accuracy of the calculation result can be vital signal data that is far away from the current time, for example, a period of time from the current time, such as PPG vital signal data half a year ago. Since the time is long, considering that the user's physical state may change greatly, such as from a healthy state to an intermediate state (a state between a healthy state and an ill state), from an intermediate state to a healthy state, so too old data may no longer correctly express the user's current state, therefore, according to the order from far to near from the current time, the weight value is set from low to high, so as to reduce the influence of vital signal data far from the current time on the calculation result. It can also be the user in a special state, for example, through the motion detection sensor to perceive the user in a state of motion, or the user actively selects or inputs his own state through the device to be motion or in a sick state, under the condition of life signal data collected, considering that these data contribute little or almost no contribution to the accuracy of the calculation result, so it can be given a lower weight, or directly removed. So that the vital signal data in the window can more truly reflect the user's current state and improve the accuracy of the calculation result.

[0098] Step S230, feature extraction is performed on multiple segments of vital signal data in the window. It is understandable that, since the user's vital signal data is in multiple time periods, the feature extraction is more diverse, and not only the data features of each segment of vital signal data need to be extracted, but also the features of the data features that change over time need to be fused. For example, feature extraction can be data that meets the set requirements in multiple segments of vital signal data, such as the value of vital signal data (maximum value, average value or minimum value). Taking heart rate as an example, data within a period of time (such as 5 minutes, 1 hour, etc.) of each day of the user are obtained respectively, such as the heart rate (beats / minute) obtained on the first day is 62, 63, 65, 68, the heart rate (beats / minute) obtained on the second day is 65, 68, 69, 65, and the heart rate (beats / minute) obtained on the third day is 69, 68, 69, 70. When the setting requirement is the highest value, 68 on the first day, 69 on the second day and 70 on the third day are extracted respectively. As well as the relationship and regularity between the data, such as the regularity of gradually increasing in the highest values ​​68, 69, and 70 from the first day to the third day, or the weight value of the data, etc. Not only can the data features in each section (time period) of the life signal data be extracted, such as the highest heart rate values ​​on the first, second, and third days. It is also necessary to extract the regular sequence features between these data features, such as the sequence features of gradually increasing highest values ​​within three days. The highest value feature in this application is only an exemplary description, and other setting requirements such as the lowest value or the highest value may also be taken, which is not the only limitation here.

[0099] According to the embodiment of the present application, due to the feature extraction of multiple segments of vital signal data in the window, the features are made more diversified and complicated, and the multiple segments of vital signal data in the window can be calculated from multiple dimensions to improve the credibility of the calculation results.

[0100] Step S240, taking the window as a unit, calculating the features extracted based on the window and the pre-trained prediction model to obtain the calculation result.

[0101] Among them, the prediction model is based on the characteristics of historical life signal data in the big data platform, and the attribute categories corresponding to the window composed of historical life signal data, and is obtained through a fully supervised or semi-supervised training method. The numerical calculation result can characterize the probability of predicting the user's medical event. Specifically, the probability (0-100%) of a medical event occurring within a certain period of time in the future (for example, one month, 2 months, 3 months and / or 4 months, etc.) can be evaluated based on the calculation result. Among them, the higher the numerical value of the calculation result, the higher the probability that the user will have a medical event within a certain period of time in the future, which can also be understood as the time when the user may have a medical event is closer to the current prediction time.

[0102] The following takes the medical event of atrial fibrillation as an example and describes the evaluation process of the medical event in combination with a specific embodiment. Figure 3 The probability distribution diagram of atrial fibrillation corresponding to the calculation results is shown, as Figure 3 As shown, when the user's current calculation result is 12%, the big data platform is used to find people whose calculation result is equal to or close to 12%, and people who have already developed atrial fibrillation are further found among similar people. The time from the time when the calculation result of atrial fibrillation is 12% or close to 12% for people who have developed atrial fibrillation, such as 10%-20% of the onset population, to the time of atrial fibrillation. For example, the proportion of people who develop atrial fibrillation in a month to the total population, such calculation can facilitate users to intuitively predict the probability of their own atrial fibrillation in the future, so as to prevent it early.

[0103] Based on the description of the above embodiments, according to some embodiments of the present application, the following describes a training method for a prediction model by way of example using specific embodiments. Figure 4 A flowchart of a method for training a prediction model based on life signal data is shown, Figure 4 As shown, the training method of the prediction model specifically includes:

[0104] Step S410, obtaining multiple time-based historical vital signal data of at least one user, wherein the historical vital signal data refers to the vital signal data of many users based on the big data platform, and the historical vital signal data can be obtained by collecting wearable devices of different users. Multiple segments of historical vital signal data refer to multiple vital signal data corresponding to multiple segments at different times. Since the big data platform has more historical vital signal data, the model trained based on the historical vital signal data in the big platform has higher credibility, and the calculated result is more accurate.

[0105] Step S420: for each user, at least one window for vital signal data is set based on a predetermined rule, and each window includes multiple segments of historical vital signal data. The historical vital signal data may be the vital signal data of existing users in the big data platform.

[0106] During the model training process, the window settings can be the same as in the calculation method described above.

[0107] According to an embodiment of the present application, at least one window for vital signal data is set based on a predetermined rule, and further includes updating processing of the vital signal data in the window of each user.

[0108] In the present application, the update processing of the historical vital signal data in the window can refer to the update processing method of the vital signal data in the user's window in the above embodiment, which will not be repeated here. It should be noted that since the training of the prediction model is based on the historical vital signal data of multiple users in the big data platform, in order to improve the accuracy of the prediction model, the window can be set to a time period of half a year or one year, and the frequency of the window update can be lower than the update frequency of the vital signal data in the user's window in the calculation method, so that the historical vital data of the user in the big data platform accumulates to a certain amount to improve the accuracy of the prediction model.

[0109] Step S430, for each user, extract features from multiple segments of historical life signal data in the window. It can be understood that, based on multiple segments of historical life signal data in the big data platform, the larger the data volume, the more complex the relationship, and the more diverse the feature extraction. It is necessary not only to extract the data features of each segment of life signal data in the window of each user, but also to integrate the features of the data features that change over time. For example, feature extraction can be data that meets the set requirements in multiple segments of life signal data, as well as the relationships and laws between the data. Not only can the data features in each segment (time period) of life signal data be extracted, such as the highest value, average value or lowest value of the data in each segment of life signal data. It is also necessary to extract the regular sequence features between these data features, such as extracting features from the highest value of the data in each segment of life signal data, wherein the highest values ​​of multiple segments of life signal data follow the law of gradually increasing over time, and the features are combined with each other, etc., which are not the only limitation here.

[0110] Step S440: label the window and determine the attribute categories corresponding to the multiple segments of historical vital signal data in the window. The attribute categories are used to characterize the medical events associated with the user, such as the risk of atrial fibrillation, such as high risk or low risk.

[0111] Such attribute categories can correspond to calculated values. The user's physical condition is determined based on the calculated values, such as the probability of atrial fibrillation, or risk value (0-100%). The closer the risk value is to 0, the less likely the user is to have atrial fibrillation. The closer the risk value is to 100%, the more likely the user is to have a high risk of atrial fibrillation, or even has already occurred.

[0112] The attribute category may also be used in another form to characterize the user's physical condition. For example, taking the vital signal data as PPG signal data as an example, the corresponding attribute category may include normal heart rate, atrial fibrillation, or an intermediate heart rate between the two.

[0113] Step S450, taking a window as an example, taking the extracted features based on the window and the attribute category corresponding to the window as a training sample set, and training on the machine through a semi-supervised training method and a fully supervised training method to obtain a prediction model. That is, the prediction model can be a semi-supervised prediction model or a fully supervised prediction model.

[0114] It can be understood that the semi-supervised prediction model refers to obtaining the attribute categories corresponding to the vital signal data of some people by partial labeling. Specifically, partial labeling refers to labeling a part of the population in the big data platform, and the remaining part of the population can be unlabeled. Usually, when labeling, it is considered that the attribute categories corresponding to the vital signal data of the population in the intermediate state are difficult to label, so only the attribute categories corresponding to the vital signal data of the population in the normal state and the diseased state are labeled. For example, among the people in the big data platform, in a normal state, such as the PPG signal data in the window is normal, the attribute category corresponding to the window is a risk value of 0 or a normal heart rate, and in a diseased state, such as the PPG signal data value in the window is already a value during atrial fibrillation, and the corresponding attribute category is a risk value of 100% or atrial fibrillation. Further training based on the results of the labeling obtains the target semi-supervised prediction model.

[0115] It can be understood that the fully supervised prediction model refers to the use of a full annotation method to obtain the attribute categories corresponding to the vital signal data of all people in the big data platform. In other words, in addition to annotating the vital signal data and corresponding attribute categories of users in normal and diseased states, the fully supervised prediction model also includes annotating the attribute categories corresponding to the vital signal data of users in the intermediate state between the normal state and the diseased state. For example, the result corresponding to the PPG signal data value in the window is between the normal state and the diseased state, and the corresponding attribute category is a certain range of values ​​between 0 and 100% of the risk value (excluding 0 and 100%) or an intermediate heart rate (sub-health). Among them, the annotation of the intermediate state can be automatically annotated using strategies such as radial basis function and KNN nearest neighbor classification algorithm (k-nearestneighbors).

[0116] In addition, in some embodiments of the present application, for the annotation of users in the intermediate state in the fully supervised prediction model, considering the high difficulty of annotation of the intermediate state, it is possible to assume that the user follows a linear development law from the normal state to the diseased state, and perform manual linear annotation on the users in the intermediate state. This annotation method is simple and can improve the accuracy of the prediction model compared to the partial annotation method.

[0117] In a preferred embodiment of the present application, when the number of people experiencing medical events is small and the number of samples of people in a normal state is large, overfitting may occur. To reduce the overfitting phenomenon, the overfitting phenomenon may be reduced by adjusting parameters multiple times and comparing the effects of multiple machine learning models.

[0118] In the embodiments of the present application, the prediction model trained by the above method can more accurately calculate the user's calculation results, which can be used to indicate medical events that have not occurred to the user at present, such as atrial fibrillation, but can be used to analyze and predict the trend and probability of atrial fibrillation that may occur in a certain period of time in the future, as well as provide some visual references.

[0119] According to some embodiments of the present application, an electronic device 500 for generating a prediction model is disclosed. Figure 5 FIG. 5 shows a schematic diagram of the structure of an electronic device 500 for generating a prediction model. Figure 5 As shown, the electronic device 500 includes:

[0120] The first acquisition module 510 is used to acquire multiple time-based historical vital signal data of at least one user. The historical vital signal data refers to the vital signal data of users existing in the big data platform, and the historical vital signal data can be collected by the wearable device and obtained by the first acquisition module.

[0121] The first window setting module 520 is used to set at least one window for vital signal data for each user based on a predetermined rule, each window including multiple segments of historical vital signal data. The predetermined rule may include using a predetermined time period and / or a predetermined volume of multiple segments of vital signal data as the length of the window. The predetermined volume as the window length may be a predetermined number of multiple segments of vital signal data or a predetermined total size of data storage space, for example, a storage space for storing a certain number of user vital signal data in units of bars or in units of data size (bytes) as the length of a window, or a predetermined time period and a predetermined volume of multiple segments of vital signal data are combined as the length of the window.

[0122] The first extraction module 530 is used to extract features from multiple segments of historical vital signal data in the window for each user.

[0123] The labeling module 540 is used to label the window and determine the attribute category corresponding to the multiple segments of historical vital signal data in the window, wherein the attribute category is used to characterize the medical event associated with the user corresponding to the window. The labeling of the window includes labeling the windows of all users in the big data platform, i.e., full labeling, and labeling the windows of some users, i.e., partial labeling.

[0124] The training module 550 is used to train a prediction model by using a semi-supervised training method or a fully supervised training method, taking the window-based features and the attribute categories corresponding to the window as training sample sets, with the window as the unit.

[0125] The first window setting module 520 is further used to update the data in the window. The update of the data in the window includes: obtaining the newly collected historical vital signal data of the user and storing it in the window to update the window, wherein the newly collected historical vital signal data of the user refers to the set of historical vital signal data that has not participated in the training.

[0126] In the present application, the functions and working processes of the various components of the prediction model generation device 500 have been described in detail in the above embodiments. For details, please refer to the training method of the prediction model in the above embodiments, which will not be repeated here.

[0127] According to the electronic device 500 for generating a prediction model in the embodiment of the present application, a prediction model with accurate calculation can be obtained, and the calculation result of the user's vital signal data calculated by the prediction model has high accuracy and reliability.

[0128] The electronic device for generating a prediction model according to the embodiment of the present application can be implemented as a wearable device, a server connected to the wearable device, and a terminal device such as a smart phone, a tablet computer, a desktop PC, and a notebook PC that can communicate with the wearable device.

[0129] According to some embodiments of the present application, an electronic device 600 for computing is disclosed. Figure 6 FIG. 6 shows a schematic diagram of the structure of an electronic device 600 for computing. Figure 6 As shown, the electronic device 600 includes a processor, which can be used to implement the method for predicting medical events in the above embodiment. The electronic device 600 includes:

[0130] The second acquisition module 610 acquires the vital signal data of the user, wherein the vital signal data of the user may be collected by the wearable device and obtained by the second acquisition module. The vital signal data of the user may be in units of bars or in units of data size (bytes). It may be PPG signal data, such as data such as heart rate.

[0131] The second window setting module 620 is used to set windows based on predetermined rules, and each window includes multiple segments of vital signal data. Among them, the predetermined rules may include using a predetermined time period and / or a predetermined volume of multiple segments of vital signal data as the length of the window. The predetermined volume as the window length can be a predetermined number of multiple segments of vital signal data or a predetermined total size of data storage space, for example, a storage space for storing a certain number of user vital signal data in units of bars or data size (bytes) as the length of a window, or a predetermined time period and a predetermined volume of multiple segments of vital signal data are combined as the length of the window. The second extraction module 630 is used to extract features from the multiple segments of vital signal data in the window.

[0132] The calculation module 640 is used to calculate the calculation result based on the features extracted from the window and the pre-trained prediction model in units of windows.

[0133] According to an embodiment of the present application, the electronic device 600 for calculation further includes: an evaluation module for counting attribute categories of other users within the same preset range as the calculation result and states of other users corresponding to the attribute categories based on data in the big data platform;

[0134] The evaluation module evaluates the status of the user corresponding to the calculation result according to the status of other users corresponding to the attribute categories.

[0135] According to one embodiment of the present application, the electronic device for computing further includes:

[0136] The processing module is used to perform noise reduction processing on the user's vital signal data before obtaining the user's vital signal data. The data processing module can be used to process abnormal vital signal data and perform noise reduction processing on the user's vital signal data collected each time. For example, the vital signal data can be subjected to noise reduction processing by filtering, signal quality analysis, etc., so as to obtain more accurate calculation results.

[0137] In the present application, the functions and working processes of various components of the electronic device have been described in detail in the above embodiments. For details, please refer to the medical event prediction method of the above embodiments, which will not be repeated here.

[0138] According to the electronic device 600 for calculation of the embodiment of the present application, the calculation result of the medical event that can be obtained can be used to evaluate the probability of the user having a medical event. Further, the probability (0-100%) of a medical event occurring within a certain period of time in the future (for example, one month, 2 months, 3 months and / or 4 months, etc.) can be evaluated based on the calculation result. Among them, the higher the calculation result, the higher the probability of the user being marked as having a medical event within a certain period of time in the future, which can also be understood as the closer the time when the user may have a medical event is to the current predicted time. According to the electronic device 600 for calculation of the embodiment of the present application, it can be implemented as a wearable device, a server connected to the wearable device, and a terminal device such as a smart phone, a tablet computer, a desktop PC (Personal Computer, PC) and a notebook PC that can communicate with the wearable device.

[0139] According to the embodiment of the present application, the electronic device for calculation may further include a display module for displaying the calculation results and graphics or images obtained based on the calculation results to the user.

[0140] According to some embodiments of the present application, a wearable device is disclosed. Figure 7 FIG. 7 shows a schematic diagram of the structure of a wearable device 700. Figure 7 As shown, specifically, the wearable device 700 may include:

[0141] The collector 710 is used to periodically collect the vital signal data of the user. It is understandable that the collector 710 can actively collect the vital data signal of the user, or can be controlled by the user and collect at an appropriate time.

[0142] A memory 720, for storing instructions; a processor 730, for reading the instructions stored in the memory to execute the method for predicting medical events of the above embodiment; and

[0143] The display device 740 implemented as a display screen is used to display the calculation results so that the user can intuitively know the calculation results through the wearable device 700, and further know the probability of a medical event occurring within a certain period of time in the future through the calculation results.

[0144] Although in the above implementation, the wearable device 700 itself includes a display screen for displaying information such as calculation results, those skilled in the art will understand that some wearable devices may not have a display screen themselves. According to the wearable device of the implementation mode of the present application, data can be synchronized to a terminal device with a display screen such as a smart phone, a tablet computer, a desktop PC, and a notebook PC that can be communicatively connected to the wearable device, so as to display corresponding values, graphics or images to the user.

[0145] As an exemplary application scenario according to an embodiment of the present application, when a user wears a wearable device according to the present application, the wearable device can periodically or manually start the collection of vital signal data. After the vital signal data is collected, it is sent to the cloud server side immediately or after it accumulates to a certain extent in the wearable device. The cloud server side includes an electronic device for calculating the probability of a medical event based on the user's vital signal data. After the cloud server receives the user's vital signal data, it uses the calculation method according to the implementation of the present application to calculate and obtain the calculation result.

[0146] The calculation result can be a simple display of the result directly, or it can be a result after more complex analysis based on the calculation result.

[0147] According to one embodiment of the present application, in order to facilitate the user's understanding of his or her physical condition, a trend graph showing the change of the calculation results over time can be drawn, and the user can intuitively obtain the change trend of the calculation results through the trend graph. It is understandable that the expression form of the probability of a medical event can also be intuitively represented by a trend graph, so that the user can intuitively obtain the probability of a medical event occurring in the future. Among them, the trend graph can be a chart, a bar graph, or a curve graph, etc. In other embodiments of the present application, the user can also be prompted by a broadcast method such as voice, so that the user can intuitively understand his or her own situation and take corresponding preventive measures in a timely manner.

[0148] Figure 8a An exemplary curve diagram showing the calculation results of medical events is shown, and the calculation results are exemplarily listed as risk values, such as Figure 8a As shown, from February 3 to April 9 is a window, wherein the window may include the vital signal data within one hour on February 3, the vital signal data within two hours on February 4, and the collection of vital signal data within a certain period of time on February 8 and March 10. It can be seen from the figure that the values ​​of the vital signal data in the window are not continuous in time. When the vital signal data of the users in the window accumulate to a certain amount, the calculation result on April 9 is 0.2 based on the vital signal data of the users in the window. From February 4 to April 16 is the updated window, that is, the vital signal data of the user on April 16 is added, and the calculation result on April 16 is 0.19 based on the vital signal data of the users in the updated window.

[0149] The calculation results can be sent from the cloud server to the wearable device for display, so that users can easily understand the relevant status of medical events from the wearable device. Figure 8b and Figure 8cA schematic diagram of a UI interface output by a display module according to a specific implementation of the present application is shown. As an advantage of the calculation method provided by the present application, in addition to providing users with accurate calculation results of medical events, the ability to display the analysis results to users in an intuitive form to help users understand the risk value of medical events in the future is also one of the advantages of the calculation method provided by the present application.

[0150] like Figure 8b As shown in the UI interface diagram in the figure, based on the continuously updated calculation result data, the user's calculation results (such as Figure 8b Through this trend chart, users can intuitively observe the trend of the calculation results to further judge the probability of medical events that may occur to them.

[0151] like Figure 8c As shown in the UI interface diagram, the big data platform can match and compare the user's calculation results with the result samples of many people on the big data platform, so as to combine the comparison results to predict the probability of atrial fibrillation in the future and display it intuitively for early prevention. Figure 8b The distance to the occurrence of atrial fibrillation shown in , but the application is not limited thereto, and it can also be other probabilities that can be understood by those skilled in the art.

[0152] In addition, those skilled in the art can understand that although the wearable device includes its own display device for processing display data and a display screen for displaying relevant information, Figure 8b and Figure 8c Such a display interface can be displayed on the display screen of the wearable device itself, or on other terminal devices after data synchronization with the wearable device, such as smart phones, desktop computers, smart TVs, etc. This application does not limit this.

[0153] According to some embodiments of the present application, the wearable device 700 may further include a data processing module, which can be used to process abnormal vital signal data and perform noise reduction processing on the vital signal data of the user collected each time. For example, the vital signal data can be subjected to noise reduction processing by filtering, signal quality analysis, etc., so as to obtain a more accurate calculation result.

[0154] It is understood that the abnormal vital signal data in the present application may include vital signal data with characteristics, features or values ​​beyond the user's expected, healthy or normal predetermined threshold range or level. For example, in the case of PPG signal data, the PPG signal data of the user in motion, the PPG signal data exceeding the predetermined threshold level can be understood as constituting abnormal vital signal data. In some other cases, the user's irregular PPG signal data can be regarded as abnormal vital signal data.

[0155] In some embodiments of the present application, the processing module can also sense the user's motion state, and in the time period of the user's motion, when the vital signal data exceeds a certain range, it can be regarded as that the vital signal data does not constitute abnormal vital signal data. For example, in the motion state, the user's PPG signal data will increase due to the motion. At this time, the PPG signal data does not constitute abnormal PPG signal data. As a result, the vital signal data of the user in the obtained window is not evenly distributed in time. The vital signal data of the user in the window under the same time condition may be more or less, and the values ​​in some time periods are relatively dense, and the values ​​in some time periods are relatively sparse. Therefore, the vital signal data of the users in the window can be accumulated to a certain amount, and when the results are calculated, the accuracy and reliability of the calculation results can be effectively improved.

[0156] In other embodiments of the present application, the wearable device can be connected to a terminal device, such as a mobile phone, a computer, etc., and the calculation result, a trend chart of the calculation result over time, and one or more probability trend charts of the occurrence of medical events corresponding to the calculation result can be displayed through the terminal device.

[0157] According to one embodiment of the present application, the wearable device may further include an evaluation module. After the receiving module receives the calculation result obtained by cloud computing, the evaluation module searches for a group of people similar to the calculation result based on the big data platform on the cloud, that is, searches for a group of people whose calculation result is equal to or close to the calculation result, and evaluates the probability of a medical event occurring to the user in a future period of time by comparing the medical events occurring to similar groups of people in the future.

[0158] Reference now Fig. 9, shown is a block diagram of a device 1200 according to one embodiment of the present application. The device 1200 may include one or more processors 1201 coupled to a controller hub 1203. For at least one embodiment, the controller hub 1203 communicates with the processor 1201 via a multi-drop bus such as a front side bus (FSB), a point-to-point interface such as a Quick Path Interconnect (QPI), or a similar connection 1206. The processor 1201 executes instructions that control general types of data processing operations. In one embodiment, the controller hub 1203 includes, but is not limited to, a graphics memory controller hub (GMCH) (not shown) and an input / output hub (IOH) (which may be on a separate chip) (not shown), wherein the GMCH includes a memory and a graphics controller and is coupled to the IOH.

[0159] The device 1200 may also include a coprocessor 1202 and a memory 1204 coupled to the controller hub 1203. Alternatively, one or both of the memory and the GMCH may be integrated within the processor (as described in the present application), with the memory 1204 and the coprocessor 1202 directly coupled to the processor 1201 and the controller hub 1203, with the controller hub 1203 and the IOH being in a single chip. The memory 1204 may be, for example, a dynamic random access memory (DRAM), a phase change memory (PCM), or a combination of the two. In one embodiment, the coprocessor 1202 is a special-purpose processor, such as, for example, a high-throughput MIC processor (Many Integerated Core, MIC), a network or communication processor, a compression engine, a graphics processor, a general-purpose graphics processor (General Purpose Computing on GPU, GPGPU), or an embedded processor, etc. The optional properties of the coprocessor 1202 are indicated by dashed lines in Fig. 9 middle.

[0160] The memory 1204, as a computer-readable storage medium, may include one or more tangible, non-transitory computer-readable media for storing data and / or instructions. For example, the memory 1204 may include any suitable non-volatile memory such as flash memory and / or any suitable non-volatile storage device, such as one or more hard disk drives (HDD(s)), one or more compact disc (CD) drives, and / or one or more digital versatile disc (DVD) drives.

[0161] In one embodiment, the device 1200 may further include a network interface (Network Interface Controller, NIC) 1206. The network interface 1206 may include a transceiver for providing a radio interface for the device 1200 to communicate with any other suitable device (such as a front-end module, an antenna, etc.). In various embodiments, the network interface 1206 may be integrated with other components of the device 1200. The network interface 1206 may implement the functions of the communication unit in the above-mentioned embodiments.

[0162] The device 1200 may further include input / output (I / O) devices 1205. The I / O 1205 may include: a user interface designed to enable a user to interact with the device 1200; a peripheral component interface designed to enable peripheral components to interact with the device 1200; and / or sensors designed to determine environmental conditions and / or location information related to the device 1200.

[0163] It is worth noting that Fig. 9 This is for illustrative purposes only. Fig. 9 It is shown that the device 1200 includes multiple components such as a processor 1201, a controller hub 1203, and a memory 1204. However, in actual applications, the device using the methods of the present application may only include a part of the components of the device 1200, for example, it may only include the processor 1201 and the NIC 1206. Fig. 9 The properties of optional devices are shown with dotted lines.

[0164] According to some embodiments of the present application, instructions are stored on the memory 1204 as a computer-readable storage medium. When the instructions are executed on the computer, the system 1200 executes the calculation method according to the above embodiment. For details, please refer to the method of the above embodiment, which will not be repeated here.

[0165] Reference now Fig.10, which is a block diagram of a SoC (System on Chip) 1300 according to an embodiment of the present application. Fig.10 In the , similar components have the same reference numerals. In addition, the dashed boxes are optional features of more advanced SoCs. Fig.10 In the embodiment, SoC 1300 includes: an interconnect unit 1350, which is coupled to an application processor 1310; a system agent unit 1380; a bus controller unit 1390; an integrated memory controller unit 1340; a group or one or more coprocessors 1320, which may include integrated graphics logic, an image processor, an audio processor, and a video processor; a static random access memory (SRAM) unit 1330; and a direct memory access (DMA) unit 1360. In one embodiment, the coprocessor 1320 includes a dedicated processor, such as, for example, a network or communication processor, a compression engine, a GPGPU, a high throughput MIC processor, or an embedded processor.

[0166] The static random access memory (SRAM) unit 1330 may include one or more computer-readable media for storing data and / or instructions. The computer-readable storage medium may store instructions, specifically, temporary and permanent copies of the instructions. The instruction may include: when executed by at least one unit in the processor, the Soc 1300 executes the calculation method according to the above embodiment, which may be specifically referred to the method of the above embodiment, and will not be repeated here.

[0167] The various embodiments of the mechanism disclosed in the present application can be implemented in hardware, software, firmware or a combination of these implementation methods. The embodiments of the present application can be implemented as a computer program or program code executed on a programmable system, which includes at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device and at least one output device.

[0168] Program code can be applied to input instructions to perform the functions described in this application and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, a processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application specific integrated circuit (ASIC), or a microprocessor.

[0169] Program code can be implemented with high-level programming language or object-oriented programming language to communicate with the processing system. When necessary, program code can also be implemented with assembly language or machine language. In fact, the mechanism described in this application is not limited to the scope of any specific programming language. In either case, the language can be a compiled language or an interpreted language.

[0170] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, instructions may be distributed over a network or by other computer-readable media. Therefore, machine-readable media may include any mechanism for storing or transmitting information in a machine (e.g., computer) readable form, including, but not limited to, floppy disks, optical disks, optical disks, compact disc read-only memories (Compact Disc Read Only Memory, CD-ROMs), magneto-optical disks, read-only memories (Read Only Memory, ROM), random access memories (RAM), erasable programmable read-only memories (Erasable Programmable Read Only Memory, EPROM), electrically erasable programmable read-only memories (Electrically Erasable Programmable Read Only Memory, EEPROM), magnetic cards or optical cards, flash memory, or a tangible machine-readable memory for transmitting information (e.g., carrier waves, infrared signal digital signals, etc.) using the Internet in electrical, optical, acoustic, or other forms of propagation signals. Accordingly, machine-readable media include any type of machine-readable media suitable for storing or transmitting electronic instructions or information in a form readable by a machine (eg, a computer).

[0171] In the accompanying drawings, some structural or method features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be required. Instead, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the accompanying drawings of the specification. In addition, the inclusion of structural or method features in a particular figure does not mean that such features are required in all embodiments, and in some embodiments, these features may not be included or may be combined with other features.

[0172] It should be noted that the units / modules mentioned in the various device embodiments of the present application are all logical units / modules. Physically, a logical unit / module can be a physical unit / module, or a part of a physical unit / module, or can be implemented in a combination of multiple physical units / modules. The physical implementation of these logical units / modules themselves is not the most important. The combination of functions implemented by these logical units / modules is the key to solving the technical problems proposed by the present application. In addition, in order to highlight the innovative part of the present application, the above-mentioned device embodiments of the present application do not introduce units / modules that are not closely related to solving the technical problems proposed by the present application, which does not mean that there are no other units / modules in the above-mentioned device embodiments.

[0173] It should be noted that in the examples and description of this patent, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one" do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0174] Although the present application has been illustrated and described with reference to certain preferred embodiments thereof, it will be apparent to those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present application.

Claims

1. A method for predicting medical events, characterized in that: The method comprises: The electronic device obtains the user's vital signal data; The electronic device sets a window based on a predetermined rule, wherein the window includes multiple segments of vital signal data, wherein the multiple segments refer to multiple discontinuous time periods, and each time period contains at least one piece of the vital signal data; Based on the abnormal conditions of the existing vital signal data and the newly collected vital signal data in the window, the abnormal vital signal data is preferentially stored in the window to update the window; The updating of the window includes: for the newly collected vital signal data of the user, if there is not enough free space in the window, selecting the vital signal data in the window and the newly collected vital signal data of the user not stored in the window; The selection includes scoring each piece of vital signal data and newly collected vital signal data in the window according to a predetermined state, and deleting the vital signal data with a score in the predetermined state until the size of the window setting is met, wherein the predetermined state is used to represent a health state, and the closer the PPG signal data is to the health state, the higher the score; The electronic device extracts features from the multiple segments of vital signal data in the window; The electronic device calculates a calculation result based on the features extracted from the window and the prediction model, and the calculation result is used to characterize the probability of the predicted event occurring within a certain period of time in the future.

2. The method according to claim 1, characterized in that The predetermined rules include: At least one of a predetermined time period and a predetermined volume of the plurality of segments of vital signal data is used as the length of the window.

3. The method according to claim 2, characterized in that Taking the predetermined volume of the plurality of segments of vital signal data as the length of the window comprises: The predetermined number of the plurality of segments of vital signal data is used as the length of the window, or The predetermined total size of the plurality of segments of vital signal data is used as the length of the window.

4. The method according to claim 1, characterized in that: The updating of the window comprises: For newly collected vital signal data of a user, if there are enough free spaces in the window, the current vital signal data is directly stored in the free spaces according to the order of collection.

5. The method according to claim 1, characterized in that: Selecting and rejecting the vital signal data in the window and the newly collected vital signal data of the user not stored in the window includes: Classify the life signal data stored in the window into corresponding classes according to the classification rule from near to far from the current time when the newly collected life signal data is collected; Each category is checked in order from farthest to nearest from the current time until a category with vital signal data is found, and the vital signal data in the category is scored, and the vital signal data whose score is in a predetermined state of the user is deleted.

6. The method according to claim 5, characterized in that At least one piece of vital signal data is retained in each category, and different weight values ​​are set for the vital signal data in each category according to the contribution degree to the calculation result.

7. The method according to claim 1, characterized in that The pre-trained prediction model is obtained through machine learning training, and the training method includes: Acquire time-based historical vital signal data of at least one user; Setting at least one window for vital signal data based on a predetermined rule, each of the windows including multiple segments of historical vital signal data; extracting features from the multiple segments of historical vital signal data within the window; Annotating the window to determine the attribute category corresponding to the multiple segments of historical vital signal data in the window, wherein the attribute category is used to characterize the medical event associated with the user corresponding to the window; The features extracted based on the window and the attribute categories corresponding to the window are used as a training sample set, and the prediction model is obtained by training through a semi-supervised training method or a fully supervised training method.

8. The method according to claim 7, characterized in that In the fully supervised training method, the window is labeled to determine the attribute category corresponding to the historical vital signal data in the window, including: Manual linear annotation or automatic annotation is performed on the windows corresponding to the attribute categories in the intermediate state. The automatic annotation adopts radial basis function and nearest neighbor classification algorithm for annotation.

9. The method according to claim 1, characterized in that: Also includes: Based on the data in the big data platform, statistics are collected on the attribute categories of other users that are within the same preset range as the calculation result, and the statuses of other users corresponding to the attribute categories respectively; The status of the user corresponding to the calculation result is evaluated according to the statuses of other users respectively corresponding to the attribute categories.

10. The method according to claim 1, characterized in that Also includes: Before acquiring the vital signal data of the user, noise reduction processing is performed on the vital signal data of the user.

11. A wearable device, characterized in that: include: A collector, used to periodically collect the user's vital signal data; A memory for storing instructions; as well as A processor is used to read the instructions stored in the memory to perform the following steps: Obtaining the user's vital sign data; A window is set based on a predetermined rule, wherein the window includes multiple segments of vital signal data, wherein the multiple segments refer to multiple discontinuous time periods, and each time period contains at least one piece of the vital signal data; Based on the abnormal conditions of the existing vital signal data and the newly collected vital signal data in the window, the abnormal vital signal data is preferentially stored in the window to update the window; The updating of the window includes: for the newly collected vital signal data of the user, if there is not enough free space in the window, selecting the vital signal data in the window and the newly collected vital signal data of the user not stored in the window; The selection includes scoring each piece of vital signal data and newly collected vital signal data in the window according to a predetermined state, and deleting the vital signal data with a score in the predetermined state until the size of the window setting is met, wherein the predetermined state is used to represent a health state, and the closer the PPG signal data is to the health state, the higher the score; Extracting features from multiple segments of vital signal data within the window; Calculating the features extracted based on the window and the prediction model to obtain a calculation result, wherein the calculation result is used to characterize the probability of the predicted event occurring within a certain period of time in the future; A display screen is used to display the calculation results.

12. The wearable device according to claim 11, characterized in that: The predetermined rules include: At least one of a predetermined time period and a predetermined volume of the plurality of segments of vital signal data is used as the length of the window.

13. The wearable device according to claim 12, characterized in that: Taking the predetermined volume of the plurality of segments of vital signal data as the length of the window comprises: The predetermined number of the plurality of segments of vital signal data is used as the length of the window, or The predetermined total size of the plurality of segments of vital signal data is used as the length of the window.

14. The wearable device according to claim 11, characterized in that: The processor is specifically used to: set a window based on a predetermined rule, and update the data in the window. The updating process of the data in the window includes: For newly collected vital signal data of a user, if there are enough free spaces in the window, the current vital signal data is directly stored in the free spaces according to the order of collection.

15. The wearable device according to claim 11, characterized in that: The processor is specifically used for: Classify the life signal data stored in the window into corresponding classes according to the classification rule from near to far from the current time when the newly collected life signal data is collected; Each category is checked in order from farthest to nearest from the current time until a category with vital signal data is found, and the vital signal data in the category is scored, and the vital signal data whose score is in a predetermined state of the user is deleted.

16. The wearable device according to claim 15, characterized in that: At least one piece of vital signal data is retained in each category, and different weight values ​​are set for the vital signal data in each category according to the contribution degree to the calculation result.

17. The wearable device according to claim 11, characterized in that: The processor further comprises: Based on the data in the big data platform, statistics are collected on the attribute categories of other users that are within the same preset range as the calculation result, and the statuses of other users corresponding to the attribute categories respectively; The status of the user corresponding to the calculation result is evaluated according to the statuses of other users respectively corresponding to the attribute categories.

18. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Method for screening samples for building prediction model

    CN103177180A

  • On-line real-time short-time traffic flow prediction method

    CN107230349A

  • Adaptive soft measurement prediction method based on Bayesian network with sliding window

    CN107248003A

  • Wearable device for assessing the likelihood of the onset of cardiac arrest and method thereof

    CN107405087A

  • Electrocardiogram multi-disease analysis method based on deep neural network

    CN109394205A