CN112463948A - Menu creation method and device, storage medium and computer equipment - Google Patents

Menu creation method and device, storage medium and computer equipment Download PDF

Info

Publication number
CN112463948A
CN112463948A CN202011382394.3A CN202011382394A CN112463948A CN 112463948 A CN112463948 A CN 112463948A CN 202011382394 A CN202011382394 A CN 202011382394A CN 112463948 A CN112463948 A CN 112463948A
Authority
CN
China
Prior art keywords
information
cooking
cooking information
merged
flow channel
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.)
Pending
Application number
CN202011382394.3A
Other languages
Chinese (zh)
Inventor
王峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Unicook Technology Co Ltd
Original Assignee
Zhuhai Unicook Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhuhai Unicook Technology Co Ltd filed Critical Zhuhai Unicook Technology Co Ltd
Priority to CN202011382394.3A priority Critical patent/CN112463948A/en
Publication of CN112463948A publication Critical patent/CN112463948A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/335Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/12Hotels or restaurants

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a recipe creation method, a device, a storage medium and computer equipment, relates to the field of intelligent control, and mainly aims to simplify a display interface of man-machine interaction in an electronic recipe creation process, simply and clearly show cooking information related to nodes at different times to a user, facilitate the user to check and enhance the user experience. The method comprises the following steps: creating a time axis extending in a first direction and an information channel in a second direction of a menu to be created; if the cooking information of the at least two information flow channels at the same time node of the time axis is judged to be available, the cooking information of the at least two information flow channels at the same time node is merged to obtain merged cooking information; and generating the menu to be created based on the combined cooking information and the cooking information which is not combined. The invention is suitable for the creation of the menu.

Description

