Method for determining cooking sequence of multiple recipes and integrated cooking center product
By initially sorting the recipe list and inserting the recipe list, the target cooking order of multiple recipes is determined, and the equipment conflicts and time extension problems caused by confusing cooking order are solved, and an efficient cooking process and even dish taste is achieved.
Patent Information
- Application Number
- CN202411363035.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2044-09-27
AI Technical Summary
When multiple recipes are cooked simultaneously, confusing cooking sequences lead to problems such as conflict in cooking equipment, prolonging cooking time and cooking failure.
By obtaining the list of recipes entered by the user and their effect priorities, cooking equipment, cooking periods and spare periods, perform initial sorting and recipe insertion to determine the target cooking order.
It solves the problem of cooking conflict, saves cooking time, and is relatively concentrated in the production of recipes, avoiding the taste of poor due to too large differences in cooking completion time.
Smart Images

Figure CN119415798A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent cooking technology, and in particular to a method for determining a cooking sequence of multiple recipes and an integrated cooking center product. Background Art
[0002] At present, the integrated cooking center, as a kitchen appliance with multiple functions, integrates multiple appliances such as range hoods, stoves, steamers, ovens, air fryers, water-bathed stew pots and thermal lunch boxes, which can meet the needs of users to cook multiple recipes at the same time.
[0003] However, when cooking multiple recipes at the same time, the cooking order of the recipes is crucial. For users who are not skilled in cooking, if the cooking order is mixed up, it will lead to conflicts in cooking equipment, extended cooking time, user confusion, and even cooking failure.
[0004] Therefore, there is an urgent need for a method for determining the cooking order of multiple recipes. Summary of the invention
[0005] Based on this, it is necessary to provide a method for determining the cooking order of multiple recipes and an integrated cooking center product to address the above technical issues.
[0006] In a first aspect, a method for determining a cooking order of multiple recipes is provided, the method comprising:
[0007] Obtaining a recipe list input by a user and the effect priority, cooking equipment, cooking time period and free time period corresponding to each recipe, wherein the free time period is a time period during which no manual operation is required during the cooking process of the recipe;
[0008] Initially sorting the recipes according to the effect priority and cooking time period of each recipe to determine an initial cooking order;
[0009] Based on the free time periods, cooking time periods and cooking equipment of each of the recipes, recipe insertion is performed according to the initial cooking sequence to determine a target cooking sequence.
[0010] As an optional implementation manner, the recipes are initially sorted according to the effect priority and cooking time period of each recipe to determine the initial cooking order, including:
[0011] Sort the recipes from high to low according to their effect priority;
[0012] For recipes with the same effect priority, they are sorted from high to low according to the cooking time.
[0013] As an optional implementation, the inserting of recipes based on the free time periods, cooking time periods and cooking equipment of each of the recipes and according to the initial cooking sequence to determine the target cooking sequence includes:
[0014] For each of the recipes, the cooking time period of the recipe is divided into points according to the preset point interval duration;
[0015] According to the free time period and cooking time period of the recipe, the recipe is assigned points, and the point sequence corresponding to the recipe is determined;
[0016] Get the current merged point sequence and the point sequence to be inserted into the recipe;
[0017] Performing a bitwise AND operation on the sequence of points to be inserted into the recipe and the sequence of points currently merged;
[0018] Inserting the point sequence of the recipe to be inserted into the current merged point sequence according to the calculation result and the state of the cooking device of the recipe to be inserted;
[0019] The inserted point sequence is updated to the current merged point sequence, and the steps of obtaining the current merged point sequence and obtaining the point sequence of the recipe to be inserted are performed, until the insertion of each recipe is completed to obtain the final point sequence;
[0020] The cooking order of each of the recipes in the final point sequence is determined as the target cooking order.
[0021] As an optional implementation, the preset point interval is 30 seconds.
[0022] As an optional implementation, assigning points to the recipe according to the free time period and cooking time period of the recipe to determine the point sequence corresponding to the recipe includes:
[0023] Determining a manual operation time period of the recipe according to the cooking time period and the free time period;
[0024] The point value corresponding to the manual operation period is set to 1, and the point value corresponding to the idle period is set to 0, to obtain the point sequence corresponding to the recipe.
[0025] As an optional implementation, the method further includes:
[0026] In the initial cooking sequence, when the second recipe is the recipe to be inserted, the first recipe is obtained as the current merging point sequence.
[0027] As an optional implementation manner, inserting the point sequence of the recipe to be inserted into the current merged point sequence according to the calculation result and the state of the cooking device of the recipe to be inserted includes:
[0028] When there are bits in the operation result that are not 0, the sequence of points to be inserted into the recipe is right-shifted bit by bit and the bitwise AND operation is performed again until the operation results are all 0;
[0029] If there is a cooking equipment conflict in the insertion position of the recipe to be inserted, inserting the point sequence of the recipe to be inserted into the end of the current merged point sequence;
[0030] If there is no cooking equipment conflict at the insertion position of the recipe to be inserted, the current moving position of the point sequence of the recipe to be inserted is determined as the insertion position.
[0031] As an optional implementation, the effect priority includes high priority, medium priority and low priority.
[0032] As an optional implementation, the cooking equipment includes but is not limited to a steamer, an oven and a gas stove.
[0033] In a second aspect, an integrated cooking center product is provided, wherein the integrated cooking center product is used to guide a user to cook multiple recipes according to the target cooking order based on the method for determining the cooking order of multiple recipes as described in any one of the first aspect.
[0034] In a third aspect, a computer device is provided, comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, and when the processor executes the computer program, the method steps described in any one of the first aspects are implemented.
[0035] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the method steps as described in any one of the first aspects are implemented.
[0036] The present application provides a method for determining the cooking order of multiple recipes and an integrated cooking center product. The technical solution provided by the embodiments of the present application brings at least the following beneficial effects. The method includes: obtaining a recipe list input by a user and the effect priority, cooking equipment, cooking time period and free time period corresponding to each recipe, wherein the free time period is a time period that does not require human operation during the cooking process of the recipe; initially sorting the recipes according to the effect priority and cooking time period of each recipe to determine the initial cooking order; based on the free time period, cooking time period and cooking equipment of each recipe, inserting the recipes according to the initial cooking order to determine the target cooking order. The solution provided by the present application can solve the problem of cooking conflicts and save cooking time after the recipes and their cooking equipment are reasonably sorted, and the final recipes are relatively concentrated, solving the problem of poor taste caused by large differences in the cooking completion time of multiple recipes.
[0037] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0039] Figure 1 A flowchart of a method for determining a cooking order of multiple recipes provided in an embodiment of the present application;
[0040] Figure 2 A flowchart of a method for determining an initial cooking sequence provided in an embodiment of the present application;
[0041] Figure 3 A flowchart of a method for determining an initial cooking sequence provided in an embodiment of the present application;
[0042] Figure 4 A flowchart of a method for determining an initial cooking sequence provided in an embodiment of the present application;
[0043] Figure 5 A flowchart of a method for determining an initial cooking sequence provided in an embodiment of the present application;
[0044] Figure 6 A flowchart of an example of a method for determining an initial cooking sequence provided in an embodiment of the present application;
[0045] Figure 7 A schematic diagram of inserting a menu point sequence provided in an embodiment of the present application;
[0046] Figure 8 A schematic diagram showing the completion of recipe insertion provided in an embodiment of the present application;
[0047] Fig. 9 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0049] The following will describe in detail a method for determining a cooking order of multiple recipes provided in an embodiment of the present application in conjunction with a specific implementation manner. Figure 1 A flowchart of a method for determining a cooking order of multiple recipes provided in an embodiment of the present application, such as Figure 1 As shown, the specific steps are as follows:
[0050] Step 101, obtaining a recipe list input by a user and the effect priority, cooking equipment, cooking time period and free time period corresponding to each recipe, wherein the free time period is a time period that does not require manual operation during the cooking process of the recipe.
[0051] During implementation, the system can obtain a list of recipes that need to be cooked input by the user, and obtain necessary information about the recipes, including effect priority, cooking equipment, cooking time period, free time period, and recipe name. Taking the integrated cooking center product as an example, the cooking equipment is divided into a left gas stove, a right gas stove, a steamer, and an oven. Users can customize the effect priority, cooking equipment, cooking time period, and free time period of each recipe based on personal preferences and experience. If the user has not defined the cooking information, the system can provide the user with recommended cooking information for each recipe based on the recipe list input by the user. Table 1 is an example table of a recipe list and cooking information provided in an embodiment of the present application, as shown in Table 1:
[0052] Table 1
[0053] Recipe Name Effect Priority Cooking time Cooking Equipment Free time Fried meat with onion Low 00:00:00-00:07:00 Left stove -- Fried Pork with Potatoes middle 00:00:00-00:09:00 Left stove -- Stir-fried Shanghai Greens middle 00:00:00-00:06:00 Right stove -- Cumin Grilled Lamb Chops high 00:00:00-00:26:00 oven 00:06:00-00:25:00 Shrimp and Mushroom Soup high 00:00:00-00:11:00 Right stove -- Steamed broccoli middle 00:00:00-00:15:00 Steamer 00:06:00-00:13:00
[0054] The free time period is the time period during which no manual operation is required in the cooking process of the recipe. In Table 1, onion fried meat, potato fried pork shreds, stir-fried Shanghai greens, and shrimp and mushroom soup are recipes that require users to continue to cook manually. For example, onion fried meat requires users to continue to stir-fry, add seasonings, and observe the color of the recipe. Therefore, these recipes have no free time period. In the cooking process of cumin roasted lamb chops and steamed broccoli, the main cooking process is completed by cooking equipment such as ovens and steamers. During the cooking time period of the cooking equipment, users can perform the cooking of other recipes. For example, in the cooking process of cumin roasted lamb chops, users can set the time period for preheating the oven, taking and processing ingredients, putting ingredients into the oven, and taking the dishes out of the oven after cooking. Considering that the machine step operation takes time, the time margin can also be preset, such as 1 minute. Therefore, the time periods of 00:00:00-00:06:00 and 00:25:00-00:26:00 can be used as manual operation periods, and no manual operation is required during the time period of 00:06:00-00:25:00.
[0055] Step 102: initially sorting the recipes according to the effect priority and cooking time of each recipe to determine the initial cooking order.
[0056] In implementation, the effect priority represents the user's preference for recipe cooking, and the cooking period can indicate the cooking time of the recipe. The system can initially sort the recipes according to the effect priority and cooking period of each recipe and determine the initial cooking order. The initial cooking order conforms to the user's daily cooking habits, that is, recipes preferred by the user and with the longest cooking time should be cooked first.
[0057] As an optional implementation, Figure 2 A flowchart of a method for determining an initial cooking sequence provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, in step 102, the recipes are initially sorted according to the effect priority and cooking time of each recipe, and the specific steps of determining the initial cooking order are as follows:
[0058] Step 201, sorting the recipes from high to low according to their effect priority.
[0059] In implementation, Table 2 is another example table of recipe list and cooking information provided in an embodiment of the present application, as shown in Table 2:
[0060] Table 2
[0061] Recipe Name Effect Priority Cooking time Cooking Equipment Free time Cumin Grilled Lamb Chops high 00:00:00-00:26:00 oven 00:06:00-00:25:00 Shrimp and Mushroom Soup high 00:00:00-00:11:00 Right stove -- Stir-fried Shanghai Greens middle 00:00:00-00:06:00 Right stove -- Fried Pork with Potatoes middle 00:00:00-00:09:00 Left stove -- Steamed broccoli middle 00:00:00-00:15:00 Steamer 00:06:00-00:13:00 Fried meat with onion Low 00:00:00-00:07:00 Left stove --
[0062] The system can sort the recipes according to their priority. The effect priority can be divided into three levels: low, medium and high, or into multiple levels, such as 1, 2, 3... The priority increases in sequence. The effect priority can indicate the user's preference for the recipe.
[0063] Step 202: sort recipes with the same effect priority from high to low according to the cooking time period.
[0064] In implementation, Table 3 is another example table of recipe list and cooking information provided in an embodiment of the present application, as shown in Table 3:
[0065] Table 3
[0066] Recipe Name Effect Priority Cooking time Cooking Equipment Free time Cumin Grilled Lamb Chops high 00:00:00-00:26:00 oven 00:06:00-00:25:00 Shrimp and Mushroom Soup high 00:00:00-00:11:00 Right stove -- Steamed broccoli middle 00:00:00-00:15:00 Steamer 00:06:00-00:13:00 Fried Pork with Potatoes middle 00:00:00-00:09:00 Left stove -- Stir-fried Shanghai Greens middle 00:00:00-00:06:00 Right stove -- Fried meat with onion Low 00:00:00-00:07:00 Left stove --
[0067] For recipes with the same effect priority, the system can re-sort them according to the length of the cooking period. Recipes with longer cooking time have higher priority, thus obtaining the initial cooking order.
[0068] Step 103, based on the free time period, cooking time period and cooking equipment of each recipe, recipe insertion is performed according to the initial cooking sequence to determine the target cooking sequence.
[0069] In practice, based on the free time periods, cooking time periods, and cooking equipment of each recipe, the system can insert recipes according to the initial cooking sequence, thereby optimizing the order of recipes in the initial cooking sequence and determining the target cooking sequence. By inserting recipes, free time periods are avoided from being wasted, and the total cooking time is shortened.
[0070] As an optional implementation, Figure 3 A flowchart of a method for determining an initial cooking sequence provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, in step 103, based on the free time periods, cooking time periods and cooking equipment of each recipe, recipe insertion is performed according to the initial cooking sequence, and the specific steps of determining the target cooking sequence are as follows:
[0071] Step 301: for each recipe, the cooking time period of the recipe is divided into points according to the preset point interval duration.
[0072] In implementation, the preset point interval duration can be a fixed time period, such as 30 seconds, 1 minute, etc. The cooking period of the recipe is divided according to the preset time interval to obtain multiple continuous time points. For example, if the cooking period of a recipe is 00:00:00-00:10:00, and the preset point interval is 30 seconds, then the cooking period of the recipe can be divided into 20 points. This division method helps the subsequent calculation process to ensure that the cooking steps of each recipe can be accurately allocated to the corresponding time period, which is especially suitable for products such as integrated cooking centers where cooking equipment is shared.
[0073] Preferably, the preset point interval duration is 30 seconds.
[0074] Step 302: assign points to the recipe according to the free time period and cooking time period of the recipe, and determine the point sequence corresponding to the recipe.
[0075] In practice, point assignment is performed based on manual operation and equipment occupancy. Usually, the system can distinguish between time periods that require manual operation and idle time periods that do not require manual operation through point assignment. This assignment process allows the cooking task of each recipe to be identified by a point sequence, helping to identify equipment occupancy and manual intervention periods during the cooking process, thereby facilitating subsequent calculation processing.
[0076] As an optional implementation, Figure 4 A flowchart of a method for determining an initial cooking sequence provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, in step 302, the specific steps of assigning points to the recipe according to the free time period and cooking time period of the recipe and determining the point sequence corresponding to the recipe are as follows:
[0077] Step 401, determining the manual operation time period of the recipe according to the cooking time period and the free time period.
[0078] In practice, the cooking period of a recipe can be divided into two parts: the period that requires manual intervention and the period that does not require manual intervention (i.e., the idle period). The manual operation period usually involves operations such as cooking preparation, putting in equipment, turning or adjusting the temperature. The idle period is the part when the equipment is running without manual intervention. The division of these two periods helps to clarify the status of each time period in the point sequence and ensure the reasonable arrangement of resources.
[0079] Step 402, setting the point value corresponding to the manual operation period to 1, and setting the point value corresponding to the idle period to 0, to obtain the point sequence corresponding to the recipe.
[0080] In the implementation, the manual operation period in the cooking process is marked as 1, and the idle period is marked as 0. The value of each point corresponds to the state of the cooking process. The point value 1 indicates that manual intervention is required at this time point, while the point value 0 indicates that the equipment is running automatically and no manual intervention is required. Through this assignment method, the entire cooking process can be converted into a point sequence, which is convenient for comparison and calculation with the point sequences of other recipes to avoid time conflicts. For example: For the steamed broccoli recipe, its cooking period is 00:00:00-00:15:00, and the preset point interval is 30 seconds. According to the manual operation period and idle period determined in step 401, the point sequence can be expressed as: the first 6 minutes require manual operation, the point value is 1111111111111, the next 7 minutes are the equipment cooking time, i.e. the idle period, the point value is 000000000000000, and the last 2 minutes are manual operation, the point value is 1111. Therefore, the complete point sequence of steamed broccoli is 1111111111111000000000000001111.
[0081] Step 303, obtaining the current merged point sequence, and obtaining the point sequence to be inserted into the recipe.
[0082] In practice, merging point sequences refers to the time point allocation between the processed recipe point sequences and their subsequent cooking tasks. The current merged point sequence represents the usage of existing equipment and manual operation resources. The point sequence of the recipe to be inserted refers to the cooking period corresponding to the recipe that has not yet been inserted. In order to prevent resource conflicts (such as equipment being used by multiple dishes at the same time), the point sequence of each recipe must be inserted step by step to ensure a reasonable time arrangement.
[0083] As an optional implementation, in the initial cooking sequence, when the second recipe is a recipe to be inserted, the first recipe is obtained as the current merge point sequence.
[0084] In implementation, taking Table 3 as an example, when shrimp and mushroom soup is used as the recipe to be inserted, since there is no merged point sequence before it, the system can use the point sequence corresponding to the first recipe, namely cumin grilled lamb chops, as the current merged point sequence.
[0085] Step 304: performing a bitwise AND operation on the sequence of points to be inserted into the recipe and the currently merged sequence of points.
[0086] In implementation, the bitwise AND operation is used to detect whether there is a time conflict between the recipe to be inserted and the current merged point sequence, especially to detect equipment usage conflicts or manual operation conflicts. The rule of the bitwise AND operation is: if the point values of the same position of the two are all 1, it means that there is a conflict in the time period and they cannot be performed at the same time. If the results of all bitwise AND operations are 0, it means that there is no conflict between the two and they can be safely inserted. For example: the point sequences of the two recipes are 11110000000011 and 1111111, respectively. The result of the bitwise AND operation is 11110000000000, that is, there is a conflict in the first 4 points, which means that recipe 2 cannot be inserted in the current time period.
[0087] Step 305: insert the point sequence of the recipe to be inserted into the current merged point sequence according to the calculation result and the state of the cooking equipment of the recipe to be inserted.
[0088] In implementation, the system may insert the point sequence of the recipe to be inserted into the current merged point sequence according to the calculation result and the state of the cooking equipment of the recipe to be inserted.
[0089] As an optional implementation, Figure 5 A flowchart of a method for determining an initial cooking sequence provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, in step 305, the specific steps of inserting the point sequence of the recipe to be inserted into the current merged point sequence according to the calculation result and the state of the cooking device of the recipe to be inserted are as follows:
[0090] Step 501, when there are bits in the operation result that are not 0, the sequence of points to be inserted into the recipe is right-shifted bit by bit and the bitwise AND operation is performed again until the operation results are all 0.
[0091] In implementation, if the result of the bitwise AND operation shows that there is a conflict, it is necessary to right-shift the sequence of points to be inserted to find a suitable insertion position to avoid resource conflicts. If the results of the bitwise AND operation are all 0, it means that there is no conflict, and the sequence of points to be inserted into the recipe can be directly merged into the current merged sequence of points. For example: the current merged sequence of points is 111100000000011, the sequence of points to be inserted into the recipe is 1111111, and the result of the bitwise AND operation is 111100000000000, that is, there is a conflict in the first 4 points. The result of shifting the sequence of points to be inserted into the recipe is 1111111 by one position, and the result is 111000000000000, that is, there is a conflict in the first 3 points. Repeat the right shift and operation steps. When the sequence of points to be inserted into the recipe is right shifted four times, the result is 000000000000000.
[0092] Step 502: If there is a cooking equipment conflict in the insertion position of the recipe to be inserted, the point sequence of the recipe to be inserted is inserted to the end of the current merged point sequence.
[0093] In practice, there is also a situation where there is a device conflict in the insertion position of the recipe to be inserted. For example, another recipe can be inserted in the free time period of a recipe, and the result of the bitwise AND operation is 0. However, since both recipes use the same cooking device, there is a device conflict. The point sequence of the recipe to be inserted can be inserted to the end of the current merged point sequence, that is, the cooking device must be unoccupied before the recipe to be inserted can be cooked. For example: the current merged point sequence is 11110000000011, and cooking device A is in an occupied state. The recipe to be inserted also uses cooking device A, and its point sequence is 11000011. According to the result of the bitwise AND operation, the point sequence of the recipe to be inserted is shifted right four times, and the result of the operation is 00000000000000. However, since cooking device A is in an occupied state, the system inserts the point sequence to be inserted into the recipe to the end of the current merged point sequence, that is, 1111000000001111000011, instead of 11111100001111.
[0094] Step 503: If there is no cooking equipment conflict at the insertion position of the recipe to be inserted, the current moving position of the point sequence of the recipe to be inserted is determined as the insertion position.
[0095] In implementation, if there is no cooking equipment conflict at the insertion position of the recipe to be inserted, the system determines the current moving position of the point sequence of the recipe to be inserted as the insertion position. For example: the current merged point sequence is 11110000000011, and cooking equipment A is in an occupied state. The recipe to be inserted also uses cooking equipment B, and its point sequence is 11000011. According to the result of the bitwise AND operation, the point sequence of the recipe to be inserted is shifted right four times, and the operation result is 00000000000000. Since cooking equipment B is in an occupied state, the system inserts the point sequence of the recipe to be inserted to the current moving position, that is, 11111100001111.
[0096] Step 306, updating the inserted point sequence to the current merged point sequence, and executing the steps of obtaining the current merged point sequence and obtaining the point sequence of the recipe to be inserted, until the insertion of each recipe is completed to obtain the final point sequence.
[0097] In practice, after a recipe is inserted, the merged point sequence will be updated to reflect the cooking time occupation of all current recipes. Then the point sequence of the next recipe to be inserted is obtained, and the aforementioned insertion process is repeated until the point sequences of all recipes are inserted, generating the final merged point sequence, i.e., the final point sequence. After merging the previous recipes, the current merged point sequence is updated to 11111100001111, and then the subsequent recipes to be inserted will be inserted according to the same steps, and finally a complete merged point sequence is generated, covering the cooking tasks of all recipes.
[0098] Step 307: determine the cooking order of each recipe in the final point sequence as the target cooking order.
[0099] In practice, the final point sequence reflects the temporal distribution of cooking tasks for all recipes. By analyzing this point sequence, the final cooking order of each recipe can be determined, as well as when manual operations or equipment use are performed, thereby optimizing the cooking process.
[0100] As an optional implementation, Figure 6 A flowchart of an example of a method for determining an initial cooking sequence provided in an embodiment of the present application is shown in FIG. Figure 6 As shown, the specific steps are as follows:
[0101] Step 601, obtain a recipe list and recipe information, the recipe information including: effect priority, cooking equipment, cooking time period and free time period.
[0102] Step 602: sort the recipe list according to effect priority.
[0103] Step 603, sort the recipe list twice according to the cooking time period to determine the initial cooking order.
[0104] Step 604, arranging the first recipe in the initial cooking sequence and the corresponding cooking equipment.
[0105] Step 605, insert each recipe in sequence according to the initial cooking order.
[0106] Step 606, determine whether the device status is idle.
[0107] If yes, execute step 607 , if no, execute step 608 .
[0108] Step 607, determine whether the operations conflict.
[0109] If yes, execute step 609 , if no, execute step 610 .
[0110] Step 608, wait for the recipe to be cooked and continue inserting.
[0111] Step 609: continue inserting the site offset, and then execute step 608.
[0112] Step 610, determining whether all recipe insertions are completed.
[0113] If yes, then end; if no, execute step 605.
[0114] As an optional implementation, the following is another specific implementation provided in the embodiments of the present application: Figure 7 A schematic diagram of inserting a menu point sequence provided in an embodiment of the present application, Figure 8 The schematic diagram of the recipe insertion completed in the embodiment of the present application is as follows:
[0115] The initial recipe sequence includes three recipes, namely, grilled lamb chops with cumin, shrimp and mushroom soup, steamed broccoli, stir-fried pork with potatoes, stir-fried Shanghai greens, and stir-fried pork with onions. The cooking information is shown in Table 3. The cooking time period of each recipe is divided into points according to the point interval of 30 seconds. The point value corresponding to the time period that requires manual operation is set to 1, and the point value corresponding to the time period that does not require manual operation is set to 0. The point sequence of each recipe is as follows: Figure 7As shown. In the point sequence of cumin grilled lamb chops, the dot sequence of shrimp and mushroom soup can be inserted between 00:06:00-00:25:00, and the cooking equipment of cumin grilled lamb chops and shrimp and mushroom soup does not conflict, thus obtaining a merged dot sequence. When the dot sequence of steamed broccoli is shifted to the right to 00:17:00, the calculation results are all 0. At the same time, the cooking equipment for steamed broccoli is a steamer, which is different from the oven that is currently occupied, so steamed broccoli can be inserted. Potatoes with shredded pork, stir-fried Shanghai greens, and onions with meat are all manually operated periods. Therefore, operation conflicts will occur. They can only be inserted in sequence at the end of the current merged sequence to ensure that the calculation results are all 0, and the final point sequence and the precise start time of each recipe in the cooking process can be obtained (such as Figure 8 Following the target cooking sequence can ensure efficient cooking of multiple recipes.
[0116] The embodiment of the present application provides a method for determining the cooking order of multiple recipes. The technical solution provided by the embodiment of the present application brings at least the following beneficial effects. The method includes: obtaining a recipe list input by a user and the effect priority, cooking equipment, cooking period and free time corresponding to each recipe, wherein the free time is a time period that does not require human operation during the cooking process of the recipe. The recipes are initially sorted according to the effect priority and cooking period of each recipe to determine the initial cooking order. Based on the free time period, cooking period and cooking equipment of each recipe, the recipes are inserted according to the initial cooking order to determine the target cooking order. The solution provided by the present application can solve the problem of cooking conflicts and save cooking time after the recipes and their cooking equipment are reasonably sorted, and the final recipes are relatively concentrated, solving the problem of poor taste caused by large differences in the cooking completion time of multiple recipes.
[0117] It should be understood that although Figures 1 to 6 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figures 1 to 6 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0118] It can be understood that the same / similar parts between the various embodiments of the above method in this specification can refer to each other, and each embodiment focuses on the differences from other embodiments. For related points, please refer to the description of other method embodiments.
[0119] The embodiment of the present application also provides an integrated cooking center product, which is used to guide the user to cook multiple recipes according to a target cooking order based on a method for determining a cooking order for multiple recipes.
[0120] For the specific definition of the integrated cooking center product, please refer to the definition of the method for determining the cooking order of multiple recipes in the above text, which will not be repeated here. Each module in the above integrated cooking center product can be implemented in whole or in part by software, hardware and their combination. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0121] In one embodiment, a computer device is provided, such as Fig. 9 As shown, it includes a memory and a processor, the memory stores a computer program that can be run on the processor, and the processor implements the method steps of the method for determining the cooking order of multiple recipes when executing the computer program.
[0122] In one embodiment, a computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the method for determining a cooking order of multiple recipes.
[0123] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0124] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0125] It should also be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data for analysis, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0126] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0127] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0128] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for determining a cooking order of multiple recipes, characterized in that: The method comprises: Obtaining a recipe list input by a user and the effect priority, cooking equipment, cooking time period and free time period corresponding to each recipe, wherein the free time period is a time period during which no manual operation is required during the cooking process of the recipe; Initially sorting the recipes according to the effect priority and cooking time period of each recipe to determine an initial cooking order; Based on the free time periods, cooking time periods and cooking equipment of each of the recipes, recipe insertion is performed according to the initial cooking sequence to determine a target cooking sequence.
2. The method according to claim 1, characterized in that The step of initially sorting the recipes according to the effect priority and cooking time period of each recipe to determine the initial cooking order includes: Sort the recipes from high to low according to their effect priority; For recipes with the same effect priority, they are sorted from high to low according to the cooking time.
3. The method according to claim 1, characterized in that The method of inserting recipes based on the free time periods, cooking time periods and cooking equipment of each recipe and according to the initial cooking sequence to determine the target cooking sequence includes: For each of the recipes, the cooking time period of the recipe is divided into points according to the preset point interval duration; According to the free time period and cooking time period of the recipe, the recipe is assigned points, and the point sequence corresponding to the recipe is determined; Get the current merged point sequence and the point sequence to be inserted into the recipe; Performing a bitwise AND operation on the sequence of points to be inserted into the recipe and the sequence of points currently merged; Inserting the point sequence of the recipe to be inserted into the current merged point sequence according to the calculation result and the state of the cooking device of the recipe to be inserted; The inserted point sequence is updated to the current merged point sequence, and the steps of obtaining the current merged point sequence and obtaining the point sequence of the recipe to be inserted are performed, until the insertion of each recipe is completed to obtain the final point sequence; The cooking order of each of the recipes in the final point sequence is determined as the target cooking order.
4. The method according to claim 3, characterized in that The preset point interval duration is 30 seconds.
5. The method according to claim 3, characterized in that: The step of assigning points to the recipe according to the free time period and the cooking time period of the recipe and determining the point sequence corresponding to the recipe includes: Determining a manual operation time period of the recipe according to the cooking time period and the free time period; The point value corresponding to the manual operation period is set to 1, and the point value corresponding to the idle period is set to 0, to obtain the point sequence corresponding to the recipe.
6. The method according to claim 5, characterized in that The method further comprises: In the initial cooking sequence, when the second recipe is the recipe to be inserted, the first recipe is obtained as the current merging point sequence.
7. The method according to claim 5, characterized in that The step of inserting the point sequence of the recipe to be inserted into the current merged point sequence according to the calculation result and the state of the cooking device of the recipe to be inserted includes: When there are bits in the operation result that are not 0, the sequence of points to be inserted into the recipe is right-shifted bit by bit and the bitwise AND operation is performed again until the operation results are all 0; If there is a cooking equipment conflict in the insertion position of the recipe to be inserted, inserting the point sequence of the recipe to be inserted into the end of the current merged point sequence; If there is no cooking equipment conflict at the insertion position of the recipe to be inserted, the current moving position of the point sequence of the recipe to be inserted is determined as the insertion position.
8. The method according to claim 1, characterized in that The effect priorities include high priority, medium priority and low priority.
9. The method according to claim 1, characterized in that: The cooking equipment includes but is not limited to a steamer, an oven and a gas stove.
10. An integrated cooking center product, characterized in that: The integrated cooking center product is used to guide the user to cook multiple recipes according to the target cooking sequence according to the method for determining the cooking sequence of multiple recipes as described in any one of claims 1 to 9.
Citation Information
Patent Citations
Multi-menu combined cooking control method and system
CN104932903A
Cooking machine operation interface capable of compiling menu for realizing personalized cooking skill
CN115248646A