CN-122019848-A - Menu recommendation method, storage medium and electronic device
Abstract
The application discloses a menu recommendation method, a storage medium and an electronic device, and relates to the technical field of intelligent home, wherein the menu recommendation method comprises the steps of generating a first initial menu according to the types of food materials in a refrigerator by responding to a first menu recommendation instruction, wherein the first initial menu comprises one or more dishes, each dish adopts at least one type of food material in the refrigerator, determining the quantity of the dishes which can be finished in at least two dishes based on the weight of the first food material under the condition that at least two dishes all adopt the first food material in the refrigerator in the first initial menu, and determining the weight of the first food material which needs to be supplemented under the condition that at least two dishes cannot be finished completely.
Inventors
- GAO YANG
Assignees
- 海尔优家智能科技(北京)有限公司
- 青岛海尔科技有限公司
- 海尔智家股份有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20241111
Claims (10)
- 1. A recipe recommendation method, comprising: Responding to a first menu recommendation instruction, and generating a first initial menu according to the types of food materials in the refrigerator, wherein the first initial menu comprises one or more dishes, and each dish adopts at least one food material in the refrigerator; And determining the number of the dishes which can be finished in the at least two dishes based on the weight of the first food material under the condition that the first food material in the refrigerator is adopted by at least two dishes in the first initial menu, and determining the weight of the first food material which needs to be supplemented under the condition that the at least two dishes cannot be completely finished.
- 2. The method as recited in claim 1, further comprising: acquiring preference values of a user for the at least two dishes under the condition that the at least two dishes cannot be completely finished; sorting the at least two dishes according to the order of the preference values from high to low, and determining target dishes which cannot be completed in the at least two dishes based on the rule that the first food material preferentially meets the dishes sorted in front; and deleting the target menu from the first initial menu to obtain a first menu.
- 3. The method according to any one of claims 1-2, further comprising: And displaying or voice broadcasting prompt information through the refrigerator, and/or sending the prompt information to a terminal, wherein the prompt information comprises the first initial menu, the number of dishes which can be completed in at least two dishes, and the weight of the first food material which needs to be supplemented under the condition that the at least two dishes cannot be completed completely.
- 4. The method according to any one of claims 1-2, further comprising: Determining whether the type and weight of food materials in the refrigerator can finish the first menu or not in response to a food material detection instruction for a preset menu; if the type and weight of the food materials in the refrigerator cannot finish the first dish, determining the type and weight of the food materials needing to be supplemented.
- 5. The method according to any one of claims 1-2, further comprising: responding to a second menu recommendation instruction, and generating a second initial menu according to the types of food materials in the refrigerator, wherein the second initial menu comprises a plurality of dishes; Determining whether the multiple dishes of the second initial recipe can be completely finished based on the weight of the food materials in the refrigerator, and determining the types and weights of the food materials which need to be supplemented for completing the multiple dishes of the second initial recipe under the condition that the multiple dishes of the second initial recipe cannot be completely finished.
- 6. The method of claim 5, wherein the second recipe recommendation instruction includes one or more of a number of meals, a type of three meals, and time information, the number of meals, the type of three meals, and the time information being used to determine a number of dishes in the second initial recipe.
- 7. The method according to any one of claims 1-2, further comprising: Detecting the type and weight of the food material in the refrigerator at preset time intervals, and/or detecting the type and weight of the food material in the refrigerator in response to the refrigerator door being opened.
- 8. A menu recommendation device, comprising: the response module is used for responding to the first menu recommendation instruction; the generation module is used for generating a first initial menu according to the types of food materials in the refrigerator, wherein the first initial menu comprises one or more dishes, and each dish adopts at least one food material in the refrigerator; The determining module is used for determining the number of the dishes which can be completed in the at least two dishes based on the weight of the first food materials when the first food materials in the refrigerator are adopted by the at least two dishes in the first initial menu, and determining the weight of the first food materials which need to be supplemented when the at least two dishes cannot be completed completely.
- 9. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program, wherein the program when run 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 has stored therein a computer program, the processor being arranged to execute the method according to any of claims 1 to 7 by means of the computer program.
Description
Menu recommendation method, storage medium and electronic device Technical Field The application relates to the technical field of intelligent home, in particular to a menu recommendation method, a storage medium and an electronic device. Background In the field of intelligent household appliances, the refrigerator not only has a basic refrigerating and freezing function, but also can realize food material management through technologies such as sensors, and the like, and a menu is recommended based on a built-in fixed menu database, so that user experience is improved. In the prior art, a refrigerator with functions of food material management and menu recommendation is provided, food materials in the refrigerator are identified through an integrated sensor, and then identification information is transmitted to a refrigerator control system. The refrigerator control system utilizes a built-in fixed menu database, searches menus matched with the identified food materials through a specific recommendation algorithm, displays the menus to a user, and the whole process realizes intelligent operation from food material identification to menu recommendation. However, in the prior art, the refrigerator control system recommends a menu according to the types of food materials in the refrigerator, and the problem of insufficient intelligent management of the food materials in the refrigerator exists. Disclosure of Invention The application provides a menu recommendation method, a storage medium and an electronic device, which are used for solving the problem of insufficient intellectualization of refrigerator food material management. In a first aspect, the present application provides a recipe recommendation method, including: Responding to a first menu recommendation instruction, and generating a first initial menu according to the types of food materials in the refrigerator, wherein the first initial menu comprises one or more dishes, and each dish adopts at least one food material in the refrigerator; And determining the number of the dishes which can be finished in the at least two dishes based on the weight of the first food material under the condition that the first food material in the refrigerator is adopted by at least two dishes in the first initial menu, and determining the weight of the first food material which needs to be supplemented under the condition that the at least two dishes cannot be completely finished. Optionally, the first menu recommendation instruction includes one or more of meal number, three meal type, and time information, and the time information is used for determining the number of dishes in the first initial menu. Optionally, the method further comprises: acquiring preference values of a user for the at least two dishes under the condition that the at least two dishes cannot be completely finished; sorting the at least two dishes according to the order of the preference values from high to low, and determining target dishes which cannot be completed in the at least two dishes based on the rule that the first food material preferentially meets the dishes sorted in front; and deleting the target menu from the first initial menu to obtain a first menu. Optionally, the method further comprises: And displaying or voice broadcasting prompt information through the refrigerator, and/or sending the prompt information to a terminal, wherein the prompt information comprises the first initial menu, the number of dishes which can be completed in at least two dishes, and the weight of the first food material which needs to be supplemented under the condition that the at least two dishes cannot be completed completely. Optionally, the method further comprises: Determining whether the type and weight of food materials in the refrigerator can finish the first menu or not in response to a food material detection instruction for a preset menu; if the type and weight of the food materials in the refrigerator cannot finish the first dish, determining the type and weight of the food materials needing to be supplemented. Optionally, the method further comprises: responding to a second menu recommendation instruction, and generating a second initial menu according to the types of food materials in the refrigerator, wherein the second initial menu comprises a plurality of dishes; Determining whether the multiple dishes of the second initial recipe can be completely finished based on the weight of the food materials in the refrigerator, and determining the types and weights of the food materials which need to be supplemented for completing the multiple dishes of the second initial recipe under the condition that the multiple dishes of the second initial recipe cannot be completely finished. Optionally, the method further comprises: Detecting the type and weight of the food material in the refrigerator at preset time intervals, and/or detecting the type and weight of the food material in the refrigerator