Instructions for using electronic recipes, original electronic recipe files, storage media and devices

By acquiring cooking equipment information and matching target recipes, recipes of different universality levels are created, solving the compatibility problem between electronic recipes and equipment, and enabling smooth cooking and automated adjustment of the equipment.

CN114755942BActive Publication Date: 2025-11-14ZHUHAI UNICOOK TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202011589984.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-29
Publication Date
2025-11-14
Estimated Expiration
2040-12-29

AI Technical Summary

Technical Problem

The existing compatibility issues between electronic recipes and cooking equipment mean that after equipment upgrades, it is impossible to successfully use electronic recipes to cook dishes.

Method used

By acquiring the equipment information of the cooking equipment, matching its capability level, selecting the corresponding target electronic recipe, and creating recipes of different universality levels in the original recipe file, we ensure that the equipment can adaptively execute the recipe steps, including parsing and converting control parameters to ensure compatibility.

Benefits of technology

It solves the compatibility problem between electronic recipes and cooking equipment, ensuring that the equipment can execute recipes smoothly, avoiding operational errors, and improving cooking results and the equipment's automatic adjustment capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114755942B_ABST
    Figure CN114755942B_ABST
Patent Text Reader

Abstract

This invention provides a method for using electronic recipes, an original electronic recipe file, a storage medium, and a device. The method includes: acquiring equipment information of a cooking device; and acquiring a target electronic recipe matching the capability level of the cooking device from the original recipe file based on the equipment information. The original recipe file includes multiple electronic recipes with different compatibility levels. Based on the method provided by this invention, by acquiring an electronic recipe matching the capability level of the cooking device, the cooking device can smoothly use the electronic recipe to complete cooking, effectively solving the compatibility issues of electronic recipes caused by updates and iterations of cooking devices or electronic recipes, and ensuring the smooth execution of electronic recipes by the cooking device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intelligent cooking technology, and in particular to a method for using an electronic recipe, the original electronic recipe file, the storage medium, and the electronic device. Background Technology

[0002] Currently, the creation method and content format of electronic recipes largely depend on the capabilities of cooking equipment; in other words, electronic recipes are linked to the capabilities of the equipment. As the functions of cooking equipment continue to iterate, the content and format of electronic recipes may also continuously improve. At this time, compatibility issues between cooking equipment and electronic recipes can easily arise, causing errors when the equipment is upgraded and the electronic recipe is run, thus preventing the successful completion of cooking using the electronic recipe. Summary of the Invention

[0003] In view of the above problems, the present invention is proposed to provide a method for using an electronic recipe, an electronic recipe file, a storage medium, and an electronic device to overcome or at least partially solve the above problems. By acquiring an electronic recipe that matches the capability level of the cooking equipment, the cooking equipment can smoothly use the electronic recipe to complete cooking, effectively solving the compatibility problem of electronic recipes caused by the updates and iterations of cooking equipment or electronic recipes, and ensuring that the cooking equipment executes the electronic recipe smoothly.

[0004] According to a first aspect of the present invention, a method for using an electronic recipe is provided, comprising:

[0005] Obtain equipment information for cooking equipment;

[0006] Based on the device information, a target electronic recipe matching the capability level of the cooking device is obtained from the original recipe file; wherein, the original recipe file includes multiple electronic recipes with different universality levels.

[0007] Optionally, the method further includes:

[0008] Create multiple electronic recipes for the same dish with different levels of universality to form the original recipe file;

[0009] Among them, electronic recipes of different versatility levels are suitable for cooking equipment with different capabilities.

[0010] Optionally, acquiring a target electronic recipe that matches the capability level of the cooking device includes:

[0011] Based on the device information, the capability level of the cooking equipment is identified, and a target electronic recipe matching the capability level is adaptively selected from the plurality of electronic recipes; or...

[0012] Obtain the equipment capability information from the equipment information, analyze the capability reference value of the cooking equipment based on the equipment capability information, and select a target electronic recipe from the plurality of electronic recipes based on the capability reference value.

[0013] Optionally, different levels of versatility of electronic recipes have different requirements for the capabilities of cooking equipment; the higher the level of versatility of the electronic recipe, the higher the required ability of the cooking equipment to analyze the recipe.

[0014] Optionally, after acquiring the target electronic recipe that matches the capability level of the cooking device, the method further includes:

[0015] Analyze the behavioral data of the electronic recipe, which includes multiple recipe steps when running the electronic recipe;

