Electronic device and health data ownership identification method

By using historical health data and regression models to automatically identify the ownership of health data in smart health home products, it solves the problem of users tediously distinguishing data ownership and improves operational simplicity and efficiency.

CN114446427BActive Publication Date: 2024-08-23HISENSE GRP HLDG CO LTD
View PDF 13 Cites 0 Cited by

Patent Information

Application Number
CN202111620906.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-28
Publication Date
2024-08-23
Estimated Expiration
2041-12-28

AI Technical Summary

Technical Problem

In smart health home products, when devices are shared between family members, it is difficult for the system to determine the ownership of the measurement data, causing users to be cumbersome in distinguishing health data and affecting the user experience.

Method used

Through the prediction interval of family members' historical health data, confidence and regression models are used to determine the attribution of health data, achieve automatic identification, and simplify user operations.

Benefits of technology

There is no need for users to manually differentiate, and the ownership of health data is automatically determined, which improves the simplicity and efficiency of operation and reduces the risk of misjudgment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114446427B
    Figure CN114446427B
Patent Text Reader

Abstract

The present invention relates to an electronic device and a health data attribution identification method, and relates to the field of family health management technology. The present invention includes: determining multiple prediction intervals according to a preset confidence level and multiple historical health data of each family member belonging to a target data type; if multiple prediction intervals all include the target health data, adjusting the confidence level downward according to a preset step length, and determining a new prediction interval for each family member according to the adjusted confidence level and multiple historical health data, until it is determined that only one target prediction interval includes the target health data; if the prediction interval of each family member does not include the target health data, adjusting the confidence level upward according to a preset step length; determining that the target health data belongs to the family member corresponding to the target prediction interval. Since the present invention can automatically determine the family member corresponding to which prediction interval the target health data belongs, user operations are simplified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of family health management, and in particular to an electronic device and a health data attribution identification method. Background Art

[0002] With the popularity of smart health home products, more and more families are purchasing corresponding products to monitor the health of family members. However, a series of problems are also gradually emerging. The most common and most influential problem for user experience is that since smart health home products are often used for multiple purposes, family members share the equipment. For example, user A in family A uses a smart blood pressure monitor to measure blood pressure data. At this time, if user A does not select that the measured data belongs to user A on the control page, it is difficult for the system to determine whether the data belongs to user A or other users. Currently, users need to distinguish the family members to whom the measured health data belongs, which makes the user operation more cumbersome. Summary of the invention

[0003] The present invention provides an electronic device and a method for identifying the attribution of health data, which can predict intervals based on historical health data of family members and determine which prediction interval the health data belongs to, thereby eliminating the need for users to make the distinction themselves and simplifying user operations.

[0004] In a first aspect, an embodiment of the present invention provides an electronic device for managing family health data, comprising: a receiving unit and a processor;

[0005] The receiving unit is used to receive target health data to be identified;

[0006] The processor is used to determine multiple prediction intervals according to a preset confidence level and multiple historical health data of each family member belonging to a target data type; wherein the target data type is the data type of the target health data to be identified; and the confidence level is the probability that the multiple historical health data of each family member are within the corresponding prediction interval;

[0007] If a plurality of the prediction intervals all include the target health data, the confidence level is adjusted downward according to a preset step size, and a new prediction interval for each family member is determined based on the adjusted confidence level and the plurality of the historical health data, until it is determined that only one target prediction interval includes the target health data;

[0008] If the prediction interval of each family member does not include the target health data, the confidence level is adjusted upward according to a preset step size, and a new prediction interval for each family member is determined based on the adjusted confidence level and the plurality of historical health data, until it is determined that only one target prediction interval includes the target health data;

[0009] Determine that the target health data belongs to the family member corresponding to the target prediction interval.

[0010] The above-mentioned electronic device can determine multiple prediction intervals through preset confidence levels and historical health data of family members, and find only one target prediction interval that includes target health data. In this way, it is determined that the target health data belongs to the family member corresponding to the target prediction interval, thereby automatically determining which prediction interval the health data belongs to without manual assistance, thereby simplifying user operations.

[0011] In a possible implementation manner, the processor is specifically configured to:

[0012] Using a preset confidence level and a plurality of historical health data of each family member belonging to the target data type as inputs of a regression model, and determining a plurality of prediction intervals through the regression model;

[0013] The training process of the regression model includes:

[0014] Taking the sample set as input, taking the prediction interval corresponding to the sample set as the output of the regression model, and training the regression model multiple times;

[0015] Wherein, for any training cycle, the gradient value after any training cycle and the parameters of the regression model after any training cycle are sent to the server;

[0016] Receiving a fusion gradient value and a fusion parameter sent by the server, wherein the fusion gradient value is obtained by the server after fusing the gradient values ​​of multiple electronic devices received; and the fusion parameter is obtained by the server after fusing the fusion gradient value and the parameters sent by the multiple electronic devices received;

[0017] The gradient value after any one training cycle is updated according to the fused gradient value; and the initial parameters of the regression model in the next training cycle are obtained according to the fused parameters and the updated gradient value.

[0018] The above-mentioned electronic device can determine multiple prediction intervals through a regression model, and during the training process, send the gradient value and the parameters of the regression model to the server. The server integrates the gradient values ​​and parameters of multiple electronic devices and then feeds back to the electronic device, so that the electronic device can integrate the gradient values ​​and parameters of other electronic devices, thereby improving the robustness of the regression model.

