Menu recommendation method and device

By combining the user's recommended audio data, historical recommendation data and environmental information, the recipe label model is used to recommend recipes, which solves the problem in the existing technology that recipe recommendations do not meet user needs, achieves more accurate and personalized recipe recommendations, and improves User experience.

CN118708781AInactive Publication Date: 2024-09-27HANGZHOU ROBAM APPLIANCES CO LTD +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411180438.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2024-09-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing recipe recommendation systems only rely on the user's real-time instructions when selecting recipes, which may not meet the user's needs, resulting in the selected recipe being inconsistent with the user's usage habits and preferences.

Method used

By obtaining the user's recommended audio data, extracting feature information, combining historical recommendation data and environmental information, using a pre-trained recipe label model to generate a target recipe label set, it matches and recommends recipes that best meet the user's needs from the recipe database.

Benefits of technology

It improves the accuracy of recipe recommendations, makes the selected recipes more in line with the user's usage habits and preferences, and improves the smoothness of the cooking process and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118708781A
    Figure CN118708781A
Patent Text Reader

Abstract

The invention relates to the technical field of menu recommendation, in particular to a menu recommendation method and device. The method comprises the following steps: in response to a menu recommendation request of a target user, obtaining recommended audio data sent by the target user, and extracting feature information in the audio data; determining a user identifier and menu requirement information of the target user in the menu recommendation system according to the feature information, and obtaining historical recommendation data corresponding to the target user stored in the menu recommendation system according to the user identifier; the menu requirement information and the historical recommendation data are input into a menu tag model obtained through pre-training, so that the menu tag model generates a target menu tag set, and the target menu tag set comprises a plurality of tags used for menu generation; obtaining a target menu matched with the target menu tag set from a menu database, and recommending the target menu to the target user; wherein a plurality of menus composed of at least one dish are recorded in the menu database.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of recipe recommendation, and in particular to a recipe recommendation method and device. Background Art

[0002] Recipe recommendation refers to intelligently recommending recipes to users based on their taste preferences, nutritional needs, food taboos, etc. The recipe recommendation system is an application system built based on recipe recommendation technology.

[0003] In the related art, a recipe recommendation system can select a matching recipe from a recipe database based on the user's instructions and recommend the recipe to the user. However, the reference data for such a system to select a recipe is only the user's instructions, which may result in the selected recipe not meeting the user's needs. Summary of the invention

[0004] In response to the above technical problems, the present invention proposes a recipe recommendation method and device, which aims to make recipes more in line with the user's usage habits and preferences, and can answer inquiries about recipes and modify recipes according to modification instructions proposed by users, thereby increasing the interactivity between the cooking system and the user and ensuring the smoothness of the user's cooking process.

[0005] In a first aspect, the present application provides a recipe recommendation method, which is applied to a recipe recommendation system, comprising: In response to a recipe recommendation request from a target user, obtaining recommendation audio data sent by the target user, and extracting feature information from the audio data; Determining a user identifier and recipe requirement information of the target user in the recipe recommendation system according to the characteristic information, and acquiring historical recommendation data corresponding to the target user stored in the recipe recommendation system according to the user identifier; Inputting the recipe requirement information and the historical recommendation data into a pre-trained recipe label model, so that the recipe label model generates a target recipe label set, wherein the target recipe label set includes a plurality of labels for recipe generation; A target recipe matching the target recipe tag set is obtained from a recipe database, and the target recipe is recommended to the target user; wherein the recipe database records a plurality of recipes consisting of at least one dish.

[0006] In some embodiments, the label includes at least one of the following: number of dishes, cooking method, cooking time, cooking cost, ingredient preference, taste preference, and nutritional value.

[0007] In some embodiments, The invention also includes: obtaining environmental information corresponding to the recipe recommendation request, wherein the environmental information includes at least one of the following: festival information, social hot spots, weather information, and other user search hot words; The step of inputting the recipe requirement information and the historical recommendation data into a pre-trained recipe label model comprises: inputting the environmental information, the recipe requirement information and the historical recommendation data into the recipe label model, so that the recipe label model generates a target recipe label set; wherein the labels include: popular ingredients, holiday-designated dishes, and season information.

[0008] In some embodiments, each recipe recorded in the recipe database corresponds to a recipe-associated tag set, and the recipe-associated information is generated by a set of dish information of at least one dish contained in the corresponding recipe; and obtaining a target recipe matching the target recipe tag set from the recipe database includes: The association degree between the recipe-associated tag sets of the plurality of recipes and the target recipe tag set is calculated, and the recipe with the highest association degree is determined as the target recipe.

