Catering recommendation method and system for combination of multiple persons in family

文档序号:7583 发布日期:2021-09-17 浏览:30次 中文

1. A family multi-person combined catering recommendation method is characterized by comprising the following steps:

s1, constructing a user portrait according to user behavior data and user attribute data of a family, wherein the user behavior data comprise historical cooking recipe data and dish changing data in a preset time period, and the user attribute data comprise the number of family members, the height, the age, the sex, the weight, the disease condition and the daily activity of each family member;

step S2, calculating the daily recommended intake energy value of each family member according to the height, age, sex, weight and daily activity of each family member, and summarizing the daily recommended intake energy value of each family member to obtain the daily recommended intake energy value of the family;

step S3, if the current family is a new user, generating a recommended dish list according to the user attribute data of the current family and the number of people having meals; if the current family is a non-new user, generating a recommended dish list according to the user portrait;

step S4, generating a nutrition recipe of the current family according to the calculated daily recommended intake energy value of the family, the generated recommended dish list and the energy proportion of various dishes in each meal;

and step S5, replacing dishes in the nutritional recipe according to user operation to obtain a home-type nutritional recipe recommended and generated by final catering.

2. The method for recommending a meal for a family and a multi-person combination as recited in claim 1, wherein the step of calculating the recommended daily intake energy value of each family member according to the height, age, sex, weight and daily activity of each family member comprises:

step S21, subtracting a preset value from the height of the family member according to the gender to be used as the standard weight of the family member;

step S22, calculating the BMI according to the weight and the height of the family member, and obtaining the body type corresponding to the family member according to the BMI and the age;

step S23, obtaining the energy supply standard of the family member according to the relationship between the preset energy supply standard and the body type and the daily activity, the daily activity of the family member and the calculated body type;

and step S24, calculating the recommended daily intake energy value of the family member according to the standard weight and the energy supply standard.

3. The family and multi-person combined catering recommendation method according to claim 1, wherein the generating of the recommended dish list according to the user attribute data of the current family and the number of people having meals comprises:

obtaining the meat and vegetable proportion of each meal in the current family according to the number of the meals and a preset meat and vegetable matching proportion table;

and generating a recommended dish list according to the user attribute data and the meat and vegetable proportion of each meal.

4. The family and multi-person combined meal recommendation method of claim 1, wherein generating a recommended dish list from the user representation comprises:

1) screening a plurality of reference family users similar to the user attribute data of the current family;

2) extracting user behavior data of a current family and each reference family user, converting the user behavior data into behavior data characteristic vectors, and combining the behavior data characteristic vectors of all families to obtain a family user behavior matrix;

3) converting the family user behavior matrix into a user table corresponding to the user behavior data;

4) establishing a family user similarity matrix according to a user table corresponding to the user behavior data to obtain family dish interest similarity;

5) selecting two reference family users with the closest similarity to the interest similarity of the family dishes of the current family, and extracting historical cooking menu data of the two reference family users;

6) acquiring a latest recommended dish set, and generating a proposed recommended dish list of a current family according to historical cooking menu data of two reference family users and the latest recommended dish set;

7) and filtering the dishes cooked by the current family in the proposed recommended dishes list or the contraindicated dishes in the current family in the last week to obtain the recommended dishes list aiming at the current family.

5. The family and multi-person combined meal recommendation method of claim 4, wherein the latest recommended dish set comprises two dishes, one is a current season dish, and the other is a suitable dish screened according to the disease conditions of the family members in the current family.

6. The family and multi-user combined meal recommendation method of claim 4, wherein the generating of the proposed recommended dish list of the current family according to the historical cooking recipe data of two reference family users and the latest recommended dish set comprises:

and merging the historical cooking menu data of the two reference family users and the latest recommended dish set to serve as a proposed recommended dish list.

7. The family and multi-person combined catering recommendation method according to claim 1, wherein the step of generating the nutritional recipe of the current family according to the calculated daily recommended intake energy value of the family, the generated recommended dish list and the energy proportion occupied by various types of dishes in each meal comprises the following steps:

