Recipe push method, device, cooking equipment and medium
By obtaining the target energy demand of users, determining and distributing food types and dosages, and pushing recipe content that meets user needs, the problem that existing recipe push methods cannot meet users' individual needs is solved, and more reasonable and accurate recipe push is achieved.
Patent Information
- Application Number
- CN202210240171.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-10
- Publication Date
- 2025-04-01
- Estimated Expiration
- 2042-03-10
AI Technical Summary
The existing recipe push methods cannot meet the actual energy and nutritional needs of individual users, and the recipes are fixed and single.
By obtaining the user's target energy demand, determining the required food types and dosage, and distributing meals, pushing recipe content that meets user needs.
The generated recipe content is more in line with the user's actual energy and nutritional needs, and is more reasonable and accurate.
Smart Images

Figure CN114613472B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of data processing technology, and in particular relates to a recipe push method, device, cooking equipment and medium. Background Art
[0002] Obese people often have multiple metabolic abnormalities, which are important risk factors for hypertension, diabetes, cardiovascular and cerebrovascular diseases, and unbalanced diet is the main cause of overweight or obesity. Overweight or obese people can manage their weight by adjusting their diet. However, many people are limited by their lack of nutritional knowledge and generally rely on some APPs to push some healthy recipes on the Internet to users. However, the recipes pushed by APPs are fixed and single, and cannot meet the actual energy and nutritional needs of individual users. Summary of the invention
[0003] The embodiments of the present invention provide a recipe push method, device, cooking equipment and medium, which at least to a certain extent solve the problem that recipes are fixed and single and cannot meet the actual energy and nutritional needs of individual users.
[0004] In a first aspect, an embodiment of the present invention provides a recipe push method, comprising: obtaining a user's target energy requirement within a preset time period; determining the types and amounts of food required by the user within the preset time period based on the target energy requirement; allocating the types and amounts of food to meals, and pushing recipe content for at least one meal within the preset time period to the user based on the allocation result.
[0005] In combination with the first aspect, in some embodiments, obtaining the target energy demand of the user within a preset time period includes: obtaining the basal metabolic parameters and activity level parameters of the user; performing energy conversion processing on the basal metabolic parameters and activity level parameters through a pre-configured energy algorithm to obtain the target energy demand.
[0006] In combination with the first aspect, in some embodiments, the activity level parameter is an activity coefficient that characterizes the activity status of the user, and the energy conversion processing of the basal metabolic parameter and the activity level parameter to obtain the target energy requirement includes: multiplying the user's basal metabolic parameter and the activity coefficient to obtain a first energy requirement; performing a difference calculation between the first energy requirement and a preset constant range to obtain the target energy requirement, wherein the preset constant range is pre-set according to the weight loss needs.
[0007] In combination with the first aspect, in some embodiments, the food types are a plurality of pre-fixed types, and determining the food types and amounts required by the user within the preset time period based on the target energy requirement includes: judging whether the target energy requirement is higher than a preset basic energy value; if the target energy requirement is higher than the preset basic energy value, increasing the amount of one or more target foods according to the pre-configured food basic ratio until the total energy amount of various foods after the increase reaches the target energy requirement, and obtaining the food target ratio; and obtaining the amount of each food required by the user within the preset time period from the food target ratio.
[0008] In combination with the first aspect, in some embodiments, the amount of one or more target foods in the preconfigured basic food ratio is increased until the total energy of various foods after the increase reaches the target energy requirement, including: increasing the amount of target food for the basic food ratio at least once with a preset food incremental ratio, and after each increase, determining whether the total energy of various foods reaches the target energy requirement; if not, increasing the amount of target food next time.
[0009] In combination with the first aspect, in some embodiments, after determining whether the target energy requirement is higher than the preset basic energy value, it also includes: if the target energy requirement is lower than or equal to the preset basic energy value; obtaining the amount of each food required by the user within the preset time period from the pre-configured basic food ratio.
[0010] In combination with the first aspect, in some embodiments, the food types and amounts are allocated to meals, and the recipe content of at least one meal within the preset time period is pushed to the user based on the allocation result, including: allocating the food types and amounts to each meal within the preset time period to obtain the target food types and amounts of each target food type required for the target meals within the preset time period; for the target meals, selecting one or more ingredients that meet the target food types and amounts of each target food type from the ingredient library, and matching recipe content including the various selected ingredients from a pre-built recipe pool, wherein the ingredient library is configured with multiple candidate ingredients for each food; and pushing the recipe content.
[0011] In combination with the first aspect, in some embodiments, pushing the recipe content includes: pushing a target recipe including the selected various ingredients to the user, and / or obtaining a cooking tutorial for the target recipe based on the target recipe, and pushing the cooking tutorial to the user.
[0012] In a second aspect, an embodiment of the present invention provides a recipe pushing device, comprising:
[0013] An energy acquisition unit, used to acquire a user's target energy demand within a preset time period;
[0014] A food determination unit, configured to determine the type and amount of food required by the user within the preset time period according to the target energy requirement;
[0015] The recipe push unit is used to allocate the food types and quantities to meals, and push the recipe content of at least one meal within the preset time period to the user according to the allocation result.
[0016] In a third aspect, an embodiment of the present invention provides a cooking device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program according to any one of the embodiments of the first aspect.
[0017] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in any embodiment of the first aspect.
[0018] One or more technical solutions provided by the embodiments of the present invention obtain the target energy requirement of the user within a preset time period; determine the food types and amounts required by the user within the preset time period according to the target energy requirement; allocate the food types and amounts to meals, and push the recipe content of at least one meal within the preset time period to the user according to the allocation result. Thus, the generated recipe content is generated according to the actual energy requirement of the user, and therefore, the recipe pushed to the user is more in line with the user's current actual energy and nutritional requirements, and therefore, more reasonable and accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0020] Figure 1 This is an architecture diagram of a recipe push system in an embodiment of the present invention;
[0021] Figure 2 Schematic diagram of the process of the recipe push method in an embodiment of the present invention;
[0022] Figure 3 This is a functional module diagram of a recipe pushing device in an embodiment of the present invention;
[0023] Figure 4 Schematic diagram of the structure of a cooking device in an embodiment of the present invention. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all the embodiments. Based on the embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0025] An embodiment of the present invention provides a recipe push method, which can be applied independently to a certain user operation end, wherein the user operation end can be a user terminal or a cooking device, wherein the cooking device can be a gas stove, an integrated stove, an induction cooker or other cooker.
[0026] It should be understood that the recipe push method provided in the embodiment of the present invention can also be implemented by a recipe push system, see Figure 1 As shown, the recipe push system includes: a user operation end and a service end that provides services for the user operation end. The user operation end can be a user terminal or a cooking device, and the cooking device can be a gas stove, an integrated stove, an induction cooker, or other stoves.
[0027] The server is used to obtain the user's target energy requirement within a preset time period; determine the types and amounts of food required by the user within the preset time period based on the target energy requirement; allocate the types and amounts of food to meals, and push the recipe content of at least one meal of the user within the preset time period to the user operation terminal based on the allocation result.
[0028] The user operation end is used to obtain the recipe content pushed by the server and display it on the user operation end.
[0029] refer to Figure 2 As shown, a recipe push method provided by an embodiment of the present invention includes the following steps S201 to S203:
[0030] S201. Obtain a user's target energy demand within a preset time period.
[0031] It is understandable that the user's basal metabolic parameters and activity level parameters may be obtained; the basal metabolic parameters and activity level parameters may be subjected to energy conversion processing through a pre-configured energy algorithm to derive the user's target energy requirement within a preset time period.
[0032] In an embodiment of the present invention, the activity level parameter may be: an activity coefficient that characterizes the user's activity situation, and the user's activity coefficient may be matched according to the user's actual activity situation. Based on this, in step S201, energy conversion processing is performed, including: multiplying the user's basal metabolic parameter and the activity coefficient to obtain a first energy requirement; performing a difference calculation between the obtained first energy requirement and a preset constant range to obtain the user's target energy requirement within a preset period of time, that is, target energy requirement = (basal metabolic rate * activity coefficient - preset constant range).
[0033] It should be noted that a mapping relationship between activity status and activity coefficient is pre-established, and the user's activity status can be input by the user or monitored through a sports app. For example, the user's activity status is monitored through a smart wearable device or a sports app on a smart phone and transmitted to the execution subject of the embodiment of the present invention, such as: to the server or the user operation end. The user's activity coefficient is determined based on the pre-established mapping relationship and the user's actual activity status. Below, an example of the mapping relationship between activity status and activity coefficient is given, as shown in Table 1 below:
[0034] Table 1.
[0035] Activities Activity coefficient Bed rest 1.1 Moving around the bed (no exercise) 1.2 No activity to very light activity 1.2~1.3 Light activity (1 to 3 times a week) 1.3~1.4 Moderate activity (exercise 3 to 5 times a week) 1.4~1.6 Heavy activity (exercise 6 to 7 times a week) 1.7~1.9 Fatigue 1.9+
[0036] It should be noted that the preset constant range is pre-set according to the weight loss needs, and the preset constant range can be but is not limited to 500-1000Kcal. The larger the value of the preset parameter range, the lower the target energy requirement obtained. Users can choose the appropriate preset parameter range and the appropriate energy according to their specific circumstances to achieve the ideal weight loss effect for different users. If the generated recipe content is a weight loss recipe, it can achieve the goal of step-by-step dietary energy adjustment for users, which can help users achieve healthy and convenient weight management.
[0037] It should be understood that the first energy requirement can also be directly used as the target energy requirement. The first energy requirement is equivalent to the user's metabolism and activity conditions to avoid the energy of the generated recipe content being equivalent to the user's actual situation and avoid excessive energy intake.
[0038] The user's basal metabolic parameters are determined by some of the user's physical parameters, including the user's gender, height, and weight. The user's basal metabolic parameters are determined based on the user's physical parameters in the following manner:
[0039] Women's basal metabolic rate = 655.1 + (9.56 * weight kg) + (1.85 * height cm) - (4.7 * age)
[0040] Basal metabolic rate for men = 66.44 + (13.75 * weight in kg) + (5 * height in cm) - (6.76 * age)
[0041] For example, a 34-year-old male, 169cm tall, 77kg in weight, usually works in an office and rarely does outdoor sports. According to the BMI algorithm, his BMI = 77kg / (1.69m)2 = 27.0, which is obese; then the male's basal metabolic rate = 66.44 + 13.75*77 + 5*169-6.76*34 = 1740.35Kcal; the activity coefficient is 1.2; and then the male's target energy requirement = 1740.35*1.2-500 ~ 1740.35*1.2-1000 = 1588.42 ~ 1088.42.
[0042] Different from the above-mentioned method of determining the user's target energy requirement, energy conversion processing can also be performed based on the user's basal metabolic parameters and activity level parameters. The obtained target energy requirement is the user's requirement for various nutrients within a preset time period. For example, step S101 is used to obtain the user's respective requirements for the three major nutrients, carbohydrates, protein, and fat, within a preset time period.
[0043] The target energy requirement of the user determined by the above two methods is related to the user's actual physical condition, avoiding the problem of relatively fixed energy calculated based on standard weight and energy supply coefficient and being unable to be flexibly applied. It is thus possible to flexibly respond to the actual physical conditions of different users and obtain a more accurate target energy requirement for individual users.
[0044] S202: Determine the types and amounts of food required by the user within a preset time period according to the user's target energy requirement.
[0045] In order to ensure nutritional balance, the types of food required by the user within the preset time period can be pre-set and constant, and only the amount of each food needs to be determined according to the target energy requirement. Among them, the types of food required within the preset time period can include a variety of fixed types, specifically including: cereals and potatoes, meat and eggs, milk, beans, vegetables, fruits, and cooking oil. The amount of each of the seven foods, cereals and potatoes, meat and eggs, milk, beans, vegetables, fruits, and cooking oil, that the user consumes within the preset time period is determined according to the user's target energy requirement. Thereby, the diversification of food types within the preset time period is limited, so that the types of ingredients and nutrition in the formed target recipe are diversified, avoiding the risk of insufficient intake of one or some nutrients by the user.
[0046] It should be understood that the types of food required by the user in the preset time period may not be fixed. For example, seven types of food, namely, cereals and potatoes, meat and eggs, milk, beans and kernels, vegetables, fruits and cooking oil, may be selected as candidates, and multiple foods may be selected from the candidate food types according to the user's target energy requirement. This method will not be described in detail here.
[0047] In order to more reasonably control the user's energy intake, in step S202: determine whether the user's target energy requirement is higher than the preset basic energy value; according to different judgment results, the method of determining the type and amount of food required by the user within the preset time period is also different accordingly.
[0048] The preset basic energy value is used to measure whether the food consumption needs to be increased for the user. For example, the basic energy value can be pre-configured as 900Kcal, and the corresponding basic food ratio is pre-configured for the basic energy value. The basic food ratio is composed of the basic consumption of various foods.
[0049] Specifically, the amount of food can be expressed in terms of the number of servings. Regardless of the type of food, the energy in one serving is the same, so that the number of servings can be increased according to different energy requirements. For example, the energy in one serving of food is 90Kcal. The total number of food servings D = target energy requirement / energy in one serving of food = target energy requirement / 90Kcal. It should be noted that the total number of food servings D is the sum of the number of servings of various foods. The value of the total number of food servings D is taken to one decimal place. When the decimal place after D is >= 5, the value is 5. When the decimal place after D is <= 5, the value is 0. For example, if 1000Kcal / 90Kcal = 11.11, then 11.0 servings are taken).
[0050] For example, corresponding to a basic energy of 900 Kcal, the basic amount of each food (number of servings of food) in the basic food ratio may be, but is not limited to, as shown in Table 2 below:
[0051] Table 2.
[0052] Food Types Food Servings Cereals and tubers F1=3 Meat and Eggs F2=1 Milk F3=1 Beans (beans + nuts) F4=1 vegetable F5=1 fruit F6=1 Cooking Oil F7=2
[0053] It should be understood that if the judgment result is that the user's target energy requirement is lower than or equal to the preset basic energy value, it indicates that the user's actual energy requirement can be met based on the basic food ratio, and the amount of each food required by the user in the preset time period is obtained from the pre-configured basic food ratio. Taking Table 2 above as an example, the user requires one portion of meat, eggs, milk, beans, vegetables, and fruits, two portions of cooking oil, and three portions of cereals and potatoes in the preset time period.
[0054] It should be understood that if the judgment result is that the user's target energy requirement is higher than the preset basic energy value, indicating that the basic food ratio cannot meet the user's actual energy requirement, the amount of one or more target foods in the pre-configured basic food ratio is increased until the total energy of various foods after the increase reaches the target energy requirement, and the food target ratio is obtained; the amount of each food required by the user within the preset time period is obtained from the food target ratio.
[0055] It should be noted that in order to increase the amount of food more reasonably, only certain specific types of food are increased, such as: cereals and potatoes, beans, meat and eggs, milk, and one or more of vegetables as target foods.
[0056] In order to increase the amount of food more accurately and balanced, the preset food increment ratio is used to increase the amount of target food at least once on top of the basic food ratio, and after each increase, it is determined whether the total energy of various foods reaches the target energy requirement; if not, the next increase in the amount of target food is performed. For example: the preset food increment ratio can be: 0.5-1 portion of cereals and potatoes; 0.5-1 portion of beans and kernels; 0.5-1 portion of meat and eggs; 0.5 portion of milk, 0.5 portion of fruit, that is, the amount of target food increased at one time is: 0.5-1 portion of cereals and potatoes; 0.5-1 portion of beans and kernels; 0.5-1 portion of meat; 0.5 portion of milk; 0.5 portion of fruit. In this way, the content of the three major nutrients (carbohydrates, proteins and fats) in the generated target recipe will not be at risk of being too low or too high, so that the nutrition of the recipe is more balanced.
[0057] In the specific implementation process, when increasing the amount of meat and eggs, the amount of meat can be increased first, and then the amount of eggs; when increasing the amount of beans, the amount of beans can be increased first, and then the amount of nuts. This is to further ensure that the generated recipe is nutritionally balanced. For example: when increasing the amount of target food for the first time, if the number of meat and eggs to be increased is only 1, add 1 portion of meat; if the amount of food needs to be increased again, then increase the amount of eggs.
[0058] Alternatively, the energy difference between the target energy requirement and the basic energy value can be calculated, and the food incremental ratio can be obtained by looking up the energy difference in a table or calculating the difference. The amount of each target food can be added up based on the basic food ratio and the food incremental ratio to obtain the food target ratio. The amount of each food required by the user within a preset time period is obtained from the food target ratio, so that the total energy of various foods can reach the user's target energy requirement by only increasing the food amount once.
[0059] Based on the above two methods of increasing the amount of food, the total amount of food energy can reach the user's target energy requirement. Below, taking the specific food increment ratio as follows: 0.5 parts of cereals and potatoes; 1 part of meat and eggs; 0.5 parts of milk; 1 part of beans and kernels; 0.5 parts of fruit as an example, the amount of food is increased once, and the results are shown in the following Table 3:
[0060] Table 3.
[0061]
[0062] S203: Allocate food types and amounts to meals, and push recipe content for at least one meal within a preset time period to the user based on the allocation results.
[0063] It is understandable that step S203 may include the following steps S2031 to S2032:
[0064] S2031, allocating food types and amounts to each meal in a preset time period, and obtaining target food types and amounts of each target food type required for target meals in the preset time period;
[0065] It should be understood that only the current meal can be used as the target meal, or each meal within a preset time period can be used as a target meal. The target food types and the amount of each target food type required for the target meal can be screened out based on the time characteristics of each meal within the preset time period.
[0066] Below, taking a preset period of one day, and including five meals in one day as an example, the distribution results of food types and amounts for meal distribution are shown as an example, as shown in the following Table 4:
[0067] Table 4.
[0068]
[0069] S2032: For the target number of meals within a preset time period, select one or more ingredients that meet the target food types and the amount of each target food type from the ingredient library, and match the target recipes including the selected ingredients from the pre-built recipe pool, wherein the ingredient library is configured with multiple candidate ingredients for each food.
[0070] It should be understood that the ingredients configured for each food in the food library are stored in advance according to the principles of low fat, high protein, low GI (glycemic index, used to measure the impact of carbohydrates on blood sugar), and rich in dietary fiber. Cereal and potato ingredients include: such as brown rice, millet, corn, oats, buckwheat, rye, potatoes, purple sweet potatoes, yam, mung beans, red beans, kidney beans, etc.; meat and egg ingredients include: eggs, duck eggs, pork, beef, mutton, chicken legs, chicken breast, duck breast, fish, shrimp, shellfish, etc.; milk ingredients include: whole milk, low-fat pure milk, low-sugar pure milk, sugar-free / low-sugar yogurt, etc.; bean kernel ingredients include: soybeans, black beans, green beans; almonds, cashews, walnuts, etc.; vegetable ingredients include: root vegetables, leafy vegetables, melons and tomatoes, mushrooms, etc.; fruit ingredients include: such as kiwi, strawberries, apples, peaches, etc.
[0071] Specifically, in step S2032, one or more ingredients that meet the target food type can be selected from the ingredient library in response to the user's selection operation or randomly, and the weight of the corresponding selected ingredients can be calculated according to the amount of each food, and the ingredient list for the target meal is generated according to the selected ingredients and their weight. It should be noted that the recipe pool is pre-configured with multiple recipes formed by combining various ingredients in the ingredient library, and the target recipe is matched from the pre-built recipe pool according to the ingredient list.
[0072] In order to make the generated recipe content more satisfying to the personalized needs of users, if the user is not satisfied with the currently generated recipe content, other ingredients that meet the target food type can be replaced based on the user operation and the corresponding weight can be calculated to generate a new ingredient list, and then the new recipe content can be re-matched based on the new ingredient list. This process can be repeated many times until the generated recipe content satisfies the user.
[0073] If ingredients of the target food type are selected from the ingredient library in response to a user's selection operation, prompt information needs to be output to the user. The prompt information is used to prompt the target food type required for the target meal, so that the user can accurately select the corresponding ingredients according to the prompt information.
[0074] Specifically, a target recipe including the selected ingredients may be matched from the recipe pool, where the target recipe includes one or more recipes. After the target recipe is matched, the target recipe is pushed to the user.
[0075] It is understandable that in order to solve the problem that users do not know how to cook and that nutrients are lost during the cooking process, after matching the target recipe including the selected ingredients from the pre-built recipe pool, the cooking tutorial of the target recipe can also be obtained and pushed to the user. Specifically, the cooking tutorial of the target recipe can be automatically linked to show it to the user.
[0076] Among them, the cooking tutorial includes providing detailed cooking steps, text, pictures or video materials on cooking methods, cooking heat and food processing. Once the target recipe is generated, you can enter the corresponding cooking tutorial by clicking on each target recipe, guiding the user to use the correct cooking method, cooking heat, and cooking steps, so that the user can make a nutritionally balanced diet. This avoids the problem of loss of food nutrients due to the user's independent cooking without specific cooking methods and heat information in the recipe. It can retain as many nutrients as possible during the cooking process; the recipe contains a variety of food categories that need to be consumed daily, which maximizes the guarantee of nutritional balance, reduces the adverse reactions that the body is prone to during weight loss, and implements weight management in a healthy way.
[0077] In order to facilitate the understanding of the recipe push method in the embodiment of the present invention, an exemplary implementation process is provided, but it is not intended to limit the recipe push method in the embodiment of the present invention:
[0078] First, receive user A's input of gender, height, age and other physical parameters and activity information;
[0079] Next, the user's basal metabolic parameters are determined in response to the user's input gender, height, and age, and the activity coefficient is matched in response to the user's input activity status;
[0080] Next, a first energy requirement equivalent to the energy required by the user A's body in one day is calculated based on the basal metabolic parameter and the activity coefficient, and a target energy requirement that meets the user A's weight loss needs is obtained based on the difference between the first energy requirement and a preset constant range;
[0081] Next, determine the types of food and the amounts of each food required by user A to meet the target energy requirement in the current day;
[0082] Next, the types and amounts of food required are allocated to each meal in the current day to obtain the types and amounts of food required for each meal;
[0083] Next, for each meal, according to the food type and amount assigned to the meal, the corresponding ingredients are selected from the ingredient library and the weight of the ingredients is determined, an ingredient list for the meal is generated based on each selected ingredient and its weight, and the recipe content for the meal is matched from the recipe pool based on the ingredient list for the meal, and the recipe content is pushed to the user.
[0084] From the above examples, it can be seen that users only need to make simple input operations to generate a weight loss recipe that meets their actual situation and is nutritionally balanced.
[0085] Based on the same inventive concept, the embodiment of the present invention provides a recipe push device, referring to Figure 3 As shown, including:
[0086] The energy acquisition unit 301 is used to acquire the target energy demand of the user within a preset time period;
[0087] A food determination unit 302 is used to determine the type and amount of food required by the user within the preset time period according to the target energy requirement;
[0088] The recipe push unit 303 is used to allocate the food types and amounts to meals, and push the recipe content of at least one meal within the preset time period to the user according to the allocation result.
[0089] It can be understood that the energy acquisition unit 301 includes:
[0090] A parameter acquisition subunit, used to acquire the basic metabolic parameters and activity level parameters of the user;
[0091] The energy conversion subunit is used to perform energy conversion processing on the basal metabolic parameter and the activity level parameter through a pre-configured energy algorithm to obtain the target energy requirement.
[0092] It can be understood that the activity level parameter is an activity coefficient characterizing the activity of the user, and the energy conversion subunit is specifically used for:
[0093] Calculate the product of the user's basal metabolic parameter and activity coefficient to obtain a first energy requirement;
[0094] The target energy requirement is obtained by performing a difference calculation between the first energy requirement and a preset constant range, wherein the preset constant range is pre-set according to the weight loss requirement.
[0095] Energy conversion subunit, the food types are multiple types that are pre-fixed, and the food determination unit 302 includes:
[0096] A judging subunit, used to judge whether the target energy demand is higher than a preset basic energy value;
[0097] The dosage increasing subunit is used for increasing the dosage of one or more target foods according to the pre-configured food basic ratio if the target energy requirement is higher than the preset basic energy value, until the total amount of energy of various foods after the increase reaches the target energy requirement, thereby obtaining the food target ratio;
[0098] The first dosage acquisition subunit is used to acquire the dosage of each food required by the user within a preset time period from the food target ratio.
[0099] It can be understood that the dosage increase subunit is specifically used to: increase the dosage of the target food at least once according to the preset food incremental ratio for the basic food ratio, and after each increase, determine whether the total energy of various foods reaches the target energy requirement; if not, execute the next dosage increase of the target food.
[0100] It is understandable that the food determination unit 302 also includes: a second dosage acquisition subunit, which is used to obtain the dosage of each food required by the user within a preset time period from the pre-configured food basic ratio if the target energy requirement is lower than or equal to the preset basic energy value.
[0101] It can be understood that the recipe push unit 303 includes:
[0102] A meal allocation subunit, for allocating the food types and amounts to each meal in the preset time period, and obtaining target food types and amounts of each target food type required for the target meals in the preset time period;
[0103] An ingredient determination subunit, for selecting, for the target meal times, one or more ingredients from an ingredient library that meet the target food categories and the amount of each target food category;
[0104] A recipe matching subunit, used to match recipe contents including various selected ingredients from a pre-built recipe pool, wherein the ingredient library is configured with a plurality of candidate ingredients for each food;
[0105] The push subunit is used to push the recipe content.
[0106] It can be understood that the push subunit is specifically used to: push the target recipe including the selected various ingredients to the user, and / or obtain the cooking tutorial of the target recipe based on the target recipe, and push the cooking tutorial to the user.
[0107] The embodiments of the present invention provide the device embodiments introduced above, which can be used to execute the recipe push method in the above embodiments of the present invention. For details not disclosed in the device embodiments introduced in the embodiments of the present invention, please refer to the above recipe push method embodiments of the present invention.
[0108] Based on the same inventive concept, an embodiment of the present invention provides a cooking device, referring to Figure 4 As shown, the cooking device in the embodiment of the present invention includes one or more processors 402 and one or more memories 404, and at least one program code is stored in the one or more memories 404. The at least one program code is loaded and executed by the one or more processors 402 to implement the recipe pushing method described in any embodiment of the first aspect.
[0109] Among them, Figure 4 In the embodiment of the present invention, a bus architecture (represented by bus 400) is shown, which may include any number of interconnected buses and bridges, and bus 400 links various circuits including one or more processors represented by processor 402 and memory represented by memory 404. Bus 400 may also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. Bus interface 405 provides an interface between bus 400 and receiver 401 and transmitter 403. Receiver 401 and transmitter 403 may be the same element, namely a transceiver, providing a unit for communicating with various other devices over a transmission medium. Processor 402 is responsible for managing bus 400 and general processing, while memory 404 may be used to store data used by processor 402 when performing operations.
[0110] Based on the same inventive concept, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the aforementioned recipe pushing method is implemented.
[0111] The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored as one or more instructions or codes on a computer-readable medium or transmitted via a computer-readable medium. Other examples and implementations are within the scope and spirit of the present invention and the appended claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hard wiring, or a combination of any of these. In addition, each functional unit may be integrated into a processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit.
[0112] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0113] The unit described as a separate component may or may not be physically separated, and the component of the control device may or may not be a physical unit, that is, it may be located in one place, or it may be distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program code.
[0114] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention shall be included in the scope of the claims of the present invention.
Claims
1. A recipe push method, characterized in that: include: Obtaining the user's target energy demand within a preset time period; Determining the types and amounts of food required by the user within the preset time period according to the target energy requirement, including: judging whether the target energy requirement is higher than a preset basic energy value, the basic food ratio is composed of basic amounts of various foods; if the target energy requirement is higher than the preset basic energy value, increasing the amount of one or more target foods according to the pre-configured basic food ratio until the total amount of energy of various foods after the increase reaches the target energy requirement, thereby obtaining a target food ratio; obtaining the amount of each food required by the user within the preset time period from the target food ratio; if the target energy requirement is lower than or equal to the preset basic energy value, obtaining the amount of each food required by the user within the preset time period from the pre-configured basic food ratio; The food types and amounts are allocated to meals, and the recipe content of at least one meal within the preset time period is pushed to the user according to the allocation result.
2. The method according to claim 1, characterized in that The step of obtaining the target energy demand of the user within a preset time period includes: Obtaining basal metabolic parameters and activity level parameters of the user; The basal metabolic parameter and the activity level parameter are subjected to energy conversion processing by means of a pre-configured energy algorithm to obtain the target energy requirement.
3. The method according to claim 2, characterized in that The activity level parameter is an activity coefficient that characterizes the activity status of the user, and the energy conversion processing of the basal metabolic parameter and the activity level parameter to obtain the target energy requirement includes: Calculate the product of the user's basal metabolic parameter and activity coefficient to obtain a first energy requirement; The target energy requirement is obtained by performing a difference calculation between the first energy requirement and a preset constant range, wherein the preset constant range is pre-set according to the weight loss requirement.
4. The method according to claim 3, characterized in that The step of increasing the amount of one or more target foods according to the pre-configured basic food ratio until the total amount of energy of the various foods after the increase reaches the target energy requirement includes: The target food amount is increased at least once with respect to the basic food ratio using a preset food increment ratio, and after each increase, it is determined whether the total energy amount of various foods reaches the target energy requirement; if not, the next increase in the target food amount is performed.
5. The method according to claim 1, characterized in that The allocating the food types and amounts to meals, and pushing the recipe content of at least one meal within the preset time period to the user according to the allocation result, includes: Allocating the food types and amounts to each meal in the preset time period to obtain target food types and amounts of each target food type required for target meals in the preset time period; For the target meal times, one or more ingredients that meet the target food types and the amount of each target food type are selected from the ingredient library, and recipe contents including the selected ingredients are matched from a pre-built recipe pool, wherein the ingredient library is configured with multiple candidate ingredients for each food; Push the recipe content.
6. The method according to claim 5, characterized in that The pushing of the recipe content includes: Pushing a target recipe including the selected ingredients to the user, and / or A cooking tutorial of the target recipe is obtained according to the target recipe, and the cooking tutorial is pushed to the user.
7. A recipe pushing device, characterized in that: include: An energy acquisition unit, used to acquire a user's target energy demand within a preset time period; A food determination unit is used to determine the types and amounts of food required by the user within the preset time period according to the target energy requirement, including: judging whether the target energy requirement is higher than a preset basic energy value, the basic food ratio is composed of basic amounts of various foods; if the target energy requirement is higher than the preset basic energy value, increasing the amount of one or more target foods according to the pre-configured basic food ratio until the total amount of energy of various foods after the increase reaches the target energy requirement, thereby obtaining the target food ratio; obtaining the amount of each food required by the user within the preset time period from the target food ratio; if the target energy requirement is lower than or equal to the preset basic energy value, obtaining the amount of each food required by the user within the preset time period from the pre-configured basic food ratio; The recipe push unit is used to allocate the food types and quantities to meals, and push the recipe content of at least one meal within the preset time period to the user according to the allocation result.
8. A cooking device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the method according to any one of claims 1 to 6 is implemented when the processor executes the program.
9. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the program is executed by a processor, the method described in any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Recipe recommendation method and device, electronic equipment and storage medium
CN112786154A