Menu creation method and device, storage medium and computer equipment
Technical Field
The invention relates to the technical field of intelligent control, in particular to a recipe creation method, a recipe creation device, a storage medium and computer equipment.
Background
Along with the improvement of living standard, the requirement of people on daily diet is higher and higher, and various electronic cookbooks can help people to make various delicious foods and meet the requirements of people, so that the creation of the electronic cookbooks as the daily cooking of people brings great convenience.
At present, when a user creates an electronic menu, the menu in the form of a text is generally generated by manual editing. However, the menu stored in the text form needs to be edited by the user only manually, so that the creation efficiency of the menu is low, and in addition, the menu stored in the text form is not intuitive enough, so that the user is not convenient to check the menu, and the user experience is poor.
Disclosure of Invention
The invention provides a recipe creation method, a device, a storage medium and computer equipment, which mainly aim to improve the creation efficiency of an electronic recipe, simplify a display interface of man-machine interaction in the creation process of the electronic recipe, simply and clearly show cooking information related to different time nodes to a user, facilitate the user to check and enhance the user experience.
According to a first aspect of the present invention, there is provided a recipe creation method, comprising:
creating a time axis extending in a first direction and an information channel in a second direction of a menu to be created;
if the cooking information of the at least two information flow channels at the same time node of the time axis is judged to be available, the cooking information of the at least two information flow channels at the same time node is merged to obtain merged cooking information;
and generating the menu to be created based on the combined cooking information and the cooking information which is not combined.
Optionally, the creating a time axis extending in a first direction of the recipe to be created and an information channel in a second direction includes:
creating a prompt information flow channel, a material information flow channel and a cooking equipment information flow channel for the menu to be created;
the cooking information includes prompt information, if there are at least two information runners, and the at least two information runners are in the same time node of the time axis and all have cooking information, then merge the cooking information of the at least two information runners at the same time node to obtain merged cooking information, including:
and when judging that at least two information channels of the prompt information channel, the material information channel and the cooking equipment information channel have prompt information at the same time node of the time axis, combining the prompt information at the same time node.
Optionally, after the prompt information channel, the material information channel and the cooking equipment information channel are created for the recipe to be created, the method further includes:
according to the cooking requirements corresponding to the menu to be created, cooking information of the prompt information flow channel, the material information flow channel and the cooking equipment information flow channel on different time nodes of the time axis is respectively determined;
and adding information on the prompt information flow channel, the material information flow channel and the cooking equipment information flow channel respectively according to the cooking information on different time nodes.
Optionally, if it is determined that the at least two information runners have the cooking information at the same time node of the time axis, the cooking information of the at least two information runners at the same time node is merged to obtain merged cooking information, and the method further includes:
and if the merged cooking information meets the preset information simplification condition, simplifying the merged cooking information to obtain simplified merged cooking information.
Optionally, if the merged cooking information meets a preset information simplification condition, simplifying the merged cooking information to obtain simplified merged cooking information, including:
if the time interval between the combined cooking information and the cooking information adjacent to the combined cooking information is smaller than a preset time interval, determining the size of a blank area between the combined cooking information and the cooking information adjacent to the combined cooking information according to the time interval;
and simplifying the merged cooking information according to the size of the blank area to obtain simplified merged cooking information.
Optionally, the simplifying the merged cooking information according to the size of the blank area to obtain simplified merged cooking information includes:
extracting at least one piece of key information from the merged cooking information according to the size of the blank area, and determining the extracted key information as simplified merged cooking information; or
And determining the display information after folding processing in the combined cooking information according to the size of the blank area, and determining the display information after folding processing as simplified combined cooking information.
Optionally, the extracting at least one piece of key information from the merged cooking information according to the size of the blank area, and determining the extracted key information as the simplified merged cooking information includes:
determining key information contained in the combined cooking information and a corresponding display priority level by using a preset key information base;
if the merged cooking information contains a plurality of key information, screening target key information from the plurality of key information according to the size of the blank area and the display priority levels corresponding to the plurality of key information, and determining the target key information as simplified merged cooking information.
Optionally, if the merged cooking information meets a preset information simplification condition, simplifying the merged cooking information to obtain simplified merged cooking information, including:
if the number of words corresponding to the combined cooking information is larger than the preset number of display words, extracting at least one piece of key information from the combined cooking information according to the preset number of display words, and determining the extracted key information as simplified combined cooking information; or
And if the number of words corresponding to the combined cooking information is larger than the preset number of display words, determining the display information after folding processing in the combined cooking information according to the preset number of display words, and determining the display information after folding processing as the simplified combined cooking information.
Optionally, if the merged cooking information meets a preset information simplification condition, simplifying the merged cooking information to obtain simplified merged cooking information, including:
determining the size of a display screen corresponding to a human-computer interaction interface;
and adjusting the combined cooking information according to the size of the display screen to obtain the adjusted combined cooking information, and displaying the adjusted combined cooking information.
Optionally, after the determining that the at least two information runners have the cooking information at the same time node of the time axis, the cooking information of the at least two information runners at the same time node is merged to obtain merged cooking information, the method further includes:
receiving a display request of the combined cooking information on a target information flow channel, wherein the display request carries identification information corresponding to the target information flow channel and a time node corresponding to the combined cooking information;
and extracting the cooking information of the target information flow channel on the time node from the combined cooking information according to the identification information, and displaying the extracted cooking information on the target information flow channel.
Optionally, after the prompt information channel, the material information channel and the cooking equipment information channel are created for the recipe to be created, the method further includes:
judging whether the size of a display screen corresponding to the human-computer interaction interface is larger than the size of a preset display screen or not;
and if the size of the preset display screen is larger than that of the preset display screen, establishing an equipment parameter information flow channel related to the menu to be created according to the cooking information in the cooking equipment information flow channel.
Optionally, the creating an apparatus parameter information flow channel related to the recipe to be created according to the cooking information in the cooking apparatus information flow channel includes:
determining the extracted equipment parameters according to the size of the display screen and the cooking information in the cooking equipment information flow channel, and creating an equipment parameter information flow channel corresponding to the equipment parameters;
extracting parameter information of the equipment parameters on different time nodes from the cooking information of the cooking equipment information flow channel;
and adding information on the equipment parameter information flow channel according to the parameter information on the different time nodes.
According to a second aspect of the present invention, there is provided an apparatus for creating a recipe, comprising:
the system comprises a creating unit, a setting unit and a display unit, wherein the creating unit is used for creating a time axis extending in a first direction of a menu to be created and an information channel in a second direction;
the merging unit is used for merging the cooking information of the at least two information flow channels at the same time node if the at least two information flow channels have the cooking information at the same time node of the time axis, so as to obtain merged cooking information;
and the generating unit is used for generating the menu to be created based on the combined cooking information and the cooking information which is not combined.
Optionally, the creating unit is specifically configured to create a prompt information channel, a material information channel, and a cooking device information channel for the recipe to be created;
the cooking information comprises prompt information, and the merging unit is specifically configured to merge the prompt information at a same time node of the time axis when at least two information runners of the prompt information runner, the material information runner and the cooking equipment information runner all have the prompt information at the same time node.
Optionally, the apparatus further comprises: a determination unit and an addition unit,
the determining unit is used for respectively determining the cooking information of the prompt information channel, the material information channel and the cooking equipment information channel on different time nodes of the time axis according to the cooking requirement corresponding to the menu to be created;
and the adding unit is used for respectively adding information on the prompt information flow channel, the material information flow channel and the cooking equipment information flow channel according to the cooking information on the different time nodes.
Optionally, the apparatus further comprises: the unit is simplified and the unit is simplified,
and the simplifying unit is used for simplifying the combined cooking information to obtain the simplified combined cooking information if the combined cooking information meets the preset information simplifying condition.
Optionally, the simplification unit includes: a determination module and a simplification module, wherein the determination module is used for determining the simplified data,
the determining module is used for determining the size of a blank area between the combined cooking information and the cooking information adjacent to the combined cooking information according to a preset time interval if the time interval between the combined cooking information and the cooking information adjacent to the combined cooking information is smaller than the preset time interval;
and the simplifying module is used for simplifying the combined cooking information according to the size of the blank area to obtain the simplified combined cooking information.
Optionally, the simplifying module is specifically configured to extract at least one piece of key information from the merged cooking information according to the size of the blank area, and determine the extracted key information as the simplified merged cooking information; or determining the display information after folding processing in the combined cooking information according to the size of the blank area, and determining the display information after folding processing as simplified combined cooking information.
Optionally, the simplified module includes: a determination submodule and a screening submodule,
the determining submodule is used for determining the key information contained in the combined cooking information and the corresponding display priority level by using a preset key information base;
and the screening submodule is used for screening target key information from the key information according to the size of the blank area and the display priority levels corresponding to the key information if the combined cooking information contains a plurality of key information, and determining the target key information as simplified combined cooking information.
Optionally, the simplifying unit is specifically configured to, if the number of words corresponding to the merged cooking information is greater than a preset number of display words, extract at least one piece of key information from the merged cooking information according to the preset number of display words, and determine the extracted key information as the simplified merged cooking information; or if the number of words corresponding to the combined cooking information is greater than the preset number of display words, determining the display information after folding processing in the combined cooking information according to the preset number of display words, and determining the display information after folding processing as the simplified combined cooking information.
Optionally, the simplification unit further includes: the adjustment module is used for adjusting the position of the optical fiber,
the determining module is also used for determining the size of a display screen corresponding to the human-computer interaction interface;
and the adjusting module is used for adjusting the combined cooking information according to the size of the display screen to obtain the adjusted combined cooking information and displaying the adjusted combined cooking information.
Optionally, the apparatus further comprises: a receiving unit and an extracting unit, wherein,
the receiving unit is configured to receive a display request of the merged cooking information in the merged cooking information on a target information flow channel, where the display request carries identification information corresponding to the target information flow channel and a time node corresponding to the merged cooking information;
the extracting unit is configured to extract, according to the identification information, the cooking information of the target information flow channel on the time node from the merged cooking information, and display the extracted cooking information on the target information flow channel.
Optionally, the apparatus further comprises: a judging unit for judging whether the received signal is a signal,
the judging unit is used for judging whether the size of a display screen corresponding to the human-computer interaction interface is larger than the size of a preset display screen;
and the creating unit is further used for creating an equipment parameter information flow channel related to the menu to be created according to the cooking information in the cooking equipment information flow channel if the size of the display screen is larger than the size of the preset display screen.
Optionally, the creating unit includes: a determining module, an extracting module and an adding module,
the determining module is used for determining the extracted equipment parameters according to the size of the display screen and the cooking information in the cooking equipment information flow channel and creating an equipment parameter information flow channel corresponding to the equipment parameters;
the extraction module is used for extracting parameter information of the equipment parameters on different time nodes from the cooking information of the cooking equipment information flow channel;
and the adding module is used for adding information on the equipment parameter information flow channel according to the parameter information on the different time nodes.
According to a third aspect of the present invention, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
creating a time axis extending in a first direction and an information channel in a second direction of a menu to be created;
if the cooking information of the at least two information flow channels at the same time node of the time axis is judged to be available, the cooking information of the at least two information flow channels at the same time node is merged to obtain merged cooking information;
and generating the menu to be created based on the combined cooking information and the cooking information which is not combined.
According to a fourth aspect of the present invention, there is provided a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the program:
creating a time axis extending in a first direction and an information channel in a second direction of a menu to be created;
if the cooking information of the at least two information flow channels at the same time node of the time axis is judged to be available, the cooking information of the at least two information flow channels at the same time node is merged to obtain merged cooking information;
and generating the menu to be created based on the combined cooking information and the cooking information which is not combined.
Compared with the mode that an information prompt box corresponding to a plurality of cooking information is displayed to a user at the same time node at present, the recipe creating method, the recipe creating device, the storage medium and the computer equipment provided by the invention can create a time axis extending in a first direction and an information flow channel extending in a second direction of the recipe to be created; if the cooking information of the at least two information flow channels at the same time node of the time axis is judged to be available, the cooking information of the at least two information flow channels at the same time node is merged to obtain merged cooking information; meanwhile, the to-be-created menu is generated based on the combined cooking information and the non-combined cooking information, so that in the creation process of the menu, the cooking information of at least two information flow channels on the same time node is combined, the combined cooking information is displayed for a user, the situation that the user sequentially checks cooking information prompt boxes on different information flow channels on the same time node can be avoided, a display interface of man-machine interaction in the creation process of the electronic menu is simplified, the cooking information related to different time nodes is simply and clearly displayed for the user, the user can conveniently check the cooking information in the created menu, and the user experience is enhanced.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of a recipe creation method according to an embodiment of the present invention;
FIG. 2 is a flow chart of another recipe creation method provided by an embodiment of the invention;
FIG. 3 is a schematic structural diagram illustrating an apparatus for creating recipes according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of another apparatus for creating recipes according to an embodiment of the present invention;
fig. 5 shows a physical structure diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
As background art, when creating an electronic menu, a user typically generates a menu in the form of a text by manual editing. However, the menu stored in the text form needs to be edited by the user only manually, so that the creation efficiency of the menu is low, and in addition, the menu stored in the text form is not intuitive enough, so that the user is not convenient to check the menu, and the user experience is poor.
In order to solve the above problem, an embodiment of the present invention provides a recipe creating method, as shown in fig. 1, the method including:
101. and creating a time axis extending in the first direction of the menu to be created and an information channel in the second direction.
The menu to be created at least comprises two information flow channels, and cooking information at corresponding time nodes is added to each information flow channel. For the embodiment of the invention, in order to generate the menu to be created, firstly, a time axis extending in a first direction is created, and an information flow channel in a second direction is created, wherein the first direction corresponding to the time axis and the second direction corresponding to the information flow channel can be the same or different, when the directions of the time axis and the information flow channel are the same, both the time axis and the information flow channel can be set to extend along a vertical direction, in addition, when a plurality of information flow channels exist in the menu to be created, a plurality of information flow channels can be arranged in parallel along a horizontal direction, meanwhile, because prompt information for prompting a user to operate, material information related to dishes and equipment information related to cooking equipment usually exist in the menu, the created information flow channel of the menu to be created can specifically comprise the prompt information flow channel, the material information flow channel and the cooking equipment information flow channel, on the basis, and equipment parameter information flow channels can be increased according to the size of a display screen corresponding to the man-machine interaction interface. The embodiment of the invention is mainly suitable for the creation of the menu, and the execution main body of the embodiment of the invention is a device or equipment capable of creating the menu.
Further, after the time axis and the information flow channel corresponding to the recipe to be created are created, according to the cooking requirement corresponding to the recipe to be created, the cooking information of each information flow channel on the corresponding time node of the time axis is respectively determined, and the cooking information on the corresponding time node is added into the information flow channel, wherein the information flow channel can be a prompt information flow channel, a material information flow channel and a cooking equipment information flow channel, the cooking information respectively added on the prompt information flow channel, the material information flow channel and the cooking equipment information flow channel can be specifically prompt information, and the cooking information comprises: the cooking requirement comprises prompt information for prompting a user to operate, material prompt information, equipment prompt information and the like, wherein the prompt information is used for prompting the user to operate, the material information related to cooked dishes, the equipment information related to cooking equipment and prompt time corresponding to the information.
For example, the menu to be operated is that tomatoes are used for stewing beef, according to the corresponding cooking requirement of the tomatoes for stewing beef, the user is prompted to add 1000ml of water in the 2 nd minute of cooking, 500g of beef is added in the 10 th minute of cooking, the heating power of a cooking pot is 1500w, 200g of tomatoes are added in the 30 th minute of cooking, the heating power of the cooking pot is 1000w, and therefore the prompt message 'please add 1000ml of water' is added in the prompt message flow channel in the 2 nd minute of the time axis; in the 10 th minute of the time axis, the prompt message 'adding beef 500 g' is added into the material information flow channel, and the prompt message 'heating power 1500 w' is added into the cooking equipment information flow channel; in the 30 th minute of the time axis, the prompt message 'add tomato 200 g' is added in the material information flow channel, and the prompt message 'heating power 1000 w' is added in the cooking equipment information flow channel, so that the prompt messages of corresponding time nodes can be added on the prompt message flow channel, the material information flow channel and the cooking equipment information flow channel respectively, when the prompt messages exist in the different information flow channels at the same time node, the prompt messages corresponding to the different information flow channels can be combined, the display interface of man-machine interaction is simplified, and the prompt messages can be checked by a user conveniently.
102. And if the cooking information of the at least two information flow channels at the same time node of the time axis is judged to be available, the cooking information of the at least two information flow channels at the same time node is merged to obtain merged cooking information.
For the embodiment of the invention, in order to overcome the defect that a display interface of man-machine interaction is too complex due to the fact that cooking information exists in different information channels at the same time node when a menu is created in the prior art, the embodiment of the invention judges whether cooking information exists in at least two information channels at the same time node of a time axis or not in the process of creating the menu, and if the cooking information exists, the cooking information of the at least two information channels at the same time node is combined to obtain combined cooking information; if cooking information exists in only one information flow channel at a certain time node, information combination is not needed. Therefore, in the process of creating the menu, when cooking information exists in different information flow channels at the same time node, a user can directly check the combined cooking information of the corresponding time node, inconvenience caused by the fact that the user is sequentially checked on a plurality of cooking information is avoided, and meanwhile, the display interface of man-machine interaction can be simplified by combining the cooking information in different information flow channels.
For example, at the 10 th minute on the time axis, the indication information existing on the material information flow path is "beef 500 g", the indication information existing on the cooking equipment information flow path is "heating power 1500 w", at the 30 th minute on the time axis, the indication information existing on the material information flow path is "tomato 200 g", the indication information existing on the cooking equipment information flow path is "heating power 1000 w", the indication information existing on the indication information flow path is "water added 300 ml", at least two information flow paths exist indication information at the 10 th minute and the 30 th minute on the time axis, therefore, the indication information of different information flow paths on the same time node is merged, the merged cooking information corresponding to the 10 th minute on the time axis is "beef added 500g, heating power 1500 w", and similarly, the merged cooking information corresponding to the 30 th minute on the time axis is "water added 300ml, 200g of tomatoes are added, and the heating power is 1000 w', so that when cooking information exists in different information flow channels at the same time node, the cooking information in different information flow channels can be combined, and the situation that a plurality of cooking information exist in the same time node is avoided, so that a man-machine interaction display interface is too complex, and a user cannot conveniently check the cooking information.
103. And generating the menu to be created based on the combined cooking information and the cooking information which is not combined.
For the embodiment of the present invention, the combined cooking information and the non-combined cooking information may be displayed on a separate information flow channel, and the direction of the information flow channel displaying the combined cooking information may be the same as the second direction or different from the second direction. Therefore, in the process of creating the menu, when cooking information exists in different information flow channels at the same time node, a user can directly check the combined cooking information of the corresponding time node, inconvenience caused by the fact that the user is sequentially checked on a plurality of cooking information is avoided, and meanwhile, the display interface of man-machine interaction can be simplified by combining the cooking information in different information flow channels.
Compared with the mode that an information prompt box corresponding to a plurality of cooking information is displayed to a user at the same time node at present, the recipe creating method provided by the embodiment of the invention can create a time axis extending in a first direction and an information flow channel extending in a second direction of the recipe to be created; if the cooking information of the at least two information flow channels at the same time node of the time axis is judged to be available, the cooking information of the at least two information flow channels at the same time node is merged to obtain merged cooking information; meanwhile, the to-be-created menu is generated based on the combined cooking information and the non-combined cooking information, so that in the creation process of the menu, the cooking information of at least two information flow channels on the same time node is combined, the combined cooking information is displayed for a user, the situation that the user sequentially checks cooking information prompt boxes on different information flow channels on the same time node can be avoided, a display interface of man-machine interaction in the creation process of the electronic menu is simplified, the cooking information related to different time nodes is simply and clearly displayed for the user, the user can conveniently check the cooking information in the created menu, and the user experience is enhanced.
Further, in order to better explain the creation process of the above recipe, as a refinement and extension of the above embodiment, a specific implementation process in this embodiment is described in detail below, as shown in fig. 2, where the method includes:
201. and creating a time axis extending in the first direction of the menu to be created and an information channel in the second direction.
For the embodiment of the present invention, in order to create a menu to be created, an information flow channel needs to be created first, and since there are usually prompt information for prompting a user to operate, material information related to a prepared dish, and device information related to a cooking device in the menu, it is determined that the menu to be created relates to the prompt information flow channel, the material information flow channel, and the cooking device information flow channel, based on which step 201 specifically includes: and creating a prompt information flow channel, a material information flow channel and a cooking equipment information flow channel for the menu to be created. The prompt information flow channel records prompt information for prompting a user to operate, the material information flow channel records material prompt information related to dishes, such as tomatoes, potatoes and the like, and the cooking equipment information flow channel records equipment prompt information related to cooking equipment, specifically including power, rotating speed and the like of the cooking equipment.
Further, after the prompt information flow channel, the material information flow channel and the cooking equipment information flow channel are created for the recipe to be created, the method further comprises the following steps: according to the cooking requirements corresponding to the menu to be created, cooking information of the prompt information flow channel, the material information flow channel and the cooking equipment information flow channel on different time nodes of the time axis is respectively determined; and adding information on the prompt information flow channel, the material information flow channel and the cooking equipment information flow channel respectively according to the cooking information on different time nodes. The cooking information specifically can be prompt information, the cooking requirement comprises prompt information for prompting a user to operate, material information related to cooked dishes, equipment information related to cooking equipment and prompt time corresponding to the information, therefore, according to the cooking requirement, prompt information of a prompt information flow channel, a material information flow channel and the cooking equipment information flow channel on corresponding time nodes can be respectively determined, and then prompt information is respectively added at corresponding time nodes in the prompt information flow channel, the material information flow channel and the cooking equipment information flow channel.
Further, the number of created information channels may be adjusted according to the size of a display screen of the human-computer interaction interface, for example, a mobile phone end may only display three information channels, so only a prompt information channel, a material information channel, and a cooking device information channel are created, and when the mobile phone end is switched to the WEB end, since the size of the display screen is large, device parameters in the cooking device information channel may be extracted separately, and a device parameter information channel is created, based on which the method further includes: judging whether the size of a display screen corresponding to the human-computer interaction interface is larger than the size of a preset display screen or not; and if the size of the preset display screen is larger than that of the preset display screen, establishing an equipment parameter information flow channel related to the menu to be created according to the cooking information in the cooking equipment information flow channel. Further, the creating an equipment parameter information flow channel related to the recipe to be created according to the cooking information in the cooking equipment information flow channel includes: determining the extracted equipment parameters according to the size of the display screen and the cooking information in the cooking equipment information flow channel, and creating an equipment parameter information flow channel corresponding to the equipment parameters; extracting parameter information of the equipment parameters on different time nodes from the cooking information of the cooking equipment information flow channel; and adding information on the equipment parameter information flow channel according to the parameter information on the different time nodes. The preset display screen size can be set according to the creation requirement of the menu, if the screen size of the mobile phone end is set to be the preset display screen size, the equipment parameters specifically can include the rotating speed and the power of the equipment and the like.
Specifically, the number of created device parameter information runners is related to the size of the display screen, and the larger the display screen is, the more created device parameter information runners are; the smaller the display screen is, the fewer the created device parameter information flow channels are, that is, when the display screen is smaller, the device parameters are selectively extracted, the device parameter information flow channel is created, for example, the size of the display screen corresponding to the human-computer interaction interface is judged to be larger than the size of a preset display screen, two device parameter information flow channels capable of being displayed are determined according to the size of the display screen, 3 device parameters exist in cooking information of the cooking device information flow channel, two device parameters are selected from the 3 device parameters to be extracted, if the extracted device parameters are power and rotating speed, a power information flow channel and a rotating speed information flow channel are respectively created, the rotating speed and the power of the cooking device at different time nodes are extracted from the cooking information of the cooking device information flow channel, the rotating speed and the power at different time nodes are respectively added into the power information flow channel and the rotating speed information flow channel, for another example, according to the size of the display screen, it is determined that three device parameter information flow channels can be displayed, and if there happen to be 3 device parameters in the cooking information in the cooking device information flow channel, all the 3 device parameters are extracted, and corresponding device parameter information flow channels are respectively created. Therefore, the number of the created information flow channels can be adjusted according to the size of the display screen, when the size of the display screen is large enough, the equipment parameters can be extracted independently, the equipment parameter information flow channels are created, and therefore a user can check the electronic menu more conveniently, and user experience is enhanced.
202. And if the cooking information of the at least two information flow channels at the same time node of the time axis is judged to be available, the cooking information of the at least two information flow channels at the same time node is merged to obtain merged cooking information.
For the embodiment of the present invention, in order to simplify the display interface of human-computer interaction during the creation of the electronic menu and facilitate the user to view the cooking information, step 202 specifically includes: and when judging that at least two information channels of the prompt information channel, the material information channel and the cooking equipment information channel have prompt information at the same time node of the time axis, combining the prompt information at the same time node.
For example, for a certain time node, the prompt information existing on the prompt information flow channel is "100 ml of water added", the prompt information existing on the material information flow channel is "stir-fried tomato for 2 minutes, salt is added for 2 g", the prompt information existing on the cooking equipment information flow channel is "heating power 1000 w", since the prompt information exists on at least two information flow channels on the time node, the information flow channels are combined to obtain combined prompt information of "100 ml of water added, stir-fried tomato for 2 minutes, salt is added for 2g, and heating power 1000 w", in addition, if the created information flow channel further includes an equipment parameter information flow channel, step 202 specifically includes: and when judging that at least two information channels of the prompt information channel, the material information channel, the cooking equipment information channel and the equipment parameter information channel have prompt information at the same time node of the time axis, merging the prompt information at the same time node. Therefore, the display interface of human-computer interaction in the electronic menu creating process can be simplified, the cooking information can be conveniently checked by a user, and the user experience is enhanced.
Further, for the combined cooking information, part of the information can be extracted and displayed in the corresponding information flow channel, and based on the extraction, the method further comprises the following steps: receiving a display request of the combined cooking information on a target information flow channel, wherein the display request carries identification information corresponding to the target information flow channel and a time node corresponding to the combined cooking information; and extracting the cooking information of the target information flow channel on the time node from the combined cooking information according to the identification information, and displaying the extracted cooking information on the target information flow channel. The identification information corresponding to the target information flow channel may be a code or a name of the target information flow channel. Therefore, the user can check the combined cooking information in one information flow channel from the combined cooking information, and can check the combined cooking information on the information flow channel by clicking the information flow channel, so that the user can check the cooking information more conveniently.
For example, when the user selects the merged cooking information "tomato 300g and heating power 1000 w" corresponding to the time node a in the interface and clicks the material information flow channel, the device or apparatus for creating the recipe can receive the display request of the merged cooking information on the material information flow channel, extract the material prompting information "tomato 300 g" from the merged cooking information according to the display request carrying the identification information of the material information flow channel and the time node a corresponding to the merged cooking information, and display the material prompting information "tomato 300 g" at the time node a on the material information flow channel, similarly, the user can click the cooking apparatus information flow channel to display the apparatus prompting information "heating power 1000 w" at the time node a on the cooking apparatus information flow channel. Therefore, the user can check the combined cooking information in one information flow channel from the combined cooking information, and can check the combined cooking information on the information flow channel by clicking the information flow channel, so that the user can check the cooking information more conveniently.
203. And if the merged cooking information meets the preset information simplification condition, simplifying the merged cooking information to obtain simplified merged cooking information.
For the embodiment of the invention, when the time interval between the combined cooking information and the adjacent cooking information is too small, or the content of the combined cooking information is too much, if the content of the combined cooking information is completely displayed, the display of the adjacent cooking information is probably influenced, and the display interface is too disordered, so that the experience of a user is poor; if the preset simplification condition is not met, the simplification processing of the combined cooking information is not needed, and the whole content of the combined cooking information can be displayed.
For a simplified processing procedure of merging cooking information, the embodiment of the present invention specifically provides two implementation manners, and for the first implementation manner, step 204 specifically includes: if the time interval between the combined cooking information and the cooking information adjacent to the combined cooking information is smaller than a preset time interval, determining the size of a blank area between the combined cooking information and the cooking information adjacent to the combined cooking information according to the time interval; and simplifying the merged cooking information according to the size of the blank area to obtain simplified merged cooking information. Further, the simplifying the merged cooking information according to the size of the blank area to obtain simplified merged cooking information includes: extracting at least one piece of key information from the merged cooking information according to the size of the blank area, and determining the extracted key information as simplified merged cooking information; or determining the display information after folding processing in the combined cooking information according to the size of the blank area, and determining the display information after folding processing as simplified combined cooking information. The cooking information adjacent to the merged cooking information may be merged cooking information or non-merged cooking information, and the preset time interval may be set according to creation requirements of the recipe, which is not specifically limited in the embodiment of the present invention. In addition, the key information corresponding to different information flow channels is different, for example, the key information corresponding to the prompt information flow channel includes closing, opening, adding and the like, the key information corresponding to the material information flow channel includes stir-frying, salt adding and the like, the key information corresponding to the cooking equipment information flow channel includes power, rotating speed and the like, the key information contained in the cooking information can be determined by inquiring a preset key information base, and the key information of different information flow channels is stored in the preset key information base. Therefore, the combined cooking information can be simplified according to the time interval between the combined cooking information and the cooking information adjacent to the combined cooking information, and the phenomenon that the display interface of man-machine interaction is too messy due to too much content of the combined cooking information is avoided.
For example, the combined cooking information corresponding to a certain time node is "add water 100ml, stir-fry tomato for 2 minutes, and heat power 1000w, the time interval between the combined cooking information corresponding to the time node and the cooking information adjacent to the time node is 3 minutes, since the time interval is less than the preset time interval of 5 minutes, it is necessary to simplify the cooking information corresponding to the time node, specifically, the blank area size between the combined cooking information and the cooking information adjacent to the combined cooking information can be determined according to the preset time interval of 3 minutes, and at least one key information is extracted from the combined cooking information according to the blank area size, if the extracted key information is" add water "," stir-fry ", and" power ", the simplified combined cooking information is determined as" add water, stir-fry, power ", and the simplified combined cooking information is displayed to the user, when the user clicks the combined cooking information corresponding to the time node, all contents of the combined cooking information are displayed to the user, in addition, the combined cooking information can be displayed in a folding mode, the purpose of simplifying the combined information is achieved, on the basis, the display information after folding processing in the combined cooking information is determined to be '100 ml + of added water', the user can see all contents of the combined cooking information by clicking the folding symbol '+' or '-', therefore, the combined cooking information can be simplified, and the phenomenon that a display interface of human-computer interaction is too messy due to the fact that the contents of the combined cooking information are too much is avoided.
Further, when there are multiple pieces of key information in the merged cooking information, it is likely that the multiple pieces of key information cannot be all displayed due to the limited blank area, and target key information needs to be screened from the multiple pieces of key information for display, based on which, the extracting at least one piece of key information from the merged cooking information according to the size of the blank area, and determining the extracted key information as simplified merged cooking information, includes: determining key information contained in the combined cooking information and a corresponding display priority level by using a preset key information base; if the merged cooking information contains a plurality of key information, screening target key information from the plurality of key information according to the size of the blank area and the display priority levels corresponding to the plurality of key information, and determining the target key information as simplified merged cooking information. Specifically, because the prompt information prompting the user to operate is usually important, the display priority level corresponding to the key information of the prompt information channel can be set to be the highest, and then the key information of the material information channel and the key information of the cooking equipment information channel are set.
For example, it is determined that key information included in the merged cooking information is "water adding", "stir-frying", and "power", and it is determined that only two pieces of key information can be displayed according to the size of the blank area, because the key information "water adding" belongs to the prompt information flow path, the corresponding display priority level is the highest, and then "stir-frying" and "power" are respectively provided, the "water adding" and "stir-frying" are selected as target key information according to the display priority level corresponding to each piece of key information, and the "water adding" and "stir-frying" are determined as simplified merged cooking information. Therefore, when the blank area is limited, the key information with the higher display priority can be selected for display according to the display priority corresponding to the key information, so that the user can check the main key information in the combined cooking information conveniently, and the problem that the man-machine interaction display interface is too messy due to too much content of the combined cooking information can be avoided.
For the second embodiment of the simplified process of merging cooking information, step 204 specifically includes: if the number of words corresponding to the combined cooking information is larger than the preset number of display words, extracting at least one piece of key information from the combined information according to the preset number of display words, and determining the extracted key information as simplified combined cooking information; or if the number of words corresponding to the combined cooking information is greater than the preset number of display words, determining the display information after folding processing in the combined cooking information according to the preset number of display words, and determining the display information after folding processing as the simplified combined cooking information. The preset number of display words may be set according to the creation requirement of the recipe, and the embodiment of the present invention is not particularly limited.
Specifically, when the number of words corresponding to the merged cooking information is greater than the preset number of display words, it indicates that the content of the merged cooking information is too much, which may affect the display of the cooking information adjacent to the merged cooking information, or may cause the display interface to be too cluttered, so that the merged cooking information also needs to be simplified, specifically, the key information in the merged cooking information is extracted, and the extracted key information is used as the simplified merged cooking information, so as to achieve the simplified processing of the merged cooking information, and the specific process of extracting the key information is the same as the key information extraction process in the first embodiment, which is not described herein again, and further, the display information after being folded in the merged cooking information may be determined according to the preset number of display words, for example, the merged cooking information is "stir-fry tomato for 2 minutes, the heating power is 1000 w", and the preset number of display words is 5 words, the display information after the folding process is determined to be "stir-fried tomatoes" and determined to be simplified combined cooking information. Therefore, the combined cooking information can be simplified according to the number of words of the combined cooking information, and the phenomenon that the display interface of man-machine interaction is too messy due to too much content of the combined cooking information is avoided.
Further, the combined cooking information can be adjusted according to the size of a display screen of the human-computer interaction interface, for example, the size of the display screen of the mobile phone end is small, and the whole content of the combined cooking information is not convenient to display, so that the combined cooking information can be simplified according to the size of the display screen, and based on the method, the method further comprises the following steps: determining the size of a display screen corresponding to a human-computer interaction interface; and adjusting the combined cooking information according to the size of the display screen to obtain the adjusted combined cooking information, and displaying the adjusted combined cooking information. Specifically, when the merged cooking information is adjusted, if the size of the display screen is smaller than a preset size, the key information is extracted from the merged cooking information according to the size of the display screen, and the extracted key information is determined to be simplified merged cooking information, or the display information after folding processing in the merged cooking information is determined according to the size of the display screen, and the display information after folding processing is determined to be simplified merged cooking information, wherein the preset screen size can be set according to the requirement of creating a recipe. Therefore, the combined cooking information can be simplified according to the size of the display screen corresponding to the human-computer interaction interface, and the phenomenon that the human-computer interaction display interface is too messy due to too much content of the combined cooking information is avoided.
204. And generating the menu to be created based on the combined cooking information and the cooking information which is not combined.
In the embodiment of the invention, in the process of creating a recipe, the combined cooking information and the non-combined cooking information can be displayed in a single information flow channel according to the corresponding time node, and the recipe to be created can be generated based on the combined cooking information of the single information flow channel on the corresponding time node or the non-combined cooking information, wherein the direction of the combined cooking information flow channel can be the same as the directions of the prompt information flow channel, the material information flow channel and the cooking equipment information flow channel, and can also be different from the directions of the prompt information flow channel, the material information flow channel and the cooking equipment information flow channel The directions of the material information flow channel and the cooking equipment information flow channel are the same, and the information flow channel where the combined cooking information is located can be arranged in parallel with the prompt information flow channel, the material information flow channel and the cooking equipment information flow channel.
Compared with the mode that an information prompt box corresponding to a plurality of cooking information is displayed to a user at the same time node at present, the method for creating the menu provided by the embodiment of the invention can create a time axis extending in a first direction and an information flow channel extending in a second direction of the menu to be created; if the cooking information of the at least two information flow channels at the same time node of the time axis is judged to be available, the cooking information of the at least two information flow channels at the same time node is merged to obtain merged cooking information; meanwhile, based on the combined cooking information and the non-combined cooking information, the to-be-created menu is generated, so that in the creation process of the menu, the cooking information of at least two information flow channels on the same time node is combined, the combined cooking information is displayed for a user, the user can be prevented from sequentially checking cooking information prompt boxes on different information flow channels on the same time node, the display interface of man-machine interaction in the creation process of the electronic menu is simplified, the cooking information related to different time nodes is simply and clearly displayed for the user, the user can conveniently check the cooking information in the created menu, the experience of the user is enhanced, in addition, the combined cooking information is simplified, the influence on the display of other cooking information can be avoided, and meanwhile, the display interface is prevented from being too disordered.
Further, as a specific implementation of fig. 1, an embodiment of the present invention provides an apparatus for creating a recipe, as shown in fig. 3, the apparatus includes: a creation unit 31, a merging unit 32, and a generation unit 33.
The creating unit 31 may be configured to create a time axis extending in a first direction and an information channel in a second direction for a recipe to be created.
The merging unit 32 may be configured to determine that, if the at least two information runners have cooking information at the same time node of the time axis, merge the cooking information of the at least two information runners at the same time node to obtain merged cooking information.
The generating unit 33 may be configured to generate the recipe to be created based on the combined cooking information and the cooking information that is not combined.
Further, the creating unit 31 may be specifically configured to create a prompt information channel, a material information channel, and a cooking device information channel for the recipe to be created.
The cooking information includes prompt information, and the merging unit 32 may be specifically configured to merge the prompt information at a same time node of the time axis when it is determined that at least two information runners of the prompt information runner, the material information runner, and the cooking device information runner all have prompt information at the same time node.
Further, in order to add information to the prompt information flow channel, the material information flow channel, and the cooking device information flow channel, respectively, the apparatus further includes: a determination unit 34 and an addition unit 35.
The determining unit 34 may be configured to determine, according to the cooking requirement corresponding to the recipe to be created, the cooking information of the prompt information channel, the cooking information of the material information channel, and the cooking information of the cooking device information channel at different time nodes of the time axis, respectively.
The adding unit 35 may be configured to add information on the prompt information flow channel, the material information flow channel, and the cooking device information flow channel according to the cooking information at different time nodes.
Further, in order to simplify the processing of the merged cooking information, the apparatus further comprises: the unit 36 is simplified.
The simplifying unit 36 may be configured to, if the merged cooking information meets a preset information simplifying condition, simplify the merged cooking information to obtain simplified merged cooking information.
Further, the simplifying unit 36 includes: a determination module 361 and a simplification module 362.
The determining module 361 may be configured to determine the size of the blank area between the combined cooking information and the cooking information adjacent to the combined cooking information according to a time interval if the time interval between the combined cooking information and the cooking information adjacent to the combined cooking information is smaller than a preset time interval.
The simplifying module 362 may be configured to perform a simplifying process on the merged cooking information according to the size of the blank area, so as to obtain simplified merged cooking information.
Further, the simplifying module 362 may be specifically configured to extract at least one piece of key information from the merged cooking information according to the size of the blank area, and determine the extracted key information as the simplified merged cooking information; or determining the display information after folding processing in the combined cooking information according to the size of the blank area, and determining the display information after folding processing as simplified combined cooking information.
Further, the simplification module 362 includes: a determination submodule and a screening submodule.
The determining submodule may be configured to determine, by using a preset key information base, key information included in the merged cooking information and a display priority level corresponding to the key information.
The screening sub-module may be configured to, if the merged cooking information includes a plurality of pieces of key information, screen target key information from the plurality of pieces of key information according to the size of the blank area and the display priority levels corresponding to the plurality of pieces of key information, and determine the target key information as the simplified merged cooking information.
Further, the simplifying unit 36 may be specifically configured to, if the number of words corresponding to the merged cooking information is greater than a preset number of display words, extract at least one piece of key information from the merged cooking information according to the preset number of display words, and determine the extracted key information as the simplified merged cooking information; or if the number of words corresponding to the combined cooking information is greater than the preset number of display words, determining the display information after folding processing in the combined cooking information according to the preset number of display words, and determining the display information after folding processing as the simplified combined cooking information.
Further, the simplifying unit 36 further includes: and adjusting the module 363.
The determining module 361 may be further configured to determine a size of a display screen corresponding to the human-computer interaction interface.
The adjusting module 363 may be configured to adjust the merged cooking information according to the size of the display screen, obtain adjusted merged cooking information, and display the adjusted merged cooking information.
Further, the apparatus further comprises: a receiving unit 37 and an extracting unit 38.
The receiving unit 37 may be configured to receive a display request of the merged cooking information in the merged cooking information on a target information flow channel, where the display request carries identification information corresponding to the target information flow channel and a time node corresponding to the merged cooking information.
The extracting unit 38 is configured to extract, according to the identification information, the cooking information of the target information flow channel on the time node from the merged cooking information, and display the extracted cooking information on the target information flow channel.
Further, the apparatus further comprises: the judging unit 39, the judging unit 39 may be configured to judge whether a size of a display screen corresponding to the human-computer interaction interface is larger than a preset size of the display screen.
The creating unit 31 may be further configured to create an equipment parameter information flow channel related to the recipe to be created according to the cooking information in the cooking equipment information flow channel if the size of the creating unit is larger than the preset display screen size.
Further, the creating unit 31 includes: a determination module 311, an extraction module 312, and an addition module 313.
The determining module 311 may be configured to determine the extracted device parameter according to the size of the display screen and the cooking information in the cooking device information flow channel, and create a device parameter information flow channel corresponding to the device parameter.
The extracting module 312 may be configured to extract parameter information of the device parameter at different time nodes from the cooking information in the cooking device information flow channel.
The adding module 313 may be configured to add information on the device parameter information flow channel according to the parameter information on the different time nodes.
It should be noted that, for other corresponding descriptions of the functional modules involved in the apparatus for creating a menu provided in the embodiment of the present invention, reference may be made to the corresponding description of the method shown in fig. 1, which is not described herein again.
Based on the method shown in fig. 1, correspondingly, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following steps: creating a time axis extending in a first direction and an information channel in a second direction of a menu to be created; if the cooking information of the at least two information flow channels at the same time node of the time axis is judged to be available, the cooking information of the at least two information flow channels at the same time node is merged to obtain merged cooking information; and generating the menu to be created based on the combined cooking information and the cooking information which is not combined.
Based on the above embodiments of the method shown in fig. 1 and the apparatus shown in fig. 3, an embodiment of the present invention further provides an entity structure diagram of a computer device, as shown in fig. 5, where the computer device includes: a processor 41, a memory 42, and a computer program stored on the memory 42 and executable on the processor, wherein the memory 42 and the processor 41 are both arranged on a bus 43 such that when the processor 41 executes the program, the following steps are performed: creating a time axis extending in a first direction and an information channel in a second direction of a menu to be created; if the cooking information of the at least two information flow channels at the same time node of the time axis is judged to be available, the cooking information of the at least two information flow channels at the same time node is merged to obtain merged cooking information; and generating the menu to be created based on the combined cooking information and the cooking information which is not combined.
By the technical scheme, a time axis extending in the first direction and an information channel extending in the second direction of the menu to be created can be created; if the cooking information of the at least two information flow channels at the same time node of the time axis is judged to be available, the cooking information of the at least two information flow channels at the same time node is merged to obtain merged cooking information; meanwhile, the to-be-created menu is generated based on the combined cooking information and the non-combined cooking information, so that in the creation process of the menu, the cooking information of at least two information flow channels on the same time node is combined, the combined cooking information is displayed for a user, the situation that the user sequentially checks cooking information prompt boxes on different information flow channels on the same time node can be avoided, a display interface of man-machine interaction in the creation process of the electronic menu is simplified, the cooking information related to different time nodes is simply and clearly displayed for the user, the user can conveniently check the cooking information in the created menu, and the user experience is enhanced.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Embodiments of the present invention also include these and other aspects as specified in the following numbered clauses:
1. a recipe creation method comprises the following steps:
creating a time axis extending in a first direction and an information channel in a second direction of a menu to be created;
if the cooking information of the at least two information flow channels at the same time node of the time axis is judged to be available, the cooking information of the at least two information flow channels at the same time node is merged to obtain merged cooking information;
and generating the menu to be created based on the combined cooking information and the cooking information which is not combined.
2. The method according to clause 1, wherein the creating of the time axis extending in the first direction and the information flow channel in the second direction of the recipe to be created comprises:
creating a prompt information flow channel, a material information flow channel and a cooking equipment information flow channel for the menu to be created;
the cooking information includes prompt information, if there are at least two information runners, and the at least two information runners are in the same time node of the time axis and all have cooking information, then merge the cooking information of the at least two information runners at the same time node to obtain merged cooking information, including:
and when judging that at least two information channels of the prompt information channel, the material information channel and the cooking equipment information channel have prompt information at the same time node of the time axis, combining the prompt information at the same time node.
3. The method according to clause 2, after the creating a prompt information flow path, a material information flow path and a cooking equipment information flow path for the recipe to be created, the method further comprising:
according to the cooking requirements corresponding to the menu to be created, cooking information of the prompt information flow channel, the material information flow channel and the cooking equipment information flow channel on different time nodes of the time axis is respectively determined;
and adding information on the prompt information flow channel, the material information flow channel and the cooking equipment information flow channel respectively according to the cooking information on different time nodes.
4. According to the method in clause 1, if it is determined that the at least two information channels have the cooking information at the same time node of the time axis, the cooking information of the at least two information channels at the same time node is merged to obtain merged cooking information, and the method further includes:
and if the merged cooking information meets the preset information simplification condition, simplifying the merged cooking information to obtain simplified merged cooking information.
5. According to the method of clause 4, if the merged cooking information meets a preset information simplification condition, simplifying the merged cooking information to obtain simplified merged cooking information includes:
if the time interval between the combined cooking information and the cooking information adjacent to the combined cooking information is smaller than a preset time interval, determining the size of a blank area between the combined cooking information and the cooking information adjacent to the combined cooking information according to the time interval;
and simplifying the merged cooking information according to the size of the blank area to obtain simplified merged cooking information.
6. The method according to clause 5, wherein the simplifying the merged cooking information according to the size of the blank area to obtain simplified merged cooking information includes:
extracting at least one piece of key information from the merged cooking information according to the size of the blank area, and determining the extracted key information as simplified merged cooking information; or
And determining the display information after folding processing in the combined cooking information according to the size of the blank area, and determining the display information after folding processing as simplified combined cooking information.
7. The method according to clause 6, wherein the extracting at least one key information from the merged cooking information according to the size of the blank area and determining the extracted key information as the simplified merged cooking information comprises:
determining key information contained in the combined cooking information and a corresponding display priority level by using a preset key information base;
if the merged cooking information contains a plurality of key information, screening target key information from the plurality of key information according to the size of the blank area and the display priority levels corresponding to the plurality of key information, and determining the target key information as simplified merged cooking information.
8. According to the method of clause 4, if the merged cooking information meets a preset information simplification condition, simplifying the merged cooking information to obtain simplified merged cooking information includes:
if the number of words corresponding to the combined cooking information is larger than the preset number of display words, extracting at least one piece of key information from the combined cooking information according to the preset number of display words, and determining the extracted key information as simplified combined cooking information; or
And if the number of words corresponding to the combined cooking information is larger than the preset number of display words, determining the display information after folding processing in the combined cooking information according to the preset number of display words, and determining the display information after folding processing as the simplified combined cooking information.
9. According to the method of clause 4, if the merged cooking information meets a preset information simplification condition, simplifying the merged cooking information to obtain simplified merged cooking information includes:
determining the size of a display screen corresponding to a human-computer interaction interface;
and adjusting the combined cooking information according to the size of the display screen to obtain the adjusted combined cooking information, and displaying the adjusted combined cooking information.
10. According to the method in clause 1, after the determining that the at least two information runners have the cooking information at the same time node of the time axis, merging the cooking information of the at least two information runners at the same time node to obtain merged cooking information, the method further includes:
receiving a display request of the combined cooking information on a target information flow channel, wherein the display request carries identification information corresponding to the target information flow channel and a time node corresponding to the combined cooking information;
and extracting the cooking information of the target information flow channel on the time node from the combined cooking information according to the identification information, and displaying the extracted cooking information on the target information flow channel.
11. The method according to clause 2, after the creating a prompt information flow path, a material information flow path and a cooking equipment information flow path for the recipe to be created, the method further comprising:
judging whether the size of a display screen corresponding to the human-computer interaction interface is larger than the size of a preset display screen or not;
and if the size of the preset display screen is larger than that of the preset display screen, establishing an equipment parameter information flow channel related to the menu to be created according to the cooking information in the cooking equipment information flow channel.
12. The method according to clause 11, wherein the creating of the device parameter information flow channel related to the recipe to be created according to the cooking information in the cooking device information flow channel comprises:
determining the extracted equipment parameters according to the size of the display screen and the cooking information in the cooking equipment information flow channel, and creating an equipment parameter information flow channel corresponding to the equipment parameters;
extracting parameter information of the equipment parameters on different time nodes from the cooking information of the cooking equipment information flow channel;
and adding information on the equipment parameter information flow channel according to the parameter information on the different time nodes.
13. An apparatus for creating a recipe, comprising:
the system comprises a creating unit, a setting unit and a display unit, wherein the creating unit is used for creating a time axis extending in a first direction of a menu to be created and an information channel in a second direction;
the merging unit is used for merging the cooking information of the at least two information flow channels at the same time node if the at least two information flow channels have the cooking information at the same time node of the time axis, so as to obtain merged cooking information;
and the generating unit is used for generating the menu to be created based on the combined cooking information and the cooking information which is not combined.
14. The apparatus according to clause 13, wherein the creating unit is specifically configured to create a prompt information channel, a material information channel, and a cooking device information channel for the recipe to be created;
the cooking information comprises prompt information, and the merging unit is specifically configured to merge the prompt information at a same time node of the time axis when at least two information runners of the prompt information runner, the material information runner and the cooking equipment information runner all have the prompt information at the same time node.
15. The apparatus of clause 14, further comprising: a determination unit and an addition unit,
the determining unit is used for respectively determining the cooking information of the prompt information channel, the material information channel and the cooking equipment information channel on different time nodes of the time axis according to the cooking requirement corresponding to the menu to be created;
and the adding unit is used for respectively adding information on the prompt information flow channel, the material information flow channel and the cooking equipment information flow channel according to the cooking information on the different time nodes.
16. The apparatus of clause 13, further comprising: the unit is simplified and the unit is simplified,
and the simplifying unit is used for simplifying the combined cooking information to obtain the simplified combined cooking information if the combined cooking information meets the preset information simplifying condition.
17. The apparatus of clause 16, the simplification unit, comprising: a determination module and a simplification module, wherein the determination module is used for determining the simplified data,
the determining module is used for determining the size of a blank area between the combined cooking information and the cooking information adjacent to the combined cooking information according to a preset time interval if the time interval between the combined cooking information and the cooking information adjacent to the combined cooking information is smaller than the preset time interval;
and the simplifying module is used for simplifying the combined cooking information according to the size of the blank area to obtain the simplified combined cooking information.
18. The apparatus according to clause 17, wherein the simplifying module is specifically configured to extract at least one piece of key information from the merged cooking information according to the size of the blank area, and determine the extracted key information as the simplified merged cooking information; or determining the display information after folding processing in the combined cooking information according to the size of the blank area, and determining the display information after folding processing as simplified combined cooking information.
19. The apparatus of clause 18, the simplification module, comprising: a determination submodule and a screening submodule,
the determining submodule is used for determining the key information contained in the combined cooking information and the corresponding display priority level by using a preset key information base;
and the screening submodule is used for screening target key information from the key information according to the size of the blank area and the display priority levels corresponding to the key information if the combined cooking information contains a plurality of key information, and determining the target key information as simplified combined cooking information.
20. The apparatus according to clause 16, wherein the simplifying unit is specifically configured to, if the number of words corresponding to the consolidated cooking information is greater than a preset number of display words, extract at least one piece of key information from the consolidated cooking information according to the preset number of display words, and determine the extracted key information as the consolidated cooking information after simplification; or if the number of words corresponding to the combined cooking information is greater than the preset number of display words, determining the display information after folding processing in the combined cooking information according to the preset number of display words, and determining the display information after folding processing as the simplified combined cooking information.
21. The apparatus of clause 16, the reduction unit, further comprising: the adjustment module is used for adjusting the position of the optical fiber,
the determining module is also used for determining the size of a display screen corresponding to the human-computer interaction interface;
and the adjusting module is used for adjusting the combined cooking information according to the size of the display screen to obtain the adjusted combined cooking information and displaying the adjusted combined cooking information.
22. The apparatus of clause 13, further comprising: a receiving unit and an extracting unit, wherein,
the receiving unit is configured to receive a display request of the merged cooking information in the merged cooking information on a target information flow channel, where the display request carries identification information corresponding to the target information flow channel and a time node corresponding to the merged cooking information;
the extracting unit is configured to extract, according to the identification information, the cooking information of the target information flow channel on the time node from the merged cooking information, and display the extracted cooking information on the target information flow channel.
23. The apparatus of clause 14, further comprising: a judging unit for judging whether the received signal is a signal,
the judging unit is used for judging whether the size of a display screen corresponding to the human-computer interaction interface is larger than the size of a preset display screen;
and the creating unit is further used for creating an equipment parameter information flow channel related to the menu to be created according to the cooking information in the cooking equipment information flow channel if the size of the display screen is larger than the size of the preset display screen.
24. The apparatus of clause 23, the creating unit, comprising: a determining module, an extracting module and an adding module,
the determining module is used for determining the extracted equipment parameters according to the size of the display screen and the cooking information in the cooking equipment information flow channel and creating an equipment parameter information flow channel corresponding to the equipment parameters;
the extraction module is used for extracting parameter information of the equipment parameters on different time nodes from the cooking information of the cooking equipment information flow channel;
and the adding module is used for adding information on the equipment parameter information flow channel according to the parameter information on the different time nodes.
25. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of clauses 1 to 12.
26. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method of any of clauses 1 to 12.