calculating the energy value distributed to each type of dishes in each meal according to the recommended daily intake energy value of the family and the energy proportion occupied by each type of dishes in each meal;

determining each specific dish of each type of dish in each meal according to the generated recommended dish list, and acquiring the energy density corresponding to each dish;

uniformly distributing the energy value distributed to each type of dish to each dish in the type of dish, and calculating the weight corresponding to each dish according to the energy density corresponding to each dish;

and marking the calculated weight for each dish in each type of dish on the basis of the generated recommended dish list to generate the nutritional recipe of the current family.

8. A family multi-person combined meal recommendation system, comprising a processor and a memory, wherein the memory stores a computer program, and the processor reads the computer program in the memory and runs the computer program to realize the steps of the family multi-person combined meal recommendation method according to any one of claims 1 to 7.

Background

In the modern times, with the continuous improvement of living standard, people pay more and more attention to the body health of people, the corresponding dietary habits are changed greatly, and many people begin to pay attention to scientific nutrition catering methods, so that many nutrition catering systems are produced at the same time.

The existing nutrition catering system adopts a single mode for catering and a labeling type menu recommendation mode, the recommendation of similar dishes is carried out in a label mode, when a user selects a menu, although a replacement menu list is given, the nutrition catering system does not know the taste preference of the user, so that the requirement of holding a client cannot be met accurately. And at present, most of common cooking forms are families, so that the nutrition catering system only adopts a single person catering mode for nutrition catering aiming at individuals, and is difficult to be applied to the daily cooking process of the families.

Disclosure of Invention

The application aims to provide a family multi-person combined catering recommendation method and system, which can generate a recommended menu meeting the user requirements for families.

In order to achieve the purpose, the technical scheme adopted by the application is as follows:

a family multi-person combined catering recommendation method comprises the following steps:

s1, constructing a user portrait according to user behavior data and user attribute data of a family, wherein the user behavior data comprise historical cooking recipe data and dish changing data in a preset time period, and the user attribute data comprise the number of family members, the height, the age, the sex, the weight, the disease condition and the daily activity of each family member;

step S2, calculating the daily recommended intake energy value of each family member according to the height, age, sex, weight and daily activity of each family member, and summarizing the daily recommended intake energy value of each family member to obtain the daily recommended intake energy value of the family;

step S3, if the current family is a new user, generating a recommended dish list according to the user attribute data of the current family and the number of people having meals; if the current family is a non-new user, generating a recommended dish list according to the user portrait;

step S4, generating a nutrition recipe of the current family according to the calculated daily recommended intake energy value of the family, the generated recommended dish list and the energy proportion of various dishes in each meal;

and step S5, replacing dishes in the nutritional recipe according to user operation to obtain a home-type nutritional recipe recommended and generated by final catering.

Several alternatives are provided below, but not as an additional limitation to the above general solution, but merely as a further addition or preference, each alternative being combinable individually for the above general solution or among several alternatives without technical or logical contradictions.

Preferably, the calculating the recommended daily intake energy value of each family member according to the height, age, sex, weight and daily activity of each family member comprises:

step S21, subtracting a preset value from the height of the family member according to the gender to be used as the standard weight of the family member;

step S22, calculating the BMI according to the weight and the height of the family member, and obtaining the body type corresponding to the family member according to the BMI and the age;

step S23, obtaining the energy supply standard of the family member according to the relationship between the preset energy supply standard and the body type and the daily activity, the daily activity of the family member and the calculated body type;

and step S24, calculating the recommended daily intake energy value of the family member according to the standard weight and the energy supply standard.

Preferably, the generating a recommended dish list according to the user attribute data of the current family and the number of people having meals includes:

obtaining the meat and vegetable proportion of each meal in the current family according to the number of the meals and a preset meat and vegetable matching proportion table;