[0019] In a possible implementation manner, the processor is specifically configured to:

[0020] According to a value obtained by weighting the fused gradient value with a first weight value and a value obtained by weighting the gradient value after any one training cycle with a second weight value, updating the gradient value after any one training cycle;

[0021] If the absolute value of the gradient value after any one training cycle is not less than the absolute value of the fused gradient value, a ratio between the sum of the fused gradient value and the gradient value after any one training cycle and the fused gradient value is used as the second weight, and a difference between the first threshold and the second weight is used as the first weight;

[0022] If the absolute value of the gradient value after any one training cycle is less than the absolute value of the fused gradient value, the ratio of the sum of the fused gradient value and the gradient value after any one training cycle to the gradient value after any one training cycle is used as the second weight, and the difference between the second threshold and the second weight is used as the first weight.

[0023] The electronic device can update the gradient value after any training cycle by weighting the fused gradient value and the gradient value after any training cycle, thereby integrating the gradient values ​​of other devices, thereby improving the robustness of the trained regression model.

[0024] In a possible implementation manner, the processor is specifically configured to:

[0025] Obtaining the initial parameters of the regression model for the next training cycle according to the value obtained by weighting the target difference with the third weight and the value obtained by weighting the fusion parameter with the fourth weight; wherein the difference between the third threshold and the third weight is used as the fourth weight;

[0026] The target difference is the difference between the parameters of the regression model after any one training cycle and the gradient value updated by weighting with the fifth weight.

[0027] The above-mentioned electronic device can determine the initial parameters of the regression model in the next training cycle by fusing the parameters of the regression model after any training cycle and the updated gradient value, so that the parameters can fuse the parameters of other devices, that is, integrate the training results of other devices, thereby improving the robustness of the trained regression model.

[0028] In a possible implementation manner, the processor is further configured to:

[0029] Determining that the number of times the confidence level is adjusted does not exceed a preset number;

[0030] If the number of times the confidence level is adjusted exceeds a preset number, generating a selection page based on the target health data and information of each family member in the family;

[0031] Determine that the target health data belongs to the family member selected by the user in the selection page.

[0032] The above electronic device can determine the number of times to adjust the confidence level, and after the number of confidence level adjustments exceeds a preset number, the user can select the ownership of the target health data, thereby avoiding endless adjustment of the confidence level and improving the processing speed.

[0033] In a second aspect, an embodiment of the present invention provides a health data attribution identification method, which is applied to an electronic device for managing family health data, including:

[0034] Determine multiple prediction intervals according to a preset confidence level and multiple historical health data of each family member belonging to a target data type; wherein the target data type is the data type of the target health data to be identified; and the confidence level is the probability that the multiple historical health data of each family member are within the corresponding prediction interval;

[0035] If a plurality of the prediction intervals all include the target health data, the confidence level is adjusted downward according to a preset step size, and a new prediction interval for each family member is determined based on the adjusted confidence level and the plurality of the historical health data, until it is determined that only one target prediction interval includes the target health data;

[0036] If the prediction interval of each family member does not include the target health data, the confidence level is adjusted upward according to a preset step size, and a new prediction interval for each family member is determined based on the adjusted confidence level and the plurality of historical health data, until it is determined that only one target prediction interval includes the target health data;

[0037] Determine that the target health data belongs to the family member corresponding to the target prediction interval.

[0038] In a possible implementation, multiple prediction intervals are determined based on a preset confidence level and multiple historical health data of each family member belonging to the target data type, including:

[0039] Using a preset confidence level and a plurality of historical health data of each family member belonging to the target data type as inputs of a regression model, and determining a plurality of prediction intervals through the regression model;

[0040] The training process of the regression model includes:

[0041] Taking the sample set as input, taking the prediction interval corresponding to the sample set as the output of the regression model, and training the regression model multiple times;

[0042] Wherein, for any training cycle, the gradient value after any training cycle and the parameters of the regression model after any training cycle are sent to the server;

[0043] Receiving a fusion gradient value and a fusion parameter sent by the server, wherein the fusion gradient value is obtained by the server after fusing the gradient values ​​of multiple electronic devices received; and the fusion parameter is obtained by the server after fusing the fusion gradient value and the parameters sent by the multiple electronic devices received;

[0044] The gradient value after any one training cycle is updated according to the fused gradient value; and the initial parameters of the regression model in the next training cycle are obtained according to the fused parameters and the updated gradient value.

[0045] In a possible implementation, updating the gradient value after any one training cycle according to the fused gradient value includes:

[0046] According to a value obtained by weighting the fused gradient value with a first weight value and a value obtained by weighting the gradient value after any one training cycle with a second weight value, updating the gradient value after any one training cycle;

[0047] If the absolute value of the gradient value after any one training cycle is not less than the absolute value of the fused gradient value, a ratio between the sum of the fused gradient value and the gradient value after any one training cycle and the fused gradient value is used as the second weight, and a difference between the first threshold and the second weight is used as the first weight;

[0048] If the absolute value of the gradient value after any one training cycle is less than the absolute value of the fused gradient value, the ratio of the sum of the fused gradient value and the gradient value after any one training cycle to the gradient value after any one training cycle is used as the second weight, and the difference between the second threshold and the second weight is used as the first weight.

[0049] In a possible implementation, the initial parameters of the regression model in the next training cycle are obtained according to the fusion parameters and the updated gradient value, including:

