CN110825770A - Electronic menu generation method and electronic equipment - Google Patents
Electronic menu generation method and electronic equipment Download PDFInfo
- Publication number
- CN110825770A CN110825770A CN201910966008.6A CN201910966008A CN110825770A CN 110825770 A CN110825770 A CN 110825770A CN 201910966008 A CN201910966008 A CN 201910966008A CN 110825770 A CN110825770 A CN 110825770A
- Authority
- CN
- China
- Prior art keywords
- cooking step
- cooking
- menu
- keyword
- electronic
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/248—Presentation of query results
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Electric Ovens (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a method for generating an electronic menu and electronic equipment, wherein the method comprises the following steps: the electronic equipment acquires a first menu; extracting at least one keyword in the first menu; matching at least one cooking step corresponding to at least one keyword from a pre-stored step library; at least one cooking step is a cooking step in which the cooking apparatus is operable; an electronic recipe is generated according to at least one cooking step. In this way, the electronic device can match at least one corresponding cooking step for at least one keyword from the pre-stored step library according to at least one keyword extracted from the first menu, and then automatically generate the electronic menu according to at least one cooking step, so that the operation of operating the cooking device to execute the first menu by the menu creator is saved, the operation of converting the first menu into the electronic menu in one step is omitted, and the conversion process of converting the first menu into the electronic menu is simplified.
Description
Technical Field
The invention relates to the technical field of intelligent cooking, in particular to a method for generating an electronic menu and electronic equipment.
Background
The electronic menu is generally a standardized menu edited by specific creation software and can be directly operated on specific cooking equipment. However, for the individual creators, the text recipes created by the individual creators for some private room dishes are generally difficult to adapt to the development trend of the current electronic recipes, and therefore, the text recipes created by the individual creators generally need to be converted into the electronic recipes.
However, in the existing scheme for converting the text recipe into the electronic recipe, an author of the electronic recipe needs to actually operate the cooking device to execute the text recipe, and the text recipe is converted into the electronic recipe step by combining with creation software, so that the conversion process is complicated.
Disclosure of Invention
The embodiment of the invention provides a method for generating an electronic menu and electronic equipment, which are used for simplifying the conversion process of the electronic menu.
In a first aspect, an embodiment of the present invention provides a method for generating an electronic menu, where the method includes:
acquiring a first menu;
extracting at least one keyword in the first menu;
matching at least one cooking step corresponding to the at least one keyword from a pre-stored step library; the at least one cooking step is a cooking step which can be operated by the intelligent cooking equipment;
an electronic recipe is generated according to the at least one cooking step.
In the embodiment of the invention, the electronic equipment can match at least one corresponding cooking step for at least one keyword from a pre-stored step library according to at least one keyword extracted from the first menu, and then automatically generate the electronic menu according to at least one cooking step, so that the operation of operating the cooking equipment to execute the first menu by a menu creator is saved, the operation of converting the first menu into the electronic menu in one step is omitted, and the conversion process of converting the first menu into the electronic menu is simplified.
In one possible design, generating an electronic recipe from the at least one cooking step includes:
determining a corresponding order of each keyword of the at least one keyword in the first menu;
ranking the at least one cooking step according to an order of each of the at least one keyword with respect to each other in the first recipe;
and generating the electronic menu according to the at least one cooking step after sequencing.
In the embodiment of the invention, the electronic equipment can adjust the sequencing of at least one cooking step according to the corresponding sequence of at least one keyword in the first text menu, so that when the electronic equipment generates the electronic menu according to the sequenced at least one cooking step, the rationality of the electronic menu for executing the cooking step can be improved, and the phenomena that the subsequent cooking step is executed in advance or the former cooking step is executed later and the like in the electronic equipment can be avoided.
In one possible design, matching at least one cooking step corresponding to the at least one keyword from a pre-stored library of steps includes:
determining a first cooking step corresponding to each keyword in the at least one keyword in the pre-stored step library to obtain at least one first cooking step;
determining whether there is at least one second cooking step associated before and/or after the at least one first cooking step;
when it is determined that there is at least one second cooking step associated before and/or after in the at least one first cooking step, matching the at least one second cooking step associated before and/or after and the at least one first cooking step for the at least one keyword; alternatively, the first and second electrodes may be,
matching the at least one first cooking step for the at least one keyword when it is determined that there is no pre-and/or post-associated at least one second cooking step for the at least one first cooking step.
In the embodiment of the invention, the electronic equipment can determine whether at least one first cooking step corresponding to at least one keyword exists at least one second cooking step associated before and/or after, so that the at least one keyword can be matched with the corresponding at least one cooking step in different modes, the phenomenon of poor integrity of the electronic menu caused by the cooking step of the default part of the first menu is avoided, and the integrity of the electronic menu is improved.
In one possible design, matching the at least one second cooking step and the at least one first cooking step associated before and/or after for the at least one keyword comprises:
determining whether the at least one first cooking step comprises at least one second cooking step associated front and/or back;
matching the at least one keyword with the at least one first cooking step and the at least one second cooking step associated before and/or after the at least one keyword when it is determined that the at least one first cooking step does not comprise at least one second cooking step associated before and/or after.
In the embodiment of the invention, when the electronic equipment determines that at least one first cooking step is associated with at least one second cooking step before and/or after the at least one first cooking step, the at least one first cooking step can be matched with the corresponding at least one second cooking step in different modes, so that redundant repeated cooking steps in the at least one cooking step matched with the at least one first cooking step by the electronic equipment can be avoided, and the reasonability of the at least one cooking step matched with the at least one first cooking step by the electronic equipment is improved.
In one possible design, determining whether there is at least one second cooking step associated before and/or after the at least one first cooking step comprises:
determining food material information or ingredient information or equipment information corresponding to the at least one keyword in the first menu;
and determining whether at least one second cooking step which is associated with the at least one first cooking step before and/or after the food material information or the ingredient information or the equipment information exists.
In the embodiment of the invention, the electronic device may determine whether at least one first cooking step has at least one second cooking step associated before and/or after the at least one first cooking step according to the food material information or the ingredient information or the cooking information, and may improve the rationality of the at least one second cooking step associated before and/or after the at least one first cooking step is matched.
In one possible design, after generating the electronic recipe in accordance with the at least one cooking step, the method further comprises:
determining a first cooking parameter corresponding to the at least one cooking step;
determining a second cooking parameter corresponding to the at least one keyword in the first menu;
and adjusting the first cooking parameter according to the second cooking parameter.
In the embodiment of the invention, the electronic equipment can reserve the cooking parameters given in the first menu, so that when a user wants to execute the electronic equipment according to the cooking parameters in the first menu, the operation of manually changing the cooking parameters by the user is saved, and the user experience is improved.
In one possible design, the method further includes:
determining taste information and/or mouthfeel information corresponding to the electronic menu;
comparing the taste information with pre-stored target taste information to determine whether the taste information accords with the target taste information, and/or comparing the taste information with pre-stored target taste information to determine whether the taste information accords with the target taste information;
and when the taste information is determined not to accord with the target taste information and/or the mouth feel information is determined not to accord with the target mouth feel information, adjusting the first cooking parameter according to the target taste information and/or the target mouth feel information.
In the embodiment of the invention, the electronic equipment can adjust the cooking parameters of the electronic menu according to different tastes and/or mouthfeel, so that the electronic menu can meet the requirements of different tastes and/or different mouthfeel of different users, and the user experience is favorably improved.
In one possible design, the method further includes:
determining a cooking mode corresponding to the at least one cooking step;
and adjusting the first cooking parameter according to the cooking mode.
In the embodiment of the invention, the electronic equipment can adjust the first cooking parameter of at least one cooking step according to the cooking mode corresponding to at least one cooking step, so that the electronic menu meets the requirement of the cooking mode, and therefore, when the user selects the electronic menu according to the cooking mode, the requirement of the user on the cooking mode can be met, and the user experience is facilitated to be improved.
In one possible design, the method further includes:
receiving input of a third cooking parameter for the at least one cooking step;
adjusting the first cooking parameter according to the third cooking parameter.
In the embodiment of the invention, a user can adjust the first cooking parameter of at least one cooking step according to the own requirements, so that the electronic menu can meet different requirements of the user, and the user experience is improved.
In a second aspect, an embodiment of the present invention provides an electronic device, including:
an acquisition unit for acquiring a first menu;
the extraction unit is used for extracting at least one keyword in the first menu;
a processing unit for matching at least one cooking step corresponding to the at least one keyword from a pre-stored step library; the at least one cooking step is a cooking step which can be operated by the intelligent cooking equipment;
the processing unit is further configured to generate an electronic recipe in accordance with the at least one cooking step.
In one possible design, the processing unit is specifically configured to:
determining a corresponding order of each keyword of the at least one keyword in the first menu;
ranking the at least one cooking step according to an order of each of the at least one keyword with respect to each other in the first recipe;
and generating the electronic menu according to the at least one cooking step after sequencing.
In one possible design, the processing unit is specifically configured to:
determining a first cooking step corresponding to each keyword in the at least one keyword in the pre-stored step library to obtain at least one first cooking step;
determining whether there is at least one second cooking step associated before and/or after the at least one first cooking step;
when it is determined that there is at least one second cooking step associated before and/or after in the at least one first cooking step, matching the at least one second cooking step associated before and/or after and the at least one first cooking step for the at least one keyword; alternatively, the first and second electrodes may be,
matching the at least one first cooking step for the at least one keyword when it is determined that there is no pre-and/or post-associated at least one second cooking step for the at least one first cooking step.
In one possible design, the processing unit is specifically configured to:
determining whether the at least one first cooking step comprises at least one second cooking step associated front and/or back;
matching the at least one keyword with the at least one first cooking step and the at least one second cooking step associated before and/or after when it is determined that the at least one first cooking step does not comprise the at least one second cooking step associated before and/or after.
In one possible design, the processing unit is specifically configured to:
determining food material information or ingredient information or equipment information corresponding to the at least one keyword in the first menu;
and determining at least one second cooking step associated with the food material information or the ingredient information or the equipment information before and/or after the at least one first cooking step.
In one possible design, the processing unit is further configured to:
determining a first cooking parameter corresponding to the at least one cooking step;
determining a second cooking parameter corresponding to the at least one keyword in the first menu;
and adjusting the first cooking parameter according to the second cooking parameter.
In one possible design, the processing unit is further configured to:
determining taste information and/or mouthfeel information corresponding to the electronic menu;
comparing the taste information with pre-stored target taste information to determine whether the taste information accords with the target taste information, and/or comparing the taste information with pre-stored target taste information to determine whether the taste information accords with the target taste information;
and when the taste information is determined not to accord with the target taste information and/or the mouth feel information is determined not to accord with the target mouth feel information, adjusting the first cooking parameter according to the target taste information and/or the target mouth feel information.
In one possible design, the processing unit is further configured to:
determining a cooking mode corresponding to the at least one cooking step;
and adjusting the first cooking parameter according to the cooking mode.
In one possible design, the electronic device further includes a receiving unit, where the receiving unit is specifically configured to:
receiving input of a third cooking parameter for the at least one cooking step;
the processing unit is further to:
adjusting the first cooking parameter according to the third cooking parameter.
In a third aspect, an embodiment of the present invention provides an electronic device, including: at least one processor and memory; wherein the memory is to store one or more computer programs; the one or more computer programs stored by the memory, when executed by the at least one processor, enable the electronic device to perform the method of the first aspect described above or any one of the possible designs of the first aspect described above.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where computer instructions are stored, and when the computer instructions are executed on an electronic device, the electronic device is enabled to execute the method according to the first aspect or any one of the possible designs according to the first aspect.
Drawings
Fig. 1 is a schematic flow chart of a method for generating an electronic menu according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of another electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The shapes and sizes of the various elements in the drawings are not to scale and are merely intended to illustrate the invention.
In the embodiments of the present invention, "first", "second", and "third" are used to distinguish different objects, and are not used to describe a specific order. Furthermore, the term "comprises" and any variations thereof, which are intended to cover non-exclusive protection. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
In this embodiment of the present invention, "and/or" is only one kind of association relation describing an associated object, and indicates that three kinds of relations may exist, for example, a and/or B may indicate: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the "/" character in the specification and claims of the present invention and the above drawings generally indicates that the former and latter related objects are in an "or" relationship.
In the embodiments of the present invention, the "plurality" may mean at least two, for example, two, three, or more, and correspondingly, the "plurality" may mean at least two, and the embodiments of the present invention are not limited.
In this embodiment of the present invention, the "first menu" may be a text menu, or may be a menu in other forms (for example, voice, picture), and the embodiment of the present invention is not limited.
As can be seen from the foregoing, the conventional scheme has a problem that the conversion process of the electronic menu is complicated. In order to solve the problem, the embodiment of the invention provides a method for generating an electronic menu.
The following specifically describes a generation process of an electronic menu in an embodiment of the present invention.
Fig. 1 is a schematic flow chart of a method for generating an electronic menu according to an embodiment of the present invention. The method can be applied to electronic equipment, wherein the electronic equipment can be intelligent kitchen equipment such as a central control host, an intelligent pot, an intelligent stove and the like with a function of converting menus in other forms into electronic menus, and can also be other equipment such as mobile phones, tablets, desktop computers and the like with a function of converting menus in other forms into electronic menus, and the embodiment of the invention is not limited. As shown in fig. 1, the method flow includes:
s101, obtaining a first menu.
Optionally, the electronic device may obtain the first menu in various ways. Such as: the electronic device may obtain the first menu sent by another device, or obtain the first menu uploaded by the user in the electronic device, or obtain the first menu created by the user on the electronic device, or obtain the first menu prestored in the electronic device according to an instruction triggered by the user and used for selecting the first menu prestored in the electronic device, or obtain the first menu prestored in the server from the server according to an index word input by the user, and so on, which is not limited in the embodiment of the present invention.
In the embodiment of the invention, the electronic equipment can acquire the first menu through multiple channels, so that the limitation of the channel for acquiring the first menu by the electronic equipment is solved, and the user experience is favorably improved.
S102, extracting at least one keyword in the first menu.
Optionally, after the first menu is acquired, the electronic device may extract at least one keyword in the first menu. The electronic device may extract at least one keyword in the first menu, which may be a word that can be read by a cooking device (e.g., a cooking device such as an intelligent seasoning device or an intelligent cooker) and directly executed or converted to be executed, for example, a word such as a pouring word or a stir-frying word.
For example, taking a tomato scrambled egg recipe recorded in the form of a first recipe as a text as an example, the cooking steps recorded in the tomato scrambled egg text recipe are as follows: pouring oil, hot oil, eggs, stir-frying eggs, holding eggs, pouring oil, adding a little salt, hot oil, tomatoes, stir-frying, adding the fried eggs, stir-frying, adding a little salt, holding the prepared tomatoes, stir-frying eggs, and scattering chopped green onion to finish the preparation. After the electronic device acquires the first menu, keywords such as "pour a", "hot a", "pour b", "stir-fry a", "fill a", "pour c", "add a", "hot b", "pour d", "stir-fry b", "pour f", "stir-fry c", "add b", "fill b", "spill" and the like may be extracted from the first menu.
In a specific implementation process, if the keyword extracted from the first menu by the electronic device is not a word that can be read and executed by the cooking device, the electronic device may fail to convert the first menu into the electronic menu, or the electronic device may have a low matching degree between the electronic menu converted from the first menu and the first menu, or the process of converting the first menu into the electronic device by the electronic device is complicated. For example, when some keywords which cannot be read or executed by the cooking device are extracted in the subsequent process of generating the electronic menu according to at least one cooking step corresponding to at least one keyword by the electronic device, the electronic device matches an incorrect cooking step according to the keywords, so that when the electronic device generates the electronic menu according to the cooking step corresponding to the keywords, the matching degree of the electronic menu and the first menu is low; or the electronic device cannot match the keywords with the corresponding cooking steps, so that the electronic device fails to convert the first menu into the electronic device; or, when the electronic device needs to perform further analysis processing on the keywords to generate an electronic menu with a high matching degree with the first menu, the process of generating the electronic menu by the electronic device is complicated.
In the embodiment of the invention, the electronic equipment can acquire at least one keyword which can be read and executed by the cooking equipment in the first menu, so that the success rate of converting the first menu into the electronic menu and the matching degree of the electronic menu and the first menu can be improved when the electronic menu is subsequently generated according to at least one cooking step corresponding to the keywords, and the process of generating the electronic menu by the electronic equipment is simplified.
S103, matching at least one cooking step corresponding to at least one keyword from a pre-stored step library; at least one cooking step is a cooking step that the intelligent cooking apparatus is capable of operating.
Optionally, the electronic device may match the corresponding at least one cooking step to the extracted at least one keyword. For example, a step library may be pre-stored in the electronic device, or a step library pre-stored in the server may be obtained from the server, where the pre-stored step library may store a cooking step corresponding to each keyword, for example, the cooking step corresponding to the keyword "hot" is heating. In particular, the cooking step "heat" is matched, with the cooking step requirements and cooking parameters. After the electronic device extracts the at least one keyword, a cooking step corresponding to each keyword of the at least one keyword may be matched from a pre-stored step library. For example, taking the keyword "heat a" in the above-mentioned tomato scrambled egg text recipe as an example, the electronic device may match the corresponding cooking step for the keyword "heat a" to be heating a.
In a specific implementation process, since an individual creator generally creates a recipe at a human angle, some cooking steps may be absent in the first recipe acquired by the electronic device. For example, taking the cooking step of hot oil as an example, a general user may know that "hot pot" is needed before "oil is poured" when using the first menu, and therefore, when creating the first menu, an individual author may not write the cooking step of "hot pot" into the first menu, which may result in that the electronic device lacks the cooking step of "hot pot" when converting the first menu into an electronic menu, so that the integrity of the electronic menu is poor.
In order to improve the completeness of the electronic menu, in the embodiment of the present invention, the electronic device may match at least one cooking step for at least one keyword in different manners by determining whether the cooking step corresponding to each keyword exists in a pre-associated cooking step and/or a post-associated cooking step, that is, determining whether other cooking steps exist before and/or after the cooking step corresponding to each keyword.
The following describes a process of matching, by the electronic device, at least one corresponding cooking step for at least one keyword. The first cooking step is taken as the cooking step corresponding to each keyword, and the second cooking step is distinguished from the cooking step associated with the first cooking step.
Optionally, a pre-stored step library may have associated second cooking steps stored therein before and/or after each first cooking step. In a specific implementation process, after determining a first cooking step corresponding to each keyword in at least one keyword in a pre-stored step library and obtaining at least one first cooking step, the electronic device may determine whether at least one first cooking step has at least one second cooking step associated before and/or after the at least one first cooking step from the pre-stored step library, so as to match the at least one keyword with the at least one second cooking step in different ways. Such as:
example 1, when the electronic device determines that there is at least one second cooking step associated before and/or after at least one first cooking step, matching the at least one second cooking step associated before and/or after and the at least one first cooking step for the at least one keyword. Specifically, when the electronic device determines that there is at least one second cooking step associated before and/or after at least one first cooking step, the electronic device may determine whether the at least one cooking step includes the at least one second cooking step associated before and/or after, and when it is determined that the at least one first cooking step does not include the at least one second cooking step associated before and/or after, match the at least one second cooking step associated before and/or after and the at least one first cooking step for the at least one keyword; or, when the electronic device determines that at least one first cooking step partially includes at least one second cooking step associated before and/or after, the electronic device may match at least one first cooking step with at least one keyword and partially not included in at least one first cooking step of the at least one first cooking step associated before and/or after; alternatively, the electronic device may match the at least one first cooking step for the at least one keyword when the electronic device determines that the at least one first cooking step includes at least one second cooking step associated before and/or after.
For example, still taking the above-mentioned tomato scrambled egg text recipe as an example, when the electronic device determines that the previously associated second cooking step in the keyword "heat a" includes heat e, pour a, then the electronic device may determine that at least one cooking step includes the second cooking step, pour a, and the electronic device may match the keyword "heat a" with at least one cooking step including the second cooking step "heat e" and the first cooking step "heat a".
In example 1, when it is determined that at least one first cooking step is associated with at least one second cooking step before and/or after the at least one first cooking step, the electronic device may match the corresponding at least one first cooking step for the at least one keyword in different ways, so that an unnecessary repetition of the at least one cooking step in the at least one cooking step matched for the at least one keyword by the electronic device may be avoided, and the rationality of the at least one cooking step matched for the at least one keyword by the electronic device is improved.
Example 2, when the electronic device determines that the at least one first cooking step does not have the pre-and/or post-associated at least one second cooking step, the electronic device matches the at least one first cooking step for the at least one keyword.
In the embodiment of the invention, the electronic device can match the corresponding at least one cooking step for the at least one keyword in different ways by determining whether the at least one first cooking step corresponding to the at least one keyword exists in the at least one second cooking step associated before and/or after, so that on one hand, the phenomenon of poor integrity of the electronic menu caused by the cooking step of the default part of the first menu is avoided, thereby improving the integrity of the electronic menu, and on the other hand, the rationality of the at least one cooking step matched for the at least one keyword by the electronic device is improved.
Optionally, the electronic device may determine, before and/or after determining whether the at least one first cooking step exists, the at least one second cooking step related to the at least one first cooking step, by using the food material information or the ingredient information or the device information. For example, the electronic device may determine, based on the food material information (which may also be ingredient information or device information), whether there is at least one second cooking step associated with the at least one first cooking step before and/or after.
For example, a pre-stored step library may store a cooking step module, where the step module may be set according to food material information (also may be ingredient information or equipment information, etc.). For example, taking the food material information as oil as an example, the cooking step module corresponding to the food material information may include heating, pouring, and heating (cooking step corresponding to the food material information). Taking the keyword "heat a" in the tomato scrambled egg text recipe as an example, the electronic device may determine that the food material information corresponding to "heat a" is oil, and then the electronic device may determine, according to the food material information, that the cooking step included in the cooking step module corresponding to the food material information is heating e and pouring a, and heat a, and then the electronic device may determine two second cooking steps, i.e., heating e and pouring a, associated with the existence of "heating a".
In the embodiment of the invention, the electronic device may determine whether at least one first cooking step has at least one second cooking step associated before and/or after the at least one first cooking step according to the food material information or the ingredient information or the cooking information, and may improve the rationality of the at least one second cooking step associated before and/or after the at least one first cooking step is matched.
And S104, generating an electronic menu according to at least one cooking step.
Optionally, after the electronic device matches the corresponding at least one cooking step for the at least one keyword, an electronic menu may be automatically generated according to the at least one cooking step.
In the embodiment of the invention, the electronic equipment can automatically match at least one corresponding cooking step from the pre-stored step library for at least one keyword according to at least one keyword extracted from the first menu, and then generate the electronic menu according to at least one cooking step, so that the operation of operating the cooking equipment to execute the first menu by a menu creator is saved, the operation of converting the first menu into the electronic menu in one step is omitted, and the conversion process of converting the first menu into the electronic menu is simplified.
In a specific implementation process, after determining a corresponding order of each keyword in the at least one keyword in the first menu, the electronic device may rank the at least one cooking step according to an order of each keyword in the at least one keyword in the first menu. Thereafter, an electronic recipe may be generated according to the sorted at least one cooking step.
In the embodiment of the invention, the electronic equipment can adjust the sequencing of at least one cooking step according to the corresponding sequence of at least one keyword in the first text menu, so that when the electronic equipment generates the electronic menu according to the sequenced at least one cooking step, the rationality of the electronic menu in executing the cooking step can be improved, and the phenomena that the subsequent cooking step is executed in advance or the front cooking step is executed later and the like in the electronic equipment can be avoided.
Optionally, after the electronic device generates the electronic menu according to the at least one cooking step corresponding to the at least one keyword, the electronic device adjusts the first cooking parameter corresponding to the at least one cooking step so that the electronic menu meets different requirements. The electronic device may adjust at least one cooking step in various ways, such as:
in the mode 1, the electronic device may determine a first cooking parameter corresponding to at least one cooking step, and determine a second cooking parameter corresponding to at least one keyword in the first menu, and then may adjust the first cooking parameter according to the second cooking parameter.
In the mode 1, the electronic device can keep the cooking parameters given in the first menu, so that when a user wants to execute the electronic device according to the cooking parameters in the first menu, the operation of manually changing the cooking parameters by the user is saved, and the user experience is improved.
In the mode 2, the electronic device may determine taste information and/or mouthfeel information corresponding to the electronic menu, and then the electronic device compares the taste information with pre-stored target taste information to determine whether the taste information matches the target taste information, and/or compares the mouthfeel information with pre-stored target mouthfeel information to determine whether the mouthfeel information matches the target mouthfeel information. When the electronic equipment determines that the taste information does not accord with the target taste information and/or determines that the taste information does not accord with the target taste information, the first cooking parameter is adjusted according to the target taste information and/or the target taste information.
In the mode 2, the electronic device can adjust the cooking parameters of the electronic menu according to different tastes and/or different tastes, so that the electronic menu can meet the requirements of different tastes and/or different tastes of different users, and the user experience can be improved.
Mode 3, the electronic device may determine a cooking mode corresponding to at least one cooking step, and then may adjust the first cooking parameter according to the cooking mode, so that the electronic menu meets the cooking requirement of the cooking mode.
In mode 3, the electronic device can adjust the first cooking parameter of at least one cooking step according to the cooking mode corresponding to at least one cooking step, so that the electronic menu meets the requirement of the cooking mode, and therefore when the user selects the electronic menu according to the cooking mode, the requirement of the user on the cooking mode can be met, and the user experience can be improved.
Mode 4, the electronic device may receive the input third cooking parameter for the at least one cooking step, and then may adjust the first cooking parameter according to the third cooking parameter.
In the mode 4, the user can adjust the first cooking parameter of at least one cooking step according to the own requirements, so that the electronic menu can meet different requirements of the user, and the user experience can be improved.
As can be seen from the above description, in the technical solution of the embodiment of the present invention, the electronic device obtains the first menu; extracting at least one keyword in the first menu; matching at least one cooking step corresponding to at least one keyword from a pre-stored step library; at least one cooking step is a cooking step in which the cooking apparatus is operable; an electronic recipe is generated according to at least one cooking step. In this way, the electronic device can match at least one corresponding cooking step for at least one keyword from the pre-stored step library according to at least one keyword extracted from the first menu, and then automatically generate the electronic menu according to at least one cooking step, so that the operation of operating the cooking device to execute the first menu by the menu creator is saved, the operation of converting the first menu into the electronic menu in one step is omitted, and the conversion process of converting the first menu into the electronic menu is simplified.
Based on the same inventive concept, the embodiment of the invention provides electronic equipment. Fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
As shown in fig. 2, the electronic apparatus 200 includes:
an acquisition unit 201 for acquiring a first recipe;
an extracting unit 202, configured to extract at least one keyword in the first menu;
a processing unit 203 for matching at least one cooking step corresponding to at least one keyword from a pre-stored step library; at least one cooking step is a cooking step which can be operated by the intelligent cooking equipment;
the processing unit 203 is further configured to generate an electronic recipe according to the at least one cooking step.
In one possible design, the processing unit 203 is specifically configured to:
determining the corresponding sequence of each keyword in the at least one keyword in the first menu;
ranking the at least one cooking step according to an order of each of the at least one keyword with respect to each other in the first recipe;
and generating an electronic menu according to the at least one cooking step after sequencing.
In one possible design, the processing unit 203 is specifically configured to:
determining a first cooking step corresponding to each keyword in at least one keyword in a prestored step library to obtain at least one first cooking step;
determining whether there is at least one second cooking step associated before and/or after the at least one first cooking step;
when it is determined that there is at least one second cooking step associated before and/or after in the at least one first cooking step, matching the at least one second cooking step associated before and/or after and the at least one first cooking step for the at least one keyword; alternatively, the first and second electrodes may be,
matching at least one first cooking step for at least one keyword when it is determined that there is no pre-and/or post-associated at least one second cooking step for at least one first cooking step.
In one possible design, the processing unit 203 is specifically configured to:
determining whether the at least one first cooking step comprises at least one second cooking step associated front and/or back;
when it is determined that the at least one first cooking step does not comprise at least one second cooking step associated before and/or after, matching the at least one second cooking step associated before and/or after and the at least one first cooking step for the at least one keyword.
In one possible design, the processing unit 203 is specifically configured to:
determining food material information or ingredient information or equipment information corresponding to at least one keyword in a first menu;
determining at least one second cooking step associated before and/or after the at least one first cooking step according to the food material information or the ingredient information or the device information.
In one possible design, the processing unit 203 is further configured to:
determining a first cooking parameter corresponding to at least one cooking step;
determining a second cooking parameter corresponding to at least one keyword in the first menu;
and adjusting the first cooking parameter according to the second cooking parameter.
In one possible design, the processing unit 203 is further configured to:
determining taste information and/or mouthfeel information corresponding to the electronic menu;
comparing the taste information with pre-stored target taste information to determine whether the taste information is consistent with the target taste information, and/or comparing the taste information with pre-stored target taste information to determine whether the taste information is consistent with the target taste information;
and when the taste information is determined not to be accordant with the target taste information and/or the mouth feel information is determined not to be accordant with the target mouth feel information, adjusting the first cooking parameter according to the target taste information and/or the target mouth feel information.
In one possible design, the processing unit 203 is further configured to:
determining a cooking mode corresponding to at least one cooking step;
and adjusting the first cooking parameter according to the cooking mode.
In one possible design, the electronic device 200 further includes a receiving unit (not shown in fig. 2), which is specifically configured to:
receiving input of a third cooking parameter of at least one cooking step;
the processing unit 203 is further configured to:
and adjusting the first cooking parameter according to the third cooking parameter.
The electronic device 200 in the embodiment of the present invention and the method for generating an electronic menu shown in fig. 1 are based on the same concept, and through the foregoing detailed description of the method for generating an electronic menu, a person skilled in the art can clearly understand the implementation process of the electronic device 200 in the embodiment, so for brevity of the description, detailed description is omitted here.
Based on the same inventive concept, the embodiment of the invention provides electronic equipment. Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
As shown in fig. 3, the electronic device 300 includes:
a memory 301 for storing one or more computer instructions;
at least one processor 302 for reading computer instructions in the memory 301 to enable the electronic device 300 to implement all or part of the steps in the embodiment shown in fig. 1.
Optionally, the memory 301 may include a high-speed random access memory, and may further include a nonvolatile memory, such as a magnetic disk storage device, a flash memory device, or other nonvolatile solid state storage devices, and the like, which is not limited in the embodiments of the present invention.
Alternatively, the processor 302 may be a general purpose processor (CPU), or an ASIC, or an FPGA, or may be one or more integrated circuits for controlling program execution.
In some embodiments, the memory 301 and the processor 302 may be implemented on the same chip, or in other embodiments, they may be implemented separately on separate chips, and the embodiments of the present invention are not limited thereto.
Based on the same inventive concept, embodiments of the present invention provide a computer-readable storage medium, which stores computer instructions, and when the computer instructions are executed by an electronic device, the electronic device executes the steps of the method for generating an electronic menu.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (12)
1. A method for generating an electronic menu, comprising:
acquiring a first menu;
extracting at least one keyword in the first menu;
matching at least one cooking step corresponding to the at least one keyword from a pre-stored step library; the at least one cooking step is a cooking step in which the cooking apparatus is operable;
an electronic recipe is generated according to the at least one cooking step.
2. The method of claim 1, wherein generating an electronic recipe based on the at least one cooking step comprises:
determining a corresponding order of each keyword of the at least one keyword in the first menu;
ranking the at least one cooking step according to an order of each of the at least one keyword with respect to each other in the first recipe;
and generating the electronic menu according to the at least one cooking step after sequencing.
3. The method of claim 1, wherein matching at least one cooking step corresponding to the at least one keyword from a library of pre-stored steps comprises:
determining a first cooking step corresponding to each keyword in the at least one keyword in the pre-stored step library to obtain at least one first cooking step;
determining whether there is at least one second cooking step associated before and/or after the at least one first cooking step;
when it is determined that there is at least one second cooking step associated before and/or after in the at least one first cooking step, matching the at least one second cooking step associated before and/or after and the at least one first cooking step for the at least one keyword; alternatively, the first and second electrodes may be,
matching the at least one first cooking step for the at least one keyword when it is determined that there is no pre-and/or post-associated at least one second cooking step for the at least one first cooking step.
4. The method of claim 3, wherein matching the at least one second cooking step and the at least one first cooking step of the pre-and/or post-association for the at least one keyword comprises:
determining whether the at least one first cooking step comprises at least one second cooking step associated front and/or back;
matching the at least one keyword with the at least one first cooking step and the at least one second cooking step associated before and/or after the at least one keyword when it is determined that the at least one first cooking step does not comprise at least one second cooking step associated before and/or after.
5. The method of claim 3, wherein determining whether there is at least one second cooking step associated with the at least one first cooking step before and/or after comprises:
determining food material information or ingredient information or equipment information corresponding to the at least one keyword in the first menu;
determining whether at least one second cooking step associated with the at least one first cooking step before and/or after exists according to the food material information or the ingredient information or the equipment information.
6. The method of any one of claims 1-5, wherein after generating the electronic recipe based on the at least one cooking step, the method further comprises:
determining a first cooking parameter corresponding to the at least one cooking step;
determining a second cooking parameter corresponding to the at least one keyword in the first menu;
and adjusting the first cooking parameter according to the second cooking parameter.
7. The method of claim 6, wherein the method further comprises:
determining taste information and/or mouthfeel information corresponding to the electronic menu;
comparing the taste information with pre-stored target taste information to determine whether the taste information accords with the target taste information, and/or comparing the taste information with pre-stored target taste information to determine whether the taste information accords with the target taste information;
and when the taste information is determined not to accord with the target taste information and/or the mouth feel information is determined not to accord with the target mouth feel information, adjusting the first cooking parameter according to the target taste information and/or the target mouth feel information.
8. The method of claim 6, wherein the method further comprises:
determining a cooking mode corresponding to the at least one cooking step;
and adjusting the first cooking parameter according to the cooking mode.
9. The method of claim 6, wherein the method further comprises:
receiving input of a third cooking parameter for the at least one cooking step;
adjusting the first cooking parameter according to the third cooking parameter.
10. An electronic device, comprising:
an acquisition unit for acquiring a first menu;
the extraction unit is used for extracting at least one keyword in the first menu;
a processing unit for matching at least one cooking step corresponding to the at least one keyword from a pre-stored step library; the at least one cooking step is a cooking step which can be operated by the intelligent cooking equipment;
the processing unit is further configured to generate an electronic recipe in accordance with the at least one cooking step.
11. An electronic device comprising at least one processor and memory;
the memory for storing one or more computer programs;
the one or more computer programs stored by the memory, when executed by the at least one processor, cause the electronic device to perform the method of any of claims 1-9.
12. A computer-readable storage medium having stored thereon computer instructions which, when run on an electronic device, cause the electronic device to perform the method of any one of claims 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910966008.6A CN110825770A (en) | 2019-10-12 | 2019-10-12 | Electronic menu generation method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910966008.6A CN110825770A (en) | 2019-10-12 | 2019-10-12 | Electronic menu generation method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110825770A true CN110825770A (en) | 2020-02-21 |
Family
ID=69548967
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910966008.6A Withdrawn CN110825770A (en) | 2019-10-12 | 2019-10-12 | Electronic menu generation method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110825770A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111414450A (en) * | 2020-03-02 | 2020-07-14 | 广州富港万嘉智能科技有限公司 | Standardized menu generation method, device, storage medium and program module framework |
CN114995553A (en) * | 2022-05-20 | 2022-09-02 | 深圳市晨北科技有限公司 | Menu processing method and device, storage medium and computer equipment |
-
2019
- 2019-10-12 CN CN201910966008.6A patent/CN110825770A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111414450A (en) * | 2020-03-02 | 2020-07-14 | 广州富港万嘉智能科技有限公司 | Standardized menu generation method, device, storage medium and program module framework |
CN114995553A (en) * | 2022-05-20 | 2022-09-02 | 深圳市晨北科技有限公司 | Menu processing method and device, storage medium and computer equipment |
CN114995553B (en) * | 2022-05-20 | 2023-09-22 | 深圳市晨北科技有限公司 | Menu processing method and device, storage medium and computer equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021143346A1 (en) | Cooking device and cooking control method and apparatus thereof, and display control method | |
US9316400B2 (en) | Appliance control method, speech-based appliance control system, and cooking appliance | |
CN106560829B (en) | Cooking recipe providing method and cooking recipe providing system | |
CN110852913A (en) | Method for making digital menu and electronic equipment | |
CN110706131A (en) | Method and device for creating electronic menu, electronic equipment and storage medium | |
CN109829835A (en) | A kind of method, apparatus, electronic equipment and the storage medium of determining menu | |
JP6491807B1 (en) | Server apparatus, information processing terminal, system, method and program | |
CN110909028A (en) | Modular menu creation method and device, storage medium and computer equipment | |
CN109710855A (en) | A kind of method, apparatus, cooking equipment and the storage medium of determining menu | |
CN109799761B (en) | Method and device for determining menu execution equipment and storage medium | |
CN110825770A (en) | Electronic menu generation method and electronic equipment | |
CN110853733A (en) | Method and device for creating electronic menu, electronic equipment and storage medium | |
WO2020027633A2 (en) | Cooking recipe service providing method for creating and sharing recipe | |
CN110716472B (en) | Method and device for creating electronic menu, electronic equipment and storage medium | |
CN110853732A (en) | Digital menu generation method and electronic equipment | |
CN110706130A (en) | Menu generation method and menu creation equipment | |
CN109464019A (en) | A kind of cooking methods and cooking equipment | |
CN110851475A (en) | Method and device for making menu and computer readable storage medium | |
CN111048126B (en) | Menu broadcasting method, storage medium and electronic device | |
CN114052473A (en) | Recipe generation and cooking step recommendation method and system of cooking machine and cooking machine | |
CN109086367A (en) | Function option recommendation method and device for intelligent cooking appliance | |
CN111046259A (en) | Menu recording method and device, storage medium and terminal | |
CN110795459A (en) | Digital menu generation method and menu creation equipment | |
CN111103815A (en) | Method and device for making menu | |
CN110825774A (en) | Digital menu generation method and menu creation equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20200221 |