and generating a recommended dish list according to the user attribute data and the meat and vegetable proportion of each meal.

Preferably, the method for generating the recommended dish list according to the user portrait comprises the following steps:

1) screening a plurality of reference family users similar to the user attribute data of the current family;

2) extracting user behavior data of a current family and each reference family user, converting the user behavior data into behavior data characteristic vectors, and combining the behavior data characteristic vectors of all families to obtain a family user behavior matrix;

3) converting the family user behavior matrix into a user table corresponding to the user behavior data;

4) establishing a family user similarity matrix according to a user table corresponding to the user behavior data to obtain family dish interest similarity;

5) selecting two reference family users with the closest similarity to the interest similarity of the family dishes of the current family, and extracting historical cooking menu data of the two reference family users;

6) acquiring a latest recommended dish set, and generating a proposed recommended dish list of a current family according to historical cooking menu data of two reference family users and the latest recommended dish set;

7) and filtering the dishes cooked by the current family in the proposed recommended dishes list or the contraindicated dishes in the current family in the last week to obtain the recommended dishes list aiming at the current family.

Preferably, the latest recommended dish set comprises two parts of dishes, wherein one part of dishes is a current season dish, and the other part of dishes is a suitable dish screened according to the disease conditions of family members in the current family.

Preferably, the generating a proposed recommended dish list of the current family according to the historical cooking menu data of the two reference family users and the latest recommended dish set comprises:

and merging the historical cooking menu data of the two reference family users and the latest recommended dish set to serve as a proposed recommended dish list.

Preferably, the generating of the nutritional recipe of the current family according to the calculated daily recommended intake energy value of the family, the generated recommended dish list and the energy proportion of various dishes in each meal comprises:

calculating the energy value distributed to each type of dishes in each meal according to the recommended daily intake energy value of the family and the energy proportion occupied by each type of dishes in each meal;

determining each specific dish of each type of dish in each meal according to the generated recommended dish list, and acquiring the energy density corresponding to each dish;

uniformly distributing the energy value distributed to each type of dish to each dish in the type of dish, and calculating the weight corresponding to each dish according to the energy density corresponding to each dish;

and marking the calculated weight for each dish in each type of dish on the basis of the generated recommended dish list to generate the nutritional recipe of the current family.

The application also provides a family multi-person combined catering recommendation system which comprises a processor and a memory, wherein the memory stores a computer program, and the processor reads the computer program in the memory and runs to realize the steps of the family multi-person combined catering recommendation method.

According to the family multi-person combined catering recommendation method and system, by constructing the portrait of a family user, the hobby and the demand of the user and some behavior data of the user are visually shown, the portrait of the user is analyzed by the recommendation system, a dish recommendation list meeting the interest and hobby of the user is obtained, and meanwhile, in the using process of the user, the portrait of the family user is continuously perfected by collecting and analyzing the behavior data of the user, so that the result of nutritional catering is continuously optimized, and the satisfaction degree of the user on a recommended menu is further improved.

Drawings

Fig. 1 is a flowchart of a family multi-person combined meal recommendation method according to the present application.

Detailed Description

The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.

In one embodiment, the method for recommending the combined dishes for the family by multiple people is provided, the problem that a nutrition catering system in the prior art only aims at single people for catering and cannot be suitable for a family cooking environment is solved, targeted dish recommendation is performed according to user interests, and the satisfaction degree of a user on recommended dishes is improved to the maximum extent.

As shown in fig. 1, the method for recommending a meal for a family and a multi-person combination in this embodiment includes the following steps:

step S1, constructing user portrait according to user behavior data and user attribute data of family.

The user representation abstracts each specific information of the user into tags, with which the user image is materialized. In the embodiment, the user portrait is introduced to record the characteristics of each family, and the menu is generated according to the characteristics, so that the customer requirements are accurately grasped.

