Menu recommendation method, storage medium and electronic device

By generating an initial recipe and optimizing it based on ingredient weight and user preferences, the problem of insufficient intelligence in refrigerator food management is solved, enabling more efficient use of ingredients and personalized recipe recommendations.

CN122019848APending Publication Date: 2026-05-12HAIER YOUJIA INTELLIGENT TECH (BEIJING) CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HAIER YOUJIA INTELLIGENT TECH (BEIJING) CO LTD
Filing Date
2024-11-11
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

Existing refrigerators are insufficient in terms of intelligent food management and cannot effectively meet users' needs for personalized recipe recommendations.

Method used

The system generates an initial recipe in response to user commands and the types of food in the refrigerator. It determines the number of dishes that can be made and the amount of food that needs to be added based on the weight of the food. Combined with user preference values ​​and real-time detection, it optimizes recipe generation and food replenishment suggestions.

Benefits of technology

It enhances the refrigerator's intelligence in food management, reduces food waste, improves cooking convenience and efficiency, and meets users' personalized needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122019848A_ABST
    Figure CN122019848A_ABST
Patent Text Reader

Abstract

The invention discloses a menu recommendation method, a storage medium and an electronic device, and relates to the technical field of smart home, the menu recommendation method comprises the steps that a first initial menu is generated according to the type of food materials in a refrigerator in response to a first menu recommendation instruction, and the first initial menu comprises one or more dishes; each dish adopts at least one food material in the refrigerator, under the condition that at least two dishes in the first initial menu both adopt the first food material in the refrigerator, the number of dishes capable of being completed in the at least two dishes is determined based on the weight of the first food material, and under the condition that the at least two dishes cannot be completely completed, the number of the dishes capable of being completed in the at least two dishes is determined based on the weight of the first food material. Determining the weight of the first food material needing to be supplemented; according to the method, through interaction between the user and the refrigerator and real-time detection of the weight and the type of the food materials in the refrigerator, the intelligent level of the refrigerator in the food material management aspect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of smart home, in particular to a recipe recommendation method, a storage medium and an electronic device. BACKGROUND

[0002] In the field of smart home appliances, a refrigerator not only has basic refrigeration and freezing functions, but also can manage food materials through sensors and other technologies, and recommend recipes based on a built-in fixed recipe database, thereby improving user experience.

[0003] In the prior art, a refrigerator with food material management and recipe recommendation functions identifies food materials in the refrigerator through integrated sensors, and then transmits the identification information to the refrigerator control system. The refrigerator control system uses a built-in fixed recipe database to find recipes that match the identified food materials through a specific recommendation algorithm, and displays these recipes to the user. The entire process realizes intelligent operation from food material identification to recipe recommendation.

[0004] However, in the prior art, the refrigerator control system recommends recipes based on the types of food materials in the refrigerator, which has the problem of insufficient intelligence of refrigerator food material management. SUMMARY

[0005] The present application provides a recipe recommendation method, a storage medium and an electronic device to solve the problem of insufficient intelligence of refrigerator food material management.

[0006] In a first aspect, the present application provides a recipe recommendation method, comprising:

[0007] In response to a first recipe recommendation instruction, generating a first initial recipe according to the types of food materials in the refrigerator, the first initial recipe including one or more dishes, each dish using at least one food material in the refrigerator;

[0008] In the case that at least two dishes in the first initial recipe use the first food material in the refrigerator, determining the number of dishes that can be completed based on the weight of the first food material, and in the case that the at least two dishes cannot be completed, determining the weight of the first food material that needs to be supplemented.

[0009] Optionally, the first recipe recommendation instruction includes one or more of the number of diners, meal types, and time information, and the time information is used to determine the number of dishes in the first initial recipe.

[0010] Optionally, further comprising:

[0011] In the case that the at least two dishes cannot be completed, obtaining a preference value of the user for the at least two dishes;

[0012] The at least two dishes are sorted in descending order of preference value. Based on the rule that the first ingredient should preferentially satisfy the dish that is ranked first, the target dish that cannot be completed among the at least two dishes is determined.

[0013] The target dish is removed from the first initial recipe to obtain the first recipe.

[0014] Optional, also includes:

[0015] The refrigerator displays or broadcasts prompts, and / or sends the prompts to the terminal. The prompts include the first initial recipe, the number of dishes that can be completed from the at least two dishes, and the weight of the first ingredient that needs to be added if the at least two dishes cannot be completed.

[0016] Optional, also includes:

[0017] In response to an ingredient detection command for a preset recipe, determine whether the types and weights of the ingredients in the refrigerator are sufficient to prepare the first dish;

[0018] If the types and weight of ingredients in the refrigerator are insufficient to complete the first dish, then the types and weight of ingredients that need to be added are determined.