[0016] Establish a correlation between the recipe steps in the behavioral data and the execution instruction code of the cooking equipment.

[0017] Optionally, the method further includes:

[0018] Set corresponding behavior levels according to the type of each recipe step;

[0019] Set the handling strategy for each recipe step that fails to execute, based on different behavior levels.

[0020] Optionally, the behavior level includes a high level and a normal level;

[0021] The method for handling recipe steps that fail to execute according to different behavior levels includes:

[0022] If any execution action corresponds to a high-level action, the cooking device is set to terminate the operation of the electronic recipe when the execution action fails.

[0023] If any execution behavior corresponds to a normal level, the cooking device is set to issue an abnormal prompt message and execute the execution instruction code corresponding to the next execution behavior when the execution behavior fails.

[0024] Optionally, after acquiring the target electronic recipe that matches the capability level of the cooking device, the method further includes:

[0025] The cooking device directly runs the target electronic recipe; or...

[0026] The cooking device parses and obtains the target control parameters from the target electronic recipe, and converts the target control parameters into device control parameters executable by the cooking device based on the device information; or...

[0027] The cooking device parses and obtains the execution result information from the electronic recipe, and generates the device execution parameters when the cooking device runs the electronic recipe based on the device information and the execution result information.

[0028] According to a second aspect of the present invention, an electronic recipe file is provided, the electronic recipe file comprising multiple electronic recipes with different levels of universality, the multiple electronic recipes with different levels of universality being adaptable to a variety of different cooking devices.

[0029] According to a third aspect of the present invention, a storage medium is provided, wherein a computer program is stored therein, wherein the computer program is configured to execute, when running, the method of using the electronic recipe as described in any one of the first aspects.

[0030] According to a fourth aspect of the present invention, an electronic device is provided, including a memory and a processor;

[0031] The memory stores a computer program, and the processor is configured to run the computer program to perform the method of using the electronic recipe as described in any of the first aspects.

[0032] This invention provides a method for using an electronic recipe, the original electronic recipe file, a storage medium, and an electronic device. In the method provided by this invention, after obtaining the equipment information of the cooking equipment, an electronic recipe matching the equipment capability level of the cooking equipment is obtained. This allows the cooking equipment to successfully complete cooking using the electronic recipe, preventing errors caused by incompatibility or mismatch of the electronic recipe. By generating electronic recipes with different universality levels to match cooking equipment with different capabilities, the compatibility issues of electronic recipes caused by updates and iterations of cooking equipment or electronic recipes can be effectively solved, ensuring the smooth execution of the electronic recipe by the cooking equipment.

[0033] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and in order to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below.

[0034] The above and other objects, advantages and features of the present invention will become more apparent to those skilled in the art from the following detailed description of specific embodiments of the invention in conjunction with the accompanying drawings. Attached Figure Description

[0035] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings:

[0036] Figure 1 A schematic diagram of an electronic recipe generation device according to an embodiment of the present invention is shown;

[0037] Figure 2 A schematic diagram of an electronic recipe generation device according to an embodiment of the present invention is shown;

[0038] Figure 3 A schematic diagram of the structure of an electronic device according to an embodiment of the present invention is shown. Detailed Implementation

[0039] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0040] This invention provides a method for using an electronic recipe, which can be applied to cooking equipment and may include at least the following steps S102 to S104.

[0041] S102, Obtain equipment information for the cooking equipment.

[0042] The cooking equipment in this embodiment of the invention refers to cooking equipment that needs to perform cooking operations according to electronic recipes, which may include smart stoves, ingredient dispensers, smart cookware, etc. The acquired equipment information may include equipment identification information (such as equipment model and equipment brand), equipment attribute information (such as equipment type, operating parameters, such as power level and power settings during operation), and equipment capability information (such as the functions the equipment has and its ability to process electronic recipes), as well as other equipment-related information.

[0043] S104, Based on the equipment information, obtain the target electronic recipe that matches the capability level of the cooking equipment from the original recipe file; wherein, the original recipe file includes multiple electronic recipes with different universality levels.

