Food material cooking method and device, oven, storage medium and program product
By obtaining the name of the dish and its corresponding ingredient cooking requirements in the oven, and determining the cooking strategy based on the cooking parameters of the oven, the problem of complex operation and poor cooking effect of the existing oven is solved, and intelligent cooking functions and a higher user experience are achieved.
Patent Information
- Application Number
- CN202411387183.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2025-01-24
AI Technical Summary
The existing oven lacks intelligent cooking functions, resulting in low operational convenience and poor cooking effect of ingredients.
By obtaining the dish name, match the cooking requirements of the corresponding ingredients, and determine the cooking strategy of the ingredients according to the cooking parameters of the target oven, and control the oven to run according to the strategy.
The oven can intelligently plan the cooking strategy according to the dishes, which improves the convenience of operation and the cooking effect of ingredients, and enhances the user experience.
Smart Images

Figure CN119356110A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of food cooking, and in particular to a food cooking method, device, oven, storage medium and program product. Background Art
[0002] An oven is a sealed appliance used to cook food. Current ovens generally only have heating and timing functions. When users use ovens to cook food, they can usually only adjust the heating temperature and heating time based on experience, and there is a lack of intelligent cooking functions. As a result, making a dish may require users to observe multiple times, and during the cooking process, they need to manually adjust the heating temperature and heating time multiple times, resulting in low operational convenience and may result in poor cooking results. Summary of the invention
[0003] In view of the technical problems that the oven lacks intelligent cooking functions, resulting in low operating convenience and poor food cooking effect, the present invention is proposed to provide a food cooking method, device, oven, storage medium and program product that overcome the above problems or at least partially solve the above problems.
[0004] Based on the first aspect of the present invention, a method for cooking ingredients is provided, the method comprising:
[0005] Get at least one dish name;
[0006] Match the cooking requirements of the ingredients corresponding to the names of the dishes;
[0007] Determine the cooking strategy for cooking ingredients corresponding to all dishes according to the oven cooking parameters of the target oven and the cooking requirements of ingredients corresponding to the names of the dishes;
[0008] In response to the food cooking instruction, the target oven is controlled to operate according to the food cooking strategy.
[0009] In an optional invention, the food cooking requirements include at least a preset cooking temperature condition and a preset cooking time, and the oven cooking parameters include at least a cooking mode and a cooking capacity;
[0010] The step of determining the cooking strategies for cooking ingredients corresponding to all dishes based on the oven cooking parameters of the target oven and the cooking requirements for ingredients corresponding to the names of the dishes comprises:
[0011] Determine the cooking mode of ingredients for each dish name according to the preset cooking temperature conditions of each dish and the cooking temperature range associated with the cooking mode;
[0012] According to the ingredient cooking mode and cooking capacity, the dish names are divided to determine at least one ingredient cooking batch, wherein each ingredient cooking batch includes at least one dish;
[0013] According to the preset cooking time and ingredient cooking mode of all the dish names in each ingredient cooking batch, the ingredient cooking strategy corresponding to cooking all the dishes is determined.
[0014] An optional invention content, the method of determining the cooking mode of ingredients for each dish name based on the preset cooking temperature conditions of each dish and the cooking temperature range associated with the cooking mode includes:
[0015] The cooking temperature range associated with the cooking mode includes a cooking mode with a preset cooking temperature condition of the dish as the ingredient cooking mode corresponding to the dish name.
[0016] An optional invention content, dividing the dish names according to the ingredient cooking mode and cooking capacity to determine at least one ingredient cooking batch includes:
[0017] According to the ingredient cooking mode, the dish names are divided to obtain at least one cooking category, wherein the ingredient cooking modes corresponding to the dish names in different cooking categories are different;
[0018] According to the cooking capacity and the preset occupied capacity associated with the dish name in each cooking category, the dish name in each cooking category is divided to obtain at least one ingredient cooking batch.
[0019] In an optional embodiment of the invention, the method further comprises:
[0020] According to the cooking capacity, the placement positions of the ingredients associated with each of the cooking batches of the ingredients are planned.
[0021] In an optional embodiment of the invention, the method further comprises:
[0022] Providing an interactive interface, in which a dish editing control is created;
[0023] The obtaining of at least one dish name includes:
[0024] Based on triggering the editing operation of the dish editing control, at least one dish name is obtained.
[0025] In an optional invention, obtaining at least one dish name includes:
[0026] Get at least one dish image;
[0027] Each of the dish images is input into a preset dish classification model to perform dish recognition, and the dish name corresponding to each of the dish images is determined.
[0028] In an optional invention, the method further includes a model training step of the dish classification model, and the model training step includes:
[0029] Acquire a plurality of sample dish images, wherein the plurality of sample dish images include dish images associated with all preset dish names;
[0030] Inputting the sample dish images into a dish classification model for dish recognition, and determining the dish name corresponding to each of the sample dish images;
[0031] Adjusting the model parameters of the dish classification model according to the loss function value between the dish name and the real dish name of the sample dish image;
[0032] When the loss function value meets the preset training conditions, a trained dish classification model is obtained.
[0033] In an optional embodiment of the invention, the method further comprises:
[0034] Providing an interactive interface, displaying the food cooking strategy in the interactive interface, and creating a strategy editing control;
[0035] Based on triggering the editing operation of the policy editing control, obtaining cooking adjustment parameters;
[0036] The food cooking strategy is updated according to the cooking adjustment parameters.
[0037] Based on the second aspect of the present invention, there is also provided a food cooking device, the device comprising:
[0038] A name acquisition module, used to acquire at least one dish name;
[0039] The requirement matching module is used to match the cooking requirements of ingredients corresponding to each dish name;
[0040] A strategy determination module, for determining the ingredient cooking strategies corresponding to all dishes according to the oven cooking parameters of the target oven and the ingredient cooking requirements corresponding to the names of the dishes;
[0041] The strategy execution module is used to control the target oven in response to the food cooking instruction to operate according to the food cooking strategy.
[0042] According to the third aspect of the present invention, there is also provided an oven, comprising:
[0043] one or more processors;
[0044] Memory;
[0045] One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute any of the methods described in the above invention.
[0046] Based on the fourth aspect of the present invention, a computer-readable storage medium is further provided, storing a computer program used in conjunction with an oven, wherein the computer program can be executed by a processor to perform any of the methods described in the above invention.
[0047] Based on the fifth aspect of the present invention, a computer program product is also provided, comprising a computer program / computer executable instructions, characterized in that the computer program / computer executable instructions, when executed by a processor in an oven, implements any of the methods described in the above invention contents.
[0048] Compared with the prior art, the present invention includes first obtaining at least one dish name, and then matching the ingredient cooking requirements corresponding to each of the dish names. Then, based on the oven cooking parameters of the target oven and the ingredient cooking requirements corresponding to each of the dish names, determine the ingredient cooking strategy corresponding to all the dishes, and display it. Finally, in response to the ingredient cooking instruction, control the target oven to operate according to the ingredient cooking strategy. Therefore, according to the ingredient cooking requirements corresponding to multiple dishes, the ingredient cooking strategy for the target oven to cook the dishes can be planned. The oven can complete the automatic cooking of all dishes according to the ingredient cooking strategy. As a result, the oven can have the function of intelligent cooking according to the dishes, and improve the convenience of operation and the ingredient cooking effect, thereby enhancing the user experience.
[0049] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] By reading the detailed description of the preferred embodiment below, various other advantages and benefits will become clear to those of ordinary skill in the art. The accompanying drawings are only used for the purpose of illustrating the preferred embodiment and are not considered to be limitations of the present invention. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings.
[0051] In the attached picture:
[0052] Figure 1It is a schematic diagram of the steps of a method for cooking food provided by an embodiment of the present invention;
[0053] Figure 2 It is a schematic diagram of the steps of another method for cooking food provided by an embodiment of the present invention;
[0054] Figure 3 It is a flowchart of a model training step provided by an embodiment of the present invention;
[0055] Figure 4 It is a structural block diagram of a food cooking device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0056] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.
[0057] An oven is a sealed appliance used to cook food. Current ovens generally only have heating and timing functions. When users use ovens to cook food, they can usually only adjust the heating temperature and heating time based on experience, and there is a lack of intelligent cooking functions. As a result, making a dish may require users to observe multiple times, and during the cooking process, they need to manually adjust the heating temperature and heating time multiple times, resulting in low operational convenience and may result in poor cooking results.
[0058] Based on the above technical problems, a food cooking method is provided, which may include first obtaining at least one dish name, and then matching the food cooking requirements corresponding to each of the dish names. Then, according to the oven cooking parameters of the target oven and the food cooking requirements corresponding to each of the dish names, the food cooking strategy corresponding to all the dishes is determined and displayed. Finally, in response to the food cooking instruction, the target oven is controlled to operate according to the food cooking strategy. Therefore, according to the food cooking requirements corresponding to multiple dishes, the food cooking strategy for the target oven to cook the dishes can be planned. The oven can complete the automatic cooking of all dishes according to the food cooking strategy. As a result, the oven can have the function of intelligent cooking according to the dishes, and improve the convenience of operation and the food cooking effect, thereby improving the user experience.
[0059] The following embodiments of the invention can be applied to an oven terminal or a server, and no further limitation is given here. The server communicates with the oven terminal, and the server can be one of the following: a cloud server and a local server. The cloud server is loaded in a cloud server, and the local server is loaded in a local server. For example, the local server can be a home central control device that integrates and controls multiple home appliances.
[0060] Reference Figure 1 , shows a method for cooking food provided by an embodiment of the present invention, the method may include:
[0061] S101. Obtain at least one dish name.
[0062] In the embodiment of the present invention, the dish name refers to the name of the dish after the ingredients are cooked. The dish name can usually include the ingredients and the taste of the dish, such as yogurt potato shreds, etc.; or, the dish name can include the ingredients and the color of the dish, such as golden soup pickled fish, etc.; or, the dish name can include the ingredients + the shape of the dish, such as seafood dumplings, etc.
[0063] Therefore, after obtaining the name of the dish, the cooking requirements of the ingredients corresponding to the dish can be determined according to the name of the dish.
[0064] In some optional embodiments of the invention, the method may further include:
[0065] An interactive interface is provided, in which a dish editing control is created.
[0066] The obtaining of at least one dish name includes:
[0067] Based on triggering the editing operation of the dish editing control, at least one dish name is obtained.
[0068] In an embodiment of the present invention, an oven is provided with an interactive display screen, an interactive interface is displayed based on the interactive display screen, and a dish editing control is created in the interactive interface. The dish editing control is used by the user to perform an editing operation on the dish name, so that the name of the dish that the user wants to cook is obtained based on the triggering of the user's editing operation on the dish editing control. The number of the dish names is at least one. For example, the oven can cook one dish or multiple dishes at the same time.
[0069] In some other selected embodiments of the invention, obtaining at least one dish name includes:
[0070] Get at least one dish image;
[0071] Each of the dish images is input into a preset dish classification model to perform dish recognition, and the dish name corresponding to each of the dish images is determined.
[0072] In the embodiment of the present invention, the dish image refers to the finished product image of the dish after cooking. The method of obtaining the dish image includes but is not limited to the following methods: the user terminal forms a communication connection with the oven terminal, such as a Bluetooth connection, a communication line connection, etc., so that based on the triggering of the user's uploading operation of the dish image on the user terminal, the dish image is obtained and sent to the oven terminal, so that the oven terminal obtains the dish image. Alternatively, based on the triggering of the user's uploading operation of the dish image on the user terminal, the dish image is obtained and uploaded to the server, so that the server obtains the dish image.
[0073] In some embodiments, the dish image can be preprocessed, wherein the preprocessing may include but is not limited to image cropping, image denoising, and image enhancement, thereby improving the image quality of the preprocessed dish image and facilitating improving the recognition accuracy of the dish classification model.
[0074] In some other optional embodiments of the invention, the method for obtaining the dish name may also be: based on the triggering of the user's editing operation on the dish name of the user terminal, the dish name is generated and sent to the oven terminal or the server.
[0075] S102: Match the cooking requirements of the ingredients corresponding to the names of the dishes.
[0076] In an embodiment of the present invention, after obtaining the name of the dish, the cooking requirements of the ingredients corresponding to the name of the dish can be matched in a preset dish database. Among them, a dish association relationship between different dish names and the cooking requirements of the ingredients is created in advance, so that the dish association relationship in the dish database can be matched by the dish name, thereby obtaining the cooking requirements of the ingredients corresponding to each of the dish names. Among them, the cooking requirements of the ingredients include at least a preset cooking temperature condition and a preset cooking time. For example, the preset cooking temperature condition can be understood as the optimal temperature for cooking the dish, or the optimal temperature range, and the preset cooking time can be understood as the optimal time required to cook the dish under the preset cooking temperature condition. Those skilled in the art can pre-set the preset cooking temperature condition and the preset cooking time by searching for the cooking temperature and cooking time of the dish in other cooking applications, which is not limited in detail here.
[0077] As some preferred embodiments, in order to improve the cooking effect of ingredients, for example, some ingredients are steamed and baked at high temperature in the early stage, and slowly baked at low temperature in the later stage for a better taste. Therefore, the preset cooking temperature conditions may include N cooking temperatures, where N is an integer greater than or equal to 1. For example, the preset cooking temperature conditions may include a first cooking temperature, a second cooking temperature, ..., an Nth cooking temperature (or an Nth cooking temperature range), etc. Correspondingly, the preset cooking time may include N cooking times. For example, the preset cooking time may include a first cooking time for maintaining the first cooking temperature, a second cooking time for maintaining the second cooking temperature, ..., an Nth cooking time for maintaining the Nth cooking temperature, etc.
[0078] S103: According to the oven cooking parameters of the target oven and the ingredient cooking requirements corresponding to the names of the dishes, determine the ingredient cooking strategies corresponding to all the dishes, and display them.
[0079] In the embodiment of the present invention, the target oven refers to the oven used by the user to cook the current dish. The oven cooking parameters can be understood as relevant parameters that affect the cooking of ingredients, for example, they can include cooking modes and cooking capacity, etc., wherein different cooking modes can correspond to different cooking temperature ranges, and the cooking modes affect the cooking efficiency and cooking effect of the ingredients. The cooking capacity affects the number of dishes and cooking efficiency that the oven cooks each time. Among them, the cooking capacity is mainly related to the number of trays in the target oven and the tray capacity on each tray.
[0080] Considering that the tray capacity of the target oven is limited each time, and the temperature difference in the same period of time in the oven is small, the cooking modes of different dishes in the target oven in the same period of time need to be consistent. Therefore, the oven cooking parameters of the target oven are used as constraints, and the ingredient cooking requirements corresponding to the dish names are used to determine the ingredient cooking strategies corresponding to all dishes. The ingredient cooking strategy specifies how to adjust the cooking temperature and the cooking time at different cooking temperatures according to the time sequence on the basis of ensuring that each dish meets the ingredient cooking requirements, so as to quickly complete the cooking of all dishes.
[0081] For example, the ingredient cooking strategy includes at least a batch division strategy for ingredient cooking batches, an adjustment strategy for ingredient cooking temperatures corresponding to dishes in different ingredient cooking batches as the ingredient cooking time changes, and the like.
[0082] After the ingredient cooking strategy is determined, the ingredient cooking strategy can be displayed, so that after viewing the ingredient cooking strategy, the user can place ingredients for different dishes in batches and positions according to the ingredient cooking strategy.
[0083] In some optional implementations, the food cooking strategy can be displayed in the interactive interface. In other implementations, the food cooking strategy can be displayed on a user terminal, which is not limited here.
[0084] S104: In response to the food cooking instruction, control the target oven to operate according to the food cooking strategy.
[0085] In an embodiment of the present invention, after determining the food cooking strategy, the food cooking instruction may be monitored. The food cooking instruction may be understood as an instruction to start the oven for steaming and baking. The method further includes the step of generating the food cooking instruction, and generating the food cooking instruction may include:
[0086] Based on the user triggering the start control in the interactive interface, obtaining the cooking instructions of the ingredients; or,
[0087] Obtaining cooking instructions for ingredients based on a user triggering a start button integrated into the oven; or
[0088] Based on the user triggering the start control in the user terminal interface, the cooking instructions of the ingredients are obtained.
[0089] When the cooking instruction is obtained, it can be determined that the user has put the first batch of ingredients into the oven and has closed the oven door. Therefore, the target oven can be started and operated according to the cooking strategy. For example, the target oven can be operated according to the cooking temperature of the ingredients in the cooking strategy, and after the cooking time of the ingredients included in the cooking strategy is reached, the target oven is stopped. Thus, the cooking of the first batch of dishes is completed.
[0090] In the case of cooking multiple batches of dishes, the cooking instructions of the ingredients can be continuously monitored after the cooking of the previous batch of dishes is completed, so that after obtaining the cooking instructions of the ingredients, the cooking temperature and cooking time of the next batch of dishes in the cooking strategy of the ingredients can be followed to complete the cooking of the next batch of dishes, and so on, until the cooking of all batches of dishes involved in the cooking strategy of the ingredients is completed. In this way, the oven can intelligently plan cooking strategies according to multiple dishes, thereby improving the cooking efficiency of dishes and the cooking effect of ingredients.
[0091] Furthermore, the target oven can automatically adjust the temperature and cooking time according to the food cooking strategy, and the user does not need to frequently observe the cooking status of the food in the oven, nor does the user need to repeatedly adjust the temperature and cooking time, thereby improving the user's operation convenience and further enhancing the user's experience.
[0092] Reference Figure 2, shows another method for cooking ingredients provided by an embodiment of the present invention, the method may include:
[0093] S201. Obtain at least one dish name.
[0094] S202: Match the cooking requirements of the ingredients corresponding to the names of the dishes, where the cooking requirements of the ingredients at least include a preset cooking temperature condition and a preset cooking time.
[0095] In the embodiment of the present invention, the description of steps S201-S202 refers to the description of steps S101-S102.
[0096] In an optional embodiment of the invention, the method may further include a model training step of the dish classification model, and the model training step includes:
[0097] S301. Acquire a plurality of sample dish images, wherein the plurality of sample dish images include dish images associated with all preset dish names.
[0098] In the embodiment of the present invention, each sample dish image is preset with a dish name label, so that a matching relationship between the dish included in the sample dish image and the specific dish name can be established, which is convenient for subsequent model training. Among them, the multiple sample dish images include dish images associated with all preset dish names, and for each dish name, there can be multiple corresponding sample dish images. In this way, the recognition accuracy of the subsequent dish classification model can be improved while ensuring that the number of sample dish images is sufficient.
[0099] In some optional implementations, high-definition camera equipment may be used to capture or images of dishes with different dish names may be searched.
[0100] S302: Input each of the sample dish images into a dish classification model to perform dish recognition, and determine the dish name corresponding to each of the sample dish images.
[0101] In the embodiment of the present invention, each of the sample dish images is input into a dish classification model to be trained to perform dish recognition, and the dish name corresponding to each of the sample dish images is predicted.
[0102] In some implementations, before inputting the sample dish image into the dish classification model, the method further includes:
[0103] The sample dish images are preprocessed, wherein the preprocessing may include but is not limited to image cropping, image denoising, and image enhancement, thereby improving the image quality of the preprocessed sample dish images and facilitating improving the recognition accuracy of the dish classification model.
[0104] In one example, the dish classification model further includes a convolutional neural network and a classification network, and the convolutional neural network is used to extract key features of the dish in the sample dish image. The key features of the dish may include at least one of the following: shape, color, and texture.
[0105] The key features of the dish are output from the convolutional neural network and input into the classification network for classification and recognition, so as to predict the name of the dish corresponding to the current sample dish image.
[0106] S303: Adjust the model parameters of the dish classification model according to the loss function value between the dish name and the real dish name of the sample dish image.
[0107] S304: When the loss function value satisfies a preset training condition, a trained dish classification model is obtained.
[0108] In an embodiment of the present invention, after predicting the dish name each time, the model parameters of the dish classification model can be adjusted according to the loss function value between the dish name and the real dish name of the sample dish image. The preset training condition can be understood as a condition for determining that the training of the dish classification model is completed. For example, the preset training condition may include: the loss function value is less than or equal to the loss threshold.
[0109] Then, the second sample dish image is identified, and the model parameters of the dish classification model are adjusted according to the determined loss function value. Similarly, after a large number of iterations of identification and parameter adjustment steps, the loss function value satisfies the preset training conditions, and it is determined that the dish classification model training is completed.
[0110] S203: Determine a cooking mode for ingredients of each dish name according to the preset cooking temperature conditions of each dish and the cooking temperature range associated with the cooking mode.
[0111] In the embodiment of the present invention, the cooking mode of ingredients corresponding to each dish name can be determined according to the preset cooking temperature conditions of each dish and the cooking temperature interval associated with the cooking mode. For example, for the target oven, in order to facilitate temperature control, it can be divided into multiple cooking temperature intervals according to its temperature control interval, and associated with different cooking modes of ingredients.
[0112] In order to improve the cooking efficiency of multiple dishes, it is possible to plan to put multiple dishes into the target oven for cooking at the same time. In addition, the cooking modes of the ingredients of all dishes put into the target oven at the same time must be consistent. In other words, the preset cooking temperatures of the dishes put into the target oven at the same time need to be close, or have an intersection of the preset cooking temperature ranges.
[0113] Thus, the cooking temperature ranges associated with different cooking modes of the target oven can be compared with the preset cooking temperature conditions of each dish, and the cooking mode including the preset cooking temperature conditions is determined as the cooking mode of the ingredients corresponding to the dish name.
[0114] Thereby, the different preset cooking temperatures or different preset cooking temperature ranges corresponding to each dish can be unified, which is convenient for the generation of subsequent cooking strategies. For example, the preset cooking temperature corresponding to dish name A is 185 degrees Celsius, and the preset cooking temperature corresponding to dish name B is 190 degrees Celsius. The preset cooking temperature corresponding to dish name C is 220 degrees Celsius. The cooking temperature range corresponding to the Xth cooking mode of the target oven is 181 degrees Celsius-200 degrees Celsius. The cooking temperature range corresponding to the X+1th cooking mode is 201-220 degrees Celsius. The ingredient cooking modes corresponding to dish name A and dish name B are both the Xth cooking mode, and the ingredient cooking mode corresponding to dish name C is the X+1th cooking mode. In this way, the ingredient cooking modes of all dish names are determined by iteration.
[0115] S204: Divide the dish names according to the ingredient cooking mode and cooking capacity, and determine at least one ingredient cooking batch, wherein each ingredient cooking batch includes at least one dish.
[0116] In the embodiment of the present invention, the cooking capacity affects the number of dishes and cooking efficiency of the oven each time the ingredients are cooked. The cooking capacity is mainly related to the number of trays in the target oven and the tray capacity on each tray. The cooking capacity can be understood as the placement area of the ingredients in the oven, which is the accumulation of the placement areas of the ingredients on all trays in the oven.
[0117] When there are too many dishes in the same cooking mode, it can be determined whether multiple dishes in the same cooking mode can be put into the target oven at the same time according to the cooking capacity. If they can be put into the target oven at the same time, it is determined that the multiple dishes in the same cooking mode can be put into the target oven at the same time as the same cooking batch. In this way, the cumulative cooking time of multiple dishes can be reduced and the cooking efficiency can be improved.
[0118] If they cannot be put into the target oven at the same time, it is determined that the cooking capacity of the target oven is restricted, and multiple dishes need to be cooked in batches with different ingredients and put into the target oven for cooking in batches.
[0119] Therefore, in the process of dividing the cooking batches of ingredients, the names of the dishes can be divided according to the cooking modes of the ingredients to obtain at least one cooking category, wherein the cooking modes of the ingredients corresponding to the names of dishes in different cooking categories are different, and the cooking modes of the ingredients in the same cooking category remain the same. Therefore, under the constraint of the cooking temperature of the ingredients, the dishes that can be put into the target oven at the same time can be pre-divided.
[0120] Then, according to the cooking capacity and the preset occupied capacity associated with the dish name in each cooking category, the dish name in each cooking category is divided to obtain at least one ingredient cooking batch. Among them, the preset occupied capacity refers to the ingredient occupied capacity preset for the dish name. It can be determined based on the size of normal bowls required for the corresponding dish. In daily home life, 6-inch plates are mostly used for cooking, and 8-inch soup plates are mostly used for making soup. For example, for the dish name "Hot and Sour Potato Shreds", the associated preset occupied capacity may be the area corresponding to a circle with a radius of 6 inches. For another example, for the dish name "Golden Soup Pickled Fish", the associated preset occupied capacity may be the area corresponding to a circle with a radius of 8 inches. By analogy, the ingredient cooking requirements may also include the preset occupied capacity.
[0121] After the cooking categories are determined, it is determined whether the cooking capacity of the target oven can meet the requirements of cooking all dishes in each cooking category at the same time. If it is possible to cook at the same time, all the dish names in the cooking category are divided into the same ingredient cooking batch. If it is not possible to cook at the same time, all the dish names in the cooking category are divided twice according to the cooking capacity and the cumulative occupied capacity of all dishes in the cooking category to obtain multiple ingredient cooking batches.
[0122] In some embodiments, the tray capacity can be understood as the placement area of the ingredients on the tray. When considering the cooking capacity of the oven, the tray capacity needs to be considered. The tray capacity may include length capacity and width capacity. Thus, by comparing the preset occupied capacity associated with each dish with the length capacity of the tray, and comparing the preset occupied capacity associated with each dish with the width capacity of the tray, the maximum number of dishes that can be placed in the oven for simultaneous cooking under the limited conditions of the cooking capacity of the target oven can be determined.
[0123] In some optional embodiments of the invention, the placement of ingredients associated with each batch of ingredients can be planned based on the cooking capacity. For example, when planning the placement of ingredients, a placement priority can be set in advance, for example, the ingredients are preferentially placed on the upper tray or the lower tray. Thus, when determining the placement of ingredients for the first dish, the placement of ingredients for the next dish can be determined in the order of adjacent positions.
[0124] S205: Determine the ingredient cooking strategies corresponding to all the dishes according to the preset cooking times and ingredient cooking modes of all the dish names in each ingredient cooking batch.
[0125] In the embodiment of the present invention, after all ingredient cooking batches are determined, the corresponding ingredient cooking mode can be associated with all dish names in each ingredient cooking batch. And the preset cooking time corresponding to each dish, so as to generate the ingredient cooking sub-strategy of the ingredient cooking batch. And so on, the ingredient cooking sub-strategies of all ingredient cooking batches are determined.
[0126] When the placement of ingredients for each dish in each cooking batch is planned, the corresponding cooking mode can be associated with all the names of the dishes in each cooking batch, the preset cooking time corresponding to each dish, and the placement of ingredients for each dish in the target oven, so as to generate the cooking sub-strategy for the cooking batch.
[0127] In one example, all ingredient cooking sub-strategies may be arranged in descending order of cooking temperatures associated with ingredient cooking modes to form an ingredient cooking strategy with a time sequence.
[0128] In another example, all ingredient cooking sub-strategies may be arranged in descending order according to the accumulated cooking time corresponding to each ingredient cooking sub-strategy, to form an ingredient cooking strategy with a time sequence.
[0129] In another example, all ingredient cooking sub-strategies may be arranged in descending order according to the cooking capacity occupied by each ingredient cooking sub-strategy to form an ingredient cooking strategy with a time sequence.
[0130] S206: providing an interactive interface, displaying the ingredient cooking strategy in the interactive interface, and creating a strategy editing control.
[0131] S207: Acquire cooking adjustment parameters based on triggering the editing operation of the policy editing control.
[0132] S208: updating the food cooking strategy according to the cooking adjustment parameters.
[0133] In an embodiment of the present invention, the interactive interface may be provided by an oven terminal or a user terminal. The ingredient cooking strategy is displayed in the interactive interface, and a strategy editing control is created. The strategy editing control allows the user to adjust the cooking parameters involved in the ingredient cooking strategy. For example, the number of ingredients included in the same dish, the cooking time of the ingredients, the cooking temperature of the ingredients, etc. Thus, based on the triggering of the user's editing operation on the strategy editing control, the cooking adjustment parameters of the corresponding dish are obtained.
[0134] After the cooking adjustment parameters of the dish are obtained, the cooking strategy of the ingredients can be updated according to the cooking adjustment parameters. During the updating process, after the cooking adjustment parameters of a dish are adjusted, it is equivalent to updating the cooking requirements of the ingredients of the corresponding dish, so that the cooking strategy of the ingredients can be re-determined according to the cooking requirements of the updated ingredients of the dish according to the above steps S202-S206.
[0135] In some embodiments, when the method is applied to a local server or oven terminal, if the number of times the cooking adjustment parameters executed by the user for the same dish are completely consistent reaches (equal to or greater than) the parameter adjustment threshold, it can be determined that the user has a preferred ingredient cooking requirement for the dish, so that the ingredient cooking requirement for the dish can be updated according to the cooking adjustment parameter and stored in the dish database. For example, the parameter adjustment threshold can be 3 times, 4 times, 5 times, etc. Those skilled in the art can determine the specific parameter adjustment threshold based on actual test results, and no excessive restrictions are made here.
[0136] S209: In response to the food cooking instruction, control the target oven to operate according to the updated food cooking strategy.
[0137] In an embodiment of the present invention, after the final food cooking strategy is determined, food cooking instructions may be monitored. The food cooking instructions may be understood as instructions for starting an oven for steaming and baking. The method further includes a step of generating food cooking instructions, and generating the food cooking instructions may include:
[0138] Based on the user triggering the start control in the interactive interface, obtaining the cooking instructions of the ingredients; or,
[0139] Obtaining cooking instructions for ingredients based on a user triggering a start button integrated into the oven; or
[0140] Based on the user triggering the start control in the user terminal interface, the cooking instructions of the ingredients are obtained.
[0141] When the cooking instruction is obtained, it can be determined that the user has put the first batch of ingredients into the oven and has closed the oven door. Therefore, the target oven can be started and operated according to the cooking strategy. For example, the target oven can be operated according to the cooking temperature of the ingredients in the cooking strategy, and after the cooking time of the ingredients included in the cooking strategy is reached, the target oven is stopped. Thus, the cooking of the first batch of dishes is completed.
[0142] In the case of cooking multiple batches of dishes, the cooking instructions of the ingredients can be continuously monitored after the cooking of the previous batch of dishes is completed, so that after obtaining the cooking instructions of the ingredients, the cooking temperature and cooking time of the next batch of dishes in the cooking strategy of the ingredients can be followed to complete the cooking of the next batch of dishes, and so on, until the cooking of all batches of dishes involved in the cooking strategy of the ingredients is completed. In this way, the oven can intelligently plan cooking strategies according to multiple dishes, thereby improving the cooking efficiency of dishes and the cooking effect of ingredients.
[0143] Furthermore, the target oven can automatically adjust the temperature and cooking time according to the food cooking strategy, and the user does not need to frequently observe the cooking status of the food in the oven, nor does the user need to repeatedly adjust the temperature and cooking time, thereby improving the user's operation convenience and further enhancing the user's experience.
[0144] In some optional embodiments of the invention, the target oven may also be provided with a camera device and related sensors, for example, the related sensors may include a temperature sensor and a humidity sensor, etc. In the process of cooking ingredients, the oven terminal obtains the image of the cooking ingredients captured by the camera device, and obtains the related sensor data detected by the related sensors, for example, the related sensor data may include temperature sensor data, and / or humidity sensor data, etc. And the cooking ingredient image and related sensor data may be sent to the interactive interface for display. Thus, the user can understand the steaming and baking situation in the current target oven based on the interactive interface. For another example, data such as the remaining cooking time may also be displayed in the interactive interface.
[0145] In summary, an embodiment of the present invention discloses a method for cooking ingredients, which may include first obtaining at least one dish name, and then matching the ingredient cooking requirements corresponding to each of the dish names. Then, based on the oven cooking parameters of the target oven and the ingredient cooking requirements corresponding to each of the dish names, determine the ingredient cooking strategy corresponding to all the dishes, and display it. Finally, in response to the ingredient cooking instruction, control the target oven to operate according to the ingredient cooking strategy. Thus, according to the ingredient cooking requirements corresponding to multiple dishes, the ingredient cooking strategy for the target oven to cook the dishes can be planned. The oven can complete the automatic cooking of all dishes according to the ingredient cooking strategy. As a result, the oven can have the function of intelligent cooking according to the dishes, and improve the convenience of operation and the ingredient cooking effect, thereby improving the user experience.
[0146] It should be noted that, for the method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present application are not limited by the described order of actions, because according to the embodiments of the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present application.
[0147] Reference Figure 4 , shows a food cooking device provided by an embodiment of the present invention, the device may include:
[0148] The name acquisition module 401 is used to acquire at least one dish name.
[0149] The requirement matching module 402 is used to match the cooking requirements of ingredients corresponding to each dish name.
[0150] The strategy determination module 403 is used to determine the ingredient cooking strategies corresponding to all the dishes according to the oven cooking parameters of the target oven and the ingredient cooking requirements corresponding to the names of the dishes.
[0151] The strategy execution module 404 is used to control the target oven to operate according to the food cooking strategy in response to the food cooking instruction.
[0152] In an optional embodiment of the invention, the device may further include an interface display module, the interface display module being used to provide an interactive interface in which a dish editing control is created. The name acquisition module 401 is also used to acquire at least one dish name based on triggering an editing operation on the dish editing control.
[0153] In an optional embodiment of the invention, the food cooking requirements include at least a preset cooking temperature condition and a preset cooking time, and the oven cooking parameters include at least a cooking mode and a cooking capacity. The strategy determination module 403 may include:
[0154] The mode determination submodule is used to determine the cooking mode of the ingredients of each dish name according to the preset cooking temperature conditions of each dish and the cooking temperature range associated with the cooking mode.
[0155] The cooking batch determination submodule is used to classify the dish names according to the ingredient cooking mode and cooking capacity, and determine at least one ingredient cooking batch, wherein each ingredient cooking batch includes at least one dish.
[0156] The strategy determination submodule is used to determine the ingredient cooking strategy corresponding to all dishes in each ingredient cooking batch based on the preset cooking time and ingredient cooking mode of all dish names in each ingredient cooking batch.
[0157] In an optional embodiment of the invention, the mode determination submodule may also be used for:
[0158] The cooking temperature range associated with the cooking mode includes a cooking mode with a preset cooking temperature condition of the dish as the ingredient cooking mode corresponding to the dish name.
[0159] In an optional embodiment of the invention, the cooking batch determination submodule may include:
[0160] The category determination unit is used to classify the dish names according to the ingredient cooking mode to obtain at least one cooking category, wherein the ingredient cooking modes corresponding to the dish names in different cooking categories are different.
[0161] The cooking batch determination unit is used to divide the dish names in each cooking category according to the cooking capacity and the preset occupied capacity associated with the dish names in each cooking category to obtain at least one ingredient cooking batch.
[0162] In an optional embodiment of the invention, the cooking batch determination unit is further used for:
[0163] According to the cooking capacity, the placement positions of the ingredients associated with each of the cooking batches of the ingredients are planned.
[0164] In an optional embodiment of the invention, the name acquisition module 401 may include:
[0165] The image acquisition submodule is used to acquire at least one dish image.
[0166] The name determination submodule is used to input each of the dish images into a preset dish classification model for dish identification, and determine the dish name corresponding to each of the dish images.
[0167] In an optional embodiment of the invention, the device further includes a model training module for the dish classification model, and the model training module may include:
[0168] The sample image acquisition submodule is used to acquire multiple sample dish images, wherein the multiple sample dish images include dish images associated with all preset dish names.
[0169] The dish recognition submodule is used to input the sample dish images into the dish classification model to perform dish recognition and determine the dish name corresponding to each of the sample dish images.
[0170] The parameter adjustment submodule is used to adjust the model parameters of the dish classification model according to the loss function value between the dish name and the real dish name of the sample dish image.
[0171] The model determination submodule is used to obtain a trained dish classification model when the loss function value meets the preset training conditions.
[0172] In an optional embodiment of the invention, the device may further include a policy update module, and the policy update module may be used to:
[0173] An interactive interface is provided, in which the ingredient cooking strategy is displayed, and a strategy editing control is created.
[0174] Based on triggering the editing operation of the policy editing control, a cooking adjustment parameter is obtained.
[0175] The food cooking strategy is updated according to the cooking adjustment parameters.
[0176] In summary, an embodiment of the present invention provides an ingredient cooking device, which may include first obtaining at least one dish name, and then matching the ingredient cooking requirements corresponding to each of the dish names. Then, based on the oven cooking parameters of the target oven and the ingredient cooking requirements corresponding to each of the dish names, determine the ingredient cooking strategy corresponding to all the dishes and display it. Finally, in response to the ingredient cooking instruction, control the target oven to operate according to the ingredient cooking strategy. Therefore, according to the ingredient cooking requirements corresponding to multiple dishes, the ingredient cooking strategy for the target oven to cook the dishes can be planned. The oven can complete the automatic cooking of all dishes according to the ingredient cooking strategy. As a result, the oven can have the function of intelligent cooking according to the dishes, and improve the convenience of operation and the ingredient cooking effect, thereby improving the user experience.
[0177] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0178] It is easy for a person skilled in the art to think that any combination of the above embodiments is feasible, so any combination of the above embodiments is an implementation scheme of the present invention. However, due to space limitations, this specification will not describe them in detail here.
[0179] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0180] Similarly, it should be understood that in order to streamline the present invention and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the intention that the claimed invention requires more features than those expressly recited in each claim. Rather, as reflected in the claims, inventive aspects lie in less than all of the features of the individual embodiments previously disclosed. Therefore, the claims that follow the detailed description are hereby expressly incorporated into the detailed description, with each claim itself serving as a separate embodiment of the present invention.
[0181] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0182] An oven, comprising:
[0183] one or more processors;
[0184] Memory;
[0185] One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method described in the above embodiment.
[0186] A computer-readable storage medium stores a computer program used in combination with an oven, wherein the computer program can be executed by a processor to implement the method described in the above embodiment.
[0187] A computer program product comprises a computer program / computer executable instructions, wherein the computer program / computer executable instructions, when executed by a processor in an oven, can implement the method described in any one of the above-mentioned embodiments of the invention.
[0188] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0189] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0190] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0191] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0192] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0193] Finally, 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 terminal 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 terminal 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 terminal device including the elements.
[0194] The above is a detailed introduction to a food cooking method and a food cooking device provided by the present invention. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A method for cooking food, characterized in that: The method comprises: Get at least one dish name; Match the cooking requirements of the ingredients corresponding to the names of the dishes; According to the oven cooking parameters of the target oven and the ingredient cooking requirements corresponding to the names of the dishes, determine the ingredient cooking strategies corresponding to all the dishes and display them; In response to the food cooking instruction, the target oven is controlled to operate according to the food cooking strategy.
2. The food cooking method according to claim 1, characterized in that: The food cooking requirements at least include a preset cooking temperature condition and a preset cooking time, and the oven cooking parameters at least include a cooking mode and a cooking capacity; The step of determining the cooking strategies for cooking ingredients corresponding to all dishes based on the oven cooking parameters of the target oven and the cooking requirements for ingredients corresponding to the names of the dishes comprises: Determine the cooking mode of ingredients for each dish name according to the preset cooking temperature conditions of each dish and the cooking temperature range associated with the cooking mode; According to the ingredient cooking mode and cooking capacity, the dish names are divided to determine at least one ingredient cooking batch, wherein each ingredient cooking batch includes at least one dish; According to the preset cooking time and ingredient cooking mode of all the dish names in each ingredient cooking batch, the ingredient cooking strategy corresponding to cooking all the dishes is determined.
3. The food cooking method according to claim 2, characterized in that: The method of determining the cooking mode of ingredients for each dish name based on the preset cooking temperature conditions of each dish and the cooking temperature range associated with the cooking mode includes: The cooking temperature range associated with the cooking mode includes a cooking mode with a preset cooking temperature condition of the dish as the ingredient cooking mode corresponding to the dish name.
4. The food cooking method according to claim 2, characterized in that: The step of dividing the dish names according to the ingredient cooking mode and cooking capacity to determine at least one ingredient cooking batch includes: According to the ingredient cooking mode, the dish names are divided to obtain at least one cooking category, wherein the ingredient cooking modes corresponding to the dish names in different cooking categories are different; According to the cooking capacity and the preset occupied capacity associated with the dish name in each cooking category, the dish name in each cooking category is divided to obtain at least one ingredient cooking batch.
5. The food cooking method according to claim 4, characterized in that: The method further comprises: According to the cooking capacity, the placement positions of the ingredients associated with each of the cooking batches of the ingredients are planned.
6. The food cooking method according to claim 1, characterized in that: The method further comprises: Providing an interactive interface, in which a dish editing control is created; The obtaining of at least one dish name includes: Based on triggering the editing operation of the dish editing control, at least one dish name is obtained.
7. The food cooking method according to claim 1, characterized in that: The obtaining of at least one dish name includes: Get at least one dish image; Each of the dish images is input into a preset dish classification model to perform dish recognition, and the dish name corresponding to each of the dish images is determined.
8. The food cooking method according to claim 7, characterized in that: The method further comprises a model training step of the dish classification model, wherein the model training step comprises: Acquire a plurality of sample dish images, wherein the plurality of sample dish images include dish images associated with all preset dish names; Inputting the sample dish images into a dish classification model for dish recognition, and determining the dish name corresponding to each of the sample dish images; Adjusting the model parameters of the dish classification model according to the loss function value between the dish name and the real dish name of the sample dish image; When the loss function value meets the preset training conditions, a trained dish classification model is obtained.
9. The food cooking method according to claim 1, characterized in that: The method further comprises: Providing an interactive interface, displaying the food cooking strategy in the interactive interface, and creating a strategy editing control; Based on triggering the editing operation of the policy editing control, obtaining cooking adjustment parameters; The food cooking strategy is updated according to the cooking adjustment parameters.
10. A food cooking device, characterized in that: The device comprises: A name acquisition module, used to acquire at least one dish name; The requirement matching module is used to match the cooking requirements of ingredients corresponding to each dish name; A strategy determination module, used to determine the ingredient cooking strategy corresponding to all dishes according to the oven cooking parameters of the target oven and the ingredient cooking requirements corresponding to the names of the dishes; The strategy execution module is used to control the target oven in response to the food cooking instruction to operate according to the food cooking strategy.
11. An oven, characterized in that: include: one or more processors; Memory; One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method according to any one of claims 1 to 9.
12. A computer readable storage medium storing a computer program for use in conjunction with an oven, characterized in that: The computer program can be executed by a processor to implement the method according to any one of claims 1 to 9.
13. A computer program product comprising a computer program / computer executable instructions, characterized in that: The computer program / computer executable instructions, when executed by a processor in the oven, implement the method according to any one of claims 1 to 9.