[0019] Optional, also includes:

[0020] In response to the second recipe recommendation instruction, a second initial recipe is generated based on the types of ingredients in the refrigerator. The second initial recipe includes multiple dishes.

[0021] Based on the weight of the ingredients in the refrigerator, it is determined whether all the dishes in the second initial recipe can be completed, and if all the dishes in the second initial recipe cannot be completed, it is determined what types and weights of ingredients need to be added to complete the dishes in the second initial recipe.

[0022] Optional, also includes:

[0023] The type and weight of the food in the refrigerator are detected at preset time intervals, and / or, in response to the refrigerator door being opened, the type and weight of the food in the refrigerator are detected.

[0024] Secondly, this application provides a recipe recommendation device, comprising:

[0025] The response module is used to respond to the first recipe recommendation command;

[0026] A generation module is used to generate a first initial recipe based on the types of ingredients in the refrigerator. The first initial recipe includes one or more dishes, and each dish uses at least one ingredient from the refrigerator.

[0027] The determining module is configured to, when at least two dishes in the first initial recipe both use the first ingredient in the refrigerator, determine the number of dishes that can be completed from the at least two dishes based on the weight of the first ingredient, and, when the at least two dishes cannot be completed, determine the weight of the first ingredient that needs to be supplemented.

[0028] Optionally, the determining module is further configured to include one or more of the following in the first recipe recommendation instruction: number of diners, type of meals, and time information, wherein the time information is used to determine the number of dishes in the first initial recipe.

[0029] Optionally, the recipe recommendation device further includes: an acquisition module and a processing module;

[0030] The acquisition module is used to acquire the user's preference value for the at least two dishes when the at least two dishes cannot be fully prepared.

[0031] The processing module is used to sort the at least two dishes in descending order of preference value;

[0032] The determining module is further configured to determine the target dish that cannot be completed among the at least two dishes based on the rule that the first ingredient should preferentially satisfy the dishes that are ranked first.

[0033] The processing module is also used to delete the target dish from the first initial recipe to obtain the first recipe.

[0034] Optionally, the recipe recommendation device further includes: a display module;

[0035] The display module is used to display or broadcast prompt information through the refrigerator, and / or send the prompt information to the terminal. The prompt information includes the first initial recipe, the number of dishes that can be completed from the at least two dishes, and the weight of the first ingredient that needs to be supplemented if the at least two dishes cannot be completed.

[0036] Optionally, the response module is also configured to respond to an ingredient detection command for a preset recipe;

[0037] The determining module is also used to determine whether the types and weights of the ingredients in the refrigerator are sufficient to prepare the first dish;

[0038] The determining module is also used to determine the type and weight of ingredients that need to be added if the types and weights of ingredients in the refrigerator are insufficient to complete the first dish.

[0039] Optionally, the response module is also configured to respond to a second recipe recommendation instruction;

[0040] The generation module is also used to generate a second initial recipe based on the types of ingredients in the refrigerator, the second initial recipe including multiple dishes;

[0041] The determining module is further configured to determine, based on the weight of the ingredients in the refrigerator, whether all the dishes in the second initial recipe can be completed, and, if the dishes in the second initial recipe cannot be completed, to determine the types and weights of ingredients that need to be added to complete the dishes in the second initial recipe.

[0042] Optionally, the recipe recommendation device further includes: a detection module;

[0043] The detection module is used to detect the type and weight of food in the refrigerator at preset time intervals, and / or, in response to the refrigerator door being opened, to detect the type and weight of food in the refrigerator.

[0044] Thirdly, this application provides a recipe recommendation device, including:

[0045] Memory;

[0046] processor;

[0047] The memory stores computer-executed instructions;

[0048] The processor executes computer execution instructions stored in the memory to implement the recipe recommendation method as described in the first aspect and various possible implementations of the first aspect.

[0049] Fourthly, this application provides a computer storage medium, characterized in that the computer storage medium stores computer execution instructions, which, when executed by a processor, are used to implement the recipe recommendation method as described in the first aspect and various possible implementations of the first aspect.

[0050] The recipe recommendation method provided in this application generates a first initial recipe based on the types of ingredients in the refrigerator in response to a first recipe recommendation instruction. The first initial recipe includes one or more dishes, each using at least one ingredient from the refrigerator. If at least two dishes in the first initial recipe use the first ingredient from the refrigerator, the method determines the number of dishes that can be completed from the at least two dishes based on the weight of the first ingredient. If the at least two dishes cannot be completed, the method determines the weight of the first ingredient that needs to be added. This method improves the intelligence level of the refrigerator in terms of food management through user interaction with the refrigerator and real-time detection of the weight and types of ingredients in the refrigerator. Attached Figure Description

