The disclosure relates in general to a diet ingestion analyzing system and a diet ingestion analyzing method.
Chronic condition is known as lifestyle diseases in Japanese. It is because the chronic condition including the hypertension, heart disease, diabetes or cancer is strongly related to life style. Research by Taiwan Food and Drug Administration, Ministry of Health and Welfare discloses that with the patients with chronic diseases increases every year, 70 percent of the top ten cause of death is chronic condition, and the control and management of the chronic condition becomes the major concern for public's health. Therefore, the course of chronic disease may be delayed or improved by guiding and adjusting the eating habits of the user. Thus, in order to prevent from the chronic condition or to keep in good health, it is necessary to observe the eating types of a person and to help controlling the person's diet. The traditional diet managing method is to record the diet records of the person and to controll diet according to the nutrition recommendation suggested by a dietitian or a doctor. However, the traditional diet managing method may not be adjusted according to personal eating habits and the traditional diet managing method does not analyze the food causing exceeding the nutrition amounts of the personal diet, and it is not convenient for the dietitian or the doctor to provide dietary suggestion according to personal eating habits. As a result, it is needed to provide a method and a system for constructing a personal diet model and marking an abnormal food according to personal diet record.
According to one embodiment, a diet ingestion analyzing system is provided. The diet ingestion analyzing system includes a diet nutrition converting unit, a nutrition ingestion ratio distributing unit, a nutrition ingestion abnormality marking unit, and a diet model constructing unit. The diet nutrition converting unit calculates a plurality of nutrition amounts corresponding to a plurality of diet records according to the plurality of diet records and a food nutrition database. Each of the diet records comprises an eating time point, a food and a quantity of the food. The ratio nutrition ingestion calculating unit obtains a plurality of specific diet records corresponding a specific time from the diet records according to the eating time points of the diet records. The nutrition ingestion nutrition ingestion ratio distributing unit generates a nutrition ingestion ratio of a total of a plurality of nutrition amounts of the specific diet records to a total of the nutrition amounts of the diet records. The nutrition ingestion ratio distributing unit further generates a nutrition recommendation according to a nutrition recommended range and the nutrition ingestion ratio. The nutrition ingestion abnormality marking unit selects a plurality of selected records from the plurality of specific diet records. The nutrition ingestion abnormality marking unit determines whether each of a plurality of nutrition amounts of the selected records is abnormal or not according to the nutrition recommendation. The diet model constructing unit constructs a diet model and marks an abnormal food according to the selected records and whether the nutrition amounts of each of the selected records is abnormal or not.
According to another embodiment, a diet ingestion analyzing method is provided. The diet ingestion analyzing method includes the following steps. A plurality of nutrition amounts of a plurality of diet records corresponding to a plurality of diet records are calculated according to the plurality of diet records and a food nutrition database. Each of the diet records comprises an eating time point, a food and a quantity of the food. A plurality of specific diet records corresponding a specific time are obtained from the diet records according to the eating time points of the diet records. A nutrition ingestion ratio of a total of a plurality of nutrition amounts of the specific diet records to a total of the nutrition amounts of the diet records is generated. A nutrition recommendation is generated according to a nutrition recommended range and the nutrition ingestion ratio. A plurality of selected records are selected from the specific diet records. Whether each of a plurality of nutrition amounts of the selected records is abnormal or not is determined according to the nutrition recommendation. A diet model is constructed and an abnormal food is marked according to the selected records and whether the nutrition amounts of each of the selected records is abnormal or not.
The above and other aspects of the invention will become better understood with regard to the following detailed description of the preferred but non-limiting embodiment(s). The following description is made with reference to the accompanying drawings.
In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the disclosed embodiments. It will be apparent, however, that one or more embodiments may be practiced without these specific details. In other instances, well-known structures and devices are schematically shown in order to simplify the drawing.
For example, the diet ingestion analyzing system 100 may be implemented by a computer or software. The diet ingestion analyzing system 100 may receive a plurality of diet records inputted or selected by the user, and may generate a diet model and mark an abnormal food accordingly. Each of the diet records includes an eating time point, a food and a quantity of the food. For instance, a diet record of the breakfast on August 1 may be recorded as “eating time point: 8/1 8:20, food and quantity: one bread and one glass of milk.” The diet nutrition converting unit 110 calculates the nutrition amounts NV of each of the diet records according to each of the diet records and the food nutrition database. The food nutrition database may be the database provided by Taiwan Food and Drug Administration, Ministry of Health and Welfare. The food nutrition database may include a table showing various foods and the multiple nutrition corresponding to each food, e.g. the calories, water, protein, fat, carbohydrate, vitamin, and mineral of one papaya. The food nutrition database may also be established by the user. In this embodiment, the diet nutrition converting unit 110 may calculate the nutrition amounts of carbohydrate. However, the disclosure is not limited thereto, and the diet nutrition converting unit 110 may calculate other types of nutrition.
Afterwards, the nutrition ingestion ratio distributing unit 120 selects or inputs a specific time, e.g. breakfast time or 8:00-12:00 A.M., to obtain the specific diet records from the diet records, the eating time point of which is in the specific time, such as the diet record in breakfast. The nutrition ingestion ratio distributing unit 120 sums up all of the nutrition amounts of the specific diet records, i.e. all of the nutrition amounts of the diet records in breakfast. Then the nutrition ingestion ratio distributing unit 120 obtains a nutrition ingestion ratio in breakfast according to a total of the nutrition amounts of the specific diet records in breakfast and a total of the nutrition amounts of all diet records. In an embodiment, the nutrition ingestion ratio distributing unit 120 further calculates a trimmed mean of the nutrition amounts of each of the dining time periods to discard the extreme value, and obtains each of the nutrition ingestion ratio of the dining time periods according to each of the trimmed mean of the nutrition amounts of the dining time periods and the trimmed mean of the nutrition amounts of all of the diet records. For example, NRi=μtrim (i)/μtrim (total), where i is a positive integer from 0 to the number of dinning time, where μtrim (i) is the trimmed mean of the nutrition amounts of the ith dinging time periods, and μtrim (total) is the trimmed mean of the nutrition amounts of all of the diet record, and NRi is the nutrition ingestion ratio of each of the dinning time. However, the disclosure is not limited thereto, the nutrition ingestion ratio distributing unit 120 may use all kinds of statistics method to calculate the average of the nutrition amounts of each of the dining time periods and the average of the nutrition amounts of all diet records, and obtain the nutrition ingestion ratio by dividing the average of the nutrition amounts of each of the dining time periods and the average of the nutrition amounts of all of the diet records. Therefore, the nutrition ingestion ratio distributing unit 120 may calculate the nutrition ingestion ratio of carbohydrate ingestion in each dining time period according to the nutrition amounts of each of the dining time periods and the nutrition amounts of all of the diet records, for instance, the nutrition ingestion ratio of carbohydrate ingestion in breakfast time is 20%, the nutrition ingestion ratio of carbohydrate ingestion in lunch time is 24%, the nutrition ingestion ratio of carbohydrate ingestion in tea time is 8%, and the nutrition ingestion ratio of carbohydrate ingestion in dinner time is 48%.
The nutrition ingestion ratio distributing unit 120 calculates the nutrition recommendation Nref according to the nutrition recommended range and the nutrition ingestion ratio. For instance, the nutrition recommended range for daily carbohydrate is 500-750 (g). Therefore, the nutrition recommendation for carbohydrate in breakfast time, in lunch time, in tea time, and in dinner time are 100-150 (g), 120-180 (g), 40-60 (g), and 240-360 (g), respectively. The nutrition recommended range is for example the Dietary Reference Intakes provided by Taiwan Food and Drug Administration, Ministry of Health and Welfare. The nutrition recommended range may be adjusted according to various physical characteristics of different persons, for example, gender, age, weight of the person, or whether the person has disease. Alternatively, the nutrition recommended range may be adjusted by the dietitian or the doctor for particular person.
After the nutrition recommendation for carbohydrate of each dining time period is calculated, the nutrition ingestion abnormality marking unit 130 may select some of the diet records in lunch time from the diet records in lunch time as the selected records. Multiple diet records of a user are listed in Table 1. The diet nutrition converting unit 110 may calculates the nutrition amounts of each of the diet records according to the food nutrition database. For example, the diet nutrition converting unit 110 calculates that the nutrition amounts of carbohydrate corresponding to the first diet record including 6 pieces of chicken nuggets, 1 set of fries, and 1 glass of coke is 270 (g) according to the food nutrition database. And the nutrition amounts of carbohydrate corresponding to each of the diet records are also listed in Table 1.
As listed in Table 1, the diet records in lunch time on August 1 to August 6 of the user are selected, and whether the nutrition amounts of carbohydrate of each selected record is abnormal or not is determined according to the nutrition recommendation for lunch time which is 120-180 (g) as calculated above. For example, as listed in Table 1, the diet record the eating time point of which is at 2015/8/1 12:45, includes 6 pieces of chicken nuggets, 1 set of fries, and 1 glass of coke, and the nutrition amounts of carbohydrate of the diet record at 2015/8/1 12:45 (270 (g)) exceeds the nutrition recommendation for lunch time (120˜180 (g)), and therefore the diet record at 2015/8/1 12:45 is marked as “abnormal (exceeding)”. And the nutrition amounts of carbohydrate corresponding to the diet record the eating time point of which is at 2015/8/2 11:39, includes 1 piece of Filet-O-Fish and 1 glass of coke, and the nutrition amounts of carbohydrate of the diet record at 2015/8/2 11:39 (113 (g)) is lower than the nutrition recommendation for lunch time (120˜180 (g)), and therefore the diet record at 2015/8/2 11:39 is marked as “abnormal (insufficient)”. The other diet records are listed in Table 1, and therefore are not described repeatedly.
Finally, the diet model constructing unit 140 constructs a diet model and marks an abnormal food FER according to the selected records, i.e. the diet records in lunch time on August 1 to August 6 of the user, and whether the nutrition amounts of each selected record is abnormal or not.
A diet model constructing method is illustrated in detail in an example as below. The diet model constructing method is illustrated with reference to
As listed in Table 2, the diet record in the first row is sorted as fries, coke, and chicken nugget according to the nutrition amounts of carbohydrate, and the diet record in the second row is sorted as coke, and Filet-O-Fish. And the sorted result of the diet records in the other rows according to the nutrition amounts of carbohydrate are listed in Table 2, and therefore are not described repeatedly.
And then, the diet model constructing unit 140 constructs a diet model according to the sorted diet records which is sorted according to the nutrition amounts of carbohydrate. The diet model maybe represented by a tree. The diet model constructing method includes the following steps. Firstly, a root node is created. And a path is created for each diet record. When one path is created, whether any child node of the root node of the tree is corresponding to the food having the highest nutrition amounts of carbohydrate is determined. If the answer is yes, the occurrence times of this child node is increased 1 times. If not, a new child node corresponding to this food is created, and the occurrence times of this child node is set as 1. On the other hand, if the nutrition amounts of carbohydrate corresponding to this diet record is abnormal, the abnormal times of this node is increased by 1. And then, whether any child node of this node is corresponding to the food having the second highest nutrition amounts of carbohydrate is determined. If the answer is yes, the occurrence times of this node is increased by 1. If not, a new node is created, and the occurrence times of this node is set as 1. The process is repeated.
As shown in
And the tree is continually constructed as shown in
Please refer to
Please refer to
In another embodiment,
Therefore, in this embodiment, the dining time analyzing unit 150 may analyze the eating time points of the diet records of different users to obtain the personal eating time wave set, and then obtains personal dining time periods according to eating habits for each person. As a result, the diet ingestion analyzing system in the disclosure may determine the nutrition ingestion ratio and the nutrition recommendation of each dining time period by the nutrition ingestion ratio distributing unit 120 according to the eating habits for each person. The nutrition ingestion abnormality marking unit 130 also determines whether each of the nutrition amounts of the specific diet records is abnormal or not according to the specific diet records and the nutrition recommendation in the specific time.
A diet ingestion analyzing method is provided in the disclosure. Please refer to
According to the diet ingestion analyzing systems and the diet ingestion analyzing methods disclosed in above embodiments, a proper nutrition ingestion ratio of a time period is provided by analyzing the personal eating time periods and personal diet records, and a personal diet model is constructed and an abnormal food is marked according to the recommendation of each of the personal dining time periods for personal eating habits. The diet ingestion analyzing systems and methods thereof in the disclosure may be adjusted according to personal eating habits and an abnormal food the nutrition amounts of which exceeds the nutrition recommendation may be obtained. On the other hand, each of the dining time periods is adjusted and a nutrition ingestion ratio for each of the dining time periods is analyzed according to personal eating habits, and the recommendation of each of the dining time periods is calculated and whether the nutrition amounts of the diet records is abnormal or not is determined according to personal eating habits. The above diet ingestion analyzing system and the diet ingestion analyzing method may quickly analyze personal diet records to find the abnormal food, and therefore it is easy and convenient for finding the abnormal food of each of the dining time periods. And the diet ingestion analyzing system and the diet ingestion analyzing method may be adjusted according to eating habits of different users for the user to observe the personal eating type.
The disclosure is to explore a dietary dynamic time section of a user by recording the eating time point, and to obtain a nutrition ingestion ratio for each time section, and to distribute nutrition recommendation for each time section according to a daily nutrition recommendation provided by a dietary reference intakes database and the nutrition ingestion ratio for each time section. The disclosure is not limited to provide a fixed amount of nutrition recommendation for three meals each day.
The disclosure is to analyze the dietary information of the user, and to establish a structure of incremental properties and frequency of ingestion food, and then mark the abnormal ingestion frequent pattern by analyzing actual data, which is different from the traditional way which is analyzed purely manual by the dietitian or the doctor according to the paper record or the electronic record.
It will be apparent to those skilled in the art that various modifications and variations can be made to the disclosed embodiments. It is intended that the specification and examples be considered as exemplary only, with a true scope of the disclosure being indicated by the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
104140805 | Dec 2015 | TW | national |