Recipe recommendation method and apparatus, electronic device and readable storage medium

By obtaining the user's basic information and cooking ability information, smart home devices can consider the user's cooking level in recipe recommendations, solving the problem of failing to match recipes in the existing technology and improving user satisfaction.

WO2024222017A1PCT designated stage expired Publication Date: 2024-10-31GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1

Patent Information

Application Number
PCT/CN2023/142608
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-23
Filing Date
2023-12-28
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

Existing smart home devices fail to consider the user's cooking level when recommending recipes, resulting in the inability to provide suitable recipes for users with different cooking levels.

Method used

By obtaining the user's basic information and cooking ability information, combined with the preset recipe collection, it determines and sends recipe recommendations suitable for the user. Specific steps include obtaining the user's cooking experience value, dish cooking data and historical usage data, calculating the cooking ability level, and matching and recommending recipes in the recipe collection based on this information.

Benefits of technology

Improves user satisfaction with recommended recipes and ensures that recipe recommendations match the user's cooking level.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023142608_31102024_PF_FP_ABST
    Figure CN2023142608_31102024_PF_FP_ABST
Patent Text Reader

Abstract

A recipe recommendation method and apparatus, an electronic device and a readable storage medium. The method comprises: acquiring first basic information corresponding to a target object, and acquiring first cooking ability information corresponding to the target object, wherein the first basic information is configured to represent information influencing food preferences of the target object; on the basis of the first basic information and the first cooking ability information, determining a recipe to be recommended in a preset recipe set; and sending said recipe to an object device corresponding to the target object. Therefore, corresponding recipes can be recommended to users by combining basic information and the cooking ability of the users, so that suitable cooking recipes are recommended to users with different cooking levels, and the satisfaction degree of the users on the recommended recipes is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Recipe recommendation method, device, electronic device and readable storage medium

[0001] This disclosure claims priority to a Chinese patent application filed with the Patent Office of China on April 23, 2023, with application number 202310447578.0 and invention name “A recipe recommendation method, device, electronic device and readable storage medium,” the entire contents of which are incorporated by reference into this disclosure. Technical Field

[0002] The present disclosure relates to the field of data processing technology, and in particular to a recipe recommendation method, device, electronic device, and readable storage medium. Background Art

[0003] With the advancement of technology, smart home devices are becoming increasingly popular. They offer numerous conveniences and have changed people's lifestyles. In terms of diet, current smart home devices can even provide recipe recommendations for users.

[0004] However, the recipe recommendation function currently provided by smart home devices can generally only recommend relevant recipes by analyzing user preferences and ingredients. It does not take into account the differences in cooking levels among different users and cannot recommend recipes suitable for users with different cooking levels.

[0005] Summary of the Invention

[0006] In order to solve the above technical problems, the present disclosure provides a recipe recommendation method, device, electronic device and readable storage medium.

[0007] In a first aspect, an embodiment of the present disclosure provides a recipe recommendation method, comprising:

[0008] Acquiring first basic information corresponding to a target object, and acquiring first cooking ability information corresponding to the target object, wherein the first basic information is set to represent information that affects the dietary preferences of the target object;

[0009] Determining a recipe to be recommended from a preset recipe set based on the first basic information and the first cooking ability information;

[0010] The recipe to be recommended is sent to an object device corresponding to the target object.

[0011] In a possible implementation, obtaining the first cooking capability information corresponding to the target object includes:

[0012] Obtaining a basic cooking experience value corresponding to the target object, and obtaining dish cooking data corresponding to the target object, wherein the dish cooking data includes at least one dish cooking process and a cooking score corresponding to each dish cooking process;

[0013] Summing up the cooking scores corresponding to all the cooking processes of the dishes to obtain a cooking experience adjustment value;

[0014] performing a sum operation on the basic cooking experience value and the cooking experience adjustment value to obtain a target cooking experience value;

[0015] Determining a target cooking experience value range in which the target cooking experience value is located among a plurality of preset experience value ranges;

[0016] The first ability level corresponding to the target cooking experience value range is determined as the first cooking ability information corresponding to the target object.

[0017] In one possible implementation, obtaining the dish cooking data corresponding to the target object includes:

[0018] For each dish cooking process, obtaining cooking process data corresponding to the dish cooking process, wherein the cooking process data includes at least one dish cooking operation, and an operation score and weight corresponding to each dish cooking operation;