[0051] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0052] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0053] Figure 1 This is an interactive diagram of the smart home appliance provided in this application;

[0054] Figure 2 This is the process of the recipe recommendation method provided in this application. Figure 1 ;

[0055] Figure 3 This is the process of the recipe recommendation method provided in this application. Figure 2 ;

[0056] Figure 4 This is a schematic diagram of the recipe recommendation device provided in this application;

[0057] Figure 5 This is a schematic diagram of the recipe recommendation device provided in this application. Detailed Implementation

[0058] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0059] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0060] According to one aspect of the embodiments of this application, an interaction method for smart home devices is provided. This interaction method for smart home devices is widely applicable to whole-house intelligent digital control application scenarios such as smart homes, smart home ecosystems, and intelligence house ecosystems. Optionally, in this embodiment, the above-mentioned interaction method for smart home devices can be applied to, for example... Figure 1 The hardware environment shown consists of terminal device 102 and server 104. For example... Figure 1 As shown, server 104 is connected to terminal device 102 via a network and can be used to provide services (such as application services) to the terminal or clients installed on the terminal. A database can be set up on the server or independently of the server to provide data storage services for server 104. Cloud computing and / or edge computing services can be configured on the server or independently of the server to provide data processing services for server 104.

[0061] The aforementioned network may include, but is not limited to, at least one of the following: wired network, wireless network. The aforementioned wired network may include, but is not limited to, at least one of the following: wide area network, metropolitan area network, local area network. The aforementioned wireless network may include, but is not limited to, at least one of the following: Wi-Fi (Wireless Fidelity), Bluetooth. The terminal device 102 may not be limited to PC, mobile phone, tablet computer, smart air conditioner, smart range hood, smart refrigerator, smart oven, smart stove, smart washing machine, smart water heater, smart washing equipment, smart dishwasher, smart projector, smart TV, smart clothes rack, smart curtains, smart audio-visual equipment, smart socket, smart speaker, smart speaker box, smart fresh air equipment, smart kitchen and bathroom equipment, smart bathroom equipment, smart robot vacuum cleaner, smart window cleaning robot, smart mopping robot, smart air purifier, smart steam oven, smart microwave oven, smart water heater, smart air purifier, smart water dispenser, smart door lock, etc.

[0062] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0063] The terms "first," "second," "third," "fourth," etc. (if present) in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented, for example, in orders other than those illustrated or described herein.

[0064] In this application, the terms "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0065] In the field of smart home appliances, refrigerators are no longer limited to simple refrigeration and freezing functions. Some advanced refrigerators, leveraging sensors and other cutting-edge technologies, can manage the food inside. These refrigerators not only make food storage more organized but also enrich users' daily life experience by recommending appropriate recipes based on available ingredients through a built-in database of fixed recipes.

[0066] In existing technologies, refrigerators with food management and recipe recommendation functions identify the food inside the refrigerator through integrated sensors, and then transmit the identification information to the refrigerator control system. The refrigerator control system uses a built-in fixed recipe database to find recipes that match the identified food through a specific recommendation algorithm, and then displays these recipes to the user. The entire process realizes intelligent operation from food identification to recipe recommendation.

[0067] However, existing refrigerators of this type still have limitations in terms of intelligence. For example, based on the types of food in the refrigerator, multiple recipes can be matched from a recipe database, and each recommended recipe is consistent in its reference value, resulting in customized recipes that cannot meet the user's needs.

[0068] To address the aforementioned issues, this application provides a recipe recommendation method that determines the recipes that can be generated based on user instructions and the types of ingredients in the refrigerator. Furthermore, it determines the dishes that can be prepared and the weight of ingredients that need to be replenished based on the weight of the corresponding ingredients in the refrigerator. This method improves the refrigerator's intelligence level in food management through user interaction with the refrigerator and real-time monitoring of the weight and types of ingredients inside.

[0069] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0070] Figure 2 This is the process of the recipe recommendation method provided in this application. Figure 1 The executing entity in this embodiment is, for example, a refrigerator control system. Figure 2 As shown, the recipe recommendation method provided in this embodiment includes:

[0071] S201: In response to the first recipe recommendation instruction, generate a first initial recipe based on the types of ingredients in the refrigerator. The first initial recipe includes one or more dishes, each of which uses at least one ingredient from the refrigerator.

[0072] The first recipe recommendation command can be a voice interaction command, a command input through the refrigerator panel, or a command triggered by a mobile app. For example, the first recipe recommendation command could be: "I'm making lunch now, what dishes can I make?"