[0009] In some embodiments, The recommending the target recipe to the target user includes: providing the target recipe to the target user in the form of voice broadcast; The historical recommendation data includes a historical playback speed and a historical playback volume, and further includes: determining a target playback speed and a target playback volume corresponding to the target recipe according to the historical playback speed and the historical playback volume, and playing the target recipe according to the target playback speed and the target playback volume.

[0010] In a second aspect, the present application provides a recipe recommendation device, comprising: A first acquisition unit, configured to respond to a recipe recommendation request from a target user, acquire recommendation audio data sent by the target user, and extract feature information from the audio data; a determining unit, configured to determine a user identifier and recipe requirement information of the target user in the recipe recommendation system according to the characteristic information, and to obtain historical recommendation data corresponding to the target user stored in the recipe recommendation system according to the user identifier; A first input unit, configured to input the recipe requirement information and the historical recommendation data into a pre-trained recipe label model, so that the recipe label model generates a target recipe label set, wherein the target recipe label set includes a plurality of labels for recipe generation; A recommendation unit is used to obtain a target recipe matching the target recipe tag set from a recipe database and recommend the target recipe to the target user; wherein the recipe database records a plurality of recipes consisting of at least one dish.

[0011] In some embodiments, it also includes: a third acquisition unit, configured to acquire a training sample set, each training sample in the training sample set comprising: recipe requirement information determined according to recommendation audio data sent by a user, historical recommendation data of the user, and an actual label set corresponding to the recipe requirement information and the historical recommendation data; A second input unit, used to input the training sample set into the model to be trained, so that the model to be trained generates a prediction label set corresponding to each training sample; The optimization unit is used to compare the actual label set and the predicted label set of each training sample respectively, and optimize the model to be trained according to the comparison result until the fit between the actual label set and the predicted label set of each training sample reaches a preset threshold.

[0012] In a third aspect, an electronic device includes a processor and a memory; The processor is connected to the memory; The memory is used to store executable program code; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the method as described in the first aspect.

[0013] According to a fourth aspect, a computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to the first aspect is implemented.

[0014] The beneficial technical effects of the present invention include at least: adopting a recipe recommendation method and device, when selecting a recipe, the recipe recommendation system not only considers the recipe requirement information obtained by the user's real-time recipe recommendation request, but also considers the user's historical recommendation data, so that the selected target recipe is more in line with the user's usage habits and preferences.

[0015] Other features and advantages of the present invention will be disclosed in detail in the following specific embodiments and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The present invention will be further described below in conjunction with the accompanying drawings: Figure 1 This is an architecture diagram of a recipe recommendation system according to an embodiment of the present invention.

[0017] Figure 2 The present invention is a flowchart of a recipe recommendation method according to an embodiment of the present invention.

[0018] Figure 3 A flowchart of a method for training a recipe label model shown in an embodiment of the present invention.

[0019] Figure 4 The block diagram of a recipe recommendation device shown in an embodiment of the present invention.

[0020] Figure 5 The present invention is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0021] The technical solutions of the embodiments of the present invention are explained and described below in conjunction with the drawings of the embodiments of the present invention, but the following embodiments are only preferred embodiments of the present invention, not all. Based on the embodiments in the implementation mode, other embodiments obtained by those skilled in the art without creative work are all within the protection scope of the present invention.

[0022] In the following description, terms such as "inside", "outside", "up", "down", "left", "right", etc. that indicate directions or positional relationships are only used to facilitate the description of the embodiments and simplify the description, and do not indicate or imply that the referred device or element must have a specific direction, be constructed and operate in a specific direction. Therefore, it should not be understood as a limitation of the present invention.

[0023] This application embodiment provides a recipe recommendation system. Figure 1 ,like Figure 1 As shown, the recipe recommendation system 10 includes a recipe label model 11, a recipe database 12, and a user information database 13.

[0024] The recipe label model 11 may be a pre-trained machine learning model for generating a recipe label set based on the recipe requirement information provided by the user and the user's historical recommendation data. The recipe requirement information is obtained by the recipe recommendation system 10 based on the recommendation information in the recipe recommendation request obtained from the target user. For example, the recommendation information may be "I want to eat chopped pepper fish head today" or "I want to eat Sichuan cuisine for dinner." Based on the recommendation information of "I want to eat chopped pepper fish head today", the recipe requirement information may be determined as adding a dish named "chopped pepper fish head" to the recipe; based on the recommendation information of "I want to eat Sichuan cuisine for dinner", the dish requirement information may be determined as the dish labels in the recipe are all "Sichuan cuisine".