[0044] After obtaining the equipment information of the cooking equipment, a target electronic recipe matching the equipment capability level of the cooking equipment can be obtained from the original recipe file. In this embodiment, the original recipe file may include multiple electronic recipes with different generality levels. Electronic recipes with different generality levels have different requirements for the execution capabilities of the cooking equipment. The generality level can be set according to the type of cooking equipment used in the electronic recipe and the required execution capability of the cooking equipment. In this embodiment, the generality level of the electronic recipe can be divided into high and normal levels, and it can also be divided into multiple levels according to the content of the electronic recipe and the capabilities of the cooking equipment. Further, when obtaining a target electronic recipe based on the original recipe file, the equipment capability level of the cooking equipment can be determined according to the equipment information of the cooking equipment, and then a target electronic recipe matching the equipment capability level of the cooking equipment can be selected from multiple electronic recipes. This embodiment only illustrate the division of the generality level of the electronic recipe. In practical applications, other generality levels can be divided according to cooking equipment with different capabilities, so that different types of cooking equipment can obtain matching electronic recipes.

[0045] The method of using the electronic recipe provided in this embodiment of the invention, after obtaining the equipment information of the cooking equipment, allows the cooking equipment to successfully complete cooking by obtaining an electronic recipe that matches the equipment capability level of the cooking equipment, thus preventing errors in the operation of the electronic recipe due to incompatibility or mismatch.

[0046] In practical applications, different types of cooking equipment possess varying functions and capabilities, including their ability to process electronic recipes. In some cases, certain cooking equipment offers more advanced functions, such as data analysis and recipe re-creation capabilities, indicating a higher level of equipment capability. This allows them to acquire high-level electronic recipes as target recipes. In other cases, they may only have execution functions without data analysis capabilities; therefore, for this type of cooking equipment, acquiring ordinary-level electronic recipes is sufficient.

[0047] Based on the method provided in this embodiment of the invention, multiple electronic recipes with different levels of universality are preset for cooking devices with different device execution capabilities. Each cooking device can select a matching target electronic recipe from the multiple electronic recipes according to its own device information. By providing different levels of universality electronic recipes for different cooking devices, the cooking devices can use the acquired electronic recipes to complete the cooking, preventing errors in the operation of electronic recipes due to incompatibility or mismatch.

[0048] In the embodiments of the invention, before performing step S104 to obtain a target electronic recipe that matches the capability level of the cooking equipment, multiple electronic recipes matching different generality levels can be created for the same dish to form a recipe file; wherein, electronic recipes of different generality levels are applicable to cooking equipment with different capabilities.

[0049] Specifically, when generating the original recipe file, it can be edited using a file creation tool or system on a terminal device in the traditional way of editing recipes. During editing, it allows for the editing of basic recipe information, ingredient information, seasoning information, cooking sequence information, and equipment information. After compiling the original recipe file, it can be uploaded to the cloud or server for later retrieval when using the electronic recipe.

[0050] As mentioned in the above embodiments, the original recipe file can include electronic recipes of different general applicability levels. In this embodiment of the invention, electronic recipes of different general applicability levels can be edited separately, and then the original recipe file can be generated based on the edited electronic recipes. For example, electronic recipes with low general applicability levels contain less content and require more execution from the device. For electronic recipes with medium general applicability levels, some content can be appropriately added to the electronic recipe, while the processing power of the cooking device is relatively reduced. Specifically, when obtaining an electronic recipe from the original recipe file, different general applicability levels of electronic recipes can be adaptively selected based on the processing power of the device.

[0051] For example, the original recipe file includes electronic recipe 1 and electronic recipe 2. Among them, electronic recipe 1 has a high level of universality, and electronic recipe 2 has a low level of universality.

[0052] For electronic recipe 1, the recipe content may include: ingredient / seasoning type, ingredient / seasoning quantity, cooking order, and power control parameters. For example, it may include heating oil power of 2000W or stir-frying power of 1500W. Since the electronic recipe clearly records the specific power control parameters, and the power control capabilities vary for different cooking devices, for example, a 3000W cooking device A may be able to reach 3000W in the heating oil stage, while a 1500W cooking device B may only be able to reach 1500W in the heating oil stage. Therefore, electronic recipes with specific control parameters do not have high requirements for the capabilities of the cooking devices, and thus have a low level of versatility. They can only be used with cooking devices that can perform the function, but they do not have low requirements for the processing capabilities of the cooking devices. The cooking devices can directly execute the recipes according to the parameters without the need for data conversion or other operations.