The user portrait is mainly determined by user tag data, the user tag data in the embodiment is divided into two types, one type is a static data tag, namely, the tag data is constructed by using basic information filled by a user as user attribute data, wherein the basic information comprises the number of family members, and the height, age, sex, weight, disease condition and daily activity of each family member.

It is easy to understand that the above fields are used as basic information in this embodiment, and other fields, such as native place, taste preference, etc., may also be added in other embodiments; the other type of user tag data is a statistical type data tag, and in the embodiment, the statistical type data is user behavior data, namely historical cooking recipe data and dish changing data within a preset time period (for example, within a near half year).

It should be noted that the user profile constructed in the present embodiment mainly aims at determining user tag data, and there is no other complicated processing. In other embodiments, the user representation may also be built according to existing methods, such as adding data processing as needed.

And step S2, calculating the daily recommended intake energy value of each family member according to the height, age, sex, weight and daily activity of each family member, and summarizing the daily recommended intake energy values of each family member to obtain the daily recommended intake energy value of the family.

Since energy control is an important point in the recommended menu, it is necessary to accurately grasp the daily recommended intake energy value of a family, and the daily recommended intake energy value of a family is directly related to the daily recommended intake energy value of each member in the family, so the present embodiment focuses on calculating the recommended intake energy value of each member in the family, and the specific calculation process is as follows:

and step S21, subtracting a preset value from the height of the family member according to the gender to be used as the standard weight of the family member. The preset value can be adjusted according to the need, for example, in this embodiment, the preset value corresponding to men is set to be 105, and the preset value corresponding to women is set to be 110, so as to meet the situation that men usually have more physical energy consumption and therefore need more energy intake. Therefore, in this example, the standard body weight of men is body height (cm) -105, and the standard body weight of women is body height (cm) -110.

And step S22, calculating the BMI according to the weight and the height of the family member, and obtaining the body type corresponding to the family member according to the BMI and the age.

Wherein BMI is weight (kg)/[ height (cm)]2The body types of the family members can be set to have different corresponding relations according to factors such as different countries or regions. For example, the arrangement form in this embodiment is shown in table 1:

TABLE 1 body constitution index-body type correspondence table for adults

Considering that the body mass index of the old and the young is different from that of the adult, the table is the body mass index-body type corresponding table for the adult (18-65 years old), wherein the young (2-17 years old, not considered below 2 years old) directly obtains the required energy according to the diet energy table of the young, and the body mass index-body type corresponding table for the old (65 years old) is shown in the table 2:

TABLE 2 physique index-body type correspondence table for the elderly

And step S23, obtaining the energy supply standard of the family member according to the relationship between the preset energy supply standard and the body type and the daily activity amount of the family member and the calculated body type.

Since the energy requirement of each person is directly related to not only the body type but also the daily activity, the body type and the daily activity are considered in combination when determining the energy supply criterion in the present embodiment, and therefore the relationship between the energy supply criterion and the body type and the daily activity is set in the present embodiment as shown in table 3:

TABLE 3 energy supply Standard Table

The light physical activity, the middle physical activity and the heavy physical activity are activity levels distinguished according to a certain standard, for example, activity time (for example, activities within 3 hours in a day are light physical activities, 3 to 6 hours are middle physical activities, and more than 6 hours are heavy physical activities) or activity intensity (for example, only daily activities (walking and the like) are light physical activities, working on duty is middle physical activities, and construction work on a construction site is heavy physical activities) is taken as a distinguishing standard, and in other embodiments, the distinguishing standard can be adjusted adaptively according to the condition of each family member.

And step S24, calculating the recommended daily intake energy value of the family member according to the standard weight and the energy supply standard.

Based on the above, the recommended daily intake energy value of the family member is the standard weight and energy supply standard. The recommended daily intake energy value most suitable for each family is obtained according to strict calculation and comprehensive consideration of various aspects.

Since the children in the growing period do not have corresponding data of body mass index-body type, the embodiment directly obtains the required energy as the recommended daily intake energy value according to the juvenile dietary energy table for the children in the family, wherein the juvenile dietary energy table is shown in table 4:

