CN110929147A - Menu creation method, server and client - Google Patents

Menu creation method, server and client Download PDF

Info

Publication number
CN110929147A
CN110929147A CN201911054088.4A CN201911054088A CN110929147A CN 110929147 A CN110929147 A CN 110929147A CN 201911054088 A CN201911054088 A CN 201911054088A CN 110929147 A CN110929147 A CN 110929147A
Authority
CN
China
Prior art keywords
menu
recipe
target
segment
fragment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201911054088.4A
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 CN201911054088.4A priority Critical patent/CN110929147A/en
Publication of CN110929147A publication Critical patent/CN110929147A/en
Withdrawn 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/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The application discloses a menu creation method, a server and a client, wherein the method comprises the following steps: receiving at least one user created recipe segment, wherein the recipe segment is used to characterize at least a portion of cooking steps and/or functions in a recipe; and storing the menu fragments to a shared menu fragment library, wherein the menu fragments in the shared menu fragment library can be provided for any user to create a menu. According to the method and the system, the menu fragments are stored in the server for others to obtain, so that the user directly utilizes the menu fragments obtained from the server to create a new menu, resource sharing of the menu fragments is realized, and creation of the menu is greatly facilitated.

Description

Menu creation method, server and client
Technical Field
The application relates to the technical field of electronic menus, in particular to a menu creation method, a server and a client.
Background
In the prior art, the creation of the menu is generally personal behavior, and a chef creates the menu according to own experience or a cooking fan according to own preference. In this large environment, the recipes cannot be effectively innovated because the creators are always limited in their thoughts. The creation of the menu is more and more difficult, the time and the energy are more and more consumed, and the diversified requirements of the majority of users cannot be met.
Disclosure of Invention
In view of this, the present application provides a method, a server, and a client for creating a menu, in which a menu fragment is stored in the server for others to obtain, so that a user directly creates a new menu by using the menu fragment obtained from the server, thereby implementing resource sharing of the menu fragment and greatly facilitating creation of the menu.
According to a first aspect of the present application, there is provided a method of recipe creation for a server, comprising:
receiving at least one user created recipe segment, wherein the recipe segment is used to characterize at least a portion of cooking steps and/or functions in a recipe;
and storing the menu fragments to a shared menu fragment library, wherein the menu fragments in the shared menu fragment library can be provided for any user to create a menu.
Specifically, the recipe fragment includes category information, recipe introduction, and cooking parameter information.
Specifically, the method further comprises:
receiving a query condition of a required menu segment from a client, searching the menu segment matched with the query condition of the required menu segment in the shared menu segment library according to the query condition of the required menu segment, and sending a menu introduction corresponding to the searched menu segment to the client so that the client determines a target menu segment according to the menu introduction.
Specifically, the method further comprises:
receiving a target menu fragment downloading instruction from the client;
and returning the target menu fragment to the client according to the target menu fragment downloading instruction.
Specifically, before returning the target recipe segment to the client according to the target recipe segment downloading instruction, the method further includes:
verifying whether the target menu fragment downloading instruction has the downloading authority of the target menu fragment;
and if the target menu fragment has the downloading authority, returning the target menu fragment to the client according to the target menu fragment downloading instruction.
Specifically, the method further comprises:
receiving a recipe creation instruction from the client, wherein the recipe creation instruction comprises at least one target recipe fragment, the name of a recipe to be created and food material information;
generating a digital menu according to the target menu fragment, the name of the menu to be created and food material information;
and sending the generated digital menu to the client.
Specifically, if the target recipe segment includes at least two, the generating a digital recipe according to the target recipe segment, the name of the recipe to be created, and the food material information includes:
acquiring the corresponding arrangement sequence of the target menu segments;
and generating a digital menu according to the target menu fragments, the arrangement sequence of the target menu fragments, the name of the menu to be created and the food material information.
Specifically, if the target recipe fragments include at least two, before generating a digital recipe according to the target recipe fragments, the arrangement order of the target recipe fragments, the name of the recipe to be created, and the food material information, the method further includes:
judging whether any target menu fragment is compatible with other target menu fragments or not according to a forward compatible mark and a backward compatible mark corresponding to the target menu fragment;
if the target recipe fragments are compatible with the food material information, generating a digital recipe according to the target recipe fragments, the arrangement sequence of the target recipe fragments, the names of the recipes to be created and the food material information;
and if the digital menu is not compatible with the digital menu, sending generation failure prompt information of the digital menu incompatibility to the client.
Specifically, before generating the digital menu according to the target menu segments, the arrangement order of the target menu segments, the names of the menus to be created and the food material information, the method further includes:
acquiring cooking equipment information corresponding to the digital menu;
verifying whether the cooking equipment corresponding to the cooking equipment information is compatible with the compatible equipment corresponding to the target menu fragment;
and if the target recipe fragments are compatible with the food materials, executing the step of generating the digital recipe according to the target recipe fragments, the arrangement sequence of the target recipe fragments, the names of the recipes to be created and the food material information.
Specifically, the storing the menu fragment specifically includes:
and performing security audit on the menu fragment, and storing the menu fragment which passes the security audit, wherein the security audit comprises the security audit of a forward compatible mark and a backward compatible mark of the menu fragment.
According to a second aspect of the present application, there is provided a server comprising:
a recipe segment receiving module for receiving at least one user created recipe segment, wherein the recipe segment is used to characterize at least a portion of cooking steps and/or functions in a recipe;
and the menu fragment storage module is used for storing the menu fragments to a shared menu fragment library, wherein the menu fragments in the shared menu fragment library can be provided for any user to create a menu.
Specifically, the recipe fragment includes category information, recipe introduction, and cooking parameter information.
Specifically, the server further includes:
and the menu segment query module is used for receiving query conditions of required menu segments from a client, searching the menu segments matched with the query conditions of the required menu segments in the shared menu segment library according to the query conditions of the required menu segments, and sending menu introductions corresponding to the searched menu segments to the client so that the client determines target menu segments according to the menu introductions.
Specifically, the server further includes:
the download instruction receiving module is used for receiving a target menu fragment download instruction from the client;
and the menu fragment downloading module is used for returning the target menu fragment to the client according to the target menu fragment downloading instruction.
Specifically, the server further includes:
the download permission verification module is used for verifying whether the target menu fragment download instruction has the download permission of the target menu fragment before returning the target menu fragment to the client according to the target menu fragment download instruction;
and the menu fragment downloading module is used for returning the target menu fragment to the client according to the target menu fragment downloading instruction if the menu fragment downloading module has the downloading authority.
Specifically, the server further includes:
the system comprises an authoring instruction receiving module, a menu authoring module and a menu authoring module, wherein the authoring instruction receiving module is used for receiving a menu authoring instruction from the client, and the menu authoring instruction comprises at least one target menu fragment, the name of a menu to be authored and food material information;
the digital menu creating module is used for generating a digital menu according to the target menu fragment, the name of the menu to be created and the food material information;
and the digital menu sending module is used for sending the generated digital menu to the client.
Specifically, if the target recipe segment includes at least two, the digital recipe creation module specifically includes:
the fragment sequence acquisition unit is used for acquiring the corresponding arrangement sequence of the target menu fragments;
and the digital menu creating unit is used for generating a digital menu according to the target menu fragments, the arrangement sequence of the target menu fragments, the names of the menus to be created and the food material information.
Specifically, if the target recipe segment includes at least two, the digital recipe creation module further includes:
the menu compatibility checking unit is used for judging whether any target menu fragment is compatible with other target menu fragments or not according to a forward compatible mark and a backward compatible mark corresponding to any target menu fragment before generating a digital menu according to the target menu fragments, the arrangement sequence of the target menu fragments, the name of the menu to be created and food material information;
the digital menu creating unit is specifically used for generating a digital menu according to the target menu segments, the arrangement sequence of the target menu segments, the names of menus to be created and the food material information if the digital menu creating unit is compatible with the target menu segments;
and the creation failure prompt unit is used for sending generation failure prompt information of the digital menu incompatibility to the client if the digital menu is incompatible.
Specifically, the digital menu creation module further includes:
the equipment information acquisition unit is used for acquiring cooking equipment information corresponding to the digital menu before generating the digital menu according to the target menu fragments, the arrangement sequence of the target menu fragments, the name of the menu to be created and the food material information;
the equipment compatibility checking unit is used for checking whether the cooking equipment corresponding to the cooking equipment information is compatible with the compatible equipment corresponding to the target menu fragment;
and the digital menu creating unit is specifically used for executing the generation of the digital menu according to the target menu segments, the arrangement sequence of the target menu segments, the names of the menus to be created and the food material information if the digital menu creating unit is compatible with the target menu segments.
Specifically, the recipe fragment storage module is specifically configured to perform security audit on the recipe fragment and store the recipe fragment that passes the security audit, where the security audit includes security audit on a forward compatible flag and a backward compatible flag of the recipe fragment.
According to a third aspect of the present application, there is provided a method for menu authoring, for a client, comprising:
acquiring at least one target menu fragment, wherein the target menu fragment is derived from the server;
and generating a digital menu based on at least one target menu fragment, the name of the menu to be created and the food material information.
Specifically, the acquiring at least one target menu segment specifically includes:
downloading the menu segments from the server to a local menu segment library in advance, and selecting the target menu segments from the local menu segment library.
Specifically, the acquiring at least one target menu segment specifically includes:
sending a menu fragment retrieval instruction to the server, wherein the menu fragment retrieval instruction comprises a query condition of a required menu fragment;
receiving and outputting a menu segment matched with the query condition of the required menu segment;
sending a target menu fragment downloading instruction to the server according to the received target menu fragment selecting instruction;
receiving the target recipe segment from the server.
Specifically, if the target recipe segment includes at least two, the generating a digital recipe based on at least one target recipe segment and the name and food material information of the recipe to be created specifically includes:
acquiring the arrangement sequence of the target menu segments;
and generating a digital menu according to the target menu fragments, the arrangement sequence of the target menu fragments, the name of the menu to be created and the food material information.
Specifically, if the target recipe fragments include at least two, before generating the digital recipe according to the target recipe fragments, the arrangement order of the target recipe fragments, the name of the recipe to be created, and the food material information, the method further includes:
judging whether any target menu fragment is compatible with other target menu fragments or not according to the arrangement sequence of the target menu fragments and the forward compatible mark and the backward compatible mark corresponding to the target menu fragments;
if the target menu segments are compatible with the food materials, generating a digital menu according to the target menu segments, the arrangement sequence of the target menu segments, the names of the menus to be created and the food material information;
and if the digital menu is not compatible with the digital menu, outputting generation failure prompt information of the digital menu which is not compatible with the digital menu.
Specifically, the generating a digital recipe based on at least one target recipe segment and the name and food material information of the recipe to be created specifically includes:
and adding at least one target menu fragment and corresponding food material information into an existing menu according to the name of the menu to be created, so that part of cooking steps in the existing menu are replaced by the at least one target menu fragment and/or the existing menu is added with the part of cooking steps which are the same as the target menu fragment to form the digital menu.
Specifically, the generating a digital recipe based on at least one target recipe segment and the name and food material information of the recipe to be created specifically includes:
sending a recipe creation instruction to the server, wherein the recipe creation instruction comprises at least one target recipe fragment, the name of a recipe to be created and food material information, so that the server generates and feeds back the digital recipe to the client according to the recipe creation instruction;
and receiving the digital menu sent by the server.
According to a fourth aspect of the present application, there is provided a client, comprising:
the target fragment acquisition module is used for acquiring at least one target menu fragment, wherein the target menu fragment is originated from the server;
and the digital menu creating module is used for generating a digital menu based on at least one target menu fragment, the name of the menu to be created and food material information.
Specifically, the target segment obtaining module specifically includes:
and the local menu acquisition unit is used for downloading the menu fragments from the server to a local menu fragment library in advance and selecting the target menu fragment from the local menu fragment library.
Specifically, the target segment obtaining module specifically includes:
the system comprises a menu fragment retrieval unit, a server and a menu fragment retrieval unit, wherein the menu fragment retrieval unit is used for sending a menu fragment retrieval instruction to the server, and the menu fragment retrieval instruction comprises a query condition of a required menu fragment;
the retrieval menu receiving unit is used for receiving and outputting menu segments matched with the query conditions of the required menu segments;
the target menu downloading unit is used for sending a target menu fragment downloading instruction to the server according to the received target menu fragment selecting instruction;
a target recipe receiving unit for receiving the target recipe segment from the server.
Specifically, if the target recipe segment includes at least two, the digital recipe creation module specifically includes:
a segment sequence acquiring unit for acquiring the arrangement sequence of the target menu segments;
and the digital menu creating unit is used for generating a digital menu according to the target menu fragments, the arrangement sequence of the target menu fragments, the name of the menu to be created and the food material information.
Specifically, if the target recipe segment includes at least two, the digital recipe creation module further includes:
the menu compatibility checking unit is used for judging whether any target menu fragment is compatible with other target menu fragments or not according to the arrangement sequence of the target menu fragments, the names of menus to be created and food material information before generating a digital menu;
the digital menu creating unit is used for generating a digital menu according to the target menu segments, the arrangement sequence of the target menu segments, the names of menus to be created and food material information if the digital menu creating unit is compatible with the target menu segments;
and the creation failure prompt unit is used for outputting generation failure prompt information of the incompatible digital menu if the digital menu is incompatible.
Specifically, the digital menu creation module specifically includes:
and the menu updating and creating unit is used for adding at least one target menu fragment and corresponding food material information into an existing menu according to the name of the menu to be created, so that partial cooking steps in the existing menu are replaced by the at least one target menu fragment and/or partial cooking steps which are the same as the target menu fragment are added to the existing menu to form the digital menu.
Specifically, the digital menu creation module specifically includes:
the system comprises an authoring instruction sending unit, a client side and a server, wherein the authoring instruction sending unit is used for sending a menu authoring instruction to the server, and the menu authoring instruction comprises at least one target menu fragment, the name of a menu to be authored and food material information, so that the server generates and feeds back the digital menu to the client side according to the menu authoring instruction;
and the digital menu receiving unit is used for receiving the digital menu sent by the server.
According to a fifth aspect of the present application, a system for creating a menu is provided, which includes the above server and the above client.
According to a sixth aspect of the present application, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, implements the above-described method of recipe creation.
According to a seventh aspect of the present application, there is provided a computer device comprising a storage medium, a processor and a computer program stored on the storage medium and executable on the processor, the processor implementing the above recipe creation method when executing the program.
By means of the technical scheme, according to the menu creation method, the server and the client, the server can receive the menu fragments created by the server and sent by the user, the shared menu fragment library of the server is used for storing the menu fragments created by the user, and the sharing of the menu fragments is achieved, so that other users can directly use the menu fragments created by other users to create new menus in a mode of obtaining the menu fragments from the server. This application is through keeping the menu fragment in the server for other people to acquire to the user directly utilizes the menu fragment that acquires from the server to establish new menu, has realized the resource sharing of menu fragment, has greatly made things convenient for the creation of menu, practices thrift menu creation time, satisfies the diversified demand that the user created, has greatly made things convenient for the creation of menu.
The foregoing description is only an overview of the technical solutions of the present application, and the present application can be implemented according to the content of the description in order to make the technical means of the present application more clearly understood, and the following detailed description of the present application is given in order to make the above and other objects, features, and advantages of the present application more clearly understandable.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a flowchart illustrating a method for recipe creation by a server according to an embodiment of the present disclosure;
fig. 2 is a flowchart illustrating another method for creating a recipe for a server according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a server provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of another server provided in the embodiment of the present application;
fig. 5 is a flowchart illustrating a method for recipe creation at a client according to an embodiment of the present application;
fig. 6 shows a schematic structural diagram of a client provided in an embodiment of the present application;
fig. 7 shows a schematic structural diagram of another client provided in an embodiment of the present application.
Detailed Description
The present application will be described in detail below 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.
In a first aspect of the present embodiment, there is provided a method for creating a menu, for a server, as shown in fig. 1, the method including:
step 101, receiving at least one user-created recipe segment, wherein the recipe segment is used for characterizing at least a part of cooking steps and/or functions in the recipe;
and 102, storing the menu segments into a shared menu segment library, wherein the menu segments in the shared menu segment library can be provided for any user to create a menu.
In the above embodiment, a server is established, and the server receives the menu fragment information uploaded by the user and stores the menu fragment information in the shared menu fragment library for the browser to obtain. In particular, a section of a recipe may refer to a functional unit in the recipe, which may be to perform a specific function, such as blanching or frying. The functional unit is a embodiment (certainly, the functional unit can be common) of cooking skills which are considered to be very special by a user, other users can see the menu fragment and the introduction thereof when browsing the server, and the menu fragment can be acquired when the users think that the users need the menu fragment, and can be acquired in a local downloading mode or can be given the right to use the menu fragment at the server. When the user who acquires the section creates the menu, the section can be directly added into the menu of the user when needed, so that the creation of the menu is greatly facilitated.
By applying the technical scheme of the embodiment, the server can receive the menu fragments created by the server and sent by the user, the shared menu fragment library of the server is used for storing the menu fragments created by the user, and the sharing of the menu fragments is realized, so that other users can directly create new menus by using the menu fragments created by other users in a mode of acquiring the menu fragments from the server. This application is through keeping the menu fragment in the server for other people to acquire to the user directly utilizes the menu fragment that acquires from the server to establish new menu, has realized the resource sharing of menu fragment, has greatly made things convenient for the creation of menu, practices thrift menu creation time, satisfies the diversified demand that the user created, has greatly made things convenient for the creation of menu.
Further, as a refinement and an extension of the specific implementation of the above embodiment, in order to fully illustrate the specific implementation process of the embodiment, another recipe creation method is provided, as shown in fig. 2, and the method includes:
at step 201, at least one user-created recipe segment is received, wherein the recipe segment is used to characterize at least a part of the cooking steps and/or functions in the recipe.
Step 202, storing the menu segments to a shared menu segment library, wherein the menu segments in the shared menu segment library can be provided for any user to create a menu.
In the embodiment of the present application, specifically, a security audit is performed on the recipe fragment, and the recipe fragment that passes the security audit is stored, where the security audit includes security audits of a forward compatible flag and a backward compatible flag of the recipe fragment.
In the above embodiment, before the menu is stored in the shared menu fragment library, the security of the menu fragments should be checked, and only after the security check is passed and the security of the menu fragments is ensured, the menu fragments are stored. Specifically, the recipe fragment uploaded by the user may be a specific cooking step, such as a frying step, when the user uploads the fried fragment, the user may simultaneously upload a forward compatible flag of the fragment, that is, what steps may be included before the step, such as stir-frying, feeding, or a step that cannot be a pan-out step, and the like, and may simultaneously upload a backward compatible flag of the fragment, that is, what steps may be included after the step, such as stir-frying, pan-out, or a step that cannot be a water-adding step, and the like. Therefore, whether the compatible mark of the uploaded menu fragment is safe or not is judged according to the forward compatible mark and the backward compatible mark corresponding to the menu fragment uploaded by the user and the forward compatible mark and the backward compatible mark corresponding to each cooking step/function pre-stored in the server, if so, the menu fragment uploaded by the user is stored, and if not, the menu fragment is discarded, so that the situation that other users create menus by using the unsafe menu fragments and cooking dangerous accidents are caused is avoided.
In the above embodiment, the recipe fragments uploaded by the user may further include recipe introduction information, cooking parameter information, and recipe category information of the recipe fragments, where the recipe introduction information is used to introduce the recipe fragments, so that other users can know functions and effects of the recipe fragments according to the recipe introduction, the cooking parameter information refers to steps and parameter information for controlling a cooking process, the recipe category information represents categories of steaming, cooking, frying, and the like to which the recipes belong, and the category information may be used to store the recipe fragments in a classified manner, search the categories, and the like. For example: the menu fragment created by the first user has the function of frying, and the effect of the menu fragment is that fried food materials are crisp, burnt outside and tender inside. Therefore, the cooking parameter information of the frying section is how to operate to realize the function, such as the amount of oil, the oil temperature, the frying times, the time for putting food materials, the steps and the process thereof, and the like; the introduction part is to explain the functions and advantages of the above description, and may include pictures or videos.
Step 203, receiving the query condition of the required menu segment from the client, searching the menu segment matched with the query condition of the required menu segment in the shared menu segment library according to the query condition of the required menu segment, and sending the menu introduction corresponding to the searched menu segment to the client, so that the client determines the target menu segment according to the menu introduction.
And step 204, receiving a target menu fragment downloading instruction from the client.
Step 205, verifying whether the target menu segment downloading instruction has the downloading authority for the target menu segment.
And step 206, if the download authority is provided, returning the target menu segment to the client according to the target menu segment download instruction.
In the above steps 203 to 206, the client may query and download the menu segments stored in the server. Specifically, the server may receive a query condition of a required recipe fragment from the client, for example, the query condition is a query fried recipe fragment, and then the server may screen the fried recipe fragments stored in the shared recipe fragment library and send a recipe introduction of the screened recipe fragment to the client, so that the user may browse at the client.
Therefore, when browsing at the client, the user can select the required target menu segment according to the menu introduction, send a downloading instruction of the target menu segment to the server and request to download the target menu segment from the server. After receiving the download instruction, the server verifies the authority of the download instruction, for example, the download instruction may include device identification information of the client, the server determines whether the device has the download authority of the corresponding target menu segment, and for example, the download instruction may include payment information of the target menu segment, and the server determines whether the user has purchased the target menu segment, thereby ensuring that the download instruction has the download authority of the target menu segment, and then sends the target menu segment to the client, so as to implement the function of downloading the menu segment from the server by the client.
Step 207, receiving a recipe creation instruction from the client, wherein the recipe creation instruction comprises at least one target recipe segment, a name of a recipe to be created and food material information.
And 208, generating a digital menu according to the target menu fragment, the name of the menu to be created and the food material information.
And step 209, sending the generated digital menu to the client.
It should be noted that, in the embodiment shown in fig. 2, steps 203 to 206 and steps 207 to 209 are independent from each other, and the sequence is not limited, and they may be combined with steps 201 to 202 respectively to form a new embodiment.
In the above steps 207 to 209, the client may also request to create a recipe in the server. Specifically, a user can send a menu creating instruction to a server through a client, wherein the menu creating instruction can include at least one target menu segment to be included in a menu to be created, and a menu name to be created and food material information required by the menu, so that the server generates a digital menu according to the menu creating instruction including the information, the digital menu is named by the name of the menu to be created included in the creating instruction, and after the digital menu is generated in the server, the generated digital menu is sent to the corresponding client, so that the function of creating the menu in the server by the client is realized.
In the above embodiment, in order to ensure the security of the created digital menu, before the digital menu is generated, the security of the menu should be verified, specifically, if the target menu segment includes at least two, step 208 specifically includes:
and 2081, acquiring the corresponding arrangement sequence of the target menu segments.
Step 2082, according to the forward compatible mark and the backward compatible mark corresponding to any target menu segment, judging whether any target menu segment is compatible with other target menu segments.
And 2083, if the digital menus are incompatible with each other, sending a generation failure prompt message indicating that the digital menus are incompatible with each other to the client.
And 2084, if the two types of cooking equipment are compatible, obtaining the cooking equipment information corresponding to the digital menu.
Step 2085, checking whether the cooking equipment corresponding to the cooking equipment information is compatible with the compatible equipment corresponding to the target menu fragment.
And 2086, if the two types of menus are compatible, generating a digital menu according to the target menu fragment, the arrangement sequence of the target menu fragment, the name of the menu to be created and the food material information.
It should be noted that, in the specific implementation of step 208, the order of the recipe fragments may be checked first, whether the cooking devices are compatible may be checked first, or only one of the two pieces of cooking devices may be checked, that is, step 208 may be executed according to the order of step 2081 to step 2086, or step 2084 to step 2086 may be executed first and then step 2081 to step 2083 may be executed (of course, changing the order of executing steps to adaptively adjust the specific contents in the steps, for example, step 2084 becomes "acquiring cooking device information corresponding to the digital recipe", step 2086 becomes "if compatible, executing step 2081", step 2083 should also include "if compatible, executing generation of the digital recipe according to the target recipe fragments, the order of the target recipe fragments, and the names and the food material information of the recipes to be authored"), or only step 2081 to step 2083 or only step 2084 to step 2086 may be executed (corresponding specific content changes are similar to the above examples, no further description is given).
In the above-mentioned steps 2081 to 2083, the safety of the arrangement order of the target recipe segments may be verified. Specifically, the arrangement sequence of each target menu segment is obtained first, wherein the arrangement sequence can be included in a menu creation instruction, then the arrangement sequence and a forward compatible mark and a backward compatible mark corresponding to each target menu segment are utilized to judge whether each target menu segment is arranged according to the corresponding arrangement sequence and has an incompatibility problem with other target menu segments, if an incompatibility phenomenon exists, a generation failure prompt message of the digital menu incompatibility is sent to a client, and if the incompatibility phenomenon exists, the compatibility of the cooking equipment is verified further according to the methods of the step 2084 and the step 2085.
In addition, the arrangement sequence of the target menu segments can also be automatically generated by the server according to the forward compatible markers and the backward compatible markers of each target menu segment, if the arrangement sequence is automatically generated by the server, the arrangement sequence is safe, the checking operation of the step 2082 and the step 2083 is not needed, and the step 2084 is directly performed to check the equipment compatibility.
In the above-mentioned step 2084 and step 2086, on the premise that the arrangement order of the target recipe fragments is compatible, the cooking device information corresponding to the digital recipe is obtained, the cooking device information is used to represent which cooking devices the digital recipe is used in, according to the cooking device information corresponding to the digital recipe fragments, it is determined whether the compatible device corresponding to each target recipe fragment contains the cooking device information, if the compatible device corresponding to each target recipe fragment contains the cooking device, the digital recipe may be generated, and if any compatible device corresponding to any target recipe fragment does not contain the cooking device, it is indicated that the cooking operation performed in the cooking device according to the target recipe fragment may cause the occurrence of a dangerous cooking situation, a generation failure prompt message that the digital recipe is incompatible may be sent to the client, it is worth noting that here, the prompt message that the cooking devices are incompatible may be specifically sent, in step 2083, a prompt message indicating that the ordering is not compatible may be sent.
Further, as a specific implementation of the method in fig. 1, a second aspect of this embodiment provides a server, as shown in fig. 3, where the server includes: a menu fragment receiving module 31 and a menu fragment storing module 32.
A recipe segment receiving module 31 for receiving at least one user created recipe segment, wherein the recipe segment is used for characterizing at least a part of cooking steps and/or functions in the recipe;
and the menu fragment storage module 32 is used for storing the menu fragments to a shared menu fragment library, wherein the menu fragments in the shared menu fragment library can be provided for any user to create a menu.
Specifically, the recipe fragment includes category information, recipe introduction, and cooking parameter information.
Specifically, as shown in fig. 4, the server further includes: a recipe fragment query module 33.
The menu fragment query module 33 is configured to receive a query condition of a required menu fragment from the client, search a menu fragment matching the query condition of the required menu fragment in the shared menu fragment library according to the query condition of the required menu fragment, and send a menu introduction corresponding to the searched menu fragment to the client, so that the client determines a target menu fragment according to the menu introduction.
Specifically, the server further includes: a download instruction receiving module 34 and a menu fragment downloading module 35.
A download instruction receiving module 34, configured to receive a target menu fragment download instruction from a client;
and the menu fragment downloading module 35 is configured to return the target menu fragment to the client according to the target menu fragment downloading instruction.
Specifically, the server further includes: a download authority verification module 36 and a menu fragment download module 37.
The download permission verification module 36 is configured to verify whether the target recipe segment download instruction has a download permission for the target recipe segment before returning the target recipe segment to the client according to the target recipe segment download instruction;
and the menu fragment downloading module 37 is configured to, if the download authority is met, return the target menu fragment to the client according to the target menu fragment downloading instruction.
Specifically, the server further includes: an authoring instruction receiving module 38, a digital menu authoring module 39 and a digital menu transmitting module 310.
An authoring instruction receiving module 38, configured to receive a recipe authoring instruction from a client, where the recipe authoring instruction includes at least one target recipe segment, and a name and food material information of a recipe to be authored;
a digital menu creation module 39, configured to generate a digital menu according to the target menu segment, the name of the menu to be created, and the food material information;
and a digital menu sending module 310, configured to send the generated digital menu to the client.
Specifically, if the target recipe segment includes at least two, the digital recipe creation module 39 specifically includes: a clip sequence acquisition unit 391 and a digital menu creation unit 392.
A fragment order acquiring unit 391, configured to acquire an arrangement order corresponding to the target menu fragments;
the digital menu creating unit 392 is configured to generate a digital menu according to the target menu segments, the arrangement order of the target menu segments, the names of the menus to be created, and the food material information.
Specifically, if the target recipe segment includes at least two, the digital recipe creation module 39 further includes: a menu compatibility checking unit 393 and an authoring failure prompting unit 394.
The recipe compatibility check unit 393 is used for judging whether any target recipe segment is compatible with other target recipe segments according to the forward compatible mark and the backward compatible mark corresponding to any target recipe segment before generating the digital recipe according to the target recipe segments, the arrangement sequence of the target recipe segments, the name of the recipe to be created and the food material information;
a digital menu creating unit 392, configured to generate a digital menu according to the target menu segments, the arrangement order of the target menu segments, the names of the menus to be created, and the food material information if the digital menu is compatible with the target menu segments;
and an authoring failure prompting unit 394, configured to send generation failure prompting information that the digital recipes are incompatible to the client if the digital recipes are incompatible.
Specifically, the digital menu creating module 39 further includes: a device information acquisition unit 395, and a device compatibility check unit 396.
An apparatus information acquiring unit 395 configured to acquire cooking apparatus information corresponding to the digital recipe before generating the digital recipe according to the target recipe fragments, the arrangement order of the target recipe fragments, the name of the recipe to be created, and the food material information;
the equipment compatibility checking unit 396 is used for checking whether the cooking equipment corresponding to the cooking equipment information is compatible with the compatible equipment corresponding to the target menu fragment;
the digital recipe creating unit 392 is specifically configured to, if the digital recipe creating unit is compatible with the target recipe, generate a digital recipe according to the target recipe segments, the arrangement order of the target recipe segments, the names of the recipes to be created, and the food material information.
Specifically, the recipe fragment storage module 32 is specifically configured to perform security audit on the recipe fragments, and store the recipe fragments that pass the security audit, where the security audit includes security audit on forward compatible markers and backward compatible markers of the recipe fragments.
It should be noted that other corresponding descriptions of the functional units related to the server provided in the embodiment of the present application may refer to the corresponding descriptions in fig. 1 and fig. 2, and are not described herein again.
In a third aspect of the present embodiment, a method for creating a menu is provided, and as shown in fig. 5, the method includes:
step 501, obtaining at least one target menu segment, wherein the target menu segment is from the server;
step 502, generating a digital menu based on at least one target menu segment, the name of the menu to be created and food material information.
In the embodiment, the client can create the digital menu by using the target menu fragment shared by others acquired from the server, and create the menu by directly using the established menu fragment without creating each step in the menu, thereby greatly facilitating the menu creation work. Specifically, a new digital menu may be created using the target menu segment, the name of the menu to be created, and the food material information.
In step 501, the target menu segment may be selected from menu segments downloaded to the client in advance, or may be downloaded from the server in real time as needed. Step 501 may include the following two embodiments:
the first embodiment specifically includes:
in step 5011A, the menu segments are downloaded from the server to the local menu segment library in advance, and the target menu segment is selected from the local menu segment library.
In the step 5011A, when the target menu segment is selected, the target menu segment may be selected from the menu segments previously downloaded from the server to the local menu segment library, and the target menu segment may be selected from the local menu segment library. The local menu fragment library is established, and downloaded menu fragments can be stored, so that the menu fragment can be directly used next time without being downloaded again.
The second embodiment specifically includes:
step 5011B, sending a menu fragment retrieval instruction to the server, wherein the menu fragment retrieval instruction comprises query conditions of required menu fragments.
Step 5012B, receiving and outputting the menu fragment matched with the query condition of the required menu fragment.
Step 5013B, sending a target menu fragment downloading instruction to the server according to the received target menu fragment selecting instruction.
At step 5014B, a target recipe segment is received from the server.
In the above-mentioned steps 5011B to 5014B, if there is no needed target menu fragment in the local menu fragment library, the target menu fragment may be downloaded from the server, specifically, a menu fragment search instruction including the query condition is first sent to the server, so that the server searches in the shared menu fragment library of the server according to the query condition and feeds back the searched menu fragment to the client, and then the client displays the menu fragment in the client after receiving the menu fragment fed back by the server, specifically, a menu introduction part of the menu fragment may be displayed for the user to select the target menu fragment from the menu fragments, and then a download instruction of the target menu fragment is sent to the server based on the received selection instruction of the target menu fragment by the user, thereby implementing the operation of downloading the target menu fragment from the server, the user can download required menu segments from the server at any time conveniently, and further the menu creation is facilitated.
In step 502, the digital menu generation method, step 502 may specifically include the following three specific embodiments:
the first embodiment specifically includes:
step 5021A, if the target menu fragments comprise at least two, obtaining the arrangement sequence of the target menu fragments;
step 5022A, judging whether any target menu fragment is compatible with other target menu fragments or not according to the arrangement sequence of the target menu fragments and the forward compatible mark and the backward compatible mark corresponding to the target menu fragments;
step 5023A, if the two types of menus are compatible, generating a digital menu according to the target menu fragments, the arrangement sequence of the target menu fragments, the names of the menus to be created and the food material information;
step 5024A, if the digital menu is incompatible with the digital menu, generating failure prompt information of the digital menu is output.
In steps 5021A to 5024A, a digital recipe may be created in the client based on the arrangement order of the respective target recipe segments. Specifically, the method includes the steps of firstly obtaining an arrangement sequence of each target menu segment, wherein the arrangement sequence can be set in a client by a user, then judging whether incompatibility exists between each target menu segment and other target menu segments according to the arrangement sequence and a forward compatible mark and a backward compatible mark corresponding to each target menu segment, outputting generation failure prompt information of digital menu incompatibility if incompatibility exists, and generating a digital menu according to the arrangement sequence of the target menu segments and names and food material information of menus to be created if the incompatibility exists, so that menu creation is achieved.
In addition, the arrangement sequence of the target menu segments can also be automatically generated by the client according to the forward compatible mark and the backward compatible mark of each target menu segment, if the arrangement sequence is automatically generated by the client, the arrangement sequence is safe, the checking operation of the step 5022A is not needed, and the step 5023A is directly entered to generate the digital menu.
The second embodiment specifically includes:
step 5021B, at least one target menu fragment and corresponding food material information are added into an existing menu according to the name of the menu to be created, so that part of cooking steps in the existing menu are replaced by the at least one target menu fragment and/or part of cooking steps which are the same as the target menu fragment are added to the existing menu to form the digital menu.
In step 5021B, the digital menu can be created based on the existing complete menu, specifically, the selected target menu segment can be used to make a change based on the existing menu, so as to create the digital menu. For example, the selected target recipe segment may replace a cooking step in an existing recipe, or a cooking step corresponding to the target recipe segment may be added to the existing recipe.
The third embodiment specifically includes:
step 5021C, a menu creating instruction is sent to a server, wherein the menu creating instruction comprises at least one target menu segment, the name of a menu to be created and food material information, so that the server generates and feeds back a digital menu to a client according to the menu creating instruction;
step 5022C, the digital menu sent by the server is received.
In step 5021C and step 5022C, recipe creation may be performed in the server. Specifically, a menu creation instruction containing target menu fragments, names of menus to be created and food material information is sent to the server, so that the server creates the menus according to the instruction after receiving the menu creation instruction, the created menus are fed back to the client, the client receives the digital menus sent by the server, and creation of the digital menus in the server is achieved. In addition, after the server creates the digital menu, the digital menu can be stored so as to realize sharing and backup.
Further, as a specific implementation of the method in fig. 5, a fourth aspect of this embodiment provides a client, as shown in fig. 6, where the client includes: a target segment acquisition module 61 and a digital menu creation module 62.
A target segment obtaining module 61, configured to obtain at least one target menu segment, where the target menu segment is derived from the server;
and a digital menu creating module 62, configured to generate a digital menu based on the at least one target menu segment, and the name and the food material information of the menu to be created.
Specifically, as shown in fig. 7, the target segment obtaining module 61 specifically includes: a local menu acquisition unit 611.
The local recipe obtaining unit 611 is configured to download the recipe fragments from the server to the local recipe fragment library in advance, and select a target recipe fragment from the local recipe fragment library.
Specifically, the target segment obtaining module 61 specifically includes: a menu segment retrieving unit 612, a retrieved menu receiving unit 613, a target menu downloading unit 614, and a target menu receiving unit 615.
A menu segment retrieving unit 612, configured to send a menu segment retrieving instruction to the server, where the menu segment retrieving instruction includes a query condition of a required menu segment;
a retrieval menu receiving unit 613, configured to receive and output a menu segment that matches the query condition of the required menu segment;
the target menu downloading unit 614 is used for sending a target menu fragment downloading instruction to the server according to the received target menu fragment selecting instruction;
a target recipe receiving unit 615 for receiving the target recipe segments from the server.
Specifically, if the target recipe segment includes at least two, the digital recipe creation module 62 specifically includes: a segment sequence acquisition unit 621, a digital menu creation unit 622.
A section order acquiring unit 621 configured to acquire an arrangement order of the target menu sections;
the digital menu creating unit 622 is configured to generate a digital menu according to the target menu segments, the arrangement order of the target menu segments, and the names and the food material information of the menus to be created.
Specifically, if the target recipe segment includes at least two, the digital recipe creation module 62 further includes: a menu compatibility checking unit 623, a digital menu creation unit 624, and a creation failure prompt unit 625.
A menu compatibility checking unit 623, configured to, before generating a digital menu according to the target menu segments, the arrangement order of the target menu segments, and the names and food material information of the menus to be created, determine whether any target menu segment is compatible with other target menu segments according to the arrangement order of the target menu segments, and the forward compatible flag and the backward compatible flag corresponding to the target menu segments;
a digital menu creating unit 624, configured to, if compatible, generate a digital menu according to the target menu segments, the arrangement order of the target menu segments, and the names and food material information of the menus to be created;
and an authoring failure prompt unit 625, configured to output generation failure prompt information that the digital menu is incompatible if the digital menu is incompatible.
Specifically, the digital menu creating module 62 specifically includes: a recipe update creation unit 626.
The recipe update creating unit 626 is configured to add at least one target recipe segment and corresponding food material information to an existing recipe according to a name of a recipe to be created, so that a part of cooking steps in the existing recipe is replaced by the at least one target recipe segment and/or a part of cooking steps, which are the same as the target recipe segment, is added to the existing recipe to form a digital recipe.
Specifically, the digital menu creating module 62 specifically includes: an authoring instruction transmitting unit 627 and a digital menu receiving unit 628.
An authoring instruction sending unit 627, configured to send a recipe authoring instruction to the server, where the recipe authoring instruction includes at least one target recipe segment, and a name and food material information of a recipe to be authored, so that the server generates and feeds back a digital recipe to the client according to the recipe authoring instruction;
a digital menu receiving unit 628 for receiving the digital menu sent from the server.
In a fifth aspect of the present embodiment, a system for creating a menu is provided, which includes the server and the client.
It should be noted that other corresponding descriptions of the functional units related to the client provided in the embodiment of the present application may refer to the corresponding description in fig. 5, and are not described herein again.
Based on the above method, correspondingly, the embodiment of the present application further provides a storage medium, on which a computer program is stored, and the program, when executed by a processor, implements the above method for creating a recipe.
Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the implementation scenarios of the present application.
Based on the foregoing method, embodiments of the server and the client, to achieve the foregoing object, embodiments of the present application further provide a computer device, which may specifically be a personal computer, a server, a network device, and the like, where the computer device includes a storage medium and a processor; a storage medium for storing a computer program; and the processor is used for executing the computer program to realize the menu creation method.
Optionally, the computer device may also include a user interface, a network interface, a camera, Radio Frequency (RF) circuitry, sensors, audio circuitry, a WI-FI module, and so forth. The user interface may include a Display screen (Display), an input unit such as a keypad (Keyboard), etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (e.g., a bluetooth interface, WI-FI interface), etc.
It will be appreciated by those skilled in the art that the present embodiment provides a computer device architecture that is not limiting of the computer device, and that may include more or fewer components, or some components in combination, or a different arrangement of components.
The storage medium may further include an operating system and a network communication module. An operating system is a program that manages and maintains the hardware and software resources of a computer device, supporting the operation of information handling programs, as well as other software and/or programs. The network communication module is used for realizing communication among components in the storage medium and other hardware and software in the entity device.
Through the description of the above embodiment, those skilled in the art can clearly understand that the present application can be implemented by software plus a necessary general hardware platform, and also can receive a menu fragment created by the user and sent by the user through a hardware implementation server, store the menu fragment created by the user in a shared menu fragment library of the server, and implement sharing of the menu fragment, so that other users can directly create a new menu by using the menu fragment created by another user in a manner of acquiring the menu fragment from the server. This application is through keeping the menu fragment in the server for other people to acquire to the user directly utilizes the menu fragment that acquires from the server to establish new menu, has realized the resource sharing of menu fragment, has greatly made things convenient for the creation of menu, practices thrift menu creation time, satisfies the diversified demand that the user created, has greatly made things convenient for the creation of menu.
Those skilled in the art will appreciate that the figures are merely schematic representations of one preferred implementation scenario and that the blocks or flow diagrams in the figures are not necessarily required to practice the present application. Those skilled in the art will appreciate that the modules in the devices in the implementation scenario may be distributed in the devices in the implementation scenario according to the description of the implementation scenario, or may be located in one or more devices different from the present implementation scenario with corresponding changes. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules.
The above application serial numbers are for description purposes only and do not represent the superiority or inferiority of the implementation scenarios. The above disclosure is only a few specific implementation scenarios of the present application, but the present application is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present application.