[0019] Based on the weight corresponding to each of the dish cooking operations, performing a weighted sum operation on the operation scores of all the dish cooking operations to obtain a cooking score corresponding to the dish cooking process;

[0020] The dish cooking data is generated based on all the dish cooking processes and the cooking score corresponding to each of the dish cooking processes.

[0021] In a possible implementation, obtaining the first cooking capability information corresponding to the target object includes:

[0022] A second ability level input by the target object is received, and the second ability level is determined as the first cooking ability information corresponding to the target object.

[0023] In one possible implementation, the method further includes:

[0024] For each recipe, obtaining historical usage data corresponding to the recipe, wherein the historical usage data includes at least one usage object, and second basic information and second cooking capability information corresponding to each usage object;

[0025] Determining associated information corresponding to the recipe based on the second basic information and the second cooking ability information corresponding to each user object;

[0026] The recipe set is constructed based on all the recipes and the associated information corresponding to each of the recipes.

[0027] In a possible implementation, determining the associated information corresponding to the recipe based on the second basic information and the second cooking ability information corresponding to each user object includes:

[0028] combining the second basic information corresponding to each user object and the second cooking capability information corresponding to the user object to obtain at least one combination information;

[0029] Calculating the support and confidence corresponding to each of the combined information;

[0030] The combined information whose support is greater than a preset support threshold and whose confidence is greater than a preset confidence threshold is determined as the associated information.

[0031] In one possible implementation, determining a recipe to be recommended from a preset recipe set based on the first basic information and the first cooking ability information includes:

[0032] combining the first basic information and the first cooking ability information to obtain target association information corresponding to the target object;

[0033] The recipes in the recipe set whose corresponding association information is consistent with the target association information are determined as the recipes to be recommended.

[0034] In a second aspect, an embodiment of the present disclosure provides a recipe recommendation device, comprising:

[0035] an acquisition module configured to acquire first basic information corresponding to a target object and first cooking ability information corresponding to the target object, wherein the first basic information is configured to represent information that affects the dietary preferences of the target object;

[0036] a determination module, configured to determine a recipe to be recommended in a preset recipe set based on the first basic information and the first cooking ability information;

[0037] The sending module is configured to send the recipe to be recommended to the object device corresponding to the target object.

[0038] In a possible implementation, the acquisition module is specifically configured to:

[0039] Obtaining a basic cooking experience value corresponding to the target object, and obtaining dish cooking data corresponding to the target object, wherein the dish cooking data includes at least one dish cooking process and a cooking score corresponding to each dish cooking process;

[0040] Summing up the cooking scores corresponding to all the cooking processes of the dishes to obtain a cooking experience adjustment value;

[0041] performing a sum operation on the basic cooking experience value and the cooking experience adjustment value to obtain a target cooking experience value;

[0042] Determining a target cooking experience value range in which the target cooking experience value is located among a plurality of preset experience value ranges;

[0043] The first ability level corresponding to the target cooking experience value range is determined as the first cooking ability information corresponding to the target object.

[0044] In a possible implementation, the acquisition module is further configured to:

[0045] For each dish cooking process, obtaining cooking process data corresponding to the dish cooking process, wherein the cooking process data includes at least one dish cooking operation, and an operation score and weight corresponding to each dish cooking operation;

[0046] Based on the weight corresponding to each of the dish cooking operations, performing a weighted sum operation on the operation scores of all the dish cooking operations to obtain a cooking score corresponding to the dish cooking process;

[0047] The dish cooking data is generated based on all the dish cooking processes and the cooking score corresponding to each of the dish cooking processes.

[0048] In a possible implementation, the acquisition module is further configured to:

[0049] A second ability level input by the target object is received, and the second ability level is determined as the first cooking ability information corresponding to the target object.

[0050] In a possible implementation, the device further includes a building module configured to:

[0051] For each recipe, obtaining historical usage data corresponding to the recipe, wherein the historical usage data includes at least one usage object, and second basic information and second cooking capability information corresponding to each usage object;

[0052] Determining associated information corresponding to the recipe based on the second basic information and the second cooking ability information corresponding to each user object;

[0053] The recipe set is constructed based on all the recipes and the associated information corresponding to each of the recipes.

