CN111727429A - Personalized intelligent catering method and system based on user conditions - Google Patents

Personalized intelligent catering method and system based on user conditions Download PDF

Info

Publication number
CN111727429A
CN111727429A CN201880088820.7A CN201880088820A CN111727429A CN 111727429 A CN111727429 A CN 111727429A CN 201880088820 A CN201880088820 A CN 201880088820A CN 111727429 A CN111727429 A CN 111727429A
Authority
CN
China
Prior art keywords
diet
nutrient
value
user
food
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201880088820.7A
Other languages
Chinese (zh)
Inventor
朱威
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Publication of CN111727429A publication Critical patent/CN111727429A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The invention discloses a personalized intelligent catering method and system based on user conditions, wherein the method comprises the following steps: acquiring personal information, physical conditions, diet requirements and diet willingness input by a user; calculating edible calorie values and required various nutrient substance values in the nutritional diet; analyzing to obtain the probability of deficiency or excess of various nutrients of the user; and calculating to generate a personalized nutritional diet corresponding to the individual dietary preference. The system comprises: the system comprises an information acquisition module, a nutrition calculation module, a nutrition analysis module, a diet spectrum generation module and a diet spectrum display module. The invention can generate personalized nutritional recipes for different users. The invention can automatically select the diet recipe which most easily meets the nutrition, greatly reduces the calculation difficulty and time, and can take care of the personal preference of the user while reasonably and scientifically matching, thereby effectively improving the feasibility of the nutrition diet recipe. The invention can be widely applied to daily life.

Description