Claims (15)

1. A method for creating a recipe, comprising:
creating a time axis extending in a first direction and an information channel in a second direction of a menu to be created;
if the cooking information of the at least two information flow channels at the same time node of the time axis is judged to be available, the cooking information of the at least two information flow channels at the same time node is merged to obtain merged cooking information;
and generating the menu to be created based on the combined cooking information and the cooking information which is not combined.
2. The method of claim 1, wherein the creating a time axis extending in a first direction and an information flow path in a second direction for the recipe to be created comprises:
creating a prompt information flow channel, a material information flow channel and a cooking equipment information flow channel for the menu to be created;
the cooking information includes prompt information, if there are at least two information runners, and the at least two information runners are in the same time node of the time axis and all have cooking information, then merge the cooking information of the at least two information runners at the same time node to obtain merged cooking information, including:
and when judging that at least two information channels of the prompt information channel, the material information channel and the cooking equipment information channel have prompt information at the same time node of the time axis, combining the prompt information at the same time node.
3. The method of claim 2, wherein after the creating of the reminder information channel, the material information channel and the cooking equipment information channel for the recipe to be composed, the method further comprises:
according to the cooking requirements corresponding to the menu to be created, cooking information of the prompt information flow channel, the material information flow channel and the cooking equipment information flow channel on different time nodes of the time axis is respectively determined;
and adding information on the prompt information flow channel, the material information flow channel and the cooking equipment information flow channel respectively according to the cooking information on different time nodes.
4. The method of claim 1, wherein if it is determined that at least two information flow paths have cooking information at a same time node of the time axis, the cooking information of the at least two information flow paths at the same time node is merged to obtain merged cooking information, and the method further comprises:
and if the merged cooking information meets the preset information simplification condition, simplifying the merged cooking information to obtain simplified merged cooking information.
5. The method according to claim 4, wherein if the merged cooking information satisfies a predetermined information simplification condition, the simplifying processing is performed on the merged cooking information to obtain simplified merged cooking information, and the method comprises:
if the time interval between the combined cooking information and the cooking information adjacent to the combined cooking information is smaller than a preset time interval, determining the size of a blank area between the combined cooking information and the cooking information adjacent to the combined cooking information according to the time interval;
and simplifying the merged cooking information according to the size of the blank area to obtain simplified merged cooking information.
6. The method according to claim 5, wherein the simplifying the merged cooking information according to the size of the blank area to obtain simplified merged cooking information comprises:
extracting at least one piece of key information from the merged cooking information according to the size of the blank area, and determining the extracted key information as simplified merged cooking information; or
And determining the display information after folding processing in the combined cooking information according to the size of the blank area, and determining the display information after folding processing as simplified combined cooking information.
7. The method according to claim 6, wherein the extracting at least one key information from the merged cooking information according to the size of the blank area and determining the extracted key information as the simplified merged cooking information comprises:
determining key information contained in the combined cooking information and a corresponding display priority level by using a preset key information base;
if the merged cooking information contains a plurality of key information, screening target key information from the plurality of key information according to the size of the blank area and the display priority levels corresponding to the plurality of key information, and determining the target key information as simplified merged cooking information.
8. The method according to claim 4, wherein if the merged cooking information satisfies a predetermined information simplification condition, the simplifying processing is performed on the merged cooking information to obtain simplified merged cooking information, and the method comprises:
if the number of words corresponding to the combined cooking information is larger than the preset number of display words, extracting at least one piece of key information from the combined cooking information according to the preset number of display words, and determining the extracted key information as simplified combined cooking information; or
And if the number of words corresponding to the combined cooking information is larger than the preset number of display words, determining the display information after folding processing in the combined cooking information according to the preset number of display words, and determining the display information after folding processing as the simplified combined cooking information.
9. The method according to claim 4, wherein if the merged cooking information satisfies a predetermined information simplification condition, the simplifying processing is performed on the merged cooking information to obtain simplified merged cooking information, and the method comprises:
determining the size of a display screen corresponding to a human-computer interaction interface;
and adjusting the combined cooking information according to the size of the display screen to obtain the adjusted combined cooking information, and displaying the adjusted combined cooking information.
10. The method of claim 1, wherein after determining that the at least two information channels have cooking information at a same time node of the time axis, the method further comprises, after merging the cooking information of the at least two information channels at the same time node to obtain merged cooking information:
receiving a display request of the combined cooking information on a target information flow channel, wherein the display request carries identification information corresponding to the target information flow channel and a time node corresponding to the combined cooking information;
and extracting the cooking information of the target information flow channel on the time node from the combined cooking information according to the identification information, and displaying the extracted cooking information on the target information flow channel.
11. The method of claim 2, wherein after the creating of the reminder information channel, the material information channel and the cooking equipment information channel for the recipe to be composed, the method further comprises:
judging whether the size of a display screen corresponding to the human-computer interaction interface is larger than the size of a preset display screen or not;
and if the size of the preset display screen is larger than that of the preset display screen, establishing an equipment parameter information flow channel related to the menu to be created according to the cooking information in the cooking equipment information flow channel.
12. The method of claim 11, wherein the creating of the device parameter information flow channel related to the recipe to be created according to the cooking information in the cooking device information flow channel comprises:
determining the extracted equipment parameters according to the size of the display screen and the cooking information in the cooking equipment information flow channel, and creating an equipment parameter information flow channel corresponding to the equipment parameters;
extracting parameter information of the equipment parameters on different time nodes from the cooking information of the cooking equipment information flow channel;
and adding information on the equipment parameter information flow channel according to the parameter information on the different time nodes.
13. An apparatus for creating a recipe, comprising:
the system comprises a creating unit, a setting unit and a display unit, wherein the creating unit is used for creating a time axis extending in a first direction of a menu to be created and an information channel in a second direction;
the merging unit is used for merging the cooking information of the at least two information flow channels at the same time node if the at least two information flow channels have the cooking information at the same time node of the time axis, so as to obtain merged cooking information;
and the generating unit is used for generating the menu to be created based on the combined cooking information and the cooking information which is not combined.
14. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 12.
15. A computer arrangement comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the computer program realizes the steps of the method of any one of claims 1 to 12 when executed by the processor.
CN202011382394.3A 2020-12-01 2020-12-01 Menu creation method and device, storage medium and computer equipment Pending CN112463948A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011382394.3A CN112463948A (en) 2020-12-01 2020-12-01 Menu creation method and device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011382394.3A CN112463948A (en) 2020-12-01 2020-12-01 Menu creation method and device, storage medium and computer equipment