[0073] Understandably, in response to the first recipe recommendation command, the refrigerator control system will parse the command, determine that it recommends multiple dishes for the user to choose from, and then automatically generate one or more recipes (i.e., the initial first recipe) based on the types of ingredients currently in the user's refrigerator. Each dish in these recipes includes at least one ingredient already in the refrigerator, ensuring that the user can use existing ingredients for cooking, reducing food waste, and improving the convenience and efficiency of cooking. The first recipe recommendation command can be triggered in various ways, including but not limited to voice interaction commands (such as "I'm going to make lunch now, what dishes can I make?"), commands input through the refrigerator panel, and commands triggered through a mobile app.

[0074] With intelligent recipe recommendations, users can plan their meals, reducing cooking hassles and uncertainties. Recipes are generated based on existing ingredients in the refrigerator, helping users make the most of food and avoid spoilage or waste. Users don't need to search for recipes; the refrigerator control system automatically recommends suitable dishes based on available ingredients, saving time and effort.

[0075] S202: If at least two dishes in the first initial recipe use the first ingredient in the refrigerator, determine the number of dishes that can be made from the at least two dishes based on the weight of the first ingredient, and determine the weight of the first ingredient that needs to be added if the at least two dishes cannot be made.

[0076] The first ingredient is used to indicate a type of food item in the refrigerator.

[0077] Understandably, when generating the initial recipes based on the available ingredients in the refrigerator, a situation may arise where at least two dishes require the same ingredient (i.e., the first ingredient). In this case, the refrigerator control system will intelligently determine the number of dishes that can be prepared based on the weight of the first ingredient. If the total amount of the first ingredient is insufficient to support the preparation of all dishes containing it, the refrigerator control system will calculate the additional weight of the first ingredient needed to complete all recommended dishes.

[0078] By calculating the weight of different ingredients required for each dish in a recipe, the refrigerator control system can prevent cooking interruptions due to insufficient ingredients and guide users to replenish ingredients when necessary. Furthermore, this intelligent ingredient management enhances the user's cooking experience, making the cooking process smoother and more efficient.

[0079] The recipe recommendation method provided in this embodiment generates a first initial recipe based on the types of ingredients in the refrigerator in response to a first recipe recommendation instruction. The first initial recipe includes one or more dishes, each using at least one ingredient from the refrigerator. If at least two dishes in the first initial recipe use the first ingredient from the refrigerator, the number of dishes that can be completed from the at least two dishes is determined based on the weight of the first ingredient. If the at least two dishes cannot be completed, the weight of the first ingredient that needs to be added is determined. This method improves the intelligence level of the refrigerator in terms of food management through user interaction with the refrigerator and real-time detection of the weight and types of ingredients in the refrigerator.

[0080] Figure 3 This is the process of the recipe recommendation method provided in this application. Figure 2 .like Figure 3 As shown, in this embodiment... Figure 2 Based on the embodiments, the recipe recommendation method is described in detail. The recipe recommendation method shown in this embodiment includes:

[0081] S301: In response to the first recipe recommendation instruction, generate a first initial recipe based on the types of ingredients in the refrigerator. The first initial recipe includes one or more dishes, each of which uses at least one ingredient from the refrigerator.

[0082] For example, the refrigerator contains pork, eggs, cucumber, carrot, potato, pepper, and eggplant. The first recipe recommendation instruction is: I need to make lunch now, what dishes can I make? Based on the types of ingredients in the refrigerator, the first initial recipes generated are: Mu Shu Pork (ingredients: pork, eggs, cucumber, carrot), Di San Xian (ingredients: eggplant, potato, pepper), and Carrot and Potato Stir-fry with Pork (ingredients: pork, carrot, potato).

[0083] S302: If at least two dishes in the first initial recipe use the first ingredient in the refrigerator, then determine the number of dishes that can be made from the at least two dishes based on the weight of the first ingredient.

[0084] For example, the first initial recipe is Mu Shu Pork, Di San Xian (a dish of potatoes, green peppers, and eggplant), and stir-fried pork with carrots and potatoes. Both Mu Shu Pork and stir-fried pork with carrots and potatoes contain pork. There is only 150g of pork in the refrigerator. Both Mu Shu Pork and stir-fried pork with carrots and potatoes require 150g of pork. Therefore, the number of dishes that can be made from Mu Shu Pork and stir-fried pork with carrots and potatoes is 1.

[0085] S303: If at least two dishes cannot be completed, determine the weight of the first ingredient that needs to be added.

[0086] For example, the initial recipes are Mu Shu Pork, Three Treasures of the Earth, and Stir-fried Pork with Carrots and Potatoes. Both Mu Shu Pork and Stir-fried Pork with Carrots and Potatoes include pork. If there is only 150g of pork in the refrigerator, and both Mu Shu Pork and Stir-fried Pork with Carrots and Potatoes require 150g of pork, then one dish can be made from either Mu Shu Pork or Stir-fried Pork with Carrots and Potatoes. If both dishes cannot be made completely, an additional 150g of pork is needed.