[0054] In a possible implementation, the building block is further configured to:

[0055] combining the second basic information corresponding to each user object and the second cooking capability information corresponding to the user object to obtain at least one combination information;

[0056] Calculating the support and confidence corresponding to each of the combined information;

[0057] The combined information whose support is greater than a preset support threshold and whose confidence is greater than a preset confidence threshold is determined as the associated information.

[0058] In a possible implementation, the determining module is specifically configured to:

[0059] combining the first basic information and the first cooking ability information to obtain target association information corresponding to the target object;

[0060] The recipes in the recipe set whose corresponding association information is consistent with the target association information are determined as the recipes to be recommended.

[0061] In a third aspect, an electronic device is provided, 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;

[0062] a memory configured to store a computer program;

[0063] The processor is configured to implement any method step described in the first aspect when executing a program stored in the memory.

[0064] In a fourth aspect, a computer-readable storage medium is provided, characterized in that a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, any method step described in the first aspect is implemented.

[0065] In a fifth aspect, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute any of the above-described recipe recommendation methods.

[0066] Beneficial effects of the embodiments of the present disclosure:

[0067] The present disclosure provides a recipe recommendation method, apparatus, electronic device, and readable storage medium. The present disclosure first obtains first basic information corresponding to a target object and first cooking ability information corresponding to the target object, wherein the first basic information is set to represent information that affects the target object's dietary preferences. Then, based on the first basic information and the first cooking ability information, a recipe to be recommended is determined from a preset recipe set. Finally, the recipe to be recommended is sent to the target device corresponding to the target object. This method can recommend corresponding recipes to users based on their basic information and cooking ability, thereby recommending recipes suitable for users of different cooking levels and improving user satisfaction with the recommended recipes.

[0068] Of course, it is not necessary to achieve all of the advantages described above at the same time when implementing any product or method disclosed herein. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0070] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0071] FIG1 is a flow chart of a recipe recommendation method provided by an embodiment of the present disclosure;

[0072] FIG2 is a flow chart of another recipe recommendation method provided by an embodiment of the present disclosure;

[0073] FIG3 is a flow chart of another recipe recommendation method provided by an embodiment of the present disclosure;

[0074] FIG4 is a schematic structural diagram of a recipe recommendation device provided by an embodiment of the present disclosure;

[0075] FIG5 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0076] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure more clear, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present disclosure without making any creative efforts shall fall within the scope of protection of the present disclosure.

[0077] The recipe recommendation method provided by the present disclosure is explained below with reference to specific embodiments in conjunction with the accompanying drawings, and the embodiments do not constitute a limitation of the embodiments of the present disclosure.

[0078] See Figure 1, which is a flow chart of an embodiment of a recipe recommendation method provided by an embodiment of the present disclosure. As shown in Figure 1, the process may include the following steps:

[0079] S101, obtaining first basic information corresponding to a target object, and obtaining first cooking ability information corresponding to the target object, wherein the first basic information is set to represent information that affects the dietary preferences of the target object.

[0080] A recipe recommendation method provided by an embodiment of the present disclosure can be applied to a server or to smart home devices, such as smart phones, smart refrigerators, etc.

[0081] Target object refers to the user to whom the recipe is to be recommended.

[0082] The first basic information is set to represent information that affects the dietary preferences of the target object, such as the user's region, the user's preferred taste, etc.

[0083] In the disclosed embodiment, when a user uses the recipe recommendation function for the first time, the user may be prompted to enter their basic information and store the basic information in a preset storage location (such as a local or cloud storage location). During subsequent use, the user's corresponding basic information can be directly obtained from the storage location.

[0084] The first cooking ability information is set to represent the target user's proficiency in cooking, that is, the user's cooking level. For example, "beginner" is set to represent a user with a low cooking level, "intermediate" is set to represent a user with a high cooking level, "advanced" is set to represent a user with a very high cooking level, and so on.

[0085] In the application, the user's cooking ability changes over time. In order to accurately understand the user's current cooking ability, in the embodiment of the present disclosure, each time the user uses the recipe recommendation function, the user's current operating proficiency is obtained as the first cooking ability information.

[0086] As for how to obtain the first cooking capability information corresponding to the target object, it will be explained in detail through different embodiments later, and will not be described in detail here.