[0053] For electronic recipe 2, the recipe content may include: ingredient / seasoning types, ingredient / seasoning quantities, cooking order, and temperature control parameters, including power levels 1 or 2. Since specific power parameters are not explicitly set in the electronic recipe, different cooking devices can convert level 1 or 2 to power parameters suitable for their own capabilities when executing the electronic recipe. For example, a 3000W cooking device will recognize level 2 as 3000W, and a 1500W cooking device will recognize level 2 as 1500W. These power parameters meet the maximum power requirements of the device. Therefore, electronic recipe 2 has relatively high compatibility and a high level of versatility. Different cooking devices can adaptively generate electronic recipes suitable for their own capabilities, but this requires high processing power from the cooking devices, demanding the ability to convert electronic recipes and create new recipes. Therefore, in this embodiment of the invention, electronic recipes with different levels of versatility have different requirements for the capabilities of cooking equipment; the higher the level of versatility of the electronic recipe, the higher the required ability of the cooking equipment to analyze the recipe.

[0054] Based on the method provided in this invention, recipe files are generated by creating electronic recipes with different levels of compatibility to match cooking equipment with different capabilities. Different cooking equipment can select different electronic recipes from the recipe files according to their needs. After selecting a highly compatible electronic recipe, the cooking equipment can also adaptively convert the parameters in the electronic recipe into cooking parameters suitable for its own capabilities. This can effectively solve the compatibility problem of electronic recipes caused by the updates and iterations of cooking equipment or electronic recipes, and ensure that the cooking equipment executes the electronic recipes smoothly.

[0055] In this embodiment of the invention, electronic recipes of different universality levels can include two parts of information. The first part is electronic recipe system data, which is used to record the general data of the electronic recipe, such as version number, device dependency, universality level, etc.; the second part is behavioral data defined during the execution of the recipe, such as recipe steps.

[0056] Optionally, when obtaining the target electronic recipe that matches the capability level of the cooking equipment in step S104, the capability level of the cooking equipment can be identified based on the equipment information, and the target electronic recipe that matches the capability level can be adaptively selected from multiple electronic recipes.

[0057] Taking the electronic recipes 1 and 2 mentioned in the above embodiments as examples. For cooking device A, which lacks the ability to analyze and convert electronic recipes, its capability level can be directly set to "normal," allowing for the direct use of the higher-level electronic recipe 1. For cooking device B, if it possesses the ability to analyze and convert electronic recipes, it can directly use the relatively lower-level electronic recipe 2. This makes the recipe more compatible with the capabilities of cooking device B, resulting in better cooking outcomes. In this embodiment, the capability level of the cooking device can be determined directly by assessing whether it has the ability to analyze and convert electronic recipes. If it does, the capability level is set to "high"; otherwise, it is set to "normal." By determining the capability level of the cooking device based on its equipment information, and adaptively selecting electronic recipes with different capability levels to match the device's execution capabilities, the cooking effect of the electronic recipes is improved.

[0058] Optionally, when obtaining the target electronic recipe that matches the capability level of the cooking equipment in step S104 above, the equipment capability information in the equipment information can also be obtained, and the capability reference value of the cooking equipment can be analyzed based on the equipment capability information; and the target electronic recipe can be selected from multiple electronic recipes based on the capability reference value.

[0059] For some cooking equipment, there may not be corresponding equipment capability levels set. In this case, the capability reference value of the cooking equipment can be analyzed based on its equipment capability information. This equipment capability information can include information such as the cooking equipment's electronic recipe parsing function, electronic recipe conversion function, and electronic recipe re-creation function. When analyzing the capability reference value of the cooking equipment based on its capability information, electronic recipes of various generality levels can be obtained from the original recipe files. The running results of each electronic recipe can be simulated based on the existing equipment capabilities of the cooking equipment. The corresponding recipe fidelity estimate can then be obtained based on the running results of each electronic recipe, and this recipe fidelity estimate is used as the capability reference value.

[0060] Optionally, when obtaining the corresponding recipe fidelity estimate based on the running results, the running results can be compared with the standard results of the electronic recipe, and the similarity between the running results and the standard results can be used as the recipe fidelity. The running results of the electronic recipe can include the running results corresponding to each recipe step in the electronic recipe, or the running results after the electronic recipe has been completed and cooked.