[0087] S304: If at least two dishes cannot be completed, obtain the user's preference values ​​for at least two dishes.

[0088] Among them, the user's preference value for dishes can be set directly by the user, or it can be determined based on the user's clicks and browsing operations on historical recommended recipes. The more frequent the clicks and browsing operations, the higher the preference value, and the less frequent the clicks and browsing operations, the lower the preference value.

[0089] If at least two dishes cannot be completed in the initial recipe, it is necessary to obtain the user's preference values ​​for these two dishes. These preferences may involve the user's liking for the dishes, their priority in completing them, or their acceptance of alternative dishes. By obtaining the user's preference values ​​for these two dishes, the refrigerator control system can more accurately understand the user's actual needs, providing a strong basis for recipe generation.

[0090] For example, if both Mu Shu Pork and Carrot and Potato Stir-fry with Pork cannot be completed, the user's preference value for Mu Shu Pork is 0.9, and the user's preference value for Carrot and Potato Stir-fry with Pork is 0.7.

[0091] S305: Sort at least two dishes in descending order of preference value, and determine the target dish that cannot be completed among the at least two dishes based on the rule that the first ingredient should be used to satisfy the dish ranked first.

[0092] For example, if a user's preference value for Mu Shu Pork is 0.9 and their preference value for Stir-fried Pork with Carrots and Potatoes is 0.7, and Mu Shu Pork is ranked first based on pork, then the dish that cannot be completed between Mu Shu Pork and Stir-fried Pork with Carrots and Potatoes is Stir-fried Pork with Carrots and Potatoes.

[0093] S306: Remove the target dish from the first initial recipe to obtain the first recipe.

[0094] For example, the first initial recipe is: Mu Shu Pork, Di San Xian (Three Treasures of the Earth), and Stir-fried Pork with Carrots and Potatoes. The target dish is Stir-fried Pork with Carrots and Potatoes. The first recipe is: Mu Shu Pork and Di San Xian.

[0095] S307: Display or voice prompts on the refrigerator, and / or send prompts to the terminal, the prompts including a first initial recipe, the number of dishes that can be completed out of at least two dishes, and the weight of the first ingredient that needs to be added if at least two dishes cannot be completed.

[0096] Smart refrigerators feature alerts that deliver key information to users through various means. The built-in display screen provides intuitive prompts about ingredient usage and recipe execution. Furthermore, the refrigerator supports voice prompts, allowing busy or visually impaired users to easily access the information they need. These prompts go beyond simple ingredient reminders, including more detailed recipe instructions.

[0097] When a user opens the refrigerator or performs any operation, the refrigerator displays or announces detailed information about the initial recipe, including the number of dishes that can be made out of at least two options. This feature is very useful, especially when ingredients are limited, as it helps users quickly understand the dishes they can currently prepare and their quantities. If it's impossible to prepare all the dishes due to insufficient ingredients, the refrigerator will also intelligently suggest which dishes can be made and which need to be temporarily set aside.

[0098] Smart refrigerators can also send reminders to users to replenish ingredients if at least two dishes cannot be completed. This information includes not only the names of the ingredients that need to be added but also the precise weight required, ensuring users purchase the exact amount and avoid waste. These reminders can be displayed on the refrigerator's screen, announced via voice, or sent to the user's smartphone or other terminal devices, allowing users to monitor the food status and recipe progress in the refrigerator at any time.

[0099] S308: In response to an ingredient detection command for a preset recipe, determine whether the types and weights of ingredients in the refrigerator are sufficient to complete the first dish.

[0100] The preset recipes can be a single dish or a week's worth of recipes, and are recipes set by the user.

[0101] Food inspection is used to indicate the type and weight of food in the refrigerator.

[0102] The first dish is used to indicate the dishes in the preset menu.

[0103] Understandably, the refrigerator control system can respond to ingredient detection commands based on user-preset recipes. These recipes can be a single dish or a detailed weekly menu. When the refrigerator control system receives this command, it immediately activates the ingredient detection function, comprehensively scanning and analyzing the types and weights of ingredients currently in the refrigerator. During the detection process, the refrigerator control system carefully compares the ingredient list required for the first dish in the preset recipe with the actual ingredients stored in the refrigerator to determine if the types and weights of ingredients are sufficient to prepare the first dish.

[0104] S309: If the types and weight of ingredients in the refrigerator are insufficient to complete the first dish, determine the types and weight of ingredients that need to be added.