[0087] S102: Determine a recipe to be recommended in a preset recipe set based on the first basic information and the first cooking ability information.

[0088] The above recipe collection contains multiple recipes and associated information corresponding to each recipe, wherein the associated information is set to mark which cooking abilities and basic information users the corresponding recipe is suitable for. For example, recipe 1 is suitable for users with strong cooking abilities and who like sweet flavors.

[0089] In an embodiment of the present disclosure, based on the first basic information and the first cooking ability information, the specific implementation of determining the recipe to be recommended in the preset recipe set may include: combining the first basic information and the first cooking ability information to obtain the target association information corresponding to the target object, and determining the recipe in the recipe set whose corresponding association information is consistent with the target association information as the recipe to be recommended.

[0090] If the first basic information only includes one dimension, the target-related information is directly combined with the first cooking ability information. For example, if the dimension information indicates that the user likes sweet flavors and the first cooking ability information is intermediate, the target-related information is: intermediate + likes sweet flavors.

[0091] If the first basic information includes multiple dimensional information on one dimension, or multiple dimensional information on multiple dimensions, then one dimensional information is selected on each dimension to obtain multi-dimensional information, and the multi-dimensional information is combined with the first cooking capability information to obtain multiple target-related information.

[0092] For example, the user's taste dimension includes sweet and salty tastes, the user's region dimension includes Guangdong, and the first cooking ability information is intermediate. Then, the target association information includes two cases, one is: sweet taste + Guangdong + intermediate, and the other is: salty taste + Guangdong + intermediate.

[0093] During the matching process, if the associated information matches any target associated information, the recipe corresponding to the associated information is determined as the recipe to be recommended. In this way, a recipe to be recommended that matches the target object's basic information and cooking ability can be matched.

[0094] S103: Send the recipe to be recommended to the target device corresponding to the target object.

[0095] The target device refers to the device used by the target object to view the recipe, such as a mobile phone, a refrigerator with a display screen, a projector, etc.

[0096] In the embodiment of the present disclosure, after the recipe to be recommended is determined, the recipe to be recommended is sent to the target device corresponding to the target object, and the target device displays the recipe to be recommended, thereby facilitating the target object to view it.

[0097] In the disclosed embodiment, first, first basic information corresponding to a target object is obtained, as well as first cooking ability information corresponding to the target object. The first basic information is set to represent information that influences the target object's dietary preferences. Then, based on the first basic information and the first cooking ability information, a recipe to be recommended is determined from a preset recipe set. Finally, the recipe to be recommended is sent to the target device corresponding to the target object. This allows the user's basic information and cooking ability to be combined to recommend corresponding recipes to the user, thereby recommending recipes suitable for users of different cooking levels and improving user satisfaction with the recommended recipes.

[0098] See Figure 2, which is a flowchart of another recipe recommendation method according to an embodiment of the present disclosure. The process shown in Figure 2, based on the process shown in Figure 1 above, describes how to obtain the first cooking ability information corresponding to the target object. As shown in Figure 2, the process may include the following steps:

[0099] S201, obtaining a basic cooking experience value corresponding to the target object, and obtaining dish cooking data corresponding to the target object, wherein the dish cooking data includes at least one dish cooking process, and a cooking score corresponding to each dish cooking process.

[0100] The basic cooking experience value is a quantitative value of the cooking level that the user enters based on his or her cooking proficiency when using the recipe recommendation function for the first time. For example, if the user has no experience at all, a value of 0 can be entered.

[0101] The recipe cooking data includes at least one recipe cooking process and the cooking score corresponding to each recipe cooking process. That is, the scores that the target subject gave himself during each recipe cooking process after using the recipe recommendation function.

[0102] In an embodiment of the present disclosure, the specific implementation of obtaining the dish cooking data corresponding to the target object may include: for each dish cooking process, obtaining the cooking process data corresponding to the dish cooking process, wherein the cooking process data includes at least one dish cooking operation, and an operation score and weight corresponding to each dish cooking operation; based on the weight corresponding to each of the dish cooking operations, performing a weighted sum operation on the operation scores of all the dish cooking operations to obtain the cooking score corresponding to the dish cooking process; and generating the dish cooking data based on all the dish cooking processes and the cooking score corresponding to each of the dish cooking processes.