Personalized intelligent catering method and system based on user conditions Description
Technical Field
The invention relates to the technical field of communication, in particular to a personalized intelligent food matching method and system based on user conditions.
Background
With the rapid development of science and technology, the living standard of people is continuously improved, and the requirements of people on diet are gradually increased.
In order to achieve balanced nutrition on diet, a user usually uses a mobile terminal to send a subscription instruction to a menu-type website. After the menu website receives the subscription instruction sent by the mobile terminal, the menu website can regularly send some menus to the mobile terminal according to the requirements of the user, so that the user can cook according to the menus recommended by the menu website.
Although the related menu type website can recommend menus for the user, the menu recommended to the user by the menu type website may not be suitable for the user because the physical condition of each user is different and the requirements of people with different weights in different age groups on various nutrients are different, and such a way may be very unfavorable for the health of the user, so that the menu recommendation way may have a certain risk for the physical health of the user. And they can only recommend the type of the menu, but can not recommend the corresponding dosage, so the actual help effect is extremely limited.
Some websites or software can only help users to recommend the types and the use amounts of original food materials, which is very inconvenient and lacks practicability, and the users can be directly helped to calculate the types and the use amounts of foods such as adult dishes.
Therefore, how to ensure that the recommended menu is suitable for each user becomes a technical problem which needs to be solved urgently at present.
Disclosure of Invention
In order to solve the technical problems, the invention aims to provide a personalized intelligent food matching method and system based on user conditions, which can accurately calculate nutrition required by a user and scientifically match meals.
The technical scheme adopted by the invention is as follows:
a personalized intelligent catering method based on user conditions comprises the following steps:
A. acquiring personal information, physical conditions, diet requirements and diet willingness input by a user;
B. calculating edible calorie values and required various nutrient substance values in the nutritional diet according to personal information, physical conditions and dietary requirements of users;
C. according to the nutrition conditions of various foods in the diet willingness of the user, the probability of deficiency or excess of various nutrient substances of the user is analyzed and obtained by combining the personal information, physical conditions and diet requirements of the user, and nutrition suggestions and recommended and matched food types are provided in a targeted manner;
D. according to the edible calorie value and the required values of various nutrient substances, and in combination with personal information and diet willingness, calculating and generating a corresponding personalized nutritional diet which simultaneously meets the personal health nutritional requirements and the personal diet preference of the user;
E. and displaying the generated personalized nutritional diet.
As a further improvement of the personalized intelligent catering method based on the user condition, the step E is followed by the following steps:
F. analyzing the change condition of the physical condition of the user according to the physical condition input by the user all the time, and providing an optimized and adjusted nutrition suggestion which is most suitable for the personal condition of the user and a corresponding personalized nutrition diet spectrum optimization scheme for the user in a targeted manner by combining the personal information and diet requirements of the user.
As a further improvement of the personalized intelligent catering method based on the user condition, the step of recommending the matched food category specifically includes:
c1, setting the nutrient substances with preset grid lines in the required nutrient substances as a first type and setting the nutrient substances with preset excellent lines in the required nutrient substances as a second type according to the numerical values of the required nutrient substances of the user;
c2, calculating the value energy ratios of various required nutrients corresponding to various foods respectively to obtain a first food value energy ratio ranking list and a second food value energy ratio ranking list;
and C3, obtaining the recommended food types according to the first type food value comparison ranking list and the second type food value comparison ranking list and preset selection rules.
As a further improvement of the personalized intelligent catering method based on the user condition, the step D includes:
d01, if the user does not select food in the food will but directly instructs the system to carry out intelligent catering, directly executing step D07; if the user selects the food type in the food desire and instructs the system to carry out intelligent catering, the step D07 is directly executed; if the user selects the food type in the food desire and instructs the system to directly calculate and analyze the food type with the food type as the limit, the scheme is calculated and analyzed to obtain a primary qualified diet spectrum basic scheme, and the remaining edible calorie value and the remaining required various nutrient substance values are calculated;
d02, detecting whether the nutrient value exceeds the upper limit value according to the primary qualified diet recipe basic scheme, if so, adjusting the dosage of the nutrient value under the premise that the nutrient value is not lower than the qualified line newly appears to obtain a primary qualified diet recipe, calculating the residual edible calorie value and the residual required various nutrient values, and then executing the step D03; otherwise, directly obtaining the primary and qualified diet, calculating the remaining edible calorie value and the remaining required nutrient values, and then executing the step D03;
d03, on the basis of the primary and qualified diet recipe, calculating and adjusting the consumption of various foods in the diet will of the user according to the remaining edible calorie value and the remaining required various nutrient substance values, maximizing the variety of various nutrient substances reaching the required amount of excellent lines on the premise of not exceeding the upper limit value and not exceeding the standard of calorie due to the new occurrence of the situation of the nutrient substances, obtaining a primary excellent diet recipe basic scheme, and calculating the remaining edible calorie value and the remaining required various nutrient substance values;
d04, according to the basic scheme of the primary excellent diet recipe, if detecting that there are food types with the consumption still equal to zero in the diet intention of the user at the moment, under the premise that the situation that the nutrient substances exceed the upper limit value newly appears, distributing the residual edible calorie value to the food types with the consumption still equal to zero, if the edible calorie value still remains, continuously distributing the residual edible calorie value to other food types in the diet intention of the user under the premise that the situation that the nutrient substances exceed the upper limit value newly appears, obtaining the primary excellent diet recipe, and calculating the residual required nutrient substance values; on the contrary, on the premise that the situation that the nutrient substances exceed the upper limit value newly appears, the remaining edible calorie value is distributed to the food types in the food will of the user, so as to obtain a primary excellent diet, and the remaining required various nutrient substance values are calculated;
d05, displaying the primary excellent diet spectrum to the user, and analyzing and evaluating the primary excellent diet spectrum;
d06, if the user indicates satisfaction, obtaining an individual nutritional diet which simultaneously meets the individual health nutritional needs and the individual dietary preferences of the user; if the user is not satisfied, modifying the food and drink willingness, and instructing the system to directly calculate and analyze the food and drink willingness by taking the modification as a limit, returning to execute the step D01 according to the new food and drink willingness of the user; if the user is not satisfied, instructing the system to carry out intelligent catering to improve the diet, and executing the step D07;
d07, according to the personal information of the user, removing the foods which are unpleasant for the user from the database, and improving the recommendation priority of the foods which are favorite for the user to obtain a processed database;
d08, if a primary excellent diet recipe is generated according to the edible calorie value and the required various nutrient values, analyzing by combining the dietary recipe, optimizing, matching and combining according to the recommended food types in the processed database, and forming the recommended diet intention by adding the food types in the diet intention of the user; if the primary excellent diet is not generated, analyzing by combining the food types in the diet willingness of the user, carrying out optimized matching combination according to the recommended food types in the processed database, and forming the recommended diet willingness by adding the food types in the diet willingness of the user;
d09, calculating the consumption of various foods in the recommended diet willingness according to the edible calorie value and the required various nutrient substance values, maximizing the types of various nutrient substances reaching the required amount and the required passing line on the premise of not exceeding the standard of the calorie, obtaining a high-grade passing diet basic scheme, and calculating the residual edible calorie value and the residual required various nutrient substance values;
d10, according to the basic scheme of the high-grade passing diet recipe, detecting whether the nutrient value exceeds the upper limit value, if so, adjusting the dosage of the nutrient under the premise that the nutrient is not lower than the grid line newly, obtaining the high-grade passing diet recipe, calculating the residual edible calorie value and the residual required various nutrient values, and then executing the step D11; otherwise, directly obtaining a high-grade and good diet, calculating the remaining edible calorie value and the remaining required various nutrient values, and then executing the step D11;
d11, on the basis of a high-grade passing recipe, calculating and adjusting the consumption of various foods in the recommended diet intention according to the remaining edible calorie value and the remaining required various nutrient substance values, enabling the types of various nutrient substances reaching the required amount of excellent lines to reach the maximum on the premise that the situation that the nutrient substances exceed the upper limit value and the calorie does not exceed the standard newly occurs, obtaining a high-grade excellent diet recipe basic scheme, and calculating the remaining edible calorie value and the remaining required various nutrient substance values;
d12, according to the basic scheme of the high-grade excellent diet recipe, if a food type with the consumption still equal to zero in the recommended diet will is detected, on the premise that the situation that the nutrient substances exceed the upper limit value newly occurs, the residual edible calorie value is allocated to the food type with the consumption still equal to zero, if the edible calorie value still remains, the residual edible calorie value is continuously allocated to other food types in the recommended diet will on the premise that the situation that the nutrient substances exceed the upper limit value newly occurs, so that the high-grade excellent diet recipe is obtained, and the residual required nutrient substance values are calculated; on the contrary, on the premise that the situation that the nutrient substances exceed the upper limit value newly appears, the residual edible calorie value is distributed to the food types in the recommended food will, so that a high-grade excellent diet is obtained, and the residual required various nutrient substance values are calculated;
d13, displaying the high-grade excellent diet spectrum to the user, and analyzing and evaluating the high-grade excellent diet spectrum;
d14, if the user indicates satisfaction, obtaining an individual nutritional diet meeting the individual health nutritional requirements and the individual dietary preferences of the user; if the user is not satisfied, modifying the food types in the high-grade excellent diet spectrum so as to form a new diet intention, and instructing the system to directly calculate and analyze the food types with the new diet intention as the limit, returning to the step D01 according to the new diet intention of the user; if the user is not satisfied, the food types in the high-grade excellent diet recipe are modified, so that a new diet will be formed, and the system is instructed to intelligently prepare an improved diet recipe, then step D15 is executed;
d15, according to the personal information of the user, removing the food deleted from the original high-grade excellent diet spectrum in the step D14 from the processed database to obtain a secondary processed database, and then executing the step D08.
As a further improvement of the personalized intelligent catering method based on the user condition, the calculation and analysis in step D01 obtains a primary and qualified diet spectrum basic scheme, and calculates the remaining edible calorie value and the remaining required various nutrient values, including:
d011, calculating the value energy ratios of various foods corresponding to various nutrient substances respectively in the diet willingness of the user, and further calculating the value energy limit ratios of various foods corresponding to various nutrient substances respectively in the diet willingness of the user;
d012, respectively corresponding various foods to the value energy limit ratios of various nutrient substances according to the diet willingness of the user to obtain the maximum value energy limit ratios of various nutrient substances, sequencing various nutrient substances according to the maximum value energy limit ratios of various nutrient substances, arranging the nutrient substance with the maximum value energy limit ratio at the top, otherwise, arranging at the bottom, and sequentially calculating various nutrient substances according to the sequence;
d013, respectively selecting foods with the maximum value energy ratios corresponding to the nutrient substances according to the numerical values of the various nutrient substances required and the sequence after the value energy ratios of the nutrient substances are sorted, so that the foods reach required passing lines, wherein after each nutrient substance reaches the passing lines, whether the total calories exceed the edible calories at present needs to be judged, if yes, the new food consumption of the nutrient substances is cancelled, a primary passing dietary spectrum basic scheme is obtained, the residual edible calorie numerical values and the residual required numerical values of the various nutrient substances are calculated, and then the step D02 is executed; otherwise, the calculation of the next nutrient substance is continued until the required amount of the nutrient substances reaching the lattice line reach the maximum on the premise that the calorie does not exceed the standard, the basic scheme of the primary lattice dietary spectrum is obtained, the remaining edible calorie value and the remaining required nutrient substance value are calculated, and then the step D02 is executed.
As a further improvement of the personalized intelligent catering method based on the user condition, the step D02 includes:
d021, detecting whether the nutrient value exceeds the upper limit value according to the primary qualified diet spectrum basic scheme, and if so, executing a step D022 on the premise that the nutrient value is not lower than the qualified line newly; otherwise, directly obtaining the primary and qualified diet, calculating the remaining edible calorie value and the remaining required nutrient values, and then executing the step D03;
d022, finding out the nutrient substances with the maximum overproof proportion, sorting according to the energy ratio of the food values corresponding to the nutrient substances, and reducing the food consumption with the maximum energy ratio corresponding to the nutrient substances to ensure that the value of the nutrient substances does not exceed the alarm value any more;
023, detecting whether the nutrient substance is lower than the grid line newly after adjustment, if so, canceling the adjustment, and lowering the food consumption with the maximum value energy ratio corresponding to the nutrient substance according to the food value energy ratio sequence corresponding to the nutrient substance so that the nutrient substance value does not exceed the warning value any more, and so on; otherwise, finding out the nutrient substances with the maximum overproof ratio, and reducing the food consumption with the maximum energy ratio corresponding to the nutrient substances, so that the value of the nutrient substances does not exceed the alarm value any more, and so on;
d024, if the food with a certain nutrient value-to-energy ratio is adjusted once in turn according to the value-to-energy ratio, the situation that the nutrient is lower than the grid line can not be avoided, the nutrient maintains the original state before adjustment, and is not adjusted any more, and the next nutrient is adjusted in turn according to the sequence from the larger to the smaller of the overproof ratio;
d025, under the premise that the situation that the nutrient substances are lower than the grid line is not newly generated, adjusting the nutrient substances which exceed the upper limit value to obtain a primary qualified diet, calculating the remaining edible calorie value and the remaining required nutrient substance values, and then executing the step D03;
as a further improvement of the personalized intelligent catering method based on the user condition, the step D03 includes:
d031 calculating the optimal value of each food corresponding to each nutrient in the diet willingness;
d032 obtaining the maximum optimum value of each nutrient according to the optimum value of each nutrient for each food in the diet desire. Sequencing the nutrient substances according to the maximum goodness-tracking values of the nutrient substances, wherein the nutrient substance with the maximum goodness-tracking value is arranged at the top, otherwise, the nutrient substance with the maximum goodness-tracking value is arranged at the last, and calculating the nutrient substances in sequence according to the sequence;
d033, selecting the food with the maximum value energy ratio corresponding to each nutrient according to the value of each nutrient required and the sequence after the value energy ratio of each nutrient is sorted, so that the food achieves the required excellent line. After each nutrient reaches the excellent line, it is necessary to judge whether the nutrient exceeds the upper limit value newly and whether the total calorie exceeds the edible calorie. If yes, removing the consumption of the newly added food of the nutrient substance, and then calculating the next nutrient substance; on the contrary, the calculation of the next nutrient is directly performed until the variety of each nutrient reaching the required amount of excellent line reaches the maximum under the premise that the situation that the nutrient exceeds the upper limit value is not newly generated and the calorie does not exceed the standard, so as to obtain the primary excellent diet spectrum basic scheme, the remaining edible calorie value and the remaining required various nutrient value are calculated, and then the step D04 is executed.
As a further improvement of the personalized intelligent catering method based on the user condition, the calculation formula of the value energy ratio is as follows:
the ratio of the value of nutrient a for food X = nutrient a contained in food X per unit weight/calorie contained in food X per equivalent unit weight.
As a further improvement of the personalized intelligent catering method based on the user condition, the calculation formula of the value energy limit ratio is as follows:
food X can limit ratio for nutrient a = food X can limit ratio for nutrient a/nutrient a cross.
As a further improvement of the personalized intelligent catering method based on the user condition, the calculation formula of the goodness pursuit value is as follows:
the figure of merit for food X for nutrient a = value energy ratio for food X for nutrient a/(excellent line for nutrient a-present value for nutrient a).
The other technical scheme adopted by the invention is as follows:
a personalized intelligent catering system based on user condition, comprising:
the information acquisition module is used for acquiring personal information, physical conditions, diet requirements and diet willingness input by a user;
the nutrition calculation module is used for calculating edible calorie values and required various nutrient substance values in the nutritional diet according to the personal information, physical conditions and dietary requirements of the user;
the nutrition analysis module analyzes and obtains the probability of deficiency or excess of various nutrient substances of the user according to the nutrition condition of various foods in the diet willingness of the user and by combining the personal information, physical condition and diet requirement of the user, and provides nutrition suggestions and recommended and matched food types in a targeted manner;
the diet recipe generating module is used for calculating and generating a corresponding personalized nutritional diet recipe which simultaneously meets the individual health nutritional requirements and the individual diet preference of the user according to the edible calorie value and the required various nutrient values and in combination with the individual information and the diet willingness;
and the diet recipe display module is used for displaying the generated personalized nutrition diet recipe.
The invention has the beneficial effects that:
according to the personalized intelligent catering method and system based on the user condition, the nutrition required by the user is calculated according to the personal information of the user and the body condition of the user on the same day, and further personalized nutrition recipes for different users can be generated. The invention can automatically select the diet recipe which most easily meets the nutrition, greatly reduces the calculation difficulty and time, and can take care of the personal preference of the user while reasonably and scientifically matching, thereby effectively improving the feasibility of the nutrition diet recipe.
Drawings
FIG. 1 is a flow chart of the steps of a method for personalized intelligent catering based on user status according to the invention;
fig. 2 is a block diagram of a personalized intelligent catering system based on user status according to the invention.
Detailed Description
Example 1: referring to fig. 1, the invention relates to a personalized intelligent food-matching method based on user conditions, comprising the following steps:
A. acquiring personal information, physical conditions, diet requirements and diet willingness input by a user;
B. calculating edible calorie values and required various nutrient substance values in the nutritional diet according to personal information, physical conditions and dietary requirements of users;
C. according to the nutrition conditions of various foods in the diet willingness of the user, the probability of deficiency or excess of various nutrient substances of the user is analyzed and obtained by combining the personal information, physical conditions and diet requirements of the user, and nutrition suggestions and recommended and matched food types are provided in a targeted manner;
D. according to the edible calorie value and the required values of various nutrient substances, and in combination with personal information and diet willingness, calculating and generating a corresponding personalized nutritional diet which simultaneously meets the personal health nutritional requirements and the personal diet preference of the user;
E. and displaying the generated personalized nutritional diet.
Further as a preferred embodiment, the step E further includes, after the step E:
F. analyzing the change condition of the physical condition of the user according to the physical condition input by the user all the time, and providing an optimized and adjusted nutrition suggestion which is most suitable for the personal condition of the user and a corresponding personalized nutrition diet spectrum optimization scheme for the user in a targeted manner by combining the personal information and diet requirements of the user.
Further as a preferred embodiment, the step of recommending the matched food category specifically includes:
c1, setting the nutrient substances with preset grid lines in the required nutrient substances as a first type and setting the nutrient substances with preset excellent lines in the required nutrient substances as a second type according to the numerical values of the required nutrient substances of the user;
c2, calculating the value energy ratios of various required nutrients corresponding to various foods respectively to obtain a first food value energy ratio ranking list and a second food value energy ratio ranking list;
and C3, obtaining the recommended food types according to the first type food value comparison ranking list and the second type food value comparison ranking list and preset selection rules.
In the embodiment of the invention, all nutrient substances with the cross hatching are classified into a first category, and all nutrient substances with excellent cross hatching are classified into a second category; the final version of the personalized nutritional diet, in which values of respective foods corresponding to respective nutrients have been calculated in previous steps (thus, all foods have a food value higher than the ranking list) and, among all foods, the food having the first type of nutrients included therein is found to have a value higher than the top ten of the ranking list, and selected as the first food (note: if two or more foods having the first type of nutrients included therein have the same value as the top ten of the top ten indices, then among the several foods, the food having the second type of nutrients included therein has the "value higher than the" top ten of the "food" and is selected as the first food, and if, after the selection, two or more foods are listed in parallel with the first number of the grid lines and the number of the excellent line indices, one of the several food items is randomly selected as the first food item).
Assuming that V1, V2, V3, V4, V5 and V6 are nutrient substances with a score line, a food has very high V1 value energy ratio, V2 value energy ratio and V3 value energy ratio, and the top ten indexes of the three charts enter high scores, namely the food has 3 nutrient substance food values which are included in the first category and can be higher than the top ten indexes of the charts, if 3 food is the first nutrient substance 'value energy ratio' included in the first category which is the most of the food simultaneously in all foods, the food a is the first food which is selected by the user;
after the first food is selected, finding out the food with the highest value of the remaining first category of nutrient substances from all the remaining food as the second food, wherein the food has the highest value of the top ten than the ranking list;
by analogy, after the selected food has the first ten times higher than the value of all the first type nutrients, checking the food with which the second type nutrients are contained in the selected food, finding out the food with the food value higher than the ranking list, and continuing to select the food according to the above principle until the selected food has the food with all the first type and second type nutrients with the value higher than the ranking list, so that the type of the food is selected, and then calculating the portion of the food.
Wherein:
(a) if the user does not select any food by himself, but directly lets to carry out intelligent catering, the food is intelligently selected by directly using the rules;
(b) if a user selects several foods, whether the foods are selected and then scored without scoring, software is used for intelligent food matching, or whether the foods are selected and then scored, not satisfied in score and then intelligently matched, the user firstly checks whether the foods selected by the user have the first and second nutrient substances with food values higher than ten times of the ranking list, and if so, the user intelligently selects the foods by using the rules according to the condition that the food values of the remaining nutrient substances included in the first and second types are higher than the ten times of the ranking list; if not, the same is considered as the case of remark (a);
(c) if the user is dissatisfied with the recommended food, deleting some foods and continuing to request intelligent catering according to the condition of remark (b);
(d) if the user is dissatisfied with a plurality of foods with first-class and second-class nutrient substances whose values can be higher than those of the foods with the top ten indexes in the ranking list during the process of using the software, and the food selection cannot be completed after the top ten foods are all picked, the intelligent food selection is started from the 11 th to the 20 th, and the like.
Further as a preferred embodiment, the step D includes:
d01, if the user does not select food in the food will but directly instructs the system to carry out intelligent catering, directly executing step D07; if the user selects the food type in the food desire and instructs the system to carry out intelligent catering, the step D07 is directly executed; if the user selects the food type in the food desire and instructs the system to directly calculate and analyze the food type with the food type as the limit, the scheme is calculated and analyzed to obtain a primary qualified diet spectrum basic scheme, and the remaining edible calorie value and the remaining required various nutrient substance values are calculated;
d02, detecting whether the nutrient value exceeds the upper limit value according to the primary qualified diet recipe basic scheme, if so, adjusting the dosage of the nutrient value under the premise that the nutrient value is not lower than the qualified line newly appears to obtain a primary qualified diet recipe, calculating the residual edible calorie value and the residual required various nutrient values, and then executing the step D03; otherwise, directly obtaining the primary and qualified diet, calculating the remaining edible calorie value and the remaining required nutrient values, and then executing the step D03;
d03, on the basis of the primary and qualified diet recipe, calculating and adjusting the consumption of various foods in the diet will of the user according to the remaining edible calorie value and the remaining required various nutrient substance values, maximizing the variety of various nutrient substances reaching the required amount of excellent lines on the premise of not exceeding the upper limit value and not exceeding the standard of calorie due to the new occurrence of the situation of the nutrient substances, obtaining a primary excellent diet recipe basic scheme, and calculating the remaining edible calorie value and the remaining required various nutrient substance values;
d04, according to the basic scheme of the primary excellent diet recipe, if detecting that there are food types with the consumption still equal to zero in the diet intention of the user at the moment, under the premise that the situation that the nutrient substances exceed the upper limit value newly appears, distributing the residual edible calorie value to the food types with the consumption still equal to zero, if the edible calorie value still remains, continuously distributing the residual edible calorie value to other food types in the diet intention of the user under the premise that the situation that the nutrient substances exceed the upper limit value newly appears, obtaining the primary excellent diet recipe, and calculating the residual required nutrient substance values; on the contrary, on the premise that the situation that the nutrient substances exceed the upper limit value newly appears, the remaining edible calorie value is distributed to the food types in the food will of the user, so as to obtain a primary excellent diet, and the remaining required various nutrient substance values are calculated; in the embodiment, 1, firstly, whether the dish selected by the user in person still has the condition that the portion is 0 is checked, if yes, the remaining edible calorie value is averagely distributed to the dishes (such as the dish A, the dish B and the dish C), and if not, the step 4 of the detailed description is directly jumped to; 2. it is then checked whether a situation has thus occurred in which a certain nutrient exceeds its upper limit. If not, the calculation of the step is finished; if an overproof condition occurs, checking which dish caused the overproof condition (for example, finding that the nutrient Va exceeds the upper limit, and the C dish provides the largest number of grams of Va), and reducing the amount of the C dish until the Va does not exceed the upper limit any more; 3. the remaining edible calorie value due to the reduction of the dish C is averagely distributed to the dish A and the dish B, and the rest can be done in the same way according to the principle; 4. if the dish A, the dish B and the dish C are adjusted and the remaining edible calorie value is remained, averagely distributing the remaining edible calorie value to the dish which is selected by the user and has the previous portion of not 0 according to the principle, and the like;
d05, displaying the primary excellent diet spectrum to the user, and analyzing and evaluating the primary excellent diet spectrum; the analysis and evaluation comprises the steps of scoring according to a preset scoring rule, and listing names of passing, excellent, insufficient and excessive nutrients in detailed information;
d06, if the user indicates satisfaction, obtaining an individual nutritional diet which simultaneously meets the individual health nutritional needs and the individual dietary preferences of the user; if the user is not satisfied, modifying the food and drink willingness, and instructing the system to directly calculate and analyze the food and drink willingness by taking the modification as a limit, returning to execute the step D01 according to the new food and drink willingness of the user; if the user is not satisfied, instructing the system to carry out intelligent catering to improve the diet, and executing the step D07;
d07, according to the personal information of the user, removing the foods which are unpleasant for the user from the database, and improving the recommendation priority of the foods which are favorite for the user to obtain a processed database;
d08, if a primary excellent diet recipe is generated according to the edible calorie value and the required various nutrient values, analyzing by combining the dietary recipe, optimizing, matching and combining according to the recommended food types in the processed database, and forming the recommended diet intention by adding the food types in the diet intention of the user; if the primary excellent diet is not generated, analyzing by combining the food types in the diet willingness of the user, carrying out optimized matching combination according to the recommended food types in the processed database, and forming the recommended diet willingness by adding the food types in the diet willingness of the user;
d09, calculating the consumption of various foods in the recommended diet willingness according to the edible calorie value and the required various nutrient substance values, maximizing the types of various nutrient substances reaching the required amount and the required passing line on the premise of not exceeding the standard of the calorie, obtaining a high-grade passing diet basic scheme, and calculating the residual edible calorie value and the residual required various nutrient substance values;
d10, according to the basic scheme of the high-grade passing diet recipe, detecting whether the nutrient value exceeds the upper limit value, if so, adjusting the dosage of the nutrient under the premise that the nutrient is not lower than the grid line newly, obtaining the high-grade passing diet recipe, calculating the residual edible calorie value and the residual required various nutrient values, and then executing the step D11; otherwise, directly obtaining a high-grade and good diet, calculating the remaining edible calorie value and the remaining required various nutrient values, and then executing the step D11;
d11, on the basis of a high-grade passing recipe, calculating and adjusting the consumption of various foods in the recommended diet intention according to the remaining edible calorie value and the remaining required various nutrient substance values, enabling the types of various nutrient substances reaching the required amount of excellent lines to reach the maximum on the premise that the situation that the nutrient substances exceed the upper limit value and the calorie does not exceed the standard newly occurs, obtaining a high-grade excellent diet recipe basic scheme, and calculating the remaining edible calorie value and the remaining required various nutrient substance values;
d12, according to the basic scheme of the high-grade excellent diet recipe, if a food type with the consumption still equal to zero in the recommended diet will is detected, on the premise that the situation that the nutrient substances exceed the upper limit value newly occurs, the residual edible calorie value is allocated to the food type with the consumption still equal to zero, if the edible calorie value still remains, the residual edible calorie value is continuously allocated to other food types in the recommended diet will on the premise that the situation that the nutrient substances exceed the upper limit value newly occurs, so that the high-grade excellent diet recipe is obtained, and the residual required nutrient substance values are calculated; on the contrary, on the premise that the situation that the nutrient substances exceed the upper limit value newly appears, the residual edible calorie value is distributed to the food types in the recommended food will, so that a high-grade excellent diet is obtained, and the residual required various nutrient substance values are calculated;
d13, displaying the high-grade excellent diet spectrum to the user, and analyzing and evaluating the high-grade excellent diet spectrum;
d14, if the user indicates satisfaction, obtaining an individual nutritional diet meeting the individual health nutritional requirements and the individual dietary preferences of the user; if the user is not satisfied, modifying the food types in the high-grade excellent diet spectrum so as to form a new diet intention, and instructing the system to directly calculate and analyze the food types with the new diet intention as the limit, returning to the step D01 according to the new diet intention of the user; if the user is not satisfied, the food types in the high-grade excellent diet recipe are modified, so that a new diet will be formed, and the system is instructed to intelligently prepare an improved diet recipe, then step D15 is executed;
d15, according to the personal information of the user, removing the food deleted from the original high-grade excellent diet spectrum in the step D14 from the processed database to obtain a secondary processed database, and then executing the step D08.
Further as a preferred embodiment, the calculation and analysis in step D01 results in a preliminary passing dietary profile based program and calculates the remaining edible caloric value and remaining required values of various nutrients including:
d011, calculating the value energy ratios of various foods corresponding to various nutrient substances respectively in the diet willingness of the user, and further calculating the value energy limit ratios of various foods corresponding to various nutrient substances respectively in the diet willingness of the user;
d012, respectively corresponding various foods to the value energy limit ratios of various nutrient substances according to the diet willingness of the user to obtain the maximum value energy limit ratios of various nutrient substances, sequencing various nutrient substances according to the maximum value energy limit ratios of various nutrient substances, arranging the nutrient substance with the maximum value energy limit ratio at the top, otherwise, arranging at the bottom, and sequentially calculating various nutrient substances according to the sequence;
d013, respectively selecting foods with the maximum value energy ratios corresponding to the nutrient substances according to the numerical values of the various required nutrient substances and the sequence after the value energy ratios of the nutrient substances are sorted, so that the foods reach the required passing lines (if the passing lines of certain nutrient substances are zero, the foods are directly judged to be reached), wherein after each nutrient substance reaches the passing lines, whether the total calorie exceeds the edible calorie is required to be judged, if yes, the newly added food consumption of the nutrient substances is cancelled, a primary passing diet spectrum basic scheme is obtained, the remaining edible calorie numerical values and the remaining required various nutrient substance numerical values are calculated, and then the step D02 is executed; otherwise, the calculation of the next nutrient substance is continued until the required amount of the nutrient substances reaching the lattice line reach the maximum on the premise that the calorie does not exceed the standard, the basic scheme of the primary lattice dietary spectrum is obtained, the remaining edible calorie value and the remaining required nutrient substance value are calculated, and then the step D02 is executed.
Further, as a preferred embodiment, the step D02 includes:
d021, detecting whether the nutrient value exceeds the upper limit value according to the primary qualified diet spectrum basic scheme, and if so, executing a step D022 on the premise that the nutrient value is not lower than the qualified line newly; otherwise, directly obtaining the primary and qualified diet, calculating the remaining edible calorie value and the remaining required nutrient values, and then executing the step D03;
d022, finding out the nutrient substances with the maximum overproof proportion, sorting according to the energy ratio of the food values corresponding to the nutrient substances, and reducing the food consumption with the maximum energy ratio corresponding to the nutrient substances to ensure that the value of the nutrient substances does not exceed the alarm value any more;
023, detecting whether the nutrient substance is lower than the grid line newly after adjustment, if so, canceling the adjustment, and lowering the food consumption with the maximum value energy ratio corresponding to the nutrient substance according to the food value energy ratio sequence corresponding to the nutrient substance so that the nutrient substance value does not exceed the warning value any more, and so on; otherwise, finding out the nutrient substances with the maximum overproof ratio, and reducing the food consumption with the maximum energy ratio corresponding to the nutrient substances, so that the value of the nutrient substances does not exceed the alarm value any more, and so on;
d024, if the food with a certain nutrient value-to-energy ratio is adjusted once in turn according to the value-to-energy ratio, the situation that the nutrient is lower than the grid line can not be avoided, the nutrient maintains the original state before adjustment, and is not adjusted any more, and the next nutrient is adjusted in turn according to the sequence from the larger to the smaller of the overproof ratio;
d025, adjusting the nutrients exceeding the upper limit value to obtain a primary passing diet without newly appearing the nutrient falling below and the grid line, calculating the remaining edible calorie value and the remaining required nutrient value, and executing the step D03.
The warning value can be preset to be 10% or 15% below the upper limit value according to actual needs.
Further, as a preferred embodiment, the step D03 includes:
d031 calculating the optimal value of each food corresponding to each nutrient in the diet willingness;
d032 obtaining the maximum optimum value of each nutrient according to the optimum value of each nutrient for each food in the diet desire. Sequencing the nutrient substances according to the maximum goodness-tracking values of the nutrient substances, wherein the nutrient substance with the maximum goodness-tracking value is arranged at the top, otherwise, the nutrient substance with the maximum goodness-tracking value is arranged at the last, and calculating the nutrient substances in sequence according to the sequence;
d033, selecting the food with the maximum value energy ratio of each nutrient according to the value of each nutrient required and the sequence after sorting the value energy ratio of each nutrient, so as to make the food reach the required excellent line (if the excellent line of a certain nutrient is equal to the sum of the excellent line and the grid line, it is directly judged that the excellent line is reached), wherein after each nutrient reaches the excellent line, it is required to judge whether the situation that the nutrient exceeds the upper limit value newly occurs and whether the total calorie exceeds the edible calorie. If yes, removing the consumption of the newly added food of the nutrient substance, and then calculating the next nutrient substance; on the contrary, the calculation of the next nutrient is directly performed until the variety of each nutrient reaching the required amount of excellent line reaches the maximum under the premise that the situation that the nutrient exceeds the upper limit value is not newly generated and the calorie does not exceed the standard, so as to obtain the primary excellent diet spectrum basic scheme, the remaining edible calorie value and the remaining required various nutrient value are calculated, and then the step D04 is executed.
Further preferably, the formula for calculating the value energy ratio is as follows:
the ratio of the value of nutrient a for food X = nutrient a contained in food X per unit weight/calorie contained in food X per equivalent unit weight.
Further preferably, the calculation formula of the value energy limit ratio is:
food X can limit ratio for nutrient a = food X can limit ratio for nutrient a/nutrient a cross.
In a further preferred embodiment, the calculation formula of the figure of merit is:
the figure of merit for food X for nutrient a = value energy ratio for food X for nutrient a/(excellent line for nutrient a-present value for nutrient a).
Referring to fig. 2, a personalized intelligent catering system based on user conditions, comprising:
the information acquisition module is used for acquiring personal information, physical conditions, diet requirements and diet willingness input by a user;
the nutrition calculation module is used for calculating edible calorie values and required various nutrient substance values in the nutritional diet according to the personal information, physical conditions and dietary requirements of the user;
the nutrition analysis module analyzes and obtains the probability of deficiency or excess of various nutrient substances of the user according to the nutrition condition of various foods in the diet willingness of the user and by combining the personal information, physical condition and diet requirement of the user, and provides nutrition suggestions and recommended and matched food types in a targeted manner;
the diet recipe generating module is used for calculating and generating a corresponding personalized nutritional diet recipe which simultaneously meets the individual health nutritional requirements and the individual diet preference of the user according to the edible calorie value and the required various nutrient values and in combination with the individual information and the diet willingness;
and the diet recipe display module is used for displaying the generated personalized nutrition diet recipe.
Embodiment 2, the invention relates to a personalized intelligent catering method based on user conditions, which comprises the following steps:
s1, acquiring personal information, physical conditions, dietary requirements (such as weight reduction, health preservation, hyperglycemia resistance, hyperlipidemia resistance, hypertension resistance, calcium supplement, beauty treatment, cancer prevention and the like), diet willingness (types of food to be eaten and types of drinks to be drunk, including dishes, staple foods, soups, fruits, cakes, drinks, snacks and the like) input by a user;
s2, identifying the location of the user according to the personal information of the user, and acquiring local real-time weather information;
s3, calculating edible calorie values and required various nutrient values (including required water quantity) in the nutritional diet according to the personal information, physical conditions, dietary requirements and real-time weather information of the user location;
s4, analyzing the nutrition condition of various foods in the diet intention of the user, analyzing the nutrient substances possibly lacking or excessive for the user and the corresponding water demand condition by combining the personal information, the physical condition, the diet demand of the user and the real-time weather information of the location of the user, and giving out nutrition suggestions and food types recommended to be matched in a targeted manner;
s5, according to the edible calorie value and the required various nutrient substance values (including the required water amount), combining the personal information and the diet willingness, calculating and generating a corresponding personalized nutrient diet (including the food type and the corresponding amount) which simultaneously meets the personal health nutrient requirement and the personal diet preference of the user;
s6, displaying the generated personalized nutritional diet;
s7, analyzing the body condition change condition of the user according to the body condition input by the user all the time, and providing optimized and adjusted nutrition suggestions and corresponding personalized nutrition diet spectrum optimization schemes which are most suitable for the personal condition of the user in a targeted manner by combining the personal information and diet requirements of the user.
Further preferably, the step S5 includes:
s501, if the user does not select food in the diet intention and directly instructs a system to carry out intelligent catering, directly executing the step S507; if the user selects the food type in the food desire and instructs the system to carry out intelligent catering, the step S507 is directly executed; if the user selects the food type in the food willingness and instructs the system to directly calculate and analyze the food type with the food type as the limit, the consumption of various foods in the food willingness of the user is calculated according to the edible calorie value and the required various nutrient substance values, the required amount and the grid line of various required nutrient substances are met as much as possible on the premise that the calorie does not exceed the standard, a primary qualified food spectrum basic scheme is obtained, and the residual edible calorie value and the residual required various nutrient substance values are calculated;
s502, detecting whether the nutrient value exceeds the upper limit value according to the primary qualified diet recipe basic scheme, if so, adjusting the dosage of the nutrient value under the premise that the nutrient value is not lower than the qualified line newly appears to obtain a primary qualified diet recipe, calculating the residual edible calorie value and the residual required various nutrient values, and then executing the step S503; otherwise, directly obtaining the primary qualified diet, calculating the remaining edible calorie value and the remaining required nutrient values, and then executing the step S503;
s503, on the basis of the primary qualified diet, calculating and adjusting the consumption of various foods in the diet intention of the user according to the remaining edible calorie value and the remaining required various nutrient substance values, enabling the consumption to meet the excellent line of required various nutrient substances as far as possible on the premise that the situation that the nutrient substances exceed the upper limit value and the calorie does not exceed the standard is avoided, obtaining a primary excellent diet basic scheme, and calculating the remaining edible calorie value and the remaining required various nutrient substance values;
s504, according to the basic scheme of the primary excellent diet recipe, if the food types with zero useful amount still exist in the diet intention of the user, on the premise that the situation that the nutrient substances exceed the upper limit value newly occurs, the food types with zero useful amount are considered preferentially, the residual edible calorie value is properly distributed to the food types in the diet intention of the user, the primary excellent diet recipe is obtained, and the residual required various nutrient substance values are calculated; on the contrary, on the premise that the situation that the nutrient substances exceed the upper limit value newly appears, the residual edible calorie value is properly distributed to the food types in the food will of the user, a primary excellent diet is obtained, and the residual required various nutrient substance values are calculated;
s505, displaying the primary excellent diet spectrum to a user, and analyzing and evaluating the primary excellent diet spectrum;
and S506, if the user indicates satisfaction, combining the required water quantity of the user on the same day to obtain the residual required water quantity of the user on the same day. Reminding the user of drinking water properly according to the residual required water amount of the user on the same day to obtain an individualized nutritional diet which simultaneously meets the individual health nutritional requirements and the individual dietary preference of the user; if the user is not satisfied, the food will is modified, and the system is instructed to directly calculate and analyze the food with the modification as the limit, and then the step returns to the step S501 according to the new food will of the user; if the user is not satisfied, instructing the system to carry out intelligent catering to improve the recipe, and executing the step S507;
s507, according to the personal information of the user, food which is unpleasant for the user is removed from the database, and the recommendation priority of the food which is favorite by the user is improved to obtain a processed database;
s508, according to the edible calorie value and the required various nutrient substance values, if the user has a primary excellent diet recipe, analyzing by combining the edible calorie value and the required various nutrient substance values, performing optimized matching combination according to the recommended food types in the processed database, and forming a recommended diet intention by adding the food types in the diet intention of the user (no matter the user selects zero or a plurality of foods); if the user does not have a primary excellent diet, analyzing by combining food types (no matter the user selects zero or a plurality of foods) in the diet intention of the user, carrying out optimized matching combination according to the recommended food types in the processed database, and forming the recommended diet intention by adding the food types in the diet intention of the user;
s509, calculating the consumption of various foods in the recommended diet willingness according to the edible calorie value and the required various nutrient substance values, meeting the required quantity and the grid line of various required nutrient substances as far as possible on the premise that the calorie does not exceed the standard, obtaining a high-grade qualified diet spectrum basic scheme, and calculating the residual edible calorie value and the residual required various nutrient substance values;
s510, detecting whether the nutrient substance value exceeds the upper limit value according to the basic scheme of the high-grade passing diet recipe, if so, adjusting the using amount of the nutrient substance under the premise that the nutrient substance is not lower than the grid line newly, obtaining the high-grade passing diet recipe, calculating the residual edible calorie value and the residual required various nutrient substance values, and then executing the step S511; otherwise, directly obtaining a high-grade and good diet, calculating the remaining edible calorie value and the remaining required nutrient values, and then executing the step S511;
s511, on the basis of a high-grade passing recipe, calculating and adjusting the consumption of various foods in the recommended dietary willingness according to the remaining edible calorie value and the remaining required various nutrient substance values, enabling the consumption to meet the excellent line of required amounts of various nutrient substances as far as possible on the premise that the situation that the nutrient substances exceed the upper limit value and the calorie does not exceed the standard is avoided, obtaining a high-grade excellent dietary recipe basic scheme, and calculating the remaining edible calorie value and the remaining required various nutrient substance values;
s512, according to the basic scheme of the high-grade excellent diet recipe, if the food types with zero useful amount in the recommended diet will exist, the food types with zero useful amount are considered preferentially on the premise that the situation that the nutrient substances exceed the upper limit value newly appears, the residual edible calorie value is properly distributed to the food types in the recommended diet will to obtain the high-grade excellent diet recipe, and the residual required various nutrient substance values are calculated; on the contrary, on the premise that the situation that the nutrient substances exceed the upper limit value newly appears, the residual edible calorie value is properly distributed to the food types in the recommended food will, so that a high-grade excellent diet is obtained, and the residual required various nutrient substance values are calculated;
s513, displaying the high-grade excellent diet spectrum to a user, and analyzing and evaluating the high-grade excellent diet spectrum;
and S514, if the user indicates satisfaction, combining the required water quantity of the user on the same day to obtain the residual required water quantity of the user on the same day. Reminding the user of drinking water properly according to the residual required water amount of the user on the same day to obtain an individualized nutritional diet which simultaneously meets the individual health nutritional requirements and the individual dietary preference of the user; if the user is not satisfied, modifying the food types in the high-grade excellent diet spectrum so as to form a new diet intention, and instructing the system to directly calculate and analyze the food types with the new diet intention as the limit, returning to the step S501 according to the new diet intention of the user; if the user is not satisfied, the food types in the high-grade excellent diet recipe are modified, so that a new diet will be formed, and the system is instructed to intelligently prepare an improved diet recipe, then step S515 is executed;
s515, according to the personal information of the user, the food that the user disagrees with and the food that the user deleted from the original high-grade excellent diet spectrum in step S514 are removed from the database, and the recommended priority of the food that the user likes is increased to obtain the processed database, and then step S508 is executed.
Further preferably, the step S501 includes:
s5011, calculating the value energy ratios of various foods corresponding to various nutrient substances in the food willingness of the user, and further calculating the value energy limit ratios of various foods corresponding to various nutrient substances in the food willingness of the user;
s5012, according to the value energy limit ratios of various nutrients corresponding to various foods in the diet willingness of the user, obtaining the maximum value energy limit ratios of various nutrients. Sorting the nutrient substances according to the maximum energy limit ratio of the nutrient substances, wherein the nutrient substance with the maximum energy limit ratio is arranged at the top, otherwise, the nutrient substance with the maximum energy limit ratio is arranged at the last, and calculating the nutrient substances in sequence according to the sequence;
s5013, respectively selecting the food with the maximum value ratio of the nutrient substances according to the numerical values of the required nutrient substances and the sequence after the value ratio of the nutrient substances is sorted, so that the food reaches the required passing line. After each nutrient substance reaches the passing line, whether the total calorie exceeds the edible calorie or not needs to be judged, if yes, the newly added food consumption of the nutrient substance is cancelled, the primary passing diet spectrum basic scheme is obtained, the remaining edible calorie value and the remaining required various nutrient substance values are calculated, and then the step S502 is executed; on the contrary, the calculation of the next nutrient substance is continued until the required amount of each required nutrient substance and the grid line are met as much as possible on the premise that the calorie does not exceed the standard, so as to obtain a primary and grid diet spectrum basic scheme, the remaining edible calorie value and the remaining required various nutrient substance value are calculated, and then the step S502 is executed;
further preferably, the step S502 includes:
s5021, detecting whether the situation that the value of the nutrient substance exceeds the upper limit value exists according to the primary passing diet spectrum basic scheme, and if so, executing the step S5022 on the premise that the situation that the nutrient substance is lower than the passing line does not occur newly; otherwise, directly obtaining the primary qualified diet, calculating the remaining edible calorie value and the remaining required nutrient values, and then executing the step S503;
s5022, finding out nutrient substances with the maximum exceeding proportion (nutrient substance exceeding proportion = (nutrient substance value-nutrient substance upper limit value)/nutrient substance upper limit value), sorting the nutrient substances according to the food value energy ratio corresponding to the nutrient substances, and reducing the food consumption with the maximum value energy ratio corresponding to the nutrient substances, so that the nutrient substance value does not exceed the warning value any more;
s5023, detecting whether the situation that the nutrient substances are lower than the grid line newly occurs or not after adjustment, if so, canceling the adjustment, and adjusting the food consumption with the maximum value energy ratio corresponding to the nutrient substances downwards according to the food value energy ratio sequence corresponding to the nutrient substances so that the nutrient substance value does not exceed the warning value any more, and so on; otherwise, finding out the nutrient substances with the maximum overproof ratio, and reducing the food consumption with the maximum energy ratio corresponding to the nutrient substances, so that the value of the nutrient substances does not exceed the alarm value any more, and so on;
s5024, if for certain nutrient substances, the situation that the nutrient substances are lower than the ruled line cannot be avoided after the food with the value-energy ratio is sequentially debugged according to the value-energy ratio, the nutrient substances are kept in the original state before being adjusted, the nutrient substances are not adjusted any more, and the next nutrient substance is sequentially adjusted according to the sequence from the large exceeding ratio to the small exceeding ratio;
s5025, on the premise that the situation that the nutrient substances are lower than the grid line does not occur newly, the nutrient substances exceeding the upper limit value are adjusted as much as possible to obtain a primary and grid diet, the remaining edible calorie value and the remaining required nutrient substance values are calculated, and then the step S503 is executed;
further preferably, the step S503 includes:
s5031, calculating the following optimal values of various foods corresponding to various nutrient substances in the diet willingness;
s5032, according to the food will, the maximum value of each nutrient can be obtained according to the value of each nutrient. Sequencing the nutrient substances according to the maximum goodness-tracking values of the nutrient substances, wherein the nutrient substance with the maximum goodness-tracking value is arranged at the top, otherwise, the nutrient substance with the maximum goodness-tracking value is arranged at the last, and calculating the nutrient substances in sequence according to the sequence;
s5033, selecting the food with the maximum value ratio corresponding to each nutrient according to the value of each nutrient required and the sequence after the value ratio of each nutrient is sorted, so as to achieve the required excellent line. After each nutrient reaches the excellent line, it is necessary to judge whether the nutrient exceeds the upper limit value newly and whether the total calorie exceeds the edible calorie. If yes, removing the consumption of the newly added food of the nutrient substance, and then calculating the next nutrient substance; on the contrary, the next nutrient is directly calculated until the required excellent lines of various required nutrients are met as much as possible on the premise that the situation that the nutrient exceeds the upper limit value and the calorie does not exceed the standard is not newly generated, so as to obtain a primary excellent diet spectrum basic scheme, the remaining edible calorie value and the remaining required various nutrient values are calculated, and then the step S504 is executed;
from the above, according to the personalized intelligent catering method and system based on the user condition, the nutrition required by the user is calculated according to the personal information and the body condition of the user in the same day, and further personalized nutrition recipes for different users can be generated. The invention can automatically select the diet recipe which most easily meets the nutrition, greatly reduces the calculation difficulty and time, and can take care of the personal preference of the user while reasonably and scientifically matching, thereby effectively improving the feasibility of the nutrition diet recipe.
While the preferred embodiments of the present invention have been illustrated and described, it will be understood by 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 invention as defined by the appended claims.