[0025] The recipe database 12 is a comprehensive and practical recipe database constructed by collecting and integrating dietary recipe information from multiple channels. Figure 2As shown in the figure, the system collects public data from public data sources such as professional recipe websites, catering companies, nutritionists and diet experts, industry associations, questionnaires, etc. The system strictly cleans, integrates, classifies, normalizes and visualizes the collected data by considering factors such as the nutritional composition of ingredients, food incompatibility, cooking methods, and calorie balance to ensure the accuracy and availability of the data, so as to ensure that the generated recipes are both nutritious and healthy. Using large language models (LLMs), auxiliary tools and existing recipe databases, new basic recipes can be generated. Based on the basic recipes, professionals reproduce the cooking process, re-record and mark relevant data (audio and video recording information, floating range of ingredients, nutritional value, cooking methods, precautions, etc.) to continuously update and improve the recipe database. This process not only enriches the types of recipes, but also improves the quality and applicability of recipes.

[0026] The user information database 13 may be a database for storing user information, and the user information may include a user identifier and the user's historical recommendation data.

[0027] In this embodiment, when selecting a recipe, the recipe recommendation system not only considers the recipe requirement information obtained by the user's real-time recipe recommendation request, but also considers the user's historical recommendation data, so that the selected target recipe is more in line with the user's usage habits and preferences.

[0028] See also Figure 2 , Figure 2 This application provides a recipe recommendation method, which is applied to a recipe recommendation system, such as Figure 2 As shown, the method comprises at least the following steps: Step 202: In response to a recipe recommendation request from a target user, obtaining recommendation audio data sent by the target user, and extracting feature information from the audio data; Step 204: determining the user identification and recipe requirement information of the target user in the recipe recommendation system according to the characteristic information, and acquiring the historical recommendation data corresponding to the target user stored in the recipe recommendation system according to the user identification; Step 206: input the recipe requirement information and the historical recommendation data into a pre-trained recipe label model, so that the recipe label model generates a target recipe label set, wherein the target recipe label set includes a plurality of labels for recipe generation; Specifically, the historical recommendation data may include the number of times a recipe or dish is selected after being recommended, and the number of times it is rejected after being recommended. If the recipe or dish is selected many times, the probability of the recipe or dish being recommended subsequently will increase accordingly; if the recipe or dish is rejected many times, the recipe or dish will not be recommended subsequently.

[0029] The historical recommendation data may also include time attributes, for example, the historical data referenced by breakfast, lunch, and dinner are different. Each of the three meals refers to the recipe corresponding to the corresponding meal in history, such as: the historical data referenced by the breakfast recipe also only includes the recipes recommended for breakfast in history; the historical data referenced by the lunch recipe also only includes the recipes recommended for lunch in history. Or, the proportion of the historical data referenced by the breakfast recipe for the recipe of breakfast is greater than that of the other two meals.

[0030] For example, different historical recommendation data have different weights based on the time of recommendation. The historical recommendation data closer to the current moment has a higher weight than the historical recommendation data farther from the current moment. In other words, the weight of the historical recommendation data is inversely proportional to the time from the current moment.

[0031] Step 208: Acquire a target recipe matching the target recipe tag set from a recipe database, and recommend the target recipe to the target user; wherein the recipe database records a plurality of recipes consisting of at least one dish.

[0032] In this embodiment, when selecting a recipe, the recipe recommendation system not only considers the recipe requirement information obtained by the user's real-time recipe recommendation request, but also considers the user's historical recommendation data, so that the selected target recipe is more in line with the user's usage habits and preferences.

[0033] In one embodiment, the label includes at least one of the following: number of dishes, cooking method, cooking time, cooking cost, ingredient preference, taste preference, and nutritional value.

[0034] In one embodiment, it also includes: obtaining environmental information corresponding to the recipe recommendation request, the environmental information including at least one of the following: holiday information, social hot spots, weather information, and other user search hot words; the step of inputting the recipe requirement information and the historical recommendation data into a pre-trained recipe label model includes: inputting the environmental information, the recipe requirement information, and the historical recommendation data into the recipe label model, so that the recipe label model generates a target recipe label set; wherein the labels include: popular ingredients, holiday designated dishes, and season information.