[0103] Cooking operations include, but are not limited to, cutting, seasoning, and controlling the heat. The weights corresponding to cooking operations are set to represent their impact on overall cooking performance. For example, cutting affects the shape and texture of a dish, while seasoning has a greater impact on the final flavor. Therefore, the weight of cutting can be set lower than that of seasoning.

[0104] In this embodiment, after a user clicks on a recipe to start cooking, a scoring interface is displayed on the target device, allowing the user to rate each cooking operation based on their cooking performance. For example, if the weights for chopping, seasoning, and cooking time are 1, 2, and 2, respectively, and the user scores: 5 points for chopping, 6 points for seasoning, and 8 points for cooking time, the final score is: 5*1+6*2+8*2=33.

[0105] Furthermore, based on all the cooking processes of the dishes and the cooking scores corresponding to each cooking process of the dishes, the dish cooking data is generated. That is, the dish cooking data records multiple data, each data being a corresponding cooking process of the dish and the corresponding cooking score.

[0106] S202: performing a sum operation on the cooking scores corresponding to all the cooking processes of the dishes to obtain a cooking experience adjustment value.

[0107] S203: performing a sum operation on the basic cooking experience value and the cooking experience adjustment value to obtain a target cooking experience value.

[0108] The following is a unified description of S202-S203:

[0109] In the disclosed embodiment, the cooking scores corresponding to all the cooking processes of the dishes are first summed up to obtain a cooking experience adjustment value, that is, the cooking experience adjustment value is set to represent the improvement of the user's cooking level in the process of using the recipe recommendation function.

[0110] Then, the basic cooking experience value and the cooking experience adjustment value are summed to obtain a target cooking experience value, that is, the target cooking experience value is set to represent the user's current cooking level.

[0111] S204: Determine the target cooking experience value range in which the target cooking experience value is located among a plurality of preset experience value ranges.

[0112] S205: Determine the first ability level corresponding to the target cooking experience value range as the first cooking ability information corresponding to the target object.

[0113] The following is a unified description of S204-S205:

[0114] In the application, the correspondence between different experience value ranges and ability levels is pre-set. For example, 0-100 experience value is elementary, 100-200 experience value is intermediate, and 200-300 experience value is advanced.

[0115] In the disclosed embodiment, after obtaining the target cooking experience value, the corresponding ability level is determined by determining the experience value range in which the target cooking experience value is located, and the ability level is determined as the first cooking ability information corresponding to the target object.

[0116] For example, the target cooking experience value is 160, which falls within the range of 100-200. Then, the intermediate level corresponding to the experience value of 100-200 is determined as the first cooking ability information.

[0117] Through the process shown in FIG2 , the target subject's current cooking level (i.e., the first ability level) can be determined based on the target subject's corresponding basic cooking experience value and the dish cooking data, and this can be used as the first cooking ability information. This can make the determined first cooking ability information more consistent with the target subject's current situation.

[0118] Furthermore, in another embodiment, the specific implementation of obtaining the first cooking capability information corresponding to the target object may include: receiving a second capability level input by the target object, and determining the second capability level as the first cooking capability information corresponding to the target object.

[0119] The second ability level is information entered by the user to represent their cooking ability. This solution allows the second ability level entered by the target user in real time to be used as the corresponding first cooking ability information. This allows the first cooking ability information to be flexibly set based on user needs.

[0120] See Figure 3, which is a flow chart of another recipe recommendation method provided by an embodiment of the present disclosure. As shown in Figure 3, the process may include the following steps:

[0121] S301 : For each recipe, obtain historical usage data corresponding to the recipe, wherein the historical usage data includes at least one usage object, and second basic information and second cooking capability information corresponding to each usage object.

[0122] Historical usage data includes at least one user, as well as second basic information and second cooking ability information corresponding to each user. A user is a user who has historically used the recipe recommendation function. The second basic information refers to the user's dietary information. The second cooking ability information is set to represent the user's proficiency in cooking, that is, their cooking level.

[0123] In the application, the second basic information and the second cooking ability information of each user who uses the recipe recommendation function, as well as the usage of each recipe by each user, can be recorded in real time, and this information can be stored in a preset storage location.

[0124] Based on this, in the embodiment of the present disclosure, historical usage data of each recipe can be obtained in the preset storage location.