[0050] Obtaining the initial parameters of the regression model for the next training cycle according to the value obtained by weighting the target difference with the third weight and the value obtained by weighting the fusion parameter with the fourth weight; wherein the difference between the third threshold and the third weight is used as the fourth weight;

[0051] The target difference is the difference between the parameters of the regression model after any one training cycle and the gradient value updated by weighting with the fifth weight.

[0052] In a possible implementation manner, before adjusting the confidence level, the method further includes:

[0053] Determining that the number of times the confidence level is adjusted does not exceed a preset number;

[0054] If the number of times the confidence level is adjusted exceeds a preset number, generating a selection page based on the target health data and information of each family member in the family;

[0055] Determine that the target health data belongs to the family member selected by the user in the selection page.

[0056] In a third aspect, the present application also provides a computer storage medium on which a computer program is stored, and when the program is executed by a processing unit, the steps of the health data attribution identification method described in the second aspect are implemented.

[0057] In addition, the technical effects brought about by any implementation method in the second to third aspects can refer to the technical effects brought about by different implementation methods in the first aspect, and will not be repeated here.

[0058] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] The accompanying drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present invention, and together with the description are used to explain the principles of the present invention, and do not constitute improper limitations of the present invention.

[0060] Figure 1 is a schematic diagram of a system for identifying health data attribution provided by an embodiment of the present invention;

[0061] Figure 2 is a flow chart of a health data attribution identification method provided by an embodiment of the present invention;

[0062] Figure 3 is a schematic diagram of a regression model training process provided by an embodiment of the present invention;

[0063] Figure 4 It is a structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0064] In order to enable ordinary persons in the art to better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings.

[0065] It should be noted that the embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are only examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0066] The application scenarios described in the embodiments of the present invention are intended to more clearly illustrate the technical solutions of the embodiments of the present invention, and do not constitute a limitation on the technical solutions provided by the embodiments of the present invention. A person of ordinary skill in the art can appreciate that, with the emergence of new application scenarios, the technical solutions provided by the embodiments of the present invention are also applicable to similar technical problems.

[0067] At present, when health devices detect health data at home, it is often difficult to determine the ownership of the data. In this regard, the present invention proposes an electronic device and a health data ownership identification method, which can find out which prediction interval the health data belongs to by predicting the prediction interval corresponding to each family member, thereby eliminating the need for users to distinguish the data themselves and simplifying user operations.

[0068] For example, when the family members include user a and user b, combined Figure 1 As shown, the weight scale 103, the sphygmomanometer 102, and the blood glucose meter 101 are connected to the electronic device 100. When the weight scale 103 detects the weight, the prediction interval of user a is determined according to the preset confidence and multiple historical health data of user a belonging to the target data type; the prediction interval of user b is determined according to the preset confidence and multiple historical health data of user b belonging to the target data type; it is judged whether the weight belongs to the prediction interval of user a or the prediction interval of user b; if the weight does not belong to the prediction interval of user a and does not belong to the prediction interval of user b, the confidence is adjusted upward according to the preset step size, that is, the prediction interval is increased, until it is determined that only one target prediction interval includes the weight; if it belongs to the prediction interval of user a and the prediction interval of user b, the confidence is adjusted downward according to the preset step size, that is, the prediction interval is reduced, until it is determined that only one target prediction interval includes the weight; if the target prediction interval is the prediction interval of user b, the weight belongs to user b, and if the target prediction interval is the prediction interval of user a, the weight belongs to user a.

[0069] And so on, the health data measured by the blood pressure meter 102 and the blood glucose meter 101.

[0070] The following is a detailed introduction with reference to the accompanying drawings.

[0071] Combination Figure 2As shown, an embodiment of the present invention provides a health data attribution identification method, including:

[0072] S200: determining multiple prediction intervals according to a preset confidence level and multiple historical health data of each family member belonging to the target data type;

[0073] Among them, the target data type is the data type of the target health data to be identified; the confidence level is the probability that multiple historical health data of each family member are within the corresponding prediction interval;

[0074] The target health data to be identified is obtained by:

[0075] Receive target health data sent by health devices; or

[0076] Receive target health data input by the user.

[0077] Combination Figure 1 As shown, if the weight scale 103 detects the weight, it is sent to the electronic device; if the blood pressure meter 102 detects the weight, it is sent to the electronic device; if the blood sugar meter 101 detects the weight, it is sent to the electronic device.

[0078] The electronic device includes a display and an input unit. The display of the electronic device displays weight, blood pressure, blood sugar, etc. The user inputs weight, blood pressure, blood sugar, etc. through the input unit, so that the electronic device can obtain target health data.

[0079] The multiple prediction intervals can be determined by a regression model, that is, a preset confidence level and multiple historical health data of each family member belonging to the target data type are used as inputs of the regression model, and the multiple prediction intervals are determined by the regression model;

[0080] For example, family members include user a and user b. The preset confidence level and multiple historical health data of user a are used as inputs to the regression model, and the prediction interval of user a is determined through the regression model; the preset confidence level and multiple historical health data of user b are used as inputs to the regression model, and the prediction interval of user b is determined through the regression model.

[0081] S201: If multiple prediction intervals all include the target health data, adjust the confidence downward according to a preset step size, and determine a new prediction interval for each family member based on the adjusted confidence and multiple historical health data, until it is determined that only one target prediction interval includes the target health data;