table 4 dietary energy scale for minor

It should be noted that the minor dietary energy meter provided in the above embodiment has different energy requirements according to the growing environment, so the data in table 4 can be adjusted according to the actual requirements in practical application.

Step S3, if the current family is a new user, generating a recommended dish list according to the user attribute data of the current family and the number of people having meals; and if the current family is a non-new user, generating a recommended dish list according to the user portrait.

The method for generating the recommended dishes list aiming at the new user (the judgment of the new user can be a user without historical cooking menu data) according to the user attribute data of the current family and the number of diners comprises the following steps:

1) the meat and vegetable proportion of each meal (including breakfast, Chinese meal, dinner and snack) is obtained according to the number of people having meals and a preset meat and vegetable matching proportion table. The preset mix ratio of meat and vegetables in this example is shown in table 5:

table 5 preset meat and vegetable matching proportion table

Considering that the number of people in a conventional family is not more than 6, the embodiment lists that the number of people at a meal is 6, in other embodiments, if the number of people at a meal in the family is increased, the proportion of each meal can be adjusted accordingly, for example, when more than six people are present (at most, not more than ten people), the number of dishes in a six-person meal is modified on the basis of the six-person meal, the number of dishes in a breakfast staple food and a breakfast meat dish is modified to be 2, the number of meat dishes and vegetable dishes in a Chinese and evening meal is a rounded value (n is the number of people at a meal) which is added with (n-6)/2 on the basis of the six-person meal, and the rest is kept unchanged.

In the embodiment, the number of people having meals is the actual number of people having meals (not considered under the age of 2), and a more accurate recommended nutritional recipe can be obtained by calculating the actual number of people having meals. In addition, the number of people having meals in a family daily meal is usually not more than ten, so the embodiment is mainly suitable for the nutrition recipe recommendation of the number of people having meals within ten, and can be used for reference for families or dinner parties with the number of people having meals more than ten.

2) And generating a recommended dish list according to the user attribute data and the meat and vegetable proportion of each meal.

Since the new user does not have any historical reference data, the present embodiment recommends that a recommended dish list is randomly generated according to the meat-vegetable ratio of each meal, for example, if the number of dishes of the staple food in the meat-vegetable ratio is 1, one of the staple foods such as rice or pasta is randomly selected as the staple food. Of course, the adjustment can be performed according to the specific user attribute data of the family members, for example, dishes suitable for disease rehabilitation, dishes suitable for old people to eat, and the like are selected.

In addition, the method for generating the recommended dishes list according to the user portrait for the non-new user comprises the following steps:

1) and screening a plurality of reference family users similar to the user attribute data of the current family. In this embodiment, the screening conditions of the reference family users are the number of family members, the height, age, sex, weight, disease condition, and daily activity of each family member, and a plurality of (three or more) reference family users having the highest similarity under all the conditions are obtained.

2) And extracting the user behavior data of the current family and each reference family user, converting the user behavior data into behavior data characteristic vectors, and combining the behavior data characteristic vectors of all families to obtain a family user behavior matrix.

For example, the obtained home user behavior matrix is N, where N (N) represents the behavior data feature vector of user N. If the current family is A, the screened reference family users are B, C, D, all dishes related to the user behavior data of the reference family user B, C, D are 5 and are a, b, c, d and e respectively, and the behavior data feature vectors generated according to the user behavior data of A, B, C, D are N (A)5=(1,0,0,1,1)、N(B)5=(1,0,1,0,1)、N(C)5=(0,1,0,1,0)、N(D)5(0,0,1,1,1), wherein N (K)kA value of 1 indicates that K dishes have been made by K households, and a value of 0 indicates that K dishes have never been made by K households, e.g., N (A)11, the family A has made dish a.

The resulting home user behavior matrix N is:

3) and converting the family user behavior matrix into a user table corresponding to the user behavior data.

The user table corresponding to the user behavior data is the inverted table from the behavior data to the family user, namely the user table corresponding to the dishes,