Claims (11)

  1. A personalized intelligent catering method based on user conditions is characterized by comprising the following steps:
    A. acquiring personal information, physical conditions, diet requirements and diet willingness input by a user;
    B. calculating edible calorie values and required various nutrient substance values in the nutritional diet according to personal information, physical conditions and dietary requirements of users;
    C. according to the nutrition condition of various foods in the diet willingness of the user, the probability of deficiency or excess of various nutrient substances of the user is analyzed and obtained by combining the personal information, physical condition and diet demand of the user, and nutrition suggestions and recommended matched food types are given;
    D. according to the edible calorie value and the required values of various nutrient substances, and in combination with personal information and diet willingness, calculating and generating a corresponding personalized nutritional diet which simultaneously meets the personal health nutritional requirements and the personal diet preference of the user;
    E. and displaying the generated personalized nutritional diet.
  2. The personalized intelligent catering method based on user conditions according to claim 1, wherein: the step E is followed by:
    F. analyzing the physical condition change condition of the user according to the physical condition input by the user in the past, and providing an optimized and adjusted nutrition suggestion which is most suitable for the personal condition of the user and a corresponding personalized nutrition diet spectrum optimization scheme by combining the personal information and diet requirements of the user.
  3. The personalized intelligent catering method based on user conditions according to claim 1, wherein: the method for recommending the matched food types specifically comprises the following steps:
    c1, setting the nutrient substances with preset grid lines in the required nutrient substances as a first type and setting the nutrient substances with preset excellent lines in the required nutrient substances as a second type according to the numerical values of the required nutrient substances of the user;
    c2, calculating the value energy ratios of various required nutrients corresponding to various foods respectively to obtain a first food value energy ratio ranking list and a second food value energy ratio ranking list;
    and C3, obtaining the recommended food types according to the first type food value comparison ranking list and the second type food value comparison ranking list and preset selection rules.
  4. The personalized intelligent catering method based on user conditions according to claim 1, wherein: the step D comprises the following steps:
    d01, if the user does not select food in the food will but directly instructs the system to carry out intelligent catering, directly executing step D07; if the user selects the food type in the food desire and instructs the system to carry out intelligent catering, the step D07 is directly executed; if the user selects the food type in the food desire and instructs the system to directly calculate and analyze the food type with the food type as the limit, the scheme is calculated and analyzed to obtain a primary qualified diet spectrum basic scheme, and the remaining edible calorie value and the remaining required various nutrient substance values are calculated;
    d02, detecting whether the nutrient value exceeds the upper limit value according to the primary qualified diet recipe basic scheme, if so, adjusting the dosage of the nutrient value under the premise that the nutrient value is not lower than the qualified line newly appears to obtain a primary qualified diet recipe, calculating the residual edible calorie value and the residual required various nutrient values, and then executing the step D03; otherwise, directly obtaining the primary and qualified diet, calculating the remaining edible calorie value and the remaining required nutrient values, and then executing the step D03;
    d03, on the basis of the primary and qualified diet recipe, calculating and adjusting the consumption of various foods in the diet will of the user according to the remaining edible calorie value and the remaining required various nutrient substance values, maximizing the variety of various nutrient substances reaching the required amount of excellent lines on the premise of not exceeding the upper limit value and not exceeding the standard of calorie due to the new occurrence of the situation of the nutrient substances, obtaining a primary excellent diet recipe basic scheme, and calculating the remaining edible calorie value and the remaining required various nutrient substance values;
    d04, according to the basic scheme of the primary excellent diet recipe, if a food type with zero consumption in the diet will of the user is detected, under the premise that the situation that the nutrient substances exceed the upper limit value newly appears, the residual edible calorie value is distributed to the food type with zero consumption in the diet will of the user, if the edible calorie value still remains, the residual edible calorie value is continuously distributed to other food types in the diet will of the user under the premise that the situation that the nutrient substances exceed the upper limit value newly appears, so as to obtain the primary excellent diet recipe, and the residual required nutrient substance values are calculated; on the contrary, on the premise that the situation that the nutrient substances exceed the upper limit value newly appears, the remaining edible calorie value is distributed to the food types in the food will of the user, so as to obtain a primary excellent diet, and the remaining required various nutrient substance values are calculated;
    d05, displaying the primary excellent diet spectrum to the user, and analyzing and evaluating the primary excellent diet spectrum;
    d06, if the user indicates satisfaction, obtaining an individual nutritional diet which simultaneously meets the individual health nutritional needs and the individual dietary preferences of the user; if the user is not satisfied, modifying the food and drink willingness, and instructing the system to directly calculate and analyze the food and drink willingness by taking the modification as a limit, returning to execute the step D01 according to the new food and drink willingness of the user; if the user is not satisfied, instructing the system to carry out intelligent catering to improve the diet, and executing the step D07;
    d07, according to the personal information of the user, removing the foods which are unpleasant for the user from the database, and improving the recommendation priority of the foods which are favorite for the user to obtain a processed database;
    d08, if a primary excellent diet recipe is generated according to the edible calorie value and the required various nutrient values, analyzing by combining the dietary recipe, optimizing, matching and combining according to the recommended food types in the processed database, and forming the recommended diet intention by adding the food types in the diet intention of the user; if the primary excellent diet is not generated, analyzing by combining the food types in the diet willingness of the user, carrying out optimized matching combination according to the recommended food types in the processed database, and forming the recommended diet willingness by adding the food types in the diet willingness of the user;
    d09, calculating the consumption of various foods in the recommended diet willingness according to the edible calorie value and the required various nutrient substance values, maximizing the types of various nutrient substances reaching the required amount and the required passing line on the premise of not exceeding the standard of the calorie, obtaining a high-grade passing diet basic scheme, and calculating the residual edible calorie value and the residual required various nutrient substance values;
    d10, according to the basic scheme of the high-grade passing diet recipe, detecting whether the nutrient value exceeds the upper limit value, if so, adjusting the dosage of the nutrient under the premise that the nutrient is not lower than the grid line newly, obtaining the high-grade passing diet recipe, calculating the residual edible calorie value and the residual required various nutrient values, and then executing the step D11; otherwise, directly obtaining a high-grade and good diet, calculating the remaining edible calorie value and the remaining required various nutrient values, and then executing the step D11;
    d11, on the basis of a high-grade passing recipe, calculating and adjusting the consumption of various foods in the recommended diet intention according to the remaining edible calorie value and the remaining required various nutrient substance values, enabling the types of various nutrient substances reaching the required amount of excellent lines to reach the maximum on the premise that the situation that the nutrient substances exceed the upper limit value and the calorie does not exceed the standard newly occurs, obtaining a high-grade excellent diet recipe basic scheme, and calculating the remaining edible calorie value and the remaining required various nutrient substance values;
    d12, according to the basic scheme of the high-grade excellent diet recipe, if the food type with zero useful amount in the recommended diet will exist, under the premise that the situation that the nutrient substances exceed the upper limit value newly appears, the food type with zero useful amount is considered preferentially, the residual edible calorie value is properly distributed to the food type in the recommended diet will, the high-grade excellent diet recipe is obtained, and the residual required various nutrient substance values are calculated; on the contrary, on the premise that the situation that the nutrient substances exceed the upper limit value newly appears, the residual edible calorie value is distributed to the food types in the recommended food will, so that a high-grade excellent diet is obtained, and the residual required various nutrient substance values are calculated;
    d13, displaying the high-grade excellent diet spectrum to the user, and analyzing and evaluating the high-grade excellent diet spectrum;
    d14, if the user indicates satisfaction, obtaining an individual nutritional diet meeting the individual health nutritional requirements and the individual dietary preferences of the user; if the user is not satisfied, modifying the food types in the high-grade excellent diet spectrum so as to form a new diet intention, and instructing the system to directly calculate and analyze the food types with the new diet intention as the limit, returning to the step D01 according to the new diet intention of the user; if the user is not satisfied, the food types in the high-grade excellent diet recipe are modified, so that a new diet will be formed, and the system is instructed to intelligently prepare an improved diet recipe, then step D15 is executed;
    d15, according to the personal information of the user, removing the food deleted from the original high-grade excellent diet spectrum in the step D14 from the processed database to obtain a secondary processed database, and then executing the step D08.
  5. The personalized intelligent catering method based on user conditions according to claim 4, wherein: the calculation and analysis in step D01 results in a preliminary and qualified dietary profile base program and calculates the remaining edible caloric value and the remaining required values of various nutrients including:
    d011, calculating the value energy ratios of various foods corresponding to various nutrient substances respectively in the diet willingness of the user, and further calculating the value energy limit ratios of various foods corresponding to various nutrient substances respectively in the diet willingness of the user;
    d012, respectively corresponding various foods to the value energy limit ratios of various nutrient substances according to the diet willingness of the user to obtain the maximum value energy limit ratios of various nutrient substances, sequencing various nutrient substances according to the maximum value energy limit ratios of various nutrient substances, arranging the nutrient substance with the maximum value energy limit ratio at the top, otherwise, arranging at the bottom, and sequentially calculating various nutrient substances according to the sequence;
    d013, respectively selecting foods with the maximum value energy ratios corresponding to the nutrient substances according to the numerical values of the various nutrient substances required and the sequence after the value energy ratios of the nutrient substances are sorted, so that the foods reach required passing lines, wherein after each nutrient substance reaches the passing lines, whether the total calories exceed the edible calories at present needs to be judged, if yes, the new food consumption of the nutrient substances is cancelled, a primary passing dietary spectrum basic scheme is obtained, the residual edible calorie numerical values and the residual required numerical values of the various nutrient substances are calculated, and then the step D02 is executed; otherwise, the calculation of the next nutrient substance is continued until the required amount of the nutrient substances reaching the lattice line reach the maximum on the premise that the calorie does not exceed the standard, the basic scheme of the primary lattice dietary spectrum is obtained, the remaining edible calorie value and the remaining required nutrient substance value are calculated, and then the step D02 is executed.
  6. The personalized intelligent catering method based on user conditions according to claim 4, wherein: the step D02 includes:
    d021, detecting whether the nutrient value exceeds the upper limit value according to the primary qualified diet spectrum basic scheme, and if so, executing a step D022 on the premise that the nutrient value is not lower than the qualified line newly; otherwise, directly obtaining the primary and qualified diet, calculating the remaining edible calorie value and the remaining required nutrient values, and then executing the step D03;
    d022, finding out the nutrient substances with the maximum overproof proportion, sorting according to the energy ratio of the food values corresponding to the nutrient substances, and reducing the food consumption with the maximum energy ratio corresponding to the nutrient substances to ensure that the value of the nutrient substances does not exceed the alarm value any more;
    023, detecting whether the nutrient substance is lower than the grid line newly after adjustment, if so, canceling the adjustment, and lowering the food consumption with the maximum value energy ratio corresponding to the nutrient substance according to the food value energy ratio sequence corresponding to the nutrient substance so that the nutrient substance value does not exceed the warning value any more, and so on; otherwise, finding out the nutrient substances with the maximum overproof ratio, and reducing the food consumption with the maximum energy ratio corresponding to the nutrient substances, so that the value of the nutrient substances does not exceed the alarm value any more, and so on;
    d024, if the food with a certain nutrient value-to-energy ratio is adjusted once in turn according to the value-to-energy ratio, the situation that the nutrient is lower than the grid line can not be avoided, the nutrient maintains the original state before adjustment, and is not adjusted any more, and the next nutrient is adjusted in turn according to the sequence from the larger to the smaller of the overproof ratio;
    d025, adjusting the nutrients exceeding the upper limit value to obtain a primary passing diet without newly appearing the nutrient falling below and the grid line, calculating the remaining edible calorie value and the remaining required nutrient value, and executing the step D03.
  7. The personalized intelligent catering method based on user conditions according to claim 4, wherein: the step D03 includes:
    d031 calculating the optimal value of each food corresponding to each nutrient in the diet willingness;
    d032 obtaining the maximum optimum value of each nutrient according to the optimum value of each nutrient for each food in the diet desire. Sequencing the nutrient substances according to the maximum goodness-tracking values of the nutrient substances, wherein the nutrient substance with the maximum goodness-tracking value is arranged at the top, otherwise, the nutrient substance with the maximum goodness-tracking value is arranged at the last, and calculating the nutrient substances in sequence according to the sequence;
    d033, selecting the food with the maximum value energy ratio corresponding to each nutrient according to the value of each nutrient required and the sequence of the value energy ratio sorting of each nutrient, so as to achieve the required excellent line, wherein after each nutrient achieves the excellent line, whether the nutrient exceeds the upper limit value newly occurs or not and whether the total calorie exceeds the edible calorie is judged. If yes, removing the consumption of the newly added food of the nutrient substance, and then calculating the next nutrient substance; on the contrary, the calculation of the next nutrient is directly performed until the variety of each nutrient reaching the required amount of excellent line reaches the maximum under the premise that the situation that the nutrient exceeds the upper limit value is not newly generated and the calorie does not exceed the standard, so as to obtain the primary excellent diet spectrum basic scheme, the remaining edible calorie value and the remaining required various nutrient value are calculated, and then the step D04 is executed.
  8. The personalized intelligent catering method based on user conditions according to claim 3, 4, 5 or 6, wherein: the calculation formula of the value energy ratio is as follows:
    the ratio of the value of nutrient a for food X = nutrient a contained in food X per unit weight/calorie contained in food X per equivalent unit weight.
  9. The method of claim 8, wherein the method comprises: the calculation formula of the value energy limit ratio is as follows:
    food X can limit ratio for nutrient a = food X can limit ratio for nutrient a/nutrient a cross.
  10. The method of claim 8, wherein the method comprises: the calculation formula of the figure of merit pursuit value is as follows:
    the figure of merit for food X for nutrient a = value energy ratio for food X for nutrient a/(excellent line for nutrient a-present value for nutrient a).
  11. A personalized intelligent catering system based on user condition, comprising:
    the information acquisition module is used for acquiring personal information, physical conditions, diet requirements and diet willingness input by a user;
    the nutrition calculation module is used for calculating edible calorie values and required various nutrient substance values in the nutritional diet according to the personal information, physical conditions and dietary requirements of the user;
    the nutrition analysis module analyzes and obtains the probability of deficiency or excess of various nutrient substances of the user according to the nutrition condition of various foods in the diet willingness of the user and by combining the personal information, physical condition and diet requirement of the user, and provides nutrition suggestions and recommended and matched food types in a targeted manner;
    the diet recipe generating module is used for calculating and generating a corresponding personalized nutritional diet recipe which simultaneously meets the individual health nutritional requirements and the individual diet preference of the user according to the edible calorie value and the required various nutrient values and in combination with the individual information and the diet willingness;
    and the diet recipe display module is used for displaying the generated personalized nutrition diet recipe.