[0082] In detail, multiple prediction intervals all include the target health data, that is, the prediction interval range is relatively large, then according to the preset step size, the confidence is adjusted downward to make the prediction interval range smaller, until it is adjusted to only one prediction interval including the target health data.

[0083] For example, the preset step size is 0.5%, the data type of the target health data is weight; the preset confidence level is 95%, and the determined prediction interval is (Y AL ,Y AH ) and (Y BL ,Y BH ), if the weight data falls within the multi-person range, such as (Y AL ,Y AH ) and (Y BL ,Y BH ), then lower the confidence level to 94.5% and calculate the prediction interval (Y AL0.9,45 ,Y AH0.945 ) and (Y BL0.945 ,Y BH0.945 ) until it can be distinguished, such as when the confidence level is 90%, the target health data falls into (Y AL0.90 ,Y AH0.90 ), but not in the interval (Y BL0.90 ,Y BH0.90 ), then stop lowering the confidence, (Y AL0.90 ,Y AH0.90 ) is the prediction interval of user a, then the target health data is user a.

[0084] S202: If the prediction interval of each family member does not include the target health data, adjust the confidence upward according to a preset step size, and determine a new prediction interval for each family member based on the adjusted confidence and multiple historical health data, until it is determined that only one target prediction interval includes the target health data;

[0085] In detail, if multiple prediction intervals do not include the target health data, that is, the prediction interval range is relatively small, then the confidence level is adjusted upward according to the preset step size to make the prediction interval range larger, until only one prediction interval is adjusted to include the target health data.

[0086] S203: Determine that the target health data belongs to the family member corresponding to the target prediction interval.

[0087] Among them, the training process of the regression model includes:

[0088] The sample set is used as input, and the prediction interval corresponding to the sample set is used as the output of the regression model, and the regression model is trained multiple times;

[0089] Wherein, for any training cycle, the gradient value after any training cycle and the parameters of the regression model after any training cycle are sent to the server;

[0090] Receiving a fusion gradient value and a fusion parameter sent by a server, wherein the fusion gradient value is obtained by the server after fusing the gradient values ​​of multiple electronic devices received; and the fusion parameter is obtained by the server after fusing the fusion gradient value and the parameters sent by the multiple electronic devices received;

[0091] The gradient value after any training cycle is updated according to the fused gradient value; and the initial parameters of the regression model of the next training cycle are obtained according to the fused parameters and the updated gradient value.

[0092] Among them, the gradient value after any training cycle is updated according to the fused gradient value, including:

[0093] According to the value obtained by weighting the fused gradient value with the first weight value, and the value obtained by weighting the gradient value after any training cycle with the second weight value, the gradient value after any training cycle is updated;

[0094] If the absolute value of the gradient value after any training cycle is not less than the absolute value of the fused gradient value, the ratio between the sum of the fused gradient value and the gradient value after any training cycle and the fused gradient value is used as the second weight, and the difference between the first threshold and the second weight is used as the first weight;

[0095] If the absolute value of the gradient value after any training cycle is less than the absolute value of the fused gradient value, the ratio of the sum of the fused gradient value and the gradient value after any training cycle to the gradient value after any training cycle is used as the second weight, and the difference between the second threshold and the second weight is used as the first weight.

[0096] Among them, according to the fusion parameters and the updated gradient value, the initial parameters of the regression model for the next training cycle are obtained, including:

[0097] Obtaining initial parameters of the regression model for the next training cycle according to the value obtained by weighting the target difference using the third weight and the value obtained by weighting the fusion parameter using the fourth weight; wherein the difference between the third threshold and the third weight is used as the fourth weight;

[0098] The target difference is the difference between the parameters of the regression model after any training cycle and the gradient value after weighting and updating using the fifth weight.

[0099] Combination Figure 3 As shown, when the electronic device trains the regression model, the server 300 is used for fusion.

[0100] For the prediction algorithm model training process of federated learning involved in the fusion process, the application scenario of the present invention is the family scenario, and the family is used as the training and use unit for each regression model. And from the perspective of data protection, only the model gradient of each training unit is transmitted and received. Due to different data amounts and different data contributions, the model gradient descent speed is different.

[0101] For each family, the health data detected by the health devices in the home are sent to the electronic device 100. In order to ensure data security, the electronic device 100 can first encrypt the data and save it, and then use the encrypted data for model training. Then, the server is used for fusion during training.

[0102] The following steps are the process after a training cycle of federated learning is completed:

[0103] The electronic device 100 uses the historically collected data to train the regression model. After a training cycle is completed, the parameter gradient g of the current regression model is calculated. ti .

[0104] The server 300 receives the gradient {g ti}, where i=1,..,nn represents the number of units (home users) participating in the training; that is, the number of electronic devices;

[0105] Model gradient of server 300 in this round of training Among them, g tmin represents the minimum gradient of the gradients sent by multiple electronic devices, g tmax Indicates the maximum gradient of the gradients sent among multiple electronic devices.

[0106] The model parameter of server 300 in this round of training is W ti+1 =W ti -α*g t , where the hyperparameter α is the learning rate, which needs to be set uniformly. ti W is the parameter of this round of training sent by electronic device i; ti+1 are the parameters of the fused electronic device i.

[0107] In other words, the above formula is used to calculate the parameters of each electronic device after fusion.

