Recommended dish generation method, computer-readable storage medium, intelligent cooking equipment and server
Technical Field
The invention relates to the technical field of cooking devices, in particular to a recommended dish generation method, a computer-readable storage medium, intelligent cooking equipment and a server.
Background
With the rapid development of society, the catering industry is developed more and more, and users generally obtain dishes in a way of taking out and ordering dishes or ordering dishes on site in stores when the users do not want to cook rice. The utility model provides an existing intelligent cooking equipment, it is equipped with edible material storage device, batching storage device and cooking device, it has multiple edible material to store among the edible material storage device, multiple batching has been stored among the batching storage device, this intelligent cooking equipment is equipped with the system of ordering, a plurality of dishes have been preset on it, the user can order on ordering the system the dish that the selection wants, then this intelligent cooking equipment will put into cooking device with corresponding edible material and batching according to this dish and cook, thereby produce the dish that the user wants. However, if the user is hesitant to select a desired dish, the user may repeatedly check and select the various dishes, thereby consuming a lot of time and effort in selecting the dishes.
Patent document CN110766496A discloses a method, an apparatus and a system for generating a list, in which a game factor is obtained according to the progress of a user playing a game, and a corresponding recommendation question is obtained according to the game factor and a game question bank corresponding to the game factor, wherein when the recommendation question includes a dish, and when a positive instruction of the user to the recommendation question is obtained, the dish corresponding to the recommendation question is used as a dish desired by the user, and a shopping list is generated according to a recipe corresponding to the dish desired by the user. According to the list generation method, the dishes preferred by the user are obtained in a game question and answer mode to generate the shopping list, so that the intelligent cooking equipment can obtain the dishes desired by the user and recommend the dishes, and the user does not need to spend a great deal of time and energy to select the dishes.
Because the food materials used by the intelligent cooking equipment during cooking are stored in the food material storage device, if the storage amount of a certain food material in the food material storage device is too much, the food material can be damaged due to difficulty in selling and clearing, and therefore the intelligent cooking equipment usually displays dishes made by the food material with the too much storage amount as the current main pushed dish preferentially on the ordering system, so that a user can tend to place an order on the main pushed dish to be favorable for selling the food material with the too much storage amount. However, when the intelligent cooking device obtains the recommended dishes by using the list generation method, the user's preference is only used, and whether food material processing is excessive or not is not considered, so that the intelligent cooking device is not beneficial to selling food materials with excessive reserves.
Disclosure of Invention
The invention aims to solve the technical problem of how to enable intelligent cooking equipment to take current main push dishes into consideration when the intelligent cooking equipment generates recommended dishes in a game mode.
In order to solve the technical problem, the invention provides a method for generating recommended dishes, which comprises the following steps:
a main push dish acquisition step: acquiring a current main push dish;
a game question and answer step: preferentially and first selecting dish preference questions corresponding to the main push dishes in the game for a user to answer;
a recommended dish generation step: and generating a recommended dish according to the answer given by the user to the dish preference question.
Preferably, the game quiz step specifically: and in the game, according to the game progress currently reached by the user, a corresponding dish favorite theme is output and is answered to the user.
Preferably, the game progress is multiple, the dish favorite theme is multiple, and the multiple game progresses correspond to the multiple dish favorite themes respectively.
Preferably, the recommended dish generating step specifically: and acquiring the answer given by the user to the dish favorite topic, and if the answer is positive, taking the dish corresponding to the dish favorite topic as a recommended dish.
Preferably, if the answer is negative, the game questioning and answering step is continuously executed so as to give other dish preference titles to the user for answering, until positive answers given by the user to the other dish preference titles are obtained in the recommended dish generating step.
Preferably, as described above, a dish preference title corresponding to the main push dish is given priority, specifically: and enabling the game progress reached first in the game to correspond to the dish preference subject corresponding to the main dish pushing item.
Preferably, as mentioned above, the main push dish obtaining step specifically: the method comprises the steps of obtaining the reserves of various food materials used by a plurality of preset dishes, and taking the dishes which can be made by the food materials with the reserves as large as the preset degree as the current main push dish.
The invention also provides a computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the method as described above.
The invention also provides intelligent cooking equipment, which comprises a control device and an information interaction device, wherein the control device is electrically connected with the information interaction device and comprises a computer readable storage medium and a processor which are mutually connected, and the computer readable storage medium is as above, in the game question and answer step, the information interaction device is used for giving out the dish favorite questions; and in the recommended dish generating step, acquiring answers given by the user by using the information interaction device.
The invention also provides a server comprising a computer readable storage medium and a processor connected to each other, the computer readable storage medium being as described above.
The invention has the following beneficial effects: because the dish preference question corresponding to the main push dish is firstly selected in the game question and answer step, after the user gives a positive answer to the dish preference question, the generated recommended dish is related to the main push dish, namely the main push dish is preferentially considered when the recommended dish is generated, so that the current main push dish can be considered, and the food materials with excessive reserves can be sold.
Drawings
Fig. 1 is a circuit connection block diagram of an intelligent cooking apparatus;
FIG. 2 is a general flow diagram of a method of generating recommended dishes;
fig. 3 is a detailed flowchart of a method of generating recommended dishes.
Description of reference numerals: 1-a control device; 2-touch screen; 3-a communication device; 4-food material storage means; 5-a ingredient storage device; 6-cooking device.
Detailed Description
As shown in fig. 1, the intelligent cooking device comprises a control device 1, a touch screen 2, a communication device 3, a food material storage device 4, a material preparation storage device 5 and three cooking devices 6, wherein the control device 1 is electrically connected with the touch screen 2, the communication device 3, the food material storage device 4, the material preparation storage device 5 and each cooking device 6 respectively.
The touch screen 2 and the communication device 3 are both used as information interaction devices of the intelligent cooking equipment, wherein the touch screen 2 can directly list various information stored in the control device 1 for a user and receive various information input by the user, the communication device 3 can be in communication connection with portable intelligent communication equipment such as a mobile phone, a tablet computer and a notebook computer of the user, and then various information stored in the control device 1 is listed on the portable intelligent communication equipment and various information input by the user on the portable intelligent communication equipment is received. The food material storage device 4 stores therein a plurality of food materials such as beef, chicken, eggs, balsam pears, tomatoes and potatoes; a plurality of ingredients such as ginger, shallot, garlic, and pepper are stored in the ingredient storage 5; the food storage means 4 and the ingredient storage means 5 are each provided with a manipulator for gripping food and ingredients into the cooking means 6 for cooking. The three cooking devices 6 are different from each other, and are respectively a frying pan, a high-pressure oven and a stir-frying oven, so that the three cooking devices 6 can respectively provide three cooking processes of frying, stewing and stir-frying.
Four dishes of balsam pear fried beef, tomato fried eggs, potato stewed chicken and fried eggs are preset in the control device 1 and listed on the touch screen 2, so that a user can select a desired dish on the touch screen 2 to order. The control device 1 stores a food material adding program, an ingredient adding program and a cooking starting program corresponding to each dish, the food material adding program is provided with a proper food material amount, the ingredient adding program is provided with a proper ingredient amount, and the cooking starting program is provided with a proper cooking time length.
The control device 1 stores the reserve information of various food materials, and after the food materials are taken each time, the control device 1 modifies the reserve information of the corresponding food materials, so that the reserve of various food materials stored in the food material storage device 4 can be known in real time. After the lunch period (i.e., after two afternoons), if the stock of a certain food material, such as beef, in the food material storage device 4 reaches approximately 70% or more of the full stock, it is considered that the beef stock is excessive, so that it is expected that beef will be difficult to sell fresh light during the dinner period and will remain overnight, resulting in deterioration. In order to be favorable for selling beef with excessive reserves, the control device 1 can preferentially display the dish beef fried with bitter gourd capable of being made of beef as the current main dish pushing product on the touch screen 2, so that a user can place orders on the beef fried with bitter gourd in the subsequent ordering process, and the beef with excessive reserves is sold.
However, the user usually does not directly select the main push dish to place an order, and usually checks other dishes for selection. In order to facilitate the user, especially a child, to select other dishes, the user may operate on the touch screen 2 to enter the game interface, and then perform a game question and answer on the game interface to implement the generation method of the recommended dishes, which is described in detail as follows: referring to fig. 2 and 3, in a game, a user can control a game character to travel along a game path by controlling a virtual joystick on a touch screen 2, a plurality of markers are arranged on the game path, each marker represents a game progress, each game progress corresponds to a dish preference topic, after obtaining the main push dish balsam pear fried beef, a control device 1 makes the game progress reached first in the game correspond to the dish preference topic corresponding to the main push dish, so that when the user controls the game character to travel to the first marker, that is, after the game reaches the first game progress, the game character would have a dish preference topic corresponding to the main push dish balsam pear fried beef, for example, "do you like to eat balsam pear fried beef? ", and gives the user the option of" yes "and" no ", for which two options: if the user selects 'yes' to answer the positive answer, the control device 1 knows that the user likes to eat the balsam pear-fried beef according to the answer, so that the control device 1 displays the balsam pear-fried beef serving as a recommended dish on the touch screen 2, and the generated recommended dish is related to a main push dish, so that the user is prompted to select the balsam pear-fried beef to place an order, and the beef with excessive reserves is sold; if the user selects the negative answer of 'no', the control device 1 knows that the user does not like eating the balsam pear fried beef according to the negative answer, so the control device 1 enables the touch screen 2 to return to the game interface, the user continues to play the game, after the user controls the game character to move to the second marker, namely the game reaches the second game progress, the touch screen 2 can be provided with the dish favorite subjects corresponding to other dishes, two options of 'yes' and 'no' are provided for the user to select the answer, if the user obtains the negative answer again, the control device 1 can continue enabling the touch screen 2 to return to the game interface, the user continues to play the game, and the steps are repeated until the user obtains the positive answer to the dish favorite subject, and the control device 1 generates the corresponding recommended dishes according to the dish favorite subjects. If the answers given to all the dish preference titles by the user are answered in the course of playing the game, the control device 1 judges that the user does not like all the dishes, thereby not generating recommended dishes.
After the recommended dish, namely the beef stir-fried with balsam pears, is generated, if the user accepts the recommendation, the dish, namely the beef stir-fried with balsam pears, is selected on the touch screen 2 to place an order, so that the cooking method is realized, and the following detailed description is specifically provided: after the user orders the food, the bitter gourd and beef are adopted as the bitter gourd and beef adopted as the beef stir-frying food, the garlic and pepper are adopted as the ingredients, and the cooking process is stir-frying, so that the control device 1 executes the corresponding food adding program firstly to enable the manipulator of the food storage device 4 to grab the bitter gourd and beef in proper quantities and place the bitter gourd and beef in the stir-frying furnace, then executes the corresponding ingredient adding program to enable the manipulator of the ingredient storage device 5 to grab the garlic and pepper in proper quantities and place the garlic and pepper in the stir-frying furnace, and then executes the corresponding cooking starting program to enable the stir-frying furnace to start for proper time to cook, thereby obtaining the dish bitter gourd and beef.
In this embodiment, if the user wants to place an order on the touch screen 2 in a remote manner instead of placing the order on the touch screen 2, the user can use a portable intelligent communication device such as a mobile phone, a tablet computer, or a notebook computer to communicate with the communication device 3 of the intelligent cooking device via the server, and then can use the portable intelligent communication device to place the order in a remote manner, so that various information originally listed on the touch screen 2 is listed on the portable intelligent communication device via the communication device 3 and the server, various information originally received by using the touch screen 2 is received on the portable intelligent communication device via the communication device 3 and the server, and a game originally played on the touch screen 2 is played on the portable intelligent communication device of the user via the communication device 3 and the server. In addition, the other recommended dish generation process, ordering process and cooking process are the same as those described above, and are not described herein again.
Wherein the control device 1 comprises a computer readable storage medium and a processor connected to each other, the computer readable storage medium having stored therein a computer program which, when executed by the processor, implements a method of generating recommended dishes and a method of cooking of the control device 1. Further, since the server also includes a computer-readable storage medium and a processor connected to each other, and a computer program is also stored in the computer-readable storage medium, the recommended dish generating method and the cooking method implemented by the control device 1 described above may be implemented by the server instead.
In the methods set forth directly or indirectly in the specification, various steps and operations are described in one possible order of operation, but those skilled in the art will recognize that steps and operations may be rearranged, substituted, or eliminated without necessarily departing from the spirit and scope of the invention. It is understood that the examples and embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Various modifications or alterations in view thereof will be suggested to those skilled in the art and are intended to be included within the scope of the claims of this application.