[0061] For example, when cooking device C needs to select a target electronic recipe from electronic recipe 1 and electronic recipe 2, the operation results of electronic recipe 1 and electronic recipe 2 can be simulated separately, where the maximum operating power of cooking device C is 2000W. Assuming that the oil heating step in electronic recipe 1 is "heat oil at 3000W for 30 seconds", and the oil heating step in electronic recipe 2 is "heat oil to 120 degrees", the result of cooking device C simulating the "oil heating step" in electronic recipe 1 is "heat oil at 2000W for 30 seconds and then pause heating", and the result of cooking device C simulating the "oil heating step" in electronic recipe 2 is "heat oil at 2000W, detect the temperature to 120 degrees, and then pause heating". The recipe fidelity estimate for electronic recipe 1 is less than that for electronic recipe 2.

[0062] Taking electronic recipes 1 and 2 as examples again, if cooking equipment C does not have a corresponding equipment capability level set, when cooking equipment C obtains the original recipe file corresponding to any dish, it will simulate the running process of electronic recipes 1 and 2 in the original recipe file according to the current equipment information of cooking equipment C, and obtain the running result 1 of electronic recipe 1 and the running result 2 of electronic recipe 2. Further, based on running result 1 and running result 2, the corresponding recipe fidelity estimate 1 and recipe fidelity estimate 2 are obtained. Assuming that recipe fidelity estimate 1 and recipe fidelity estimate 2 are 0.6 and 0.8 respectively, then electronic recipe 1 can be filtered out, and electronic recipe 2 can be used as the target electronic recipe.

[0063] Based on the method provided in this embodiment of the invention, when the original recipe file includes multiple electronic recipes of generality level, the cooking equipment capability reference value is calculated based on the equipment capability information, and then the electronic recipe that matches it is adaptively selected in combination with the capability reference value, that is, the electronic recipe with lower matching is filtered out, so as to improve the cooking effect of the electronic recipe.

[0064] In this embodiment of the invention, after obtaining the target electronic recipe that matches the capability level of the cooking device in step S104, the method may further include: parsing the behavioral data of the electronic recipe; wherein the behavioral data includes multiple recipe steps when running the electronic recipe; and establishing an association between the recipe steps in the behavioral data and the execution instruction code of the cooking device.

[0065] Since an electronic recipe is a digitized file used by a cooking device for automated cooking, it can include behavioral data with multiple recipe steps. This behavioral data represents the different actions the cooking device needs to perform when cooking any dish, such as heating oil, adding ingredients, and stir-frying. As an intelligent device, the cooking device completes different actions by using execution command codes embedded within it. For example, there are execution command codes corresponding to actions such as "turn on heat," "turn off heat," "operate power," and "stir-fry." In this embodiment of the invention, by establishing a correlation between the recipe steps in the behavioral data and the execution command codes of the cooking device, each recipe step in the electronic recipe is mapped to an execution command code recognizable by the cooking device. This allows the cooking device to smoothly complete the cooking process according to the electronic recipe, avoiding disruptions caused by different behavioral data formats or unrecognizable content.

[0066] Furthermore, in this embodiment of the invention, corresponding behavior levels can be set according to the type of each recipe step; and handling strategies for each recipe step when execution fails can be set according to different behavior levels. Optionally, the behavior levels include high-level and normal-level; specifically, when setting the handling strategies for each recipe step when execution fails according to different behavior levels, it can be as follows:

[0067] If any execution action corresponds to a high-level action, the cooking device will terminate the electronic recipe if the action fails. For example, if the "start cooking" action is the highest level, the recipe execution will fail and the electronic recipe will terminate if the cooking fails.

[0068] If any execution action corresponds to a normal level, the cooking device is configured to issue an error message and execute the execution instruction code corresponding to the next execution action if the action fails. For example, if the "feeding" action is at the normal level, the device will issue an error message and execute the next execution instruction code if the feeding fails.

[0069] In some cases, actions such as "turning on the heat" and "turning off the heat" are crucial steps in the operation of cooking equipment. Failure to perform these actions can not only affect the final taste of the dish but also potentially cause other problems. Conversely, actions like "adding ingredients" and "adding seasonings" may only affect the final taste of the dish; therefore, even if these actions fail, subsequent recipe steps can continue to complete the cooking process. The method provided in this invention categorizes different actions of the cooking equipment into different levels and sets processing strategies for each level, enabling the cooking equipment to automatically adjust its cooking process when running electronic recipes.

[0070] Based on the above description, after obtaining the target electronic recipe that matches the capability level of the cooking device in step S104, the cooking device can perform the following operations:

