Electronic menu distribution method and device, storage medium and computer equipment
By acquiring and analyzing electronic recipes and cooking equipment, recipes are automatically assigned to matching devices, solving the problem of chefs having difficulty manually assigning recipes and achieving efficient recipe allocation and equipment and seasoning management.
Patent Information
- Application Number
- CN202211260620.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-14
- Publication Date
- 2026-02-17
- Estimated Expiration
- 2042-10-14
AI Technical Summary
In smart kitchens, chefs need to manually assign electronic recipes to appropriate cooking equipment, resulting in a large workload and difficulty in assignment, especially when faced with a large number of electronic recipes and multiple cooking devices.
By acquiring electronic recipes and the cooking capabilities of cooking equipment, analyzing the cooking conditions of the recipes, and based on the equipment's seasoning dispensing capabilities and recipe requirements, the recipes are automatically assigned to matching equipment, including seasoning loading information and permission settings.
It enables automatic distribution of electronic menus, saving labor costs, improving ordering efficiency, avoiding human error, and adapting to the equipment's seasoning adjustment needs.
Smart Images

Figure CN115840372B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of intelligent cooking technology, and in particular to an electronic recipe distribution method and device, storage medium, and computer equipment. Background Technology
[0002] With the advancement of technology, automation has permeated all aspects of social life, giving rise to the concept of "smart kitchens." Users can utilize smart kitchens for automated cooking, saving labor costs. As smart kitchens have developed, "electronic recipes" have also emerged, enabling cooking equipment to cook automatically using these recipes. Many commercial settings utilize smart cooking equipment, with multiple devices installed in the kitchen, each equipped with a corresponding electronic recipe. These devices can then process dishes according to the recipes. To facilitate rapid processing, electronic recipes are only assigned to devices with the necessary cooking capabilities, preventing situations where a specific dish is available on a particular device but cannot be cooked, requiring manual selection. Currently, after purchasing electronic recipes, chefs typically assign them to appropriate devices. However, with numerous recipes and multiple devices, this process is labor-intensive and requires chefs to be familiar with the specific cooking requirements of each recipe and the capabilities of each device, making it quite challenging. Summary of the Invention
[0003] In view of this, this application provides an electronic menu distribution method and apparatus, storage medium, and computer equipment, which realizes automatic distribution of electronic menus.
[0004] According to one aspect of this application, an electronic recipe distribution method is provided, the method comprising:
[0005] Acquire multiple electronic recipes to be assigned and the cooking capabilities of multiple cooking devices;
[0006] Analyze the electronic recipes to determine the cooking conditions for each recipe;
[0007] Based on the cooking conditions of the electronic recipe and the cooking capabilities of the cooking equipment, the electronic recipe is assigned to a matching cooking equipment.
[0008] Optionally, the cooking capability includes the seasoning dispensing capability of the cooking equipment, which includes the types of seasonings already loaded and the quantity of custom seasonings. The types of seasonings already loaded are the types of seasonings loaded into the cooking equipment, and the quantity of custom seasonings is the number of seasoning boxes corresponding to the cooking equipment that are not loaded with seasonings.
[0009] The cooking conditions include the seasonings required for cooking according to the electronic recipe.
[0010] Optionally, based on the cooking conditions of the electronic recipe and the cooking capabilities of the cooking equipment, the electronic recipe is assigned to a matching cooking equipment, including:
[0011] Based on the cooking seasonings required by the electronic recipe and the types of seasonings already loaded into the cooking equipment and the quantity of custom seasonings, the target seasoning types and target electronic recipes corresponding to each cooking equipment are determined. The target seasoning types include the types of seasonings already loaded and the custom seasonings that match the quantity of custom seasonings. The target seasoning types include the cooking seasonings required by the target electronic recipe.
[0012] Based on the target seasoning type of the cooking device, seasoning loading information of the cooking device is generated, and the corresponding target electronic recipe is assigned to the cooking device, wherein the seasoning loading information includes the custom seasoning of the cooking device.
[0013] Optionally, determining the target seasoning type and target electronic recipe for each cooking device based on the seasonings required for cooking according to the electronic recipe, the types of seasonings already loaded in the cooking device, and the quantity of custom seasonings includes:
[0014] The electronic recipes are grouped to obtain electronic recipe groups that match the number of cooking devices. The total number of types of seasonings required for cooking in each electronic recipe group does not exceed a preset number. The same electronic recipe exists in at least one electronic recipe group. The preset number is the number of types of seasonings that one cooking device can load.
[0015] Based on all the types of seasonings corresponding to the electronic recipe group and the seasoning dispensing capacity of the cooking equipment, a target electronic recipe group corresponding to each cooking equipment is determined, wherein the seasonings loaded into the cooking equipment include at least a portion of all the types of seasonings.
[0016] The target electronic recipe of the cooking device is determined to be the electronic recipe contained in the corresponding target electronic recipe group, and the target seasoning type of the cooking device is determined to be all seasoning types corresponding to the target electronic recipe group.
[0017] Optionally, grouping the electronic recipes to obtain electronic recipe groups that match the number of cooking devices includes:
[0018] The electronic recipes are sorted in descending order of the types and quantities of seasonings required for cooking.
[0019] Obtain a preset number of first electronic recipes that are ranked first, and construct an initial electronic recipe group based on each first electronic recipe;
[0020] Identify a second electronic recipe in the electronic recipe collection, excluding the first electronic recipe collection, and assign the second electronic recipe collection to the initial electronic recipe collection to obtain the electronic recipe collection.
[0021] Optionally, the step of constructing an initial electronic recipe group based on each first electronic recipe includes:
[0022] If the seasonings required for cooking in each of the first electronic recipes do not have an inclusion relationship, then an initial electronic recipe group is constructed based on each of the first electronic recipes.
[0023] If the cooking ingredients required for each of the first electronic recipes have an inclusion relationship, then the first electronic recipes with the inclusion relationship are divided into the same initial electronic recipe group. An initial electronic recipe group is constructed based on the remaining first electronic recipes. New first electronic recipes are then obtained sequentially from the sorted electronic recipes to construct the initial electronic recipe group, until the cooking ingredients required for the electronic recipes in each initial electronic recipe group no longer have an inclusion relationship, or until no new first electronic recipe can be obtained.
[0024] Optionally, generating seasoning loading information for the cooking equipment based on the target seasoning type includes:
[0025] From the target seasoning types of the cooking equipment, obtain other seasoning types besides the seasoning types already loaded in the cooking equipment, and use them as seasoning types to be loaded.
[0026] Based on the types of seasonings to be loaded, seasoning loading information for the cooking equipment is generated.
[0027] Optionally, the cooking capability further includes a first cooking type of the cooking equipment, and the cooking conditions further include a second cooking type;
[0028] After determining the target electronic recipe group corresponding to the cooking device, the method further includes:
[0029] Determine whether the second cooking type of the electronic recipes in the target electronic recipe group matches the first cooking type of the corresponding cooking device;
[0030] If there is a mismatch, the mismatched electronic recipes will be reassigned.
[0031] Optionally, after determining the target electronic recipe group corresponding to the cooking device, the method further includes:
[0032] Determine whether the cooking power of the electronic recipes in the target electronic recipe group meets the preset conditions, wherein the preset conditions include the number of electronic recipes in the group whose cooking power is greater than the preset power being greater than the preset recipe threshold.
[0033] If the preset conditions are not met, the electronic recipes that do not meet the preset conditions will be reassigned.
[0034] Optionally, after assigning the electronic recipe to a matching cooking device, the method further includes:
[0035] The usage permissions for the electronic recipes in the cooking device are set, wherein the usage permissions include a validity period.
[0036] According to another aspect of this application, an electronic recipe dispensing device is provided, the device comprising:
[0037] The acquisition module is used to acquire multiple electronic recipes to be assigned and the cooking capabilities of multiple cooking devices;
[0038] The parsing module is used to parse the electronic recipes and determine the cooking conditions for each electronic recipe;
[0039] The allocation module is used to allocate the electronic recipe to a matching cooking device based on the cooking conditions of the electronic recipe and the cooking capabilities of the cooking device.
[0040] Optionally, the cooking capability includes the seasoning dispensing capability of the cooking equipment, which includes the types of seasonings already loaded and the quantity of custom seasonings. The types of seasonings already loaded are the types of seasonings loaded into the cooking equipment, and the quantity of custom seasonings is the number of seasoning boxes corresponding to the cooking equipment that are not loaded with seasonings.
[0041] The cooking conditions include the seasonings required for cooking according to the electronic recipe.
[0042] Optionally, the allocation module is further configured to:
[0043] Based on the cooking seasonings required by the electronic recipe and the types of seasonings already loaded into the cooking equipment and the quantity of custom seasonings, the target seasoning types and target electronic recipes corresponding to each cooking equipment are determined. The target seasoning types include the types of seasonings already loaded and the custom seasonings that match the quantity of custom seasonings. The target seasoning types include the cooking seasonings required by the target electronic recipe.
[0044] Based on the target seasoning type of the cooking device, seasoning loading information of the cooking device is generated, and the corresponding target electronic recipe is assigned to the cooking device, wherein the seasoning loading information includes the custom seasoning of the cooking device.
[0045] Optionally, the allocation module is further configured to:
[0046] The electronic recipes are grouped to obtain electronic recipe groups that match the number of cooking devices. The total number of types of seasonings required for cooking in each electronic recipe group does not exceed a preset number. The same electronic recipe exists in at least one electronic recipe group. The preset number is the number of types of seasonings that one cooking device can load.
[0047] Based on all the types of seasonings corresponding to the electronic recipe group and the seasoning dispensing capacity of the cooking equipment, a target electronic recipe group corresponding to each cooking equipment is determined, wherein the seasonings loaded into the cooking equipment include at least a portion of all the types of seasonings.
[0048] The target electronic recipe of the cooking device is determined to be the electronic recipe contained in the corresponding target electronic recipe group, and the target seasoning type of the cooking device is determined to be all seasoning types corresponding to the target electronic recipe group.
[0049] Optionally, the allocation module is further configured to:
[0050] The electronic recipes are sorted in descending order of the types and quantities of seasonings required for cooking.
[0051] Obtain a preset number of first electronic recipes that are ranked first, and construct an initial electronic recipe group based on each first electronic recipe;
[0052] Identify a second electronic recipe in the electronic recipe collection, excluding the first electronic recipe collection, and assign the second electronic recipe collection to the initial electronic recipe collection to obtain the electronic recipe collection.
[0053] Optionally, the allocation module is further configured to:
[0054] If the seasonings required for cooking in each of the first electronic recipes do not have an inclusion relationship, then an initial electronic recipe group is constructed based on each of the first electronic recipes.
[0055] If the cooking ingredients required for each of the first electronic recipes have an inclusion relationship, then the first electronic recipes with the inclusion relationship are divided into the same initial electronic recipe group. An initial electronic recipe group is constructed based on the remaining first electronic recipes. New first electronic recipes are then obtained sequentially from the sorted electronic recipes to construct the initial electronic recipe group, until the cooking ingredients required for the electronic recipes in each initial electronic recipe group no longer have an inclusion relationship, or until no new first electronic recipe can be obtained.
[0056] Optionally, the allocation module is further configured to:
[0057] From the target seasoning types of the cooking equipment, obtain other seasoning types besides the seasoning types already loaded in the cooking equipment, and use them as seasoning types to be loaded.
[0058] Based on the types of seasonings to be loaded, seasoning loading information for the cooking equipment is generated.
[0059] Optionally, the allocation module is further configured to:
[0060] Determine whether the second cooking type of the electronic recipes in the target electronic recipe group matches the first cooking type of the corresponding cooking device;
[0061] If there is a mismatch, the mismatched electronic recipes will be reassigned.
[0062] The cooking capability also includes a first cooking type of the cooking equipment, and the cooking conditions also include a second cooking type.
[0063] Optionally, the allocation module is further configured to:
[0064] Determine whether the cooking power of the electronic recipes in the target electronic recipe group meets the preset conditions, wherein the preset conditions include the number of electronic recipes in the group whose cooking power is greater than the preset power being greater than the preset recipe threshold.
[0065] If the preset conditions are not met, the electronic recipes that do not meet the preset conditions will be reassigned.
[0066] Optionally, the device further includes: a setting module, used for:
[0067] The usage permissions for the electronic recipes in the cooking device are set, wherein the usage permissions include a validity period.
[0068] According to another aspect of this application, a storage medium is provided that stores a computer program thereon, which, when executed by a processor, implements the above-described electronic recipe distribution method.
[0069] According to another aspect of this application, a computer device is provided, including a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor executes the program to implement the above-described electronic recipe distribution method.
[0070] By means of the above technical solution, this application provides an electronic recipe allocation method and apparatus, storage medium, and computer equipment, which acquire multiple electronic recipes to be allocated and the cooking capabilities of multiple cooking devices; parse the electronic recipes to determine the cooking conditions of each electronic recipe; and allocate the electronic recipes to matching cooking devices based on the cooking conditions of the electronic recipes and the cooking capabilities of the cooking devices, thereby realizing automatic allocation of electronic recipes.
[0071] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application. Attached Figure Description
[0072] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments of this application and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0073] Figure 1 A flowchart illustrating an electronic menu distribution method provided in an embodiment of this application is shown.
[0074] Figure 2 A flowchart illustrating another electronic menu distribution method provided in an embodiment of this application is shown;
[0075] Figure 3 A flowchart illustrating another electronic menu distribution method provided in an embodiment of this application is shown;
[0076] Figure 4 This paper shows a schematic diagram of the structure of an electronic menu dispensing device provided in an embodiment of this application;
[0077] Figure 5 A schematic diagram of another electronic menu dispensing device provided in an embodiment of this application is shown. Detailed Implementation
[0078] The present application will be described in detail below with reference to the accompanying drawings and embodiments. It should be noted that, unless otherwise specified, the embodiments and features described in the embodiments of the present application can be combined with each other.
[0079] This embodiment provides an electronic recipe distribution method, such as... Figure 1 As shown, the method includes:
[0080] Step 101: Obtain multiple electronic recipes to be assigned and the cooking capabilities of multiple cooking devices.
[0081] In the above embodiments of this application, multiple electronic recipes to be assigned and the cooking capabilities of multiple cooking devices are first obtained. This is used to assign corresponding electronic recipes to cooking devices based on their different cooking capabilities once the multiple electronic recipes are allocated to the store. The cooking capabilities can include the types of cooking devices, such as: casserole, wok, frying pan, stew pot, soup pot, Yukihira pot, small saucepan, air fryer, and any other equipment that can be used for cooking. The cooking capabilities can also include the seasonings that the cooking device can add; for example, device A can add soy sauce and chicken essence, while device B can add vinegar and sugar.
[0082] In one specific embodiment, users can order food through a terminal, which may include a touch screen ordering machine, a mobile phone, a tablet, a mobile computer, or other devices. After the user selects the corresponding electronic menu, the system can match the corresponding cooking equipment by obtaining the electronic menu and the cooking capabilities of the cooking equipment. This enables users to order food independently, thereby saving labor costs, improving the efficiency of ordering, and avoiding situations such as missed or incorrect orders caused by manual ordering.
[0083] Step 102: Analyze the electronic recipes and determine the cooking conditions for each electronic recipe.
[0084] Step 103: Based on the cooking conditions of the electronic recipe and the cooking capabilities of the cooking equipment, assign the electronic recipe to a matching cooking equipment.
[0085] Next, the electronic recipes are analyzed to determine the cooking conditions for each recipe, so that the corresponding cooking equipment can be matched according to the cooking conditions of the recipes. Then, based on the cooking conditions of the electronic recipes and the cooking capabilities of the cooking equipment, the electronic recipes are assigned to the matched cooking equipment to achieve automatic electronic recipe allocation.
[0086] Specifically, for example, the electronic recipes obtained include the stir-fry dish "Scrambled Eggs with Tomatoes" and the stew dish "Sauerkraut Stew with Pork Belly". The cooking condition for the stir-fry dish "Scrambled Eggs with Tomatoes" can be "stir-frying", and the cooking condition for the stew dish "Sauerkraut Stew with Pork Belly" can be "boiling". The cooking equipment type for the stir-fry dish "Scrambled Eggs with Tomatoes" is "wok", and the cooking equipment type for the stew dish "Sauerkraut Stew with Pork Belly" is "stew pot". The seasonings that can be added to the "wok" include salt, sugar, and chicken bouillon, while the seasonings that can be added to the "stew pot" include chicken bouillon and salt. Then, the electronic recipe for the stir-fry dish "Scrambled Eggs with Tomatoes" is assigned to the "wok", and the electronic recipe for the stew dish "Sauerkraut Stew with Pork Belly" is assigned to the "stew pot". This achieves automatic electronic recipe allocation, that is, by using the types of seasonings that the cooking equipment can provide, the electronic recipe is assigned to the cooking equipment that can provide the seasonings required by the electronic recipe, thus achieving automatic electronic recipe allocation and saving labor costs. If the smart cooking device is equipped with seasonings that can be used with electronic recipes, then the corresponding electronic recipe can be assigned to the cooking device to start cooking.
[0087] The cooking equipment can provide seasonings that can be adjusted according to actual needs. Simply replace the seasonings in the seasoning box of the cooking equipment. For electronic recipes that cannot be assigned at the moment, the user can be prompted to replace the seasonings in the cooking equipment. Specifically, if the smart cooking equipment is not equipped with seasonings, it first determines the seasonings that the cooking equipment should be equipped with and the electronic recipes that should be assigned, and then sends a notification to remind relevant personnel to place the corresponding seasonings so that the automatic assignment of electronic recipes can continue.
[0088] By applying the technical solution of this embodiment, multiple electronic recipes to be assigned and the cooking capabilities of multiple cooking devices are obtained. The electronic recipes are analyzed to determine the cooking conditions of each electronic recipe. Based on the cooking conditions of the electronic recipes and the cooking capabilities of the cooking devices, the electronic recipes are assigned to matching cooking devices. The electronic recipes are assigned to cooking devices that can provide the required seasonings based on the types of seasonings that the cooking devices can provide, thereby achieving automatic assignment of electronic recipes and saving labor costs.
[0089] Optionally, in this embodiment, the cooking capability includes the seasoning dispensing capability of the cooking device, which includes the types of seasonings already loaded and the quantity of custom seasonings. The types of seasonings already loaded are the types of seasonings loaded into the cooking device, and the quantity of custom seasonings is the number of seasoning boxes corresponding to the cooking device that are not loaded with seasonings. The cooking conditions include the seasonings required for cooking according to the electronic recipe.
[0090] In the above embodiments, the cooking capability includes the seasoning dispensing capability of the cooking equipment. The seasoning dispensing capability includes the types of seasonings already loaded and the custom seasoning quantity. The types of seasonings already loaded refer to the types of seasonings that have been loaded into the cooking equipment. For example, the "wok" has been loaded with salt, sugar, and chicken essence, and the "stew pot" has been loaded with chicken essence and salt. The custom seasoning quantity refers to the number of seasoning boxes that are not loaded with seasonings corresponding to the cooking equipment. For example, assuming that the preset number of seasoning boxes loaded with seasonings for both the "wok" and the "stew pot" is 10, then the number of seasoning boxes that are not loaded with seasonings corresponding to the "wok" is 7, and similarly, the number of seasoning boxes that are not loaded with seasonings corresponding to the "stew pot" is 8. The cooking conditions include the seasonings required for cooking the electronic recipe, so that the electronic recipe can be allocated to the cooking equipment that can provide the seasonings required for the electronic recipe based on the types of seasonings that the cooking equipment can provide, thereby realizing automatic allocation of the electronic recipe and saving labor costs.
[0091] Furthermore, as a refinement and extension of the specific implementation of the above embodiments, and to fully illustrate the specific implementation process of this embodiment, another electronic recipe distribution method is provided, such as... Figure 2 As shown, the method includes:
[0092] Step 201: Obtain multiple electronic recipes to be assigned and the cooking capabilities of multiple cooking devices, parse the electronic recipes, and determine the cooking conditions for each electronic recipe.
[0093] In this embodiment of the application, multiple electronic recipes to be assigned and the cooking capabilities of multiple cooking devices are first obtained. Then, the electronic recipes are parsed to determine the cooking conditions of each electronic recipe for subsequent assignment of cooking devices.
[0094] Step 202: Sort the electronic recipes in descending order of the number of types of seasonings required for cooking.
[0095] Next, after the electronic recipes are distributed to the stores, the types of seasonings that should be placed in the seasoning boxes of each cooking equipment in the stores are planned according to the seasonings required for each electronic recipe. Specifically, the electronic recipes can be grouped first and sorted in descending order of the number of types of seasonings required for each electronic recipe. For example, the electronic recipe "Tomato Scrambled Eggs" requires salt, sugar, and chicken essence, which is 3 types of seasonings; the electronic recipe "Sauerkraut Stewed Pork Belly" requires chicken essence and salt, which is 2 types of seasonings; and the electronic recipe "Sweet and Sour Fish" requires salt, pepper, sugar, aged vinegar, MSG, and starch, which is 6 types of seasonings. Therefore, after sorting the electronic recipes in descending order of the number of types of seasonings required for each electronic recipe, the order would be: Electronic Recipe "Sweet and Sour Fish", Electronic Recipe "Tomato Scrambled Eggs", and Electronic Recipe "Sauerkraut Stewed Pork Belly".
[0096] Step 203: Obtain the first number of pre-ordered electronic recipes, and construct an initial electronic recipe group based on each first electronic recipe.
[0097] Next, obtain the first number of pre-ordered electronic recipes, and then construct an initial electronic recipe group based on each first electronic recipe. Specifically, the electronic recipe "Scrambled Eggs with Tomatoes" requires salt, sugar, and chicken bouillon, meaning there are 3 types of seasonings; the electronic recipe "Braised Pork Belly with Sauerkraut" requires chicken bouillon and salt, meaning there are 2 types of seasonings; and the electronic recipe "Sweet and Sour Fish" requires salt, pepper, sugar, vinegar, MSG, and starch, meaning there are 3 types of seasonings. Taking a class of 6 as an example, if the preset number is 2, the first two electronic recipes will be "Sweet and Sour Fish" and "Scrambled Eggs with Tomatoes". Then, initial electronic recipe groups will be constructed for "Sweet and Sour Fish" and "Scrambled Eggs with Tomatoes" respectively. The initial electronic recipe group corresponding to "Sweet and Sour Fish" is salt, pepper, sugar, vinegar, MSG and starch, and the initial electronic recipe group corresponding to "Scrambled Eggs with Tomatoes" is salt, sugar and chicken essence.
[0098] Optionally, the step of constructing an initial electronic recipe group based on each first electronic recipe includes:
[0099] Step 203-1: If the seasonings required for cooking in each of the first electronic recipes do not have an inclusion relationship, then an initial electronic recipe group is constructed based on each of the first electronic recipes. Specifically, for example:
[0100] Step 203-2: If the cooking seasonings required for each of the first electronic recipes have an inclusion relationship, then the first electronic recipes with the inclusion relationship are divided into the same initial electronic recipe group. An initial electronic recipe group is constructed based on the remaining first electronic recipes. New first electronic recipes are obtained sequentially from the sorted electronic recipes to construct the initial electronic recipe group until the cooking seasonings required for the electronic recipes in each initial electronic recipe group no longer have an inclusion relationship, or until no new first electronic recipe can be obtained.
[0101] In the above embodiments, if the seasonings required for cooking each of the first electronic recipes do not have an inclusion relationship, then an initial electronic recipe group is constructed based on the first electronic recipes. For example, if the first electronic recipes are "Sauerkraut Stewed Pork Belly" and "Soybean Paste Soup", the seasonings required for cooking "Sauerkraut Stewed Pork Belly" are chicken essence and salt, and the seasonings required for cooking "Soybean Paste Soup" are soybean paste and chili sauce. Since there is no inclusion relationship, an initial electronic recipe group is constructed based on "Sauerkraut Stewed Pork Belly" and "Soybean Paste Soup" respectively.
[0102] If the seasonings required for cooking in the first electronic recipe have an inclusion relationship—for example, the electronic recipe for "Sweet and Sour Fish" requires salt, pepper, sugar, aged vinegar, MSG, and starch, while the electronic recipe for "Scrambled Eggs with Tomatoes" requires salt, sugar, and chicken bouillon—and both require salt and sugar, indicating an inclusion relationship, then combining "salt, pepper, sugar, aged vinegar, MSG, and starch" with "salt, sugar, and chicken bouillon" results in "salt, pepper, sugar, aged vinegar, MSG, starch, and chicken bouillon," which is then used as the initial electronic recipe group. If the remaining first electronic recipe is "Soybean Paste Soup", and the ingredients required for cooking "Soybean Paste Soup" are soybean paste and chili sauce, then an initial electronic recipe group is constructed based on the remaining first electronic recipe "Soybean Paste Soup". New first electronic recipes are then sequentially obtained from the sorted electronic recipes to construct the initial electronic recipe group, until the ingredients required for cooking the electronic recipes in each initial electronic recipe group do not have an inclusion relationship, or no new first electronic recipe can be obtained. This can achieve reasonable allocation and make the allocation of ingredients play an optimal scheduling role.
[0103] Step 204: Determine the second electronic recipe in the electronic recipe collection other than the first electronic recipe collection, and assign the second electronic recipe collection to the initial electronic recipe collection group to obtain the electronic recipe collection group.
[0104] Next, the second electronic recipe, excluding the first electronic recipe, is determined and assigned to the initial electronic recipe group to obtain an electronic recipe group. To this end, after determining the initial electronic recipe group constructed based on the first electronic recipe, the seasonings required for the second electronic recipe are added in sequence.
[0105] Step 205: Based on all the types of seasonings corresponding to the electronic recipe group and the seasoning dispensing capacity of the cooking equipment, determine the target electronic recipe group corresponding to each cooking equipment.
[0106] In each electronic recipe group, the total number of seasonings required for cooking does not exceed a preset quantity. The same electronic recipe exists in at least one electronic recipe group. The preset quantity is the number of seasoning types that a cooking device can load. The seasonings loaded into the cooking device include at least some of the aforementioned seasoning types.
[0107] Based on the total number of seasoning types corresponding to each electronic recipe group and the seasoning dispensing capacity of the cooking equipment, a target electronic recipe group is determined for each cooking equipment. The total number of seasoning types required for cooking in each electronic recipe group does not exceed a preset quantity; that is, the total number of seasoning types required by the electronic recipes in each group does not exceed the maximum capacity of the cooking equipment to avoid exceeding the number of seasoning containers that the cooking equipment can hold. Different types of electronic recipes can be repeated, and the same electronic recipe exists in at least one electronic recipe group to ensure that the seasonings required for each electronic recipe have a place to be loaded. The aforementioned preset quantity is the number of seasoning types that a cooking equipment can load, and the loaded seasonings of the cooking equipment include at least a portion of all the aforementioned seasoning types. For example, the total number of seasoning types required by the electronic recipes can be checked first according to the cuisine classification corresponding to the electronic recipes, and then whether the total number of seasoning types required by the electronic recipes in a group exceeds the maximum capacity of a cooking equipment. If it does not exceed the limit, the group is confirmed; otherwise, a new plan is developed.
[0108] Step 206: Determine that the target electronic recipe of the cooking device is the electronic recipe contained in the corresponding target electronic recipe group, and determine that the target seasoning type of the cooking device is all the seasoning types corresponding to the target electronic recipe group.
[0109] The target seasoning types include pre-loaded seasoning types and custom seasonings that match the quantity of custom seasonings. The target seasoning types include the seasonings required for cooking the target electronic recipe.
[0110] Next, the target electronic recipe for the cooking equipment is determined to be the electronic recipe contained in the corresponding target electronic recipe group, and the target seasoning type for the cooking equipment is determined to be all the seasoning types corresponding to the target electronic recipe group. This is used to subsequently allocate electronic recipes to each cooking equipment and realize automatic allocation. The target seasoning type includes the loaded seasoning types and the custom seasonings that match the quantity of custom seasonings. The target seasoning type includes the seasonings required for cooking the target electronic recipe.
[0111] Specifically, if the number of loaded seasoning types is 0, then the current cooking device has no seasonings loaded and all seasonings need to be added before allocation. Therefore, the user needs to determine the target electronic recipe before allocating the cooking device. If the number of loaded seasoning types is not 0, then the current cooking device has some seasonings loaded and needs to be adjusted to the seasonings required by the target electronic recipe before allocating the cooking device. If the number of custom seasonings is 0, then the current cooking device fully meets the seasoning requirements of the target electronic recipe and the corresponding cooking device can be allocated directly.
[0112] Step 207: Based on the target seasoning type of the cooking device, generate seasoning loading information for the cooking device, and assign the corresponding target electronic recipe to the cooking device.
[0113] The seasoning loading information includes the custom seasonings for the cooking equipment.
[0114] Next, based on the target seasoning types of the cooking equipment, seasoning loading information for the cooking equipment is generated. This information is used to add seasonings to each cooking equipment and assign corresponding target electronic recipes to the cooking equipment, thereby achieving automatic allocation of electronic recipes. The seasoning loading information includes custom seasonings for the cooking equipment, meaning that users can add the required seasonings according to their custom seasonings.
[0115] By applying the technical solution of this embodiment, multiple electronic recipes to be assigned and the cooking capabilities of multiple cooking devices are obtained. Cooking conditions are determined, and the electronic recipes are sorted according to the types and quantities of seasonings required for cooking. A first set of electronic recipes with the highest sorting is obtained. An initial electronic recipe group is constructed based on each first electronic recipe. Second electronic recipes other than the first electronic recipes are determined and assigned to the initial electronic recipe group to obtain an electronic recipe group. A target electronic recipe group is determined for each cooking device. The target electronic recipes for the cooking device are defined as the electronic recipes contained in the corresponding target electronic recipe group. The target seasoning types for the cooking device are defined as all seasoning types corresponding to the target electronic recipe group. Based on the target seasoning types of the cooking device, seasoning loading information for the cooking device is generated, and the corresponding target electronic recipes are assigned to the cooking device, thus realizing automatic allocation of electronic recipes.
[0116] Furthermore, as a refinement and extension of the specific implementation of the above embodiments, and to fully illustrate the specific implementation process of this embodiment, another electronic recipe distribution method is provided, such as... Figure 3 As shown, the method includes:
[0117] Step 301: Obtain multiple electronic recipes to be assigned and the cooking capabilities of multiple cooking devices, parse the electronic recipes, and determine the cooking conditions for each electronic recipe.
[0118] In the above embodiments of this application, multiple electronic recipes to be assigned and the cooking capabilities of multiple cooking devices are first obtained. Then, the electronic recipes are parsed to determine the cooking conditions of each electronic recipe for subsequent assignment of the corresponding cooking devices.
[0119] Step 302: Group the electronic recipes to obtain electronic recipe groups that match the number of cooking devices.
[0120] In each electronic recipe group, the total number of seasonings required for cooking does not exceed a preset quantity, and the same electronic recipe exists in at least one electronic recipe group. The preset quantity is the number of seasoning types that a cooking device can load.
[0121] Next, the electronic recipes are grouped to obtain electronic recipe groups that match the number of cooking devices. To this end, the number of cooking devices corresponding to each electronic recipe can be determined based on the actual demand for the dishes in the electronic recipe, and the electronic recipes can be flexibly allocated to a movable number of cooking devices. The total number of types of seasonings required for cooking in each electronic recipe group does not exceed a preset quantity, and the same electronic recipe exists in at least one electronic recipe group. The preset quantity is the number of types of seasonings that one cooking device can hold.
[0122] Step 303: Based on all the types of seasonings corresponding to the electronic recipe group and the seasoning dispensing capacity of the cooking equipment, determine the target electronic recipe group corresponding to each cooking equipment.
[0123] Next, based on all the types of seasonings corresponding to the electronic recipe group and the seasoning dispensing capacity of the cooking equipment, the target electronic recipe group corresponding to each cooking equipment is determined so that electronic recipes can be automatically allocated according to the specific target electronic recipe group.
[0124] Step 304: Determine whether the second cooking type of the electronic recipes in the target electronic recipe group matches the first cooking type of the corresponding cooking device. If they do not match, the mismatched electronic recipes are reassigned.
[0125] The cooking capability further includes a first cooking type of the cooking equipment, the cooking conditions further include a second cooking type, and the seasonings loaded into the cooking equipment include at least a portion of all the seasoning types.
[0126] Next, it is determined whether the second cooking type of the electronic recipes in the target electronic recipe group matches the first cooking type of the corresponding cooking device. If they do not match, the mismatched electronic recipes are reassigned. Specifically, for example, if the first cooking type of the electronic recipes in the target electronic recipe group is "stir-fry" and the second cooking type is "stew," then the second cooking type does not match the first cooking type of the corresponding cooking device, and therefore needs to be reassigned. The cooking capability also includes the first cooking type of the cooking device, the cooking conditions also include the second cooking type, and the loaded seasonings of the cooking device include at least some of the aforementioned types of seasonings.
[0127] Step 305: Determine whether the cooking power of the electronic recipes in the target electronic recipe group meets the preset conditions. If the preset conditions are not met, the electronic recipes that do not meet the preset conditions are redistributed.
[0128] The preset conditions include the number of electronic recipes in the group whose cooking power is greater than a preset power being greater than a preset recipe threshold.
[0129] Next, it is determined whether the cooking power of the electronic recipes in the target electronic recipe group meets the preset conditions. If not, the electronic recipes that do not meet the preset conditions are reassigned. Since cooking equipment may be limited by working time or capacity, users can pre-calculate the attributes of the cooking equipment, such as cooking power, and then combine the attributes of the cooking equipment and the electronic recipes to assign electronic recipe permissions to the cooking equipment. Specifically, electronic recipe permissions can be in the form of usage permissions, which can be in the form of usage time. For equipment safety, the cooking time and cooking power data required by the electronic recipes are limited to the total time or total power of the loaded electronic recipes based on the type of cooking equipment and its maximum working time. This avoids situations where one cooking equipment continuously cooks electronic recipes at low power while another cooking equipment continuously cooks electronic recipes at high power, thus reducing wear and tear on the cooking equipment. The preset conditions include that the number of electronic recipes in the group with a cooking power greater than a preset power exceeds a preset recipe threshold.
[0130] Step 306: Determine that the target electronic recipe of the cooking device is the electronic recipe contained in the corresponding target electronic recipe group, and determine that the target seasoning type of the cooking device is all the seasoning types corresponding to the target electronic recipe group.
[0131] The target seasoning types include pre-loaded seasoning types and custom seasonings that match the quantity of custom seasonings. The target seasoning types include the seasonings required for cooking the target electronic recipe.
[0132] In the above embodiments of this application, the target electronic recipe of the cooking device is determined to be the electronic recipe contained in the corresponding target electronic recipe group, and the target seasoning type of the cooking device is determined to be all the seasoning types corresponding to the target electronic recipe group. To this end, the electronic recipes contained in the target electronic recipe group are allocated to their respective corresponding cooking devices, and the cooking devices are loaded with the seasonings required for cooking according to the target electronic recipe, so as to realize the automatic allocation of electronic recipes by the cooking device. The target seasoning type includes the loaded seasoning types and the custom seasonings that match the quantity of custom seasonings. The target seasoning type includes the seasonings required for cooking the target electronic recipe.
[0133] Step 307: From the target seasoning types of the cooking equipment, obtain other seasoning types besides the seasoning types already loaded in the cooking equipment, as the seasoning types to be loaded.
[0134] Next, from the target seasoning types of the cooking equipment, obtain other seasoning types besides the seasoning types already loaded in the cooking equipment, as seasoning types to be loaded, which will be used to load the unloaded seasonings in order to start the cooking equipment and begin cooking.
[0135] Step 308: Based on the type of seasoning to be loaded, generate seasoning loading information for the cooking device, and assign the corresponding target electronic recipe to the cooking device.
[0136] The seasoning loading information includes the custom seasonings for the cooking equipment.
[0137] Next, seasoning loading information for the cooking device is generated based on the types of seasonings to be loaded, and a corresponding target electronic recipe is assigned to the cooking device. The cooking device can load the seasonings according to the seasoning loading information and then perform the cooking operation according to the assigned target electronic recipe. The seasoning loading information includes the cooking device's custom seasonings.
[0138] Step 309: Set the usage permissions for the electronic recipe in the cooking device, wherein the usage permissions include a validity period.
[0139] In the above embodiments of this application, the user can set the usage permissions for electronic recipes in the cooking equipment, wherein the usage permissions include the validity period. Specifically, for example, the permissions for recipes are set according to the recipes that the cooking equipment is good at. For example, cooking equipment A is suitable for stir-frying, cooking equipment B is suitable for stewing, and cooking equipment C is suitable for deep-frying. Electronic recipe 1 is a stir-fry recipe, so the permission for recipe 1 is assigned to cooking equipment A. Recipe 2 is a deep-fry recipe, so the permission for recipe 2 is assigned to cooking equipment C.
[0140] By applying the technical solution of this embodiment, multiple electronic recipes to be assigned and the cooking capabilities and conditions of multiple cooking devices are obtained. Based on all seasoning types corresponding to the electronic recipe group and the seasoning dispensing capacity of the cooking devices, a target electronic recipe group is determined. It is determined whether the second cooking type of the electronic recipes in the target electronic recipe group matches the first cooking type of the corresponding cooking device. If they do not match, the mismatched electronic recipes are reassigned. It is determined whether the cooking power of the electronic recipes in the target electronic recipe group meets preset conditions. If they do not meet the preset conditions, the electronic recipes that do not meet the preset conditions are reassigned. The target electronic recipes for the cooking devices are determined to be the electronic recipes contained in the corresponding target electronic recipe group, and the target seasoning types for the cooking devices are determined to be all seasoning types corresponding to the target electronic recipe group. Based on the seasoning types to be loaded, seasoning loading information for the cooking devices is generated, and the corresponding target electronic recipes are assigned to the cooking devices, thus achieving automatic allocation of electronic recipes.
[0141] Furthermore, as Figure 1 To specifically implement the method, this application provides an electronic menu dispensing device, such as... Figure 4 As shown, the device includes:
[0142] The acquisition module 41 is used to acquire multiple electronic recipes to be assigned and the cooking capabilities of multiple cooking devices;
[0143] The parsing module 42 is used to parse the electronic recipes and determine the cooking conditions for each electronic recipe;
[0144] The allocation module 43 is used to allocate the electronic recipe to a matching cooking device based on the cooking conditions of the electronic recipe and the cooking capabilities of the cooking device.
[0145] Optionally, the cooking capability includes the seasoning dispensing capability of the cooking equipment, which includes the types of seasonings already loaded and the quantity of custom seasonings. The types of seasonings already loaded are the types of seasonings loaded into the cooking equipment, and the quantity of custom seasonings is the number of seasoning boxes corresponding to the cooking equipment that are not loaded with seasonings.
[0146] The cooking conditions include the seasonings required for cooking according to the electronic recipe.
[0147] Optionally, the allocation module 43 is further configured to:
[0148] Based on the cooking seasonings required by the electronic recipe and the types of seasonings already loaded into the cooking equipment and the quantity of custom seasonings, the target seasoning types and target electronic recipes corresponding to each cooking equipment are determined. The target seasoning types include the types of seasonings already loaded and the custom seasonings that match the quantity of custom seasonings. The target seasoning types include the cooking seasonings required by the target electronic recipe.
[0149] Based on the target seasoning type of the cooking device, seasoning loading information of the cooking device is generated, and the corresponding target electronic recipe is assigned to the cooking device, wherein the seasoning loading information includes the custom seasoning of the cooking device.
[0150] Optionally, the allocation module 43 is further configured to:
[0151] The electronic recipes are grouped to obtain electronic recipe groups that match the number of cooking devices. The total number of types of seasonings required for cooking in each electronic recipe group does not exceed a preset number. The same electronic recipe exists in at least one electronic recipe group. The preset number is the number of types of seasonings that one cooking device can load.
[0152] Based on all the types of seasonings corresponding to the electronic recipe group and the seasoning dispensing capacity of the cooking equipment, a target electronic recipe group corresponding to each cooking equipment is determined, wherein the seasonings loaded into the cooking equipment include at least a portion of all the types of seasonings.
[0153] The target electronic recipe of the cooking device is determined to be the electronic recipe contained in the corresponding target electronic recipe group, and the target seasoning type of the cooking device is determined to be all seasoning types corresponding to the target electronic recipe group.
[0154] Optionally, the allocation module 43 is further configured to:
[0155] The electronic recipes are sorted in descending order of the types and quantities of seasonings required for cooking.
[0156] Obtain a preset number of first electronic recipes that are ranked first, and construct an initial electronic recipe group based on each first electronic recipe;
[0157] Identify a second electronic recipe in the electronic recipe collection, excluding the first electronic recipe collection, and assign the second electronic recipe collection to the initial electronic recipe collection to obtain the electronic recipe collection.
[0158] Optionally, the allocation module 43 is further configured to:
[0159] If the seasonings required for cooking in each of the first electronic recipes do not have an inclusion relationship, then an initial electronic recipe group is constructed based on each of the first electronic recipes.
[0160] If the cooking ingredients required for each of the first electronic recipes have an inclusion relationship, then the first electronic recipes with the inclusion relationship are divided into the same initial electronic recipe group. An initial electronic recipe group is constructed based on the remaining first electronic recipes. New first electronic recipes are then obtained sequentially from the sorted electronic recipes to construct the initial electronic recipe group, until the cooking ingredients required for the electronic recipes in each initial electronic recipe group no longer have an inclusion relationship, or until no new first electronic recipe can be obtained.
[0161] Optionally, the allocation module 43 is further configured to:
[0162] From the target seasoning types of the cooking equipment, obtain other seasoning types besides the seasoning types already loaded in the cooking equipment, and use them as seasoning types to be loaded.
[0163] Based on the types of seasonings to be loaded, seasoning loading information for the cooking equipment is generated.
[0164] Optionally, the allocation module 43 is further configured to:
[0165] Determine whether the second cooking type of the electronic recipes in the target electronic recipe group matches the first cooking type of the corresponding cooking device;
[0166] If there is a mismatch, the mismatched electronic recipes will be reassigned.
[0167] The cooking capability also includes a first cooking type of the cooking equipment, and the cooking conditions also include a second cooking type.
[0168] Optionally, the allocation module 43 is further configured to:
[0169] Determine whether the cooking power of the electronic recipes in the target electronic recipe group meets the preset conditions, wherein the preset conditions include the number of electronic recipes in the group whose cooking power is greater than the preset power being greater than the preset recipe threshold.
[0170] If the preset conditions are not met, the electronic recipes that do not meet the preset conditions will be reassigned.
[0171] The acquisition module 51 is used to acquire multiple electronic recipes to be assigned and the cooking capabilities of multiple cooking devices;
[0172] The parsing module 52 is used to parse the electronic recipes and determine the cooking conditions for each electronic recipe;
[0173] The allocation module 53 is used to allocate the electronic recipe to a matching cooking device based on the cooking conditions of the electronic recipe and the cooking capabilities of the cooking device.
[0174] Setting module 54 is used to set the usage permissions of the electronic recipe in the cooking device, wherein the usage permissions include the validity period of use.
[0175] Optionally, the cooking capability includes the seasoning dispensing capability of the cooking equipment, which includes the types of seasonings already loaded and the quantity of custom seasonings. The types of seasonings already loaded are the types of seasonings loaded into the cooking equipment, and the quantity of custom seasonings is the number of seasoning boxes corresponding to the cooking equipment that are not loaded with seasonings.
[0176] The cooking conditions include the seasonings required for cooking according to the electronic recipe.
[0177] Optionally, the allocation module 53 is further configured to:
[0178] Based on the cooking seasonings required by the electronic recipe and the types of seasonings already loaded into the cooking equipment and the quantity of custom seasonings, the target seasoning types and target electronic recipes corresponding to each cooking equipment are determined. The target seasoning types include the types of seasonings already loaded and the custom seasonings that match the quantity of custom seasonings. The target seasoning types include the cooking seasonings required by the target electronic recipe.
[0179] Based on the target seasoning type of the cooking device, seasoning loading information of the cooking device is generated, and the corresponding target electronic recipe is assigned to the cooking device, wherein the seasoning loading information includes the custom seasoning of the cooking device.
[0180] Optionally, the allocation module 53 is further configured to:
[0181] The electronic recipes are grouped to obtain electronic recipe groups that match the number of cooking devices. The total number of types of seasonings required for cooking in each electronic recipe group does not exceed a preset number. The same electronic recipe exists in at least one electronic recipe group. The preset number is the number of types of seasonings that one cooking device can load.
[0182] Based on all the types of seasonings corresponding to the electronic recipe group and the seasoning dispensing capacity of the cooking equipment, a target electronic recipe group corresponding to each cooking equipment is determined, wherein the seasonings loaded into the cooking equipment include at least a portion of all the types of seasonings.
[0183] The target electronic recipe of the cooking device is determined to be the electronic recipe contained in the corresponding target electronic recipe group, and the target seasoning type of the cooking device is determined to be all seasoning types corresponding to the target electronic recipe group.
[0184] Optionally, the allocation module 53 is further configured to:
[0185] The electronic recipes are sorted in descending order of the types and quantities of seasonings required for cooking.
[0186] Obtain a preset number of first electronic recipes that are ranked first, and construct an initial electronic recipe group based on each first electronic recipe;
[0187] Identify a second electronic recipe in the electronic recipe collection, excluding the first electronic recipe collection, and assign the second electronic recipe collection to the initial electronic recipe collection to obtain the electronic recipe collection.
[0188] Optionally, the allocation module 53 is further configured to:
[0189] If the seasonings required for cooking in each of the first electronic recipes do not have an inclusion relationship, then an initial electronic recipe group is constructed based on each of the first electronic recipes.
[0190] If the cooking ingredients required for each of the first electronic recipes have an inclusion relationship, then the first electronic recipes with the inclusion relationship are divided into the same initial electronic recipe group. An initial electronic recipe group is constructed based on the remaining first electronic recipes. New first electronic recipes are then obtained sequentially from the sorted electronic recipes to construct the initial electronic recipe group, until the cooking ingredients required for the electronic recipes in each initial electronic recipe group no longer have an inclusion relationship, or until no new first electronic recipe can be obtained.
[0191] Optionally, the allocation module 53 is further configured to:
[0192] From the target seasoning types of the cooking equipment, obtain other seasoning types besides the seasoning types already loaded in the cooking equipment, and use them as seasoning types to be loaded.
[0193] Based on the types of seasonings to be loaded, seasoning loading information for the cooking equipment is generated.
[0194] Optionally, the allocation module 53 is further configured to:
[0195] Determine whether the second cooking type of the electronic recipes in the target electronic recipe group matches the first cooking type of the corresponding cooking device;
[0196] If there is a mismatch, the mismatched electronic recipes will be reassigned.
[0197] The cooking capability also includes a first cooking type of the cooking equipment, and the cooking conditions also include a second cooking type.
[0198] Optionally, the allocation module 53 is further configured to:
[0199] Determine whether the cooking power of the electronic recipes in the target electronic recipe group meets the preset conditions, wherein the preset conditions include the number of electronic recipes in the group whose cooking power is greater than the preset power being greater than the preset recipe threshold.
[0200] If the preset conditions are not met, the electronic recipes that do not meet the preset conditions will be reassigned.
[0201] It should be noted that other corresponding descriptions of the functional units involved in the electronic recipe distribution device provided in this application embodiment can be found by referring to... Figures 1 to 3 The corresponding descriptions in the method will not be repeated here.
[0202] Based on the above, Figures 1 to 3 Accordingly, this application also provides a storage medium storing a computer program, which, when executed by a processor, implements the above-described method. Figures 1 to 2The electronic menu distribution method shown.
[0203] Based on this understanding, the technical solution of this application can be embodied in the form of a software product. This software product can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, or portable hard drive), and includes several instructions to cause a computer device (such as a personal computer, server, or network device) to execute the methods described in the various implementation scenarios of this application.
[0204] Based on the above, Figures 1 to 3 The method shown, and Figure 4 and Figure 5 To achieve the above objectives, the present application also provides a computer device, specifically a personal computer, server, network device, etc., as shown in the virtual device embodiment. This computer device includes a storage medium and a processor; the storage medium stores a computer program; the processor executes the computer program to achieve the above-described objectives. Figures 1 to 3 The electron distribution method shown.
[0205] Optionally, the computer device may also include a user interface, a network interface, a camera, radio frequency (RF) circuitry, sensors, audio circuitry, a Wi-Fi module, etc. The user interface may include a display screen, input units such as a keyboard, etc., and optional user interfaces may also include USB interfaces, card reader interfaces, etc. The network interface may optionally include standard wired interfaces, wireless interfaces (such as Bluetooth interfaces, Wi-Fi interfaces), etc.
[0206] Those skilled in the art will understand that the computer device structure provided in this embodiment does not constitute a limitation on the computer device, and may include more or fewer components, or combine certain components, or have different component arrangements.
[0207] The storage medium may also include an operating system and a network communication module. The operating system is a program that manages and stores the hardware and software resources of a computer device, supporting the operation of information processing programs and other software and / or programs. The network communication module is used to enable communication between the various components within the storage medium, as well as communication with other hardware and software within the physical device.
[0208] From the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware platform, or it can be implemented by hardware.
[0209] The system acquires multiple electronic recipes to be assigned and the cooking capabilities of multiple cooking devices; it parses the electronic recipes to determine the cooking conditions for each recipe; and based on the cooking conditions of the electronic recipes and the cooking capabilities of the cooking devices, it assigns the electronic recipes to matching cooking devices, thus achieving automatic electronic recipe assignment.
[0210] Those skilled in the art will understand that the accompanying drawings are merely schematic diagrams of a preferred embodiment, and the modules or processes shown in the drawings are not necessarily essential for implementing this application. Those skilled in the art will understand that the modules in the apparatus of the embodiment can be distributed within the apparatus of the embodiment as described, or can be modified to be located in one or more apparatuses different from this embodiment. The modules of the above-described embodiment can be combined into one module, or further divided into multiple sub-modules.
[0211] The serial numbers in this application are for descriptive purposes only and do not represent the superiority or inferiority of any particular implementation scenario. The above disclosures are merely a few specific implementation scenarios of this application; however, this application is not limited thereto, and any variations conceived by those skilled in the art should fall within the protection scope of this application.
Claims
1. An electronic recipe dispensing method, characterized by, The method comprises: obtaining a plurality of electronic recipes to be allocated and cooking capabilities of a plurality of cooking devices, the cooking capabilities comprising seasoning dispensing capabilities of the cooking devices, the seasoning dispensing capabilities comprising loaded seasoning types and custom seasoning quantities, the loaded seasoning types being seasoning types loaded by the cooking devices, and the custom seasoning quantities being seasoning cartridge quantities of unloaded seasonings corresponding to the cooking devices; analyzing the electronic recipes to determine cooking conditions of each of the electronic recipes, the cooking conditions comprising required seasonings for cooking of the electronic recipes; based on the cooking conditions of the electronic recipes and the cooking capabilities of the cooking devices, allocating the electronic recipes to matched cooking devices, comprising: grouping the electronic recipes to obtain electronic recipe groups matched with the number of cooking devices, a total number of required seasoning types for cooking of the electronic recipes in each electronic recipe group being less than a preset number, the same electronic recipe being present in at least one electronic recipe group, and the preset number being a number of seasoning types that can be loaded by one cooking device; determining a target electronic recipe group corresponding to each of the cooking devices based on all seasoning types corresponding to the electronic recipe groups and the seasoning dispensing capabilities of the cooking devices, the loaded seasonings of the cooking devices at least including part of the all seasoning types; determining a target electronic recipe of the cooking device as an electronic recipe included in the corresponding target electronic recipe group, and determining a target seasoning type of the cooking device as all seasoning types corresponding to the target electronic recipe group; wherein the target seasoning type comprises loaded seasoning types and custom seasonings matched with the custom seasoning quantities, and the target seasoning type comprises required seasonings for cooking of the target electronic recipe; generating seasoning loading information of the cooking device based on the target seasoning type of the cooking device, and allocating the corresponding target electronic recipe to the cooking device, wherein the seasoning loading information comprises custom seasonings of the cooking device.
2. The method of claim 1, wherein, The grouping of the electronic recipes to obtain electronic recipe groups matched with the number of cooking devices comprises: sorting the electronic recipes in descending order of the number of required seasoning types for cooking of the electronic recipes; obtaining a preset number of first electronic recipes in the order of sorting, and constructing an initial electronic recipe group based on each of the first electronic recipes; determining second electronic recipes other than the first electronic recipes in the electronic recipes, and dividing the second electronic recipes into the initial electronic recipe groups to obtain the electronic recipe groups.
3. The method of claim 2, wherein, The constructing of an initial electronic recipe group based on each of the first electronic recipes comprises: if the required seasonings for cooking of the first electronic recipes do not have a containing relationship, constructing an initial electronic recipe group based on each of the first electronic recipes; If the ingredients required for cooking of each first e-menu have a containing relationship, the first e-menus with the containing relationship are divided into the same initial e-menu group, one initial e-menu group is constructed based on the remaining first e-menus, and the initial e-menu groups are constructed in sequence by sequentially obtaining new first e-menus from the sorted e-menus until the ingredients required for cooking of the e-menus in each initial e-menu group do not have a containing relationship or no new first e-menu can be obtained.
4. The method of claim 1, wherein, The generating of the ingredient loading information of the cooking device based on the target ingredient category of the cooking device comprises: In the target ingredient category of the cooking device, obtaining other ingredient categories except the loaded ingredient category of the cooking device as to-be-loaded ingredient categories; The generating of the ingredient loading information of the cooking device based on the to-be-loaded ingredient categories.
5. The method according to any one of claims 1 to 4, characterized in that, The cooking capability further comprises a first cooking type of the cooking device, and the cooking condition further comprises a second cooking type; After the determining of the target e-menu group corresponding to the cooking device, the method further comprises: determining whether the second cooking type of the e-menus in the target e-menu group matches the first cooking type of the corresponding cooking device; If not, the e-menus that do not match are re-allocated.
6. The method according to any one of claims 1 to 4, characterized in that, After the determining of the target e-menu group corresponding to the cooking device, the method further comprises: determining whether the cooking power of the e-menus in the target e-menu group meets a preset condition, wherein the preset condition comprises that the number of e-menus with a cooking power greater than a preset power in the group is greater than a preset e-menu threshold; If not, the e-menus that do not meet the preset condition are re-allocated.
7. The method according to any one of claims 1 to 4, characterized in that, After the allocating of the e-menus to the matched cooking devices, the method further comprises: setting a use permission of the e-menus in the cooking devices, wherein the use permission comprises a use validity period.
8. An electronic recipe dispensing apparatus, characterized by, The apparatus comprises: an obtaining module, configured to obtain a plurality of e-menus to be allocated and cooking capabilities of a plurality of cooking devices, wherein the cooking capability comprises an ingredient feeding capability of the cooking device, the ingredient feeding capability comprises a loaded ingredient category and a custom ingredient quantity, the loaded ingredient category is a loaded ingredient category of the cooking device, and the custom ingredient quantity is a number of ingredient boxes corresponding to unloaded ingredients of the cooking device; an analyzing module, configured to analyze the e-menus to determine cooking conditions of each e-menu, wherein the cooking condition comprises ingredients required for cooking of the e-menu; an allocating module, configured to allocate the e-menus to matched cooking devices based on the cooking conditions of the e-menus and the cooking capabilities of the cooking devices; The allocating module is further configured to: grouping the electronic recipes to obtain electronic recipe groups matching the number of cooking devices, the sum of the types of seasonings required for cooking in each electronic recipe group not exceeding a preset number, the same electronic recipe existing in at least one electronic recipe group, the preset number being the number of seasoning types that can be loaded by one cooking device; determining a target electronic recipe group corresponding to each cooking device based on all seasoning types corresponding to the electronic recipe groups and the seasoning loading capacity of the cooking device, the loaded seasonings of the cooking device at least including part of the all seasoning types; determining the target electronic recipe of the cooking device as the electronic recipe included in the corresponding target electronic recipe group, and determining the target seasoning types of the cooking device as the all seasoning types corresponding to the target electronic recipe group; wherein the target seasoning types include the loaded seasoning types and the custom seasonings matching the number of custom seasonings, and the target seasoning types include the seasonings required for cooking of the target electronic recipe; generating the seasoning loading information of the cooking device based on the target seasoning types of the cooking device, and assigning the corresponding target electronic recipe to the cooking device, wherein the seasoning loading information includes the custom seasonings of the cooking device.
9. A storage medium having stored thereon a computer program, characterized in that The computer program is executed by the processor to implement the method of any one of claims 1 to 7.
10. A computer device comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, characterized in that, The processor executes the computer program to implement the method of any one of claims 1 to 7.
Citation Information
Patent Citations
Electronic menu operation method and device, storage medium and cooking equipment
CN114690674A