Electronic menu operation method and device, electronic equipment and storage medium
By downgrading the smart cooking equipment, closing unnecessary functional modules and adjusting the cooking steps, the problem of incomplete functions of the smart cooking equipment is solved, and the normal operation and diversification of electronic recipes are achieved.
Patent Information
- Application Number
- CN202410109382.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-25
- Publication Date
- 2025-07-25
AI Technical Summary
The existing smart cooking equipment cannot flexibly adjust the functional modules, resulting in incomplete functions, affecting the normal operation of electronic recipes, and unable to meet users' diverse needs for cooking functions.
By downgrading the smart cooking device, obtaining device capability information, closing unnecessary functional modules, and adjusting the cooking steps in the electronic recipes to enable it to operate normally in the downgraded equipment.
It is realized that after the functional module is closed, the electronic recipes can still be fully executed, meeting users' diverse needs for cooking functions and ensuring the smooth progress of the cooking process.
Smart Images

Figure CN120360412A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of intelligent kitchen appliances, and in particular, to a method and device for running an electronic recipe, an electronic device, and a storage medium. Background Art
[0002] With the rapid development of technology, intelligence is profoundly changing our way of life, and the intelligent kitchen system is changing the traditional cooking method with powerful innovative power. The core of the intelligent kitchen system is intelligent cooking equipment, and through the intelligent cooking equipment, each link in the kitchen can be digitally and intelligently upgraded.
[0003] In the related art, the intelligent cooking equipment consists of multiple modules, and multiple functional modules need to be used in cooperation during the operation of the electronic recipe. However, considering that the functions of the intelligent cooking equipment are relatively complex and need to be operated through an electronic interface, if the user wants to turn off the functional modules of the intelligent cooking equipment or the user feels that the cooking effect of some functional modules is not good, it is impossible to turn off the functional modules in the existing technology, and turning off the functional modules will cause incomplete functions and affect the normal operation of the electronic recipe. Currently, the cooking method of the intelligent cooking equipment is single and cannot meet the user's demand for diversified adjustment of the functions of the intelligent cooking equipment. Summary of the Invention
[0004] In view of the above problems, the present application is proposed to provide a method and device for running an electronic recipe, an electronic device, and a storage medium that overcome the above problems or at least partially solve the above problems. The technical solutions are as follows:
[0005] In a first aspect, a method for running an electronic recipe is provided, including:
[0006] Obtaining the intelligent cooking equipment capability information after being degraded;
[0007] Responding to the running instruction of the electronic recipe, adjusting the preset cooking steps in the electronic recipe according to the intelligent cooking equipment capability information after being degraded to obtain an adjusted electronic recipe, where the preset cooking steps are the cooking steps in the electronic recipe that cannot be executed by the intelligent cooking equipment after being degraded;
[0008] Running the adjusted electronic recipe in the intelligent cooking equipment after being degraded.
[0009] In a possible implementation manner, the obtaining the intelligent cooking equipment capability information after being degraded includes:
[0010] Obtaining the functional modules to be processed in the intelligent cooking equipment;
[0011] Downgrade the intelligent cooking device according to the functional module to be processed to obtain the device capability information after the downgrade process.
[0012] In a possible implementation manner, the downgrading the intelligent cooking device according to the functional module to be processed to obtain the device capability information after the downgrade process includes:
[0013] Traverse and query the attribute information of each functional module in the intelligent cooking device to obtain the attribute information of the functional module to be processed;
[0014] Close the functional module to be processed according to the attribute information of the functional module to be processed to downgrade the intelligent cooking device and obtain the device capability information after the downgrade process.
[0015] In a possible implementation manner, the functional module includes at least one operation sub-module, and the closing the functional module to be processed according to the attribute information of the functional module to be processed to downgrade the intelligent cooking device and obtain the device capability information after the downgrade process includes:
[0016] Query the current state of the operation sub-module to be operated according to the attribute information of the functional module to be processed;
[0017] Close the operation sub-module to be operated according to the current state of the operation sub-module to be operated to downgrade the intelligent cooking device and obtain the device capability information after the downgrade process.
[0018] In a possible implementation manner, after the closing the operation sub-module to be operated according to the current state of the operation sub-module to be operated to downgrade the intelligent cooking device and obtain the device capability information after the downgrade process, the method further includes:
[0019] Determine whether the closed operation sub-module to be operated is a necessary operation sub-module;
[0020] If so, adjust the closed operation sub-module to be operated to the on state; otherwise, keep the closed operation sub-module to be operated in the closed state.
[0021] In a possible implementation manner, before the determining whether the closed operation sub-module to be operated is a necessary operation sub-module, the method further includes:
[0022] Obtain the operation sub-modules included in each functional module of the intelligent cooking device;
[0023] Classify the operation sub - modules included in each of the function modules to obtain necessary operation sub - modules and non - necessary operation sub - modules. The necessary operation sub - modules do not support being turned off, and the non - necessary operation sub - modules support being turned off.
[0024] In one possible implementation, the adjusting the preset cooking steps in the electronic recipe according to the intelligent cooking device capability information after degradation processing to obtain an adjusted electronic recipe includes:
[0025] Extract the preset cooking steps in the electronic recipe that cannot be executed by the intelligent cooking device after degradation processing according to the intelligent cooking device capability information after degradation processing;
[0026] Convert the operations in the preset cooking steps that cannot be automatically executed into manually executed operations by performing operation conversion on the preset cooking steps;
[0027] Adjust the preset cooking steps in the electronic recipe according to the manually executed operations to obtain an adjusted electronic recipe.
[0028] In one possible implementation, the adjusting the preset cooking steps in the electronic recipe according to the manually executed operations to obtain an adjusted electronic recipe includes:
[0029] Generate operation information and broadcast information of the preset cooking steps in the electronic recipe according to the manually executed operations;
[0030] Associate the operation information and broadcast information of the preset cooking steps with the electronic recipe to obtain an adjusted electronic recipe.
[0031] In a second aspect, there is provided an operating device for an electronic recipe, including:
[0032] An obtaining module, configured to obtain the intelligent cooking device capability information after degradation processing;
[0033] An adjusting module, configured to, in response to an operation instruction of the electronic recipe, adjust the preset cooking steps in the electronic recipe according to the intelligent cooking device capability information after degradation processing to obtain an adjusted electronic recipe, where the preset cooking steps are the cooking steps in the electronic recipe that cannot be executed by the intelligent cooking device after degradation processing;
[0034] An operating module, configured to operate the adjusted electronic recipe in the intelligent cooking device after degradation processing.
[0035] In one possible implementation, the obtaining module includes:
[0036] An obtaining unit, configured to obtain the function modules to be processed in the intelligent cooking device;
[0037] A processing unit is configured to perform a downgrading process on the intelligent cooking device according to the functional module to be processed, so as to obtain the device capability information after the downgrading process.
[0038] In a possible implementation manner, the processing unit is specifically configured to:
[0039] Traverse and query the attribute information of each functional module in the intelligent cooking device to obtain the attribute information of the functional module to be processed;
[0040] Close the functional module to be processed according to the attribute information of the functional module to be processed, so as to perform a downgrading process on the intelligent cooking device and obtain the device capability information after the downgrading process.
[0041] In a possible implementation manner, the functional module includes at least one operation sub-module, and the processing unit is specifically further configured to:
[0042] Query the current state of the operation sub-module to be operated according to the attribute information of the functional module to be processed;
[0043] Close the operation sub-module to be operated according to the current state of the operation sub-module to be operated, so as to perform a downgrading process on the intelligent cooking device and obtain the device capability information after the downgrading process.
[0044] In a possible implementation manner, after closing the operation sub-module to be operated according to the current state of the operation sub-module to be operated, so as to perform a downgrading process on the intelligent cooking device and obtain the device capability information after the downgrading process, the processing unit is specifically further configured to:
[0045] Judge whether the closed operation sub-module to be operated is a necessary operation sub-module;
[0046] If so, adjust the closed operation sub-module to be operated to the on state; otherwise, keep the closed operation sub-module to be operated in the closed state.
[0047] In a possible implementation manner, before judging whether the closed operation sub-module to be operated is a necessary operation sub-module, the processing unit is specifically further configured to:
[0048] Obtain the operation sub-modules included in each functional module in the intelligent cooking device;
[0049] Classify the operation sub-modules included in each functional module to obtain necessary operation sub-modules and non-necessary operation sub-modules. The necessary operation sub-modules do not support being closed, and the non-necessary operation sub-modules support being closed.
[0050] In a possible implementation manner, the adjustment module includes:
[0051] An extraction unit, configured to extract preset cooking steps in the electronic recipe that cannot be executed by the intelligent cooking device after degradation processing according to the intelligent cooking device capability information after degradation processing;
[0052] A conversion unit, configured to convert the operations that cannot be automatically executed in the preset cooking steps through operation conversion of the preset cooking steps, so as to convert the operations that cannot be automatically executed in the preset cooking steps into manually executed operations;
[0053] An adjustment unit, configured to adjust the preset cooking steps in the electronic recipe according to the manually executed operations to obtain an adjusted electronic recipe.
[0054] In a possible implementation manner, the adjustment unit is specifically further configured to:
[0055] Generate operation information and broadcast information of the preset cooking steps in the electronic recipe according to the manually executed operations;
[0056] Associate the operation information and broadcast information of the preset cooking steps with the electronic recipe to obtain an adjusted electronic recipe.
[0057] In a third aspect, an electronic device is provided, which includes a processor and a memory. Among them, a computer program is stored in the memory, and the processor is configured to run the computer program to execute the running method of the electronic recipe described in any one of the above.
[0058] In a fourth aspect, a storage medium is provided, and the storage medium stores a computer program. Among them, the computer program is configured to execute the running method of the electronic recipe described in any one of the above when running.
[0059] By means of the above technical solution, the running method and device of the electronic recipe, the electronic device and the storage medium provided in the embodiments of the present application can obtain the intelligent cooking device capability information after degradation processing, and in response to the running instruction of the electronic recipe, adjust the preset cooking steps in the electronic recipe according to the intelligent cooking device capability information after degradation processing to obtain an adjusted electronic recipe. The preset cooking steps are the cooking steps in the electronic recipe that cannot be executed by the intelligent cooking device after degradation processing, and the adjusted electronic recipe is run in the intelligent cooking device after degradation processing. It can be seen that the embodiments of the present application realize the closing of function modules in the intelligent cooking device by means of device degradation processing, so as to flexibly adjust the functions of the intelligent cooking device, so that the preset cooking steps in the electronic recipe can replace the closed function modules after adjustment to meet the diverse needs of users for cooking functions. Description of the Drawings
[0060] To more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments of the present application.
[0061] Figure 1 Shows a flowchart of the operation method of the electronic recipe provided by the embodiment of the present application;
[0062] Figure 2 Shows a schematic diagram of the operation interface of the electronic recipe provided by the example of the present application;
[0063] Figure 3 Shows a schematic diagram of the interface for adding a function module to be processed provided by the example of the present application;
[0064] Figure 4 Shows a structural diagram of the creation device of the electronic recipe provided by the embodiment of the present application;
[0065] Figure 5 Shows a structural diagram of an electronic device provided by the embodiment of the present application. Detailed implementation manners
[0066] The following will describe the exemplary embodiments of the present application in more detail with reference to the drawings. Although the exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided so that the present application can be more thoroughly understood and the scope of the present application can be fully conveyed to those skilled in the art.
[0067] It should be noted that the terms "first", "second", etc. in the description and claims of the present application and the above drawings are used to distinguish similar objects and do not necessarily have to be used to describe a specific order or sequence. It should be understood that such use can be interchanged under appropriate circumstances so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the term "including" and its variants should be interpreted as an open term meaning "including but not limited to".
[0068] As introduced above, currently, multiple function modules need to be used in cooperation during the operation of the electronic recipe. If there is a lack of function modules in the intelligent cooking device, the functions of the intelligent cooking device will be incomplete, and it is difficult for the electronic recipe to be accurately executed on the intelligent cooking device with incomplete functions, which affects the normal operation of the electronic recipe. To solve this technical problem, the embodiment of the present application provides an operation method for an electronic recipe. This method can be applied to a configuration terminal, such as a smart phone, a tablet computer, a personal computer, etc., and can also be applied to other intelligent kitchen devices. This embodiment does not limit this. As Figure 1 shown, the operation method of the electronic recipe may include the following steps S101 to S103:
[0069] Step S101: Obtain the intelligent cooking device capability information after degradation processing.
[0070] In this embodiment, as the core device of the kitchen system, the intelligent cooking device can connect various kitchen devices into an integrated kitchen device with multiple functions. The intelligent cooking device can be a combination of multiple kitchen devices with different functions to achieve a more convenient and efficient cooking experience. Specifically, the intelligent cooking device is configured with different function modules, and different cooking operations are achieved through different function modules. For example, the feeding of seasonings is achieved through the feeding module, the baking of ingredients is achieved through the baking function, and the steaming of ingredients is achieved through the steaming mode.
[0071] In this step, running the electronic recipe requires the combination of multiple function modules in the intelligent cooking device. If a certain function module in the intelligent cooking device is unavailable, or the user does not want to use a certain function module, or the user feels that the use effect of a certain function module is not good, it is impossible to turn off the function module. Forcibly turning it off will cause the intelligent cooking device to have a function deficiency. At this time, the corresponding function module can be turned off by degrading the intelligent cooking device. For example, the function of the feeding module in the intelligent cooking recipe is turned off by degradation processing, and the steaming function of the intelligent cooking device is turned off by degradation processing, so that the intelligent cooking device after degradation processing can customize the closing of any function module and still have the ability to fully execute the electronic recipe.
[0072] It can be understood that the degradation processing of the intelligent cooking device can flexibly turn off unnecessary function modules, and the device capabilities of the intelligent cooking device will also be correspondingly reduced after degradation processing. For example, after degradation processing, the intelligent cooking device can achieve the closing of some seasoning ports in the feeding module, and after degradation processing, the intelligent cooking device can achieve the closing of the stir-frying module.
[0073] Step S102: In response to the running instruction of the electronic recipe, adjust the preset cooking steps in the electronic recipe according to the intelligent cooking device capability information after degradation processing to obtain an adjusted electronic recipe.
[0074] In this step, the preset cooking steps are the cooking steps in the electronic recipe that cannot be executed by the intelligent cooking device after degradation processing. Although the device capabilities of the intelligent cooking device after degradation processing are reduced, the intelligent cooking device after degradation processing has the ability to fully execute the cooking steps in the electronic recipe and distributes the cooking steps to different function modules to achieve the cooking content through the function modules.
[0075] Specifically, the device capability information after degradation processing is used to analyze each cooking step in the electronic recipe, and it is judged whether the cooking step is allowed to be associated with the device capability after degradation processing. If not, it means that there is no device capability in the degraded device capability information that the cooking step adapts to, and this cooking step cannot be executed by the intelligent cooking device. Then, the cooking step is used as a preset cooking step, and the preset cooking step is adjusted to obtain an adjusted electronic recipe. Here, the execution information of the preset cooking step is mainly adjusted. The execution information of the preset cooking step can be adjusted manually, or the execution information of the preset cooking step can be adjusted by associating other kitchen devices, so that although the preset cooking step in the electronic recipe is not executed by the intelligent cooking step, the corresponding function can be realized by adjusting the execution information of the preset cooking step to complete the cooking effect of the electronic recipe. That is to say, before the adjustment of the electronic recipe, the execution information of the preset cooking step needs to be associated with the intelligent cooking device capability. After the adjustment, the execution information of the preset cooking step can be executed manually or by means of an external kitchen device.
[0076] Step S103, run the adjusted electronic recipe in the intelligent cooking device after the degradation processing.
[0077] In this step, the adjusted electronic recipe records the execution information of each cooking step. Specifically, when running the adjusted electronic recipe, if the execution information needs to use the device capability provided by the function module in the intelligent device to execute, the corresponding function module can be called in the intelligent cooking device according to the execution information of the cooking step to execute the content of the cooking step. If the execution information does not need to use the device capability provided by the function module in the intelligent device to execute, the content of the cooking step can be executed by manual operation or by calling the external device capability according to the execution information of the cooking step.
[0078] In the embodiment of the present application, the closing of the function module in the intelligent cooking device is realized by means of device degradation processing, so as to flexibly adjust the functions of the intelligent cooking device, so that the preset cooking steps in the electronic recipe can replace the closed function module after adjustment to meet the diverse needs of users for cooking functions.
[0079] In practical applications, the function module in the intelligent cooking device cannot be closed. Once the closed function module causes the functions of the intelligent cooking device to be incomplete, it will also affect the operation process of the electronic recipe. Specifically, step S101 above obtains the device capability information of the intelligent cooking device after the degradation processing, which may specifically include the following steps A1 - A2:
[0080] Step A1: Obtain the function module to be processed in the intelligent cooking device.
[0081] Step A2: Degrade the intelligent cooking device according to the function module to be processed to obtain the device capability information after degradation processing.
[0082] Among them, the function module to be processed is the function module that needs to be turned off in the intelligent cooking device. This function module can be a function module that the user subjectively wants to turn off. For example, a function module that wants to be turned off due to poor effect or a function module that the user does not want to use. This function module can also be a function module with objective problems in the intelligent cooking device. For example, an unavailable function module in the intelligent cooking device or a function module with vulnerabilities in the intelligent cooking device. For the function module that the user subjectively wants to turn off, the corresponding function module can be selected through the operation page of the intelligent cooking device. When the user clicks on the operation page of the intelligent cooking device, the operation page will display the option buttons of each function module in the intelligent cooking device. For the function module that the user wants to turn off subjectively, it can be used as the function module to be processed by triggering the opening of the option button. For the function module with objective defects in the intelligent cooking device, each function module in the intelligent cooking device can be detected to determine whether the function module is missing. If so, it means that the function module cannot be used, and then the unusable function module is used as the function module to be processed. For the function module that the user subjectively wants to turn off, the user can select the function module that needs to be turned off in the intelligent cooking device as the function module to be processed.
[0083] In this embodiment, for the function module that the user subjectively wants to turn off, flexible adjustment of the function module in the intelligent cooking device can be realized by degrading the intelligent cooking device to meet the user's diverse requirements for the functions of the cooking device. For the function module with objective problems, the degraded cooking function corresponding to the defect can be compensated by degrading the intelligent cooking device, so that the electronic recipe can be accurately docked to the intelligent cooking device to ensure the normal operation of the electronic recipe.
[0084] A possible implementation manner is provided in the embodiment of the present application. In the above step A2, the intelligent cooking device is degraded according to the function module to be processed to obtain the device capability information after degradation processing, which may specifically include the following steps B1 - B3:
[0085] Step B1: Traverse and query the attribute information of each function module in the intelligent cooking device to obtain the attribute information of the function module to be processed.
[0086] Step B2: Turn off the function module to be processed according to the attribute information of the function module to be processed to degrade the intelligent cooking device and obtain the device capability information after degradation processing.
[0087] In the above steps, the attribute information of each functional module in the intelligent cooking device includes the execution logic, current status, and control parameters of the functional module. Through the execution logic, the specific content of the device capabilities implemented by the functional module can be determined. For example, through the execution logic of the feeding functional module, the feeding information can be determined, including the feeding path, condiment type, and feeding action, etc. Through the execution logic of the stir-frying functional module, the stir-frying information can be determined, including full stir-frying, partial stir-frying, and periodic stir-frying, etc. Through the current status, it can be determined whether the functional module is currently in the on or off state. Through the control parameters, the parameter information of the functional module when performing an action can be determined. For example, through the control parameters of the feeding functional module, the speed of performing the feeding action can be determined, and through the control parameters of the stir-frying functional module, the stir-frying duration can be determined.
[0088] It can be understood that the functional module to be processed is usually a functional module that the user does not need to use or cannot use. As an implementation method of downgrading processing, the usage function of the functional module to be processed can be obtained by traversing and querying the attribute information of each functional module in the intelligent cooking device, and further the usage function of the functional module to be processed can be closed. For example, the usage function of soy sauce dispensing in the feeding functional module can be closed. As another implementation method of downgrading processing, the execution logic of the functional module to be processed can be obtained by traversing and querying the attribute information of each functional module in the intelligent cooking device, and further the execution logic of the functional module to be processed can be restricted in terms of attributes. For example, the dispensing distance in the feeding functional module can be restricted to perform downgrading processing on the intelligent cooking device. The intelligent cooking device after downgrading processing is such that the functional module to be processed cannot be used or is restricted in use. That is to say, the device capabilities of the intelligent cooking device after downgrading processing will be reduced based on the original device capabilities.
[0089] Exemplarily, Figure 2 shows a schematic diagram of the operation interface of the electronic recipe provided by the example of the present application. In Figure 2 the page, the cooking content of the cooking steps in the electronic recipe, the functional modules associated with each cooking step, and the attribute information of the operations that the functional modules need to perform according to the cooking content are displayed. By selecting the functional modules in the intelligent cooking device, the functional modules to be processed can be added, and further, the intelligent cooking device can be downgraded according to the functional modules to be processed to obtain the device capability information of the intelligent cooking device after downgrading processing. It should be noted that the example here is only illustrative and does not limit this embodiment.
[0090] In an embodiment of the present application, a possible implementation is provided. The function module includes at least one operation sub-module. Correspondingly, the function module to be processed also includes at least one operation sub-module. Among them, each operation sub-module is selected by the user as the operation sub-module to be operated. For example, the feeding module to be processed includes operation sub-modules for different types of seasonings, specifically, it may include operation sub-modules for salt seasoning, soy sauce seasoning, etc. The user can select the operation sub-module for vinegar seasoning as the operation sub-module to be operated. The vegetable feeding module includes operation sub-modules for different material boxes, specifically, it may include operation sub-modules for the feeding boxes M1 - M4, etc. The user can select the operation sub-modules for the feeding boxes M2 and M3 as the operation sub-modules to be operated. The above step B2 closes the function module to be processed according to the attribute information of the function module to be processed, so as to perform a downgrade process on the intelligent cooking device and obtain the device capability information after the downgrade process. Specifically, it may include the following steps C1 - C2:
[0091] Step C1: Query the current state of the operation sub-module to be operated according to the attribute information of the function module to be processed.
[0092] Step C2: Close the operation sub-module to be operated according to the current state of the operation sub-module to be operated, so as to perform a downgrade process on the intelligent cooking device and obtain the device capability information after the downgrade process.
[0093] It can be understood that after the downgrade process, the intelligent cooking device will correspondingly reduce the device capabilities of the function modules on the basis of the original device capabilities. Here, the operation sub-modules in the function module to be processed can be traversed and queried to obtain the operation sub-module to be operated. Here, the operation sub-module to be operated is the operation sub-module that needs to be closed in the function module to be processed. Query the current state of the operation sub-module to be operated, and further close the operation sub-module to be operated according to the current state of the operation sub-module to be operated, so as to perform a downgrade process on the intelligent cooking device and obtain the device capability information after the downgrade process. For example, by closing the operation sub-module of the feeding box M3, a downgrade process is performed on the intelligent cooking device. Correspondingly, in the device capability information after the downgrade process, the operation capability of the feeding box M3 is closed, that is, the user cannot perform any operations on the feeding box M3 in the intelligent cooking device.
[0094] In this step, the function module to be processed and the operation sub-module to be operated are both those that the user subjectively wants to close but cannot be closed. Specifically, the function module to be processed and the operation sub-module to be operated can be flexibly selected through the operation page of the intelligent cooking device. The selected function module and operation sub-module can be closed by means of a downgrade process, so that the user can customize the closing of the function modules in the intelligent cooking device without affecting the normal operation of the electronic recipe.
[0095] To ensure that the intelligent cooking device can accurately cook the dishes corresponding to the electronic recipes, the function modules to be processed and the sub-operation modules to be operated cannot be essential for dish cooking. For example, when running the electronic recipe for scrambled eggs with tomatoes, the function module for stir-frying and the sub-operation module for adding salt in the ingredient-feeding function module cannot be missing. That is to say, some sub-operation modules in the function modules to be processed cannot be turned off. Further, after step C2 turns off the sub-operation module to be operated according to the current state of the sub-operation module to be operated to perform a downgrade process on the intelligent cooking device and obtain the device capability information after the downgrade process, the following steps may also be included: determining whether the turned-off sub-operation module to be operated is an essential sub-operation module. If so, adjusting the turned-off sub-operation module to the on state; otherwise, keeping the turned-off sub-operation module in the off state.
[0096] Specifically, before determining whether the turned-off sub-operation module to be operated is an essential sub-operation module, by obtaining the sub-operation modules included in each function module in the intelligent cooking device, classifying the sub-operation modules included in each function module, essential sub-operation modules and non-essential sub-operation modules can be obtained. Among them, the essential sub-operation modules do not support being turned off, and the non-essential sub-operation modules support being turned off. If the turned-off sub-operation module to be operated is an essential sub-operation module, it cannot be turned off, and further, the turned-off sub-operation module is adjusted to the on state. If the turned-off sub-operation module to be operated is a non-essential sub-operation module, the turned-off sub-operation module can be kept in the off state.
[0097] For example, the ingredient-feeding function module of the intelligent cooking device includes sub-operation modules for different types of seasonings such as oil, salt, sugar, vinegar, and oyster sauce. The sub-operation modules for seasonings such as oil and salt can be set as essential sub-operation modules, and the sub-operation modules for vinegar and oyster sauce can be set as non-essential sub-operation modules. The ingredient-loading function module of the intelligent cooking device includes sub-operation modules for different ingredient boxes. Ingredient box A is not suitable for loading meat, so ingredient box A can be set as a non-essential sub-operation module, and other ingredient boxes can be set as essential sub-operation modules.
[0098] Continuing with the above Figure 2 as an example for illustration, Figure 3 shows a schematic interface diagram for adding function modules to be processed provided by an example of the present application. In Figure 3 it, function modules can be selected to be added as function modules to be processed according to the provided function module information. After the user selects the function modules to be added, sub-operation modules can be selected to be added as sub-operation modules to be operated according to the sub-operation module information included in the function modules to be processed.
[0099] In step 102 above, the preset cooking steps in the electronic recipe are adjusted according to the intelligent cooking device capability information after degradation processing to obtain an adjusted electronic recipe, which may specifically include the following steps E1 - E3:
[0100] Step E1: Extract the preset cooking steps in the electronic recipe that cannot be executed by the intelligent cooking device after degradation processing according to the intelligent cooking device capability information after degradation processing.
[0101] Step E2: Convert the operations in the preset cooking steps through operation conversion to convert the operations that cannot be automatically executed in the preset cooking steps into manually executed operations.
[0102] Step E3: Adjust the preset cooking steps in the electronic recipe according to the manually executed operations to obtain an adjusted electronic recipe.
[0103] In the above steps, the device capability information after degradation processing is a function module and / or operation sub-module that cannot be executed. That is to say, if a cooking step in the electronic recipe requires the use of a closed function module for the cooking content, this cooking step cannot be executed by the intelligent cooking device. For example, if the operation sub-module of the vinegar seasoning in the feeding module of the intelligent cooking device is closed, then the cooking step of adding 2g of vinegar in the electronic recipe cannot be executed by the intelligent cooking step.
[0104] During the process of specifically using the intelligent cooking device to execute the electronic recipe, traverse the cooking content of each cooking step in the electronic recipe, and judge whether the function used for the cooking content is within the scope of the device capability after degradation processing according to the device capability information after degradation processing. If so, use the intelligent cooking device to execute this cooking step; otherwise, regard the cooking step as a preset cooking step. For example, the cooking step of putting meat in the electronic recipe requires the use of the operation sub-module of feeding box B in the intelligent cooking device, and the operation sub-module of feeding box B is closed in the device capability information after degradation processing, then the cooking step of using feeding box B is a preset cooking step.
[0105] For the preset cooking steps in the electronic recipe that cannot be executed by the intelligent cooking device, the execution information of the preset cooking steps can be analyzed to determine the operation type executed by the preset cooking steps. Here, the execution type can include operations that cannot be automatically executed and operation types that can be automatically executed. For operations that cannot be automatically executed, they can be converted into manual execution operations through operation conversion. For example, if the preset cooking step in the cooking steps is to add 5g of salt, this preset cooking step is an operation type that cannot be automatically executed, and the preset cooking step in the electronic recipe can be converted into a manual execution operation. For operations that can be automatically executed, they can be converted to other functional modules through replacement conversion. For example, if the operation sub-module of the feeding box A is used in the preset cooking step in the cooking steps, this preset cooking step is an operation type that can be automatically executed, and the operation sub-module of the feeding box B can be used for replacement, and the preset cooking step in the electronic recipe can be replaced with the feeding operation of the feeding box B.
[0106] Correspondingly, step E3 above adjusts the preset cooking steps in the electronic recipe according to the manually executed operations to obtain an adjusted electronic recipe, which can specifically include the following steps F1 - F2:
[0107] Step F1: Generate the operation information and broadcast information of the preset cooking steps in the electronic recipe according to the manually executed operations.
[0108] Step F2: Associate the operation information and broadcast information of the preset cooking steps to the electronic recipe to obtain an adjusted electronic recipe.
[0109] In the above steps, the execution information of the preset cooking steps in the adjusted electronic recipe has changed. For manually executed operations, the corresponding functional modules and / or operation sub-modules in the intelligent cooking steps cannot be used for the preset cooking steps. Correspondingly, the broadcast information of the electronic recipe will also be adaptively adjusted according to the change of the execution content. Further, after generating the corresponding operation information and broadcast information in the form of manual execution for the content of the preset cooking steps, they are associated to the electronic recipe to obtain an adjusted electronic recipe.
[0110] For example, if the preset cooking step in the electronic recipe is to add 5g of salt, this preset cooking step cannot use the intelligent electronic device to automatically execute the addition of seasonings, that is, the operation sub-module of the salt for seasonings cannot be used. At this time, the preset cooking step is converted to manually add 5g of salt, and at the same time, the operation information of manual execution and the broadcast information of manually adding 5g of salt are generated.
[0111] Based on the operation method of the electronic recipe provided in the above embodiments, based on the same inventive concept, the embodiments of the present application also provide an operation device for an electronic recipe.
[0112] Figure 4The figure is a structural diagram of an operating device for an electronic recipe provided by an embodiment of the present application. As Figure 4 shown, the operating device for the electronic recipe may specifically include an acquisition module 410, an adjustment module 420, and an operation module 430.
[0113] The acquisition module 410 is configured to acquire the intelligent cooking device capability information after degradation processing;
[0114] The adjustment module 420 is configured to, in response to an operation instruction of the electronic recipe, adjust the preset cooking steps in the electronic recipe according to the intelligent cooking device capability information after degradation processing to obtain an adjusted electronic recipe, where the preset cooking steps are the cooking steps in the electronic recipe that cannot be executed by the intelligent cooking device after degradation processing;
[0115] The operation module 430 is configured to operate the adjusted electronic recipe in the intelligent cooking device after the degradation processing.
[0116] In an embodiment of the present application, a possible implementation manner is provided, where the acquisition module includes:
[0117] An acquisition unit, configured to acquire a function module to be processed in the intelligent cooking device;
[0118] A processing unit, configured to perform degradation processing on the intelligent cooking device according to the function module to be processed to obtain the device capability information after degradation processing.
[0119] In an embodiment of the present application, a possible implementation manner is provided, where the processing unit is specifically configured to:
[0120] Traverse and query the attribute information of each function module in the intelligent cooking device to obtain the attribute information of the function module to be processed;
[0121] Close the function module to be processed according to the attribute information of the function module to be processed to perform degradation processing on the intelligent cooking device and obtain the device capability information after degradation processing.
[0122] In an embodiment of the present application, a possible implementation manner is provided, where the function module includes at least one operation sub-module, and the processing unit is specifically further configured to:
[0123] Query the current state of the operation sub-module to be operated according to the attribute information of the function module to be processed;
[0124] Close the operation sub-module to be operated according to the current state of the operation sub-module to be operated to perform degradation processing on the intelligent cooking device and obtain the device capability information after degradation processing.
[0125] In an embodiment of the present application, a possible implementation is provided. After closing the to-be-operated sub-module according to the current state of the to-be-operated sub-module to perform a downgrade process on the intelligent cooking device and obtaining the device capability information after the downgrade process, the processing unit is specifically further configured to:
[0126] Determine whether the closed to-be-operated sub-module is an essential operation sub-module;
[0127] If so, adjust the closed to-be-operated sub-module to the on state; otherwise, keep the closed to-be-operated sub-module in the closed state.
[0128] In an embodiment of the present application, a possible implementation is provided. Before determining whether the closed to-be-operated sub-module is an essential operation sub-module, the processing unit is specifically further configured to:
[0129] Obtain the operation sub-modules included in each functional module of the intelligent cooking device;
[0130] Classify the operation sub-modules included in each functional module to obtain essential operation sub-modules and non-essential operation sub-modules. The essential operation sub-modules do not support being closed, and the non-essential operation sub-modules support being closed.
[0131] In an embodiment of the present application, a possible implementation is provided. The adjustment module includes:
[0132] An extraction unit, configured to extract preset cooking steps that cannot be executed by the intelligent cooking device after the downgrade process from the electronic recipe according to the device capability information of the intelligent cooking device after the downgrade process;
[0133] A conversion unit, configured to perform operation conversion on the preset cooking steps to convert the operations that cannot be automatically executed in the preset cooking steps into manually executed operations;
[0134] An adjustment unit, configured to adjust the preset cooking steps in the electronic recipe according to the manually executed operations to obtain an adjusted electronic recipe.
[0135] In an embodiment of the present application, a possible implementation is provided. The adjustment unit is specifically further configured to:
[0136] Generate operation information and broadcast information of the preset cooking steps in the electronic recipe according to the manually executed operations;
[0137] Associate the operation information and broadcast information of the preset cooking steps with the electronic recipe to obtain an adjusted electronic recipe.
[0138] Based on the same inventive concept, an embodiment of the present application further provides an electronic device, including a processor and a memory. A computer program is stored in the memory, and the processor is configured to run the computer program to execute the running method of the electronic recipe in any of the above embodiments.
[0139] In an exemplary embodiment, an electronic device is provided, as Figure 5 shown. Figure 5 The electronic device 500 shown in FIG. includes: a processor 501 and a memory 503. Among them, the processor 501 and the memory 503 are connected, such as connected through a bus 502. Optionally, the electronic device 500 may further include a transceiver 504. It should be noted that in practical applications, the transceiver 504 is not limited to one, and the structure of the electronic device 600 does not constitute a limitation to the embodiments of the present application.
[0140] The processor 501 may be a CPU (Central Processing Unit, central processor), a general-purpose processor, a DSP (Digital Signal Processor, data signal processor), an ASIC (Application Specific Integrated Circuit, application-specific integrated circuit), an FPGA (Field Programmable Gate Array, field programmable gate array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute various exemplary logic blocks, modules and circuits described in combination with the disclosure of the present application. The processor 501 may also be a combination for implementing computing functions, such as a combination including one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0141] The bus 502 may include a path for transmitting information between the above components. The bus 502 may be a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus or an EISA (Extended Industry Standard Architecture, extended industry standard architecture) bus, etc. The bus 602 may be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience of representation, Figure 5 only a thick line is used to represent it in the figure, but it does not mean that there is only one bus or one type of bus.
[0142] The memory 503 may be a ROM (Read Only Memory), or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory), or other types of dynamic storage devices that can store information and instructions. It can also be an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory), or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media, or other magnetic storage devices, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
[0143] The memory 503 is used to store the computer program code for executing the solution of this application, and is controlled by the processor 501 for execution. The processor 501 is used to execute the computer program code stored in the memory 503 to implement the content shown in the foregoing method embodiments.
[0144] Among them, the electronic device includes but is not limited to: mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Tablet Computers), PMPs (Portable Multimedia Players), in-vehicle terminals (such as in-vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The shown electronic device is only an example and should not impose any limitations on the functions and usage scope of the embodiments of this application.
[0145] Based on the same inventive concept, the embodiments of this application also provide a storage medium in which a computer program is stored. The computer program is set to execute the running method of the electronic recipe in any of the foregoing embodiments when running.
[0146] Those skilled in the art can clearly understand the specific working processes of the above-described systems, devices, and modules, and can refer to the corresponding processes in the foregoing method embodiments. For the sake of brevity, they will not be described herein again.
[0147] Those of ordinary skill in the art can understand that the technical solution of the present application, in essence, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, which includes several program instructions for causing an electronic device (such as a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the embodiments of the present application when running the program instructions. The foregoing storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs.
[0148] Alternatively, all or part of the steps of implementing the foregoing method embodiments can be completed by hardware related to program instructions (such as an electronic device such as a personal computer, a server, or a network device). The program instructions can be stored in a computer-readable storage medium. When the program instructions are executed by the processor of the electronic device, the electronic device executes all or part of the steps of the methods described in the embodiments of the present application.
[0149] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that within the spirit and principles of the present application, they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features. And these modifications or replacements do not cause the corresponding technical solutions to deviate from the protection scope of the present application.
Claims
1. A running method of an electronic recipe, characterized in that, Including: Obtaining the capability information of the intelligent cooking device after degradation processing; In response to the operation instruction of the electronic recipe, adjusting the preset cooking steps in the electronic recipe according to the capability information of the intelligent cooking device after degradation processing to obtain an adjusted electronic recipe, where the preset cooking steps are the cooking steps in the electronic recipe that cannot be executed by the intelligent cooking device after degradation processing; Running the adjusted electronic recipe in the intelligent cooking device after degradation processing.
2. The method according to claim 1, characterized in that, The obtaining the capability information of the intelligent cooking device after degradation processing includes: Obtaining the functional modules to be processed in the intelligent cooking device; Performing degradation processing on the intelligent cooking device according to the functional modules to be processed to obtain the device capability information after degradation processing.
3. The method according to claim 2, wherein The performing degradation processing on the intelligent cooking device according to the functional modules to be processed to obtain the device capability information after degradation processing includes: Traversing and querying the attribute information of each functional module in the intelligent cooking device to obtain the attribute information of the functional module to be processed; Closing the functional module to be processed according to the attribute information of the functional module to be processed to perform degradation processing on the intelligent cooking device and obtain the device capability information after degradation processing.
4. The method according to claim 3, wherein The functional module includes at least one operation sub-module. The closing the functional module to be processed according to the attribute information of the functional module to be processed to perform degradation processing on the intelligent cooking device and obtain the device capability information after degradation processing includes: Querying the current state of the operation sub-module to be operated according to the attribute information of the functional module to be processed; Closing the operation sub-module to be operated according to the current state of the operation sub-module to be operated to perform degradation processing on the intelligent cooking device and obtain the device capability information after degradation processing.
5. The method according to claim 4, characterized in that After the closing the operation sub-module to be operated according to the current state of the operation sub-module to be operated to perform degradation processing on the intelligent cooking device and obtain the device capability information after degradation processing, the method further includes: Judging whether the closed operation sub-module to be operated is a necessary operation sub-module; If so, adjusting the closed operation sub-module to be operated to the on state; otherwise, keeping the closed operation sub-module to be operated in the closed state.
6. The method according to claim 5, wherein Before the judging whether the closed operation sub-module to be operated is a necessary operation sub-module, the method further includes: Obtaining the operation sub-modules included in each functional module in the intelligent cooking device; Classifying the operation sub-modules included in each functional module to obtain necessary operation sub-modules and non-necessary operation sub-modules, where the necessary operation sub-modules do not support closing and the non-necessary operation sub-modules support closing.
7. The method according to any one of claims 1 to 6, characterized in that The adjusting the preset cooking steps in the electronic recipe according to the capability information of the intelligent cooking device after degradation processing to obtain an adjusted electronic recipe includes: Extracting the preset cooking steps in the electronic recipe that cannot be executed by the intelligent cooking device after degradation processing according to the capability information of the intelligent cooking device after degradation processing; Converting the operations in the preset cooking steps that cannot be automatically executed into manually executed operations by performing operation conversion on the preset cooking steps. Adjust the preset cooking steps in the electronic recipe according to the manually performed operations to obtain an adjusted electronic recipe.
8. The method according to claim 7, wherein The adjusting the preset cooking steps in the electronic recipe according to the manually performed operations to obtain an adjusted electronic recipe includes: Generate operation information and broadcast information of the preset cooking steps in the electronic recipe according to the manually performed operations; Associate the operation information and broadcast information of the preset cooking steps with the electronic recipe to obtain an adjusted electronic recipe.
9. An operating device for an electronic menu, characterized in that, Includes: An acquisition module, configured to acquire the intelligent cooking device capability information after being downgraded; An adjustment module, configured to, in response to the operation instruction of the electronic recipe, adjust the preset cooking steps in the electronic recipe according to the intelligent cooking device capability information after being downgraded to obtain an adjusted electronic recipe, where the preset cooking steps are cooking steps in the electronic recipe that cannot be executed by the intelligent cooking device after being downgraded; An operation module, configured to operate the adjusted electronic recipe in the intelligent cooking device after being downgraded.
10. An electronic device, characterized in that, Includes a processor and a memory. Among them, a computer program is stored in the memory, and the processor is configured to run the computer program to execute the operation method of the electronic recipe according to any one of claims 1 to 8.
11. A storage medium, characterized in that, A computer program is stored in the storage medium, where the computer program is configured to execute the operation method of the electronic recipe according to any one of claims 1 to 8 when running.