[0071] 1. Cooking equipment directly runs the target electronic recipe.

[0072] In this embodiment of the invention, the electronic recipes included in the original recipe file include electronic recipes with a low level of universality. These electronic recipes contain specific parameter information of the cooking equipment when running the electronic recipe, such as the recipe step of "heating oil at 2000W for 30 seconds". When this electronic recipe is used as the target electronic recipe, the cooking equipment can directly run the target electronic recipe after obtaining this type of electronic recipe, without performing any further conversion operations on the target electronic recipe, and can quickly run the cooking of the target electronic recipe.

[0073] 2. Convert the control parameters in the target electronic recipe.

[0074] In this embodiment of the invention, after acquiring the electronic recipe, the cooking device parses and obtains the target control parameters in the target electronic recipe, and converts the target control parameters into device control parameters that can be executed by the cooking device according to the device information.

[0075] For example, if the electronic recipe obtained by the cooking device records the stir-frying step as "stir-fry at 3000W power for 3 minutes," then the parsed target control parameters are "3000W power" and "stir-fry for 3 minutes." Since the cooking device's maximum power is only "1500W," the cooking device can adaptively convert the target control parameters into executable device control parameters, such as "1500W power" and "stir-fry for 6 minutes." In this embodiment of the invention, by combining the cooking device's equipment information to adaptively adjust the target control parameters in the electronic recipe and convert them into control parameters that the cooking device can execute, the execution process of the electronic recipe can be successfully completed while ensuring the cooking effect of the recipe.

[0076] 3. Generate device execution parameters

[0077] The cooking equipment parses and obtains the execution result information from the electronic recipe, and generates the equipment execution parameters when the cooking equipment runs the electronic recipe based on the equipment information and the execution result information.

[0078] Taking the step of heating oil to 120 degrees Celsius as an example, "120 degrees Celsius" can be used as the execution result information for this step. When the cooking equipment receives the electronic recipe, it can be converted into corresponding execution parameters such as "heat oil at 2000W" or "pause heating after detecting the oil temperature at 120 degrees Celsius." In this case, the requirements for the cooking equipment's capabilities may be relatively high. That is, when the cooking equipment has multiple functions and high capabilities, the execution parameters for running the electronic recipe can be generated based on the execution result information in the electronic recipe, thus fully utilizing the cooking equipment's own functions to complete the cooking of the electronic recipe. In practical applications, any one of the above operations can be uniformly executed for the electronic recipe based on the cooking equipment's information and capabilities, or different operations can be adaptively executed for different steps. This embodiment of the invention does not limit this.

[0079] This invention provides a method for using electronic recipes. After obtaining the equipment information of a cooking device, by acquiring an electronic recipe that matches the device's capability level, the cooking device can smoothly complete cooking using the electronic recipe, preventing errors caused by incompatibility or mismatch. Furthermore, the method provides multiple preset electronic recipes with different universality levels for cooking devices with different capabilities. Each cooking device can select a target electronic recipe from these recipes based on its own equipment information. By providing different universality levels of electronic recipes for different cooking devices, the cooking device can use the acquired electronic recipe to complete cooking, preventing errors caused by incompatibility or mismatch. Further, in this invention, by classifying different execution behaviors of the cooking device into behavior levels and setting processing strategies for different behavior levels, the cooking device can automatically adjust the cooking process when running the electronic recipe.

[0080] This invention also provides an electronic recipe file, which includes multiple electronic recipes with different levels of universality, and these multiple electronic recipes with different levels of universality are suitable for a variety of different cooking devices.

[0081] In this embodiment of the invention, electronic recipes of different universality levels can include two parts of information. The first part is electronic recipe system data, which is used to record the general data of the electronic recipe, such as version number, device dependency, universality level, etc. The second part is behavioral data defined during the execution of the recipe, such as the relevant data that the cooking equipment needs to execute, such as recipe steps.

[0082] This invention also provides a device for using electronic recipes, such as... Figure 1As shown, the device for using the electronic recipe provided in this embodiment of the invention may include:

[0083] Information acquisition module 110 is used to acquire equipment information of cooking equipment;

[0084] The recipe acquisition module 120 is used to acquire target electronic recipes that match the capability level of the cooking equipment from the original recipe file based on the equipment information; wherein, the original recipe file includes multiple electronic recipes with different generality levels.

[0085] Optionally, such as Figure 2 As shown, the device for using the electronic recipe provided in this embodiment of the invention may further include:

[0086] The original file creation module 130 is used to create multiple electronic recipes matching different universality levels for the same dish to form recipe original files;

[0087] Among them, electronic recipes of different versatility levels are suitable for cooking equipment with different capabilities.

[0088] Optionally, the recipe acquisition module 120 can also be used for:

[0089] Based on the equipment information, identify the capability level of the cooking equipment, and adaptively select a target electronic recipe that matches the capability level from multiple electronic recipes; or...

[0090] Obtain equipment capability information from the equipment information, analyze the capability reference value of the cooking equipment based on the equipment capability information, and select the target electronic recipe from multiple electronic recipes based on the capability reference value.

[0091] Optionally, different levels of versatility of electronic recipes have different requirements for the capabilities of cooking equipment; the higher the level of versatility of the electronic recipe, the higher the required ability of the cooking equipment to analyze the recipe.

[0092] Optionally, such as Figure 2 As shown, the device for using the electronic recipe provided in this embodiment may further include: a parsing module 140;

[0093] The parsing module 140 is used to parse the behavioral data of the electronic recipe after obtaining the target electronic recipe that matches the capability level of the cooking equipment. The behavioral data includes multiple recipe steps when running the electronic recipe.

[0094] Establish a correlation between the recipe steps in the behavioral data and the execution instruction code of the cooking equipment.

[0095] Optionally, such as Figure 2 As shown, the device for using the electronic recipe provided in this embodiment may further include: an exception handling module 150;

[0096] The exception handling module 150 is used to set the corresponding behavior level according to the type of each recipe step;

[0097] Set the handling strategy for each recipe step when execution fails, based on different behavior levels.

[0098] Optionally, the behavior levels include advanced levels and normal levels;

[0099] The exception handling module 150 can also be used to set the cooking device to terminate the operation of the electronic recipe when the execution of any execution behavior fails, when the behavior level corresponding to any execution behavior is high level.

[0100] When any execution behavior corresponds to the normal level, the cooking device is set to issue an abnormal prompt message when the execution behavior fails, and execute the execution instruction code corresponding to the next execution behavior.

[0101] Optionally, such as Figure 2 As shown, the device for using the electronic recipe provided in this embodiment may further include: a running control module 160;

[0102] The operation control module 160 is used to allow the cooking equipment to directly run the target electronic recipe after the recipe acquisition module 120 acquires the target electronic recipe that matches the capability level of the cooking equipment; or,

[0103] The cooking equipment parses and obtains the target control parameters from the target electronic recipe, and converts these target control parameters into executable device control parameters based on the device information; or...

[0104] The cooking equipment parses and obtains the execution result information from the electronic recipe, and generates the equipment execution parameters when the cooking equipment runs the electronic recipe based on the equipment information and the execution result information.

[0105] This invention also provides a storage medium storing a computer program, wherein the computer program is configured to execute the method of using the electronic recipe in the above embodiments when it runs.

[0106] This invention also provides an electronic device, including a memory and a processor; the memory stores a computer program, and the processor is configured to run the computer program to execute the method of using the electronic recipe of any of the above embodiments. Figure 3 A schematic diagram of the structure of an electronic device according to an embodiment of the present invention is shown. See also Figure 3It is understood that the electronic device may include a communication bus, a processor, a memory, and a communication interface, and may also include input / output interfaces and a display device. The various functional units can communicate with each other via the bus. The memory stores a computer program, and the processor executes the program stored in the memory to perform the steps of the methods described in the above embodiments.

[0107] Those skilled in the art will clearly understand that the specific working process of the systems, devices, modules and units described above can be referred to the corresponding process in the foregoing method embodiments. For the sake of brevity, it will not be repeated here.

[0108] Furthermore, the functional units in the various embodiments of the present invention can be physically independent of each other, or two or more functional units can be integrated together, or all functional units can be integrated into one processing unit. The integrated functional units described above can be implemented in hardware, or in software or firmware.

[0109] Those skilled in the art will understand that if the integrated functional unit is implemented in software and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or all or part of it, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computing device or electronic device (e.g., a personal computer, server, or network device) to execute all or part of the steps of the methods described in the embodiments of the present invention when running the instructions. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0110] Alternatively, all or part of the steps of the foregoing method embodiments can be implemented by hardware (such as a computing device, personal computer, server, or network device) related to program instructions. The program instructions can be stored in a computer-readable storage medium. When the program instructions are executed by the processor of the computing device, the computing device executes all or part of the steps of the methods described in the various embodiments of the present invention.

