[go: up one dir, main page]

CN118627704A - A method and device for integrating multiple recipe steps - Google Patents

A method and device for integrating multiple recipe steps Download PDF

Info

Publication number
CN118627704A
CN118627704A CN202411118810.7A CN202411118810A CN118627704A CN 118627704 A CN118627704 A CN 118627704A CN 202411118810 A CN202411118810 A CN 202411118810A CN 118627704 A CN118627704 A CN 118627704A
Authority
CN
China
Prior art keywords
preset
steps
processed
time
menu
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.)
Granted
Application number
CN202411118810.7A
Other languages
Chinese (zh)
Other versions
CN118627704B (en
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.)
Hangzhou Robam Appliances Co Ltd
Original Assignee
Hangzhou Robam Appliances 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 Hangzhou Robam Appliances Co Ltd filed Critical Hangzhou Robam Appliances Co Ltd
Priority to CN202411118810.7A priority Critical patent/CN118627704B/en
Publication of CN118627704A publication Critical patent/CN118627704A/en
Application granted granted Critical
Publication of CN118627704B publication Critical patent/CN118627704B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2477Temporal data queries
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/109Time management, e.g. calendars, reminders, meetings or time accounting
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/40Filling a planar surface by adding surface attributes, e.g. colour or texture

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Computational Linguistics (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Probability & Statistics with Applications (AREA)
  • Mathematical Physics (AREA)
  • Fuzzy Systems (AREA)
  • Development Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本申请属于智能设备技术领域,公开了一种多菜谱步骤整合方法及装置,可在对用户选择的多个菜谱进行步骤整合处理时,通过对所有菜谱中与备菜类型对应的步骤集合进行整合处理,得到多个备菜步骤,以减少所有菜谱对应的备菜步骤时间;接着,还可对处理后的所有菜谱进行步骤编码处理,利用每个步骤所对应的所有编码值对处理后的所有菜谱进行整合处理,以实现多个菜谱多个步骤的同步以及穿插处理,进而缩短完成多菜谱共同烹饪的总时间,提高整体烹饪效率。

The present application belongs to the technical field of intelligent devices, and discloses a method and device for integrating steps of multiple recipes. When performing step integration processing on multiple recipes selected by a user, multiple preparation steps can be obtained by integrating the step sets corresponding to the preparation types in all recipes, so as to reduce the preparation step time corresponding to all recipes; then, step coding processing can be performed on all processed recipes, and all processed recipes can be integrated using all coding values corresponding to each step, so as to realize synchronization and interleaving processing of multiple steps of multiple recipes, thereby shortening the total time to complete the cooking of multiple recipes together and improving the overall cooking efficiency.

Description

一种多菜谱步骤整合方法及装置A method and device for integrating multiple recipe steps

技术领域Technical Field

本申请属于智能设备技术领域,特别的涉及一种多菜谱步骤整合方法及装置。The present application belongs to the technical field of intelligent devices, and in particular, relates to a method and device for integrating multiple recipe steps.

背景技术Background Art

随着社会的发展以及生活节奏越来越快,食品安全问题逐渐成为人们关注的重点,现有外卖的卫生程度以及制作方式已经无法满足人们的健康需求,越来越多的消费者开始走进厨房学习烹饪,也即通过自己动手做出更加健康的食品。With the development of society and the increasingly faster pace of life, food safety issues have gradually become a focus of people's attention. The hygiene level and production methods of existing takeout can no longer meet people's health needs. More and more consumers are starting to go into the kitchen to learn how to cook, that is, to make healthier food by themselves.

许多小白用户在厨房学习烹饪时主要参照菜谱为主,也即按照菜谱提示的每个步骤进行处理,且在准备多道菜时相应需要参照多个菜谱,然而小白用户在选择多个菜谱之后往往手忙脚乱,无法合理规划时间,导致烹饪效率较差。Many novice users mainly refer to recipes when learning to cook in the kitchen, that is, they follow each step in the recipe, and when preparing multiple dishes, they need to refer to multiple recipes accordingly. However, novice users are often in a hurry after selecting multiple recipes and cannot plan their time reasonably, resulting in poor cooking efficiency.

发明内容Summary of the invention

本申请为解决上述提到的在准备多道菜时相应需要参照多个菜谱,然而小白用户在选择多个菜谱之后往往手忙脚乱,无法合理规划时间,导致烹饪效率较差等技术问题,提出一种多菜谱步骤整合方法及装置,其技术方案如下:This application is to solve the above-mentioned technical problems that when preparing multiple dishes, multiple recipes need to be referred to, but novice users are often in a hurry after selecting multiple recipes and cannot reasonably plan time, resulting in poor cooking efficiency. A method and device for integrating multiple recipe steps are proposed, and the technical solution is as follows:

第一方面,本申请实施例提供了一种多菜谱步骤整合方法,包括:In a first aspect, an embodiment of the present application provides a method for integrating multiple recipe steps, comprising:

从至少两个菜谱中提取出与备菜类型对应的第一步骤集合,并按照食材名称对第一步骤集合进行整合处理,得到至少两个备菜步骤;Extracting a first step set corresponding to the dish preparation type from at least two recipes, and integrating the first step set according to the names of the ingredients to obtain at least two dish preparation steps;

将每个备菜步骤添加至相应的菜谱中,并对处理后的每个菜谱进行步骤编码处理,得到至少两种编码值;Add each food preparation step to a corresponding recipe, and perform step coding on each processed recipe to obtain at least two coding values;

根据处理后的每个菜谱所对应的所有步骤以及所有编码值,得到步骤整合结果。According to all the steps and all the coding values corresponding to each processed recipe, the step integration result is obtained.

第二方面,本申请实施例提供了一种多菜谱步骤整合装置,包括:In a second aspect, an embodiment of the present application provides a multi-recipe step integration device, comprising:

步骤生成模块,用于从至少两个菜谱中提取出与备菜类型对应的第一步骤集合,并按照食材名称对第一步骤集合进行整合处理,得到至少两个备菜步骤;A step generation module is used to extract a first step set corresponding to a dish preparation type from at least two recipes, and integrate the first step set according to the names of ingredients to obtain at least two dish preparation steps;

编码处理模块,用于将每个备菜步骤添加至相应的菜谱中,并对处理后的每个菜谱进行步骤编码处理,得到至少两种编码值;A coding processing module, used for adding each food preparation step to a corresponding recipe, and performing step coding processing on each processed recipe to obtain at least two coding values;

步骤整合模块,用于根据处理后的每个菜谱所对应的所有步骤以及所有编码值,得到步骤整合结果。The step integration module is used to obtain a step integration result according to all steps and all coding values corresponding to each processed recipe.

第三方面,本申请实施例提供了一种移动终端,包括处理器以及存储器;In a third aspect, an embodiment of the present application provides a mobile terminal, including a processor and a memory;

处理器与存储器连接;The processor is connected to the memory;

存储器,用于存储可执行程序代码;A memory for storing executable program codes;

处理器通过读取存储器中存储的可执行程序代码来运行与可执行程序代码对应的程序,以用于实现本申请实施例第一方面或第一方面的任意一种实现方式提供的多菜谱步骤整合方法。The processor runs the program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the multi-recipe step integration method provided by the first aspect of the embodiment of the present application or any one of the implementation methods of the first aspect.

第四方面,本申请实施例提供了一种计算机存储介质,计算机存储介质存储有计算机程序,计算机程序包括程序指令,程序指令当被处理器执行时,可实现本申请实施例第一方面或第一方面的任意一种实现方式提供的多菜谱步骤整合方法。In a fourth aspect, an embodiment of the present application provides a computer storage medium, which stores a computer program. The computer program includes program instructions. When the program instructions are executed by a processor, the multi-recipe step integration method provided by the first aspect of the embodiment of the present application or any one of the implementation methods of the first aspect can be implemented.

在本申请实施例中,可在对用户选择的多个菜谱进行步骤整合处理时,通过对所有菜谱中与备菜类型对应的步骤集合进行整合处理,得到多个备菜步骤,以减少所有菜谱对应的备菜步骤时间;接着,还可对处理后的所有菜谱进行步骤编码处理,利用每个步骤所对应的所有编码值对处理后的所有菜谱进行整合处理,以实现多个菜谱多个步骤的同步以及穿插处理,进而缩短完成多菜谱共同烹饪的总时间,提高整体烹饪效率。In an embodiment of the present application, when performing step integration processing on multiple recipes selected by a user, multiple preparation steps can be obtained by integrating the step sets corresponding to the preparation types in all recipes to reduce the preparation step time corresponding to all recipes; then, step coding processing can be performed on all processed recipes, and all processed recipes can be integrated using all coding values corresponding to each step to achieve synchronization and interleaved processing of multiple steps in multiple recipes, thereby shortening the total time to complete the cooking of multiple recipes and improving the overall cooking efficiency.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

图1为本申请实施例提供的一种多菜谱步骤整合方法的整体流程图;FIG1 is an overall flow chart of a method for integrating multiple recipe steps provided in an embodiment of the present application;

图2为本申请实施例提供的一种多菜谱的食材数据示意图;FIG2 is a schematic diagram of ingredient data of multiple recipes provided in an embodiment of the present application;

图3为本申请实施例提供的一种多菜谱的步骤编码示意图;FIG3 is a schematic diagram of the step coding of a multi-recipe recipe provided in an embodiment of the present application;

图4为本申请实施例提供的又一种多菜谱的步骤编码示意图;FIG4 is a schematic diagram of coding steps of another multi-recipe recipe provided in an embodiment of the present application;

图5为本申请实施例提供的一种预设的时间线列表的填充效果图;FIG5 is a diagram showing a filling effect of a preset timeline list provided in an embodiment of the present application;

图6为本申请实施例提供的又一种预设的时间线列表的填充效果图;FIG6 is a diagram showing the filling effect of another preset timeline list provided in an embodiment of the present application;

图7为本申请实施例提供的又一种预设的时间线列表的填充效果图;FIG. 7 is a diagram showing a filling effect of another preset timeline list provided in an embodiment of the present application;

图8为本申请实施例提供的又一种预设的时间线列表的填充效果图;FIG8 is a diagram showing the filling effect of another preset timeline list provided in an embodiment of the present application;

图9为本申请实施例提供的又一种预设的时间线列表的填充效果图;FIG9 is a diagram showing a filling effect of another preset timeline list provided in an embodiment of the present application;

图10为本申请实施例提供的又一种预设的时间线列表的填充效果图;FIG10 is a diagram showing the filling effect of another preset timeline list provided in an embodiment of the present application;

图11为本申请实施例提供的一种多菜谱步骤整合装置的结构示意图;FIG11 is a schematic diagram of the structure of a multi-recipe step integration device provided in an embodiment of the present application;

图12为本申请实施例提供的一种移动终端的结构示意图。FIG. 12 is a schematic diagram of the structure of a mobile terminal provided in an embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

在下述介绍中,术语“第一”、“第二”仅为用于描述的目的,而不能理解为指示或暗示相对重要性。下述介绍提供了本申请的多个实施例,不同实施例之间可以替换或者合并组合,因此本申请也可认为包含所记载的相同和/或不同实施例的所有可能组合。因而,如果一个实施例包含特征A、B、C,另一个实施例包含特征B、D,那么本申请也应视为包括含有A、B、C、D的一个或多个所有其他可能的组合的实施例,尽管该实施例可能并未在以下内容中有明确的文字记载。In the following introduction, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. The following introduction provides multiple embodiments of the present application, and different embodiments can be replaced or combined, so the present application can also be considered to include all possible combinations of the same and/or different embodiments recorded. Therefore, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then the present application should also be considered to include embodiments containing one or more of all other possible combinations of A, B, C, and D, although the embodiment may not be clearly recorded in the following text.

下面的描述提供了示例,并且不对权利要求书中阐述的范围、适用性或示例进行限制。可以在不脱离本申请内容的范围的情况下,对描述的元素的功能和布置做出改变。各个示例可以适当省略、替代或添加各种过程或组件。例如所描述的方法可以以所描述的顺序不同的顺序来执行,并且可以添加、省略或组合各种步骤。此外,可以将关于一些示例描述的特征组合到其他示例中。The following description provides examples and does not limit the scope, applicability or examples set forth in the claims. Changes may be made to the functions and arrangements of the elements described without departing from the scope of the present application. Various processes or components may be appropriately omitted, substituted or added to each example. For example, the described method may be performed in an order different from the order described, and various steps may be added, omitted or combined. In addition, features described in some examples may be combined in other examples.

请参阅图1,图1示出了本申请实施例提供的一种多菜谱步骤整合方法的整体流程图。Please refer to FIG. 1 , which shows an overall flow chart of a method for integrating multiple recipe steps provided in an embodiment of the present application.

如图1所示,该多菜谱步骤整合方法至少可以包括以下步骤:As shown in FIG1 , the multi-recipe step integration method may include at least the following steps:

步骤102、从至少两个菜谱中提取出与备菜类型对应的第一步骤集合,并按照食材名称对第一步骤集合进行整合处理,得到至少两个备菜步骤。Step 102: extract a first step set corresponding to the dish preparation type from at least two recipes, and integrate the first step set according to the names of the ingredients to obtain at least two dish preparation steps.

在本申请实施例中,多菜谱步骤整合方法可以但不局限于应用在移动终端,该移动终端上可安装有便于用户选择菜谱的第三方应用程序,以在该第三方应用程序确定出用户所选择的多个菜谱之后,对该多个菜谱进行步骤整合处理,并可在用户进行烹饪时将相应的步骤整合结果实时展示给用户,不仅实现多个菜谱多个步骤的同步以及穿插处理,还可缩短完成多菜谱共同烹饪的总时间。In an embodiment of the present application, the method for integrating steps of multiple recipes can be but is not limited to being applied to a mobile terminal, on which a third-party application that facilitates users to select recipes can be installed, so that after the third-party application determines the multiple recipes selected by the user, the multiple recipes can be integrated with the steps, and the corresponding step integration results can be displayed to the user in real time while the user is cooking, which not only realizes the synchronization and interspersed processing of multiple steps of multiple recipes, but also shortens the total time to complete the cooking of multiple recipes.

其中,第三方应用程序可内置有多种菜系以及与每种菜系对应的多个菜谱,该菜系类型可以但不局限于按照区域划分,例如可包括中式菜系、西式菜系以及亚洲菜系,或是还可按照功能用途划分,例如可包括家常菜谱、宴席菜谱、快餐菜谱、营养菜谱以及减肥菜谱等,以在用户进入该第三方应用程序的主界面后根据自身需求选择菜系,并在相应菜系下选择多个菜谱。此处,用户在第三方应用程序内选择多个菜谱之后,还可以但不局限于通过点击菜谱合成控件,由该第三方应用程序将用户所选择的多个菜谱反馈至移动终端,以使该移动终端对该多个菜谱进行步骤整合处理,并可在用户进行烹饪时将步骤整合结果实时展示给用户。当然,在本申请实施例中也可由第三方应用程序或是相应的服务器直接对用户所选择的多个菜谱进行步骤整合处理,并将步骤整合结果反馈至移动终端,不限定于此。Among them, the third-party application may have multiple cuisines and multiple recipes corresponding to each cuisine built in. The cuisine type may be, but is not limited to, divided by region, for example, it may include Chinese cuisine, Western cuisine, and Asian cuisine, or it may also be divided according to functional use, for example, it may include home cooking recipes, banquet recipes, fast food recipes, nutritional recipes, and weight loss recipes, etc., so that after the user enters the main interface of the third-party application, he can select a cuisine according to his own needs and select multiple recipes under the corresponding cuisine. Here, after the user selects multiple recipes in the third-party application, he can also, but is not limited to, click on the recipe synthesis control, and the third-party application will feedback the multiple recipes selected by the user to the mobile terminal, so that the mobile terminal performs step integration processing on the multiple recipes, and the step integration results can be displayed to the user in real time when the user is cooking. Of course, in the embodiment of the present application, the third-party application or the corresponding server can also directly perform step integration processing on the multiple recipes selected by the user, and feedback the step integration results to the mobile terminal, but it is not limited to this.

可以理解的是,移动终端具体可通过对所有菜谱中与备菜类型对应的步骤集合进行整合处理,得到多个备菜步骤,以减少所有菜谱对应的备菜步骤时间;接着,还可对处理后的所有菜谱进行步骤编码处理,利用每个步骤所对应的所有编码值对处理后的所有菜谱进行整合处理,以实现多个菜谱多个步骤的同步以及穿插处理,进而缩短完成多菜谱共同烹饪的总时间,提高整体烹饪效率。It can be understood that the mobile terminal can specifically integrate the step sets corresponding to the preparation types in all recipes to obtain multiple preparation steps, so as to reduce the preparation step time corresponding to all recipes; then, step coding can be performed on all processed recipes, and all processed recipes can be integrated using all the coding values corresponding to each step to achieve synchronization and interspersed processing of multiple steps in multiple recipes, thereby shortening the total time to complete the cooking of multiple recipes and improving the overall cooking efficiency.

具体地,在对用户选择的多个菜谱进行步骤整合处理时,移动终端可以但不局限于通过第三方应用程序获取用户根据自身需求所选择的多个菜谱,并从每个菜谱中提取出与备菜类型对应的一个或多个初始步骤(也即对每个菜谱中与备菜类型对应的所有初始步骤进行删除处理),以将该所有初始步骤的集合作为第一步骤集合。此处,每个菜谱可包含与备菜类型对应的一个或多个初始步骤,以及与烹饪类型对应的一个或多个初始步骤,该备菜类型可理解为对食材进行处理的方式主要包括预处理(例如冲洗、冲净以及去皮等)和切刀技法(例如切片、切末、切条、剞刀、去虾线以及切块等),以及对调料进行处理的方式(例如搅拌以及混合等),该烹饪类型可理解为对食材进行处理的方式包括炒、煮、蒸、烤、炖、煎、炸、烧以及焖等,且烹饪后的出锅装盘等盛菜步骤也可作为与烹饪类型对应的初始步骤。Specifically, when performing step integration processing on multiple recipes selected by the user, the mobile terminal can, but is not limited to, obtain multiple recipes selected by the user according to his or her own needs through a third-party application, and extract one or more initial steps corresponding to the preparation type from each recipe (that is, all initial steps corresponding to the preparation type in each recipe are deleted), so as to use the set of all the initial steps as the first step set. Here, each recipe may include one or more initial steps corresponding to the preparation type, and one or more initial steps corresponding to the cooking type. The preparation type can be understood as the way of processing ingredients mainly including pre-processing (such as rinsing, cleaning and peeling, etc.) and cutting techniques (such as slicing, mincing, cutting into strips, grating, deveining and dicing, etc.), as well as the way of processing seasonings (such as stirring and mixing, etc.). The cooking type can be understood as the way of processing ingredients including stir-frying, boiling, steaming, baking, stewing, frying, deep-frying, roasting and braising, etc., and the steps of serving dishes after cooking, such as serving the food on a plate, can also be used as the initial steps corresponding to the cooking type.

可以理解的是,移动终端在从每个菜谱提取出与备菜类型对应的一个或多个初始步骤时,可以但不局限于利用预设的关键词库对每个菜谱的每个初始步骤进行匹配处理,并可将匹配度高的初始步骤(也即存在预设的关键词库中的一个或多个关键词)作为与备菜类型对应的初始步骤,该预设的关键词库可包含备菜类型所对应的多个关键词,例如可为上述提到的冲洗、冲净、去皮、切片、切末、切条、剞刀、去虾线、切块、搅拌以及混合等。It is understandable that when the mobile terminal extracts one or more initial steps corresponding to the dish preparation type from each recipe, it can, but is not limited to, use a preset keyword library to match each initial step of each recipe, and can use the initial steps with a high degree of match (that is, one or more keywords in the preset keyword library) as the initial steps corresponding to the dish preparation type. The preset keyword library may include multiple keywords corresponding to the dish preparation type, such as the above-mentioned rinsing, cleaning, peeling, slicing, mincing, cutting into strips, grating, deveining, dicing, stirring and mixing.

进一步的,在得到第一步骤集合之后,移动终端可按照该第一步骤集合中每个初始步骤所包含的食材名称进行整合处理,以将相同食材名称所对应的多个初始步骤整合为同一步骤,并可根据该同一步骤中任意一个初始步骤所对应的菜谱名称以及该同一步骤,得到备菜步骤。此处,每个备菜步骤具体可包括一个菜谱名称以及一个或多个初始步骤,且当相同食材名称所对应的初始步骤个数仅为一个时,可直接根据该初始步骤以及相应的菜谱名称,得到备菜步骤。Furthermore, after obtaining the first step set, the mobile terminal may perform integration processing according to the ingredient name contained in each initial step in the first step set, so as to integrate multiple initial steps corresponding to the same ingredient name into the same step, and may obtain a dish preparation step according to the recipe name corresponding to any initial step in the same step and the same step. Here, each dish preparation step may specifically include a recipe name and one or more initial steps, and when the number of initial steps corresponding to the same ingredient name is only one, the dish preparation step may be obtained directly according to the initial step and the corresponding recipe name.

可以理解的是,除了将相同食材名称所对应的多个初始步骤整合为同一步骤,移动终端还可以但不局限于基于预处理方式对同一菜谱名称所对应的多个初始步骤进行整合处理,例如可将相同预处理(冲洗、冲净或是去皮)所对应的多个初始步骤再次进行整合处理;又或是基于切刀技法对同一菜谱名称所对应的多个初始步骤进行整合处理,例如可将相同切刀技法(切片、切末、切条或是切块)所对应的多个初始步骤再次进行整合处理;又或是基于食材类型将对同一菜谱名称所对应的多个初始步骤进行整合处理,例如可将相同食材类型(禽肉或果蔬)所对应的多个初始步骤再次进行整合处理,且不限定于此。It can be understood that in addition to integrating multiple initial steps corresponding to the same ingredient name into the same step, the mobile terminal can also, but is not limited to, integrate multiple initial steps corresponding to the same recipe name based on the preprocessing method, for example, multiple initial steps corresponding to the same preprocessing (rinsing, cleaning or peeling) can be integrated again; or multiple initial steps corresponding to the same recipe name can be integrated based on the cutting technique, for example, multiple initial steps corresponding to the same cutting technique (slicing, mincing, cutting into strips or cutting into pieces) can be integrated again; or multiple initial steps corresponding to the same recipe name can be integrated based on the ingredient type, for example, multiple initial steps corresponding to the same ingredient type (poultry or fruits and vegetables) can be integrated again, and are not limited to this.

作为本申请实施例的一种可选,在从至少两个菜谱中提取出与备菜类型对应的第一步骤集合之前,还包括:As an option of the embodiment of the present application, before extracting the first step set corresponding to the dish preparation type from at least two recipes, the method further includes:

从至少两个菜谱中提取出至少两组食材数据,并按照预设的数据库对所有食材数据进行名称归类处理,得到至少两种标准名称;其中,每组食材数据包括食材名称以及食材重量,预设的数据库包括至少两种标准名称以及与每种标准名称对应的至少一种食材名称;Extracting at least two groups of ingredient data from at least two recipes, and classifying all the ingredient data according to a preset database to obtain at least two standard names; wherein each group of ingredient data includes an ingredient name and an ingredient weight, and the preset database includes at least two standard names and at least one ingredient name corresponding to each standard name;

根据每种标准名称在所有食材数据中所对应的至少一个食材重量,计算出相应的标准重量;Calculate the corresponding standard weight according to at least one food weight corresponding to each standard name in all food data;

按照预设的分类顺序对所有标准名称进行分类处理,并根据处理后的所有标准名称以及与每种标准名称对应的标准重量,得到所有菜谱的购物清单。All standard names are classified and processed according to a preset classification order, and a shopping list of all recipes is obtained according to all the processed standard names and the standard weight corresponding to each standard name.

为了给用户带来更好的烹饪体验,在用户进行烹饪之前,还可根据所有菜谱生成相应的购物清单,以清晰直观的告知用户需要购买哪些食材以及重量,进而提高用户的整体烹饪效率。In order to provide users with a better cooking experience, before users start cooking, a corresponding shopping list can be generated based on all recipes to clearly and intuitively inform users which ingredients they need to buy and the weight, thereby improving the user's overall cooking efficiency.

具体地,在获取用户根据自身需求所选择的多个菜谱之后,移动终端还可从每个菜谱的每个初始步骤中提取出至少一组食材数据,该每组食材数据包括食材名称以及食材重量,并可按照预设的数据对所有食材数据中的食材名称进行名称归类处理,以得到所有标准名称。此处,预设的数据库包括至少两种标准名称以及与每种标准名称对应的至少一种食材名称,例如当标准名称为小葱时,相应的食材名称可包括小葱以及葱花,也即当所有食材数据中的食材名称包含小葱以及葱花时,可将该小葱以及葱花共同作为小葱。Specifically, after obtaining multiple recipes selected by the user according to his/her own needs, the mobile terminal can also extract at least one set of ingredient data from each initial step of each recipe, each set of ingredient data including ingredient name and ingredient weight, and can classify the ingredient names in all ingredient data according to the preset data to obtain all standard names. Here, the preset database includes at least two standard names and at least one ingredient name corresponding to each standard name. For example, when the standard name is shallot, the corresponding ingredient name may include shallot and chopped green onion, that is, when the ingredient names in all ingredient data include shallot and chopped green onion, the shallot and chopped green onion can be collectively regarded as shallot.

此处还可参阅图2示出的本申请实施例提供的一种多菜谱的食材数据示意图,如图2所示,多菜谱具体可包括胡萝卜玉米排骨汤(序号为A)、蒸玉米(序号为B)、白灼生菜(序号为C)以及番茄炒蛋(序号为D),该胡萝卜玉米排骨汤所对应的食材数据包括排骨600g、马蹄50g、玉米200g、胡萝卜100g、姜5g,该蒸玉米所对应的食材数据包括玉米1000g,该白灼生菜所对应的食材数据包括生菜300g、蒜15g,该番茄炒蛋所对应的食材数据包括鸡蛋200g、番茄200g、小葱20g。Reference may also be made here to FIG. 2 which shows a schematic diagram of ingredient data for multiple recipes provided in an embodiment of the present application. As shown in FIG. 2 , the multiple recipes may specifically include carrot, corn and pork ribs soup (serial number A), steamed corn (serial number B), blanched lettuce (serial number C) and scrambled eggs with tomatoes (serial number D). The ingredient data corresponding to the carrot, corn and pork ribs soup includes 600g of pork ribs, 50g of water chestnuts, 200g of corn, 100g of carrots, and 5g of ginger; the ingredient data corresponding to the steamed corn includes 1000g of corn; the ingredient data corresponding to the blanched lettuce includes 300g of lettuce and 15g of garlic; and the ingredient data corresponding to the scrambled eggs with tomatoes includes 200g of eggs, 200g of tomatoes, and 20g of green onions.

接着,在确定出所有标准名称之后,移动终端还可根据每个标准名称对所有食材数据中所对应的所有食材重量进行求和处理,得到相应的标准重量,并可按照预设的分类顺序对该所有标准名称进行分类处理,以根据分类处理后的所有标准名称以及与每个标准名称对应的标准重量生成购物清单,也即购物清单中可包含经过排序的与所有菜谱对应的所有食材名称,以及与每种食材名称对应的重量。此处,预设的分类顺序可以但不局限为食材类型或是食材重量,例如可按照食材类型同为肉禽以及同为果蔬进行初次分组,接着按照肉禽的具体类别或是果蔬的具体类别进行二次分组;或是还可按照食材重量从大到小的顺序对所有食材数据进行分组,当然还可同时按照食材类型以及食材重量进行分组,不限定于此。Then, after determining all the standard names, the mobile terminal can also sum up all the corresponding ingredient weights in all the ingredient data according to each standard name to obtain the corresponding standard weight, and can classify all the standard names according to the preset classification order, so as to generate a shopping list according to all the classified standard names and the standard weight corresponding to each standard name, that is, the shopping list can contain all the sorted ingredient names corresponding to all recipes, and the weight corresponding to each ingredient name. Here, the preset classification order can be but is not limited to ingredient type or ingredient weight. For example, the initial grouping can be performed according to the ingredient type of meat and poultry and the same fruit and vegetable, and then the secondary grouping can be performed according to the specific category of meat and poultry or the specific category of fruit and vegetable; or all the ingredient data can be grouped in order from large to small according to the ingredient weight, and of course, it can also be grouped according to the ingredient type and ingredient weight at the same time, but it is not limited to this.

作为本申请实施例的又一种可选,在从至少两个菜谱中提取出与备菜类型对应的第一步骤集合之前,还包括:As another option of the embodiment of the present application, before extracting the first step set corresponding to the dish preparation type from at least two recipes, the method further includes:

对至少两个菜谱中每个菜谱的每个初始步骤进行识别处理,得到相应的至少两个关键词;Performing recognition processing on each initial step of each recipe in at least two recipes to obtain at least two corresponding keywords;

在预设的关键词-时间系数库中查询出与每个关键词对应的时间系数,并根据每个初始步骤所对应的所有时间系数以及预设的校正系数,计算出相应的步骤时间;其中,预设的关键词-时间系数库包括至少三种食材类型所分别对应的至少两个关键词,以及与每个关键词对应的时间系数。The time coefficient corresponding to each keyword is queried in the preset keyword-time coefficient library, and the corresponding step time is calculated based on all the time coefficients corresponding to each initial step and the preset correction coefficient; wherein the preset keyword-time coefficient library includes at least two keywords corresponding to at least three types of ingredients, and the time coefficient corresponding to each keyword.

为了生成合理的步骤整合结果,还可根据每个菜谱的每个初始步骤计算出相应的步骤时间,以利用步骤时间对所有菜谱的步骤整合过程进行规划。In order to generate a reasonable step integration result, the corresponding step time can also be calculated according to each initial step of each recipe, so as to plan the step integration process of all recipes using the step time.

具体地,在获取用户根据自身需求所选择的多个菜谱之后,移动终端还可对每个菜谱中的每个初始步骤进行关键词识别处理,以得到相应的至少两个关键词,该关键词的类型至少可以包括食材名称、食材重量以及技法,该技法可分为预处理方式、切刀技法、烹饪技法或是调料处理方式,例如某一初始步骤所对应的所有关键词可分别为胡萝卜、50g以及切片。Specifically, after obtaining multiple recipes selected by the user according to his or her own needs, the mobile terminal can also perform keyword recognition processing on each initial step in each recipe to obtain at least two corresponding keywords. The types of keywords can include at least the name of the ingredients, the weight of the ingredients, and the techniques. The techniques can be divided into preprocessing methods, cutting techniques, cooking techniques, or seasoning processing methods. For example, all keywords corresponding to a certain initial step can be carrots, 50g, and slices.

接着,在确定出每个初始步骤所对应的所有关键词之后,移动终端可在预设的关键词-时间系数库中分别查询出与每个关键词对应的时间系数,该预设的关键词-时间系数库至少可以包括食材名称、食材重量以及技法三种食材类型、与每种食材类型对应的多个关键词以及与每个关键词对应的时间系数,例如但不局限于当技法所对应的关键词为洗净时,相应的时间系数可为1。Then, after determining all the keywords corresponding to each initial step, the mobile terminal can query the time coefficient corresponding to each keyword in the preset keyword-time coefficient library. The preset keyword-time coefficient library may include at least three types of ingredients: ingredient name, ingredient weight, and technique, multiple keywords corresponding to each ingredient type, and a time coefficient corresponding to each keyword. For example, but not limited to, when the keyword corresponding to the technique is washing, the corresponding time coefficient may be 1.

当然,在本申请实施例中预设的关键词-时间系数库还可包括食材类别、食材重量以及技法三种食材类型,该食材类别可以但不局限于分为红肉类、家禽类、鱼类、甲壳类、蟹类、虾类、根茎类、绿叶类以及鸡蛋,每个类别可对应有一个或多个关键词。Of course, the keyword-time coefficient library preset in the embodiment of the present application may also include three types of ingredients: ingredient category, ingredient weight, and technique. The ingredient category may be, but is not limited to, red meat, poultry, fish, crustaceans, crabs, shrimps, root vegetables, green leaves, and eggs, and each category may correspond to one or more keywords.

接着,在查询出每个关键词所对应的时间系数之后,移动终端还可根据每个初始步骤所对应的所有时间系数以及预设的校正系数,通过乘积处理得到相应的步骤时间,例如当某一初始步骤所对应的所有关键词可分别为胡萝卜、50g以及切片时,相应的步骤时间可为胡萝卜所对应的时间系数、50g所对应的时间系数、切片所对应的时间系数与预设的校正系数之间的乘积得到。此处,预设的校正系数还可以但不局限于由食材名称的食材类型确定,也即当食材名称的食材类型为肉禽时,预设的校正系数可为与肉禽对应的校正系数;当食材名称的食材类型为果蔬时,预设的校正系数可为与果蔬对应的校正系数,且一般来说与肉禽对应的校正系数大于与果蔬对应的校正系数。Next, after querying the time coefficient corresponding to each keyword, the mobile terminal can also obtain the corresponding step time through product processing according to all the time coefficients corresponding to each initial step and the preset correction coefficient. For example, when all the keywords corresponding to a certain initial step can be carrots, 50g and slices, respectively, the corresponding step time can be obtained by multiplying the time coefficient corresponding to carrots, the time coefficient corresponding to 50g, the time coefficient corresponding to slices and the preset correction coefficient. Here, the preset correction coefficient can also be but is not limited to being determined by the ingredient type of the ingredient name, that is, when the ingredient type of the ingredient name is meat and poultry, the preset correction coefficient can be the correction coefficient corresponding to meat and poultry; when the ingredient type of the ingredient name is fruit and vegetable, the preset correction coefficient can be the correction coefficient corresponding to fruit and vegetable, and generally speaking, the correction coefficient corresponding to meat and poultry is greater than the correction coefficient corresponding to fruit and vegetable.

作为本申请实施例的又一种可选,按照食材名称对第一步骤集合进行整合处理,得到至少两个备菜步骤,包括:As another option of the embodiment of the present application, the first step set is integrated according to the name of the ingredients to obtain at least two preparation steps, including:

根据每个菜谱所对应的所有步骤时间之和,对所有菜谱进行排序处理;Sort all recipes according to the sum of the time of all steps corresponding to each recipe;

当第一步骤集合中任意一个食材名称所对应的初始步骤个数超过预设的个数阈值时,对相应所有初始步骤进行整合处理,并根据所有菜谱的排序结果以及处理后的所有初始步骤,得到备菜步骤;When the number of initial steps corresponding to any ingredient name in the first step set exceeds a preset number threshold, all corresponding initial steps are integrated, and a preparation step is obtained according to the sorting results of all recipes and all processed initial steps;

当第一步骤集合中任意一个食材名称所对应的初始步骤个数未超过预设的个数阈值时,根据相应初始步骤以及与初始步骤对应的菜谱,得到备菜步骤;When the number of initial steps corresponding to any ingredient name in the first step set does not exceed a preset number threshold, a dish preparation step is obtained according to the corresponding initial step and a recipe corresponding to the initial step;

根据每个备菜步骤所包含所有初始步骤的步骤时间,确定出相应备菜步骤的步骤时间。According to the step times of all initial steps included in each food preparation step, the step time of the corresponding food preparation step is determined.

为了更加合理的整合备菜步骤,还可根据第一步骤集合中每个初始步骤的步骤时间来确定出多个备菜步骤,以及与每个备菜步骤对应的步骤时间,进而保障后续生成合理的步骤整合结果。In order to more reasonably integrate the preparation steps, multiple preparation steps and the step time corresponding to each preparation step can be determined according to the step time of each initial step in the first step set, thereby ensuring the subsequent generation of reasonable step integration results.

具体地,在得到至少两个备菜步骤时,移动终端还可对每个菜谱的所有初始步骤所分别对应的步骤时间进行求和处理,并按照预设的时间大小顺序对所有菜谱进行排序处理,例如但不局限于将步骤时间之和最大的菜谱排序为第一位,步骤时间之和最小的菜谱排序为最后一位。Specifically, when at least two preparation steps are obtained, the mobile terminal can also sum up the step times corresponding to all the initial steps of each recipe, and sort all the recipes according to a preset time order, for example but not limited to sorting the recipe with the largest sum of step times as the first, and the recipe with the smallest sum of step times as the last.

接着,在按照步骤时间之和对所有菜谱进行排序处理之后,移动终端还可在第一步骤集合中确定出与每个初始步骤对应的食材名称,并当检测到任意一个食材名称所对应的初始步骤个数超过预设的个数阈值时,表明该食材名称在不同初始步骤中均存在,进而可对该食材名称所对应的所有初始步骤进行整合处理,并根据该所有初始步骤所对应排序靠前的菜谱名称,以及整合处理后的所有初始步骤,得到相应的备菜步骤。此处,在确定出与每个初始步骤对应的食材名称之后,移动终端还可以但不局限于在上述提到的预设的数据库中查询出与每个食材名称对应的标准名称,以根据所有标准名称来对第一步骤集合中的所有初始步骤进行整合处理,且不限定于此。Next, after sorting all recipes according to the sum of step times, the mobile terminal can also determine the ingredient name corresponding to each initial step in the first step set, and when it is detected that the number of initial steps corresponding to any ingredient name exceeds the preset number threshold, it indicates that the ingredient name exists in different initial steps, and then all initial steps corresponding to the ingredient name can be integrated, and the corresponding preparation steps can be obtained based on the top-ranked recipe names corresponding to all initial steps and all the initial steps after integration. Here, after determining the ingredient name corresponding to each initial step, the mobile terminal can also, but is not limited to, query the standard name corresponding to each ingredient name in the preset database mentioned above, so as to integrate all initial steps in the first step set according to all standard names, and is not limited to this.

可以理解的是,当检测到任意一个食材名称所对应的初始步骤个数未超过预设的个数阈值时,表明该食材名称仅在一个初始步骤中存在,进而可直接根据相应初始步骤以及该初始步骤所对应的菜谱名称,得到备菜步骤。It can be understood that when it is detected that the number of initial steps corresponding to any ingredient name does not exceed the preset number threshold, it indicates that the ingredient name only exists in one initial step, and then the preparation step can be directly obtained based on the corresponding initial step and the recipe name corresponding to the initial step.

接着,在整合出所有备菜步骤之后,移动终端还可对每个备菜步骤所包含的所有初始步骤的步骤时间进行求和处理,以得到相应备菜步骤的步骤时间。Next, after integrating all the food preparation steps, the mobile terminal may also sum up the step times of all the initial steps included in each food preparation step to obtain the step time of the corresponding food preparation step.

步骤104、将每个备菜步骤添加至相应的菜谱中,并对处理后的每个菜谱进行步骤编码处理,得到至少两种编码值。Step 104: Add each food preparation step to the corresponding recipe, and perform step coding processing on each processed recipe to obtain at least two coding values.

具体地,在得到所有备菜步骤之后,移动终端可以但不局限于根据每个备菜步骤中的菜谱名称,将相同菜谱名称所对应的所有备菜步骤添加至相应菜谱的最前端(也即烹饪类型所对应的所有初始步骤之前),且所有备菜步骤之间的先后顺序可与所包含的初始步骤在相应菜谱中的先后顺序一致,以避免步骤混乱。Specifically, after obtaining all the preparation steps, the mobile terminal can, but is not limited to, add all the preparation steps corresponding to the same recipe name to the front end of the corresponding recipe (that is, before all the initial steps corresponding to the cooking type) according to the recipe name in each preparation step, and the order of all the preparation steps can be consistent with the order of the initial steps included in the corresponding recipe to avoid confusion of steps.

进一步的,在将每个备菜步骤添加至相应的菜谱之后(也即每个菜谱可包括一个或多个备菜步骤,以及与烹饪类型对应的一个或多个初始步骤),移动终端可以但不局限于按照预设的字符数据库先对每个菜谱所包含的每个步骤进行文字解析处理,识别出至少两个关键词,再对每个关键词进行编码处理,以得到相应的至少两种编码值。此处,预设的字符数据库可包括至少两种类型所分别对应的多个关键词,以及与每个关键词对应的预设字符,例如该至少两种类型可以包括人工参与以及设备,该人工参与所对应的多个关键词可分别为人工参与(相应的预设字符可为1)以及非人工参与(相应的预设字符可为0),该设备所对应的关键词可分别为灶具(相应的预设字符可为1a)、明火自动翻炒锅或是自动翻炒(相应的预设字符可为1b)、一体机(相应的预设字符可为2)以及非设备(相应的预设字符可为0)。换言之,上述提到的至少两种编码值可包括与人工参与对应的编码值以及与设备对应的编码值,该与人工参与对应的编码值可对应为1或是0,该与设备对应的编码值可对应为1a、1b、2或是0。Further, after each preparation step is added to the corresponding recipe (that is, each recipe may include one or more preparation steps, and one or more initial steps corresponding to the cooking type), the mobile terminal may, but is not limited to, first perform text parsing processing on each step included in each recipe according to a preset character database, identify at least two keywords, and then encode each keyword to obtain corresponding at least two encoding values. Here, the preset character database may include multiple keywords corresponding to at least two types, and preset characters corresponding to each keyword. For example, the at least two types may include manual participation and equipment. The multiple keywords corresponding to the manual participation may be manual participation (the corresponding preset character may be 1) and non-manual participation (the corresponding preset character may be 0), and the keywords corresponding to the equipment may be stoves (the corresponding preset character may be 1a), open flame automatic stir-fry pans or automatic stir-frying (the corresponding preset character may be 1b), all-in-one machines (the corresponding preset character may be 2), and non-equipment (the corresponding preset character may be 0). In other words, the at least two coding values mentioned above may include a coding value corresponding to manual participation and a coding value corresponding to the device. The coding value corresponding to manual participation may correspond to 1 or 0, and the coding value corresponding to the device may correspond to 1a, 1b, 2 or 0.

可以理解的是,本申请实施例中提到的至少两种编码值还可包括与步骤对应的编码值以及与步骤时间对应的编码值,该与步骤对应的编码值可包含表征菜谱名称、步骤类型以及步骤顺序的字符,例如1-1A可表示为A菜谱中的第一个备菜步骤,1-2A可表示为A菜谱中的第二个备菜步骤,2-1A可表示为A菜谱中与烹饪类型对应的第一个初始步骤,2-2A可表示为A菜谱中与烹饪类型对应的第二个初始步骤;该与步骤时间对应的编码值,可为相应步骤的步骤时间一致。It can be understood that the at least two coding values mentioned in the embodiments of the present application may also include coding values corresponding to steps and coding values corresponding to step times. The coding values corresponding to the steps may include characters representing the recipe name, step type and step order. For example, 1-1A can be represented as the first preparation step in recipe A, 1-2A can be represented as the second preparation step in recipe A, 2-1A can be represented as the first initial step corresponding to the cooking type in recipe A, and 2-2A can be represented as the second initial step corresponding to the cooking type in recipe A; the coding value corresponding to the step time may be consistent with the step time of the corresponding step.

此处还可参阅图3示出的本申请实施例提供的一种多菜谱的步骤编码示意图,以及图4示出的本申请实施例提供的又一种多菜谱的步骤编码示意图,如图3以及图4所示,以菜谱名称表示为A为例,菜谱名称A(也即胡萝卜玉米排骨汤)中与步骤对应的编码值可依次为1-1A、1-2A、1-3A、2-1A、2-2A以及2-3A,可表明该菜谱名称可包含三个备菜步骤以及与烹饪类型对应的三个初始步骤;该菜谱名称A(也即胡萝卜玉米排骨汤)中与步骤时间对应的编码值可依次为15分钟、5分钟、3分钟、7分钟、50分钟以及1分钟,可表明该菜谱名称所包含的三个备菜步骤分别对应的步骤时间为15分钟、5分钟以及3分钟,所包含的与烹饪类型对应的三个初始步骤分别对应的步骤时间为7分钟、50分钟以及1分钟;该菜谱名称A(也即胡萝卜玉米排骨汤)中与人工参与对应的编码值可依次为1、1、1、0、0以及1,可表明该菜谱名称所包含的三个备菜步骤均为人工参与,所包含的与烹饪类型对应的三个初始步骤分别对应为非人工参与、非人工参阅以及人工参与;该菜谱名称A(也即胡萝卜玉米排骨汤)中与设备对应的编码值可依次为0、1a、0、1b、1b以及1b,可表明该菜谱名称所包含的三个备菜步骤仅在第二个备菜步骤中用到灶具,所包含的与烹饪类型对应的三个初始步骤均用到明火自动翻炒锅。Reference may also be made here to a step coding diagram of multiple recipes provided in an embodiment of the present application as shown in FIG3 , and a step coding diagram of another multiple recipes provided in an embodiment of the present application as shown in FIG4 . As shown in FIGS. 3 and 4 , taking the recipe name represented by A as an example, the coding values corresponding to the steps in the recipe name A (i.e., carrot, corn and pork ribs soup) may be 1-1A, 1-2A, 1-3A, 2-1A, 2-2A and 2-3A, respectively, indicating that the recipe name may include three preparation steps and three initial steps corresponding to the cooking type; the coding values corresponding to the step time in the recipe name A (i.e., carrot, corn and pork ribs soup) may be 15 minutes, 5 minutes, 3 minutes, 7 minutes, 50 minutes and 1 minute, respectively, indicating that the step time corresponding to the three preparation steps contained in the recipe name is 15 minutes. , 5 minutes and 3 minutes, and the three initial steps corresponding to the cooking types include 7 minutes, 50 minutes and 1 minute respectively; the coding values corresponding to manual participation in the recipe name A (i.e., carrot, corn and pork ribs soup) may be 1, 1, 1, 0, 0 and 1, respectively, indicating that the three preparation steps included in the recipe name are all manually participated, and the three initial steps corresponding to the cooking types include non-manual participation, non-manual reference and manual participation, respectively; the coding values corresponding to the equipment in the recipe name A (i.e., carrot, corn and pork ribs soup) may be 0, 1a, 0, 1b, 1b and 1b, respectively, indicating that the three preparation steps included in the recipe name use a stove only in the second preparation step, and the three initial steps corresponding to the cooking types all use an open flame automatic stir-fry pan.

需要说明的是,上述菜谱名称A的第一个备菜步骤中所提到的“1000g玉米洗净待用,放入蒸盘”实际为菜谱名称B中的初始步骤,并在生成备菜步骤的过程中将该初始步骤与菜谱名称A中的初始步骤“200g玉米洗净斩6段,胡萝卜去皮切滚刀块,马蹄去皮,排骨切块”进行整合处理,且由于菜谱名称A所对应的步骤时间之和大于菜谱名称B(也即菜谱名称A的排序靠前),该整合处理后的备菜步骤所对应的菜谱名称为A。It should be noted that the "wash 1000g corn and put it in a steaming plate" mentioned in the first preparation step of the above recipe name A is actually the initial step in recipe name B, and in the process of generating the preparation steps, the initial step is integrated with the initial step in recipe name A "wash 200g corn and cut into 6 sections, peel the carrots and cut into dice, peel the water chestnuts, and cut the ribs into pieces", and because the sum of the step times corresponding to recipe name A is greater than that of recipe name B (that is, recipe name A is ranked higher), the recipe name corresponding to the integrated preparation step is A.

步骤106、根据处理后的每个菜谱所对应的所有步骤以及所有编码值,得到步骤整合结果。Step 106: Obtain a step integration result according to all steps and all coding values corresponding to each processed recipe.

具体地,以至少两种编码值为上述提到的与人工参与对应的编码值以及与设备对应的编码值为例,将与设备对应的编码值作为第一种编码值,与人工参与对应的编码值作为第二种编码值,在得到每个菜谱的每个步骤所对应的至少两种编码值之后,移动终端可以但不局限于从每个菜谱中筛选出与烹饪类型对应的所有初始步骤,并根据该所有初始步骤所对应的所有第一种编码值,将连续且为相同字符的一个或多个第一种编码值所对应的初始步骤集合作为相应菜谱的第二步骤集合。例如可参阅图3所示出的本申请实施例提供的一种多菜谱的步骤编码示意图,菜谱名称为A中与烹饪类型对应的三个初始步骤的第一种编码值均为1b,也即该三个初始步骤的集合可作为菜谱名称为A的第二步骤集合;菜谱名称B 中与烹饪类型对应的两个初始步骤的第一种编码值均为2,也即该两个初始步骤的集合可作为菜谱名称为B的第二步骤集合;菜谱名称为C中与烹饪类型对应的三个初始步骤的第一种编码值均为1a,也即该三个初始步骤的集合可作为菜谱名称为C的第二步骤集合;菜谱名称为D中与烹饪类型对应的五个初始步骤的第一种编码值均为1a,也即该五个初始步骤的集合可作为菜谱名称为D的第二步骤集合。Specifically, taking the at least two coding values as the above-mentioned coding values corresponding to manual participation and the coding values corresponding to the device as an example, the coding value corresponding to the device is used as the first coding value, and the coding value corresponding to manual participation is used as the second coding value. After obtaining at least two coding values corresponding to each step of each recipe, the mobile terminal can, but is not limited to, filter out all initial steps corresponding to the cooking type from each recipe, and based on all first coding values corresponding to all the initial steps, take the initial step set corresponding to one or more first coding values with the same characters as the second step set of the corresponding recipe. For example, referring to FIG3 , which is a schematic diagram of step coding of multiple recipes provided in an embodiment of the present application, the first coding values of the three initial steps corresponding to the cooking type in the recipe named A are all 1b, that is, the set of the three initial steps can be used as the second step set of the recipe named A; the first coding values of the two initial steps corresponding to the cooking type in the recipe named B are all 2, that is, the set of the two initial steps can be used as the second step set of the recipe named B; the first coding values of the three initial steps corresponding to the cooking type in the recipe named C are all 1a, that is, the set of the three initial steps can be used as the second step set of the recipe named C; the first coding values of the five initial steps corresponding to the cooking type in the recipe named D are all 1a, that is, the set of the five initial steps can be used as the second step set of the recipe named D.

进一步的,在确定出与每个菜谱对应的第二步骤集合之后,移动终端还可在所有第二步骤集合中筛选出包含预设的第一字符的部分第二步骤集合,并在该部分第二步骤集合中筛选出所对应步骤时间之和最大以及第二大的两个第二步骤集合。此处,预设的第一字符可设置为1,也即部分第二步骤集合中的每个第二步骤集合所包含的所有第一种编码值均为1a或是均为1b。Furthermore, after determining the second step set corresponding to each recipe, the mobile terminal can also filter out some second step sets containing the preset first character from all second step sets, and filter out two second step sets with the largest and second largest sums of the corresponding step times from the partial second step sets. Here, the preset first character can be set to 1, that is, all first encoding values contained in each second step set in the partial second step set are 1a or 1b.

例如可参阅图3所示出的本申请实施例提供的一种多菜谱的步骤编码示意图,以及图4所示出的本申请实施例提供的又一种多菜谱的步骤编码示意图,筛选出包含预设的第一字符的部分第二步骤集合具体可为菜谱名称A所对应的第二步骤集合、菜谱名称C所对应的第二步骤集合以及菜谱名称D所对应的第二步骤集合,并按照相应第二步骤集合的步骤时间之和筛选出菜谱名称A所对应的第二步骤集合以及菜谱名称C所对应的第二步骤集合。For example, referring to a step coding diagram of multiple recipes provided in an embodiment of the present application shown in FIG3 , and another step coding diagram of multiple recipes provided in an embodiment of the present application shown in FIG4 , the partial second step set containing the preset first character may be filtered out, which may specifically be the second step set corresponding to recipe name A, the second step set corresponding to recipe name C, and the second step set corresponding to recipe name D, and the second step set corresponding to recipe name A and the second step set corresponding to recipe name C may be filtered out according to the sum of the step times of the corresponding second step sets.

进一步的,在筛选出两个第二步骤集合之后,移动终端可将该两个第二步骤集合所分别对应的菜谱名称按照步骤时间之和的大小顺序填充在预设的时间线列表内,接着可将与两个菜谱名称分别对应的第二步骤集合以时间轴的形式填充在该预设的时间线列表内。可以理解的是,在将与两个菜谱名称分别对应的第二步骤集合以时间轴的形式填充在该预设的时间线列表内时,具体可根据两个第二步骤集合所分别对应的步骤时间之和,得到相应的时间轴(两个时间轴均可为矩形,两个矩形之间的宽度一致,两个矩形之间的长度比可与相应的步骤时间之和的比值一致),并以该两个时间轴的结束时间一致的方式将该两个时间轴填充在预设的时间线列表内,并可根据该两个第二步骤时间集合所分别对应的所有第二种编码值,来判断是否需要对该两个时间轴进行平移处理,以避免发生人工参与的时间冲突。Further, after filtering out two second step sets, the mobile terminal can fill the recipe names corresponding to the two second step sets in the preset timeline list in the order of the sum of the step times, and then fill the second step sets corresponding to the two recipe names in the preset timeline list in the form of a time axis. It can be understood that when filling the second step sets corresponding to the two recipe names in the preset timeline list in the form of a time axis, the corresponding time axis can be obtained according to the sum of the step times corresponding to the two second step sets (both time axes can be rectangles, the widths between the two rectangles are consistent, and the length ratio between the two rectangles can be consistent with the ratio of the sum of the corresponding step times), and the two time axes are filled in the preset timeline list in a manner that the end times of the two time axes are consistent, and it can be determined whether the two time axes need to be translated according to all the second encoding values corresponding to the two second step time sets to avoid time conflicts involving manual participation.

此处作为本申请实施例的又一种可选,在根据该两个第二步骤时间集合所分别对应的所有第二种编码值,来判断是否需要对相应两个时间轴进行平移处理时,移动终端可对该两个第二步骤时间集合所分别对应的所有第二种编码值进行识别处理,以判断是否均存在预设的第二字符,并在确定均存在预设的第二字符时,表明该两个第二步骤时间集合均存在人工参与,进而判断该预设的第二字符在每个时间轴上的时间段是否存在时间冲突。此处,预设的第二字符可设置为1,在确定不同时存在该预设的第二字符时,表明该两个第二步骤时间集合不存在人工参与的时间冲突,进而无需进行平移处理。Here, as another optional embodiment of the present application, when judging whether it is necessary to perform translation processing on the corresponding two time axes according to all the second coding values respectively corresponding to the two second step time sets, the mobile terminal can identify all the second coding values respectively corresponding to the two second step time sets to judge whether there are preset second characters, and when it is determined that there are preset second characters, it indicates that there is manual participation in both second step time sets, and then judge whether there is a time conflict in the time period of the preset second character on each time axis. Here, the preset second character can be set to 1, and when it is determined that the preset second character does not exist at the same time, it indicates that there is no time conflict in the time period of the preset second character in each time axis, and no translation processing is required.

可以理解的是,在确定预设的第二字符在每个时间轴上的时间段存在时间冲突之后,移动终端可比较该时间冲突所对应的时间段与两个时间轴上时间冲突消失的时间段之间的距离,以将最近距离所对应的时间轴水平向右平移处理,或是将最远距离所对应的时间轴水平向左平移处理,进而避免人工参与的时间冲突。It can be understood that after determining that there is a time conflict in the time period of the preset second character on each time axis, the mobile terminal can compare the distance between the time period corresponding to the time conflict and the time period where the time conflict disappears on the two time axes, so as to horizontally shift the time axis corresponding to the nearest distance to the right, or horizontally shift the time axis corresponding to the farthest distance to the left, thereby avoiding time conflicts involving human intervention.

此处还可参阅图5示出的本申请实施例提供的一种预设的时间线列表的填充效果图,结合图3以及图4所示的多菜谱的步骤编码示意图,菜谱名称A所对应的时间轴上的步骤时间之和为58分钟,菜谱名称C所对应的时间轴上的步骤时间之和为8分钟,该菜谱名称A以及菜谱名称C在人工参与所对应的所有初始步骤中存在时间冲突为1分钟的初始步骤,因此可根据该1分钟对菜谱名称A所对应的时间轴,或是菜谱名称C所对应的时间轴进行平移处理。在本申请实施例中,填充在预设的时间线列表中的每个时间轴还可按照相应的所有第二种编码值进行颜色标注处理,例如可对菜谱名称A所对应的时间轴中人工参与所对应的部分时间轴进行黄色标注处理,非人工参与所对应的部分时间轴进行绿色标注处理,且不限定于此。Here, please refer to FIG. 5, which is a filling effect diagram of a preset timeline list provided in an embodiment of the present application. Combined with the step coding schematic diagrams of multiple recipes shown in FIG. 3 and FIG. 4, the sum of the step time on the timeline corresponding to recipe name A is 58 minutes, and the sum of the step time on the timeline corresponding to recipe name C is 8 minutes. The recipe name A and the recipe name C have an initial step with a time conflict of 1 minute in all the initial steps corresponding to manual participation. Therefore, the timeline corresponding to recipe name A or the timeline corresponding to recipe name C can be translated according to the 1 minute. In an embodiment of the present application, each timeline filled in the preset timeline list can also be color-annotated according to all corresponding second coding values. For example, the part of the timeline corresponding to manual participation in the timeline corresponding to recipe name A can be marked in yellow, and the part of the timeline corresponding to non-manual participation can be marked in green, and the present invention is not limited thereto.

需要说明的是,移动终端还可以但不局限于对上述提到两个第二步骤时间集合所分别对应的所有第一种编码值进一步进行识别处理,以判断是否均存在预设的字符串(例如可设置为1b),也即判断是否均用到明火自动翻炒锅,并可在确定均用到明火自动翻炒锅之后,参阅上述实施方式对任意一个时间轴进行平移处理,此处不再过多赘述。It should be noted that the mobile terminal can also, but is not limited to, further identify and process all the first-type coding values corresponding to the two second-step time sets mentioned above to determine whether a preset character string (for example, it can be set to 1b) exists, that is, to determine whether an open flame automatic frying pan is used. After determining that an open flame automatic frying pan is used, the mobile terminal can refer to the above-mentioned implementation method to perform translation processing on any time axis, which will not be elaborated here.

进一步的,在根据两个第二步骤集合所对应的时间轴对预设的时间线列表进行填充处理之后,移动终端还可根据处理后的每个菜谱所对应的剩余所有步骤以及所有编码值,继续对该处理后的预设的时间线列表进行填充处理,直至每个菜谱的每个步骤均以时间轴的形式填充在预设的时间线列表中,进而可将最后的预设的时间线列表作为步骤整合结果。Furthermore, after filling the preset timeline list according to the time axes corresponding to the two second step sets, the mobile terminal can continue to fill the processed preset timeline list according to all remaining steps and all coding values corresponding to each processed recipe, until each step of each recipe is filled in the preset timeline list in the form of a timeline, and the final preset timeline list can be used as the step integration result.

作为本申请实施例的又一种可选,基于处理后的预设的时间线列表,以及处理后的每个菜谱所对应的剩余所有步骤以及所有编码值,得到步骤整合结果,包括:As another option of the embodiment of the present application, based on the processed preset timeline list, and all remaining steps and all coding values corresponding to each processed recipe, a step integration result is obtained, including:

当在剩余的所有第二步骤集合中检测到至少一个第二步骤集合的所有第一种编码值存在预设的第一字符时,根据相应所有第二步骤集合所分别对应的菜谱名称、步骤时间以及所有第二种编码值,对处理后的预设的时间线列表进行填充处理;When it is detected that all the first encoding values of at least one second step set in all the remaining second step sets have the preset first character, the processed preset timeline list is filled according to the recipe names, step times and all the second encoding values respectively corresponding to all the second step sets;

当在剩余的所有第二步骤集合中检测到至少一个第二步骤集合的所有第一种编码值存在预设的第三字符时,根据相应所有第二步骤集合所分别对应的菜谱名称、步骤时间以及所有第二种编码值,对处理后的预设的时间线列表进行填充处理;When it is detected that all the first encoding values of at least one second step set in all the remaining second step sets have the preset third character, the processed preset timeline list is filled according to the recipe names, step times and all the second encoding values respectively corresponding to all the second step sets;

根据处理后的预设的时间线列表,以及处理后的每个菜谱所对应的所有备菜步骤,得到步骤整合结果。According to the processed preset timeline list and all the food preparation steps corresponding to each processed recipe, a step integration result is obtained.

具体地,移动终端在对预设的时间线列表继续进行填充处理时,当在剩余的所有第二步骤集合中检测到还存在至少一个第二步骤集合所对应的所有第一种编码值包含预设的第一字符时,表明还存在需要人工参与的第二步骤集合,进而可在包含该预设的第一字符的一个或多个第二步骤集合中,按照从大到小的步骤时间之和顺序依次筛选出每个第二步骤集合,并根据每个第二步骤集合所分别对应的菜谱名称以及步骤时间,依次将相应第二步骤集合以时间轴的形式填充在预设的时间线列表中最早结束时间所对应时间轴的后方,且根据该第二步骤集合所对应的所有第二种编码值判断是否需要对该预设的时间线列表中的时间轴进行平移处理(也即判断是否存在人工参与的时间冲突),其具体过程可参阅上述实施方式,此处不再过多赘述,直至包含预设的第一字符的所有第二步骤集合均填充在预设的时间线列表中。Specifically, when the mobile terminal continues to fill the preset timeline list, when it is detected in all the remaining second step sets that there is still at least one second step set whose corresponding all first coding values contain the preset first character, it indicates that there is still a second step set that requires manual participation, and then, in one or more second step sets containing the preset first character, each second step set can be screened out in order of the sum of the step times from large to small, and according to the recipe name and step time corresponding to each second step set, the corresponding second step sets are filled in the preset timeline list in the form of a time axis behind the time axis corresponding to the earliest end time, and according to all the second coding values corresponding to the second step set, it is determined whether the time axis in the preset timeline list needs to be shifted (that is, whether there is a time conflict involving manual participation). The specific process can be referred to the above implementation method, which will not be elaborated here, until all the second step sets containing the preset first character are filled in the preset timeline list.

此处还可参阅图6示出的本申请实施例提供的又一种预设的时间线列表的填充效果图,结合图3以及图4所示的多菜谱的步骤编码示意图,菜谱名称D所对应的第二步骤集合还存在预设的第一字符(也即人工参与),其时间轴上的步骤时间之和为6分钟,由于该菜谱名称D以及菜谱名称A在人工参与所对应的所有初始步骤中存在时间冲突为1分钟的初始步骤,因此可根据该1分钟对菜谱名称D所对应的时间轴在菜谱名称C所对应的时间轴后方的基础上,进行平移处理。Reference can also be made here to FIG6 , which is a filling effect diagram of another preset timeline list provided in an embodiment of the present application. Combined with the step coding schematic diagrams of multiple recipes shown in FIG3 and FIG4 , the second step set corresponding to the recipe name D also has a preset first character (that is, manual participation), and the sum of the step times on its timeline is 6 minutes. Since the recipe name D and the recipe name A have an initial step with a time conflict of 1 minute in all the initial steps corresponding to manual participation, the timeline corresponding to the recipe name D can be translated based on the 1 minute behind the timeline corresponding to the recipe name C.

接着,在将包含预设的第一字符的所有第二步骤集合均填充在预设的时间线列表之后,当移动终端在剩余的所有第二步骤集合中检测到存在至少一个第二步骤集合所对应的所有第一种编码值包含预设的第三字符(例如可设置为2)时,表明存在需要其他类型设备的第二步骤集合,进而可在包含该预设的第三字符的一个或多个第二步骤集合中,按照从大到小的步骤时间之和顺序依次筛选出每个第二步骤集合,并根据每个第二步骤集合所分别对应的菜谱名称以及步骤时间,依次将相应第二步骤集合以时间轴的形式填充在预设的时间线列表中,以使该时间轴的结束时间与预设的时间线列表中的最晚结束时间一致,且还可根据该第二步骤集合所对应的所有第二种编码值判断是否需要对该预设的时间线列表中的时间轴进行平移处理(也即判断是否存在人工参与的时间冲突),其具体过程可参阅上述实施方式,此处不再过多赘述,直至包含预设的第三字符的所有第二步骤集合均填充在预设的时间线列表中。Then, after all the second step sets containing the preset first character are filled in the preset timeline list, when the mobile terminal detects that there is at least one second step set in all the remaining second step sets whose all first coding values include a preset third character (for example, which can be set to 2), it indicates that there is a second step set that requires other types of equipment, and then, in one or more second step sets containing the preset third character, each second step set can be screened out in turn according to the order of the sum of the step times from large to small, and according to the recipe name and step time corresponding to each second step set, the corresponding second step sets are filled in the preset timeline list in the form of a timeline, so that the end time of the timeline is consistent with the latest end time in the preset timeline list, and it can also be determined whether the timeline in the preset timeline list needs to be shifted (that is, whether there is a time conflict involving manual participation) according to all the second coding values corresponding to the second step set. The specific process can be referred to the above implementation method, and will not be described in detail here, until all the second step sets containing the preset third character are filled in the preset timeline list.

此处还可参阅图7示出的本申请实施例提供的又一种预设的时间线列表的填充效果图,结合图3以及图4所示的多菜谱的步骤编码示意图,菜谱名称B所对应的第二步骤集合存在预设的第三字符(也即其他类型设备),其时间轴上的步骤时间之和为26分钟,由于该菜谱名称B以及菜谱名称D在人工参与所对应的所有初始步骤中存在时间冲突为1分钟的初始步骤,因此可根据该1分钟对菜谱名称B所对应的时间轴进行平移处理。Reference can also be made here to Figure 7, which is a filling effect diagram of another preset timeline list provided in an embodiment of the present application. Combined with the step coding schematic diagrams of multiple recipes shown in Figures 3 and 4, the second step set corresponding to recipe name B has a preset third character (that is, other types of equipment), and the sum of the step times on its timeline is 26 minutes. Since the recipe name B and the recipe name D have an initial step with a time conflict of 1 minute in all the initial steps corresponding to manual participation, the timeline corresponding to recipe name B can be translated according to the 1 minute.

接着,在将包含预设的第一字符的所有第二步骤集合均填充在预设的时间线列表之后,还可以但不局限于判断剩余的所有第二步骤集合中是否存在至少一个第二步骤集合所对应的所有第一种编码值包含预设的第四字符(例如可设置为0),也即未涉及任何设备的第二步骤集合,并可在确定存在至少一个第二步骤集合所对应的所有第一种编码值包含预设的第四字符时,参阅上式实施方式将该所有第二步骤集合填充在预设的时间线列表中,直至所有第二步骤集合均填充在预设的时间线列表中。Next, after all the second step sets containing the preset first character are filled in the preset timeline list, it is also possible but not limited to determine whether there is at least one second step set among all the remaining second step sets in which all the first coding values corresponding to the set contain a preset fourth character (for example, which can be set to 0), that is, a second step set that does not involve any device, and when it is determined that there is at least one second step set in which all the first coding values corresponding to the set contain the preset fourth character, refer to the above implementation method to fill all the second step sets in the preset timeline list until all the second step sets are filled in the preset timeline list.

接着,在将所有第二步骤集合均填充在预设的时间线列表之后,移动终端还可根据每个菜谱所对应的所有备菜步骤以及相应的所有编码值,继续对该处理后的预设的时间线列表进行填充处理,直至每个菜谱的每个步骤均以时间轴的形式填充在预设的时间线列表中,进而可将最后的预设的时间线列表作为步骤整合结果。Then, after all the second step sets are filled in the preset timeline list, the mobile terminal can continue to fill the processed preset timeline list according to all the preparation steps corresponding to each recipe and all the corresponding coding values, until each step of each recipe is filled in the preset timeline list in the form of a timeline, and the final preset timeline list can be used as the step integration result.

作为本申请实施例的又一种可选,根据处理后的预设的时间线列表以及处理后的每个菜谱所对应的所有备菜步骤,得到步骤整合结果,包括:As another option of the embodiment of the present application, according to the processed preset timeline list and all the food preparation steps corresponding to each processed recipe, a step integration result is obtained, including:

按照预设的时间顺序在处理后的预设的时间线列表中依次确定出至少两个填充区域,并根据每个填充区域所对应的菜谱名称,将相应处理后的菜谱所对应的所有备菜步骤填充在处理后的预设的时间线列表中;At least two filling areas are sequentially determined in the processed preset timeline list according to a preset time sequence, and all the preparation steps corresponding to the processed recipe are filled in the processed preset timeline list according to the recipe name corresponding to each filling area;

将处理后的预设的时间线列表作为步骤整合结果。The processed preset timeline list is used as the step integration result.

具体地,在每个菜谱所对应的所有备菜步骤填充至预设的时间线列表时,移动终端可在经过填充处理后的预设的时间线列表中按照预设的时间顺序依次查找出最晚开始时间所对应的时间轴,并将每个时间轴的左侧作为填充区域,并将相应时间轴的菜谱名称所对应的所有备菜步骤以时间轴的形式填充在该时间轴的左侧,且还可判断该所有备菜步骤所对应的所有第二种编码值是否与任意一个时间轴所对应的所有第二编码值存在时间冲突,也即判断是否存在人工参与的时间冲突,以在确定存在时间冲突时,对该所有备菜步骤所对应的时间轴进行平移处理。Specifically, when all the preparation steps corresponding to each recipe are filled into the preset timeline list, the mobile terminal can search for the time axis corresponding to the latest start time in the preset timeline list after the filling process according to the preset time order, and use the left side of each time axis as the filling area, and fill all the preparation steps corresponding to the recipe name of the corresponding time axis in the form of a time axis on the left side of the time axis, and can also determine whether all the second coding values corresponding to all the preparation steps have a time conflict with all the second coding values corresponding to any time axis, that is, determine whether there is a time conflict involving manual participation, so that when it is determined that there is a time conflict, the time axis corresponding to all the preparation steps is translated.

需要说明的是,移动终端还可以但不局限于判断所有备菜步骤所对应的所有第一种编码值是否与任意一个时间轴所对应的所有第一编码值存在时间冲突,也即判断在预设的时间线列表中的某一时间段上该所以备菜步骤与任意一个第二步骤集合使用相同类型的设备,并在确定存在时间冲突时,对该所有备菜步骤所对应的时间轴进行平移处理。It should be noted that the mobile terminal can also, but is not limited to, determine whether there is a time conflict between all the first coding values corresponding to all the food preparation steps and all the first coding values corresponding to any time axis, that is, determine whether all the food preparation steps and any second step set use the same type of equipment in a certain time period in the preset timeline list, and when it is determined that there is a time conflict, the time axis corresponding to all the food preparation steps is translated.

此处还可参阅图8示出的本申请实施例提供的又一种预设的时间线列表的填充效果图,结合图3以及图4所示的多菜谱的步骤编码示意图,在经过填充处理后的预设的时间线列表中首先查找出最晚开始时间的时间轴对应为菜谱名称D,接着在该菜谱名称D的所有备菜步骤所形成的时间轴(步骤时间之和5分钟)填充在相应第二步骤集合所对应的时间轴左侧,由于该菜谱名称D的所有备菜步骤所形成的时间轴,与菜谱名称C的时间轴存在8分钟人工参与的时间冲突,因此可根据该8分钟对菜谱名称D的所有备菜步骤所形成的时间轴进行平移处理。Reference can also be made here to FIG8 , which is a filling effect diagram of another preset timeline list provided in an embodiment of the present application. Combined with the step coding schematic diagrams of multiple recipes shown in FIG3 and FIG4 , in the preset timeline list after filling, first find out the timeline with the latest start time corresponding to the recipe name D, and then fill in the timeline formed by all the preparation steps of the recipe name D (the sum of the step times is 5 minutes) on the left side of the timeline corresponding to the corresponding second step set. Since the timeline formed by all the preparation steps of the recipe name D has a time conflict of 8 minutes of manual participation with the timeline of the recipe name C, the timeline formed by all the preparation steps of the recipe name D can be translated according to the 8 minutes.

此处还可参阅图9示出的本申请实施例提供的又一种预设的时间线列表的填充效果图,结合图3以及图4所示的多菜谱的步骤编码示意图,在经过填充处理后的预设的时间线列表中查找出第二晚开始时间的时间轴对应为菜谱名称C,接着在该菜谱名称C的所有备菜步骤所形成的时间轴(步骤时间之和3分钟)填充在相应第二步骤集合所对应的时间轴左侧,由于该菜谱名称C的所有备菜步骤所形成的时间轴,与菜谱名称D的时间轴存在5分钟人工参与的时间冲突,因此可根据该5分钟对菜谱名称C的所有备菜步骤所形成的时间轴进行平移处理。Here, you can also refer to Figure 9, which is a filling effect diagram of another preset timeline list provided in an embodiment of the present application. Combined with the step coding schematic diagrams of multiple recipes shown in Figures 3 and 4, find out in the preset timeline list after the filling process that the timeline of the second night start time corresponds to the recipe name C, and then fill in the timeline formed by all the preparation steps of the recipe name C (the sum of the step time is 3 minutes) on the left side of the timeline corresponding to the corresponding second step set. Since the timeline formed by all the preparation steps of the recipe name C has a time conflict of 5 minutes of manual participation with the timeline of the recipe name D, the timeline formed by all the preparation steps of the recipe name C can be translated according to the 5 minutes.

此处还可参阅图10示出的本申请实施例提供的又一种预设的时间线列表的填充效果图,结合图3以及图4所示的多菜谱的步骤编码示意图,在经过填充处理后的预设的时间线列表中查找出第三晚开始时间的时间轴对应为菜谱名称B,接着在该菜谱名称B的所有备菜步骤所形成的时间轴(步骤时间之和1分钟)填充在相应第二步骤集合所对应的时间轴左侧,且该菜谱名称B的所有备菜步骤所形成的时间轴,与任意一个菜谱名称的时间轴不存在人工参与的时间冲突,进而无需对该菜谱名称B的所有备菜步骤所形成的时间轴进行平移处理。在经过填充处理后的预设的时间线列表中查找出最早开始时间的时间轴对应为菜谱名称A,且由于该菜谱名称A的所有备菜步骤对应有字符不同且不连续的所有第一种编码值,进而可按照每个备菜步骤的先后顺序将相应的时间轴填充在第二步骤集合所对应的时间轴左侧。可以理解的是,该菜谱名称A的所有备菜步骤所形成的时间轴,与任意一个菜谱名称的时间轴不存在人工参与的时间冲突,进而无需对该菜谱名称A的所有备菜步骤所形成的时间轴进行平移处理。Here, please refer to FIG. 10, which shows a filling effect diagram of another preset timeline list provided by an embodiment of the present application. Combined with the step coding schematic diagrams of multiple recipes shown in FIG. 3 and FIG. 4, the timeline corresponding to the third night start time is found in the preset timeline list after filling processing, and then the timeline formed by all the preparation steps of the recipe name B (the sum of the step time is 1 minute) is filled on the left side of the timeline corresponding to the corresponding second step set, and the timeline formed by all the preparation steps of the recipe name B does not have a time conflict with the timeline of any recipe name due to human involvement, and thus there is no need to perform translation processing on the timeline formed by all the preparation steps of the recipe name B. In the preset timeline list after filling processing, the timeline corresponding to the earliest start time is found to be the recipe name A, and since all the preparation steps of the recipe name A correspond to all the first encoding values with different and discontinuous characters, the corresponding timeline can be filled on the left side of the timeline corresponding to the second step set according to the sequence of each preparation step. It is understandable that the timeline formed by all the preparation steps of the recipe name A does not have any time conflict with the timeline of any other recipe name involving human intervention, and therefore there is no need to translate the timeline formed by all the preparation steps of the recipe name A.

接着,在将每个菜谱的每个步骤均以时间轴的形式填充在预设的时间线列表之后,移动终端可将最终处理后的预设的时间线列表作为步骤整合结果,并在接收到用户的开始指令之后,根据获取到的当前时刻对该步骤整合结果进行时刻赋值处理,以通过语音或是文字等方式实时向用户展示步骤整合结果中处于当前时刻的时间轴所对应的步骤。Next, after filling each step of each recipe in the preset timeline list in the form of a timeline, the mobile terminal can use the final processed preset timeline list as the step integration result, and after receiving the user's start instruction, perform time assignment processing on the step integration result according to the acquired current time, so as to display the step corresponding to the timeline at the current time in the step integration result to the user in real time through voice or text.

作为本申请实施例的又一种可选,在所述根据处理后的每个所述菜谱所对应的所有步骤以及所有所述编码值,得到步骤整合结果之后,还包括:As another optional embodiment of the present application, after obtaining the step integration result according to all the steps and all the code values corresponding to each of the processed recipes, the method further includes:

当检测到用户的暂停指令时,根据获取到的第一时刻对所述步骤整合结果进行步骤剔除处理;When a pause instruction from the user is detected, a step elimination process is performed on the step integration result according to the acquired first moment;

在检测到用户的执行指令之后,根据获取到的第二时刻对处理后的所述步骤整合结果进行时刻赋值处理,并展示处理后的所述步骤整合结果。After detecting the user's execution instruction, the processed step integration result is assigned a time value according to the acquired second time, and the processed step integration result is displayed.

具体地,为了便于实时匹配用户的实际使用情况,在通过语音或是文字等方式实时向用户展示步骤整合结果的过程中,当移动终端检测到用户的暂停指令时,表明用户当前停止烹饪处理,进而可根据步骤整合结果的开始时刻以及当前获取到的第一时刻,在步骤整合结果中剔除掉处于该开始时刻以及第一时刻之间的所有时间轴以及相应的步骤,并在后续检测到用户的执行指令之后,表明用户当前恢复烹饪处理,进而还可根据当前获取到的第二时刻重新对经过剔除处理后的步骤整合结果进行时刻赋值处理,以重新通过语音或是文字等方式实时向用户展示处理后的步骤整合结果中处于当前时刻的时间轴所对应的步骤。Specifically, in order to facilitate real-time matching of the user's actual usage, in the process of displaying the step integration results to the user in real time through voice or text, when the mobile terminal detects the user's pause command, it indicates that the user is currently stopping the cooking process, and then according to the start time of the step integration result and the first time currently obtained, all time axes and corresponding steps between the start time and the first time can be eliminated in the step integration result, and after the user's execution instruction is subsequently detected, it indicates that the user is currently resuming the cooking process, and then the step integration result after the elimination processing can be re-assigned according to the second time currently obtained, so as to re-display the steps corresponding to the time axis at the current time in the processed step integration result to the user in real time through voice or text.

请参阅图11,图11示出了本申请实施例提供的一种多菜谱步骤整合装置的结构示意图。Please refer to FIG. 11 , which shows a schematic structural diagram of a multi-recipe step integration device provided in an embodiment of the present application.

如图11所示,该多菜谱步骤整合装置至少可以包括步骤生成模块1101、编码处理模块1102以及步骤整合模块1103,其中:As shown in FIG. 11 , the multi-recipe step integration device may include at least a step generation module 1101, a coding processing module 1102 and a step integration module 1103, wherein:

步骤生成模块1101,用于从至少两个菜谱中提取出与备菜类型对应的第一步骤集合,并按照食材名称对第一步骤集合进行整合处理,得到至少两个备菜步骤;The step generation module 1101 is used to extract a first step set corresponding to a dish preparation type from at least two recipes, and integrate the first step set according to the names of ingredients to obtain at least two dish preparation steps;

编码处理模块1102,用于将每个备菜步骤添加至相应的菜谱中,并对处理后的每个菜谱进行步骤编码处理,得到至少两种编码值;The coding processing module 1102 is used to add each food preparation step to the corresponding recipe, and perform step coding processing on each processed recipe to obtain at least two coding values;

步骤整合模块1103,用于根据处理后的每个菜谱所对应的所有步骤以及所有编码值,得到步骤整合结果。The step integration module 1103 is used to obtain a step integration result according to all steps and all coding values corresponding to each processed recipe.

在一些可能的实施例中,在从至少两个菜谱中提取出与备菜类型对应的第一步骤集合之前,还包括:In some possible embodiments, before extracting the first step set corresponding to the dish preparation type from at least two recipes, the method further includes:

从至少两个菜谱中提取出至少两组食材数据,并按照预设的数据库对所有食材数据进行名称归类处理,得到至少两种标准名称;其中,每组食材数据包括食材名称以及食材重量,预设的数据库包括至少两种标准名称以及与每种标准名称对应的至少一种食材名称;Extracting at least two groups of ingredient data from at least two recipes, and classifying all the ingredient data according to a preset database to obtain at least two standard names; wherein each group of ingredient data includes an ingredient name and an ingredient weight, and the preset database includes at least two standard names and at least one ingredient name corresponding to each standard name;

根据每种标准名称在所有食材数据中所对应的至少一个食材重量,计算出相应的标准重量;Calculate the corresponding standard weight according to at least one food weight corresponding to each standard name in all food data;

按照预设的分类顺序对所有标准名称进行分类处理,并根据处理后的所有标准名称以及与每种标准名称对应的标准重量,得到所有菜谱的购物清单。All standard names are classified and processed according to a preset classification order, and a shopping list of all recipes is obtained according to all the processed standard names and the standard weight corresponding to each standard name.

在一些可能的实施例中,在从至少两个菜谱中提取出与备菜类型对应的第一步骤集合之前,还包括:In some possible embodiments, before extracting the first step set corresponding to the dish preparation type from at least two recipes, the method further includes:

对至少两个菜谱中每个菜谱的每个初始步骤进行识别处理,得到相应的至少两个关键词;Performing identification processing on each initial step of each recipe in at least two recipes to obtain at least two corresponding keywords;

在预设的关键词-时间系数库中查询出与每个关键词对应的时间系数,并根据每个初始步骤所对应的所有时间系数以及预设的校正系数,计算出相应的步骤时间;其中,预设的关键词-时间系数库包括至少三种食材类型所分别对应的至少两个关键词,以及与每个关键词对应的时间系数。The time coefficient corresponding to each keyword is queried in the preset keyword-time coefficient library, and the corresponding step time is calculated based on all the time coefficients corresponding to each initial step and the preset correction coefficient; wherein the preset keyword-time coefficient library includes at least two keywords corresponding to at least three types of ingredients, and the time coefficient corresponding to each keyword.

在一些可能的实施例中,按照食材名称对第一步骤集合进行整合处理,得到至少两个备菜步骤,包括:In some possible embodiments, the first step set is integrated according to the names of the ingredients to obtain at least two steps of preparing the dish, including:

根据每个菜谱所对应的所有步骤时间之和,对所有菜谱进行排序处理;Sort all recipes according to the sum of the time of all steps corresponding to each recipe;

当第一步骤集合中任意一个食材名称所对应的初始步骤个数超过预设的个数阈值时,对相应所有初始步骤进行整合处理,并根据所有菜谱的排序结果以及处理后的所有初始步骤,得到备菜步骤;When the number of initial steps corresponding to any ingredient name in the first step set exceeds a preset number threshold, all corresponding initial steps are integrated, and a preparation step is obtained according to the sorting results of all recipes and all processed initial steps;

当第一步骤集合中任意一个食材名称所对应的初始步骤个数未超过预设的个数阈值时,根据相应初始步骤以及与初始步骤对应的菜谱,得到备菜步骤;When the number of initial steps corresponding to any ingredient name in the first step set does not exceed a preset number threshold, a dish preparation step is obtained according to the corresponding initial step and a recipe corresponding to the initial step;

根据每个备菜步骤所包含所有初始步骤的步骤时间,确定出相应备菜步骤的步骤时间。According to the step times of all initial steps included in each food preparation step, the step time of the corresponding food preparation step is determined.

在一些可能的实施例中,至少两种编码值包括第一种编码值以及第二种编码值;In some possible embodiments, the at least two encoding values include a first encoding value and a second encoding value;

根据处理后的每个菜谱所对应的所有步骤以及所有编码值,得到步骤整合结果,包括:According to all the steps and all the coding values corresponding to each processed recipe, the step integration results are obtained, including:

从处理后的每个菜谱中筛选出与烹饪类型对应的所有初始步骤,并根据所有初始步骤中的所有第一种编码值,确定出相应的第二步骤集合;Filter out all initial steps corresponding to the cooking type from each processed recipe, and determine a corresponding set of second steps based on all first coding values in all initial steps;

基于预设的第一字符以及每个第二步骤集合所对应的步骤时间,筛选出两个第二步骤集合,并根据两个第二步骤集合所分别对应的菜谱名称、步骤时间以及所有第二种编码值,对预设的时间线列表进行填充处理;Based on the preset first character and the step time corresponding to each second step set, two second step sets are selected, and the preset timeline list is filled according to the recipe names, step times and all second coding values respectively corresponding to the two second step sets;

基于处理后的预设的时间线列表,以及处理后的每个菜谱所对应的剩余所有步骤以及所有编码值,得到步骤整合结果。Based on the processed preset timeline list, and all remaining steps and all coding values corresponding to each processed recipe, a step integration result is obtained.

在一些可能的实施例中,根据两个第二步骤集合所分别对应的菜谱名称、步骤时间以及所有第二种编码值,对预设的时间线列表进行填充处理,包括:In some possible embodiments, the preset timeline list is filled according to the recipe names, step times and all second coding values respectively corresponding to the two second step sets, including:

根据两个第二步骤集合所分别对应的菜谱名称以及步骤时间,对预设的时间线列表进行填充处理,以使两个第二步骤集合的结束时间一致;Filling the preset timeline list according to the recipe names and step times respectively corresponding to the two second step sets, so that the end times of the two second step sets are consistent;

当两个第二步骤集合所分别对应的所有第二种编码值中均存在预设的第二字符时,根据处理后的预设的时间线列表判断预设的第二字符是否存在时间重合;When the preset second characters exist in all the second encoding values respectively corresponding to the two second step sets, judging whether the preset second characters have time overlap according to the processed preset timeline list;

当确定预设的第二字符存在时间重合时,对处理后的预设的时间线列表进行平移处理。When it is determined that the preset second character has a time overlap, the processed preset timeline list is shifted.

在一些可能的实施例中,基于处理后的预设的时间线列表,以及处理后的每个菜谱所对应的剩余所有步骤以及所有编码值,得到步骤整合结果,包括:In some possible embodiments, based on the processed preset timeline list, and all remaining steps and all coding values corresponding to each processed recipe, a step integration result is obtained, including:

当在剩余的所有第二步骤集合中检测到至少一个第二步骤集合的所有第一种编码值存在预设的第一字符时,根据相应所有第二步骤集合所分别对应的菜谱名称、步骤时间以及所有第二种编码值,对处理后的预设的时间线列表进行填充处理;When it is detected that all the first encoding values of at least one second step set in all the remaining second step sets have the preset first character, the processed preset timeline list is filled according to the recipe names, step times and all the second encoding values respectively corresponding to all the second step sets;

当在剩余的所有第二步骤集合中检测到至少一个第二步骤集合的所有第一种编码值存在预设的第三字符时,根据相应所有第二步骤集合所分别对应的菜谱名称、步骤时间以及所有第二种编码值,对处理后的预设的时间线列表进行填充处理;When it is detected that all the first encoding values of at least one second step set in all the remaining second step sets have the preset third character, the processed preset timeline list is filled according to the recipe names, step times and all the second encoding values respectively corresponding to all the second step sets;

根据处理后的预设的时间线列表,以及处理后的每个菜谱所对应的所有备菜步骤,得到步骤整合结果。According to the processed preset timeline list and all the food preparation steps corresponding to each processed recipe, a step integration result is obtained.

在一些可能的实施例中,根据处理后的预设的时间线列表以及处理后的每个菜谱所对应的所有备菜步骤,得到步骤整合结果,包括:In some possible embodiments, according to the processed preset timeline list and all the food preparation steps corresponding to each processed recipe, a step integration result is obtained, including:

按照预设的时间顺序在处理后的预设的时间线列表中依次确定出至少两个填充区域,并根据每个填充区域所对应的菜谱名称,将相应处理后的菜谱所对应的所有备菜步骤填充在处理后的预设的时间线列表中;At least two filling areas are sequentially determined in the processed preset timeline list according to a preset time sequence, and all the preparation steps corresponding to the processed recipe are filled in the processed preset timeline list according to the recipe name corresponding to each filling area;

将处理后的预设的时间线列表作为步骤整合结果。The processed preset timeline list is used as the step integration result.

在一些可能的实施例中,在根据处理后的每个菜谱所对应的所有步骤以及所有编码值,得到步骤整合结果之后,还包括:In some possible embodiments, after obtaining the step integration result according to all the steps and all the coding values corresponding to each processed recipe, the method further includes:

当检测到用户的暂停指令时,根据获取到的第一时刻对步骤整合结果进行步骤剔除处理;When a user's pause instruction is detected, the step integration result is subjected to step elimination processing according to the first moment acquired;

在检测到用户的执行指令之后,根据获取到的第二时刻对处理后的步骤整合结果进行时刻赋值处理,并展示处理后的步骤整合结果。After detecting the user's execution instruction, the processed step integration result is assigned a time value according to the acquired second time, and the processed step integration result is displayed.

请参阅图12,图12示出了本申请实施例提供的一种移动终端的结构示意图。Please refer to FIG. 12 , which shows a schematic diagram of the structure of a mobile terminal provided in an embodiment of the present application.

如图12所示,该移动终端1200可以包括至少一个处理器1201、至少一个网络接口1204、用户接口1203、存储器1205以及至少一个通信总线1202。As shown in FIG. 12 , the mobile terminal 1200 may include at least one processor 1201 , at least one network interface 1204 , a user interface 1203 , a memory 1205 , and at least one communication bus 1202 .

其中,通信总线1202可用于实现上述各个组件的连接通信。The communication bus 1202 may be used to realize the connection and communication among the above-mentioned components.

其中,用户接口1203可以包括按键,可选用户接口还可以包括标准的有线接口、无线接口。The user interface 1203 may include buttons, and the optional user interface may also include a standard wired interface or a wireless interface.

其中,网络接口1204可以但不局限于包括蓝牙模块、NFC模块、Wi-Fi模块等。The network interface 1204 may include, but is not limited to, a Bluetooth module, an NFC module, a Wi-Fi module, etc.

其中,处理器1201可以包括一个或者多个处理核心。处理器1201利用各种接口和线路连接移动终端1200内的各个部分,通过运行或执行存储在存储器1205内的指令、程序、代码集或指令集,以及调用存储在存储器1205内的数据,执行路由移动终端1200的各种功能和处理数据。可选的,处理器1201可以采用DSP、FPGA、PLA中的至少一种硬件形式来实现。处理器1201可集成CPU、GPU和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示屏所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器1201中,单独通过一块芯片进行实现。Among them, the processor 1201 may include one or more processing cores. The processor 1201 uses various interfaces and lines to connect various parts in the mobile terminal 1200, and executes various functions and processes data of the routing mobile terminal 1200 by running or executing instructions, programs, code sets or instruction sets stored in the memory 1205, and calling data stored in the memory 1205. Optionally, the processor 1201 can be implemented in at least one hardware form of DSP, FPGA, and PLA. The processor 1201 can integrate one or a combination of CPU, GPU, modem, etc. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 1201, and it can be implemented separately through a chip.

其中,存储器1205可以包括RAM,也可以包括ROM。可选的,该存储器1205包括非瞬时性计算机可读介质。存储器1205可用于存储指令、程序、代码、代码集或指令集。存储器1205可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等;存储数据区可存储上面各个方法实施例中涉及到的数据等。存储器1205可选的还可以是至少一个位于远离前述处理器1201的存储装置。如图12所示,作为一种计算机存储介质的存储器1205中可以包括操作系统、网络通信模块、用户接口模块以及多菜谱步骤整合应用程序。Among them, the memory 1205 may include RAM or ROM. Optionally, the memory 1205 includes a non-transitory computer-readable medium. The memory 1205 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 1205 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 1205 may also be at least one storage device located away from the aforementioned processor 1201. As shown in Figure 12, the memory 1205 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a multi-recipe step integration application.

具体地,处理器1201可以用于调用存储器1205中存储的多菜谱步骤整合应用程序,并具体执行以下操作:Specifically, the processor 1201 may be used to call the multi-recipe step integration application stored in the memory 1205, and specifically perform the following operations:

从至少两个菜谱中提取出与备菜类型对应的第一步骤集合,并按照食材名称对第一步骤集合进行整合处理,得到至少两个备菜步骤;Extracting a first step set corresponding to the dish preparation type from at least two recipes, and integrating the first step set according to the names of the ingredients to obtain at least two dish preparation steps;

将每个备菜步骤添加至相应的菜谱中,并对处理后的每个菜谱进行步骤编码处理,得到至少两种编码值;Add each food preparation step to a corresponding recipe, and perform step coding on each processed recipe to obtain at least two coding values;

根据处理后的每个菜谱所对应的所有步骤以及所有编码值,得到步骤整合结果。According to all the steps and all the coding values corresponding to each processed recipe, the step integration result is obtained.

本申请还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述方法的步骤。其中,计算机可读存储介质可以包括但不限于任何类型的盘,包括软盘、光盘、DVD、CD-ROM、微型驱动器以及磁光盘、ROM、RAM、EPROM、EEPROM、DRAM、VRAM、闪速存储器设备、磁卡或光卡、纳米系统(包括分子存储器IC),或适合于存储指令和/或数据的任何类型的媒介或设备。The present application also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a micro drive, and a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and/or data.

Claims (10)

1. A method for integrating multiple menu steps, comprising:
Extracting a first step set corresponding to the standby food type from at least two menus, and integrating the first step set according to the food material names to obtain at least two standby food steps;
Adding each standby menu step into a corresponding menu, and carrying out step coding treatment on each menu after treatment to obtain at least two coding values;
and obtaining a step integration result according to all the steps corresponding to each processed menu and all the coding values.
2. The method of claim 1, further comprising, prior to extracting the first set of steps corresponding to the alternate type from the at least two recipes:
extracting at least two groups of food material data from at least two menus, and performing name classification processing on all the food material data according to a preset database to obtain at least two standard names; wherein, each group of food material data comprises food material names and food material weights, and the preset database comprises at least two standard names and at least one food material name corresponding to each standard name;
calculating corresponding standard weight according to at least one food weight corresponding to each standard name in all the food material data;
And classifying all the standard names according to a preset classification sequence, and obtaining shopping lists of all the menus according to all the processed standard names and the standard weights corresponding to each standard name.
3. The method of claim 1, further comprising, prior to extracting the first set of steps corresponding to the alternate type from the at least two recipes:
identifying each initial step of each menu in at least two menus to obtain at least two corresponding keywords;
inquiring a time coefficient corresponding to each keyword in a preset keyword-time coefficient library, and calculating corresponding step time according to all the time coefficients corresponding to each initial step and a preset correction coefficient; the preset keyword-time coefficient library comprises at least two keywords corresponding to at least three food material types respectively, and time coefficients corresponding to each keyword.
4. A method according to claim 3, wherein the step of integrating the first set of steps according to food material names to obtain at least two standby vegetables comprises:
sequencing all the menus according to the sum of all the step time corresponding to each menu;
When the number of the initial steps corresponding to any one food material name in the first step set exceeds a preset number threshold, carrying out integration processing on all the corresponding initial steps, and obtaining a standby step according to the sequencing result of all the menus and all the processed initial steps;
When the number of the initial steps corresponding to any one food material name in the first step set does not exceed the preset number threshold, obtaining a standby menu step according to the corresponding initial steps and the menu corresponding to the initial steps;
And determining the step time of the corresponding standby vegetable step according to the step time of all the initial steps contained in each standby vegetable step.
5. The method of claim 4, wherein the at least two encoded values comprise a first encoded value and a second encoded value;
And obtaining a step integration result according to all the steps corresponding to each processed menu and all the code values, wherein the step integration result comprises the following steps:
Screening all the initial steps corresponding to the cooking types from each processed menu, and determining a corresponding second step set according to all the first coding values in all the initial steps;
Screening two second step sets based on a preset first character and step time corresponding to each second step set, and filling a preset time line list according to menu names, step time and all second coding values corresponding to the two second step sets respectively;
and obtaining a step integration result based on the processed preset time line list, all the remaining steps corresponding to each menu and all the coding values.
6. The method of claim 5, wherein the filling the preset timeline list according to the menu names, the step times, and all the second code values respectively corresponding to the two second step sets comprises:
Filling a preset time line list according to menu names and step time respectively corresponding to the two second step sets so as to enable the ending time of the two second step sets to be consistent;
When all the second code values corresponding to the two second step sets respectively have preset second characters, judging whether the preset second characters have time coincidence or not according to the processed preset time line list;
and when the existence time of the preset second character is determined to be coincident, performing translation processing on the processed preset time line list.
7. The method of claim 5, wherein the step integration result is obtained based on the processed preset timeline list and all remaining steps and all the encoded values corresponding to each of the processed recipes, and includes:
When detecting that all the first coding values of at least one second step set exist the preset first characters in all the remaining second step sets, filling the processed preset time line list according to the menu names, step time and all the second coding values respectively corresponding to all the second step sets;
When detecting that all the first coding values of at least one second step set exist preset third characters in all the remaining second step sets, filling the processed preset time line list according to the menu names, step time and all the second coding values respectively corresponding to all the second step sets;
And obtaining a step integration result according to the processed preset time line list and all the standby menu steps corresponding to each menu.
8. The method of claim 7, wherein the step of obtaining step integration results according to the processed preset timeline list and all the standby menu steps corresponding to each of the processed menus comprises:
sequentially determining at least two filling areas in the processed preset time line list according to a preset time sequence, and filling all the standby menu steps corresponding to the corresponding processed menu in the processed preset time line list according to the menu name corresponding to each filling area;
And taking the processed preset time line list as a step integration result.
9. The method according to claim 1, further comprising, after said step integration result is obtained according to all steps and all the code values corresponding to each of the processed recipes:
When a pause instruction of a user is detected, step elimination processing is carried out on the step integration result according to the acquired first moment;
And after detecting the execution instruction of the user, performing time assignment processing on the processed step integration result according to the acquired second time, and displaying the processed step integration result.
10. A multiple recipe step integration apparatus, comprising:
The step generation module is used for extracting a first step set corresponding to the standby menu type from at least two menus, and carrying out integration treatment on the first step set according to the food material names to obtain at least two standby menu steps;
the coding processing module is used for adding each menu preparation step into the corresponding menu, and performing step coding processing on each processed menu to obtain at least two coding values;
And the step integration module is used for obtaining a step integration result according to all steps and all the coding values corresponding to each menu after processing.
CN202411118810.7A 2024-08-15 2024-08-15 Multi-menu step integration method and device Active CN118627704B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411118810.7A CN118627704B (en) 2024-08-15 2024-08-15 Multi-menu step integration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411118810.7A CN118627704B (en) 2024-08-15 2024-08-15 Multi-menu step integration method and device

Publications (2)

Publication Number Publication Date
CN118627704A true CN118627704A (en) 2024-09-10
CN118627704B CN118627704B (en) 2024-11-29

Family

ID=92608625

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411118810.7A Active CN118627704B (en) 2024-08-15 2024-08-15 Multi-menu step integration method and device

Country Status (1)

Country Link
CN (1) CN118627704B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6789067B1 (en) * 2000-12-19 2004-09-07 Gateway, Inc. Multiple recipe merge with feedback
JP2006309628A (en) * 2005-05-02 2006-11-09 Nippon Telegr & Teleph Corp <Ntt> Cooking navigation method and communication terminal device
JP2007249862A (en) * 2006-03-17 2007-09-27 Toshiba Corp Cooking support device, cooking support method and program
CN107358495A (en) * 2017-06-23 2017-11-17 深圳饭来科技有限公司 A kind of implementation method, server and the intelligent cooking apparatus of O2O food and drink
CN113919722A (en) * 2021-10-19 2022-01-11 珠海格力电器股份有限公司 Dish cooking management method and device, electronic equipment and computer readable storage medium
CN114428467A (en) * 2020-10-29 2022-05-03 珠海优特智厨科技有限公司 Shared device reservation cooking method, storage medium and computer device
CN114747924A (en) * 2020-12-25 2022-07-15 珠海优特智厨科技有限公司 Cooking track planning method, storage medium and cooking equipment
CN116091019A (en) * 2022-12-22 2023-05-09 珠海格力电器股份有限公司 Prompting method, prompting device, electronic equipment and storage medium
CN117873353A (en) * 2023-12-29 2024-04-12 深圳市发掘科技有限公司 Electronic menu generation display method and device, computer equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6789067B1 (en) * 2000-12-19 2004-09-07 Gateway, Inc. Multiple recipe merge with feedback
JP2006309628A (en) * 2005-05-02 2006-11-09 Nippon Telegr & Teleph Corp <Ntt> Cooking navigation method and communication terminal device
JP2007249862A (en) * 2006-03-17 2007-09-27 Toshiba Corp Cooking support device, cooking support method and program
CN107358495A (en) * 2017-06-23 2017-11-17 深圳饭来科技有限公司 A kind of implementation method, server and the intelligent cooking apparatus of O2O food and drink
CN114428467A (en) * 2020-10-29 2022-05-03 珠海优特智厨科技有限公司 Shared device reservation cooking method, storage medium and computer device
CN114747924A (en) * 2020-12-25 2022-07-15 珠海优特智厨科技有限公司 Cooking track planning method, storage medium and cooking equipment
CN113919722A (en) * 2021-10-19 2022-01-11 珠海格力电器股份有限公司 Dish cooking management method and device, electronic equipment and computer readable storage medium
CN116091019A (en) * 2022-12-22 2023-05-09 珠海格力电器股份有限公司 Prompting method, prompting device, electronic equipment and storage medium
CN117873353A (en) * 2023-12-29 2024-04-12 深圳市发掘科技有限公司 Electronic menu generation display method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN118627704B (en) 2024-11-29

Similar Documents

Publication Publication Date Title
CN108681283A (en) A kind of intelligent cooking method and system
US9519694B2 (en) Device for presenting recipe and method for presenting recipe
JP6568382B2 (en) Method to classify the cooking process of multiple recipes into preparatory process and finishing process
CN108447543A (en) Menu method for pushing based on cooking equipment and device
CN109683516A (en) Auxiliary cooking method, household appliance and computer storage medium
CN111105820B (en) Menu broadcasting method, system, storage medium and electronic device
Pan et al. Food recipe alternation and generation with natural language processing techniques
CN107577722A (en) Menu display method and device, electronic equipment and storage medium
CN107566908A (en) Intelligent television obtains method, intelligent television and the storage medium of menu
CN108255084A (en) Cooking control method and kitchen house keeper robot based on control device
JP2007128305A (en) Cooking support device
CN115587245A (en) Recommended method, device, storage medium and electronic device for recipe list
CN110309372A (en) Intelligent recipe recommendation device, its method and automatic cooking device
WO2025118787A1 (en) Cooking method for solving mutual promotion and mutual restraint relationship between multiple food ingredients on basis of large ai model, and intelligent cooking device therefor
CN114203280A (en) Method and device for recommending menu, computer readable storage medium and processor
CN110716472B (en) Method and device for creating electronic menu, electronic equipment and storage medium
CN116484083A (en) Method and device for displaying dish information, storage medium and electronic device
CN110162705B (en) Method, device and storage medium for automatic plate placement based on smart kitchen
CN110968748A (en) Electronic menu processing method, device and system
CN110826595A (en) Menu comparison method and device and computer storage medium
CN118627704A (en) A method and device for integrating multiple recipe steps
CN112394149A (en) Food material maturity detection prompting method and device and kitchen electrical equipment
JP7565506B2 (en) Cooking learning support system and cooking learning support method
CN110852911A (en) Method and device for determining cooking difficulty level of menu, storage medium and terminal
CN109856981A (en) A kind of intelligent kitchen auxiliary cooking 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
GR01 Patent grant
GR01 Patent grant