[0125] S302: Determine association information corresponding to the recipe based on the second basic information and the second cooking ability information corresponding to each user object.

[0126] In the implementation of the present disclosure, the specific implementation of determining the associated information corresponding to the recipe based on the second basic information and the second cooking ability information corresponding to each of the usage objects may include: combining the second basic information corresponding to each of the usage objects and the second cooking ability information corresponding to the usage objects to obtain at least one combination information, calculating the support and confidence corresponding to each of the combination information, and determining the combination information whose support is greater than a preset support threshold and whose confidence is greater than a preset confidence threshold as the associated information.

[0127] The second basic information includes dimensional information on at least one dimension. Here, one dimensional information item for each user object on one dimension is treated as a separate dimensional transaction, and the second cooking capability information item for each user object is treated as a separate capability transaction. These dimensional transactions and capability transactions are then combined to generate combined information. Each combined information item includes one dimensional information item on each dimension and one piece of second cooking capability information.

[0128] For each combination of information, its corresponding support and confidence can be calculated using an association rule algorithm. If the support of the combination of information is greater than a preset support threshold, and the confidence is greater than a preset confidence threshold, it means that the combination of information is strongly correlated with the corresponding recipe. Therefore, the combination of information is used to determine the association information corresponding to the recipe.

[0129] For example, for Fish-flavored Shredded Pork, the corresponding dimensional information includes: region dimension, user location is Zhuhai; flavor dimension, user preference for sweet flavors, and user preference for salty flavors; and the corresponding second cooking ability information includes: intermediate and advanced. Then, the combination information includes: first, user location is Zhuhai + user preference for sweet flavors + intermediate; second, user location is Zhuhai + user preference for salty flavors + intermediate; third, user location is Zhuhai + user preference for sweet flavors + advanced; fourth, user location is Zhuhai + user preference for salty flavors + advanced.

[0130] Taking the first type of combination information as an example, the corresponding support and confidence calculation process is: support + the percentage of the user's location being Zhuhai (transaction D) containing {intermediate (transaction A) ∪ user likes sweet taste (transaction B)}; confidence = the percentage of D containing {A ∩ B}.

[0131] If both the support and confidence values ​​for the first combination are greater than the corresponding thresholds, we can conclude that users from Zhuhai, with intermediate cooking skills and a preference for sweet flavors, are particularly interested in Fish-Fragrant Shredded Pork. Therefore, the combination of Zhuhai, sweet flavor preferences, and intermediate cooking skills is considered relevant information for the recipe Fish-Fragrant Shredded Pork.

[0132] S303: Construct the recipe set based on all the recipes and the associated information corresponding to each of the recipes.

[0133] In the disclosed embodiment, after determining the associated information corresponding to each recipe, a recipe collection can be constructed based on all recipes and the associated information corresponding to each recipe. In this way, the recipe collection not only contains multiple recipes but also the associated information of each recipe. During subsequent use, the user can be matched with appropriate recipes to be recommended based on the associated information.

[0134] Through the process shown in Figure 3, the historical usage data of each recipe can be analyzed to obtain the associated information (including basic information and cooking ability information) of users who like to use the corresponding recipe. Then, a recipe collection can be constructed based on all recipes and the associated information corresponding to each recipe. This recipe collection can be used to match recipes suitable for users of different cooking levels.

[0135] Based on the same technical concept, the embodiment of the present disclosure further provides a recipe recommendation device, as shown in FIG4 , which includes:

[0136] An acquisition module 401 is configured to acquire first basic information corresponding to a target object, and acquire first cooking ability information corresponding to the target object, wherein the first basic information is configured to represent information that affects the target object's dietary preferences;

[0137] a determination module 402 configured to determine a recipe to be recommended from a preset recipe set based on the first basic information and the first cooking ability information;

[0138] The sending module 403 is configured to send the recipe to be recommended to the object device corresponding to the target object.

[0139] In a possible implementation, the acquisition module is specifically configured to:

[0140] Obtaining a basic cooking experience value corresponding to the target object, and obtaining dish cooking data corresponding to the target object, wherein the dish cooking data includes at least one dish cooking process and a cooking score corresponding to each dish cooking process;

[0141] Summing up the cooking scores corresponding to all the cooking processes of the dishes to obtain a cooking experience adjustment value;