CN201880088820.7A 2018-02-08 2018-02-08 Personalized intelligent catering method and system based on user conditions Pending CN111727429A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/075775 WO2019153176A1 (en) 2018-02-08 2018-02-08 Personalized intelligent catering method and system based on user condition

Publications (1)

Publication Number Publication Date
CN111727429A true CN111727429A (en) 2020-09-29

Family

ID=67548652

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880088820.7A Pending CN111727429A (en) 2018-02-08 2018-02-08 Personalized intelligent catering method and system based on user conditions

Country Status (2)

Country Link
CN (1) CN111727429A (en)
WO (1) WO2019153176A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116682533A (en) * 2023-08-03 2023-09-01 北京四海汇智科技有限公司 Renal patient nutrition management method and system based on machine learning

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512196A (en) * 2015-11-27 2016-04-20 朱威 Personalized nutritional recipe recommendation method and system based on users' conditions
CN106096237A (en) * 2016-05-31 2016-11-09 点击率(北京)科技有限公司 A kind of method and device of intelligent recommendation health diet

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2335216A4 (en) * 2008-08-27 2011-12-21 4Food Llc A method and system for nutritional profiling utilizing a trainable database
CN103345591A (en) * 2013-07-23 2013-10-09 南京久康网络科技有限公司 Personalized nutrition recipe device and method
CN104199839A (en) * 2014-08-05 2014-12-10 朱威 Dietary scheme generation method and system based on user nutritional requirements

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512196A (en) * 2015-11-27 2016-04-20 朱威 Personalized nutritional recipe recommendation method and system based on users' conditions
CN106096237A (en) * 2016-05-31 2016-11-09 点击率(北京)科技有限公司 A kind of method and device of intelligent recommendation health diet

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116682533A (en) * 2023-08-03 2023-09-01 北京四海汇智科技有限公司 Renal patient nutrition management method and system based on machine learning