[0108] After merging, the server 300 will merge the merged parameters W t+1 and the model gradient g t Transmitted back to each electronic device.

[0109] The global parameter g passed back tIt is the result of fusing the gradients of other models. It is a necessary operation to prevent the model from underfitting due to a small number of training samples. In addition, in order to highlight the difference between the local model and the model of other training ends, the electronic device receives the fusion parameter W fed back by the server 300. t+1 And the fusion gradient value g t ;

[0110] Calculate the local fusion gradient, g ti融合 =α1*g ti +α2*g t , where α1+α2=1.

[0111]

[0112] Among them, g ti is the gradient value of the electronic device after this training, g ti融合 is the updated gradient value;

[0113] The second weight described above is α1, the first weight is α2; the first threshold and the second threshold are both 1.

[0114] The formula for calculating the initial parameters of the regression model in the next training cycle is:

[0115] W ti+1 =β*(W ti -α*g ti融合 )+(1-β)W t+1

[0116] Among them, the hyperparameter α is the learning rate, and the β coefficient in this step is an artificially set model parameter fusion hyperparameter, the main purpose of which is to prevent the model from underfitting.

[0117] The third weight introduced above is β, and the fourth weight is 1-β.

[0118] Each electronic device is trained for multiple rounds of training cycles according to the above process until the loss function in the electronic device is minimized, that is, the training is completed.

[0119] It should be noted that, first, the model training process is not real-time, and only the model needs to be updated and retrained regularly. Second, the model here does not specify a specific algorithm model. This is because the data types of the results measured by different devices are inconsistent. For example, the weight measured by a body fat scale is a continuous data, while the monitoring results of a home smart detector are binary data such as negative or positive. The use of different models for prediction of different data types is determined by the data, and it is obviously not appropriate to specify a specific algorithm here.

[0120] Before adjusting the confidence level, the method further includes:

[0121] Determining that the number of times the confidence level is adjusted does not exceed a preset number;

[0122] If the number of times the confidence is adjusted exceeds a preset number, a selection page is generated based on the target health data and the information of each family member in the family;

[0123] It is determined that the target health data belongs to the family member selected by the user in the selection page.

[0124] In detail, whether the confidence level is adjusted upward or downward, the number of times the confidence level is adjusted will be counted, and then a determination will be made as to whether the number of times the confidence level is adjusted exceeds a preset number. If the number of times the confidence level is adjusted does not exceed a preset number, the confidence level will continue to be adjusted. If the number of times the confidence level is adjusted exceeds a preset number, a selection page will be generated based on the target health data and the information of each family member in the family. For example, if the family members include user a and user b, then the selection page will include user a and user b. If the user selects user b, it will be determined that the target health data belongs to user b.

[0125] Based on the above-mentioned health data attribution identification method, an embodiment of the present invention further provides a health data attribution identification device, including:

[0126] A prediction module, used to determine multiple prediction intervals according to a preset confidence level and multiple historical health data of each family member belonging to a target data type; wherein the target data type is the data type of the target health data to be identified; and the confidence level is the probability that the multiple historical health data of each family member are within the corresponding prediction interval;

[0127] A determination module, configured to adjust the confidence level downward according to a preset step size if multiple prediction intervals all include the target health data, and determine a new prediction interval for each family member based on the adjusted confidence level and multiple historical health data, until it is determined that only one target prediction interval includes the target health data;

[0128] If the prediction interval of each family member does not include the target health data, the confidence level is adjusted upward according to a preset step size, and a new prediction interval for each family member is determined based on the adjusted confidence level and the plurality of historical health data, until it is determined that only one target prediction interval includes the target health data;

[0129] Determine that the target health data belongs to the family member corresponding to the target prediction interval.

[0130] Optional, prediction module, specifically used for:

[0131] Using a preset confidence level and a plurality of historical health data of each family member belonging to the target data type as inputs of a regression model, and determining a plurality of prediction intervals through the regression model;

[0132] The training process of the regression model includes:

[0133] Taking the sample set as input, taking the prediction interval corresponding to the sample set as the output of the regression model, and training the regression model multiple times;

[0134] Wherein, for any training cycle, the gradient value after any training cycle and the parameters of the regression model after any training cycle are sent to the server;

[0135] Receiving a fusion gradient value and a fusion parameter sent by the server, wherein the fusion gradient value is obtained by the server after fusing the gradient values ​​of multiple electronic devices received; and the fusion parameter is obtained by the server after fusing the fusion gradient value and the parameters sent by the multiple electronic devices received;

[0136] The gradient value after any one training cycle is updated according to the fused gradient value; and the initial parameters of the regression model in the next training cycle are obtained according to the fused parameters and the updated gradient value.

[0137] Optional, prediction module, specifically used for:

[0138] According to a value obtained by weighting the fused gradient value with a first weight value and a value obtained by weighting the gradient value after any one training cycle with a second weight value, updating the gradient value after any one training cycle;

[0139] If the absolute value of the gradient value after any one training cycle is not less than the absolute value of the fused gradient value, a ratio between the sum of the fused gradient value and the gradient value after any one training cycle and the fused gradient value is used as the second weight, and a difference between the first threshold and the second weight is used as the first weight;

[0140] If the absolute value of the gradient value after any one training cycle is less than the absolute value of the fused gradient value, the ratio of the sum of the fused gradient value and the gradient value after any one training cycle to the gradient value after any one training cycle is used as the second weight, and the difference between the second threshold and the second weight is used as the first weight.