Claims (22)

1. A method for creating a menu, used in a server, comprising:
receiving at least one user created recipe segment, wherein the recipe segment is used to characterize at least a portion of cooking steps and/or functions in a recipe;
and storing the menu fragments to a shared menu fragment library, wherein the menu fragments in the shared menu fragment library can be provided for any user to create a menu.
2. The method of claim 1, wherein the recipe fragments comprise recipe description and cooking parameter information.
3. The method of claim 2, further comprising:
receiving a query condition of a required menu segment from a client, searching the menu segment matched with the query condition of the required menu segment in the shared menu segment library according to the query condition of the required menu segment, and sending a menu introduction corresponding to the searched menu segment to the client so that the client determines a target menu segment according to the menu introduction.
4. The method according to any one of claims 1 to 3, further comprising:
receiving a target menu fragment downloading instruction from the client;
and returning the target menu fragment to the client according to the target menu fragment downloading instruction.
5. The method of claim 4, wherein before returning the target recipe segment to the client according to the target recipe segment download instruction, the method further comprises:
verifying whether the target menu fragment downloading instruction has the downloading authority of the target menu fragment;
and if the target menu fragment has the downloading authority, returning the target menu fragment to the client according to the target menu fragment downloading instruction.
6. The method of claim 2, further comprising:
receiving a recipe creation instruction from the client, wherein the recipe creation instruction comprises at least one target recipe fragment, the name of a recipe to be created and food material information;
generating a digital menu according to the target menu fragment, the name of the menu to be created and food material information;
and sending the generated digital menu to the client.
7. The method of claim 6, wherein if the target recipe segment includes at least two, the generating a digital recipe according to the target recipe segment and the name and food material information of the recipe to be composed specifically comprises:
acquiring the corresponding arrangement sequence of the target menu segments;
and generating a digital menu according to the target menu fragments, the arrangement sequence of the target menu fragments, the name of the menu to be created and the food material information.
8. The method of claim 7, wherein if the target recipe segment comprises at least two, before generating the digital recipe according to the target recipe segment, the arrangement order of the target recipe segment, and the name of the recipe to be created and the food material information, the method further comprises:
judging whether any target menu fragment is compatible with other target menu fragments or not according to a forward compatible mark and a backward compatible mark corresponding to the target menu fragment;
if the target recipe fragments are compatible with the food material information, generating a digital recipe according to the target recipe fragments, the arrangement sequence of the target recipe fragments, the names of the recipes to be created and the food material information;
and if the digital menu is not compatible with the digital menu, sending generation failure prompt information of the digital menu incompatibility to the client.
9. The method of claim 8, wherein before generating the digital recipe according to the target recipe segments, the arrangement order of the target recipe segments, and the names of the recipes to be composed and the food material information, the method further comprises:
acquiring cooking equipment information corresponding to the digital menu;
verifying whether the cooking equipment corresponding to the cooking equipment information is compatible with the compatible equipment corresponding to the target menu fragment;
and if the target recipe fragments are compatible with the food materials, executing the step of generating the digital recipe according to the target recipe fragments, the arrangement sequence of the target recipe fragments, the names of the recipes to be created and the food material information.
10. The method according to any one of claims 1 to 9, wherein said saving of said recipe segments comprises in particular:
and performing security audit on the menu fragment, and storing the menu fragment which passes the security audit, wherein the security audit comprises the security audit of a forward compatible mark and a backward compatible mark of the menu fragment.
11. A server, comprising:
a recipe segment receiving module for receiving at least one user created recipe segment, wherein the recipe segment is used to characterize at least a portion of cooking steps and/or functions in a recipe;
and the menu fragment storage module is used for storing the menu fragments to a shared menu fragment library, wherein the menu fragments in the shared menu fragment library can be provided for any user to create a menu.
12. A method for recipe creation, for a client, comprising:
obtaining at least one target recipe segment, wherein the target recipe segment is derived from the server of claim 11;
and generating a digital menu based on at least one target menu fragment, the name of the menu to be created and the food material information.
13. The method according to claim 12, wherein the obtaining at least one target recipe segment specifically comprises:
downloading the menu segments from the server to a local menu segment library in advance, and selecting the target menu segments from the local menu segment library.
14. The method according to claim 12 or 13, wherein the obtaining of at least one target recipe segment specifically comprises:
sending a menu fragment retrieval instruction to the server, wherein the menu fragment retrieval instruction comprises a query condition of a required menu fragment;
receiving and outputting a menu segment matched with the query condition of the required menu segment;
sending a target menu fragment downloading instruction to the server according to the received target menu fragment selecting instruction;
receiving the target recipe segment from the server.
15. The method of claim 14, wherein if the target recipe segment includes at least two, the generating a digital recipe based on the at least one target recipe segment and the name and food material information of the recipe to be composed comprises:
acquiring the arrangement sequence of the target menu segments;
and generating a digital menu according to the target menu fragments, the arrangement sequence of the target menu fragments, the name of the menu to be created and the food material information.
16. The method of claim 15, wherein if the target recipe segment includes at least two, before generating the digital recipe according to the target recipe segment, the arrangement order of the target recipe segment, and the name and the food material information of the recipe to be created, the method further comprises:
judging whether any target menu fragment is compatible with other target menu fragments or not according to the arrangement sequence of the target menu fragments and the forward compatible mark and the backward compatible mark corresponding to the target menu fragments;
if the target menu segments are compatible with the food materials, generating a digital menu according to the target menu segments, the arrangement sequence of the target menu segments, the names of the menus to be created and the food material information;
and if the digital menu is not compatible with the digital menu, outputting generation failure prompt information of the digital menu which is not compatible with the digital menu.
17. The method according to claim 14, wherein the generating of the digital recipe based on the at least one target recipe segment and the name and food material information of the recipe to be composed comprises:
and adding at least one target menu fragment and corresponding food material information into an existing menu according to the name of the menu to be created, so that part of cooking steps in the existing menu are replaced by the at least one target menu fragment and/or the existing menu is added with the part of cooking steps which are the same as the target menu fragment to form the digital menu.
18. The method according to claim 14, wherein the generating of the digital recipe based on the at least one target recipe segment and the name and food material information of the recipe to be composed comprises:
sending a recipe creation instruction to the server, wherein the recipe creation instruction comprises at least one target recipe fragment, the name of a recipe to be created and food material information, so that the server generates and feeds back the digital recipe to the client according to the recipe creation instruction;
and receiving the digital menu sent by the server.
19. A client, comprising:
a target segment obtaining module for obtaining at least one target recipe segment, wherein the target recipe segment is derived from the server according to claim 11;
and the digital menu creating module is used for generating a digital menu based on at least one target menu fragment, the name of the menu to be created and food material information.
20. A system for recipe authoring, comprising the server of claim 8 and the client of claim 19.
21. A storage medium on which a computer program is stored, which program, when being executed by a processor, carries out a method of recipe creation according to one of the claims 1 to 10 and a method of recipe creation according to one of the claims 12 to 18.
22. A computer device comprising a storage medium, a processor and a computer program stored on the storage medium and executable on the processor, characterized in that the processor, when executing the program, implements a method of recipe creation as claimed in any one of claims 1 to 10 and a method of recipe creation as claimed in any one of claims 12 to 18.
CN201911054088.4A 2019-10-31 2019-10-31 Menu creation method, server and client Withdrawn CN110929147A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911054088.4A CN110929147A (en) 2019-10-31 2019-10-31 Menu creation method, server and client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911054088.4A CN110929147A (en) 2019-10-31 2019-10-31 Menu creation method, server and client

