Information push method and device, electronic device and storage medium
By matching ingredient images with three-dimensional models and sorting user information, the problem of low information acquisition efficiency in recipe push is solved, efficient and intuitive recipe information push is achieved, and users' browsing time and energy consumption are reduced.
Patent Information
- Application Number
- CN202011408345.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-04
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2040-12-04
AI Technical Summary
The existing recipe push method has the problems of low efficiency in obtaining effective information and high consumption of browsing time and energy.
By using the ingredient image information to match the 3D ingredient model in the 3D ingredient model library, the relevant recipes of the target ingredients are obtained, matched and sorted according to the user information, and the target associated information is pushed including the ingredient model and the recipe.
It improves the efficiency of information acquisition, shortens the user's browsing time, reduces the user's energy consumption, and achieves a more intuitive and dynamic presentation of recipe information.
Smart Images

Figure CN112464013B
Abstract
Description
Technical Field
[0001] The present application relates to the field of computers, and in particular to a method and device for pushing information, an electronic device, and a storage medium. Background Art
[0002] Currently, users can use smart apps (Applications) to obtain recipe information and then cook according to the recipe information. The smart recipe function in smart apps is mainly presented to users in the form of text, pictures or videos. Users mainly obtain effective recipe information by reading, which easily leads to low efficiency in obtaining effective information and consumes a lot of browsing time and energy.
[0003] Therefore, the recipe push method in the related art has the problems of low efficiency in obtaining effective information and large consumption of browsing time and energy. Summary of the invention
[0004] The present application provides an information push method and device, an electronic device and a storage medium, so as to at least solve the problems of low efficiency in obtaining effective information and large consumption of browsing time and energy in the recipe push method in the related art.
[0005] According to one aspect of an embodiment of the present application, a method for pushing information is provided, comprising: using ingredient image information to match a three-dimensional ingredient model in a three-dimensional ingredient model library, wherein the ingredient image information is image information obtained by scanning a target ingredient, and each three-dimensional ingredient model corresponds to an ingredient; upon obtaining a target ingredient model that matches the ingredient image information, obtaining a plurality of target recipes corresponding to the target ingredient from a recipe library according to target object information corresponding to the target object; and pushing target association information of the target ingredient to a target client for display, wherein the target association information includes the target ingredient model and the plurality of target recipes.
[0006] Optionally, acquiring multiple target recipes corresponding to the target ingredients from the recipe library according to target object information corresponding to the target object includes: determining the target object information corresponding to the target object, wherein the target object information is used to represent at least one of the following of the target object: dish preference, queried dishes, and physiological characteristics; acquiring the multiple target recipes corresponding to the target ingredients from the recipe library according to the target object information, wherein the multiple target recipes are sorted according to the degree of matching of the target object information.
[0007] Optionally, acquiring multiple target recipes corresponding to the target ingredients from the recipe library according to the target object information corresponding to the target object includes: when there are multiple target objects and multiple target ingredients, determining the target object information corresponding to the multiple target objects, wherein the target object information is used to represent at least one of the following of the multiple target objects: dish preference, queried dishes, number of diners, and physiological characteristics; acquiring the multiple target recipes corresponding to the multiple target ingredients from the recipe library according to the target object information, wherein each of the multiple target recipes includes a combination of multiple recipes and each of the target ingredients is used by at least one recipe of the multiple recipes.
[0008] Optionally, before pushing the target association information of the target ingredient to the target client for display, the method also includes at least one of the following: obtaining recipe cooking information corresponding to each target recipe among the multiple target recipes, wherein the recipe cooking information is used to indicate the cooking method of each target recipe, and the target association information includes the recipe cooking information; obtaining ingredient reference information corresponding to the target ingredient, wherein the ingredient reference information is used to indicate at least one of the following: the freshness of the target ingredient, the nutritional parameters of the target ingredient, and the target association information includes the ingredient reference information.
[0009] Optionally, before using the food image information to match the three-dimensional food model in the three-dimensional food model library, the method also includes: performing an augmented reality (AR) scan of the target food by the target client to obtain the food image information; and sending the food image information to a target server, wherein the target server is a server that performs the three-dimensional food model matching.
[0010] Optionally, after pushing the target association information of the target ingredient to the target client for display, the method further includes: performing real-time image acquisition of the target ingredient by an image acquisition device of the target client, wherein a real-time image of the target ingredient is displayed on the target client; displaying the target ingredient model on the real-time image of the target ingredient, wherein the position and size of the target ingredient model are adjusted according to the position and size of the real-time image of the target ingredient; and displaying the multiple target recipes on the target client, wherein the multiple target recipes do not overlap with the target ingredient model.
[0011] Optionally, after displaying the target ingredient model on the real-time image of the target ingredient, the method further includes: detecting an adjustment operation performed on the target ingredient model, wherein the adjustment operation is used to adjust the display angle of the target ingredient model; adjusting the display angle of the target ingredient model in response to the adjustment operation; and displaying the target ingredient model after the angle adjustment on the target client.
[0012] According to another aspect of an embodiment of the present application, a device for pushing information is also provided, including: a matching unit, used to match ingredient image information with three-dimensional ingredient models in a three-dimensional ingredient model library, wherein the ingredient image information is image information obtained by scanning a target ingredient, and each three-dimensional ingredient model corresponds to an ingredient; a first acquisition unit, used to, upon obtaining a target ingredient model matching the ingredient image information, obtain multiple target recipes corresponding to the target ingredient from a recipe library in accordance with target object information corresponding to the target object; a pushing unit, used to push target association information of the target ingredient to a target client for display, wherein the target association information includes the target ingredient model and the multiple target recipes.
[0013] Optionally, the first acquisition unit includes: a first determination module, used to determine the target object information corresponding to the target object, wherein the target object information is used to represent at least one of the following of the target object: dish preference, queried dishes, and physiological characteristics; a first acquisition module, used to acquire the multiple target recipes corresponding to the target ingredients from the recipe library according to the target object information.
[0014] Optionally, the first acquisition unit includes: a second determination module, used to determine the target object information corresponding to the multiple target objects when there are multiple target objects and multiple target ingredients, wherein the target object information is used to represent at least one of the following of the multiple target objects: dish preference, queried dishes, number of diners, and physiological characteristics; a second acquisition module, used to acquire the multiple target recipes corresponding to the multiple target ingredients from the recipe library according to the target object information, wherein each of the multiple target recipes includes a combination of multiple recipes, and each of the target ingredients is used by at least one recipe of the multiple recipes.
[0015] Optionally, the device also includes at least one of the following: a second acquisition unit, used to acquire recipe cooking information corresponding to each target recipe of the multiple target recipes before pushing the target association information of the target ingredient to the target client for display, wherein the recipe cooking information is used to indicate the cooking method of each target recipe, and the target association information includes the recipe cooking information; a third acquisition unit, used to acquire ingredient reference information corresponding to the target ingredient, wherein the ingredient reference information is used to indicate at least one of the following: the freshness of the target ingredient, the nutritional parameters of the target ingredient, and the target association information includes the ingredient reference information.
[0016] Optionally, the device also includes: a scanning unit, used to perform an augmented reality (AR) scan of the target food through the target client to obtain the food image information before matching the food image information with the three-dimensional food model in the three-dimensional food model library; and a sending unit, used to send the food image information to a target server, wherein the target server is a server that performs the three-dimensional food model matching.
[0017] Optionally, the device also includes: a collection unit, which is used to collect real-time images of the target ingredients through the image collection device of the target client after pushing the target association information of the target ingredients to the target client for display, wherein a real-time image of the target ingredients is displayed on the target client; a first display unit, which is used to display the target ingredient model on the real-time image of the target ingredients, wherein the position and size of the target ingredient model are adjusted according to the position and size of the real-time image of the target ingredients; and a second display unit, which is used to display the multiple target recipes on the target client, wherein the multiple target recipes do not overlap with the target ingredient model.
[0018] Optionally, the device also includes: a detection unit, used to detect an adjustment operation performed on the target ingredient model after the target ingredient model is displayed on the real-time image of the target ingredient, wherein the adjustment operation is used to adjust the display angle of the target ingredient model; an adjustment unit, used to adjust the display angle of the target ingredient model in response to the adjustment operation; and a third display unit, used to display the target ingredient model after the angle is adjusted on the target client.
[0019] According to another aspect of the embodiments of the present application, there is also provided an electronic device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; wherein the memory is used to store a computer program; and the processor is used to execute the method steps in any of the above embodiments by running the computer program stored in the memory.
[0020] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the method steps in any of the above embodiments when executed.
[0021] In an embodiment of the present application, a method of using the user information of the user to match the recipe and push the ingredient model and the recipe to the user is adopted, and the ingredient image information is used to match the three-dimensional ingredient model in the three-dimensional ingredient model library, wherein the ingredient image information is image information obtained by scanning the target ingredient, and each three-dimensional ingredient model corresponds to an ingredient; when the target ingredient model matching the ingredient image information is obtained, a plurality of target recipes corresponding to the target ingredient are obtained from the recipe library according to the target object information corresponding to the target object; the target association information of the target ingredient is pushed to the target client for display, wherein the target association information includes the target ingredient model and the plurality of target recipes, and since the ingredient is identified and the corresponding three-dimensional ingredient model is obtained, the effective information of the ingredient identification can be visually presented, and the recipe is matched using the user information of the user, so that the matching degree between the pushed recipe and the user can be improved, thereby achieving the technical effect of improving the efficiency of obtaining effective information, shortening the browsing time of the user, and reducing the energy consumption of the user, thereby solving the problems of low efficiency of obtaining effective information and large browsing time and energy consumption in the recipe push method in the related art. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0023] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0024] Figure 1 is a schematic diagram of a hardware environment of an optional information push method according to an embodiment of the present invention;
[0025] Figure 2It is a flowchart of an optional information push method according to an embodiment of the present application;
[0026] Figure 3 is a flowchart of another optional information push method according to an embodiment of the present application;
[0027] Figure 4 is a structural block diagram of an optional information push device according to an embodiment of the present application;
[0028] Figure 5 It is a structural block diagram of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0029] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0031] According to one aspect of the embodiments of the present application, a method for pushing information is provided. Optionally, in this embodiment, the method for pushing information can be applied to Figure 1 In the hardware environment composed of the terminal 102 and the server 104 shown in FIG. Figure 1 As shown, the server 104 is connected to the terminal 102 via a network, and can be used to provide services (such as game services, application services, etc.) for the terminal or a client installed on the terminal. A database can be set up on the server or independently of the server to provide data storage services for the server 104.
[0032] The above network includes but is not limited to at least one of the following: wired network, wireless network, the above wired network may include but is not limited to at least one of the following: wide area network, metropolitan area network or local area network, the above wireless network may include but is not limited to at least one of the following: Bluetooth, WIFI and other networks that implement wireless communication. The above terminal 102 may be a terminal for computing data, such as a mobile terminal (such as a mobile phone, tablet computer), a laptop computer, a PC and other terminals. The above server may include but is not limited to any hardware device that can perform computing.
[0033] The information push method of the embodiment of the present application can be executed by the server 104, or by the terminal 102, or by both the server 104 and the terminal 102. The information push method of the embodiment of the present application can also be executed by the client installed on the terminal 102.
[0034] Taking the method of pushing information in this embodiment executed by the server 104 as an example, Figure 2 is a flow chart of an optional information push method according to an embodiment of the present application, such as Figure 2 As shown, the process of the method may include the following steps:
[0035] Step S202: Matching the food image information with the three-dimensional food models in the three-dimensional food model library, wherein the food image information is image information obtained by scanning the target food, and each three-dimensional food model corresponds to one food.
[0036] The information push method in this embodiment can be applied to the scenario of pushing ingredient-related information to users. The ingredient-related information may include but is not limited to at least one of the following: a three-dimensional model of the ingredient (three-dimensional ingredient model), ingredient recipe information, information used for cooking methods of ingredient recipes, ingredient nutritional parameters, etc.
[0037] The user's terminal device may run a client of the target application, and the client may communicate with a server, which may be a server providing smart recipes. The user may log in to the client running on his terminal device using an account and password, a dynamic password, or an associated application login. Optionally, the user may also directly use the functions provided by the client without logging in.
[0038] The target user can use the target account to log in to the target client of the target application running on the target terminal device. The target client can call the image acquisition device of the target terminal device to scan and obtain the image information of the food. For example, the smart App (i.e., the target application) can call the camera on the smart terminal to shoot or scan the food and obtain the image information of the food. Optionally, the target client can also directly read the food image information stored on the target terminal device.
[0039] The target client can send the food image information to the cloud server through the network so as to perform big data processing and analysis in the background cloud. A three-dimensional food model library can be configured on the cloud server or in a database connected to the cloud server. The three-dimensional food model library can contain multiple three-dimensional food models, each of which can correspond to a food.
[0040] After receiving the food image information sent by the target client, the cloud server can use the food image information to match the three-dimensional food models in the three-dimensional food model library to determine whether there is a three-dimensional food model that matches the food image information (the food represented).
[0041] Step S204, when a target ingredient model matching the ingredient image information is obtained, a plurality of target recipes corresponding to the target ingredient are obtained from a recipe library according to the target object information corresponding to the target object.
[0042] A recipe library may be configured on the cloud server or in a database connected to the cloud server. Each recipe in the recipe library may correspond to one or more ingredients, as well as corresponding label information, such as the cuisine, suitable groups of people, suitable scenes, etc.
[0043] If a three-dimensional food model matching the food image information is obtained, that is, a target food model, the cloud server can obtain multiple target recipes corresponding to the target food from the recipe library according to the target object information corresponding to the target object. The target object information is used to characterize the target object, which can be an object using the target client, for example, an object corresponding to the target account (target user), or an object corresponding to the terminal identifier of the target terminal device, or other objects, for example, an associated object of the target user.
[0044] There are many ways to obtain target object information, such as obtaining object data information and search records input through the target application with the authorization of the target user, or obtaining object association information from the target application's associated application. For another example, when a user searches for a recipe, the user obtains object information (which may be the user information of the user or other users) by inputting or selecting.
[0045] As an example, the user can input or select user information on the smart app, use the smart app to input or select user information of other related users (for example, family members), use the smart app to input dish names, ingredient names, etc. to search for recipes, and can also input or select the number of diners for this cooking, user information of different diners, etc. The smart app can obtain the operation information performed by the user on the smart app, thereby obtaining the above-mentioned user information, search history, etc., and send the acquisition to the cloud server for storage.
[0046] The cloud server can obtain multiple target recipes corresponding to the target ingredients from the recipe library according to the target object information corresponding to the target object, and the ingredients used to cook each of the multiple target recipes include the target ingredients. For example, the cloud server can use the target object information and the target ingredients to match the labels of each recipe in the recipe library to obtain multiple target recipes, and the label of each recipe in the multiple target recipes matches at least one object information in the target object information.
[0047] Step S206: Push target association information of the target ingredient to the target client for display, wherein the target association information includes a target ingredient model and a plurality of target recipes.
[0048] After obtaining multiple target recipes, the cloud server can push the target association information of the target ingredients to the target client. The target association information can include the target ingredient model, so that the three-dimensional model of the target ingredient can be displayed through the target client, allowing users to interact with the ingredient model and the real scene, allowing users to better and more intuitively understand the ingredients on the smart App side.
[0049] The target association information may also include the above-mentioned multiple target recipes. Different recipes can be represented by sequence identifiers to indicate the sorting method of multiple target recipes, that is, the display order of multiple target recipes, so that possible effective information can be displayed to the user in a more accessible manner, thereby improving the efficiency of obtaining effective information and reducing the user's browsing time and energy consumption.
[0050] After receiving the target association information, the target client can display different target association information simultaneously or in a certain order. For example, the target ingredient model can be displayed first, and then multiple target recipes can be displayed (at this time, the target ingredient model and multiple target recipes can be displayed simultaneously, or only multiple target recipes can be displayed.
[0051] Optionally, the target client may also display a target ingredient model and multiple target recipes at the same time. The target ingredient model may be displayed in a first area of the target client, and multiple target recipes may be displayed in a second area of the target client in sequence. Alternatively, a recipe may be displayed on the target ingredient model, and the displayed recipe may be switched by operating the target ingredient model. Other display methods are also possible, which are not limited to this in the present embodiment.
[0052] Through the above steps S202 to S206, the ingredient image information is used to match the three-dimensional ingredient models in the three-dimensional ingredient model library, wherein the ingredient image information is image information obtained by scanning the target ingredient, and each three-dimensional ingredient model corresponds to an ingredient; when a target ingredient model matching the ingredient image information is obtained, multiple target recipes corresponding to the target ingredient are obtained from the recipe library according to the target object information corresponding to the target object; the target association information of the target ingredient is pushed to the target client for display, wherein the target association information includes the target ingredient model and multiple target recipes, thereby solving the problems of low efficiency in obtaining effective information, large browsing time and energy consumption in the recipe push method in the related art, improving the efficiency in obtaining effective information, shortening the user's browsing time, and reducing the user's energy consumption.
[0053] As an optional embodiment, according to the target object information corresponding to the target object, acquiring multiple target recipes corresponding to the target ingredients from the recipe library includes:
[0054] S11, determining target object information corresponding to the target object, wherein the target object information is used to represent at least one of the following of the target object: dish preference, queried dishes, and physiological characteristics;
[0055] S12, acquiring multiple target recipes corresponding to the target ingredients from a recipe library according to the target object information, wherein the multiple target recipes are sorted according to the matching degree of the target object information.
[0056] The cloud server can obtain the target object information of the target object, and the target object information can be used to characterize at least one of the following of the target object: physiological characteristics (e.g., gender, height, age, weight, etc.), usage habits, life preferences, etc. of the target object. For example, if the target object has one, the target object information can be used to characterize at least one of the target object's food preferences, queried dishes, and physiological characteristics.
[0057] According to the target object information, the cloud server can obtain the above-mentioned multiple target recipes corresponding to the target ingredients, and the multiple target recipes can be sorted according to the degree of matching with the target object information. The degree of matching between each recipe in the multiple target recipes and the target object can be represented by the number of tags in all tags of each recipe that match the target object information.
[0058] Optionally, different object information may have different importance levels. For example, the user's dish preferences and queried dishes may have higher importance levels, and physiological characteristics may have lower importance levels. For another example, the number of queries for queried dishes may be different, and the corresponding importance levels may also be different. The matching degree between the recipe and the target object information may be a weighted sum of the matching tags (object information).
[0059] Through this embodiment, different object information is matched with recipes, and the recipes are sorted according to the matching degree between the recipes and the object information, which can improve the efficiency of obtaining effective information, shorten the user's browsing time, and thus reduce the user's energy consumption.
[0060] As an optional embodiment, according to the target object information corresponding to the target object, acquiring multiple target recipes corresponding to the target ingredients from the recipe library includes:
[0061] S21, when there are multiple target objects and multiple target ingredients, determine target object information corresponding to the multiple target objects, wherein the target object information is used to represent at least one of the following of the multiple target objects: dish preference, queried dishes, number of diners, and physiological characteristics;
[0062] S22, acquiring multiple target recipes corresponding to the multiple target ingredients from a recipe library according to the target object information, wherein each of the multiple target recipes includes a combination of multiple recipes, and each target ingredient is used by at least one recipe of the multiple recipes.
[0063] When there are multiple people dining, the dining habit information of each person can be obtained based on the dining habits of the dining group, and combined with each person's dining habit information, a recommended menu that best integrates the dining preferences of all user groups can be matched.
[0064] If there are multiple diners (target objects), the cloud server can determine the target object information of the multiple target objects. In this case, the target object information not only includes the object information of each target object (e.g., at least one of the dish preference, the queried dishes, and the physiological characteristics), but also the group information of the multiple target objects as a group (e.g., the number of diners, etc.). Optionally, the cloud server can obtain the above-mentioned food image information from the target client and also obtain the number of dishes to be cooked.
[0065] In order to meet the dining needs of multiple people, multiple dishes need to be cooked. If there is only one target ingredient, the target ingredient can be used as the main ingredient to determine one or more recipes that meet the dining habits of multiple target objects. For example, the dish preferences and physiological characteristics of multiple target objects can be integrated first, and recipes that meet the dish preferences and physiological characteristics of multiple target objects can be matched from the recipe library, and then the recipes can be sorted according to the number of times the matched recipes have been queried.
[0066] After obtaining one or more recipes that meet the dining habits of multiple target objects, the cloud server can obtain recipes that match each recipe in the above one or more recipes from the recipe library according to the target object information, thereby obtaining multiple recipe combinations, that is, multiple target recipes. Recipes and recipes can be matched based on the nutrition-related parameters of the ingredients used in the recipes, or they can be matched based on pre-configured recipe combinations. If the number of dishes to be cooked is specified, the number of recipes included in the target recipe is the same as the number of dishes to be cooked. If the number of dishes to be cooked is not specified, the number of recipes included in the target recipe matches the number of diners (for example, the same or equivalent).
[0067] If there are multiple target ingredients, the multiple ingredients can be scanned sequentially or simultaneously, and each scanned ingredient image can contain at least one ingredient. The cloud server can match recipes according to a single ingredient or a combination of at least two ingredients to obtain the above one or more recipes, and obtain multiple recipe combinations in a similar manner.
[0068] In addition, for a target recipe, in order to ensure that all ingredients can be used, the cloud server can control each target ingredient to be used by at least one recipe among the multiple recipes included in the target recipe. In order to ensure nutritional balance, the target recipe may also include recipes that do not use any target ingredients. The specific recipe configuration scheme can be set as needed, and this is not limited in this embodiment.
[0069] Through this embodiment, according to the eating habits of the dining group and combined with the dining information of different users (for example, food preferences, physiological characteristics, etc.), a recommended menu that integrates the dining preferences of all user groups is matched, which can improve the matching degree between the recommended menu and the user and improve the user experience.
[0070] As an optional embodiment, before pushing the target association information of the target food to the target client for display, the method further includes at least one of the following:
[0071] S31, obtaining recipe cooking information corresponding to each target recipe among the multiple target recipes, wherein the recipe cooking information is used to indicate a cooking method for each target recipe, and the target-related information includes the recipe cooking information;
[0072] S32, obtaining ingredient reference information corresponding to the target ingredient, wherein the ingredient reference information is used to represent at least one of the following: freshness of the target ingredient, nutritional parameters of the target ingredient, and the target association information includes the ingredient reference information.
[0073] In addition to the target ingredient model and multiple target recipes, the target association information may also include recipe cooking information of each target recipe and ingredient reference information of the target ingredient.
[0074] The cloud server can obtain cooking information of each target recipe, and the recipe cooking information is used to indicate the cooking method of each target recipe. The cooking method of each target recipe can be a cooking image or a cooking video divided according to cooking steps, so that the user can jump between different cooking steps by clicking or other triggering methods, so that the user can obtain the cooking image or cooking video corresponding to the current cooking process.
[0075] The cloud server can analyze the food image information to determine the food reference information of the target food. The food reference information may include but is not limited to being used to represent at least one of the following: the freshness of the target food and the nutritional parameters of the target food.
[0076] For example, the cloud server can search for the nutritional parameters of the target ingredients through a search engine, or can match the nutritional parameter information of the target ingredients from a database that stores the nutritional parameters of different ingredients.
[0077] For another example, the cloud server can extract image features of the food image information and determine the freshness of the target food based on the image features. The above process can be implemented using a convolutional neural network model, for example, by extracting a feature map of the food image information through a convolutional layer, determining the probability of the target food being of various freshnesses through a fully connected layer, and finally determining the freshness of the target food. In addition, the freshness of the target food can also be determined in other ways (for example, by matching with reference image information), and the method for determining the freshness of the target food is not limited in this embodiment.
[0078] Through this embodiment, by acquiring and pushing reference information of the cooking method and / or ingredients of the recipe to the client, the comprehensiveness of information acquisition can be improved and the user experience can be improved.
[0079] As an optional embodiment, before using the food image information to match the three-dimensional food model in the three-dimensional food model library, the method further includes:
[0080] S41, performing augmented reality (AR) scanning of target food through a target client to obtain food image information;
[0081] S42, sending the food image information to a target server, wherein the target server is a server for matching three-dimensional food models.
[0082] The food image information can be obtained by performing AR (Augmented Reality) scanning and identification of the target food. The user can click on a specific control on the target client, such as AR scanning, to start the AR scanning function of the target client, and obtain the food image information by calling an image acquisition device (e.g., a camera) to perform AR scanning. Optionally, if there are multiple target ingredients, multiple target ingredients can be scanned together, or they can be scanned separately to obtain multiple food image information.
[0083] For the food image information obtained by AR scanning, the target client can send the food image information to the target server (for example, the above-mentioned cloud server) through the network. The target server is a server that controls the matching of the three-dimensional food model. Optionally, if there are multiple food image information, the multiple food image information can be sent to the target server together, or in the order of scanning or the order specified by the user.
[0084] Through this embodiment, by performing AR scanning and recognition on the food, the ability of the food image information to represent the food can be improved, and the accuracy of three-dimensional model matching can be improved.
[0085] As an optional embodiment, after the target association information of the target food is pushed to the target client for display, the method further includes:
[0086] S51, real-time image acquisition of target food is performed by an image acquisition device of a target client, wherein a real-time image of the target food is displayed on the target client;
[0087] S52, displaying a target ingredient model on the real-time image of the target ingredient, wherein the position and size of the target ingredient model are adjusted according to the position and size of the real-time image of the target ingredient;
[0088] S53: Displaying a plurality of target recipes on the target client, wherein the plurality of target recipes do not overlap with the target ingredient model.
[0089] In order to improve the efficiency of obtaining effective information, after obtaining the target food model, the target client can integrate the 3D model with the real scene.
[0090] The image acquisition device of the target client can perform real-time image acquisition of the target food to display a real-time image of the target food on the target client. While displaying the real-time image of the target food, a target food model can be superimposed and displayed on the real-time image of the target food. The position and size of the displayed target food model can be adjusted according to the position and size of the real-time image of the target food.
[0091] As an optional implementation, the target client may also display the food image information, and display the target food model on the food image information, and the position and size of the target food model are adjusted according to the position and size of the target food in the food image information.
[0092] Optionally, in this embodiment, in addition to displaying the target ingredient model, multiple target recipes can also be displayed on the target client. In order to ensure the integrity of the information display, the multiple target recipes do not overlap with the target ingredient model, that is, the area displaying the multiple target recipes and the area displaying the target ingredient model do not overlap. The method of displaying multiple target recipes can be similar to the above, and will not be repeated here.
[0093] Through this embodiment, by displaying the target ingredient model on the real-time image of the target ingredient, the 3D model can be integrated with the real scene, thereby enriching the displayed visual information; displaying the target ingredient model and multiple recipes in non-overlapping areas can improve the comprehensiveness and completeness of the information display.
[0094] As an optional embodiment, after displaying the target food model on the real-time image of the target food, the method further includes:
[0095] S61, detecting an adjustment operation performed on a target food model, wherein the adjustment operation is used to adjust a display angle of the target food model;
[0096] S62, in response to the adjustment operation, adjusting the display angle of the target food model;
[0097] S63, displaying the target food model after the angle adjustment on the target client.
[0098] The user can adjust the display parameters of the target ingredient model by performing an adjustment operation on the target client. The display parameters can be multiple, and can include but are not limited to at least one of the following: display angle, display size, and display position. The target client can detect the above adjustment operation performed on the target ingredient model, and in response to the adjustment operation, the target client can adjust the display parameters of the target ingredient model and display the adjusted target ingredient model.
[0099] For example, the target client can detect an adjustment operation performed on the target food model to adjust the display angle of the target food model; in response to the adjustment operation, the target client can adjust the display angle of the target food model, and display the target food model after the angle adjustment on the target client. The method of adjusting the display size and display position is similar to this, and will not be repeated here.
[0100] Through this embodiment, the display parameters of the target ingredient model are adjusted according to the detected adjustment operation, so that the interactivity of the ingredient model display can be enhanced and the user experience can be improved.
[0101] The following is an explanation of the information push method in the embodiment of the present application in conjunction with an optional example. In this example, the target application is a smart app.
[0102] Smart recipes in related technologies are generally presented in the form of text, pictures or videos, which are not smart enough and have a single presentation effect. They cannot be dynamically analyzed according to the current situation. The effective information has poor adaptability and poor visual intuitiveness (poor visualization experience), and lacks the experience of interaction with people, and cannot meet people's needs.
[0103] This example provides a smart recipe push method based on the combination of AR and big data. It performs AR scanning on ingredients, identifies the 3D model of the ingredients, and cleverly integrates the 3D model with the real world, forming an intuitive visual interaction and enhancing the user's real experience of operation. According to the recognition results, the cloud performs model big data analysis and dynamically and accurately visualizes the effective information of ingredient identification, which can improve the intelligence of recipes, realize dynamic updating and push of effective recipe information, and facilitate users to understand recipe information more intuitively and dynamically. It presents real sensory effects and rich scenarios to users, improves interactivity and allows more intuitive and convenient acquisition of effective information.
[0104] like Figure 3 As shown, the process of the information push method in this optional example may include the following steps:
[0105] Step S302: Perform AR scanning on the food.
[0106] The user can trigger the smart app to perform AR scanning on ingredients (for example, ingredients in a store or kitchen), and obtain an ingredient image of the ingredient by scanning the ingredients with AR.
[0107] Step S304, sending the food image to the backend cloud.
[0108] The smart app can send the scanned food images to the backend cloud (cloud server).
[0109] Step S306, matching the food image with the corresponding food 3D model (three-dimensional food model), if the match is successful, execute step S308, otherwise, execute step S310.
[0110] Step S308: the backend cloud controls the smart App to display the 3D model corresponding to the food.
[0111] Step S310, the backend cloud controls the smart App to prompt the user of a scanning and recognition failure through an interactive interface.
[0112] In step S312, the backend cloud performs data processing and analysis based on the model to determine whether to execute at least one sub-step in step S314. If so, execute at least one sub-step in step S314; otherwise, no processing is performed.
[0113] For the identified model data, the backend cloud can perform big data processing and analysis to determine whether other related information of the ingredients needs to be pushed. If so, execute at least one sub-step in step S314, otherwise, no processing is performed.
[0114] Step S314, the backend cloud executes at least one of pushing the food recipe information introduction, pushing the food recipe cooking method, and pushing the food nutrition related parameters.
[0115] The backend cloud can accurately obtain the recipe information and list of ingredients, and present it to users through smart app push or visual interface, informing users of some product introduction, product price, freshness and nutritional value of the ingredients, so that users can understand the relevant recipe information of ingredients. Smart apps can display the freshness, nutritional value, some nutrients and vitamins contained in the current ingredients, as well as the cooking methods of the ingredients.
[0116] At the same time, the backend cloud can also perform data analysis and processing based on the user's usual AR scanned ingredients, reading habits, personal hobbies and other data, and intelligently push relevant recipes to meet the user's cooking needs.
[0117] Optionally, when there are a certain number of people dining, the backend cloud can obtain each person's dining habit information based on the dining group's eating habits, and finally combine each person's dining habit information to match and recommend an optimal comprehensive dining preference for all user groups.
[0118] Through this example, through AR scanning in the smart app and cloud big data analysis, when faced with a variety of ingredients and need to cook them, users only need to scan the ingredients with AR to obtain the cooking methods and processes of the ingredients, which can reduce the need to search and read relevant recipe information excessively and complete the cooking process easily and quickly.
[0119] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0120] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM (Read-Only Memory) / RAM (Random Access Memory), a disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0121] According to another aspect of an embodiment of the present application, a device for pushing information for implementing the above-mentioned method for pushing information is also provided. Figure 4 is a structural block diagram of an optional information push device according to an embodiment of the present application, such as Figure 4 As shown, the device may include:
[0122] (1) a matching unit 402, configured to match the food image information with the three-dimensional food models in the three-dimensional food model library, wherein the food image information is image information obtained by scanning the target food, and each three-dimensional food model corresponds to one food;
[0123] (2) a first acquisition unit 404, connected to the matching unit 402, configured to acquire, when a target ingredient model matching the ingredient image information is acquired, a plurality of target recipes corresponding to the target ingredient from a recipe library according to the target object information corresponding to the target object;
[0124] (3) A push unit 406, connected to the first acquisition unit 404, configured to push target-related information of the target ingredient to a target client for display, wherein the target-related information includes a target ingredient model and a plurality of target recipes.
[0125] It should be noted that the matching unit 402 in this embodiment can be used to execute the above step S202, the first obtaining unit 404 in this embodiment can be used to execute the above step S204, and the pushing unit 406 in this embodiment can be used to execute the above step S206.
[0126] Through the above module, the ingredient image information is used to match the three-dimensional ingredient models in the three-dimensional ingredient model library, wherein the ingredient image information is image information obtained by scanning the target ingredient, and each three-dimensional ingredient model corresponds to an ingredient; when the target ingredient model matching the ingredient image information is obtained, multiple target recipes corresponding to the target ingredient are obtained from the recipe library according to the target object information corresponding to the target object; the target association information of the target ingredient is pushed to the target client for display, wherein the target association information includes the target ingredient model and multiple target recipes, which solves the problems of low efficiency in obtaining effective information, large browsing time and energy consumption in the recipe push method in the related art, improves the efficiency of obtaining effective information, shortens the user's browsing time, and reduces the user's energy consumption.
[0127] As an optional embodiment, the first obtaining unit 404 includes:
[0128] A first determination module is used to determine target object information corresponding to the target object, wherein the target object information is used to represent at least one of the following of the target object: dish preference, queried dishes, and physiological characteristics;
[0129] The first acquisition module is used to acquire a plurality of target recipes corresponding to the target ingredients from a recipe library according to the target object information.
[0130] As an optional embodiment, the first obtaining unit 404 includes:
[0131] A second determination module is used to determine target object information corresponding to the multiple target objects when there are multiple target objects and multiple target ingredients, wherein the target object information is used to represent at least one of the following of the multiple target objects: dish preference, queried dishes, number of diners, and physiological characteristics;
[0132] The second acquisition module is used to acquire multiple target recipes corresponding to multiple target ingredients from the recipe library according to the target object information, wherein each recipe of the multiple target recipes includes a combination of multiple recipes, and each target ingredient is used by at least one recipe of the multiple recipes.
[0133] As an optional embodiment, the above device further includes at least one of the following:
[0134] A second acquisition unit is used to acquire recipe cooking information corresponding to each target recipe of the multiple target recipes before pushing the target association information of the target ingredient to the target client for display, wherein the recipe cooking information is used to indicate the cooking method of each target recipe, and the target association information includes the recipe cooking information;
[0135] The third acquisition unit is used to acquire the ingredient reference information corresponding to the target ingredient, wherein the ingredient reference information is used to represent at least one of the following: the freshness of the target ingredient, the nutritional parameters of the target ingredient, and the target association information includes the ingredient reference information.
[0136] As an optional embodiment, the above device also includes:
[0137] A scanning unit, used for performing an augmented reality (AR) scan of a target food through a target client to obtain food image information before using the food image information to match the three-dimensional food model in the three-dimensional food model library;
[0138] The sending unit is used to send the food image information to a target server, wherein the target server is a server for matching three-dimensional food models.
[0139] As an optional embodiment, the above device also includes:
[0140] A collection unit, configured to collect real-time images of the target food through an image collection device of the target client after pushing the target associated information of the target food to the target client for display, wherein the real-time image of the target food is displayed on the target client;
[0141] A first display unit, configured to display a target ingredient model on the real-time image of the target ingredient, wherein the position and size of the target ingredient model are adjusted according to the position and size of the real-time image of the target ingredient;
[0142] The second display unit is used to display a plurality of target recipes on a target client, wherein the plurality of target recipes do not overlap with the target ingredient model.
[0143] As an optional embodiment, the above device also includes:
[0144] a detection unit, configured to detect an adjustment operation performed on the target food model after the target food model is displayed on the real-time image of the target food, wherein the adjustment operation is used to adjust a display angle of the target food model;
[0145] An adjustment unit, used to adjust the display angle of the target food model in response to an adjustment operation;
[0146] The third display unit is used to display the target food model after the angle is adjusted on the target client.
[0147] It should be noted that the examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the contents disclosed in the above embodiments. It should be noted that the above modules as part of the device can be run in Figure 1 In the hardware environment shown, it can be implemented by software or by hardware, wherein the hardware environment includes a network environment.
[0148] According to another aspect of an embodiment of the present application, an electronic device for implementing the above-mentioned information push method is also provided. The electronic device may be a server, a terminal, or a combination thereof.
[0149] Figure 5 is a structural block diagram of an optional electronic device according to an embodiment of the present application, such as Figure 5 As shown, it includes a processor 502, a communication interface 504, a memory 506 and a communication bus 508, wherein the processor 502, the communication interface 504 and the memory 506 communicate with each other through the communication bus 508, wherein,
[0150] Memory 506, used for storing computer programs;
[0151] The processor 502 is used to execute the computer program stored in the memory 506 to implement the following steps:
[0152] S1, using food image information to match with three-dimensional food models in a three-dimensional food model library, wherein the food image information is image information obtained by scanning a target food, and each three-dimensional food model corresponds to one food;
[0153] S2, when a target ingredient model matching the ingredient image information is obtained, obtaining a plurality of target recipes corresponding to the target ingredient from a recipe library according to the target object information corresponding to the target object;
[0154] S3, pushing the target association information of the target ingredient to the target client for display, wherein the target association information includes a target ingredient model and a plurality of target recipes.
[0155] Optionally, in this embodiment, the communication bus may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0156] The communication interface is used for communication between the above electronic device and other devices.
[0157] The memory may include RAM, or may include non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0158] As an example, the memory 506 may include but is not limited to the matching unit 402, the first acquisition unit 404 and the push unit 406 in the information push device. In addition, it may also include but is not limited to other module units in the information push device, which will not be repeated in this example.
[0159] The above-mentioned processor can be a general-purpose processor, which can include but not be limited to: CPU (Central Processing Unit), NP (Network Processor), etc.; it can also be DSP (Digital Signal Processing), ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0160] In addition, the electronic device further includes: a display, which can be used to display at least one of the target ingredient model and a plurality of target recipes.
[0161] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment will not be described in detail here.
[0162] It can be understood by those skilled in the art that Figure 5 The structure shown is for illustration only. The device for implementing the above information push method may be a terminal device, which may be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (Mobile Internet Devices, MID), a PAD, and other terminal devices. Figure 5 The structure of the electronic device is not limited. Figure 5 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Figure 5 Different configurations shown.
[0163] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, which can include: a flash drive, ROM, RAM, a magnetic disk or an optical disk, etc.
[0164] According to another aspect of the embodiments of the present application, a storage medium is further provided. Optionally, in this embodiment, the storage medium can be used to execute the program code of any of the above information pushing methods in the embodiments of the present application.
[0165] Optionally, in this embodiment, the storage medium may be located on at least one network device among a plurality of network devices in the network shown in the above embodiment.
[0166] Optionally, in this embodiment, the storage medium is configured to store program codes for executing the following steps:
[0167] S1, using food image information to match with three-dimensional food models in a three-dimensional food model library, wherein the food image information is image information obtained by scanning a target food, and each three-dimensional food model corresponds to one food;
[0168] S2, when a target ingredient model matching the ingredient image information is obtained, obtaining a plurality of target recipes corresponding to the target ingredient from a recipe library according to the target object information corresponding to the target object;
[0169] S3, pushing the target association information of the target ingredient to the target client for display, wherein the target association information includes a target ingredient model and a plurality of target recipes.
[0170] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, which will not be described in detail in this embodiment.
[0171] Optionally, in this embodiment, the storage medium may include, but is not limited to, various media that can store program codes, such as a USB flash drive, a ROM, a RAM, a mobile hard disk, a magnetic disk, or an optical disk.
[0172] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0173] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
[0174] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0175] In the several embodiments provided in the present application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0176] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution provided in this embodiment.
[0177] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0178] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for pushing information, characterized in that: include: Using the food image information to match the three-dimensional food model in the three-dimensional food model library, wherein the food image information is image information obtained by scanning the target food, and each three-dimensional food model corresponds to one food; When a target ingredient model matching the ingredient image information is obtained, a plurality of target recipes corresponding to the target ingredient are obtained from a recipe library according to the target object information corresponding to the target object; Pushing target association information of the target ingredient to a target client for display, wherein the target association information includes the target ingredient model and the multiple target recipes; Wherein, acquiring a plurality of target recipes corresponding to the target ingredients from a recipe library according to the target object information corresponding to the target object includes: In the case where there are multiple target objects and multiple target ingredients, determining the target object information corresponding to the multiple target objects, wherein the target object information is used to represent at least one of the following of the multiple target objects: dish preference, queried dishes, number of diners, and physiological characteristics; According to the target object information, the plurality of target recipes corresponding to the plurality of target ingredients are acquired from the recipe library, wherein each recipe of the plurality of target recipes comprises a combination of a plurality of recipes, each of the target ingredients is used by at least one recipe of the plurality of recipes, and the number of recipes included in the target recipes matches the number of diners; In the case that there are multiple target objects and there is only one target ingredient, the target ingredient is used as the main ingredient, and the dish preferences and physiological characteristics of the multiple target objects are comprehensively considered to match recipes that meet the dish preferences and physiological characteristics of the multiple target objects from the recipe library, and then the recipes are sorted according to the number of times the matched recipes have been queried, to obtain multiple target recipes corresponding to the target ingredients.
2. The method according to claim 1, characterized in that Before pushing the target association information of the target food to the target client for display, the method further includes at least one of the following: Acquire recipe cooking information corresponding to each target recipe among the multiple target recipes, wherein the recipe cooking information is used to indicate a cooking method for each target recipe, and the target association information includes the recipe cooking information; Acquire ingredient reference information corresponding to the target ingredient, wherein the ingredient reference information is used to represent at least one of the following: freshness of the target ingredient, nutritional parameters of the target ingredient, and the target association information includes the ingredient reference information.
3. The method according to claim 1, characterized in that Before matching the food image information with the three-dimensional food model in the three-dimensional food model library, the method further includes: Performing an augmented reality (AR) scan of the target food through the target client to obtain image information of the food; The food image information is sent to a target server, wherein the target server is a server that performs matching of the three-dimensional food model.
4. The method according to any one of claims 1 to 3, characterized in that After pushing the target association information of the target food to the target client for display, the method further includes: Performing real-time image acquisition of the target food through an image acquisition device of the target client, wherein a real-time image of the target food is displayed on the target client; Displaying the target ingredient model on the real-time image of the target ingredient, wherein the position and size of the target ingredient model are adjusted according to the position and size of the real-time image of the target ingredient; The plurality of target recipes are displayed on the target client, wherein the plurality of target recipes do not overlap with the target ingredient model.
5. The method according to claim 4, characterized in that After displaying the target ingredient model on the real-time image of the target ingredient, the method further includes: detecting an adjustment operation performed on the target food model, wherein the adjustment operation is used to adjust a display angle of the target food model; In response to the adjustment operation, adjusting the display angle of the target food model; The target food model after the angle adjustment is displayed on the target client.
6. An information push device, characterized in that: include: A matching unit, configured to match the food image information with the three-dimensional food model in the three-dimensional food model library, wherein the food image information is image information obtained by scanning the target food, and each three-dimensional food model corresponds to one food; A first acquisition unit is configured to acquire, when a target ingredient model matching the ingredient image information is acquired, a plurality of target recipes corresponding to the target ingredient from a recipe library according to target object information corresponding to the target object; A pushing unit, configured to push the target association information of the target ingredient to a target client for display, wherein the target association information includes the target ingredient model and the plurality of target recipes; The first acquisition unit includes: a second determination module, used to determine the target object information corresponding to the multiple target objects when there are multiple target objects and multiple target ingredients, wherein the target object information is used to represent at least one of the following of the multiple target objects: dish preference, queried dishes, number of diners, and physiological characteristics; a second acquisition module, used to acquire the multiple target recipes corresponding to the multiple target ingredients from the recipe library according to the target object information, wherein each recipe in the multiple target recipes includes a combination of multiple recipes, each target ingredient is used by at least one recipe in the multiple recipes, and the number of recipes included in the target recipes matches the number of diners; Among them, in the case that there are multiple target objects and there is only one target ingredient, the target ingredient is used as the main ingredient, and the dish preferences and physiological characteristics of the multiple target objects are comprehensively considered to match recipes that meet the dish preferences and physiological characteristics of the multiple target objects from the recipe library, and then the recipes are sorted according to the number of times the matched recipes have been queried, to obtain multiple target recipes corresponding to the target ingredients.
7. An electronic device comprising a processor, a communication interface, a memory and a communication bus, wherein: The processor, the communication interface and the memory communicate with each other via the communication bus, wherein: The memory is used to store computer programs; The processor is configured to execute the method steps of any one of claims 1 to 5 by running the computer program stored in the memory.
8. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program is configured to execute the method steps described in any one of claims 1 to 5 when executed.