[0141] Optional, prediction module, specifically used for:

[0142] Obtaining the initial parameters of the regression model for the next training cycle according to the value obtained by weighting the target difference with the third weight and the value obtained by weighting the fusion parameter with the fourth weight; wherein the difference between the third threshold and the third weight is used as the fourth weight;

[0143] The target difference is the difference between the parameters of the regression model after any one training cycle and the gradient value updated by weighting with the fifth weight.

[0144] Optionally, the determining module is further used to:

[0145] Determining that the number of times the confidence level is adjusted does not exceed a preset number;

[0146] If the number of times the confidence level is adjusted exceeds a preset number, generating a selection page based on the target health data and information of each family member in the family;

[0147] Determine that the target health data belongs to the family member selected by the user in the selection page.

[0148] An embodiment of the present invention provides an electronic device for managing family health data, comprising: a receiving unit and a processor;

[0149] The receiving unit is used to receive target health data to be identified;

[0150] The processor is used to determine multiple prediction intervals according to a preset confidence level and multiple historical health data of each family member belonging to a target data type; wherein the target data type is the data type of the target health data to be identified; and the confidence level is the probability that the multiple historical health data of each family member are within the corresponding prediction interval;

[0151] If a plurality of the prediction intervals all include the target health data, the confidence level is adjusted downward according to a preset step size, and a new prediction interval for each family member is determined based on the adjusted confidence level and the plurality of the historical health data, until it is determined that only one target prediction interval includes the target health data;

[0152] If the prediction interval of each family member does not include the target health data, the confidence level is adjusted upward according to a preset step size, and a new prediction interval for each family member is determined based on the adjusted confidence level and the plurality of historical health data, until it is determined that only one target prediction interval includes the target health data;

[0153] Determine that the target health data belongs to the family member corresponding to the target prediction interval.

[0154] Optionally, the processor is specifically configured to:

[0155] Using a preset confidence level and a plurality of historical health data of each family member belonging to the target data type as inputs of a regression model, and determining a plurality of prediction intervals through the regression model;

[0156] The training process of the regression model includes:

[0157] Taking the sample set as input, taking the prediction interval corresponding to the sample set as the output of the regression model, and training the regression model multiple times;

[0158] Wherein, for any training cycle, the gradient value after any training cycle and the parameters of the regression model after any training cycle are sent to the server;

[0159] Receiving a fusion gradient value and a fusion parameter sent by the server, wherein the fusion gradient value is obtained by the server after fusing the gradient values ​​of multiple electronic devices received; and the fusion parameter is obtained by the server after fusing the fusion gradient value and the parameters sent by the multiple electronic devices received;

[0160] The gradient value after any one training cycle is updated according to the fused gradient value; and the initial parameters of the regression model in the next training cycle are obtained according to the fused parameters and the updated gradient value.

[0161] Optionally, the processor is specifically configured to:

[0162] According to a value obtained by weighting the fused gradient value with a first weight value and a value obtained by weighting the gradient value after any one training cycle with a second weight value, updating the gradient value after any one training cycle;

[0163] If the absolute value of the gradient value after any one training cycle is not less than the absolute value of the fused gradient value, a ratio between the sum of the fused gradient value and the gradient value after any one training cycle and the fused gradient value is used as the second weight, and a difference between the first threshold and the second weight is used as the first weight;

[0164] If the absolute value of the gradient value after any one training cycle is less than the absolute value of the fused gradient value, the ratio of the sum of the fused gradient value and the gradient value after any one training cycle to the gradient value after any one training cycle is used as the second weight, and the difference between the second threshold and the second weight is used as the first weight.

[0165] Optionally, the processor is specifically configured to:

[0166] Obtaining the initial parameters of the regression model for the next training cycle according to the value obtained by weighting the target difference with the third weight and the value obtained by weighting the fusion parameter with the fourth weight; wherein the difference between the third threshold and the third weight is used as the fourth weight;

[0167] The target difference is the difference between the parameters of the regression model after any one training cycle and the gradient value updated by weighting with the fifth weight.

[0168] Optionally, the processor is further configured to:

[0169] Determining that the number of times the confidence level is adjusted does not exceed a preset number;

[0170] If the number of times the confidence level is adjusted exceeds a preset number, generating a selection page based on the target health data and information of each family member in the family;

[0171] Determine that the target health data belongs to the family member selected by the user in the selection page.

[0172] For example, Figure 4 A schematic structural diagram of an electronic device 100 is shown.

[0173] The following is a detailed description of the embodiment using the electronic device 100 as an example. It should be understood that: Figure 4 The electronic device 100 shown is only an example, and the electronic device 100 may have more Figure 4 The more or less components shown in the figure can be combined with two or more components, or can have different component configurations. The various components shown in the figure can be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and / or application specific integrated circuits.

[0174] Figure 4 FIG. 1 is a block diagram showing a hardware configuration of an electronic device 100 according to an exemplary embodiment. Figure 4 As shown, the electronic device 100 includes: a memory 410, a display unit 420, a wireless fidelity (Wireless Fidelity, Wi-Fi) module 430, a processor 440, a Bluetooth module 450, and a power supply 460 and other components.

