Menu recommendation method, device and system and storage medium
By comparing the user's actual nutritional intake information with the preset nutritional intake information, the nutritional ingredients lacking and the amount of deficiency of the user is determined, and the amount of ingredients in the recipe is adjusted based on this information, the problem of difficult to meet the user's personalized needs and ensure healthy diet in the existing technology is solved, and the goal of personalized recipe recommendations and healthy diet is achieved.
Patent Information
- Application Number
- CN202411853047.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-16
- Publication Date
- 2025-05-09
AI Technical Summary
The prior art is difficult to customize recipes for users according to the specific needs of different users, cannot meet users' personalized needs for recipes, and it is difficult to ensure users' dietary health.
By comparing the user's actual nutritional intake information with the preset nutritional intake information, determine the nutritional ingredients and their lack amounts, match the user with the appropriate recipes based on the nutritional ingredients lacking by the user, and adjust the amount of ingredients in the recipe according to the nutritional ingredients lacking.
Personalized recipe recommendations are realized, so that the recommended recipes can meet the nutritional needs of different users and help users achieve a healthy diet.
Smart Images

Figure CN119964728A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of kitchen appliances, and in particular to a recipe recommendation method, device, system and storage medium. Background Art
[0002] The existing technology generally recommends recipes to users based on the user's existing ingredients or the user's taste preferences, and is unable to customize recipes for users according to the specific needs of different users, resulting in the inability to meet the user's personalized needs for recipes, and it is difficult to ensure the user's dietary health, which reduces the user experience. Summary of the invention
[0003] In order to solve the above technical problems, the present invention discloses a recipe recommendation method, device, system and storage medium, which determine the nutrients that the user lacks and the amount of nutrient deficiency by comparing the user's actual nutrient intake information with the preset nutrient intake information, match a suitable recipe for the user according to the nutrients that the user lacks, and adjust the amount of ingredients in the recipe according to the user's nutrient deficiency, thereby realizing personalized recipe recommendation, so that the recommended recipe can meet the nutritional needs of different users and help users achieve healthy eating.
[0004] In order to achieve the above object, the present invention provides a recipe recommendation method, comprising:
[0005] Acquire user attribute information of a target user and actual nutritional intake information of the target user;
[0006] Determining preset nutrient intake information of the target user based on the user attribute information;
[0007] Determine the nutritional component that the target user lacks and the intake amount of the nutritional component that is lacking based on the actual nutritional component intake information and the preset nutritional component intake information;
[0008] Determining a preset recipe corresponding to the target user based on the nutritional components that the target user lacks;
[0009] Based on the nutritional intake that the target user lacks, the amount of ingredients in the preset recipe is adjusted to obtain a target recipe corresponding to the target user.
[0010] In an optional embodiment, the user attribute information of the target user includes physical data of the target user, and determining the preset nutrient intake information of the target user based on the user attribute information includes:
[0011] Determining basic nutritional intake information of the target user based on the physical data of the target user;
[0012] Based on the basic nutrient intake information, preset nutrient intake information of the target user is determined.
[0013] In an optional embodiment, determining the preset nutrient intake information of the target user based on the user attribute information further includes:
[0014] Determining basic nutritional intake information of the target user based on the physical data of the target user;
[0015] In a case where the user attribute information of the target user includes a sports tag and / or a special population tag, determining the additional nutrient intake information of the target user based on the sports tag and / or the special population tag;
[0016] The basic nutrient intake information and the additional nutrient intake information are fused to obtain preset nutrient intake information of the target user.
[0017] In an optional embodiment, the actual nutrient intake information includes the actual nutrient intake amount corresponding to each nutrient actually ingested by the target user, the preset nutrient intake information includes the preset nutrient intake amount corresponding to each nutrient that the target user needs to ingest, and determining the nutrient that the target user lacks and the intake amount of the lacking nutrient based on the actual nutrient intake information and the preset nutrient intake information includes:
[0018] Comparing the actual nutrient intake corresponding to each nutrient actually ingested by the target user with the preset nutrient intake corresponding to each nutrient required to be ingested by the target user, to determine the nutrient that the target user lacks;
[0019] The difference between the preset nutrient intake corresponding to the nutrient that the target user lacks and the corresponding actual nutrient intake is determined as the nutrient intake that the target user lacks.
[0020] In an optional embodiment, the user attribute information of the target user further includes the taste preference and / or ingredient preference of the target user, and the determining of the preset recipe corresponding to the target user based on the nutritional components lacking by the target user includes:
[0021] A search is performed in a preset recipe database, and a recipe containing the nutritional components that the target user lacks and that meets the taste preference and / or ingredient preference of the target user is determined as a preset recipe corresponding to the target user.
[0022] In an optional embodiment, adjusting the amount of ingredients in the preset recipe based on the target user's lack of nutrient intake to obtain a target recipe corresponding to the target user includes:
[0023] Determine the nutrient component that the target user lacks as the target nutrient component;
[0024] Obtaining the preset amount of ingredients in the preset recipe and the target nutrient content of the preset ingredients;
[0025] Determining an ingredient adjustment coefficient of the preset recipe based on the target user's lack of nutrient intake and the target nutrient content contained in the preset ingredients;
[0026] The preset ingredient quantity in the preset recipe is adjusted based on the ingredient adjustment coefficient to obtain a target recipe corresponding to the target user.
[0027] In an optional embodiment, after adjusting the amount of ingredients in the preset recipe based on the target user's lack of nutrient intake to obtain the target recipe corresponding to the target user, the method further includes:
[0028] Generate a target output instruction, wherein the target output instruction is used to instruct the output of the actual nutrient intake information of the target user, the nutrient deficient of the target user, and the target recipe corresponding to the target user.
[0029] The present invention also provides a recipe recommendation device, comprising:
[0030] An acquisition module, used to acquire user attribute information of a target user and actual nutrient intake information of the target user;
[0031] A control module is used to determine the preset nutrient intake information of the target user based on the user attribute information; determine the nutrients that the target user lacks and the intake amount of the missing nutrients based on the actual nutrient intake information and the preset nutrient intake information; determine the preset recipe corresponding to the target user based on the nutrients that the target user lacks; and adjust the amount of ingredients in the preset recipe based on the intake amount of the nutrients that the target user lacks to obtain a target recipe corresponding to the target user.
[0032] The present invention also provides a recipe recommendation system, comprising:
[0033] A collection end, used to collect user attribute information of a target user and actual nutrient intake information of the target user;
[0034] A recipe recommendation device, used for obtaining user attribute information of a target user and actual nutrient intake information of the target user; determining preset nutrient intake information of the target user based on the user attribute information; determining the nutrients that the target user lacks and the intake amount of the nutrients that the target user lacks based on the actual nutrient intake information and the preset nutrient intake information; determining a preset recipe corresponding to the target user based on the nutrients that the target user lacks; and adjusting the amount of ingredients in the preset recipe based on the intake amount of the nutrients that the target user lacks to obtain a target recipe corresponding to the target user.
[0035] The present invention also provides a computer-readable storage medium, in which at least one instruction or at least one program is stored. The at least one instruction or the at least one program is loaded and executed by a processor to implement the recipe recommendation method as described above.
[0036] Implementing the embodiments of the present invention has the following beneficial effects:
[0037] The recipe recommendation method disclosed in the present invention determines the nutrients that the user lacks and the amount of nutrient deficiency by comparing the user's actual nutrient intake information with the preset nutrient intake information, matches a suitable recipe for the user according to the nutrient deficiencies of the user, and adjusts the amount of ingredients in the recipe according to the user's nutrient deficiency, thereby realizing personalized recipe recommendations, so that the recommended recipes can meet the nutritional needs of different users and help users achieve healthy eating. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the recipe recommendation method, device, electronic device and storage medium described in the present invention, the drawings required for the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0039] Figure 1 A schematic diagram of a process flow of a recipe recommendation method provided by an embodiment of the present invention;
[0040] Figure 2 A schematic diagram of a process flow of a recipe adjustment method provided by an embodiment of the present invention;
[0041] Figure 3 A schematic diagram of the structure of a recipe recommendation device provided by an embodiment of the present invention;
[0042] Figure 4 A schematic diagram of the structure of a recipe recommendation system provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0043] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0044] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
[0045] Please refer to Figure 1 , which shows a flowchart of a recipe recommendation method provided by an embodiment of the present invention. This specification provides method operation steps as described in the embodiment or flowchart, but may include more or fewer operation steps based on conventional or non-creative labor. The order of steps listed in the embodiment is only one way of executing the steps among many, and does not represent the only execution order. When the actual system or server product is executed, it can be executed in the order of the method shown in the embodiment or the accompanying drawings. Specifically, Figure 1 As shown, the recipe recommendation method is applied to a recipe recommendation system, and the method includes:
[0046] S101, obtaining user attribute information of a target user and actual nutrient intake information of the target user;
[0047] In the embodiments of the present specification, the user attribute information of the target user may include the target user's physical data, exercise tags, special population tags, taste preferences, food preferences and other physical condition information and dietary habit information of the target user; specifically, the target user's physical data, exercise tags, special population tags and other physical condition information entered by the target user may be obtained by the collection end of the recipe recommendation system, the taste preferences, food preferences and other dietary habit information entered by the target user may be obtained by the collection end of the recipe recommendation system, or the target user's historical cooking data may be collected by the collection end of the recipe recommendation system and the target user's taste preferences, food preferences and other dietary habit information may be determined by the recipe recommendation device of the recipe recommendation system by analyzing the target user's historical cooking data. The target user's historical cooking data may include data such as the types of ingredients, types of seasonings and amounts of seasonings used by the target user during the cooking process;
[0048] In the embodiment of the present specification, the actual nutrient intake information of the target user can be monitored by a sensor integrated on the tableware; the actual nutrient intake information of the target user can include information such as the types of nutrients actually ingested by the target user per meal and the actual intake amount of each nutrient;
[0049] In an embodiment of the present specification, before obtaining the user attribute information of the target user and the actual nutritional intake information of the target user, the recipe recommendation device of the recipe recommendation system can determine the identity information of the target user through user identification, and then obtain the user attribute information of the target user based on the identity information of the target user, and the collection end of the recipe recommendation system can obtain the actual nutritional intake information of the target user through a sensor integrated on the tableware. The user identification method can be fingerprint recognition, facial recognition, account login and other identity authentication methods.
[0050] S103, determining preset nutrient intake information of the target user based on the user attribute information;
[0051] In the embodiment of the present specification, the user attribute information of the target user includes the physical data of the target user, and determining the preset nutrient intake information of the target user based on the user attribute information includes:
[0052] Determining basic nutritional intake information of the target user based on the physical data of the target user;
[0053] Based on the basic nutrient intake information, preset nutrient intake information of the target user is determined.
[0054] In the embodiments of this specification, the target user's physical data may include the target user's age, gender, height, weight, and other data;
[0055] In the embodiment of the present specification, the basic nutritional component intake information may include the basic recommended intake of each nutritional component. According to the physical data of the target user and combined with modern nutrition knowledge, the basic nutritional component intake information of the target user may be determined;
[0056] In the embodiment of the present specification, the preset nutrient component intake information may include a preset intake threshold value of each nutrient component, and the product of the basic recommended intake of each nutrient component included in the basic nutrient component intake information and a preset coefficient may be determined as the preset intake threshold value of each nutrient component, and the preset coefficient is a value greater than 0 and less than or equal to 1, for example, the preset coefficient may be 0.8;
[0057] The embodiments of the present specification can determine the user's preset nutrient intake information based on the user's physical data, and further determine the nutrients the user lacks and the amount of nutrient deficiency by comparing the user's actual nutrient intake information with the preset nutrient intake information. The user is matched with a suitable recipe based on the nutrients the user lacks, and the amount of ingredients in the recipe is adjusted based on the user's nutrient deficiency. This can achieve personalized recipe recommendations, so that the recommended recipes can meet the nutritional needs of different users and help users achieve healthy eating.
[0058] In the embodiment of the present specification, determining the preset nutrient intake information of the target user based on the user attribute information further includes:
[0059] Determining basic nutritional intake information of the target user based on the physical data of the target user;
[0060] In a case where the user attribute information of the target user includes a sports tag and / or a special population tag, determining the additional nutrient intake information of the target user based on the sports tag and / or the special population tag;
[0061] The basic nutrient intake information and the additional nutrient intake information are fused to obtain preset nutrient intake information of the target user.
[0062] In the embodiments of this specification, the target user's physical data may include the target user's age, gender, height, weight, and other data;
[0063] In the embodiment of the present specification, the basic nutritional component intake information may include the basic recommended intake of each nutritional component. According to the physical data of the target user and combined with modern nutrition knowledge, the basic nutritional component intake information of the target user may be determined;
[0064] In the embodiments of this specification, the sports tag represents the sports situation of the target user. The sports tag may include the sports needs and / or sports types of the target user. The sports needs refer to muscle building, fat loss, and health maintenance, etc. The sports types refer to the sports involved, such as fitness, cycling, running, etc.;
[0065] In the embodiments of this specification, special population labels refer to labels such as pregnant women and children;
[0066] In an embodiment of the present specification, the additional nutrient intake information may include an additional recommended intake of each nutrient. When the user attribute information of the target user includes a sports tag and / or a special population tag, the additional nutrient intake information of the target user may be determined based on the sports tag and / or the special population tag of the target user. Specifically, the calculation formula for the additional recommended intake of each nutrient corresponding to the target user is: ActivityCoeff*ActivityNeed+SpecialPopCoeff*SpecialPopNeed, wherein ActivityCoeff is the nutrient requirement coefficient corresponding to the sports tag of the target user, ActivityNeed is the additional requirement of the sports tag of the target user for each nutrient, SpecialPopCoeff is the nutrient requirement coefficient corresponding to the special population tag of the target user, and SpecialPopNeed is the additional requirement of the special population tag of the target user for each nutrient;
[0067] In the embodiments of this specification, the nutritional requirement coefficients corresponding to different sports labels and special population labels and the additional requirements for each nutrient component can be regularly updated and adjusted according to the latest nutrition research results and nutrition expert recommendations;
[0068] In the embodiment of the present specification, the preset nutrient intake information may include a preset intake threshold of each nutrient, and the calculation formula of the preset intake threshold of each nutrient corresponding to the target user is: (basic recommended intake of each nutrient + additional recommended intake of each nutrient) * preset coefficient, wherein the preset coefficient is a value greater than 0 and less than or equal to 1, for example, the preset coefficient may be 0.8;
[0069] The embodiments of this specification can determine the user's preset nutrient intake information based on the user's physical data, exercise tags and / or special population tags, and further determine the nutrients the user lacks and the amount of nutrient deficiency by comparing the user's actual nutrient intake information with the preset nutrient intake information. According to the nutrients the user lacks, a suitable recipe is matched for the user, and the amount of ingredients in the recipe is adjusted according to the user's nutrient deficiency. This can achieve personalized recipe recommendations, so that the recommended recipes can meet the nutritional needs of different users and help users achieve healthy eating.
[0070] S105, determining the nutrients that the target user lacks and the intake amount of the lacking nutrients based on the actual nutrient intake information and the preset nutrient intake information;
[0071] In the embodiment of the present specification, the actual nutrient intake information includes the actual nutrient intake amount corresponding to each nutrient actually ingested by the target user, the preset nutrient intake information includes the preset nutrient intake amount corresponding to each nutrient that the target user needs to ingest, and the determining the nutrient lacking and the intake amount of the lacking nutrient of the target user based on the actual nutrient intake information and the preset nutrient intake information includes:
[0072] Comparing the actual nutrient intake corresponding to each nutrient actually ingested by the target user with the preset nutrient intake corresponding to each nutrient required to be ingested by the target user, to determine the nutrient that the target user lacks;
[0073] The difference between the preset nutrient intake corresponding to the nutrient that the target user lacks and the corresponding actual nutrient intake is determined as the nutrient intake that the target user lacks.
[0074] In the embodiment of the present specification, if the actual nutrient intake of a certain nutrient by the target user is lower than the preset nutrient intake of the target user for the nutrient, it is determined that the target user is deficient in the nutrient, that is, the nutrient is the nutrient that the target user is deficient in, and then the difference between the preset nutrient intake of the target user for the nutrient and the actual nutrient intake of the target user for the nutrient is determined as the deficiency amount of the target user for the nutrient, that is, the nutrient intake of the target user for the nutrient that is deficient in;
[0075] The embodiments of this specification can determine the nutrients that the user lacks and the amount of nutrient deficiency by comparing the user's actual nutrient intake information with the preset nutrient intake information, and further match a suitable recipe for the user based on the nutrients that the user lacks, and adjust the amount of ingredients in the recipe based on the user's nutrient deficiency, thereby achieving personalized recipe recommendations, so that the recommended recipes can meet the nutritional needs of different users and help users achieve healthy eating.
[0076] S107, determining a preset recipe corresponding to the target user based on the nutritional components that the target user lacks;
[0077] In an embodiment of the present specification, the user attribute information of the target user also includes the taste preference and / or ingredient preference of the target user, and the determining of the preset recipe corresponding to the target user based on the nutritional components lacking by the target user includes:
[0078] A search is performed in a preset recipe database, and a recipe containing the nutritional components that the target user lacks and that meets the taste preference and / or ingredient preference of the target user is determined as a preset recipe corresponding to the target user.
[0079] In the embodiment of the present specification, according to the nutritional components that the target user lacks and the taste preferences and / or ingredient preferences of the target user, a recipe containing the nutritional components that the target user lacks and meeting the taste preferences and / or ingredient preferences of the target user is selected from the preset recipe database as a preset recipe corresponding to the target user;
[0080] In the embodiment of the present specification, after determining the preset recipe corresponding to the target user, the preset recipe can be further screened according to factors such as nutrient coverage, nutrient content, and food diversity;
[0081] The embodiments of this specification can match a recipe for a user that not only meets the user's nutritional needs but also conforms to the user's eating habits based on the user's nutritional deficiencies and the user's taste preferences and / or ingredient preferences, and further adjust the amount of ingredients in the recipe based on the user's nutritional deficiencies, thereby achieving personalized recipe recommendations, so that the recommended recipes can meet the nutritional needs of different users and help users achieve healthy eating.
[0082] S109, adjusting the amount of ingredients in the preset recipe based on the nutritional intake that the target user lacks, to obtain a target recipe corresponding to the target user.
[0083] In the embodiments of this specification, Figure 2A flowchart of a recipe adjustment method provided by an embodiment of the present invention, wherein the amount of ingredients in the preset recipe is adjusted based on the nutrient intake that the target user lacks, to obtain a target recipe corresponding to the target user, including:
[0084] S201, determining the nutrient component that the target user lacks as the target nutrient component;
[0085] In the embodiments of this specification, the target nutrient is the nutrient that the target user lacks;
[0086] S203, obtaining the preset amount of ingredients in the preset recipe and the target nutrient content of the preset ingredients;
[0087] In the embodiment of the present specification, according to the specific recipe information of the preset recipe, the preset ingredient quantity of each preset ingredient included in the preset recipe and the target nutrient content contained in each preset ingredient can be determined;
[0088] S205, determining an ingredient adjustment coefficient of the preset recipe based on the target user's lack of nutrient intake and the target nutrient content of the preset ingredients;
[0089] In the embodiment of the present specification, the amount of preset ingredients in the preset recipe can be adjusted according to the target user's lack of nutritional intake, because the nutritional components of the ingredients can be clearly obtained according to the weight of the ingredients, so when calculating, it is only necessary to adjust them proportionally. According to the target user's lack of nutritional intake and the target nutritional content contained in the preset ingredients, the ingredient adjustment coefficient of each preset ingredient included in the preset recipe can be calculated;
[0090] S207: Adjust the preset ingredient quantity in the preset recipe based on the ingredient adjustment coefficient to obtain a target recipe corresponding to the target user.
[0091] In the embodiment of the present specification, according to the ingredient adjustment coefficient of each preset ingredient included in the preset recipe, the preset ingredient amount in the preset recipe can be adjusted to obtain a target recipe corresponding to the target user, so that the target recipe can supplement the target user's lack of nutritional intake;
[0092] For example, suppose the target user lacks a certain vitamin, and the target user's intake of the vitamin is 16g. The main ingredient in the preset recipe corresponding to the target user is 500g, and the side ingredient is 200g. 500g of the main ingredient contains 30g of the vitamin, and 200g of the side ingredient contains 2g of the vitamin. Then the target nutrient is the vitamin. According to the formula Y=A(X+Z), the ingredient adjustment coefficient A of the preset recipe can be obtained, where Y is the intake of the nutrient that the target user lacks, X is the target nutrient content contained in the preset main ingredient of a fixed weight in the preset recipe, and Z is the target nutrient content contained in the preset side ingredient of a fixed weight in the preset recipe. In the above case, Y=16g, X=30g, and Z=2g, then A=0.5 can be obtained, that is, the preset recipe with 250g of main ingredient and 100g of side ingredient recommended to the target user can supplement the target user's intake of the nutrient that is lacking.
[0093] The embodiments of this specification can adjust the amount of ingredients in a preset recipe based on the user's nutritional deficiencies and the nutritional content of the preset recipe corresponding to the user, thereby achieving personalized recipe recommendations, so that the recommended recipes can supplement the user's lack of nutritional intake, meet the nutritional needs of different users, and help users achieve healthy eating.
[0094] In the embodiment of the present specification, after adjusting the amount of ingredients in the preset recipe based on the nutrient intake that the target user lacks and obtaining the target recipe corresponding to the target user, the method further includes:
[0095] Generate a target output instruction, wherein the target output instruction is used to instruct the output of the actual nutrient intake information of the target user, the nutrient deficient of the target user, and the target recipe corresponding to the target user.
[0096] In the embodiment of the present specification, after determining the target recipe corresponding to the target user, the control end implementing the recipe recommendation method can generate a target output instruction, so that the display device corresponding to the control end displays the target user's actual nutrient intake information, the target user's lack of nutrients, and the target recipe corresponding to the target user after receiving the target output instruction, so that the target user can understand his or her own diet and make corresponding adjustments;
[0097] The embodiments of this specification determine the nutrients that the user lacks and the amount of nutrient deficiency by comparing the user's actual nutrient intake information with the preset nutrient intake information, match a suitable recipe for the user based on the nutrients that the user lacks, and adjust the amount of ingredients in the recipe based on the user's nutrient deficiency. The actual nutrient intake information, the deficient nutrients, and the adjusted recipe information can also be displayed to the user, thereby achieving personalized recipe recommendations, so that the recommended recipes can meet the nutritional needs of different users and help users achieve healthy eating.
[0098] It can be seen from the above-mentioned embodiments of the recipe recommendation method provided by the present invention that the embodiments of the present invention obtain the user attribute information of the target user and the actual nutrient intake information of the target user; determine the preset nutrient intake information of the target user based on the user attribute information; determine the nutrient that the target user lacks and the intake amount of the nutrient that is lacking based on the actual nutrient intake information and the preset nutrient intake information; determine the preset recipe corresponding to the target user based on the nutrient that the target user lacks; and adjust the amount of ingredients in the preset recipe based on the intake amount of the nutrient that the target user lacks to obtain the target recipe corresponding to the target user. The technical solution provided in the embodiments of this specification determines the nutrient that the user lacks and the amount of nutrient deficiency by comparing the actual nutrient intake information of the user with the preset nutrient intake information, matches the user with a suitable recipe according to the nutrient that the user lacks, and adjusts the amount of ingredients in the recipe according to the amount of nutrient deficiency of the user, thereby realizing personalized recipe recommendation, so that the recommended recipe can meet the nutritional needs of different users and help users achieve healthy eating.
[0099] The embodiment of the present invention also provides a recipe recommendation device, such as Figure 3 As shown, it is a structural schematic diagram of a recipe recommendation device provided by an embodiment of the present invention; specifically, the device includes:
[0100] An acquisition module 310 is used to acquire user attribute information of a target user and actual nutrient intake information of the target user;
[0101] The control module 320 is used to determine the preset nutrient intake information of the target user based on the user attribute information; determine the nutrients that the target user lacks and the intake amount of the lacking nutrients based on the actual nutrient intake information and the preset nutrient intake information; determine the preset recipe corresponding to the target user based on the nutrients that the target user lacks; and adjust the amount of ingredients in the preset recipe based on the intake amount of the nutrients that the target user lacks to obtain a target recipe corresponding to the target user.
[0102] The embodiment of the present invention also provides a recipe recommendation system. Figure 4 As shown, it is a structural schematic diagram of a recipe recommendation system provided by an embodiment of the present invention; specifically, the system includes:
[0103] The collection terminal 01 is used to collect user attribute information of the target user and actual nutritional intake information of the target user;
[0104] The recipe recommendation device 02 is used to obtain user attribute information of a target user and actual nutrient intake information of the target user; determine preset nutrient intake information of the target user based on the user attribute information; determine the nutrients that the target user lacks and the intake amount of the nutrients that the target user lacks based on the actual nutrient intake information and the preset nutrient intake information; determine a preset recipe corresponding to the target user based on the nutrients that the target user lacks; and adjust the amount of ingredients in the preset recipe based on the intake amount of the nutrients that the target user lacks to obtain a target recipe corresponding to the target user.
[0105] An embodiment of the present invention also provides a computer-readable storage medium, which can be set in a recipe recommendation device to store at least one instruction, at least one program, code set or instruction set related to a recipe recommendation method in a method embodiment. The at least one instruction, the at least one program, the code set or instruction set can be loaded and executed by a processor of an electronic device to implement the recipe recommendation method provided by the above-mentioned method embodiment.
[0106] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store program codes.
[0107] It should be noted that the sequence of the embodiments of the present invention described above is for description only and does not represent the advantages and disadvantages of the embodiments. The above describes specific embodiments of this specification, and other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0108] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0109] Those skilled in the art will appreciate that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk, or an optical disk, etc.
[0110] The above disclosure is only a preferred embodiment of the present invention, which certainly cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.
Claims
1. A recipe recommendation method, characterized in that: include: Acquire user attribute information of a target user and actual nutritional intake information of the target user; Determining preset nutrient intake information of the target user based on the user attribute information; Determine the nutritional component that the target user lacks and the intake amount of the nutritional component that is lacking based on the actual nutritional component intake information and the preset nutritional component intake information; Determining a preset recipe corresponding to the target user based on the nutritional components that the target user lacks; Based on the nutritional intake that the target user lacks, the amount of ingredients in the preset recipe is adjusted to obtain a target recipe corresponding to the target user.
2. The recipe recommendation method according to claim 1, characterized in that: The user attribute information of the target user includes the physical data of the target user, and determining the preset nutrient intake information of the target user based on the user attribute information includes: Determining basic nutritional intake information of the target user based on the physical data of the target user; Based on the basic nutrient intake information, preset nutrient intake information of the target user is determined.
3. The recipe recommendation method according to claim 2, characterized in that: The step of determining the preset nutrient intake information of the target user based on the user attribute information further includes: Determining basic nutritional intake information of the target user based on the physical data of the target user; In a case where the user attribute information of the target user includes a sports tag and / or a special population tag, determining the additional nutrient intake information of the target user based on the sports tag and / or the special population tag; The basic nutrient intake information and the additional nutrient intake information are fused to obtain preset nutrient intake information of the target user.
4. The recipe recommendation method according to claim 1, characterized in that: The actual nutrient intake information includes the actual nutrient intake amount corresponding to each nutrient actually ingested by the target user, the preset nutrient intake information includes the preset nutrient intake amount corresponding to each nutrient that the target user needs to ingest, and determining the nutrient that the target user lacks and the intake amount of the lacking nutrient based on the actual nutrient intake information and the preset nutrient intake information includes: Comparing the actual nutrient intake corresponding to each nutrient actually ingested by the target user with the preset nutrient intake corresponding to each nutrient required to be ingested by the target user, to determine the nutrient that the target user lacks; The difference between the preset nutrient intake corresponding to the nutrient that the target user lacks and the corresponding actual nutrient intake is determined as the nutrient intake that the target user lacks.
5. The recipe recommendation method according to claim 1, characterized in that: The user attribute information of the target user also includes the taste preference and / or ingredient preference of the target user. The determining of the preset recipe corresponding to the target user based on the nutritional components lacking by the target user includes: A search is performed in a preset recipe database, and a recipe containing the nutritional components that the target user lacks and that meets the taste preference and / or ingredient preference of the target user is determined as a preset recipe corresponding to the target user.
6. The recipe recommendation method according to claim 1, characterized in that: The step of adjusting the amount of ingredients in the preset recipe based on the nutritional intake that the target user lacks, to obtain a target recipe corresponding to the target user, includes: Determine the nutrient component that the target user lacks as the target nutrient component; Obtaining the preset amount of ingredients in the preset recipe and the target nutrient content of the preset ingredients; Determining an ingredient adjustment coefficient of the preset recipe based on the target user's lack of nutrient intake and the target nutrient content contained in the preset ingredients; The preset ingredient quantity in the preset recipe is adjusted based on the ingredient adjustment coefficient to obtain a target recipe corresponding to the target user.
7. The recipe recommendation method according to claim 1, characterized in that: After adjusting the amount of ingredients in the preset recipe based on the target user's lack of nutrient intake to obtain a target recipe corresponding to the target user, the method further includes: Generate a target output instruction, wherein the target output instruction is used to instruct the output of the actual nutrient intake information of the target user, the nutrient deficient of the target user, and the target recipe corresponding to the target user.
8. A recipe recommendation device, characterized in that: include: An acquisition module, used to acquire user attribute information of a target user and actual nutrient intake information of the target user; A control module, configured to determine preset nutrient intake information of the target user based on the user attribute information; Determine the nutritional component that the target user lacks and the intake amount of the nutritional component that is lacking based on the actual nutritional component intake information and the preset nutritional component intake information; Based on the nutritional components that the target user lacks, a preset recipe corresponding to the target user is determined; based on the nutritional components that the target user lacks, the amount of ingredients in the preset recipe is adjusted to obtain a target recipe corresponding to the target user.
9. A recipe recommendation system, characterized in that: include: A collection end, used to collect user attribute information of a target user and actual nutrient intake information of the target user; A recipe recommendation device, used to obtain user attribute information of a target user and actual nutrient intake information of the target user; Determining preset nutrient intake information of the target user based on the user attribute information; Determine the nutritional component that the target user lacks and the intake amount of the nutritional component that is lacking based on the actual nutritional component intake information and the preset nutritional component intake information; Based on the nutritional components that the target user lacks, a preset recipe corresponding to the target user is determined; based on the nutritional components that the target user lacks, the amount of ingredients in the preset recipe is adjusted to obtain a target recipe corresponding to the target user.
10. A computer-readable storage medium, characterized in that: The storage medium stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the recipe recommendation method as described in claims 1-7.