Also Published As

Publication number Publication date
WO2019153176A1 (en) 2019-08-15

Similar Documents

Publication Publication Date Title
KR102221784B1 (en) Automation Method for supplying customized menu
US20160379520A1 (en) Nutrient density determinations to select health promoting consumables and to predict consumable recommendations
CN107153972A (en) A kind of menu visualization point ordering system of user oriented evaluation of nutrition
CN105512196A (en) Personalized nutritional recipe recommendation method and system based on users' conditions
Ribeiro et al. SousChef: mobile meal recommender system for older adults
KR101552339B1 (en) Apparatus and method for servicing personalized food menu and foods purchase able to feedback
CN104200409B (en) A kind of matching process of taste selection information with application
CN103345591A (en) Personalized nutrition recipe device and method
CN107731281A (en) A kind of method for recommending dining
US20160098942A1 (en) Method for Generating Low-Waste Personalized Meal Plans within a Budget
JP2012003319A (en) Menu determination support device, menu determination support program, and memory medium for storing menu determination support program
CN109461491A (en) A kind of intelligent nutrition catering system and method for family health care management
CN110706781A (en) Diet configuration system
CN109872798A (en) A kind of nutrition under big data background is served the meals method and system
CN104112217A (en) Taste selection information marking method and application method
CN106446523A (en) Food recommendation method and device
JP2016200963A (en) Meal menu presentation system
CN110459295A (en) Healthy diet management method
JP2007133525A (en) Dietary advice support system
CN110349648A (en) A kind of generation recommending recipes method based on recipe library
Ueta et al. Implementation of a goal-oriented recipe recommendation system providing nutrition information
CN116130058A (en) Recipe recommendation method based on intelligent diet
JP6805079B2 (en) Menu provision system
KR101692299B1 (en) Method and Apparatus for providing a recommended dinner menu
CN109300527A (en) The recommended method of diet information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200929

RJ01 Rejection of invention patent application after publication