Publications (1)

Publication Number Publication Date
CN112463948A true CN112463948A (en) 2021-03-09

Family

ID=74805248

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011382394.3A Pending CN112463948A (en) 2020-12-01 2020-12-01 Menu creation method and device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN112463948A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111104194A (en) * 2019-11-29 2020-05-05 珠海优特智厨科技有限公司 Menu file display method and device, storage medium and electronic device
CN111145048A (en) * 2019-11-29 2020-05-12 珠海优特智厨科技有限公司 Method and device for making menu

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111104194A (en) * 2019-11-29 2020-05-05 珠海优特智厨科技有限公司 Menu file display method and device, storage medium and electronic device
CN111145048A (en) * 2019-11-29 2020-05-12 珠海优特智厨科技有限公司 Method and device for making menu

Similar Documents

Publication Publication Date Title
US7406674B1 (en) Method and apparatus for generating microcontroller configuration information
KR20150021990A (en) Method and terminal for creating folder on user interface
CN102657471B (en) Electric cooker capable of cooking according to menu data
CN110706131A (en) Method and device for creating electronic menu, electronic equipment and storage medium
CN107993008A (en) Definite method, apparatus, culinary art processing equipment and the storage medium of cooking sequence
CN109635261A (en) Online document content edition method, device, storage medium and electronic equipment
CN105559614A (en) Control method and system of electric cooker and cloud server
CN104104588B (en) Instant message display methods and device
CN110531920A (en) Display methods, device, terminal and the storage medium of side toolbar
AU2011379028A1 (en) On screen help with contextual shortcut on an appliance
CN110287473A (en) Electrical form edit methods and device
CN108279882B (en) Framework generation method, device, equipment and computer readable medium
CN110321183A (en) A kind of configuration system and method at the interface common component UI
CN111103816A (en) Method and device for generating menu, electronic equipment and storage medium
CN116030812B (en) Intelligent interconnection voice control method, device, equipment and medium for gas stove
CN110018826A (en) User interface creating method and relevant device
CN110852913A (en) Method for making digital menu and electronic equipment
CN110286977A (en) Display methods and Related product
CN202681585U (en) Electrical cooking appliance and system thereof
CN112463948A (en) Menu creation method and device, storage medium and computer equipment
CN109799761A (en) A kind of determining menu executes the method, apparatus and storage medium of equipment
CN109766155A (en) A kind of bullet frame generation method, device and storage medium
CN112383455A (en) Data generation method and execution method and equipment
CN110825770A (en) Electronic menu generation method and electronic equipment
CN114978716B (en) Three-dimensional topology display method and device and electronic 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
CB02 Change of applicant information

Address after: Floor 11, Building 1, No. 1200, Jinzhou Road, Tangjiawan Town, High tech Zone, Zhuhai City, Guangdong Province, 519000

Applicant after: ZHUHAI UNICOOK TECHNOLOGY Co.,Ltd.

Address before: 519000 -45895, 105 room 6, Baohua Road, Hengqin New District, Zhuhai, Guangdong (centralized office area)

Applicant before: ZHUHAI UNICOOK TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20210309

RJ01 Rejection of invention patent application after publication