[0035] In this embodiment, the system uses large models and NLP technology to accurately identify user needs and achieve personalized recipe recommendations. It is smarter and more efficient than traditional search methods, has high real-time and dynamic capabilities, and combines multiple information for dynamic updates to ensure that recommended recipes are always synchronized with user needs and the environment.

[0036] In one embodiment, each recipe recorded in the recipe database corresponds to a recipe associated tag set, and the recipe associated information is generated by a set of dish information of at least one dish contained in the corresponding recipe; obtaining a target recipe matching the target recipe tag set from the recipe database includes: calculating the degree of association between the recipe associated tag sets of the multiple recipes and the target recipe tag set, and determining the recipe with the highest degree of association as the target recipe.

[0037] For example, if the user uses the recipe recommendation system during the Qingming Festival, and the customer's recipe requirement information is voice input "I want to eat spicy food, preferably Sichuan cuisine", and the customer has recently selected recipes with the dish "Maoxuewang". Based on the above historical recommendation data and recipe requirement information, a target recipe tag set with "Qingming, spicy, Sichuan cuisine, Maoxuewang" can be generated. The recipe-related tag sets of each recipe in the recipe database are traversed, and the degree of association between each recipe-related tag set and the target recipe tag set is calculated to determine the target recipe with the highest degree of association. The target recipe is provided to the user.

[0038] In one embodiment, recommending the target recipe to the target user includes: providing the target recipe to the target user in the form of voice broadcast; the historical recommendation data includes a historical playback speed and a historical playback volume, and also includes: determining a target playback speed and a target playback volume corresponding to the target recipe according to the historical playback speed and the historical playback volume, and playing the target recipe according to the target playback speed and the target playback volume.

[0039] In this embodiment, with the help of cutting-edge big models and NLP technology, the system successfully realizes the synchronous audio-visual interaction between mobile devices and audio devices, improving the user experience. With the strong support of the cooking system, it can accurately and intelligently recommend recipes that suit personal tastes, allowing users to easily master the cooking skills of various delicacies. The recipe correction system is dynamically adjusted according to the user's real-time feedback to ensure that every step of each dish can accurately meet the user's expectations, making the cooking process more refined and personalized. This system not only optimizes the cooking process, but also greatly improves the user's sense of participation and satisfaction in cooking activities through intelligent interaction.

[0040] This application also proposes a training method for a recipe label model.

[0041] See also Figure 3 , Figure 3 This application provides a training method for a recipe label model, which is applied to a recipe recommendation system, such as Figure 3 As shown, the method comprises at least the following steps: Step 302: Acquire a training sample set, where each training sample in the training sample set includes: recipe requirement information determined according to recommendation audio data sent by a user, historical recommendation data of the user, and actual label sets corresponding to the recipe requirement information and the historical recommendation data; Step 304: input the training sample set into the model to be trained, so that the model to be trained generates a prediction label set corresponding to each training sample; Step 306: Compare the actual label set and the predicted label set of each training sample respectively, and optimize the model to be trained according to the comparison result until the fit between the actual label set and the predicted label set of each training sample reaches a preset threshold.

[0042] It can be understood that the technical concept of the training method of a recipe label model provided in this embodiment is similar to the technical concept of the aforementioned recipe recommendation method, and this embodiment will not be repeated here.

[0043] See also Figure 4 , Figure 4 A block diagram of a training device for a recipe correction model provided in an embodiment of this specification. The device includes: A first acquisition unit 402 is used to respond to a recipe recommendation request from a target user, acquire recommendation audio data sent by the target user, and extract feature information from the audio data; A determination unit 404 is used to determine the user identification and recipe requirement information of the target user in the recipe recommendation system according to the characteristic information, and obtain the historical recommendation data corresponding to the target user stored in the recipe recommendation system according to the user identification; A first input unit 406, configured to input the recipe requirement information and the historical recommendation data into a pre-trained recipe label model, so that the recipe label model generates a target recipe label set, wherein the target recipe label set includes a plurality of labels for recipe generation; The recommendation unit 408 is used to obtain a target recipe matching the target recipe tag set from a recipe database and recommend the target recipe to the target user; wherein the recipe database records a plurality of recipes consisting of at least one dish.

[0044] Optionally, the label includes at least one of the following: quantity of dishes, cooking method, cooking time, cooking cost, ingredient preference, taste preference, and nutritional value.