[0142] performing a sum operation on the basic cooking experience value and the cooking experience adjustment value to obtain a target cooking experience value;

[0143] Determining a target cooking experience value range in which the target cooking experience value is located among a plurality of preset experience value ranges;

[0144] The first ability level corresponding to the target cooking experience value range is determined as the first cooking ability information corresponding to the target object.

[0145] In a possible implementation, the acquisition module is further configured to:

[0146] For each dish cooking process, obtaining cooking process data corresponding to the dish cooking process, wherein the cooking process data includes at least one dish cooking operation, and an operation score and weight corresponding to each dish cooking operation;

[0147] Based on the weight corresponding to each of the dish cooking operations, performing a weighted sum operation on the operation scores of all the dish cooking operations to obtain a cooking score corresponding to the dish cooking process;

[0148] The dish cooking data is generated based on all the dish cooking processes and the cooking score corresponding to each of the dish cooking processes.

[0149] In a possible implementation, the acquisition module is further configured to:

[0150] A second ability level input by the target object is received, and the second ability level is determined as the first cooking ability information corresponding to the target object.

[0151] In a possible implementation, the device further includes a building module configured to:

[0152] For each recipe, obtaining historical usage data corresponding to the recipe, wherein the historical usage data includes at least one usage object, and second basic information and second cooking capability information corresponding to each usage object;

[0153] Determining associated information corresponding to the recipe based on the second basic information and the second cooking ability information corresponding to each user object;

[0154] The recipe set is constructed based on all the recipes and the associated information corresponding to each of the recipes.

[0155] In a possible implementation, the building block is further configured to:

[0156] combining the second basic information corresponding to each user object and the second cooking capability information corresponding to the user object to obtain at least one combination information;

[0157] Calculating the support and confidence corresponding to each of the combined information;

[0158] The combined information whose support is greater than a preset support threshold and whose confidence is greater than a preset confidence threshold is determined as the associated information.

[0159] In a possible implementation, the determining module is specifically configured to:

[0160] combining the first basic information and the first cooking ability information to obtain target association information corresponding to the target object;

[0161] The recipes in the recipe set whose corresponding association information is consistent with the target association information are determined as the recipes to be recommended.

[0162] In the disclosed embodiment, first, first basic information corresponding to a target object is obtained, as well as first cooking ability information corresponding to the target object. The first basic information is set to represent information that influences the target object's dietary preferences. Then, based on the first basic information and the first cooking ability information, a recipe to be recommended is determined from a preset recipe set. Finally, the recipe to be recommended is sent to the target device corresponding to the target object. This allows the user's basic information and cooking ability to be combined to recommend corresponding recipes to the user, thereby recommending recipes suitable for users of different cooking levels and improving user satisfaction with the recommended recipes.

[0163] Based on the same technical concept, an embodiment of the present disclosure further provides an electronic device, as shown in FIG5 , including a processor 111, a communication interface 112, a memory 113, and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other via the communication bus 114.

[0164] Memory 113, configured to store computer programs;

[0165] The processor 111, when configured to execute a program stored in the memory 113, implements the following steps:

[0166] Acquiring first basic information corresponding to a target object, and acquiring first cooking ability information corresponding to the target object, wherein the first basic information is set to represent information that affects the dietary preferences of the target object;

[0167] Determining a recipe to be recommended from a preset recipe set based on the first basic information and the first cooking ability information;

[0168] The recipe to be recommended is sent to an object device corresponding to the target object.

[0169] The communication bus mentioned in the electronic device mentioned above may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. This communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is used in the figure, but this does not mean that there is only one bus or only one type of bus.

[0170] The communication interface is used for communication between the above electronic device and other devices.

[0171] The memory may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage. Alternatively, the memory may be at least one storage device located away from the processor.

[0172] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.

[0173] In another embodiment provided by the present disclosure, a computer-readable storage medium is further provided, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned recipe recommendation methods are implemented.

[0174] In another embodiment provided by the present disclosure, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute any one of the recipe recommendation methods in the above embodiments.

[0175] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using 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 the present disclosure 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 from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)).

[0176] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.

[0177] The foregoing description is intended only to provide specific embodiments of the present disclosure, intended to enable those skilled in the art to understand and implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not to be limited to the embodiments shown herein, but is to be construed in the broadest manner consistent with the principles and novel features claimed herein.

