Cooking menu adjusting method and device, equipment and storage medium
Through the food incompatibility detection model of the smart cooking machine, we predict the incompatibility relationship of dishes and replace them, solving the problem of unreasonable matching of users when choosing dishes, ensuring health and providing a good experience.
Patent Information
- Application Number
- CN202311248135.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-26
- Publication Date
- 2025-03-28
AI Technical Summary
When users choose smart cooking dishes, it is difficult for them to consider the rationality of the dishes, which may affect their health.
By predicting the cooking menu with incompatible dishes based on the preset food incompatible detection model, a compromising dish collection is obtained, and a replacement dish collection is determined based on the compromising dish collection and cooking menu, a menu selection list is generated, and a target menu is determined in response to user selection operations.
When the dishes are unreasonable in the cooking menu, adjust the menu to solve the problem of incompatibility, ensure the healthy dining of users and provide a good user experience.
Smart Images

Figure CN119722205A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent cooking machines, and in particular to a cooking menu adjustment method, device, intelligent cooking machine and storage medium. Background Art
[0002] At present, smart cooking machines are gradually entering people's lives. In some scenarios, smart cooking machines can cook based on dishes selected by users, providing convenience for users.
[0003] However, when users choose dishes, they often fail to consider the rationality of the dish combination, which may affect the health of the users. Summary of the invention
[0004] The present application provides a cooking menu adjustment method, device, equipment and storage medium, which can detect food incompatibility for users;
[0005] In a first aspect, the present application provides a cooking menu adjustment method, comprising:
[0006] Based on the preset food incompatibility detection model, incompatibility dishes are predicted for the cooking menu to obtain an incompatibility dish set;
[0007] Determine a replacement dish set based on the incompatible dish sets and cooking menus;
[0008] Generate a dish selection list based on the incompatible dish set and the replacement dish set, and display the dish selection list;
[0009] In response to a user's selection operation on the menu selection list, a target menu is determined.
[0010] In a second aspect, the present application provides a cooking menu adjustment device, characterized in that it includes:
[0011] Get module: get cooking menu;
[0012] Prediction module: predicts incompatible dishes on the cooking menu based on the preset food incompatibility detection model to obtain an incompatibility dish set;
[0013] Replacement module: determine the replacement dish set according to the incompatible dish set and cooking menu;
[0014] Generation module: Generate a dish selection list based on the incompatible dish set and the replacement dish set, and display the dish selection list;
[0015] Response module: Determines the target menu in response to the user's selection operation on the dish selection list.
[0016] Optionally, in some embodiments of the present application, the replacement module includes:
[0017] Acquisition unit: acquires storage information of candidate ingredients, user's taste preferences and allergen information;
[0018] A first determining unit: determining a dish type set according to the conflicting dish set, wherein the dish type set includes the dish type of each dish in the conflicting dish set;
[0019] The second determination unit determines a replacement dish set according to the incompatible dish set, storage information, taste preference, allergen information, cooking menu, and dish type set.
[0020] Optionally, in some embodiments of the present application, the second determining unit includes:
[0021] The first acquisition subunit: acquires a preset menu;
[0022] A first determination subunit: determining a target dish set in a preset menu according to the incompatible dish set, the allergen information, the cooking menu, and the storage information;
[0023] The second determination subunit: determines a replacement dish set in the target dish set according to taste preferences and dish type sets.
[0024] Optionally, in some embodiments of the present application, the first determining subunit is specifically used for:
[0025] Determine incompatible ingredients based on the incompatible dishes set;
[0026] Determine allergic ingredients based on allergen information;
[0027] Get the target ingredients based on incompatible ingredients, allergenic ingredients, cooking menus and storage information;
[0028] Determine a target dish set in the preset menu according to the target ingredients.
[0029] Optionally, in some embodiments of the present application, the response module is specifically used to:
[0030] If no selection operation of the user on the dish selection list is received within the preset time, the target menu is determined according to the cooking menu and the set of incompatible dishes, and the cooking operation is performed according to the target menu.
[0031] Optionally, in some embodiments of the present application, the replacement module is specifically used for:
[0032] For each dish in the incompatible dish set, determine the corresponding replacement dish, wherein if the replacement dish has an incompatible relationship with any dish in the cooking menu, re-determine the replacement dish until the replacement dish has no incompatible relationship with all dishes in the cooking menu;
[0033] Based on all the replacement dishes, determine the replacement dish set.
[0034] Optionally, in some embodiments of the present application, a reminder module is further included, for:
[0035] If the set of incompatible dishes includes at least two incompatible dishes, a reminder message is sent to the user.
[0036] In a third aspect, the present application further provides a storage medium on which a computer program is stored, wherein the computer program implements the steps of the above method when executed by a processor.
[0037] In a fourth aspect, the present application also provides an intelligent cooking machine, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the steps of the above method are implemented when the processor executes the program.
[0038] As described above, the present application provides a cooking menu adjustment method, device, electronic device and storage medium, which obtains a cooking menu, predicts incompatible dishes on the cooking menu based on a preset food incompatibility detection model, obtains an incompatible dish set, determines a replacement dish set based on the incompatible dish set and the cooking menu, generates a dish selection list based on the incompatible dish set and the replacement dish set, and displays the dish selection list, and determines a target menu in response to a user's selection operation on the dish selection list. This scheme performs incompatible dish detection through the cooking menu. If the cooking menu includes dishes with an incompatibility relationship, replacement dishes are determined for the incompatibility dishes, and the incompatibility dishes in the cooking menu are replaced based on the user's selection operation. When the dish combination in the cooking menu is unreasonable, the cooking menu can be adjusted, thereby ensuring the user's dining health and providing the user with a good experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0040] in:
[0041] Figure 1 is a schematic diagram of a scenario of a cooking menu adjustment method provided in an embodiment of the present application;
[0042] Figure 2 is a flowchart of a cooking menu adjustment method provided in an embodiment of the present application;
[0043] Figure 3 is a schematic diagram of the structure of a cooking menu adjustment device provided in an embodiment of the present application;
[0044] Figure 4 It is a structural schematic diagram of the intelligent cooking machine provided in an embodiment of the present application. DETAILED DESCRIPTION
[0045] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0046] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0047] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0048] The present application provides a cooking menu adjustment method, device, equipment and storage medium.
[0049] The cooking menu adjustment device can be integrated into an electronic device, which can be a smart phone, a tablet computer, a laptop computer, a desktop computer or an intelligent cooking machine, but is not limited thereto. The electronic device can be directly or indirectly connected to the server through wired or wireless communication. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. This application does not limit this.
[0050] For example, see Figure 1 The cooking menu adjustment device is integrated in the intelligent cooking machine 10, and the intelligent cooking machine may include an interactive display screen, through which the user can interact with the intelligent cooking machine 10. The intelligent cooking machine 10 adjusts the cooking menu, and the cooking menu adjustment steps include obtaining a cooking menu; predicting incompatible dishes for the cooking menu based on a preset food incompatibility detection model to obtain an incompatibility dish set; determining a replacement dish set based on the incompatibility dish set and the cooking menu; generating a dish selection list based on the incompatibility dish set and the replacement dish set, and displaying the dish selection list; and determining a target menu in response to a user's selection operation on the dish selection list.
[0051] The present application provides a cooking menu adjustment method, which obtains a cooking menu, predicts incompatible dishes on the cooking menu based on a preset food incompatibility detection model, obtains an incompatibility dish set, determines a replacement dish set based on the incompatibility dish set and the cooking menu, generates a dish selection list based on the incompatibility dish set and the replacement dish set, and displays the dish selection list, and determines a target menu in response to a user's selection operation on the dish selection list. This solution detects incompatibility dishes on the cooking menu, and if the cooking menu includes dishes that have an incompatibility relationship, determines replacement dishes for the incompatibility dishes, and replaces the incompatibility dishes in the cooking menu based on the user's selection operation. When the dishes in the cooking menu are not reasonably matched, the cooking menu can be adjusted, thereby ensuring the user's dining health and providing a good experience for the user.
[0052] It should be noted that the order of description of the following embodiments is not intended to limit the priority order of the embodiments.
[0053] A cooking menu adjustment method comprises: obtaining a cooking menu; predicting incompatible dishes on the cooking menu based on a preset food incompatibility detection model to obtain an incompatibility dish set; determining a replacement dish set according to the incompatibility dish set and the cooking menu; generating a dish selection list according to the incompatibility dish set and the replacement dish set, and displaying the dish selection list; and determining a target menu in response to a user's selection operation on the dish selection list.
[0054] See also Figure 2 , Figure 2 This is a flow chart of the cooking menu adjustment method provided in this application. The specific flow of the cooking menu adjustment method can be as follows:
[0055] 101. Get the cooking menu.
[0056] Among them, the cooking menu can be a menu added by the user. For example, the smart cooking machine displays multiple dishes through an interactive display screen. The user selects at least one dish from the multiple dishes by touching the display screen. The smart cooking machine responds to the user's selection operation and generates a cooking menu according to the at least one dish selected by the user.
[0057] 102. Based on the preset food incompatibility detection model, incompatibility dishes are predicted for the cooking menu to obtain an incompatibility dish set.
[0058] In an embodiment of the present application, the dishes that are incompatible with each other in the cooking menu are predicted based on a preset food incompatibility detection model, wherein the preset food incompatibility detection model can be a model trained based on CNN (Convolutional Neural Networks) or BERT (Bidirectional Encoder Representation from Transformers). The incompatibility dishes set includes dishes that are in a incompatibility relationship in the cooking menu. For example, if the cooking menu includes dishes persimmon cake and spicy crab, wherein persimmon cake is a dish made with persimmon, and spicy crab is a dish made with crab, and persimmon and crab can cause diarrhea when eaten together. Therefore, persimmon cake and spicy crab are dishes that are in a incompatibility relationship, and accordingly, the incompatibility dishes set includes persimmon cake and spicy crab.
[0059] In one example, a cloud server and a smart cooking machine are connected. A food incompatibility detection model can be trained on the cloud server based on labeled food incompatibility samples to obtain a trained food incompatibility detection model. The smart cooking machine uploads the cooking menu to the cloud server. The cloud server obtains a set of incompatibility dishes based on the food incompatibility detection model and sends the set of incompatibility dishes to the smart cooking machine. The trained food incompatibility detection model can also be deployed to the smart cooking machine.
[0060] 103. Determine the replacement dish set based on the incompatible dish sets and cooking menu.
[0061] For each dish in the set of incompatible dishes, the corresponding replacement dish is determined according to the cooking menu, and a replacement dish set is generated according to all the replacement dishes.
[0062] For example, if the set of incompatible dishes includes dish A and dish B, then replacement dishes corresponding to dish A and dish B are generated according to the cooking menu, such as the replacement dish corresponding to dish A is dish C, and the replacement dish corresponding to dish B is dish D, and a corresponding replacement dish set is generated based on dishes C and D.
[0063] In one example, the ingredients used in all dishes in the cooking menu can be extracted. When determining replacement dishes, dishes made with ingredients that are in conflict with the extracted ingredients are not used as replacement dishes to prevent the replacement dishes from being in conflict with other dishes in the cooking menu. For example, the cooking menu includes dishes A, B, C, and D, and the ingredients used in all dishes in the cooking menu can be extracted. For example, the extracted ingredients include ingredients a1, a2, b1, c1, and d1, where dishes A and B are conflicting dishes. Accordingly, the conflicting dishes set includes dishes A and B. When determining replacement dishes for dishes A and B, avoid using ingredients that are in conflict with ingredients a1, a2, b1, c1, and d1.
[0064] In one example, when determining replacement dishes, avoid using dishes made with ingredients that counteract each other as replacement dishes. For example, a set of counteracting dishes includes dish A and dish B, and dish A and dish B are dishes that have a counteracting relationship, wherein dish A includes ingredient a1 and ingredient a2, and dish B includes ingredient b1. The ingredients that cause dish A and dish B to counteract each other are ingredient a1 and ingredient b1. When determining a replacement dish corresponding to dish A, avoid using a dish made with ingredient a1 as a replacement dish. When determining a replacement dish corresponding to dish B, avoid using a dish made with ingredient b1 as a replacement dish.
[0065] In one example, a dish has multiple conflicting relationships. When determining the replacement dish corresponding to the dish, avoid using ingredients corresponding to multiple conflicting relationships. For example, dish A and dish B, dish C, and dish D have conflicting relationships, where ingredient a1 in dish A and ingredient b1 in dish B conflict with each other; ingredient a2 in dish A and ingredient C1 in dish C conflict with each other; ingredient a3 in dish A and ingredient D1 in dish D conflict with each other. That is, the conflicting ingredients in dish A include ingredient a1, ingredient a2, and ingredient a3. When determining the replacement dish corresponding to dish A, avoid using dishes made from ingredients a1, ingredient a2, and ingredient a3 as replacement dishes.
[0066] In some embodiments, the step of “determining a replacement dish set according to the incompatible dish set and the cooking menu” may specifically include:
[0067] (11) obtaining storage information of candidate ingredients, user's taste preferences, and allergen information;
[0068] (12) determining a dish type set according to the conflicting dish set, where the dish type set includes the dish type of each dish in the conflicting dish set;
[0069] (13) Determine a set of replacement dishes based on the set of incompatible dishes, storage information, taste preferences, allergen information, cooking menus, and dish type sets.
[0070] In this embodiment, the replacement dish set is determined based on the incompatible dish set, storage information, taste preferences, allergen information, cooking menu, and dish type set, where the dish type can be meat or vegetable, or the dish can be soup, stir-fry, or steamed, etc. Candidate ingredients are reserved ingredients, and the storage information includes the storage amount of candidate ingredients. Allergen information is used to indicate ingredients that may cause allergic reactions in users. The storage information of candidate ingredients can be obtained by the smart cooking machine through connection with the smart home, such as establishing a wireless connection with the smart refrigerator to obtain the storage information of the candidate ingredients stored in the smart refrigerator. The user's taste preferences can be obtained by searching historical menu data, and the user's allergen information can be entered in advance.
[0071] In one example, the voiceprint data of each user can be obtained, and the user identification can be obtained based on the preset voiceprint data and user identification mapping table, and the corresponding historical menu data and allergen information can be obtained based on the user identification. For example, voiceprint a, voiceprint b, voiceprint c, and voiceprint d are obtained, and based on the preset voiceprint and user identification mapping table, the user identification corresponding to voiceprint a is user 1; the user identification corresponding to voiceprint b is user 2; the user identification corresponding to voiceprint c is user 3; and the user identification corresponding to voiceprint d is user 4. Finally, the corresponding historical menu data is searched based on the user identification to obtain the taste preference corresponding to the user identification, and the allergen information is obtained based on the user identification.
[0072] In one example, for any dish in the set of incompatible dishes, in the process of determining the corresponding replacement dish, first determine the ingredients to be avoided in the replacement dish according to the set of incompatible dishes, the allergen information and the cooking menu. For example, obtain the ingredients that are in a conflicting relationship according to the set of incompatible dishes, obtain the ingredients that will cause the user to have an allergic reaction through the allergen information, and obtain the ingredients that are in a conflicting relationship with the ingredients included in the cooking menu through the cooking menu. For example, the ingredient that is in a conflicting relationship obtained according to the set of incompatible dishes is ingredient a1, the food that will cause the user to have an allergic reaction obtained through the allergen information is ingredient a2, and the ingredient that is in a conflicting relationship with the ingredients included in the cooking menu obtained through the cooking menu is ingredient a3. Then, when selecting a replacement dish, avoid selecting dishes made with ingredients a1, a2 and a3 as replacement dishes. Then obtain the reserve amount of the ingredients according to the storage information, and determine the ingredients that can be cooked based on the ingredients to be avoided. Finally, the replacement dish set is determined based on taste preferences, dish types, and ingredients that can be cooked. For example, if the user's taste preference is hot and sour, then when determining the replacement dishes, you can give priority to hot and sour dishes. By confirming the types of conflicting dishes in the conflicting dish set, when determining the replacement dishes, give priority to replacement dishes of the same type as the conflicting dishes. For example, if the conflicting dish is soup, when determining the replacement dish, give priority to soup dishes as replacement dishes.
[0073] In some embodiments, the step of “determining a replacement dish set based on the incompatible dish set, storage information, taste preferences, allergen information, cooking menu, and dish type set” includes:
[0074] (21) Obtaining a preset menu;
[0075] (22) determining a target dish set in a preset menu according to the incompatible dish set, the allergen information, the cooking menu, and the storage information;
[0076] (23) Determine a replacement dish set from the target dish set based on taste preferences and dish type sets.
[0077] In this embodiment, a target dish set is determined in a preset menu, and a replacement dish set is determined in the target dish set based on taste preferences and dish type sets, wherein the preset menu may be pre-stored in the smart cooking machine or downloaded from the network, and the target dish set is dishes that can be cooked.
[0078] For example, firstly, according to the storage information and the preset menu, the first dish set is determined in the preset menu. The first dish set represents the menu that can be cooked. Specifically, for each dish in the preset menu, if the candidate ingredients include all the ingredients required to complete the dish, and the reserve amount of the candidate ingredients meets the requirements for completing the dish, then the dish is added to the first dish set, that is, the candidate ingredients include all the ingredients required to complete the first dish set. According to the set of incompatible dishes, allergen information and cooking menu, the first ingredient is determined. The first ingredient is the ingredient to be avoided, and the dishes made with the first ingredient are removed from the first dish set to obtain the target dish set. Finally, according to the taste preference and the dish type set, the replacement dish set is determined in the target dish set. Among them, the priority of the replacement dishes can be set according to the taste preference and the dish type set. Specifically, a higher priority can be set for the replacement dishes that meet the user's taste preference and are of the same dish type and incompatible dishes.
[0079] In some embodiments, the step of “determining a target dish set in a preset menu according to the incompatible dish set, allergen information, cooking menu, and storage information” includes:
[0080] (31) determining incompatible ingredients based on an incompatible dish set;
[0081] (32) Determine allergenic ingredients based on allergen information;
[0082] (33) obtaining target ingredients according to incompatible ingredients, allergenic ingredients, cooking menus, and storage information;
[0083] (34) Determine a target dish set in a preset menu according to the target ingredients.
[0084] In the embodiment of the present application, the incompatible ingredients are first determined according to the incompatible dish set, the allergic ingredients are determined according to the allergen information, and then the target ingredients are obtained according to the incompatible ingredients, the allergic ingredients, the cooking menu and the storage information, and finally the target dish set is determined in the preset menu according to the target ingredients. Among them, the incompatible ingredients are the ingredients that have an incompatible relationship in the incompatible dish set, the allergic ingredients are the ingredients that can cause allergic reactions in the user, and the target ingredients are the ingredients that can be cooked, that is, the set of ingredients obtained after removing the incompatible ingredients, the allergic ingredients and the ingredients that are incompatible with other ingredients in the cooking menu from the candidate ingredients.
[0085] In one example, a preset menu is obtained, which includes dishes A, B, C, D, E, and F, wherein the ingredients required to complete dish A include ingredient a1, the ingredients required to complete dish B include ingredient b1, the ingredients required to complete dish C include ingredient c1, the ingredients required to complete dish D include ingredient d1, the ingredients required to complete dish E include ingredient e1, and the ingredients required to complete dish F include ingredient f1. First, through the set of mutually restraining dishes, it is determined that the mutually restraining dishes are dishes A and B, wherein the mutually restraining ingredients are ingredients a1 and b1. Then, through the allergen information, it is determined that the allergic ingredient is ingredient c1, and through the cooking menu, it is obtained that the ingredients that have a restraining relationship with the ingredients in the cooking menu include ingredient e1, and then according to the storage information, it can be obtained that the candidate ingredients include a1, b1, c1, d1, e1, and f1. When determining the target dish set, remove incompatible ingredients, allergenic ingredients, and ingredients that are incompatible with ingredients in the cooking menu from the candidate ingredients, and the target ingredients can be obtained as ingredient d1 and ingredient f1. That is, you can select dish D or dish F from the preset menu, and you can get the target dish set including dish D and dish F.
[0086] In one example, after the user selects a replacement dish, it can also be determined whether there is a conflicting relationship between the replacement dishes selected by the user. If there is a conflicting relationship, a new replacement dish is selected. For example, the user selects replacement dish D for conflicting dish A and selects replacement dish F for conflicting dish B. It can also be determined whether there is a conflicting relationship between dish D and dish F. If there is a conflicting relationship between dish D and dish F, a new replacement dish can be selected.
[0087] In some embodiments, the step of “determining a replacement dish set based on the incompatible dish set and the cooking menu” includes:
[0088] (41) For each dish in the incompatible dish set, determine a corresponding replacement dish, wherein if the replacement dish is in an incompatible relationship with any dish in the cooking menu, re-determine the replacement dish until the replacement dish is no longer in an incompatible relationship with all dishes in the cooking menu;
[0089] (42) Determine a set of replacement dishes based on all replacement dishes.
[0090] In an embodiment of the present application, for each dish in the set of incompatible dishes, a corresponding replacement dish is determined. If the replacement dish has an incompatible relationship with any dish in the cooking menu, the replacement dish is re-determined until the replacement dish has no incompatible relationship with all the dishes in the cooking menu.
[0091] For example, for dish A in the set of incompatible dishes, after determining that the corresponding replacement dish is dish B, dish B and all dishes in the cooking menu are tested for incompatibility. If dish B has an incompatibility relationship with any dish in the cooking menu, the replacement dish corresponding to dish A is re-determined.
[0092] 104. Generate a dish selection list based on the incompatible dish set and the replacement dish set, and display the dish selection list.
[0093] According to each of the mutually exclusive dishes in the mutually exclusive dish set and the replacement dishes corresponding to the mutually exclusive dishes, a dish selection list is generated and displayed. The dish selection list includes at least one replacement dish option corresponding to each mutually exclusive dish, that is, the number of replacement dishes for each mutually exclusive dish is at least 1.
[0094] 105. In response to the user's selection operation on the dish selection list, determine a target menu.
[0095] Among them, in response to the user's selection operation on the option corresponding to the replacement dish in the dish selection list, the replacement dish corresponding to the incompatible dish is determined, and the incompatible dish in the cooking menu is replaced with the replacement dish selected by the user, and the target menu is obtained.
[0096] For example, the replacement dishes corresponding to dish A include dish H, dish I and dish J, then the dish selection list includes options corresponding to dish H, dish I and dish J. In response to the user's selection operation on the option corresponding to dish H, dish I or dish J, the dish selected by the user replaces dish A. For example, if the user selects the option corresponding to dish J, dish A in the cooking menu is replaced with dish J.
[0097] For dishes that have a counter-effect relationship, you can replace all of them or replace some of them. For example, if dish A and dish B have a counter-effect relationship, you can replace dish A, dish B, or both.
[0098] In one example, dish A and dish B have a counter-reaction relationship, and dish B and dish C have a counter-reaction relationship, wherein ingredient a1 in dish A and ingredient b1 in dish B counter-react, and ingredient b2 in dish B and ingredient c1 in dish C counter-react. In this case, you can replace all of dish A, dish B, and dish C, or you can replace only dish B, or you can replace dish A and dish C.
[0099] In some embodiments, the step of “determining a target menu in response to a user's selection operation on a menu selection list” includes:
[0100] (51) If no selection operation of the user on the dish selection list is received within a preset time, a target menu is determined based on the cooking menu and the set of incompatible dishes, and the cooking operation is performed based on the target menu.
[0101] In an embodiment of the present application, if the user does not make a selection on the dish selection list within a preset time, the intelligent cooking machine determines the target menu based on the cooking menu and the set of incompatible dishes, and performs cooking operations according to the target menu, wherein the preset time can be set according to actual conditions, for example, 20 minutes.
[0102] For example, if the smart cooking machine does not receive any selection operation from the user on the dish selection list within 20 minutes, the dishes that have a counter-relationship in the cooking menu will be removed, that is, the dishes in the counter-relationship set will be removed from the cooking menu to obtain a target menu, and cooking operations will be performed according to the target menu.
[0103] In some embodiments, the step of “predicting incompatible dishes on a cooking menu based on a preset food incompatibility detection model to obtain an incompatibility dish set” includes:
[0104] (61) If the incompatible dish set includes at least two incompatible dishes, a reminder message is sent to the user;
[0105] In an embodiment of the present application, if the set of mutually exclusive dishes includes at least two mutually exclusive dishes, that is, the cooking menu includes dishes that have a mutually exclusive relationship, a reminder message is sent to the user.
[0106] For example, if the cooking menu includes dishes that have a counter-effect relationship, the smart cooking machine will issue a voice reminder to the user, and / or send a reminder message to a mobile terminal device connected to the smart cooking machine.
[0107] The above is the food incompatibility detection process for this application
[0108] As described above, the present application provides a cooking menu adjustment method, which obtains a cooking menu, predicts incompatible dishes on the cooking menu based on a preset food incompatibility detection model, obtains an incompatible dish set, determines a replacement dish set based on the incompatible dish set and the cooking menu, generates a dish selection list based on the incompatible dish set and the replacement dish set, and displays the dish selection list, and determines a target menu in response to a user's selection operation on the dish selection list. This scheme performs incompatible dish detection through the cooking menu. If the cooking menu includes dishes with an incompatibility relationship, replacement dishes are determined for the incompatibility dishes, and the incompatibility dishes in the cooking menu are replaced based on the user's selection operation. When the dish combination in the cooking menu is unreasonable, the cooking menu can be adjusted, thereby ensuring the user's dining health and providing the user with a good experience.
[0109] In order to better implement the cooking menu adjustment method of the embodiment of the present application, the embodiment of the present invention also provides a cooking menu adjustment device based on the above. The meanings of the terms are the same as those in the above cooking menu adjustment method, and the specific implementation details can refer to the description in the method embodiment.
[0110] See also Figure 3 , Figure 3 This is a schematic diagram of the structure of a cooking menu adjustment device provided in an embodiment of the present application, wherein the cooking menu adjustment device may include: an acquisition module 201, a prediction module 202, a replacement module 203, a generation module 204, and a response module 205, which may be specifically as follows:
[0111] Acquisition module 201: Acquisition of a cooking menu;
[0112] Among them, the cooking menu can be a menu added by the user. For example, the smart cooking machine displays multiple dishes through an interactive display screen. The user selects at least one dish from the multiple dishes by touching the display screen. The smart cooking machine responds to the user's selection operation and generates a cooking menu according to the at least one dish selected by the user.
[0113] Prediction module 202: predicts incompatible dishes on a cooking menu based on a preset food incompatibility detection model to obtain an incompatibility dish set.
[0114] Among them, the set of incompatible dishes includes dishes that have an incompatible relationship in the cooking menu.
[0115] Replacement module 203: Determine a replacement dish set according to the incompatible dish set and the cooking menu.
[0116] For each dish in the incompatible dish set, the corresponding replacement dish is determined according to the cooking menu, and a replacement dish set is generated based on all the replacement dishes.
[0117] Generating module 204: generating a dish selection list according to the incompatible dish set and the replacement dish set, and displaying the dish selection list.
[0118] According to each of the mutually exclusive dishes in the mutually exclusive dish set and the replacement dishes corresponding to the mutually exclusive dishes, a dish selection list is generated and displayed. The dish selection list includes at least one replacement dish option corresponding to each mutually exclusive dish, that is, the number of replacement dishes for each mutually exclusive dish is at least 1.
[0119] Responding module 205: Determines a target menu in response to the user's selection operation on the menu selection list.
[0120] In response to the user's selection operation on the option corresponding to the replacement dish in the dish selection list, the replacement dish corresponding to the incompatible dish is determined, and the incompatible dish in the cooking menu is replaced with the replacement dish selected by the user, and the target menu is obtained.
[0121] Optionally, in some embodiments, the replacement module 203 includes:
[0122] Acquisition unit: acquires storage information of candidate ingredients, user's taste preferences and allergen information;
[0123] A first determining unit: determining a dish type set according to the conflicting dish set, wherein the dish type set includes the dish type of each dish in the conflicting dish set;
[0124] The second determining unit determines a replacement dish set according to the incompatible dish set, storage information, taste preference, allergen information, cooking menu, and dish type set.
[0125] Optionally, in some embodiments, the second determining unit includes:
[0126] The first acquisition subunit: acquires a preset menu;
[0127] A first determination subunit: determining a target dish set in a preset menu according to the incompatible dish set, the allergen information, the cooking menu, and the storage information;
[0128] The second determination subunit: determines a replacement dish set in the target dish set according to taste preferences and dish type sets.
[0129] Optionally, in some embodiments, the first determining subunit is specifically configured to:
[0130] Determine incompatible ingredients based on the incompatible dishes set;
[0131] Determine allergic ingredients based on allergen information;
[0132] Get the target ingredients based on incompatible ingredients, allergic ingredients, cooking menus and storage information;
[0133] Determine a target dish set in the preset menu according to the target ingredients.
[0134] Optionally, in some embodiments, the response module 205 is specifically configured to:
[0135] If no selection operation of the user on the dish selection list is received within the preset time, the target menu is determined according to the cooking menu and the set of incompatible dishes, and the cooking operation is performed according to the target menu.
[0136] Optionally, in some embodiments, the replacement module 203 is specifically configured to:
[0137] For each dish in the incompatible dish set, determine the corresponding replacement dish, wherein if the replacement dish has an incompatible relationship with any dish in the cooking menu, re-determine the replacement dish until the replacement dish has no incompatible relationship with all dishes in the cooking menu;
[0138] Based on all the replacement dishes, determine the replacement dish set.
[0139] Optionally, in some embodiments, a reminder module is further included, for:
[0140] If the set of incompatible dishes includes at least two incompatible dishes, a reminder message is sent to the user.
[0141] It can be seen that the embodiment of the present application provides a cooking menu adjustment device, in which the acquisition module 201 acquires the cooking menu, the prediction module 202 predicts the incompatible dishes of the cooking menu based on the preset food incompatibility detection model to obtain the incompatible dish set, the replacement module 203 determines the replacement dish set based on the incompatible dish set and the cooking menu, the generation module 204 generates a dish selection list based on the incompatible dish set and the replacement dish set, and displays the dish selection list, and the response module 205 determines the target menu in response to the user's selection operation on the dish selection list. This scheme detects incompatible dishes on the cooking menu. If the cooking menu includes dishes with an incompatibility relationship, replacement dishes are determined for the incompatibility dishes, and the incompatibility dishes in the cooking menu are replaced based on the user's selection operation. When the dishes in the cooking menu are not reasonably matched, the cooking menu can be adjusted, thereby ensuring the user's dining health and providing the user with a good experience.
[0142] It should be noted that in the embodiment of the present application, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods of each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM, Read Only Memory), a disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific combination of hardware and software.
[0143] Correspondingly, an embodiment of the present application also discloses a storage medium storing a computer program that can be loaded by a processor and execute the above method.
[0144] The present application also discloses an intelligent cooking machine. Figure 4 As shown, it includes a processor 100, at least one communication bus 200, a user interface 300, at least one external communication interface 400 and a memory 500. The processor 100 is used to provide computing and control capabilities, the communication bus 200 is configured to achieve connection and communication between these components, the user interface 300 may include a display screen, the external communication interface 400 may include a standard wired interface and a wireless interface, and the cooking menu adjustment method is stored in the memory 500. The processor 100 is also used to adopt the above method when executing the cooking menu adjustment method stored in the memory 500.
[0145] Optionally, in some embodiments, the processor implements the following steps when executing the computer program:
[0146] Acquire a cooking menu; predict incompatible dishes on the cooking menu based on a preset food incompatibility detection model to obtain an incompatible dish set; determine a replacement dish set based on the incompatible dish set and the cooking menu; generate a dish selection list based on the incompatible dish set and the replacement dish set, and display the dish selection list; determine a target menu in response to a user's selection operation on the dish selection list.
[0147] In an embodiment of the present application, a cooking menu is obtained, and incompatible dishes are predicted for the cooking menu based on a preset food incompatibility detection model to obtain a set of incompatible dishes. A replacement dish set is determined based on the incompatible dish set and the cooking menu. A dish selection list is generated based on the incompatible dish set and the replacement dish set, and the dish selection list is displayed. In response to a user's selection operation on the dish selection list, a target menu is determined. This solution detects incompatible dishes through the cooking menu. If the cooking menu includes dishes that have an incompatibility relationship, replacement dishes are determined for the incompatible dishes, and the incompatibility dishes in the cooking menu are replaced based on the user's selection operation. When the dish combination in the cooking menu is unreasonable, the cooking menu can be adjusted, thereby ensuring the user's dining health and providing a good experience for the user.
[0148] It should be understood that "one embodiment" or "some embodiments" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned sequence numbers of the embodiments of the present application are for description only and do not represent the advantages and disadvantages of the embodiments.
[0149] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0150] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0151] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0152] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0153] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks or optical disks.
[0154] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can essentially or in other words, the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a device to execute all or part of the methods of each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks or optical disks.
[0155] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A cooking menu adjustment method, characterized in that: The method comprises: Get the cooking menu; Predicting incompatible dishes on the cooking menu based on a preset food incompatibility detection model to obtain an incompatibility dish set; Determining a replacement dish set according to the incompatible dish set and the cooking menu; Generate a dish selection list according to the incompatible dish set and the replacement dish set, and display the dish selection list; In response to a selection operation of the user on the menu selection list, a target menu is determined.
2. The method according to claim 1, characterized in that: The step of determining a replacement dish set according to the incompatible dish set and the cooking menu includes: Obtain storage information of candidate ingredients, user's taste preferences, and allergen information; Determining a dish type set according to the incompatible dish set, wherein the dish type set includes the dish type of each dish in the incompatible dish set; The replacement dish set is determined according to the incompatible dish set, storage information, taste preference, allergen information, cooking menu and dish type set.
3. The method according to claim 2, characterized in that The step of determining the replacement dish set according to the incompatible dish set, storage information, taste preference, allergen information, cooking menu, and dish type set includes: Get the preset menu; Determine a target dish set in the preset menu according to the incompatible dish set, allergen information, cooking menu, and storage information; The replacement dish set is determined in the target dish set according to the taste preference and the dish type set.
4. The method according to claim 3, characterized in that The step of determining a target dish set in the preset menu according to the incompatible dish set, the allergen information, the cooking menu, and the storage information includes: Determining incompatible ingredients according to the incompatible dish set; Determine allergic ingredients according to the allergen information; Obtaining target ingredients according to the incompatible ingredients, allergic ingredients, cooking menus, and storage information; The target dish set is determined in the preset menu according to the target ingredients.
5. The method according to claim 1, characterized in that The step of determining a target menu in response to a user's selection operation on the menu selection list includes: If no selection operation on the dish selection list is received from the user within a preset time, a target menu is determined according to the cooking menu and the set of incompatible dishes, and a cooking operation is performed according to the target menu.
6. The method according to claims 1-5, characterized in that: The step of determining a replacement dish set according to the incompatible dish set and the cooking menu includes: For each dish in the incompatible dish set, a corresponding replacement dish is determined, wherein if the replacement dish has an incompatible relationship with any dish in the cooking menu, the replacement dish is re-determined until the replacement dish has no incompatible relationship with all dishes in the cooking menu; The replacement dish set is determined based on all the replacement dishes.
7. The method according to claims 1-5, characterized in that: After predicting incompatible dishes on the cooking menu based on the preset food incompatibility detection model to obtain an incompatibility dish set, the method includes: If the set of incompatible dishes includes at least two incompatible dishes, a reminder message is sent to the user.
8. A cooking menu adjustment device, characterized in that: include: Get module: get cooking menu; Prediction module: predicting incompatible dishes of the cooking menu based on a preset food incompatibility detection model to obtain an incompatibility dish set; Replacement module: determining a replacement dish set according to the incompatible dish set and the cooking menu; Generating module: generating a dish selection list according to the incompatible dish set and the replacement dish set, and displaying the dish selection list; Response module: Determines a target menu in response to a user's selection operation on the menu selection list.
9. A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 7.
10. An intelligent cooking machine, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method according to any one of claims 1 to 7.