the user table C is obtained as follows:

where C (C) represents the user behavior corresponding to dish C, for example, C (1) represents that the user behavior corresponding to dish a is (1,1,0,0), that is, the user family A, B has made dish a, and the user family C, D has not made dish a.

4) And establishing a family user similarity matrix according to the user table corresponding to the user behavior data to obtain the family dish interest similarity.

Let the sparse matrix X [ i ] [ j ] ═ n (i) and n (j) | then assuming that the home user i and user j have q behaviors in the matrix C at the same time, X [ i ] [ j ] ═ q, so the final matrix X can be obtained as follows:

since the embodiment is 4 family users, a 4 × 4 family user similarity matrix X is established, since the dish a is cooked by A, B users, 1 is added to each of X [ a ] [ B ] and X [ B ] [ a ], and so on; finally, the matrix X is obtained.

The matrix X is then divided byThe similarity of the dishes of the household user, namely X [ i][j]The similarity of the dish interests of the user i and the user j is obtained.

5) And selecting two reference family users with the closest similarity to the family dish interest of the current family, and extracting historical cooking menu data of the two reference family users.

According to the matrix X obtained by 4 family users calculated by the application, the users most similar to the user A are B and D, and then historical cooking recipe data selected by the B and the D can be extracted.

It should be noted that, in consideration of the calculation pressure, two reference home users are selected in this embodiment, and for example, 4 or 5 reference home users may be selected in other embodiments, that is, TOP L-bit home users with high similarity to the current home user may be selected according to actual needs.

6) And acquiring a latest recommended dish set, and generating a proposed recommended dish list of the current family according to the historical cooking menu data of the two reference family users and the latest recommended dish set.

The latest recommended dish set comprises two parts of dishes, wherein one part of the dishes is a current season dish, and the other part of the dishes is a suitable dish screened according to the disease conditions of family members in a current family (for example, a dish related to disease rehabilitation is facilitated).

In the embodiment, when the proposed recommended dish list is generated, the historical cooking menu data of two reference family users and the latest recommended dish set are directly merged to be used as the proposed recommended dish list. The merging here refers to merging the corresponding dish types in the corresponding meal.

For example, 10 pieces of historical cooking recipe data of two reference home users are obtained, the 10 pieces of data are obtained, dishes in corresponding food classes and dish variety classes in the 10 pieces of data are overlapped, filtering repetition is performed in the overlapping process, then dishes in corresponding food classes and dish variety classes in a latest recommended dish set are overlapped, filtering repetition is performed in the overlapping process, and total dishes in corresponding food classes and dish variety classes in a proposed recommended dish list are obtained if filtering repetition is performed in the overlapping process.

Further explanation is provided in connection with actual dishes: if two dishes referring to 10 pieces of historical cooking recipe data of the family user are rice, noodles and rice noodles, and the dishes of the breakfast staple food with non-repetitive breakfast in the latest recommended dish set breakfast are rice, noodles and rice noodles, and the dishes of the breakfast staple food with non-repetitive rice noodles are rice cake and porridge, the dishes of the breakfast staple food combined to obtain the breakfast in the proposed recommended dish list are rice, noodles, rice cake and porridge.

In this embodiment, the type of dishes (for example, staple food, meat dish, vegetable dish, and the like) of each meal in the proposed recommended dish list is the same as the type of dishes of each meal in the preset meat and vegetable matching ratio table in table 5, and then the dishes in the various dishes of each meal in the proposed recommended dish list can be obtained by analogy according to the above rules.

7) And filtering the dishes cooked by the current family in the proposed recommended dishes list or the contraindicated dishes in the current family in the last week to obtain the recommended dishes list aiming at the current family.

And step S4, generating a nutritional recipe of the current family according to the calculated daily recommended intake energy value of the family, the generated recommended dish list and the preset energy proportion of various dishes in each meal.