[0045] Optional, The invention also includes: a second acquisition unit 410, which is used to acquire environmental information corresponding to the recipe recommendation request, wherein the environmental information includes at least one of the following: festival information, social hot spots, weather information, and other user search hot words; The input unit 406 is specifically used to: input the environmental information, the recipe requirement information and the historical recommendation data into the recipe label model, so that the recipe label model generates a target recipe label set; wherein the labels include: popular ingredients, holiday-specified dishes, and seasonal information.

[0046] Optionally, each recipe recorded in the recipe database corresponds to a recipe-related tag set, and the recipe-related information is generated by a set of dish information of at least one dish contained in the corresponding recipe; the recommendation unit 408 is specifically used to: The association degree between the recipe-associated tag sets of the plurality of recipes and the target recipe tag set is calculated, and the recipe with the highest association degree is determined as the target recipe.

[0047] Optional, The recommendation unit 408 is specifically used to: provide the target recipe to the target user in the form of voice broadcast; The historical recommendation data includes a historical playback speed and a historical playback volume, and also includes: a playback unit 412, which is used to determine a target playback speed and a target playback volume corresponding to the target recipe according to the historical playback speed and the historical playback volume, and play the target recipe according to the target playback speed and the target playback volume.

[0048] Optionally, also include: The third acquisition unit 414 is used to acquire a training sample set, each training sample in the training sample set includes: recipe requirement information determined according to the recommendation audio data sent by the user, the historical recommendation data of the user, and an actual label set corresponding to the recipe requirement information and the historical recommendation data; The second input unit 416 is used to input the training sample set into the model to be trained, so that the model to be trained generates a prediction label set corresponding to each training sample; The optimization unit 418 is used to compare the actual label set and the predicted label set of each training sample respectively, and optimize the model to be trained according to the comparison result until the fit between the actual label set and the predicted label set of each training sample reaches a preset threshold.

[0049] Please refer to the attached Figure 5 , Figure 5 A schematic diagram of the structure of an electronic device is provided as another embodiment of the present specification.

[0050] like Figure 5 As shown, the electronic device 500 may include: at least one processor 501 , at least one network interface 504 , a user interface 503 , a memory 505 , and at least one communication bus 502 .

[0051] The communication bus 502 may be used to realize the connection and communication among the above-mentioned components.

[0052] The user interface 503 may include buttons, and the optional user interface may also include a standard wired interface or a wireless interface.

[0053] The network interface 504 may include, but is not limited to, a Bluetooth module, an NFC module, a Wi-Fi module, etc.

[0054] Among them, the processor 501 may include one or more processing cores. The processor 501 uses various interfaces and lines to connect various parts within the entire electronic device 500, and executes various functions and processes data of the electronic device 500 by running or executing instructions, programs, code sets or instruction sets stored in the memory 505, and calling data stored in the memory 505. Optionally, the processor 501 can be implemented in at least one hardware form of DSP, FPGA, and PLA. The processor 501 can integrate one or a combination of CPU, GPU, modem, etc. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 501, and it can be implemented separately through a chip.

[0055] Among them, the memory 505 may include RAM or ROM. Optionally, the memory 505 includes a non-transitory computer-readable medium. The memory 505 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 505 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 505 may also be at least one storage device located away from the aforementioned processor 501. The memory 505 as a computer storage medium may include an operating system, a network communication module, a user interface module and an application. The processor 501 may be used to call the application stored in the memory 505 and execute the method in one or more of the above-mentioned embodiments.

[0056] Another embodiment of the present specification provides a computer-readable storage medium, which stores instructions, and when the instructions are executed on a computer or a processor, the computer or the processor executes one or more steps in the above embodiments. If the components of the above electronic device are implemented in the form of software functional units and predicted or used as independent downstream tasks, they can be stored in the computer-readable storage medium.

[0057] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of this specification is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital versatile disc (DVD)), or a semiconductor medium (eg, a solid state drive (SSD)).

[0058] The above description is only the preferred embodiment disclosed in this application and the description of the technical principle used. Those skilled in the art should understand that the scope of protection involved in this disclosure is not limited to the technical solution formed by a specific combination of the above technical features, but also should cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in this disclosure (but not limited to) to form a technical solution.

[0059] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

Claims

1. A recipe recommendation method, characterized in that: Applied to recipe recommendation system, including: In response to a recipe recommendation request from a target user, obtaining recommendation audio data sent by the target user, and extracting feature information from the audio data; Determining a user identifier and recipe requirement information of the target user in the recipe recommendation system according to the characteristic information, and acquiring historical recommendation data corresponding to the target user stored in the recipe recommendation system according to the user identifier; Inputting the recipe requirement information and the historical recommendation data into a pre-trained recipe label model, so that the recipe label model generates a target recipe label set, wherein the target recipe label set includes a plurality of labels for recipe generation; A target recipe matching the target recipe tag set is obtained from a recipe database, and the target recipe is recommended to the target user; wherein the recipe database records a plurality of recipes consisting of at least one dish.