[0105] After the refrigerator control system performs a comprehensive inspection of the food inside, if it finds that the existing food types or weight are insufficient to meet the requirements of the first dish in the preset recipe, the control system will immediately initiate a supplementary food determination procedure. This procedure will compare each item in the refrigerator with the list of ingredients required for the first dish to accurately identify which ingredients are missing and the amount they each need to be supplemented.

[0106] When determining the types and weight of ingredients that need to be replenished, the refrigerator control system considers factors such as the freshness and shelf life of the ingredients, as well as the user's cooking habits. The system prioritizes recommending ingredients with high freshness and long shelf life, and provides reasonable replenishment suggestions based on the user's preferences and tastes. Simultaneously, the system provides precise replenishment amounts based on the weight requirements of the ingredients to avoid waste or shortages.

[0107] Finally, the refrigerator control system will generate a detailed food replenishment list, which clearly lists the types and weights of the food that need to be replenished.

[0108] S310: In response to the second recipe recommendation instruction, generate a second initial recipe based on the types of ingredients in the refrigerator. The second initial recipe includes multiple dishes.

[0109] The second recipe recommendation instruction is used to instruct the automatic creation of a recipe list based on the ingredients.

[0110] When a user issues a second recipe recommendation command, the refrigerator control system parses the command and immediately responds, initiating the recipe generation process. This process first performs a comprehensive scan of the refrigerator's interior, identifying and recording the types and quantities of currently available ingredients.

[0111] Based on the types of food currently in the refrigerator, the refrigerator control system intelligently matches and generates a second initial recipe containing one or more dishes. This second initial recipe not only considers the diversity and nutritional balance of the ingredients but also takes into account the user's taste preferences and eating habits. The refrigerator control system prioritizes recommending dish combinations that maximize the use of the ingredients in the refrigerator, ensuring that each dish is both delicious and healthy.

[0112] Optionally, the second recipe recommendation instruction includes one or more of the following: number of diners, type of meals, and time information. The number of diners, type of meals, and time information are used to determine the number of dishes in the second initial recipe.

[0113] The three meal types include breakfast, lunch, and dinner. For example, for one person, breakfast, lunch, and dinner each consist of two dishes.

[0114] The time information includes: one day, one week, and one weekend. For example, one person can have 6 dishes a day, 42 dishes a week, and 12 dishes on the weekend.

[0115] The correspondence between the number of diners, meal types, time information, and the number of dishes can be set by the user or obtained through analysis of data information from the user's historical recipe creation.

[0116] For example, the second recipe recommendation instruction is: Create a breakfast menu for 3 people for one week. Therefore, the number of diners is 3, the meal type is breakfast, and the time information is one week.

[0117] S311: Based on the weight of the ingredients in the refrigerator, determine whether all the dishes in the second initial recipe can be completed, and if the dishes in the second initial recipe cannot be completed, determine the types and weights of the ingredients that need to be added to complete the dishes in the second initial recipe.

[0118] The second initial recipe is generated based on the second recipe recommendation instructions and the ingredients in the refrigerator.

[0119] After generating the second initial recipe, the refrigerator control system calculates the weight of ingredients needed for each dish and compares it with the actual weight of ingredients stored in the refrigerator to determine if the ingredients are sufficient to prepare all the dishes. If the weight of ingredients in the refrigerator is insufficient to prepare all the dishes in the second initial recipe, the refrigerator control system immediately initiates a supplementary ingredient determination program. This program intelligently analyzes which dishes cannot be prepared due to insufficient ingredients and determines the types and weights of ingredients needed to supplement these dishes. This step not only improves the utilization rate of ingredients but also avoids interruptions to the cooking plan due to insufficient ingredients.

[0120] S312: Detect the type and weight of food in the refrigerator at preset time intervals, and / or, in response to the refrigerator door being opened, detect the type and weight of food in the refrigerator.

[0121] The refrigerator control system can automatically detect the types and weight of food inside the refrigerator at preset time intervals. This function is achieved through built-in sensors and high-precision algorithms, which can periodically scan the inside of the refrigerator and update the food list in real time, allowing users to keep track of the food storage status at all times. This not only improves the convenience of food management but also helps avoid food waste due to expiration, thus improving the health of family diets.

[0122] In addition to performing detection at preset time intervals, the refrigerator control system also features responsive detection. When the refrigerator door is opened, the control system immediately initiates a detection program, quickly identifying and recording the type and weight of food inside the refrigerator. This function is particularly useful when users take out or add food, allowing for real-time updates of food information and ensuring the accuracy and completeness of the food inventory. Simultaneously, it provides users with a more intuitive food management experience, enabling them to monitor changes in the food inside the refrigerator in real time during operation.