The process of generating the nutritional recipes for the current family in this embodiment is specifically as follows:

calculating the energy value distributed to each type of dishes in each meal according to the recommended daily intake energy value of the family and the energy proportion occupied by each type of dishes in each meal;

determining each specific dish of each type of dish in each meal according to the generated recommended dish list, and acquiring the energy density corresponding to each dish;

uniformly distributing the energy value distributed to each type of dish to each dish in the type of dish, and calculating the weight corresponding to each dish according to the energy density corresponding to each dish;

and marking the calculated weight for each dish in each type of dish on the basis of the generated recommended dish list to generate the nutritional recipe of the current family.

This example calculates strictly from the recommended daily intake energy values and the energy density of each dish, so as to obtain the best nutritional diet. The preset energy proportion of each dish in each meal in the embodiment is as follows:

the energy ratio of staple food, meat dish, vegetable dish, milk/sugar water, fruit and nut of the breakfast is 15:8:2:10:5:6, the energy ratio of the staple food, meat dish and vegetable dish of the Chinese meal is 35:13:5, the energy ratio of the staple food, meat dish and vegetable dish of the supper is 30:9.5:5, and the energy ratio of the fruit, milk/sugar water of the supper is 1: 2.

Based on the energy proportion, the energy distribution of each type of dishes in each meal can be obtained according to the daily recommended intake energy value, then the weight of a single dish can be obtained according to the energy density of each dish (for example, the energy distributed by the staple food is calculated to be 1000 kcal, wherein the meal has two staple foods, the energy distributed by each staple food is 500kcal, the weight of the corresponding dish can be obtained according to the energy densities of the two staple foods, and the energy distributed by each staple food can be distributed unequally according to the preference of the user), and the user can cook the dishes correspondingly according to the weight of each dish. If there is no corresponding type of dish in a certain meal due to dish replacement, the proportion of the type is directly subtracted (for example, the recommended daily intake energy value of a family is 2000 kcal, the proportion of meat and vegetables in a Chinese meal is 35:13:5, and if the number of vegetables in the Chinese meal is 0, the proportion of meat and vegetables in the Chinese meal is 35:13, and 2000 kcal is allocated according to the proportion of 35: 13).

In the present embodiment, since the total cooking is performed in a family unit in the family cooking, the weight of each dish may be calculated, and the cooked dishes are consumed together by the family members at the time of consumption. If the edible weight of each dish specific to each family member is required, the ratio distribution can be carried out according to the calculated daily recommended intake energy value of each family member.

And step S5, replacing dishes in the nutritional recipe according to user operation to obtain a home-type nutritional recipe recommended and generated by final catering.

According to the method and the device, after the nutritional recipes are obtained, the user is supported to actively replace disliked dishes, and finally the nutritional recipes meeting the preference of the family user are generated, so that the requirements of the user are better met, and the nutritional recipes meeting the requirements of the user are obtained.

The method and the device have the advantages that the portrayal of the family user is constructed to vividly show the preference and the demand of the user and some behavior data of the user, the portrayal of the user is analyzed by utilizing the recommendation system principle, a dish recommendation list meeting the interest and the hobby of the user is obtained, meanwhile, in the using process of the user, the portrayal of the family user is continuously perfected by collecting and analyzing the behavior data of the user, so that the result of nutrition catering is continuously optimized, and the satisfaction degree of the user on the recommended menu is further improved. According to the method and the device, the family nutritional recipe can be generated scientifically by utilizing the behavior data and the attribute data of the family user, the complexity of the process of nutritional recipe is simplified, and the satisfaction degree of the user on the generated nutritional recipe is improved.

In another embodiment, a family multi-person combined meal recommendation system is provided, namely a computer device, which can be a terminal. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities.

The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to realize a family multi-person combined meal recommendation method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.

The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.

The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

完整详细技术资料下载
上一篇:石墨接头机器人自动装卡簧、装栓机
下一篇:一种多智能体的集成数据的监控方法及云服务器

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!