[0111] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that within the spirit and principles of the present invention, modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein; and these modifications or substitutions do not cause the corresponding technical solutions to depart from the protection scope of the present invention.

Claims

1. A method for using an electronic recipe, characterized in that, include: Obtain equipment information for cooking equipment; Based on the device information, a target electronic recipe matching the capability level of the cooking equipment is obtained from the original recipe file; wherein, the original recipe file includes multiple electronic recipes of the same dish with different universality levels, and electronic recipes of different universality levels are applicable to cooking equipment with different capabilities; the universality level of the electronic recipe is determined based on the type of cooking equipment used in the electronic recipe and the execution capability of the cooking equipment; the capability level of the cooking equipment is determined based on whether the cooking equipment has data analysis function, the parsing and conversion capability of the electronic recipe, and the re-creation function of the electronic recipe.

2. The method according to claim 1, characterized in that, The method further includes: Multiple electronic recipes with different universality levels are created for the same dish to form the original recipe file.

3. The method according to claim 2, characterized in that, The acquisition of a target electronic recipe that matches the capability level of the cooking equipment includes: Based on the device information, the capability level of the cooking equipment is identified, and a target electronic recipe matching the capability level is adaptively selected from the plurality of electronic recipes; or... Obtain the equipment capability information from the equipment information, analyze the capability reference value of the cooking equipment based on the equipment capability information, and select a target electronic recipe from the plurality of electronic recipes based on the capability reference value.

4. The method according to claim 2, characterized in that, Electronic recipes with different levels of versatility have different requirements for the capabilities of cooking equipment; the higher the level of versatility of an electronic recipe, the higher the ability of the cooking equipment to analyze the recipe is required.

5. The method according to claim 1, characterized in that, After acquiring the target electronic recipe that matches the capability level of the cooking equipment, the method further includes: Analyze the behavioral data of the electronic recipe, which includes multiple recipe steps when running the electronic recipe; Establish a correlation between the recipe steps in the behavioral data and the execution instruction code of the cooking equipment.

6. The method according to claim 5, characterized in that, The method further includes: Set corresponding behavior levels according to the type of each recipe step; Set the handling strategy for each recipe step that fails to execute, based on different behavior levels.

7. The method according to claim 6, characterized in that, The behavior levels include advanced levels and normal levels; The method for handling recipe steps that fail to execute according to different behavior levels includes: If any execution action corresponds to a high-level action, the cooking device is set to terminate the operation of the electronic recipe when the execution action fails. If any execution behavior corresponds to a normal level, the cooking device is set to issue an abnormal prompt message and execute the execution instruction code corresponding to the next execution behavior when the execution behavior fails.

8. The method according to any one of claims 1-7, characterized in that, After acquiring the target electronic recipe that matches the capability level of the cooking equipment, the method further includes: The cooking device directly runs the target electronic recipe; or... The cooking device parses and obtains the target control parameters from the target electronic recipe, and converts the target control parameters into device control parameters executable by the cooking device based on the device information; or... The cooking device parses and obtains the execution result information from the electronic recipe, and generates the device execution parameters when the cooking device runs the electronic recipe based on the device information and the execution result information.

9. An electronic recipe file, characterized in that, The original electronic recipe file includes multiple electronic recipes of the same dish with different levels of versatility, and these multiple electronic recipes with different levels of versatility are adapted to a variety of cooking equipment with different capabilities. Among them, the target electronic recipe for each cooking device is determined by matching the capability level of the cooking device from the original recipe file based on the device information of the cooking device. The universality level of electronic recipes is determined based on the type of cooking equipment used in the electronic recipes and the execution capabilities of the cooking equipment; the capability level of the cooking equipment is determined based on whether the cooking equipment has data analysis functions, the ability to parse and convert electronic recipes, and the ability to recreate electronic recipes.

10. A storage medium, characterized in that, The storage medium stores a computer program, wherein the computer program is configured to execute the method of using the electronic recipe as described in any one of claims 1 to 8 when it is run.

11. An electronic device, characterized in that, Including memory and processor; The memory stores a computer program, and the processor is configured to run the computer program to perform the method of using the electronic recipe as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Automatic adaptation method for cooking instruction code and cooking equipment

    CN111603024A