[0123] The recipe recommendation method provided in this embodiment generates a first initial recipe based on the types of ingredients in the refrigerator in response to a first recipe recommendation instruction. The first initial recipe includes one or more dishes, each using at least one ingredient from the refrigerator. If at least two dishes in the first initial recipe use the first ingredient from the refrigerator, the number of dishes that can be completed from the at least two dishes is determined based on the weight of the first ingredient. If the at least two dishes cannot be completed, the weight of the first ingredient that needs to be added is determined. If the at least two dishes cannot be completed, the user's preference value for the at least two dishes is obtained, and the at least two dishes are sorted in descending order of preference value. Based on the rule that the first ingredient prioritizes dishes that are ranked higher, a target dish that cannot be completed from the at least two dishes is determined and removed from the first initial recipe, resulting in the first recipe. The refrigerator displays or broadcasts a prompt message, and / or sends a prompt message to the terminal, including the first initial recipe and the number of dishes that can be completed from the at least two dishes. Furthermore, in cases where at least two dishes cannot be completed, the weight of the first ingredient to be added is determined. In response to an ingredient detection command for a preset recipe, the type and weight of ingredients in the refrigerator are determined to be sufficient to complete the first dish. If the type and weight of ingredients in the refrigerator are insufficient, the type and weight of ingredients to be added are determined. In response to a second recipe recommendation command, a second initial recipe is generated based on the types of ingredients in the refrigerator. The second initial recipe includes multiple dishes. Based on the weight of ingredients in the refrigerator, it is determined whether all dishes in the second initial recipe can be completed. In cases where the multiple dishes in the second initial recipe cannot be completed, the type and weight of ingredients to be added to complete the multiple dishes in the second initial recipe are determined. The type and weight of ingredients in the refrigerator are detected at preset time intervals, and / or, in response to the refrigerator door being opened, the type and weight of ingredients in the refrigerator are detected. This method improves the intelligence level of the refrigerator in terms of food management through user interaction with the refrigerator and real-time detection of the weight and type of ingredients in the refrigerator.

[0124] Figure 4 This is a schematic diagram of the recipe recommendation device provided in this application. Figure 4 As shown, this application provides a recipe recommendation device, the recipe recommendation device 400 including:

[0125] Response module 401 is used to respond to the first recipe recommendation instruction;

[0126] The generation module 402 is used to generate a first initial recipe based on the types of ingredients in the refrigerator. The first initial recipe includes one or more dishes, and each dish uses at least one ingredient from the refrigerator.

[0127] The determining module 403 is used to determine the number of dishes that can be completed in the at least two dishes in the first initial recipe, based on the weight of the first ingredient, and to determine the weight of the first ingredient that needs to be supplemented if the at least two dishes cannot be completed.

[0128] Optionally, the determining module 403 is further configured to include one or more of the following in the first recipe recommendation instruction: number of diners, type of meals, and time information, wherein the time information is used to determine the number of dishes in the first initial recipe.

[0129] Optionally, the recipe recommendation device further includes: an acquisition module 404 and a processing module 405;

[0130] The acquisition module 404 is used to acquire the user's preference value for the at least two dishes when the at least two dishes cannot be fully prepared.

[0131] The processing module 405 is used to sort the at least two dishes in descending order of preference value;

[0132] The determining module 403 is further configured to determine the target dish that cannot be completed among the at least two dishes based on the rule that the first ingredient should preferentially satisfy the dishes that are ranked first.

[0133] The processing module 405 is further configured to delete the target dish from the first initial recipe to obtain the first recipe.

[0134] Optionally, the recipe recommendation device further includes: a display module 406;

[0135] The display module 406 is used to display or broadcast prompt information through the refrigerator, and / or send the prompt information to the terminal. The prompt information includes the first initial recipe, the number of dishes that can be completed from the at least two dishes, and the weight of the first ingredient that needs to be supplemented if the at least two dishes cannot be completed.

[0136] Optionally, the response module 401 is also configured to respond to an ingredient detection command for a preset recipe;

[0137] The determining module 403 is also used to determine whether the types and weights of the ingredients in the refrigerator are sufficient to make the first dish;

[0138] The determining module 403 is also used to determine the type and weight of ingredients that need to be added if the types and weights of ingredients in the refrigerator are insufficient to complete the first dish.

[0139] Optionally, the response module 401 is also configured to respond to a second recipe recommendation instruction;

[0140] The generation module 402 is also used to generate a second initial recipe based on the types of ingredients in the refrigerator, the second initial recipe including multiple dishes;

[0141] The determining module 403 is further configured to determine, based on the weight of the ingredients in the refrigerator, whether all the dishes in the second initial recipe can be completed, and, if the dishes in the second initial recipe cannot be completed, to determine the types and weights of ingredients that need to be added to complete the dishes in the second initial recipe.