[0175] The memory 410 can be used to store software programs and data. The processor 440 executes various functions and data processing of the electronic device 100 by running the software programs or data stored in the memory 410. The memory 410 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. The memory 410 stores an operating system that enables the electronic device 100 to run. In the present application, the memory 410 can store an operating system and various application programs, and can also store code for executing the method described in the embodiment of the present application.

[0176] The display unit 420 may be used to receive input digital or character information and generate signal input related to user settings and function control of the electronic device 100. Specifically, the display unit 420 may include a touch screen 421 disposed on the front of the electronic device 100, which may collect user touch operations on or near it, such as clicking a button, dragging a scroll box, etc.

[0177] The display unit 420 can also be used to display information input by the user or information provided to the user and a graphical user interface (GUI) of various menus of the display unit. Specifically, the display unit 420 may include a display screen 422 disposed on the front of the electronic device 100. The display screen 422 may be configured in the form of a liquid crystal display, a light emitting diode, etc. The display unit 420 may be used to display various graphical user interfaces described in this application.

[0178] The touch screen 421 may cover the display screen 422, or the touch screen 421 and the display screen 422 may be integrated to realize the input and output functions of the electronic device 100, and the integrated touch screen may be referred to as a touch display screen. In the present application, the display unit 420 may display the application and the corresponding operation steps.

[0179] Wi-Fi is a short-range wireless transmission technology. The electronic device 100 can help users send and receive emails, browse web pages, and access streaming media through the Wi-Fi module 430, which provides users with wireless broadband Internet access.

[0180] The processor 440 is the control center of the electronic device 100. It uses various interfaces and lines to connect various parts of the entire terminal. It executes various functions of the electronic device 100 and processes data by running or executing software programs stored in the memory 410 and calling data stored in the memory 410. In some embodiments, the processor 440 may include one or more processing units; the processor 440 may also integrate an application processor and a baseband processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the baseband processor mainly processes wireless communications. It is understandable that the above-mentioned baseband processor may not be integrated into the processor 440. In this application, the processor 440 can run the operating system, application programs, user interface display and touch response, as well as the processing method described in the embodiment of the present application. In addition, the processor 440 is coupled to the display unit 420.

[0181] The Bluetooth module 450 is used to exchange information with other Bluetooth devices having a Bluetooth module through the Bluetooth protocol. For example, the electronic device 100 can establish a Bluetooth connection with a health detection device that also has a Bluetooth module through the Bluetooth module 450, so that the health detection device can send the detected target health data to the electronic device 100 through the Bluetooth module.

[0182] The electronic device 100 also includes a power supply 460 (such as a battery) for supplying power to various components. The power supply can be logically connected to the processor 440 through a power management system, so that the power management system can manage functions such as charging, discharging, and power consumption. The electronic device 100 can also be configured with a power button for turning on and off the terminal, as well as locking the screen and other functions.

[0183] In an exemplary embodiment, a storage medium including instructions is also provided, such as a memory including instructions, and the above instructions can be executed by a processor of an electronic device to complete the health data attribution identification method. Optionally, the storage medium can be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.

[0184] An embodiment of the present invention further provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes any one of the above-mentioned health data attribution identification methods of the embodiments of the present invention.

[0185] Those skilled in the art will readily appreciate other embodiments of the invention after considering the specification and practicing the invention invented herein. The invention is intended to cover any variations, uses or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not invented by the present invention. The description and examples are to be regarded as exemplary only, and the true scope and spirit of the invention are indicated by the following claims.

[0186] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. An electronic device for managing family health data, characterized in that: include: a receiving unit and a processor; The receiving unit is used to receive target health data to be identified; The processor is used to determine multiple prediction intervals according to a preset confidence level and multiple historical health data of each family member belonging to a target data type; wherein the target data type is the data type of the target health data to be identified; and the confidence level is the probability that the multiple historical health data of each family member are within the corresponding prediction interval; If a plurality of the prediction intervals all include the target health data, the confidence level is adjusted downward according to a preset step size, and a new prediction interval for each family member is determined based on the adjusted confidence level and the plurality of the historical health data, until it is determined that only one target prediction interval includes the target health data; If the prediction interval of each family member does not include the target health data, the confidence level is adjusted upward according to a preset step size, and a new prediction interval for each family member is determined based on the adjusted confidence level and the plurality of historical health data, until it is determined that only one target prediction interval includes the target health data; Determining that the target health data belongs to a family member corresponding to the target prediction interval; Using a preset confidence level and a plurality of historical health data of each family member belonging to the target data type as inputs of a regression model, and determining a plurality of prediction intervals through the regression model; The training process of the regression model includes: Taking the sample set as input, taking the prediction interval corresponding to the sample set as the output of the regression model, and training the regression model multiple times; Wherein, for any training cycle, the gradient value after any training cycle and the parameters of the regression model after any training cycle are sent to the server; Receiving a fusion gradient value and a fusion parameter sent by the server, wherein the fusion gradient value is obtained by the server after fusing the gradient values ​​of multiple electronic devices received; and the fusion parameter is obtained by the server after fusing the fusion gradient value and the parameters sent by the multiple electronic devices received; The gradient value after any one training cycle is updated according to the fused gradient value; and the initial parameters of the regression model in the next training cycle are obtained according to the fused parameters and the updated gradient value.