Publications (1)

Publication Number Publication Date
CN110929147A true CN110929147A (en) 2020-03-27

Family

ID=69850071

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911054088.4A Withdrawn CN110929147A (en) 2019-10-31 2019-10-31 Menu creation method, server and client

Country Status (1)

Country Link
CN (1) CN110929147A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114052473A (en) * 2020-08-07 2022-02-18 添可智能科技有限公司 Recipe generation and cooking step recommendation method and system of cooking machine and cooking machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114052473A (en) * 2020-08-07 2022-02-18 添可智能科技有限公司 Recipe generation and cooking step recommendation method and system of cooking machine and cooking machine

Similar Documents

Publication Publication Date Title
CN110221872B (en) Page jump method and device, electronic equipment and storage medium
US11606320B2 (en) Dynamic application configuration
US9507582B2 (en) Vertically integrated continuous delivery of an application
KR20170137150A (en) Action-based app recommendation engine
US10585566B2 (en) Reproducing state of source environment when image was screen captured on a different computing device using resource location, resource navigation and positional metadata embedded in image
CN104469467B (en) The methods, devices and systems of video playing are carried out in a kind of browser client
CN109254817B (en) Dial plate replacing method and system of wearable device and wearable device
US11018931B2 (en) Data driven user interface for configuring device settings
CN104239775B (en) The method and apparatus that mobile phone terminal and PC end set up wireless connections by short message
CN105978956B (en) A kind of method of offline file transmission, system, terminal device and server
CN106444567B (en) Food cooking system, method and device
CN111813282B (en) Data form display method and device
CN109992284A (en) Method and device for providing hot update program and electronic equipment
CN110609957A (en) Method, terminal and server for global search
US20200128287A1 (en) Captured content sharing interface
CN110929147A (en) Menu creation method, server and client
CN106909486B (en) Method, device and system for processing business exception
CN105824523A (en) Method for downloading application software and mobile terminal
US9369515B2 (en) Communication method, communication device, appliance control method, and appliance control device
US9508323B2 (en) Appliance control system and method for controlling an appliance based on processing done by another appliance
US20170118265A1 (en) Method, server, client and system for remotely controlling customized channels
JP2016009459A (en) Information provision system, information provision method, and program
JP5941574B2 (en) Server device, program, and system
CN104158862B (en) The startup method and client terminal device of online interaction webpage
CN111538481B (en) Application program customization method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20200327

WW01 Invention patent application withdrawn after publication