2. A recipe recommendation method according to claim 1, characterized in that: The label includes at least one of the following: number of dishes, cooking method, cooking time, cooking cost, ingredient preference, taste preference, and nutritional value.

3. A recipe recommendation method according to claim 1, characterized in that: The invention also includes: obtaining environmental information corresponding to the recipe recommendation request, wherein the environmental information includes at least one of the following: festival information, social hot spots, weather information, and other user search hot words; The step of inputting the recipe requirement information and the historical recommendation data into a pre-trained recipe label model comprises: inputting the environmental information, the recipe requirement information and the historical recommendation data into the recipe label model, so that the recipe label model generates a target recipe label set; wherein the labels include: popular ingredients, holiday-designated dishes, and season information.

4. A recipe recommendation method according to claim 1, characterized in that: Each recipe recorded in the recipe database corresponds to a recipe-related tag set, and the recipe-related information is generated by a set of dish information of at least one dish contained in the corresponding recipe; The step of acquiring a target recipe matching the target recipe tag set from a recipe database includes: The association degree between the recipe-associated tag sets of the plurality of recipes and the target recipe tag set is calculated, and the recipe with the highest association degree is determined as the target recipe.

5. A recipe recommendation method according to claim 1, characterized in that: The recommending the target recipe to the target user includes: providing the target recipe to the target user in the form of voice broadcast; The historical recommendation data includes a historical playback speed and a historical playback volume, and further includes: determining a target playback speed and a target playback volume corresponding to the target recipe according to the historical playback speed and the historical playback volume, and playing the target recipe according to the target playback speed and the target playback volume.

6. A recipe recommendation method according to claim 1, characterized in that: The training method of the recipe label model includes: Acquire a training sample set, each training sample in the training sample set comprising: recipe requirement information determined according to recommendation audio data sent by a user, historical recommendation data of the user, and an actual label set corresponding to the recipe requirement information and the historical recommendation data; Inputting the training sample set into the model to be trained so that the model to be trained generates a prediction label set corresponding to each training sample; The actual label set and the predicted label set of each training sample are compared respectively, and the to-be-trained model is optimized according to the comparison result until the fit between the actual label set and the predicted label set of each training sample reaches a preset threshold.

7. A recipe recommendation device, characterized in that: include: A first acquisition unit, configured to respond to a recipe recommendation request from a target user, acquire recommendation audio data sent by the target user, and extract feature information from the audio data; a determining unit, configured to determine a user identifier and recipe requirement information of the target user in the recipe recommendation system according to the characteristic information, and to obtain historical recommendation data corresponding to the target user stored in the recipe recommendation system according to the user identifier; A first input unit, configured to input the recipe requirement information and the historical recommendation data into a pre-trained recipe label model, so that the recipe label model generates a target recipe label set, wherein the target recipe label set includes a plurality of labels for recipe generation; A recommendation unit is used to obtain a target recipe matching the target recipe tag set from a recipe database and recommend the target recipe to the target user; wherein the recipe database records a plurality of recipes consisting of at least one dish.

8. A recipe recommendation device as claimed in claim 7, characterized in that: Also includes: a third acquisition unit, configured to acquire a training sample set, each training sample in the training sample set comprising: recipe requirement information determined according to recommendation audio data sent by a user, historical recommendation data of the user, and an actual label set corresponding to the recipe requirement information and the historical recommendation data; A second input unit, used to input the training sample set into the model to be trained, so that the model to be trained generates a prediction label set corresponding to each training sample; The optimization unit is used to compare the actual label set and the predicted label set of each training sample respectively, and optimize the model to be trained according to the comparison result until the fit between the actual label set and the predicted label set of each training sample reaches a preset threshold.

9. An electronic device, characterized in that: including a processor and a memory; The processor is connected to the memory; The memory is used to store executable program code; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the method according to any one of claims 1 to 6.

10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Menu recommendation method and device, storage medium and equipment

    CN113488142A

  • Menu recommendation method and device and intelligent cooking robot

    CN113672806A

  • Recipe recommendation method and device for refrigerator, refrigerator and storage medium

    CN117076942A