Claims

1. A recipe recommendation method, the method include: Acquire first basic information corresponding to a target object, and acquire first cooking ability information corresponding to the target object, wherein the first basic information is set to represent information that affects the dietary preferences of the target object; Determining a recipe to be recommended in a preset recipe set based on the first basic information and the first cooking ability information; The recipe to be recommended is sent to an object device corresponding to the target object.

2. The method according to claim 1, in, The obtaining the first cooking capability information corresponding to the target object includes: Acquire a basic cooking experience value corresponding to the target object, and acquire dish cooking data corresponding to the target object, wherein the dish cooking data includes at least one dish cooking process, and a cooking score corresponding to each dish cooking process; Sum up the cooking scores corresponding to all the cooking processes of the dishes to obtain a cooking experience adjustment value; Performing a sum operation on the basic cooking experience value and the cooking experience adjustment value to obtain a target cooking experience value; Determining a target cooking experience value range in which the target cooking experience value is located among a plurality of preset experience value ranges; The first ability level corresponding to the target cooking experience value range is determined as the first cooking ability information corresponding to the target object.

3. The method according to claim 2, in, The step of obtaining the dish cooking data corresponding to the target object includes: For each dish cooking process, obtaining cooking process data corresponding to the dish cooking process, wherein the cooking process data includes at least one dish cooking operation, and an operation score and a weight corresponding to each dish cooking operation; Based on the weight corresponding to each of the dish cooking operations, a weighted sum operation is performed on the operation scores of all the dish cooking operations to obtain a cooking score corresponding to the dish cooking process; The dish cooking data is generated based on all the dish cooking processes and the cooking score corresponding to each of the dish cooking processes.

4. The method according to claim 1, in, The obtaining the first cooking capability information corresponding to the target object includes: A second ability level input by the target object is received, and the second ability level is determined as the first cooking ability information corresponding to the target object.

5. The method according to claim 1, in, The method further comprises: For each recipe, acquiring historical usage data corresponding to the recipe, wherein the historical usage data includes at least one usage object, and second basic information and second cooking capability information corresponding to each usage object; Determine the association information corresponding to the recipe based on the second basic information and the second cooking ability information corresponding to each of the user objects; The recipe set is constructed based on all the recipes and the associated information corresponding to each of the recipes.

6. The method according to claim 5, in, The determining, based on the second basic information and the second cooking ability information corresponding to each of the user objects, the associated information corresponding to the recipe includes: Combining the second basic information corresponding to each of the user objects and the second cooking capability information corresponding to the user objects to obtain at least one combination information; Calculate the support and confidence corresponding to each of the combined information; The combined information whose support is greater than a preset support threshold and whose confidence is greater than a preset confidence threshold is determined as the associated information.

7. The method according to claim 5, in, The determining a recipe to be recommended from a preset recipe set based on the first basic information and the first cooking ability information includes: Combine the first basic information and the first cooking ability information to obtain the target object Corresponding target association information; The recipes in the recipe set whose corresponding association information is consistent with the target association information are determined as the recipes to be recommended.

8. A recipe recommendation device, the device include: an acquisition module, configured to acquire first basic information corresponding to a target object, and to acquire first cooking ability information corresponding to the target object, wherein the first basic information is configured to represent information that affects the dietary preferences of the target object; a determination module, configured to determine a recipe to be recommended in a preset recipe set based on the first basic information and the first cooking ability information; The sending module is configured to send the recipe to be recommended to the object device corresponding to the target object.

9. An electronic device comprising a processor, a communication interface, a memory and a communication bus, in, The processor, the communication interface, and the memory communicate with each other via a communication bus; a memory arranged to store a computer program; The processor is configured to implement the method steps described in any one of claims 1 to 7 when executing the program stored in the memory.

10. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the method steps of any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • A processing method and device for recommended dishes

    CN109740051A

  • Recipe recommendation method and device based on smart home operating system

    CN110289078A

  • Menu creation method and device

    CN110851478A

  • Menu recommendation method and device, computer readable storage medium and processor

    CN114203280A

  • Menu recommendation method and device, electronic equipment and readable storage medium

    CN116469523A

Cited By

  • Cooking control method and device and storage medium

    CN119689880A