[0142] Optionally, the recipe recommendation device further includes: a detection module 407;

[0143] The detection module 407 is used to detect the type and weight of the food in the refrigerator at preset time intervals, and / or, in response to the refrigerator door being opened, to detect the type and weight of the food in the refrigerator.

[0144] Figure 5 This is a structural diagram of the recipe recommendation device provided in this application. (For example...) Figure 5 As shown, this application provides a recipe recommendation device, the recipe recommendation 500 including: receiver 501, transmitter 502, processor 503 and memory 504.

[0145] Receiver 501 is used to receive instructions and data;

[0146] Transmitter 502 is used to send commands and data;

[0147] Memory 504 is used to store instructions executed by the computer;

[0148] The processor 503 is used to execute computer execution instructions stored in the memory 504 to implement the various steps of the recipe recommendation method in the above embodiments. For details, please refer to the relevant descriptions in the foregoing embodiments of the recipe recommendation method.

[0149] Alternatively, the memory 504 can be either standalone or integrated with the processor 503.

[0150] When the memory 504 is set up independently, the electronic device also includes a bus for connecting the memory 504 and the processor 503.

[0151] This application also provides a computer-readable storage medium storing computer-executable instructions. When a processor executes the computer-executable instructions, it implements the recipe recommendation method performed by the recipe recommendation device described above. The above description is merely a preferred embodiment of this application. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of this application, and these improvements and modifications should also be considered within the scope of protection of this application.

Claims

1. A recipe recommendation method, characterized in that, include: In response to the first recipe recommendation instruction, a first initial recipe is generated based on the types of ingredients in the refrigerator. The first initial recipe includes one or more dishes, and each dish uses at least one of the ingredients in the refrigerator. If at least two dishes in the first initial recipe use the first ingredient in the refrigerator, the number of dishes that can be made from the at least two dishes is determined based on the weight of the first ingredient, and if the at least two dishes cannot be made, the weight of the first ingredient that needs to be added is determined.

2. The method according to claim 1, characterized in that, Also includes: If at least two dishes cannot be completed, obtain the user's preference value for the at least two dishes; The at least two dishes are sorted in descending order of preference value. Based on the rule that the first ingredient should preferentially satisfy the dish that is ranked first, the target dish that cannot be completed among the at least two dishes is determined. The target dish is removed from the first initial recipe to obtain the first recipe.

3. The method according to any one of claims 1-2, characterized in that, Also includes: The refrigerator displays or broadcasts prompts, and / or sends the prompts to the terminal. The prompts include the first initial recipe, the number of dishes that can be completed from the at least two dishes, and the weight of the first ingredient that needs to be added if the at least two dishes cannot be completed.

4. The method according to any one of claims 1-2, characterized in that, Also includes: In response to an ingredient detection command for a preset recipe, determine whether the types and weights of the ingredients in the refrigerator are sufficient to prepare the first dish; If the types and weight of ingredients in the refrigerator are insufficient to complete the first dish, then the types and weight of ingredients that need to be added are determined.

5. The method according to any one of claims 1-2, characterized in that, Also includes: In response to the second recipe recommendation instruction, a second initial recipe is generated based on the types of ingredients in the refrigerator. The second initial recipe includes multiple dishes. Based on the weight of the ingredients in the refrigerator, it is determined whether all the dishes in the second initial recipe can be completed, and if all the dishes in the second initial recipe cannot be completed, it is determined what types and weights of ingredients need to be added to complete the dishes in the second initial recipe.

6. The method according to claim 5, characterized in that, The second recipe recommendation instruction includes one or more of the following: number of diners, type of meals, and time information. The number of diners, type of meals, and time information are used to determine the number of dishes in the second initial recipe.

7. The method according to any one of claims 1-2, characterized in that, Also includes: The type and weight of the food in the refrigerator are detected at preset time intervals, and / or, in response to the refrigerator door being opened, the type and weight of the food in the refrigerator are detected.

8. A recipe recommendation device, characterized in that, include: The response module is used to respond to the first recipe recommendation command; A generation module is used to generate a first initial recipe based on the types of ingredients in the refrigerator. The first initial recipe includes one or more dishes, and each dish uses at least one ingredient from the refrigerator. The determining module is configured to, when at least two dishes in the first initial recipe both use the first ingredient in the refrigerator, determine the number of dishes that can be completed from the at least two dishes based on the weight of the first ingredient, and, when the at least two dishes cannot be completed, determine the weight of the first ingredient that needs to be supplemented.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein the program, when executed, performs the method of any one of claims 1 to 7.

10. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to execute the method of any one of claims 1 to 7 through the computer program.