2. The electronic device according to claim 1, characterized in that: The processor is specifically used for: According to a value obtained by weighting the fused gradient value with a first weight value and a value obtained by weighting the gradient value after any one training cycle with a second weight value, updating the gradient value after any one training cycle; If the absolute value of the gradient value after any one training cycle is not less than the absolute value of the fused gradient value, a ratio between the sum of the fused gradient value and the gradient value after any one training cycle and the fused gradient value is used as the second weight, and a difference between the first threshold and the second weight is used as the first weight; If the absolute value of the gradient value after any one training cycle is less than the absolute value of the fused gradient value, the ratio of the sum of the fused gradient value and the gradient value after any one training cycle to the gradient value after any one training cycle is used as the second weight, and the difference between the second threshold and the second weight is used as the first weight.

3. The electronic device according to claim 1, characterized in that: The processor is specifically used for: Obtaining the initial parameters of the regression model for the next training cycle according to the value obtained by weighting the target difference with the third weight and the value obtained by weighting the fusion parameter with the fourth weight; wherein the difference between the third threshold and the third weight is used as the fourth weight; The target difference is the difference between the parameters of the regression model after any one training cycle and the gradient value updated by weighting with the fifth weight.

4. The electronic device according to any one of claims 1 to 3, characterized in that: The processor is further configured to: Determining that the number of times the confidence level is adjusted does not exceed a preset number; If the number of times the confidence level is adjusted exceeds a preset number, generating a selection page based on the target health data and information of each family member in the family; Determine that the target health data belongs to the family member selected by the user in the selection page.

5. A method for identifying the ownership of health data, characterized in that: Applicable to electronic devices used for home health data management, including: Determine multiple prediction intervals according to a preset confidence level and multiple historical health data of each family member belonging to a target data type; wherein the target data type is the data type of the target health data to be identified; and the confidence level is the probability that the multiple historical health data of each family member are within the corresponding prediction interval; If a plurality of the prediction intervals all include the target health data, the confidence level is adjusted downward according to a preset step size, and a new prediction interval for each family member is determined based on the adjusted confidence level and the plurality of the historical health data, until it is determined that only one target prediction interval includes the target health data; If the prediction interval of each family member does not include the target health data, the confidence level is adjusted upward according to a preset step size, and a new prediction interval for each family member is determined based on the adjusted confidence level and the plurality of historical health data, until it is determined that only one target prediction interval includes the target health data; Determining that the target health data belongs to a family member corresponding to the target prediction interval; Based on the preset confidence level and multiple historical health data of each family member belonging to the target data type, multiple prediction intervals are determined, including: Using a preset confidence level and a plurality of historical health data of each family member belonging to the target data type as inputs of a regression model, and determining a plurality of prediction intervals through the regression model; The training process of the regression model includes: Taking the sample set as input, taking the prediction interval corresponding to the sample set as the output of the regression model, and training the regression model multiple times; Wherein, for any training cycle, the gradient value after any training cycle and the parameters of the regression model after any training cycle are sent to the server; Receiving a fusion gradient value and a fusion parameter sent by the server, wherein the fusion gradient value is obtained by the server after fusing the gradient values ​​of multiple electronic devices received; and the fusion parameter is obtained by the server after fusing the fusion gradient value and the parameters sent by the multiple electronic devices received; The gradient value after any one training cycle is updated according to the fused gradient value; and the initial parameters of the regression model in the next training cycle are obtained according to the fused parameters and the updated gradient value.

6. The health data attribution identification method according to claim 5, characterized in that: Updating the gradient value after any one training cycle according to the fused gradient value includes: According to a value obtained by weighting the fused gradient value with a first weight value and a value obtained by weighting the gradient value after any one training cycle with a second weight value, updating the gradient value after any one training cycle; If the absolute value of the gradient value after any one training cycle is not less than the absolute value of the fused gradient value, a ratio between the sum of the fused gradient value and the gradient value after any one training cycle and the fused gradient value is used as the second weight, and a difference between the first threshold and the second weight is used as the first weight; If the absolute value of the gradient value after any one training cycle is less than the absolute value of the fused gradient value, the ratio of the sum of the fused gradient value and the gradient value after any one training cycle to the gradient value after any one training cycle is used as the second weight, and the difference between the second threshold and the second weight is used as the first weight.

7. The health data attribution identification method according to claim 5, characterized in that: According to the fusion parameters and the updated gradient value, the initial parameters of the regression model for the next training cycle are obtained, including: Obtaining the initial parameters of the regression model for the next training cycle according to the value obtained by weighting the target difference with the third weight and the value obtained by weighting the fusion parameter with the fourth weight; wherein the difference between the third threshold and the third weight is used as the fourth weight; The target difference is the difference between the parameters of the regression model after any one training cycle and the gradient value updated by weighting with the fifth weight.

8. The health data attribution identification method according to any one of claims 5 to 7, characterized in that: Before adjusting the confidence level, the method further includes: Determining that the number of times the confidence level is adjusted does not exceed a preset number; If the number of times the confidence level is adjusted exceeds a preset number, generating a selection page based on the target health data and information of each family member in the family; Determine that the target health data belongs to the family member selected by the user in the selection page.

Citation Information

Patent Citations

  • Wireless family health system capable of being recognized by user and recognizing method of wireless family health system

    CN102509014A

  • GPRS hemopiezometer with function of identity recognition

    CN103263259A

  • Weight information acquisition method, device and system

    CN104457955A

  • Method, device and system for providing health data

    CN105488348A

  • Recognition method and device for household user

    CN106658564A