[go: up one dir, main page]

CN113609172B - Virtual storage management method, device, computer equipment and storage medium - Google Patents

Virtual storage management method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN113609172B
CN113609172B CN202110844373.7A CN202110844373A CN113609172B CN 113609172 B CN113609172 B CN 113609172B CN 202110844373 A CN202110844373 A CN 202110844373A CN 113609172 B CN113609172 B CN 113609172B
Authority
CN
China
Prior art keywords
target
menu
information
virtual storage
item
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.)
Active
Application number
CN202110844373.7A
Other languages
Chinese (zh)
Other versions
CN113609172A (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.)
Shenzhen Chenbei Technology Co Ltd
Original Assignee
Shenzhen Chenbei Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Chenbei Technology Co Ltd filed Critical Shenzhen Chenbei Technology Co Ltd
Priority to CN202110844373.7A priority Critical patent/CN113609172B/en
Publication of CN113609172A publication Critical patent/CN113609172A/en
Application granted granted Critical
Publication of CN113609172B publication Critical patent/CN113609172B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/2457Query processing with adaptation to user needs
    • 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/23Updating
    • 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/248Presentation of query results
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application provides a virtual storage management method, a device, computer equipment and a storage medium, wherein the virtual storage management method comprises the following steps: under the condition that a display instruction of a target menu is acquired, displaying menu information of the target menu according to first article information stored in a virtual storage space; under the condition that a menu confirmation instruction input by a user based on the menu information is acquired, determining second article information according to the menu confirmation instruction; and updating the first article information according to the second article information so as to update the storage information of the target article in the virtual storage space. The application can realize the accurate record of the storage condition of household articles before and after making dishes, and is beneficial to the effective management of the household articles by users.

Description

虚拟储物管理方法、装置、计算机设备和存储介质Virtual storage management method, device, computer equipment and storage medium

技术领域Technical Field

本发明涉及数据库技术领域,尤其涉及一种虚拟储物管理方法、装置、计算机设备和存储介质。The present invention relates to the field of database technology, and in particular to a virtual storage management method, device, computer equipment and storage medium.

背景技术Background technique

随着人们生活水平提高和经济发展,人们会购置各种各样的家用物品以使生活更丰富和便利,同时又因为美观和经济的需求,将这些家用物品收纳至储物设备中以保持家庭场景的整洁大方;因此,在日常生活使用时往往容易疏于对家用物品的管理,比如在烹饪场合会因为缺少某些食材而无法制作某个菜,这会降低生活品质,影响生活中的心情,带来生活上的困扰。As people's living standards improve and the economy develops, they will purchase a variety of household items to make their lives richer and more convenient. At the same time, due to aesthetic and economic needs, they store these household items in storage devices to keep the home scene tidy and elegant. Therefore, it is often easy to neglect the management of household items in daily life. For example, in cooking situations, a certain dish cannot be made due to the lack of certain ingredients, which will reduce the quality of life, affect the mood in life, and bring troubles to life.

发明内容Summary of the invention

本申请提供一种虚拟储物管理方法、装置、计算机设备及存储介质,以对家用物品进行有效管理。The present application provides a virtual storage management method, apparatus, computer equipment and storage medium to effectively manage household items.

第一方面,提供一种虚拟储物管理方法,该方法包括以下步骤:In a first aspect, a virtual storage management method is provided, the method comprising the following steps:

在获取到目标菜谱的显示指令的情况下,根据虚拟储物空间中存储的第一物品信息,显示所述目标菜谱的菜谱信息,所述菜谱信息包括所述目标菜谱对应的目标物品和所述目标物品在所述虚拟储物空间中的储存信息,所述第一物品信息用于反映真实场景中的家用物品的储存情况;In the case of obtaining a display instruction of a target recipe, displaying recipe information of the target recipe according to first item information stored in the virtual storage space, the recipe information including a target item corresponding to the target recipe and storage information of the target item in the virtual storage space, the first item information being used to reflect the storage status of household items in a real scene;

在获取到用户基于所述菜谱信息输入的菜谱确认指令的情况下,根据所述菜谱确认指令确定第二物品信息,所述第二物品信息用于指示用户基于所述目标菜谱从所述真实场景中获取所述目标物品的信息;In the case of obtaining a recipe confirmation instruction input by the user based on the recipe information, determining second item information according to the recipe confirmation instruction, where the second item information is used to instruct the user to obtain information of the target item from the real scene based on the target recipe;

根据所述第二物品信息更新所述第一物品信息,以更新所述目标物品在所述虚拟储物空间中的储存信息。The first item information is updated according to the second item information to update the storage information of the target item in the virtual storage space.

在该技术方案中,根据反映真实场景中的家用物品的储存情况的第一物品信息显示目标菜谱的菜谱信息,可以使得用户在查看目标菜谱时直观地看到目标菜谱所需要的目标物品,以及目标物品在虚拟储物空间中的储存信息,其中,所述储存信息来源于第一物品信息,反映了目标物品在真实场景中的储存情况;通过指示用户基于所述目标菜谱从所述真实场景中获取所述目标物品的第二物品信息,可以得到制作目标菜谱的菜品所需要的目标物品和目标物品的数量,在获取到菜谱确认指令后,视为用户确认要制作目标菜谱的菜品,最后根据所述第二物品信息更新所述第一物品信息,以更新所述目标物品在所述虚拟储物空间中的储存信息,使得所述虚拟储物空间中的储存信息与真实场景中的家用物品的储存情况保持一致,实现了对制作菜品前后的家用物品储存情况的准确记录,有利于用户对家用物品的有效管理。In this technical solution, the recipe information of the target recipe is displayed according to the first item information reflecting the storage situation of household items in the real scene, so that the user can intuitively see the target items required for the target recipe and the storage information of the target items in the virtual storage space when viewing the target recipe, wherein the storage information is derived from the first item information, reflecting the storage situation of the target items in the real scene; by instructing the user to obtain the second item information of the target item from the real scene based on the target recipe, the target item and the quantity of the target item required for making the dishes of the target recipe can be obtained; after obtaining the recipe confirmation instruction, it is deemed that the user confirms to make the dishes of the target recipe; finally, the first item information is updated according to the second item information to update the storage information of the target item in the virtual storage space, so that the storage information in the virtual storage space is consistent with the storage situation of household items in the real scene, thereby realizing accurate recording of the storage situation of household items before and after making dishes, which is beneficial to the user's effective management of household items.

结合第一方面,在一种可能的实现方式中,上述虚拟储物空间包括至少一个虚拟储物单元,一个虚拟储物单元对应一个所述真实场景中的储物设备;上述方法还包括:在获取到第一虚拟储物单元的选择指令的情况下,显示所述第一虚拟储物单元的虚拟储物单元界面,所述虚拟储物单元界面用于展示所述第一虚拟储物单元中存储的第三物品信息,所述第一虚拟储物单元为所述虚拟储物空间中的任意一个虚拟储物单元;在通过所述虚拟储物单元界面获取到物品更改指令的情况下,根据所述更改指令更新所述第三物品信息,所述更改指令用于指示增加物品信息、修改物品信息或删除物品信息。通过以虚拟储物单元和真实场景中的储物柜、冰箱等储物设备建立对应关系,在虚拟储物单元界面中展示对应储物设备中储存的家用物品的信息,可以实现对家用物品的进一步细化管理;在非制作菜品的情况下,通过物品更改指令可以在家用物品变动时,及时地更新虚拟储物空间中的储物信息。In combination with the first aspect, in a possible implementation, the virtual storage space includes at least one virtual storage unit, and one virtual storage unit corresponds to one storage device in the real scene; the method further includes: in the case of obtaining a selection instruction of the first virtual storage unit, displaying a virtual storage unit interface of the first virtual storage unit, the virtual storage unit interface is used to display the third item information stored in the first virtual storage unit, and the first virtual storage unit is any virtual storage unit in the virtual storage space; in the case of obtaining an item change instruction through the virtual storage unit interface, updating the third item information according to the change instruction, and the change instruction is used to indicate adding item information, modifying item information or deleting item information. By establishing a corresponding relationship between the virtual storage unit and the storage devices such as lockers and refrigerators in the real scene, and displaying the information of household items stored in the corresponding storage device in the virtual storage unit interface, further detailed management of household items can be achieved; in the case of not making dishes, the storage information in the virtual storage space can be updated in time when the household items change through the item change instruction.

结合第一方面,在一种可能的实现方式中,上述显示所述第一虚拟储物单元的虚拟储物单元界面,包括:在所述虚拟储物单元界面上以不同颜色显示不同物品临期情况的第三物品信息。通过以不同颜色显示不同物品临期情况,可以有效地在用户浏览到第三物品信息时直观地提醒用户虚拟储物单元中家用物品的临期情况,督促用户加快对临期物品的使用以避免不必要的浪费。In conjunction with the first aspect, in a possible implementation, the virtual storage unit interface for displaying the first virtual storage unit includes: displaying third item information of different items near expiration in different colors on the virtual storage unit interface. By displaying different items near expiration in different colors, the user can be effectively reminded of the near expiration of household items in the virtual storage unit when the user browses to the third item information, and the user is urged to speed up the use of the near expiration items to avoid unnecessary waste.

结合第一方面,在一种可能的实现方式中,上述方法还包括:在获取到搜索物品指令的情况下,根据所述搜索物品指令中包含的待搜索物品,在虚拟储物空间中匹配与所述待搜索物品对应的第四物品信息,并显示所述第四物品信息。通过搜索物品指令可以快速地查找到第四物品信息并显示给用户查看,以避免用户忘记物品位置而耗费时间寻找对应物品或寻找不到物品最终导致物品过期的情况。In conjunction with the first aspect, in a possible implementation, the method further includes: when a search item instruction is obtained, matching fourth item information corresponding to the item to be searched in the virtual storage space according to the item to be searched contained in the search item instruction, and displaying the fourth item information. The search item instruction can be used to quickly find the fourth item information and display it to the user for viewing, so as to avoid the situation where the user forgets the location of the item and wastes time looking for the corresponding item or fails to find the item, which eventually causes the item to expire.

结合第一方面,在一种可能的实现方式中,上述根据虚拟储物空间中存储的第一物品信息,显示所述目标菜谱的菜谱信息之前,还包括:在获取到搜索菜谱指令的情况下,根据所述搜索菜谱指令中包含的菜谱关键词在菜谱数据库中匹配与所述菜谱关键词对应的菜谱作为搜索结果,并显示所述搜索结果;在获取到对所述搜索结果中的任一菜谱的选中指令的情况下,确认获取到所述目标菜谱的显示指令。根据搜索菜谱指令和选中指令可以触发目标菜谱的显示指令,用户可以通过更换目标菜谱查看各菜谱的目标物品和目标物品的储存信息,最终选择目标物品的储存信息满足要求的菜谱作为目标菜谱。In combination with the first aspect, in a possible implementation, before displaying the recipe information of the target recipe based on the first item information stored in the virtual storage space, the method further includes: when a recipe search instruction is obtained, matching recipes corresponding to the recipe keywords in the recipe database as search results based on the recipe keywords contained in the recipe search instruction, and displaying the search results; when a selection instruction for any recipe in the search results is obtained, confirming that a display instruction for the target recipe is obtained. The display instruction for the target recipe can be triggered based on the recipe search instruction and the selection instruction, and the user can view the target items and storage information of each recipe by changing the target recipe, and finally select the recipe whose storage information of the target item meets the requirements as the target recipe.

结合第一方面,在一种可能的实现方式中,上述方法还包括:获取用户输入的菜谱名称和所述菜谱名称对应的菜谱内容;将所述菜谱名称和所述菜谱内容保存在所述菜谱数据库中。在菜谱的搜索结果不能匹配用户需求时,用户可以通过新建菜谱或修改现有菜谱输入菜谱名称和所述菜谱名称对应的菜谱内容作为目标菜谱,并将所述目标菜谱保存至菜谱数据库。In conjunction with the first aspect, in a possible implementation, the method further includes: obtaining a recipe name input by a user and a recipe content corresponding to the recipe name; and saving the recipe name and the recipe content in the recipe database. When the recipe search results do not match the user's needs, the user can create a new recipe or modify an existing recipe to input a recipe name and a recipe content corresponding to the recipe name as a target recipe, and save the target recipe to the recipe database.

结合第一方面,在一种可能的实现方式中,上述菜谱信息还包括所述目标菜谱对应的菜品的制作方法以及制作一份所述菜品所需的目标物品用量;所述根据所述菜谱确认指令确定第二物品信息之前,还包括:获取用户输入的制作份数;根据所述制作方法确定制作步骤,并根据所述目标物品用量和所述制作份数确定每一制作步骤所需的目标物品和目标物品数量;显示所述每一制作步骤所需的目标物品和目标物品数量;在获取到用户对所述每一制作步骤所需的目标物品和目标物品数量的准备完成指令的情况下,确定获取到所述目标菜谱的确认指令。通过分步骤显示制作菜品所需要的目标物品及目标物品数量,可以帮助用户有条理地进行制作菜品的目标物品准备工作,或是在制作过程中获得关于当前步骤目标物品的提醒。In combination with the first aspect, in a possible implementation, the above-mentioned recipe information also includes the preparation method of the dish corresponding to the target recipe and the target item quantity required to prepare one serving of the dish; before determining the second item information according to the recipe confirmation instruction, it also includes: obtaining the number of servings input by the user; determining the preparation steps according to the preparation method, and determining the target item and the target item quantity required for each preparation step according to the target item quantity and the number of servings; displaying the target item and the target item quantity required for each preparation step; and determining the confirmation instruction for obtaining the target recipe when the user's preparation completion instruction for the target item and the target item quantity required for each preparation step is obtained. By displaying the target items and the target item quantity required for making a dish in steps, it can help the user to prepare the target items for making a dish in an organized manner, or to obtain a reminder about the target item of the current step during the preparation process.

结合第一方面,在一种可能的实现方式中,上述根据所述菜谱确认指令确定第二物品信息,包括:将所有步骤所需的目标物品和目标物品数量确定为所述第二物品信息。通过计算得到的制作一定份数菜品所需要的目标物品和目标物品数量,将所述目标物品和目标物品数量作为第二物品信息,可以准确地表征当前制作菜品流程所消耗的家用物品及其数量,以使根据第二物品信息更新后的第一物品信息能够准确地反映制作菜品后真实场景中的家用物品储存情况。In combination with the first aspect, in a possible implementation, the determining the second item information according to the recipe confirmation instruction includes: determining the target item and the target item quantity required for all steps as the second item information. The target item and the target item quantity required for making a certain number of dishes are calculated, and the target item and the target item quantity are used as the second item information, so that the household items consumed in the current dish making process and their quantity can be accurately represented, so that the first item information updated according to the second item information can accurately reflect the storage situation of household items in the real scene after making the dish.

第二方面,提供一种虚拟储物管理装置,包括:In a second aspect, a virtual storage management device is provided, comprising:

菜谱显示模块,用于在获取到目标菜谱的显示指令的情况下,根据虚拟储物空间中存储的第一物品信息,显示所述目标菜谱的菜谱信息,所述菜谱信息包括所述目标菜谱对应的目标物品和所述目标物品在所述虚拟储物空间中的储存信息,所述第一物品信息用于反映真实场景中的家用物品的储存情况;a recipe display module, configured to display recipe information of a target recipe according to first item information stored in a virtual storage space when a display instruction of a target recipe is obtained, wherein the recipe information includes a target item corresponding to the target recipe and storage information of the target item in the virtual storage space, wherein the first item information is used to reflect the storage status of household items in a real scene;

菜谱确认模块,用于在获取到用户基于所述菜谱信息输入的菜谱确认指令的情况下,根据所述菜谱确认指令确定第二物品信息,所述第二物品信息用于指示用户基于所述目标菜谱从所述真实场景中获取所述目标物品的信息;a recipe confirmation module, configured to, upon obtaining a recipe confirmation instruction input by a user based on the recipe information, determine second item information according to the recipe confirmation instruction, wherein the second item information is used to instruct the user to obtain information of the target item from the real scene based on the target recipe;

更新模块,用于根据所述第二物品信息更新所述第一物品信息,以更新所述目标物品在所述虚拟储物空间中的储存信息。An updating module is used to update the first item information according to the second item information, so as to update the storage information of the target item in the virtual storage space.

第三方面,提供计算机设备,包括存储器以及一个或多个处理器,一个或多个处理器用于执行存储在存储器中的一个或多个计算机程序,一个或多个处理器在执行一个或多个计算机程序时,使得该计算机设备实现上述第一方面的虚拟储物管理方法。In a third aspect, a computer device is provided, comprising a memory and one or more processors, wherein the one or more processors are used to execute one or more computer programs stored in the memory, and when the one or more processors execute the one or more computer programs, the computer device implements the virtual storage management method of the first aspect.

第四方面,提供一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序包括程序指令,上述程序指令当被处理器执行时使上述处理器执行上述第一方面的虚拟储物管理方法。In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the virtual storage management method of the first aspect.

本申请可以实现如下有益效果:可以实现对制作菜品前后的家用物品储存情况的准确记录,有利于用户对家用物品的有效管理。The present application can achieve the following beneficial effects: accurate records of the storage conditions of household items before and after preparing dishes can be achieved, which is beneficial for users to effectively manage household items.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

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

其中:in:

图1为本申请实施例提供的一种虚拟储物管理方法的实施流程图;FIG1 is a flowchart of a virtual storage management method according to an embodiment of the present application;

图2a为本申请实施例提供的一种模拟厨房界面的示意图;FIG2a is a schematic diagram of a simulated kitchen interface provided in an embodiment of the present application;

图2b为本申请实施例提供的一种菜谱搜索结果界面的示意图;FIG2b is a schematic diagram of a recipe search result interface provided by an embodiment of the present application;

图2c为本申请实施例提供的一种菜谱详情界面的示意图;FIG2c is a schematic diagram of a recipe details interface provided in an embodiment of the present application;

图2d为本申请实施例提供的一种创建菜谱界面的示意图;FIG2d is a schematic diagram of a recipe creation interface provided in an embodiment of the present application;

图3a为本申请实施例提供的一种材料准备界面的示意图;FIG3a is a schematic diagram of a material preparation interface provided in an embodiment of the present application;

图3b为本申请实施例提供的一种制作材料准备失败显示页的示意图;FIG3 b is a schematic diagram of a display page showing a failure in preparing production materials provided by an embodiment of the present application;

图4a为本申请实施例提供的一种虚拟储物空间界面的示意图;FIG4a is a schematic diagram of a virtual storage space interface provided in an embodiment of the present application;

图4b为本申请实施例提供的一种虚拟储物单元界面的示意图;FIG4b is a schematic diagram of a virtual storage unit interface provided in an embodiment of the present application;

图4c为本申请实施例提供的一种物品信息输入界面的示意图;FIG4c is a schematic diagram of an item information input interface provided in an embodiment of the present application;

图4d为本申请实施例提供的一种物品编辑页面的示意图;FIG4d is a schematic diagram of an item editing page provided in an embodiment of the present application;

图4e为本申请实施例提供的一种物品搜索结果界面的示意图;FIG4e is a schematic diagram of an item search result interface provided in an embodiment of the present application;

图5为本申请实施例提供的一种虚拟储物管理装置的结构示意图;FIG5 is a schematic diagram of the structure of a virtual storage management device provided in an embodiment of the present application;

图6为本申请实施例提供的另一种虚拟储物管理装置的结构示意图;FIG6 is a schematic diagram of the structure of another virtual storage management device provided in an embodiment of the present application;

图7为本申请实施例提供的一种计算机设备的结构示意图。FIG. 7 is a schematic diagram of the structure of a computer device provided in an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

本申请实施例的技术方案适用于家用物品管理的场景中,其中,在本申请中家用物品是指工具、玩具、食材和配料等在家庭环境用使用的物品。随着经济发展和生活水平的提高,人们会购置各种各样的家用物品以使生活更丰富和便利,同时又因为美观和经济的需求,将这些家用物品收纳至储物设备中以保持家庭场景的整洁大方;在收纳的过程中,因为家用物品的种类和数量繁多,经常会出现人们忘记物品储存的具体位置,在临时寻找某样物品时需要翻箱倒柜的情况,甚至在知道物品存在却找不到时,只好重新购置,这无疑会造成人们时间和金钱的巨大浪费。The technical solution of the embodiment of the present application is applicable to the scenario of household items management, wherein, in the present application, household items refer to items used in the home environment, such as tools, toys, food ingredients and ingredients. With the development of the economy and the improvement of living standards, people will purchase a variety of household items to make life richer and more convenient. At the same time, due to the needs of beauty and economy, these household items are stored in storage devices to keep the home scene tidy and generous; in the process of storage, due to the large variety and quantity of household items, people often forget the specific location of the storage of items, and need to rummage through boxes and cabinets when temporarily looking for a certain item. Even when they know that the item exists but cannot be found, they have to repurchase it, which will undoubtedly cause a huge waste of people's time and money.

而具体到家庭厨房的场景中,除了上述忘记物品储存位置的情况外,还可能存在忘记对食材或配料进行保质期的把控,食材或配料在储物设备中长时间放置后过期导致浪费的情况。因此,针对家用物品的储存情况难以管理的问题,本申请提出了一种虚拟储物管理方法,通过建立虚拟储物空间,并在虚拟储物空间中建立虚拟储物单元与真实场景中的储物设备进行一一对应,将真实场景中储物设备内部物品的增减变化同步更新至虚拟储物空间,以对家用物品的储存情况进行管理,避免物品丢失、物品浪费和重复购置等情况。Specifically in the scenario of a home kitchen, in addition to the above-mentioned situation of forgetting the storage location of items, there may also be a situation where people forget to control the shelf life of food ingredients or ingredients, and the food ingredients or ingredients expire after being placed in storage devices for a long time, resulting in waste. Therefore, in order to solve the problem of the difficulty in managing the storage of household items, this application proposes a virtual storage management method, which establishes a virtual storage space, and establishes a virtual storage unit in the virtual storage space to correspond one-to-one with the storage devices in the real scene, and synchronously updates the increase and decrease of items in the storage devices in the real scene to the virtual storage space, so as to manage the storage of household items and avoid the loss of items, waste of items, and repeated purchases.

在一种可能的场景中,本申请的虚拟储物管理方法应用于服务器或智能终端中,其中,智能终端包括手机、平板电脑和计算机设备等便于人机交互的终端设备。可以理解的是,当上述虚拟储物管理方法应用于服务器时,用户通过与服务器连接的人机交互终端设备进行指令的下达。In one possible scenario, the virtual storage management method of the present application is applied to a server or a smart terminal, wherein the smart terminal includes a terminal device that facilitates human-computer interaction, such as a mobile phone, a tablet computer, and a computer device. It is understandable that when the above virtual storage management method is applied to a server, the user issues instructions through a human-computer interaction terminal device connected to the server.

基于本申请的虚拟储物管理方法对家用物品进行管理,可以实现在寻找特定家用物品时快速定位;还可以实现在用户查看菜谱时提醒相关食材和配料的过期情况,并对相关食材和配料在使用前后进行有效的管理记录,避免食物和配料因过期导致的浪费。The virtual storage management method based on the present application can be used to manage household items, so that quick positioning can be achieved when looking for specific household items. It can also remind users of the expiration status of related ingredients and condiments when viewing recipes, and effectively manage and record the related ingredients and condiments before and after use, so as to avoid waste of food and ingredients due to expiration.

以下具体介绍本申请的技术方案。The technical solution of this application is described in detail below.

参见图1,图1为本申请实施例提供的一种虚拟储物管理方法的实施流程图,如图1所示,所述方法包括以下步骤:Referring to FIG. 1 , FIG. 1 is a flowchart of a virtual storage management method provided in an embodiment of the present application. As shown in FIG. 1 , the method includes the following steps:

步骤102,在获取到目标菜谱的显示指令的情况下,根据虚拟储物空间中存储的第一物品信息,显示所述目标菜谱的菜谱信息,所述菜谱信息包括所述目标菜谱对应的目标物品和所述目标物品在所述虚拟储物空间中的储存信息,所述第一物品信息用于反映真实场景中的家用物品的储存情况。Step 102, when a display instruction of a target recipe is obtained, recipe information of the target recipe is displayed according to first item information stored in a virtual storage space, wherein the recipe information includes a target item corresponding to the target recipe and storage information of the target item in the virtual storage space, and the first item information is used to reflect the storage situation of household items in a real scene.

其中,目标菜谱是指用户通过终端设备选择的菜谱,显示指令用于打开目标菜谱的详情界面以显示菜谱信息;虚拟储物空间对应真实场景中储存设备的总空间,并根据虚拟储物空间中的第一物品信息来反映真实场景中的家用物品的储存情况,具体地,第一物品信息包括物品种类和储存信息,储存信息包括储存数量、储存日期和保质期信息中的至少一个信息,可选的还包括储存位置,等等。Among them, the target recipe refers to the recipe selected by the user through the terminal device, and the display instruction is used to open the details interface of the target recipe to display the recipe information; the virtual storage space corresponds to the total space of the storage device in the real scene, and reflects the storage situation of household items in the real scene according to the first item information in the virtual storage space. Specifically, the first item information includes the type of item and storage information, and the storage information includes at least one of the storage quantity, storage date and shelf life information, and optionally also includes the storage location, etc.

其中,目标物品是指制作目标菜谱对应菜品所需要的物品,至少包含主要食材和配料两类物品,主要食材例如蔬菜、肉禽蛋和海鲜等,配料例如辣椒、油盐酱醋和葱姜蒜等。Among them, the target items refer to the items needed to make the dishes corresponding to the target recipe, including at least two types of items: main ingredients and side dishes. The main ingredients include vegetables, meat, poultry, eggs, and seafood, and side dishes include peppers, oil, salt, sauce, vinegar, onion, ginger, garlic, etc.

在菜谱详情界面显示目标物品的储存信息时,可以选择查看当前菜谱的主要食材类目标物品或配料类目标物品,也可以不作选择,直接在菜谱详情界面查看默认显示的全部目标物品。例如图2c所示,在“番茄炒蛋”的菜谱详情界面可以直接查看全部目标物品的储存信息,也可以通过触发目标物品类别的对应按钮“主材”和“配料”,对其中一类目标物品进行查看。When displaying the storage information of the target items in the recipe details interface, you can choose to view the main ingredient target items or the ingredient target items of the current recipe, or you can choose not to make a selection and directly view all the target items displayed by default in the recipe details interface. For example, as shown in Figure 2c, in the recipe details interface of "Tomato Scrambled Eggs", you can directly view the storage information of all the target items, or you can view one of the target items by triggering the corresponding buttons "Main Ingredients" and "Ingredients" of the target item category.

例如,请参阅图2a和图2b,用户在终端设备的模拟厨房界面(图2a)或菜谱搜索结果界面(图2b)下达了对“番茄炒蛋”这一菜谱的选中指令后,终端设备视为接收到关于所述“番茄炒蛋”菜谱的显示指令,打开所述“番茄炒蛋”菜谱的菜谱详情界面(图2c),显示的菜谱信息包括“番茄,当前储存数量5,储存位置为冰箱A柜2层,储存时间2021-07-01,保质期还有5天”;“鸡蛋,当前储存数量8,储存位置为冰箱A柜1层,储存时间2021-07-01,保质期还有10天”,等等,该番茄和鸡蛋的储存信息与虚拟储物空间中的第一物品信息一致。可以理解的是,具体实施中可以采用其他描述方式或显示方式显示目标菜谱对应的目标物品及目标物品的储存信息。For example, referring to FIG. 2a and FIG. 2b, after the user issues a selection instruction for the recipe "Tomato Scrambled Eggs" in the simulated kitchen interface (FIG. 2a) or the recipe search result interface (FIG. 2b) of the terminal device, the terminal device is deemed to have received a display instruction for the recipe "Tomato Scrambled Eggs", and opens the recipe details interface (FIG. 2c) of the recipe "Tomato Scrambled Eggs", and the displayed recipe information includes "Tomato, current storage quantity 5, storage location is refrigerator A cabinet 2, storage time 2021-07-01, shelf life is 5 days"; "Eggs, current storage quantity 8, storage location is refrigerator A cabinet 1, storage time 2021-07-01, shelf life is 10 days", etc. The storage information of the tomatoes and eggs is consistent with the first item information in the virtual storage space. It can be understood that in the specific implementation, other description methods or display methods can be used to display the target items corresponding to the target recipe and the storage information of the target items.

其中,模拟厨房界面用于显示推荐菜谱和厨房知识等内容,同时还显示了菜谱搜索框以及手动添加菜谱按钮。Among them, the simulated kitchen interface is used to display recommended recipes and kitchen knowledge, and also displays a recipe search box and a manual recipe addition button.

在另一些实施例中,菜谱信息还包括目标物品用量;在菜谱详情界面显示目标物品的储存情况时,自动将所述目标物品的储存数量和菜谱信息中的目标物品用量相比较,并同步将所述目标物品的储存数量是否足以制作目标菜谱的菜品的结果显示于终端设备。例如,“番茄炒蛋”菜谱的详情界面,显示的菜谱信息包括“番茄,当前储存数量1,用量要求,2,不满足用量要求,储存位置为冰箱A柜2层,储存时间2021-07-01,保质期还有5天”。可以理解的是,当目标物品的储存数量不足以制作目标菜谱的菜品时,以红色或其他鲜艳的颜色显示目标物品的储存信息,以示提醒。In other embodiments, the recipe information also includes the target item usage; when the storage status of the target item is displayed on the recipe details interface, the storage quantity of the target item is automatically compared with the target item usage in the recipe information, and the result of whether the storage quantity of the target item is sufficient to make the target recipe is synchronously displayed on the terminal device. For example, the details interface of the "Scrambled Eggs with Tomatoes" recipe displays recipe information including "Tomatoes, current storage quantity 1, usage requirement, 2, does not meet the usage requirement, storage location is refrigerator A cabinet 2, storage time 2021-07-01, shelf life is 5 days". It is understandable that when the storage quantity of the target item is insufficient to make the target recipe, the storage information of the target item is displayed in red or other bright colors as a reminder.

通过在菜谱详情界面获取菜谱对应主材和配料的储存情况并进行显示,使得用户不用打开储物设备确认主材和配料的储存情况,在查看菜谱时就可以直接确认当前的食材储备是否足以制作心仪的菜品,节约了用户的时间;另外,在显示菜谱的目标物品的储存情况时还同步显示目标物品的保质期情况,可以提醒用户加快对临期物品的使用,加强了用户对食材和配料的管理能力,同时还提高了用户制作菜谱的动力。By obtaining and displaying the storage status of the main materials and side ingredients corresponding to the recipe in the recipe details interface, the user does not need to open the storage device to confirm the storage status of the main materials and side ingredients. When viewing the recipe, the user can directly confirm whether the current food reserves are sufficient to make the desired dishes, saving the user's time. In addition, when displaying the storage status of the target items of the recipe, the shelf life of the target items is also displayed synchronously, which can remind the user to speed up the use of expiring items, enhance the user's ability to manage materials and side ingredients, and at the same time increase the user's motivation to make recipes.

在一些可能的实施例中,所述根据虚拟储物空间中存储的第一物品信息,显示所述目标菜谱的菜谱信息之前,还包括:在获取到搜索菜谱指令的情况下,根据所述搜索菜谱指令中包含的菜谱关键词在菜谱数据库中匹配与所述菜谱关键词对应的菜谱作为搜索结果,并显示所述搜索结果;在获取到对所述搜索结果中的任一菜谱的选中指令的情况下,确认获取到所述目标菜谱的显示指令。In some possible embodiments, before displaying the recipe information of the target recipe based on the first item information stored in the virtual storage space, the method further includes: when a recipe search instruction is obtained, matching recipes corresponding to the recipe keywords in a recipe database as search results according to the recipe keywords contained in the recipe search instruction, and displaying the search results; when a selection instruction for any recipe in the search results is obtained, confirming that a display instruction for the target recipe is obtained.

其中,菜谱关键词用于匹配对应菜谱,可以是菜品名称、主材名称或其他指向目标菜谱的关键词。可以理解的是,同一菜品可能有多个菜谱,当关键字的范围限定越小,搜索结果中的菜谱越多,所述搜索结果根据与关键字的匹配程度和人气、搜索历史等其他因素进行排序。The recipe keywords are used to match the corresponding recipes, and can be the dish name, main material name, or other keywords pointing to the target recipe. It is understandable that the same dish may have multiple recipes. The smaller the scope of the keyword is, the more recipes there are in the search results. The search results are sorted according to the degree of matching with the keyword and other factors such as popularity and search history.

请再次参阅图2a,用户通过在模拟厨房界面的菜谱搜索框中输入菜谱关键词以下达搜索物品指令,可以菜谱数据库中查找匹配到与所述菜谱关键词对应的菜谱并返回显示给用户查看。具体地,在菜谱数据库中先后遍历所有菜谱的菜谱名称和菜谱目标物品,找到菜谱名称或菜谱目标物品与所述菜谱关键词相关的菜谱,并将所有所述相关的菜谱返回并显示于终端设备。Please refer to Figure 2a again. By inputting a recipe keyword in the recipe search box of the simulated kitchen interface to issue a search item command, the recipe database can be searched for recipes that match the recipe keyword and returned for display to the user. Specifically, the recipe names and recipe target items of all recipes in the recipe database are traversed in turn to find recipes whose recipe names or recipe target items are related to the recipe keyword, and all the related recipes are returned and displayed on the terminal device.

根据搜索菜谱指令和选中指令可以触发目标菜谱的显示指令,以使用户可以通过更换目标菜谱查看各菜谱的目标物品和目标物品当前的储存信息,最终选择目标物品的储存信息满足要求的任一菜谱作为目标菜谱。The display instruction of the target recipe can be triggered according to the recipe search instruction and the selection instruction, so that the user can view the target items of each recipe and the current storage information of the target items by changing the target recipe, and finally select any recipe whose storage information of the target item meets the requirements as the target recipe.

在一个可能的实施例中,请再次参阅图2b,用户可以直接在菜谱搜索结果界面中针对任一菜谱下达食材检测指令,以快速确认当前的家用物品储存情况是否支持制作当前菜谱的菜品;在获取到食材检测指令时,获取所述食材检测指令的检测对象菜谱的目标物品用量,以及目标物品的储存数量,并将两者进行比较;当所述目标物品的储存数量不少于目标物品用量时,返回目标物品储存数量满足用量要求的消息;当所述目标物品的储存数量少于目标物品用量时,返回目标物品储存数量不满足用量要求的消息。In a possible embodiment, please refer to Figure 2b again. The user can directly issue an ingredient detection instruction for any recipe in the recipe search result interface to quickly confirm whether the current storage situation of household items supports the preparation of the dishes of the current recipe; when the ingredient detection instruction is obtained, the target item usage of the recipe that is the detection object of the ingredient detection instruction and the storage quantity of the target item are obtained, and the two are compared; when the storage quantity of the target item is not less than the target item usage, a message is returned that the storage quantity of the target item meets the usage requirement; when the storage quantity of the target item is less than the target item usage, a message is returned that the storage quantity of the target item does not meet the usage requirement.

其中,用户下达食材检测指令可以是通过触发布置于搜索结果中菜谱对应的“食材检测”按钮,也可以通过长按任一搜索结果菜谱行执行食材检测功能,此处仅为举例不做限定。Among them, the user can issue an ingredient detection instruction by triggering the "Ingredient Detection" button corresponding to the recipe in the search results, or by long pressing any recipe line in the search results to execute the ingredient detection function. This is only an example and is not limited to this.

在上述实施例中,所述方法还包括:获取用户输入的菜谱名称和所述菜谱名称对应的菜谱内容;将所述菜谱名称和所述菜谱内容保存在所述菜谱数据库中。In the above embodiment, the method further includes: acquiring a recipe name input by a user and a recipe content corresponding to the recipe name; and storing the recipe name and the recipe content in the recipe database.

其中,菜谱数据库是指通过网络下载、用户录入等渠道获取菜谱数据后形成的数据库。Among them, the recipe database refers to the database formed after obtaining recipe data through channels such as network download and user input.

请再次参阅图2a和图2d,可以在模拟厨房界面(图2a)下达手动添加菜谱的指令(比如在用户没有搜索到使自己满意的菜谱时,或者有新菜色想要分享给其他用户时,本申请对手动添加菜谱的情况不做限定),在创建菜谱界面(图2d)输入菜谱名称和菜谱内容,菜谱内容包括菜谱对应的目标物品以及目标物品用量;在菜谱添加完成后,用户可以选择回到模拟厨房界面或直接进入菜谱详情界面。Please refer to Figures 2a and 2d again. You can issue an instruction to manually add a recipe in the simulated kitchen interface (Figure 2a) (for example, when the user has not found a recipe that satisfies him or herself, or when he or she has a new dish that he or she wants to share with other users, this application does not limit the situation of manually adding a recipe), and enter the recipe name and recipe content in the recipe creation interface (Figure 2d). The recipe content includes the target item corresponding to the recipe and the target item usage; after the recipe is added, the user can choose to return to the simulated kitchen interface or directly enter the recipe details interface.

在另一些实施例中,用户也可以在菜谱详情页面下达修改菜谱指令,获取当前菜谱的菜谱内容进行修改,并将修改后的菜谱作为新菜谱保存至菜谱数据库。In other embodiments, the user may also issue a recipe modification instruction on the recipe details page, obtain the recipe content of the current recipe for modification, and save the modified recipe as a new recipe in the recipe database.

可以理解的是,用户可以自行选择是否将菜谱上传至菜谱数据库并公开。It is understandable that users can choose whether to upload recipes to the recipe database and make them public.

步骤104,在获取到用户基于所述菜谱信息输入的菜谱确认指令的情况下,根据所述菜谱确认指令确定第二物品信息,所述第二物品信息用于指示用户基于所述目标菜谱从所述真实场景中获取所述目标物品的信息。Step 104, when a recipe confirmation instruction input by the user based on the recipe information is obtained, second item information is determined according to the recipe confirmation instruction, where the second item information is used to instruct the user to obtain information of the target item from the real scene based on the target recipe.

其中,菜谱确认指令用于根据所述菜谱信息获得的,制作目标菜谱对应的一份或多份菜品所需要的目标物品及其数量,进而确认第二物品信息;第二物品信息是指制作一份或多份目标菜谱的菜品所需要的目标物品及其数量。Among them, the recipe confirmation instruction is used to obtain the target items and their quantities required to prepare one or more dishes corresponding to the target recipe based on the recipe information, and then confirm the second item information; the second item information refers to the target items and their quantities required to prepare one or more dishes of the target recipe.

例如,请参阅图2c和图3a,用户根据“番茄炒蛋”菜谱的菜谱信息确认番茄和鸡蛋等目标物品的当前储存数量满足制作要求后,通过终端设备在菜谱详情界面(图2c)中输入了制作份数为2后,触发“去制作”按钮进入材料准备界面(图3a),所述材料准备界面显示制作2份“番茄炒蛋”所需要的目标物品及其数量,用户再次确认可以按照所述目标物品及其数量制作2份菜品,下达菜谱确认指令,确认所述目标物品及其数量为第二物品信息。For example, referring to Figures 2c and 3a, after the user confirms that the current storage quantity of target items such as tomatoes and eggs meets the production requirements based on the recipe information of the "Tomato Scrambled Eggs" recipe, the user enters the number of servings as 2 in the recipe details interface (Figure 2c) through the terminal device, and triggers the "Go to Production" button to enter the material preparation interface (Figure 3a). The material preparation interface displays the target items and their quantities required to make 2 servings of "Tomato Scrambled Eggs". The user confirms again that 2 servings of the dish can be made according to the target items and their quantities, and issues a recipe confirmation instruction, confirming that the target items and their quantities are the second item information.

可选的,可根据目标物品的储存信息,调整制作份数。比如0.5份,本申请对此不做限;相对应的,确定对应制作份数的第二物品信息。Optionally, the number of copies produced can be adjusted according to the storage information of the target item, for example, 0.5 copies, which is not limited in this application; correspondingly, the second item information corresponding to the number of copies produced is determined.

一种可能的实现方式中,制作份数可由用户调整。In one possible implementation, the number of copies produced can be adjusted by the user.

另一种可能的实现方式中,在目标物品中各个物品的储存信息不小于菜谱所需数量后,可默认制作与菜谱相匹配的1份;若目标物品中部分物品的储存信息小于菜谱所需数量的情况下,以最少物品可制作的份数,输出建议制作份数;建议制作份数为最少物品的实际数量与最少物品的所需数量的比值。这里的部分物品可以仅包括主要食材;或者仅包括配料;或者包括主要食材和配料。In another possible implementation, when the storage information of each item in the target item is not less than the quantity required by the recipe, one portion matching the recipe may be prepared by default; if the storage information of some items in the target item is less than the quantity required by the recipe, the recommended number of portions is output based on the number of portions that can be prepared with the minimum items; the recommended number of portions is the ratio of the actual number of the minimum items to the required number of the minimum items. The partial items here may include only the main ingredients; or only the side dishes; or both the main ingredients and side dishes.

在一些可能的实施例中,所述菜谱信息还包括所述目标菜谱对应的菜品的制作方法以及制作一份所述菜品所需的目标物品用量;所述根据所述菜谱确认指令确定第二物品信息之前,还包括:获取用户输入的制作份数;根据所述制作方法确定制作步骤,并根据所述目标物品用量和所述制作份数确定每一制作步骤所需的目标物品和目标物品数量;显示所述每一制作步骤所需的目标物品和目标物品数量;在获取到用户对所述每一制作步骤所需的目标物品和目标物品数量的准备完成指令的情况下,确定获取到所述目标菜谱的确认指令。In some possible embodiments, the recipe information also includes a preparation method for the dish corresponding to the target recipe and a target item amount required to prepare a serving of the dish; before determining the second item information according to the recipe confirmation instruction, it also includes: obtaining the number of servings input by the user; determining the preparation steps according to the preparation method, and determining the target item and target item quantity required for each preparation step according to the target item amount and the number of servings; displaying the target item and target item quantity required for each preparation step; and determining that a confirmation instruction for the target recipe has been obtained when the user's preparation completion instruction for the target item and target item quantity required for each preparation step has been obtained.

其中,目标物品用量是指在制作一份菜品的所要用到的不同目标物品的数量,用户可以根据个人食量大小以及就餐人数输入不同的制作份数,以便于用户根据终端设备显示的调整后的目标物品及其数量准备制作菜品的材料。Among them, the target item usage refers to the quantity of different target items needed to make a dish. Users can enter different numbers of servings according to their personal appetite and the number of diners, so that users can prepare the materials for making the dish according to the adjusted target items and their quantities displayed on the terminal device.

例如,“番茄炒蛋”菜谱中显示制作一份番茄炒蛋需要2个番茄和3个鸡蛋,所述2个番茄和3个鸡蛋即为目标物品用量;用户需要制作2人份的番茄炒蛋,则在“番茄炒蛋”菜谱的菜谱详情界面中输入制作份数为2,触发“去制作”按钮后跳转至材料准备界面时,材料准备界面显示所需要的目标物品数量即为4个番茄和3个鸡蛋,并按照制作方法分布于各个制作步骤中。For example, the "Tomato Scrambled Eggs" recipe shows that making a serving of tomato scrambled eggs requires 2 tomatoes and 3 eggs, and the 2 tomatoes and 3 eggs are the target item quantities; if the user needs to make 2 servings of tomato scrambled eggs, then enter the number of servings as 2 in the recipe details interface of the "Tomato Scrambled Eggs" recipe, and when the "Go to Make" button is triggered to jump to the material preparation interface, the material preparation interface shows that the required number of target items is 4 tomatoes and 3 eggs, and they are distributed in each production step according to the production method.

获取用户对所述每一制作步骤所需的目标物品和目标物品数量的准备完成指令,是指用户对菜品制作材料准备界面中显示的每一制作步骤所需的目标物品和目标物品数量进行准备完成的确认,所有制作步骤的准备完成确认后,终端设备视为接收到目标菜谱的确认指令。Obtaining the user's preparation completion instruction for the target items and target item quantities required for each production step means that the user confirms that the preparation of the target items and target item quantities required for each production step displayed in the dish preparation material preparation interface is completed. After the preparation completion of all production steps is confirmed, the terminal device is deemed to have received the confirmation instruction of the target recipe.

在一些实施例中,如图3a所示,在显示每一制作步骤所需的目标物品和目标物品数量时,会同步显示每一步骤的确认按钮,当用户触发所述确认按钮时,视为获取到用户对当前制作步骤所需的目标物品和目标物品数量的准备完成指令,进而将所述目标物品数量和第一物品信息中的目标物品的储存数量相比较。In some embodiments, as shown in FIG3a, when the target items and target item quantities required for each production step are displayed, a confirmation button for each step is displayed synchronously. When the user triggers the confirmation button, it is deemed that the user's preparation completion instruction for the target items and target item quantities required for the current production step is obtained, and then the target item quantity is compared with the storage quantity of the target items in the first item information.

当目标物品的储存数量不少于当前制作步骤所需的目标物品数量时,所述确认按钮变绿色以示该制作步骤已准备完成;当目标物品的储存数量少于当前制作步骤所需的目标物品数量时,将所述确认按钮变为灰色,并锁定所述准备完成按钮以使其无法触发,同时通过终端设备反馈目标物品准备失败的提示消息,所述提示消息说明了具体的失败原因,包括目标物品缺失、不足或过期等原因,如图3b所示。When the storage quantity of the target items is not less than the target items required for the current production step, the confirmation button turns green to indicate that the production step is ready; when the storage quantity of the target items is less than the target items required for the current production step, the confirmation button turns gray, and the preparation completion button is locked so that it cannot be triggered. At the same time, a prompt message indicating that the preparation of the target items has failed is fed back through the terminal device, and the prompt message explains the specific reasons for the failure, including reasons such as the lack, shortage or expiration of the target items, as shown in Figure 3b.

当用户以临时购置或其他方式补足目标物品时,通过长按显示目标物品数量不足的制作步骤,输入新补充的目标物品数量,以快速修改目标物品的数量状态,解除所述准备完成按钮的锁定状态。When the user replenishes the target items by temporary purchase or other means, the user can long press the production step showing the insufficient quantity of the target items and enter the newly replenished quantity of the target items to quickly modify the quantity status of the target items and unlock the lock state of the preparation completion button.

可以理解的是,当有多个步骤需要用到同一目标物品时,制作步骤所需的同一目标物品数量进行叠加计算。例如,“番茄炒蛋”菜谱中的第一步骤和第二步骤均需要1个番茄,则要将番茄的储存数量与第二步骤所需的番茄数量相比较时,第二步骤所需的番茄数量叠加为2.It is understandable that when multiple steps require the same target item, the quantities of the same target item required for the production steps are calculated cumulatively. For example, in the recipe of "Tomato Scrambled Eggs", both the first and second steps require 1 tomato. When comparing the number of tomatoes in stock with the number of tomatoes required for the second step, the number of tomatoes required for the second step is added up to 2.

另外,获取准备完成指令的形式不一定是触发准备完成按钮,在另一些实施例中,也可以是通过短按、长按、连按或滑动等形式进行确认后,视为获取到准备完成指令。In addition, the form of obtaining the preparation completion instruction is not necessarily to trigger the preparation completion button. In other embodiments, it can also be considered that the preparation completion instruction is obtained after confirmation through short press, long press, continuous press or sliding.

当获取到用户对所有步骤所需的目标物品和目标物品数量的准备完成指令时,代表制作流程所需的目标物品全部确认完成的完成按钮进入解锁状态并变色,提示用户触发所述完成按钮,以完成本次菜品的制作并结算记录家用物品的数量变化。When the user's preparation completion instructions for the target items and target item quantities required for all steps are obtained, the completion button, which represents that all the target items required for the production process have been confirmed to be completed, enters an unlocked state and changes color, prompting the user to trigger the completion button to complete the production of this dish and settle and record the changes in the quantity of household items.

通过分步骤显示制作菜品所需要的目标物品及目标物品数量,可以帮助用户有条理地进行制作菜品的目标物品准备工作,或是在制作过程中获得关于当前步骤目标物品的提醒。By displaying the target items and target item quantities needed to make a dish in steps, it can help the user to prepare the target items for making the dish in an organized manner, or get reminders about the target items of the current step during the making process.

在上述实施例中,所述根据所述菜谱确认指令确定第二物品信息,包括:将所有步骤所需的目标物品和目标物品数量确定为所述第二物品信息。In the above embodiment, determining the second item information according to the recipe confirmation instruction includes: determining the target items and target item quantities required for all steps as the second item information.

其中,通过将所有步骤所需的目标物品和目标物品数量作为第二物品信息,可以准确地表征当前制作菜品所消耗的家用物品及其数量,以使根据第二物品信息更新后的第一物品信息能够准确地反映当前制作菜品流程完成后的真实场景中的家用物品储存情况。Among them, by taking the target items and target item quantities required for all steps as the second item information, the household items consumed in the current dish making and their quantities can be accurately represented, so that the first item information updated according to the second item information can accurately reflect the storage situation of household items in the real scene after the current dish making process is completed.

步骤106,根据所述第二物品信息更新所述第一物品信息,以更新所述目标物品在所述虚拟储物空间中的储存信息。Step 106: Update the first item information according to the second item information to update the storage information of the target item in the virtual storage space.

其中,根据第二物品信息更新第一物品信息,即为将真实场景中家用物品的储存信息中扣除制作菜品所消耗的目标物品信息后,得到制作菜品后的真实场景家用物品的储存信息。Among them, updating the first item information according to the second item information is to deduct the target item information consumed in making dishes from the storage information of household items in the real scene, and obtain the storage information of household items in the real scene after making dishes.

上述虚拟储物管理方法,根据反映真实场景中的家用物品的储存情况的第一物品信息显示目标菜谱的菜谱信息,可以使得用户在查看目标菜谱时直观地看到目标菜谱所需要的目标物品,以及目标物品在虚拟储物空间中的储存信息,其中,所述储存信息来源于第一物品信息,反映了目标物品在真实场景中的储存情况;通过指示用户基于所述目标菜谱从所述真实场景中获取所述目标物品的第二物品信息,可以得到制作目标菜谱的菜品所需要的目标物品和目标物品的数量,在获取到菜谱确认指令后,视为用户确认要制作目标菜谱的菜品,最后根据所述第二物品信息更新所述第一物品信息,以更新所述目标物品在所述虚拟储物空间中的储存信息,使得所述虚拟储物空间中的储存信息与真实场景中的家用物品的储存情况保持一致,实现了对制作菜品前后的家用物品储存情况的准确记录。The above-mentioned virtual storage management method displays the recipe information of the target recipe according to the first item information reflecting the storage situation of household items in the real scene, so that the user can intuitively see the target items required for the target recipe and the storage information of the target items in the virtual storage space when viewing the target recipe, wherein the storage information is derived from the first item information, reflecting the storage situation of the target items in the real scene; by instructing the user to obtain the second item information of the target item from the real scene based on the target recipe, the target items and the quantity of the target items required to make the dishes of the target recipe can be obtained. After obtaining the recipe confirmation instruction, it is deemed that the user confirms to make the dishes of the target recipe. Finally, the first item information is updated according to the second item information to update the storage information of the target item in the virtual storage space, so that the storage information in the virtual storage space is consistent with the storage situation of household items in the real scene, thereby realizing accurate recording of the storage situation of household items before and after making dishes.

在一个实施例中,所述虚拟储物空间包括至少一个虚拟储物单元,一个虚拟储物单元对应一个所述真实场景中的储物设备;所述方法还包括:在获取到第一虚拟储物单元的选择指令的情况下,显示所述第一虚拟储物单元的虚拟储物单元界面,所述虚拟储物单元界面用于展示所述第一虚拟储物单元中存储的第三物品信息,所述第一虚拟储物单元为所述虚拟储物空间中的任意一个虚拟储物单元;在通过所述虚拟储物单元界面获取到物品更改指令的情况下,根据所述更改指令更新所述第三物品信息,所述更改指令用于指示增加物品信息、修改物品信息或删除物品信息。In one embodiment, the virtual storage space includes at least one virtual storage unit, and one virtual storage unit corresponds to a storage device in the real scene; the method also includes: when a selection instruction of a first virtual storage unit is obtained, a virtual storage unit interface of the first virtual storage unit is displayed, and the virtual storage unit interface is used to display third item information stored in the first virtual storage unit, and the first virtual storage unit is any virtual storage unit in the virtual storage space; when an item change instruction is obtained through the virtual storage unit interface, the third item information is updated according to the change instruction, and the change instruction is used to instruct to add item information, modify item information or delete item information.

其中,第三物品信息用于反映真实场景中任一储物设备的家用物品的储存情况,包括物品种类和物品储存信息;虚拟储物单元的选择指令用于打开所述选择指令对应的虚拟储物单元界面,所述虚拟储物单元界面用于展示真实场景中与所述虚拟储物单元对应的储物设备中的家用物品储存情况。Among them, the third item information is used to reflect the storage situation of household items in any storage device in the real scene, including item types and item storage information; the selection instruction of the virtual storage unit is used to open the virtual storage unit interface corresponding to the selection instruction, and the virtual storage unit interface is used to display the storage situation of household items in the storage device corresponding to the virtual storage unit in the real scene.

其中,用户在虚拟储物单元界面可以下达物品更改指令,对虚拟储物单元中的第三物品信息进行增加、修改或删除。Among them, the user can issue an item change instruction in the virtual storage unit interface to add, modify or delete the third item information in the virtual storage unit.

在一些实施例中,请参阅图4a和图4b,虚拟储物空间预设了一个或多个虚拟储物单元,并在虚拟储物空间界面(图4a)中展示,用户在虚拟储物空间界面除了可以下达虚拟储物单元的选择指令外,还可以下达虚拟储物单元更改指令,如通过触发增加虚拟储物单元按钮进行添加虚拟储物单元,长按虚拟储物单元进行删除等;另外,选中虚拟储物单元后,在虚拟储物单元界面(图4b)可以对虚拟储物单元进行命名和结构划分,以便与实际储物设备更加对应,对家用物品的管理也更方便。例如,家用冰箱分有3个柜区,则分别建立/重命名虚拟储物单元为冰箱a柜、冰箱b柜和冰箱c柜;而冰箱a柜中又包含3层,则可以将冰箱a柜在冰箱a柜的虚拟储物单元界面中划分出3个储物层,甚至每一个储物层还可以再划分区域,用户可以根据实际偏好和需求设置结构层级,在层级数量和管理方便程度上取得平衡。In some embodiments, please refer to FIG. 4a and FIG. 4b. The virtual storage space presets one or more virtual storage units and is displayed in the virtual storage space interface (FIG. 4a). In addition to issuing a selection instruction for a virtual storage unit in the virtual storage space interface, the user can also issue a virtual storage unit change instruction, such as adding a virtual storage unit by triggering the add virtual storage unit button, and deleting a virtual storage unit by long pressing the virtual storage unit. In addition, after selecting a virtual storage unit, the virtual storage unit can be named and structured in the virtual storage unit interface (FIG. 4b) so as to be more consistent with the actual storage device and more convenient for the management of household items. For example, if a household refrigerator is divided into three cabinet areas, virtual storage units are established/renamed as refrigerator cabinet a, refrigerator cabinet b, and refrigerator cabinet c respectively; and refrigerator cabinet a contains three layers, refrigerator cabinet a can be divided into three storage layers in the virtual storage unit interface of refrigerator cabinet a, and even each storage layer can be further divided into areas. Users can set the structural hierarchy according to actual preferences and needs, and strike a balance between the number of levels and the ease of management.

通过对虚拟储物单元的管理和设置,可以使得虚拟储物空间中的储存情况更贴近真实场景中储物设备的家用物品储存情况,在显示物品储存信息时更准确,更有利于用户对家用物品的管理和把控。By managing and setting up virtual storage units, the storage situation in the virtual storage space can be made closer to the storage situation of household items in the storage device in the real scene, which is more accurate when displaying item storage information and is more conducive to the user's management and control of household items.

对于物品更改指令,所述物品更改指令可以由用户通过终端设备下达,也可以通过在储物设备中设置传感器和摄像头等功能单元建立物联网,将功能单元采集得到的数据发送至服务器或终端设备,由服务器或终端设备自动下达。For item change instructions, the item change instructions can be issued by the user through the terminal device, or by setting up functional units such as sensors and cameras in the storage device to establish an Internet of Things, and sending the data collected by the functional units to the server or terminal device, which will automatically issue the instructions.

例如,在一些实施例中,请参阅图4b和图4c,用户在虚拟储物单元界面(图4b)触发添加物品的物品更改指令后,可以在物品信息输入界面(图4c)选择手动输入新添加物品的物品种类和储存信息(数量、位置、储存日期和保质期),也可以选择通过终端设备的摄像功能获取新添加物品的图像,从所述图像中自动生成物品种类和储存信息等信息,并显示于终端设备供用户确认,在用户直接确认或修改确认后,将新添加的物品信息更新至虚拟储物单元的第三物品信息中。For example, in some embodiments, please refer to Figures 4b and 4c. After the user triggers the item change instruction to add an item in the virtual storage unit interface (Figure 4b), the user can choose to manually enter the item type and storage information (quantity, location, storage date and shelf life) of the newly added item in the item information input interface (Figure 4c), or choose to obtain an image of the newly added item through the camera function of the terminal device, automatically generate information such as the item type and storage information from the image, and display it on the terminal device for user confirmation. After the user directly confirms or modifies the confirmation, the newly added item information is updated to the third item information of the virtual storage unit.

在另一些实施例中,在储物设备中设置摄像头,当用户在储物设备中添加新家用物品时,摄像头对储物设备内部进行图像拍摄并发送至服务器或终端设备,在服务器或终端设备中完成图像识别后,自动下达物品更改指令,生成新添加物品的物品种类和储存信息,并更新至与该储物设备对应的虚拟储物单元的第三物品信息中。而对于难以识别物品种类或数量的配料等家用物品,还可以在储物设备中设置重量传感器,在服务器或终端设备获取重量信息后,自动下达物品更改指令;当无法识别物品种类时,在终端设备上弹出输入框,结合用户输入的信息更新与该储物设备对应的虚拟储物单元的第三物品信息。In other embodiments, a camera is provided in the storage device. When a user adds a new household item to the storage device, the camera takes an image of the interior of the storage device and sends it to a server or terminal device. After image recognition is completed in the server or terminal device, an item change instruction is automatically issued, the item type and storage information of the newly added item are generated, and updated to the third item information of the virtual storage unit corresponding to the storage device. For household items such as ingredients whose item type or quantity is difficult to identify, a weight sensor can also be provided in the storage device. After the server or terminal device obtains the weight information, an item change instruction is automatically issued; when the item type cannot be identified, an input box pops up on the terminal device, and the third item information of the virtual storage unit corresponding to the storage device is updated in combination with the information input by the user.

可以理解的是,当功能单元采集的数据无法得到完整、确定的物品种类或储存信息时,先将无法确认的信息设置为空,以确认的物品信息更新第三物品信息,再即时或延时提醒用户进行信息补充。It is understandable that when the data collected by the functional unit cannot obtain complete and confirmed item types or storage information, the unconfirmed information is first set to empty, the third item information is updated with the confirmed item information, and then the user is reminded immediately or delayed to supplement the information.

在一些实施例中,请参阅图4b、图4c和图4d,物品更改指令细分为物品添加指令和物品编辑指令,并在虚拟储物单元的界面(图4b)上显示添加按钮和编辑按钮。当触发添加按钮时,弹出包含物品信息输入框以及拍摄物品图像选项的界面(图4c),以供用户输入物品信息;当触发编辑按钮时,进入物品编辑页面(图4d)显示所述虚拟储物单元中储存的家用物品对应的修改按钮和删除按钮,以供用户下达修改物品信息和删除物品信息的物品更改指令。In some embodiments, please refer to FIG. 4b, FIG. 4c and FIG. 4d, the item change instruction is subdivided into an item adding instruction and an item editing instruction, and an add button and an edit button are displayed on the interface of the virtual storage unit (FIG. 4b). When the add button is triggered, an interface (FIG. 4c) containing an item information input box and an option to take an item image is popped up for the user to input item information; when the edit button is triggered, the item editing page (FIG. 4d) is entered to display the modification button and the delete button corresponding to the household items stored in the virtual storage unit, so that the user can issue an item change instruction to modify the item information and delete the item information.

通过图像识别、结合功能单元建立物联网等手段,使得家用物品信息更新的方式更智能、快捷和多元,扩大了本方法应用范围的同时,还节省了用户输入信息的繁琐动作。By means of image recognition and combining functional units to establish the Internet of Things, the way of updating household item information is made smarter, faster and more diverse, which not only expands the scope of application of the method, but also saves users the tedious action of inputting information.

总体来看,通过以虚拟储物单元和真实场景中的储物柜、冰箱等储物设备建立对应关系,在虚拟储物单元界面中展示对应储物设备中储存的家用物品的信息,可以实现对家用物品的进一步细化管理;在非制作菜品的情况下,通过物品更改指令可以在家用物品变动时,及时地更新虚拟储物空间中的储物信息。In general, by establishing a corresponding relationship between virtual storage units and storage devices such as lockers and refrigerators in real scenes, and displaying the information of household items stored in the corresponding storage devices in the virtual storage unit interface, further detailed management of household items can be achieved; in the case of non-cooking, the storage information in the virtual storage space can be updated in time when household items change through item change instructions.

在一个实施例中,所述显示所述第一虚拟储物单元的虚拟储物单元界面,包括:在所述虚拟储物单元界面上以不同颜色显示不同物品临期情况的第三物品信息。In one embodiment, the virtual storage unit interface displaying the first virtual storage unit includes: displaying third item information indicating the expiration status of different items in different colors on the virtual storage unit interface.

其中,根据第三物品信息中的储存日期和保质期可以计算或直接获取保质期的最后期限,并根据所述保质期的最后期限、当前日期和预设的临期情况划分阈值确定物品的不同临期情况,最后以不同的颜色显示不同物品临期情况的第三物品信息。Among them, the deadline of the shelf life can be calculated or directly obtained according to the storage date and shelf life in the third item information, and the different expiration conditions of the items can be determined according to the deadline of the shelf life, the current date and the preset expiration threshold, and finally the third item information of different expiration conditions of the items are displayed in different colors.

例如,用户设置保质期的最后期限前30天为临期情况的划分阈值,则在保质期的最后期限前30天为临期,保质期后为过期;用户还可以进一步设置,临期物品的信息以黄色背景或字体展示,过期物品以红色背景或字体展示,如图4b所示。可以理解的是,临期情况和划分阈值可以根据用户偏好和实际需求设置为一个或多个,不同临期情况也可以设置为不同的展示颜色。For example, if the user sets the 30 days before the expiration date as the threshold for the near expiration situation, then the 30 days before the expiration date is near expiration, and after the expiration date is expired; the user can also further set that the information of near expiration items is displayed in a yellow background or font, and expired items are displayed in a red background or font, as shown in Figure 4b. It can be understood that the near expiration situation and the classification threshold can be set to one or more according to user preferences and actual needs, and different near expiration situations can also be set to different display colors.

需要说明的是,以不同颜色显示不同物品临期情况不仅可以在虚拟储物单元界面上采用,也可以在本方法中所有需要展示物品信息的界面中采用,例如,菜谱详情界面中。It should be noted that displaying the expiration status of different items in different colors can be used not only in the virtual storage unit interface, but also in all interfaces that need to display item information in this method, for example, in the recipe details interface.

通过以不同颜色显示不同物品临期情况,可以有效地在用户浏览到第三物品信息时直观地提醒用户虚拟储物单元中家用物品的临期情况,督促用户加快对临期物品的使用以避免不必要的浪费。By displaying the expiration status of different items in different colors, the user can be effectively and intuitively reminded of the expiration status of household items in the virtual storage unit when the user browses the third item information, and the user is urged to speed up the use of the expiring items to avoid unnecessary waste.

在一个实施例中,所述方法还包括:在获取到搜索物品指令的情况下,根据所述搜索物品指令中包含的待搜索物品,在虚拟储物空间中匹配与所述待搜索物品对应的第四物品信息,并显示所述第四物品信息。In one embodiment, the method further includes: when a search item instruction is obtained, matching fourth item information corresponding to the item to be searched in the virtual storage space according to the item to be searched contained in the search item instruction, and displaying the fourth item information.

其中,搜索物品指令中的待搜索物品包括待搜索物品的物品种类关键词;第四物品信息用于反映真实场景中任一家用物品的储存情况,包括物品种类和物品储存信息。Among them, the items to be searched in the search item instruction include the item type keywords of the items to be searched; the fourth item information is used to reflect the storage situation of any household item in a real scene, including the item type and item storage information.

请参阅图4a,用户通过在虚拟储物空间界面的搜索栏输入待搜索物品以下达搜索物品指令,可以快速地在虚拟储物空间的第一物品信息中查找匹配到与所述搜索物品指令对应的第四物品信息并显示给用户查看。Please refer to Figure 4a. By inputting the item to be searched in the search bar of the virtual storage space interface to issue a search item instruction, the user can quickly find the fourth item information corresponding to the search item instruction in the first item information of the virtual storage space and display it to the user for viewing.

具体地,在虚拟储物空间的第一物品信息中遍历所有物品的物品种类信息,找到与待搜索物品的物品种类关键词相关的第四物品信息,将所述第四物品信息返回并显示物品搜索结果界面,如图4e所示;用户还可以通过物品搜索界面上的快速编辑按钮,对搜索结果中的物品信息进行快速编辑,提高用户手动更新物品信息的速度。Specifically, the item type information of all items in the first item information of the virtual storage space is traversed to find the fourth item information related to the item type keyword of the item to be searched, and the fourth item information is returned and the item search result interface is displayed, as shown in Figure 4e; the user can also use the quick edit button on the item search interface to quickly edit the item information in the search results, thereby improving the speed at which the user manually updates the item information.

可选的,用户可在虚拟储物空间界面的搜索栏中输入物品类别来搜索某个类别的物品信息。例如,用户将物品划分为主要食材与配料的第一类别,主要食材又分为荤类食材与素食类食材的第二类别;用户可输入所设置的类别查询对应类别的物品信息。Optionally, the user can enter an item category in the search bar of the virtual storage space interface to search for item information of a certain category. For example, the user divides items into a first category of main ingredients and side ingredients, and the main ingredients are further divided into a second category of meat ingredients and vegetarian ingredients; the user can enter the set category to query the item information of the corresponding category.

通过搜索物品指令可以快速地查找到第四物品信息并显示给用户查看,以避免用户忘记物品位置而耗费时间寻找对应物品或寻找不到物品最终导致物品过期的情况。The fourth item information can be quickly found and displayed to the user through the search item command, so as to avoid the situation where the user forgets the location of the item and wastes time looking for the corresponding item or fails to find the item, which eventually causes the item to expire.

上述介绍了本申请的方法,为了更好地实施本申请的方法,接下来介绍本申请的装置。The method of the present application is introduced above. In order to better implement the method of the present application, the device of the present application is introduced next.

如图5所示,在一个实施例中,提供了一种虚拟储物管理装置,该装置包括:As shown in FIG5 , in one embodiment, a virtual storage management device is provided, the device comprising:

菜谱显示模块10,用于在获取到目标菜谱的显示指令的情况下,根据虚拟储物空间中存储的第一物品信息,显示所述目标菜谱的菜谱信息,所述菜谱信息包括所述目标菜谱对应的目标物品和所述目标物品在所述虚拟储物空间中的储存信息,所述第一物品信息用于反映真实场景中的家用物品的储存情况;The recipe display module 10 is used to display the recipe information of the target recipe according to the first item information stored in the virtual storage space when the display instruction of the target recipe is obtained, wherein the recipe information includes the target item corresponding to the target recipe and the storage information of the target item in the virtual storage space, and the first item information is used to reflect the storage status of household items in the real scene;

菜谱确认模块20,用于在获取到用户基于所述菜谱信息输入的菜谱确认指令的情况下,根据所述菜谱确认指令确定第二物品信息,所述第二物品信息用于指示用户基于所述目标菜谱从所述真实场景中获取所述目标物品的信息;A recipe confirmation module 20 is used to determine second item information according to the recipe confirmation instruction when a recipe confirmation instruction input by the user based on the recipe information is obtained, wherein the second item information is used to instruct the user to obtain information of the target item from the real scene based on the target recipe;

更新模块30,用于根据所述第二物品信息更新所述第一物品信息,以更新所述目标物品在所述虚拟储物空间中的储存信息。The updating module 30 is used to update the first item information according to the second item information, so as to update the storage information of the target item in the virtual storage space.

在一个实施例中,如图6所示,所述装置还包括虚拟储物空间模块40;所述虚拟储物空间包括至少一个虚拟储物单元,一个虚拟储物单元对应一个所述真实场景中的储物设备;所述虚拟储物空间模块40用于在获取到第一虚拟储物单元的选择指令的情况下,显示所述第一虚拟储物单元的虚拟储物单元界面,所述虚拟储物单元界面用于展示所述第一虚拟储物单元中存储的第三物品信息,所述第一虚拟储物单元为所述虚拟储物空间中的任意一个虚拟储物单元;在通过所述虚拟储物单元界面获取到物品更改指令的情况下,根据所述更改指令更新所述第三物品信息,所述更改指令用于指示增加物品信息、修改物品信息或删除物品信息。In one embodiment, as shown in Figure 6, the device also includes a virtual storage space module 40; the virtual storage space includes at least one virtual storage unit, and one virtual storage unit corresponds to a storage device in the real scene; the virtual storage space module 40 is used to display the virtual storage unit interface of the first virtual storage unit when a selection instruction of the first virtual storage unit is obtained, and the virtual storage unit interface is used to display the third item information stored in the first virtual storage unit, and the first virtual storage unit is any virtual storage unit in the virtual storage space; when an item change instruction is obtained through the virtual storage unit interface, the third item information is updated according to the change instruction, and the change instruction is used to instruct to add item information, modify item information or delete item information.

在一个实施例中,所述虚拟储物空间模块40还用于在所述虚拟储物单元界面上以不同颜色显示不同物品临期情况的第三物品信息。In one embodiment, the virtual storage space module 40 is further configured to display third item information of different item expiration conditions in different colors on the virtual storage unit interface.

在一个实施例中所述虚拟储物空间模块40还用于在获取到搜索物品指令的情况下,根据所述搜索物品指令中包含的待搜索物品,在虚拟储物空间中匹配与所述待搜索物品对应的第四物品信息,并显示所述第四物品信息。In one embodiment, the virtual storage space module 40 is also used to match fourth item information corresponding to the item to be searched in the virtual storage space according to the item to be searched contained in the item search instruction when a search item instruction is obtained, and display the fourth item information.

在一个实施例中,所述菜谱显示模块10还用于在获取到搜索菜谱指令的情况下,根据所述搜索菜谱指令中包含的菜谱关键词在菜谱数据库中匹配与所述菜谱关键词对应的菜谱作为搜索结果,并显示所述搜索结果;在获取到对所述搜索结果中的任一菜谱的选中指令的情况下,确认获取到所述目标菜谱的显示指令。In one embodiment, the recipe display module 10 is also used to, when a recipe search instruction is obtained, match recipes corresponding to the recipe keywords in the recipe database as search results according to the recipe keywords contained in the recipe search instruction, and display the search results; when a selection instruction for any recipe in the search results is obtained, confirm that a display instruction for the target recipe is obtained.

在一个实施例中,所述菜谱显示模块10还用于获取用户输入的菜谱名称和所述菜谱名称对应的菜谱内容;将所述菜谱名称和所述菜谱内容保存在所述菜谱数据库中。In one embodiment, the recipe display module 10 is further used to obtain a recipe name input by a user and a recipe content corresponding to the recipe name; and save the recipe name and the recipe content in the recipe database.

在一个实施例中,所述菜谱信息还包括所述目标菜谱对应的菜品的制作方法以及制作一份所述菜品所需的目标物品用量;所述菜谱确认模块20还用于获取用户输入的制作份数;根据所述制作方法确定制作步骤,并根据所述目标物品数量和所述制作份数确定每一制作步骤所需的目标物品和目标物品数量;显示所述每一制作步骤所需的目标物品和目标物品数量;在获取到用户对所述每一制作步骤所需的目标物品和目标物品数量的准备完成指令的情况下,确定获取到所述目标菜谱的确认指令。In one embodiment, the recipe information also includes a preparation method for a dish corresponding to the target recipe and a target amount of an item required to prepare one serving of the dish; the recipe confirmation module 20 is also used to obtain the number of servings input by the user; determine the preparation steps according to the preparation method, and determine the target items and target item quantities required for each preparation step according to the target item quantity and the number of servings; display the target items and target item quantities required for each preparation step; and upon obtaining the user's preparation completion instructions for the target items and target item quantities required for each preparation step, determine that a confirmation instruction for the target recipe has been obtained.

在一个实施例中,所述菜谱确认模块20还用于将所有步骤所需的目标物品和目标物品数量确定为所述第二物品信息。In one embodiment, the recipe confirmation module 20 is further used to determine the target items and target item quantities required for all steps as the second item information.

上述虚拟储物管理装置,根据反映真实场景中的家用物品的储存情况的第一物品信息显示目标菜谱的菜谱信息,可以使得用户在查看目标菜谱时直观地看到目标菜谱所需要的目标物品,以及目标物品在虚拟储物空间中的储存信息,其中,所述储存信息来源于第一物品信息,反映了目标物品在真实场景中的储存情况;通过指示用户基于所述目标菜谱从所述真实场景中获取所述目标物品的第二物品信息,可以得到制作目标菜谱的菜品所需要的目标物品和目标物品的数量,在获取到菜谱确认指令后,视为用户确认要制作目标菜谱的菜品,最后根据所述第二物品信息更新所述第一物品信息,以更新所述目标物品在所述虚拟储物空间中的储存信息,使得所述虚拟储物空间中的储存信息与真实场景中的家用物品的储存情况保持一致,实现了对制作菜品前后的家用物品储存情况的准确记录。The above-mentioned virtual storage management device displays the recipe information of the target recipe based on the first item information reflecting the storage situation of household items in the real scene, so that the user can intuitively see the target items required for the target recipe and the storage information of the target items in the virtual storage space when viewing the target recipe, wherein the storage information is derived from the first item information, reflecting the storage situation of the target items in the real scene; by instructing the user to obtain the second item information of the target item from the real scene based on the target recipe, the target item and the quantity of the target item required to make the dishes of the target recipe can be obtained. After obtaining the recipe confirmation instruction, it is deemed that the user confirms to make the dishes of the target recipe. Finally, the first item information is updated according to the second item information to update the storage information of the target item in the virtual storage space, so that the storage information in the virtual storage space is consistent with the storage situation of household items in the real scene, thereby realizing accurate recording of the storage situation of household items before and after making dishes.

图7示出了一个实施例中计算机设备的内部结构图。如图7所示,该计算机设备包括通过系统总线连接的处理器、存储器和网络接口。其中,存储器包括非易失性存储介质和内存储器。该计算机设备的非易失性存储介质存储有操作系统,还可存储有计算机程序,该计算机程序被处理器执行时,可使得处理器实现虚拟储物管理方法。该内存储器中也可储存有计算机程序,该计算机程序被处理器执行时,可使得处理器执行虚拟储物管理方法。本领域技术人员可以理解,图7中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。FIG. 7 shows an internal structure diagram of a computer device in one embodiment. As shown in FIG. 7 , the computer device includes a processor, a memory, and a network interface connected via a system bus. Among them, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program, which, when executed by the processor, enables the processor to implement a virtual storage management method. The internal memory may also store a computer program, which, when executed by the processor, enables the processor to execute a virtual storage management method. Those skilled in the art will appreciate that the structure shown in FIG. 7 is only a block diagram of a partial structure related to the present application scheme, and does not constitute a limitation on the computer device to which the present application scheme is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

在一个实施例中,提出了一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行以下步骤:In one embodiment, a computer device is provided, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the following steps:

在获取到目标菜谱的显示指令的情况下,根据虚拟储物空间中存储的第一物品信息,显示所述目标菜谱的菜谱信息,所述菜谱信息包括所述目标菜谱对应的目标物品和所述目标物品在所述虚拟储物空间中的储存信息,所述第一物品信息用于反映真实场景中的家用物品的储存情况;在获取到用户基于所述菜谱信息输入的菜谱确认指令的情况下,根据所述菜谱确认指令确定第二物品信息,所述第二物品信息用于指示用户基于所述目标菜谱从所述真实场景中获取所述目标物品的信息;根据所述第二物品信息更新所述第一物品信息,以更新所述目标物品在所述虚拟储物空间中的储存信息。When a display instruction of a target recipe is obtained, recipe information of the target recipe is displayed according to first item information stored in the virtual storage space, the recipe information including a target item corresponding to the target recipe and storage information of the target item in the virtual storage space, the first item information being used to reflect the storage situation of household items in a real scene; when a recipe confirmation instruction input by a user based on the recipe information is obtained, second item information is determined according to the recipe confirmation instruction, the second item information being used to instruct the user to obtain information of the target item from the real scene based on the target recipe; the first item information is updated according to the second item information to update the storage information of the target item in the virtual storage space.

在一个实施例中,所述虚拟储物空间包括至少一个虚拟储物单元,一个虚拟储物单元对应一个所述真实场景中的储物设备;所述方法还包括:在获取到第一虚拟储物单元的选择指令的情况下,显示所述第一虚拟储物单元的虚拟储物单元界面,所述虚拟储物单元界面用于展示所述第一虚拟储物单元中存储的第三物品信息,所述第一虚拟储物单元为所述虚拟储物空间中的任意一个虚拟储物单元;在通过所述虚拟储物单元界面获取到物品更改指令的情况下,根据所述更改指令更新所述第三物品信息,所述更改指令用于指示增加物品信息、修改物品信息或删除物品信息。In one embodiment, the virtual storage space includes at least one virtual storage unit, and one virtual storage unit corresponds to a storage device in the real scene; the method also includes: when a selection instruction of a first virtual storage unit is obtained, a virtual storage unit interface of the first virtual storage unit is displayed, and the virtual storage unit interface is used to display third item information stored in the first virtual storage unit, and the first virtual storage unit is any virtual storage unit in the virtual storage space; when an item change instruction is obtained through the virtual storage unit interface, the third item information is updated according to the change instruction, and the change instruction is used to instruct to add item information, modify item information or delete item information.

在一个实施例中,所述显示所述第一虚拟储物单元的虚拟储物单元界面,包括:在所述虚拟储物单元界面上以不同颜色显示不同物品临期情况的第三物品信息。In one embodiment, the virtual storage unit interface displaying the first virtual storage unit includes: displaying third item information indicating the expiration status of different items in different colors on the virtual storage unit interface.

在一个实施例中,所述方法还包括:在获取到搜索物品指令的情况下,根据所述搜索物品指令中包含的待搜索物品,在虚拟储物空间中匹配与所述待搜索物品对应的第四物品信息,并显示所述第四物品信息。In one embodiment, the method further includes: when a search item instruction is obtained, matching fourth item information corresponding to the item to be searched in the virtual storage space according to the item to be searched contained in the search item instruction, and displaying the fourth item information.

在一个实施例中,所述根据虚拟储物空间中存储的第一物品信息,显示所述目标菜谱的菜谱信息之前,还包括:在获取到搜索菜谱指令的情况下,根据所述搜索菜谱指令中包含的菜谱关键词在菜谱数据库中匹配与所述菜谱关键词对应的菜谱作为搜索结果,并显示所述搜索结果;在获取到对所述搜索结果中的任一菜谱的选中指令的情况下,确认获取到所述目标菜谱的显示指令。In one embodiment, before displaying the recipe information of the target recipe based on the first item information stored in the virtual storage space, the method further includes: when a recipe search instruction is obtained, matching recipes corresponding to the recipe keywords in a recipe database as search results according to recipe keywords contained in the recipe search instruction, and displaying the search results; when a selection instruction for any recipe in the search results is obtained, confirming that a display instruction for the target recipe is obtained.

在一个实施例中,所述方法还包括:获取用户输入的菜谱名称和所述菜谱名称对应的菜谱内容;将所述菜谱名称和所述菜谱内容保存在所述菜谱数据库中。In one embodiment, the method further includes: acquiring a recipe name input by a user and a recipe content corresponding to the recipe name; and storing the recipe name and the recipe content in the recipe database.

在一个实施例中,所述菜谱信息还包括所述目标菜谱对应的菜品的制作方法以及制作一份所述菜品所需的目标物品用量;所述根据所述菜谱确认指令确定第二物品信息之前,还包括:获取用户输入的制作份数;根据所述制作方法确定制作步骤,并根据所述目标物品数量和所述制作份数确定每一制作步骤所需的目标物品和目标物品数量;显示所述每一制作步骤所需的目标物品和目标物品数量;在获取到用户对所述每一制作步骤所需的目标物品和目标物品数量的准备完成指令的情况下,确定获取到所述目标菜谱的确认指令。In one embodiment, the recipe information also includes a preparation method for a dish corresponding to the target recipe and a target item quantity required to prepare one serving of the dish; before determining the second item information according to the recipe confirmation instruction, it also includes: obtaining the number of servings input by the user; determining the preparation steps according to the preparation method, and determining the target items and target item quantities required for each preparation step according to the target item quantity and the number of servings; displaying the target items and target item quantities required for each preparation step; and determining that a confirmation instruction for the target recipe has been obtained when the user's preparation completion instruction for the target items and target item quantities required for each preparation step has been obtained.

在一个实施例中,所述根据所述菜谱确认指令确定第二物品信息,包括:将所有步骤所需的目标物品和目标物品数量确定为所述第二物品信息。In one embodiment, determining the second item information according to the recipe confirmation instruction includes: determining the target items and target item quantities required for all steps as the second item information.

在一个实施例中,提出了一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时,使得所述处理器执行以下步骤:In one embodiment, a computer-readable storage medium is provided, storing a computer program, wherein when the computer program is executed by a processor, the processor performs the following steps:

在获取到目标菜谱的显示指令的情况下,根据虚拟储物空间中存储的第一物品信息,显示所述目标菜谱的菜谱信息,所述菜谱信息包括所述目标菜谱对应的目标物品和所述目标物品在所述虚拟储物空间中的储存信息,所述第一物品信息用于反映真实场景中的家用物品的储存情况;在获取到用户基于所述菜谱信息输入的菜谱确认指令的情况下,根据所述菜谱确认指令确定第二物品信息,所述第二物品信息用于指示用户基于所述目标菜谱从所述真实场景中获取所述目标物品的信息;根据所述第二物品信息更新所述第一物品信息,以更新所述目标物品在所述虚拟储物空间中的储存信息。When a display instruction of a target recipe is obtained, recipe information of the target recipe is displayed according to first item information stored in the virtual storage space, the recipe information including a target item corresponding to the target recipe and storage information of the target item in the virtual storage space, the first item information being used to reflect the storage situation of household items in a real scene; when a recipe confirmation instruction input by a user based on the recipe information is obtained, second item information is determined according to the recipe confirmation instruction, the second item information being used to instruct the user to obtain information of the target item from the real scene based on the target recipe; the first item information is updated according to the second item information to update the storage information of the target item in the virtual storage space.

在一个实施例中,所述虚拟储物空间包括至少一个虚拟储物单元,一个虚拟储物单元对应一个所述真实场景中的储物设备;所述方法还包括:在获取到第一虚拟储物单元的选择指令的情况下,显示所述第一虚拟储物单元的虚拟储物单元界面,所述虚拟储物单元界面用于展示所述第一虚拟储物单元中存储的第三物品信息,所述第一虚拟储物单元为所述虚拟储物空间中的任意一个虚拟储物单元;在通过所述虚拟储物单元界面获取到物品更改指令的情况下,根据所述更改指令更新所述第三物品信息,所述更改指令用于指示增加物品信息、修改物品信息或删除物品信息。In one embodiment, the virtual storage space includes at least one virtual storage unit, and one virtual storage unit corresponds to a storage device in the real scene; the method also includes: when a selection instruction of a first virtual storage unit is obtained, a virtual storage unit interface of the first virtual storage unit is displayed, and the virtual storage unit interface is used to display third item information stored in the first virtual storage unit, and the first virtual storage unit is any virtual storage unit in the virtual storage space; when an item change instruction is obtained through the virtual storage unit interface, the third item information is updated according to the change instruction, and the change instruction is used to instruct to add item information, modify item information or delete item information.

在一个实施例中,所述显示所述第一虚拟储物单元的虚拟储物单元界面,包括:在所述虚拟储物单元界面上以不同颜色显示不同物品临期情况的第三物品信息。In one embodiment, the virtual storage unit interface displaying the first virtual storage unit includes: displaying third item information indicating the expiration status of different items in different colors on the virtual storage unit interface.

在一个实施例中,所述方法还包括:在获取到搜索物品指令的情况下,根据所述搜索物品指令中包含的待搜索物品,在虚拟储物空间中匹配与所述待搜索物品对应的第四物品信息,并显示所述第四物品信息。In one embodiment, the method further includes: when a search item instruction is obtained, matching fourth item information corresponding to the item to be searched in the virtual storage space according to the item to be searched contained in the search item instruction, and displaying the fourth item information.

在一个实施例中,所述根据虚拟储物空间中存储的第一物品信息,显示所述目标菜谱的菜谱信息之前,还包括:在获取到搜索菜谱指令的情况下,根据所述搜索菜谱指令中包含的菜谱关键词在菜谱数据库中匹配与所述菜谱关键词对应的菜谱作为搜索结果,并显示所述搜索结果;在获取到对所述搜索结果中的任一菜谱的选中指令的情况下,确认获取到所述目标菜谱的显示指令。In one embodiment, before displaying the recipe information of the target recipe based on the first item information stored in the virtual storage space, the method further includes: when a recipe search instruction is obtained, matching recipes corresponding to the recipe keywords in a recipe database as search results according to recipe keywords contained in the recipe search instruction, and displaying the search results; when a selection instruction for any recipe in the search results is obtained, confirming that a display instruction for the target recipe is obtained.

在一个实施例中,所述方法还包括:获取用户输入的菜谱名称和所述菜谱名称对应的菜谱内容;将所述菜谱名称和所述菜谱内容保存在所述菜谱数据库中。In one embodiment, the method further includes: acquiring a recipe name input by a user and a recipe content corresponding to the recipe name; and storing the recipe name and the recipe content in the recipe database.

在一个实施例中,所述菜谱信息还包括所述目标菜谱对应的菜品的制作方法以及制作一份所述菜品所需的目标物品用量;所述根据所述菜谱确认指令确定第二物品信息之前,还包括:获取用户输入的制作份数;根据所述制作方法确定制作步骤,并根据所述目标物品数量和所述制作份数确定每一制作步骤所需的目标物品和目标物品数量;显示所述每一制作步骤所需的目标物品和目标物品数量;在获取到用户对所述每一制作步骤所需的目标物品和目标物品数量的准备完成指令的情况下,确定获取到所述目标菜谱的确认指令。In one embodiment, the recipe information also includes a preparation method for a dish corresponding to the target recipe and a target item quantity required to prepare one serving of the dish; before determining the second item information according to the recipe confirmation instruction, it also includes: obtaining the number of servings input by the user; determining the preparation steps according to the preparation method, and determining the target items and target item quantities required for each preparation step according to the target item quantity and the number of servings; displaying the target items and target item quantities required for each preparation step; and determining that a confirmation instruction for the target recipe has been obtained when the user's preparation completion instruction for the target items and target item quantities required for each preparation step has been obtained.

在一个实施例中,所述根据所述菜谱确认指令确定第二物品信息,包括:将所有步骤所需的目标物品和目标物品数量确定为所述第二物品信息。In one embodiment, determining the second item information according to the recipe confirmation instruction includes: determining the target items and target item quantities required for all steps as the second item information.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and/or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims (10)

1. A virtual storage management method, the method comprising:
Under the condition that a display instruction of a target menu is acquired, displaying menu information of the target menu according to first article information stored in a virtual storage space, wherein the menu information comprises target articles corresponding to the target menu and storage information of the target articles in the virtual storage space, and the menu information also comprises a production method of dishes corresponding to the target menu and target article consumption required by producing one dish; the first article information is used for reflecting the storage condition of household articles in the real scene;
The method comprises the steps of obtaining the number of manufacturing copies input by a user;
Determining manufacturing steps according to the manufacturing method, and determining target articles and the number of target articles required by each manufacturing step according to the target article consumption and the manufacturing number;
displaying the target objects and the number of the target objects required by each manufacturing step;
determining to acquire a confirmation instruction of the target menu under the condition that a preparation completion instruction of a user on the target items and the number of the target items required by each manufacturing step is acquired;
Under the condition that the stored information of each item in the target item is not less than the required quantity of the target menu and a menu confirmation instruction input by a user based on the menu information is acquired, determining second item information according to the menu confirmation instruction, wherein the second item information is used for indicating the user to acquire the information of the target item from the real scene based on the target menu;
outputting the recommended production number of the objects with the least number of the objects under the condition that the stored information of part of the objects in the target object is smaller than the number required by the target menu; or adjusting the number of the manufactured parts according to the stored information of the target object;
Determining second article information corresponding to the number of manufacturing copies according to the suggested number of manufacturing copies or the adjusted number of manufacturing copies confirmed by the user;
updating the first article information according to the second article information so as to update the storage information of the target article in the virtual storage space;
Synchronously displaying the confirmation button of each step when the target articles and the number of the target articles required by each manufacturing step are displayed, and comparing the number of the target articles required by the current manufacturing step with the stored number of the target articles in the first article information if the triggering operation of the confirmation button of the current manufacturing step by a user is received;
When the storage quantity of the target objects is not less than the quantity of the target objects required by the current manufacturing step, turning green the confirmation button to show that the current manufacturing step is ready to be completed;
when the storage quantity of the target articles is smaller than the quantity of the target articles required by the current manufacturing step, turning the confirmation button into gray, locking the preparation completion button to enable the preparation completion button to be unable to trigger, and feeding back a prompt message of failure in preparation of the target articles through terminal equipment;
if the input of the number of the newly-supplemented target objects by the user is detected, modifying the number state of the target objects, and releasing the locking state of the preparation completion button;
And under the condition that the preparation completion instruction of the user for the target objects and the number of the target objects required by each manufacturing step is obtained, determining that the confirmation instruction of the target menu is obtained comprises the following steps:
If the confirmation buttons of all the manufacturing steps are green and the preparation completion instruction of the user on the target objects and the number of the target objects required by each manufacturing step is obtained, determining to obtain the confirmation instruction of the target menu;
Wherein the determining the second item information according to the menu confirmation instruction includes:
and determining the target objects and the number of the target objects required by all the steps as the second object information.
2. The virtual storage management method of claim 1, wherein the virtual storage space comprises at least one virtual storage unit, one virtual storage unit corresponding to a storage device in the real scene;
the method further comprises the steps of:
Displaying a virtual storage unit interface of a first virtual storage unit under the condition that a selection instruction of the first virtual storage unit is acquired, wherein the virtual storage unit interface is used for displaying third article information stored in the first virtual storage unit, and the first virtual storage unit is any virtual storage unit in the virtual storage space;
and under the condition that an article changing instruction is acquired through the virtual storage unit interface, updating the third article information according to the changing instruction, wherein the changing instruction is used for indicating to add article information, change article information or delete article information.
3. The virtual storage management method of claim 2, wherein the displaying the virtual storage unit interface of the first virtual storage unit comprises:
and displaying third article information of different article temporary conditions on the virtual storage unit interface in different colors.
4. The virtual storage management method of claim 1, wherein the method further comprises:
And under the condition that the article searching instruction is acquired, matching fourth article information corresponding to the article to be searched in the virtual storage space according to the article to be searched contained in the article searching instruction, and displaying the fourth article information.
5. The virtual storage management method according to claim 1, wherein before displaying the recipe information of the target recipe according to the first item information stored in the virtual storage space, further comprising:
Under the condition that a menu searching instruction is acquired, matching a menu corresponding to the menu keyword in a menu database according to the menu keyword contained in the menu searching instruction as a searching result, and displaying the searching result;
And under the condition that a selected instruction of any menu in the search results is acquired, confirming that a display instruction of the target menu is acquired.
6. The virtual storage management method of claim 1, wherein the method further comprises:
acquiring a menu name input by a user and menu content corresponding to the menu name;
storing the menu name and the menu content in the menu database;
and/or the number of the groups of groups,
The method further comprises the steps of:
receiving a menu modifying instruction issued by a user on a menu detail page, acquiring menu content of a current menu for modification, and storing the modified menu as a new menu to a menu database.
7. The method of claim 5, wherein the method further comprises:
Acquiring food detection instructions issued by a user aiming at any menu through a menu search result interface;
when a food detection instruction is acquired, acquiring the target object consumption of a detection object menu of the food detection instruction and the storage quantity of the target object, and comparing the target object consumption with the storage quantity of the target object;
When the storage quantity of the target articles is not less than the consumption of the target articles, returning a message that the storage quantity of the target articles meets the consumption requirement;
and when the storage quantity of the target articles is less than the consumption of the target articles, returning a message that the storage quantity of the target articles does not meet the consumption requirement.
8. A virtual storage management apparatus, the apparatus comprising:
The menu display module is used for displaying menu information of a target menu according to first article information stored in a virtual storage space under the condition that a display instruction of the target menu is acquired, wherein the menu information comprises target articles corresponding to the target menu and storage information of the target articles in the virtual storage space, and the menu information also comprises a production method of dishes corresponding to the target menu and target article consumption required by producing one dish; the first article information is used for reflecting the storage condition of household articles in the real scene;
The menu validation module is further configured to:
The method comprises the steps of obtaining the number of manufacturing copies input by a user;
Determining manufacturing steps according to the manufacturing method, and determining target articles and the number of target articles required by each manufacturing step according to the target article consumption and the manufacturing number;
displaying the target objects and the number of the target objects required by each manufacturing step;
determining to acquire a confirmation instruction of the target menu under the condition that a preparation completion instruction of a user on the target items and the number of the target items required by each manufacturing step is acquired;
The menu confirmation module is used for determining second item information according to the menu confirmation instruction under the condition that the stored information of each item in the target item is not less than the required quantity of the target menu and the menu confirmation instruction input by the user based on the menu information is acquired, and the second item information is used for indicating the user to acquire the information of the target item from the real scene based on the target menu;
The number of parts adjusting module is used for outputting recommended number of parts to be manufactured with the least number of parts to be manufactured under the condition that the stored information of part of the target articles is smaller than the number required by the target menu; or adjusting the number of the manufactured parts according to the stored information of the target object;
the menu confirmation module is also used for determining second article information corresponding to the number of the preparation copies according to the suggested number of the preparation copies or the adjusted number of the preparation copies confirmed by the user;
The updating module is used for updating the first article information according to the second article information so as to update the storage information of the target article in the virtual storage space;
The display and comparison module is used for synchronously displaying the confirmation button of each step when displaying the target articles and the number of the target articles required by each manufacturing step, and comparing the number of the target articles required by the current manufacturing step with the stored number of the target articles in the first article information if the triggering operation of the confirmation button of the current manufacturing step by a user is received;
A preparation completion display module for turning green the confirm button to indicate that the current manufacturing step is ready to be completed when the stored number of the target items is not less than the number of the target items required for the current manufacturing step;
The locking module is used for turning the confirmation button into gray when the storage quantity of the target articles is smaller than the quantity of the target articles required by the current manufacturing step, locking the preparation completion button to enable the preparation completion button to be unable to be triggered, and feeding back a prompt message of failure in preparation of the target articles through the terminal equipment;
The releasing module is used for modifying the quantity state of the target objects if the quantity input of the user on the newly-supplemented target objects is detected, and releasing the locking state of the preparation completion button;
The menu confirmation module is specifically configured to determine that a confirmation instruction of the target menu is acquired if confirmation buttons of all the manufacturing steps are green and a preparation completion instruction of a user on the target items and the number of the target items required by each manufacturing step is acquired;
The menu confirmation module is specifically configured to:
and determining the target objects and the number of the target objects required by all the steps as the second object information.
9. A computer readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of the method of any one of claims 1 to 7.
10. A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method of any of claims 1 to 7.
CN202110844373.7A 2021-07-26 2021-07-26 Virtual storage management method, device, computer equipment and storage medium Active CN113609172B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110844373.7A CN113609172B (en) 2021-07-26 2021-07-26 Virtual storage management method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110844373.7A CN113609172B (en) 2021-07-26 2021-07-26 Virtual storage management method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113609172A CN113609172A (en) 2021-11-05
CN113609172B true CN113609172B (en) 2024-06-14

Family

ID=78305379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110844373.7A Active CN113609172B (en) 2021-07-26 2021-07-26 Virtual storage management method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113609172B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114115646B (en) * 2021-12-03 2023-11-17 佛山市来德机械设备有限公司 Dish making method and device
CN114328840A (en) * 2021-12-30 2022-04-12 珠海优特智厨科技有限公司 Dish making instruction generation method and device, storage medium and electronic device
CN115978876B (en) * 2022-12-29 2025-06-06 珠海格力电器股份有限公司 Refrigerator and article storage method, module, electronic device and readable medium thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104983292A (en) * 2015-06-10 2015-10-21 小米科技有限责任公司 Food making method and device
CN105631574A (en) * 2014-11-21 2016-06-01 刘厚方 Intelligent storage service system
CN107763958A (en) * 2017-09-27 2018-03-06 珠海格力电器股份有限公司 Intelligent refrigerator

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000043923A2 (en) * 1999-01-22 2000-07-27 Macrosauce Gmbh System and computer-based method for automatically producing a recipe and for controlling said recipe, especially for the catering business, staff canteens and the like
US20120239504A1 (en) * 2011-03-15 2012-09-20 Microsoft Corporation Virtual Shopping Assistance
CN107909642A (en) * 2017-10-13 2018-04-13 爱图瓴(上海)信息科技有限公司 A kind of refrigerator, food materials modeling unit, terminal, food materials management system and method
CN109902227A (en) * 2019-01-25 2019-06-18 广州富港万嘉智能科技有限公司 A kind of food materials recommended method and device
CN111584035B (en) * 2019-02-18 2023-10-27 珠海格力电器股份有限公司 Menu recommendation method and device and refrigerator
CN111666790A (en) * 2019-03-07 2020-09-15 百度在线网络技术(北京)有限公司 Method and device for acquiring articles
CN110955692B (en) * 2019-11-29 2021-11-16 广东美的厨房电器制造有限公司 Menu information processing method, processing device, kitchen appliance and readable storage medium
CN111103813B (en) * 2019-12-19 2021-03-16 珠海优特智厨科技有限公司 Processing method, device and equipment of prepared material data
CN112069403A (en) * 2020-08-31 2020-12-11 青岛海尔智能技术研发有限公司 Menu recommendation method and device, computer equipment and storage medium
CN112365214B (en) * 2020-12-01 2025-01-14 珠海优特智厨科技有限公司 Cooking management method, device and system, storage medium, and computer equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105631574A (en) * 2014-11-21 2016-06-01 刘厚方 Intelligent storage service system
CN104983292A (en) * 2015-06-10 2015-10-21 小米科技有限责任公司 Food making method and device
CN107763958A (en) * 2017-09-27 2018-03-06 珠海格力电器股份有限公司 Intelligent refrigerator

Also Published As

Publication number Publication date
CN113609172A (en) 2021-11-05

Similar Documents

Publication Publication Date Title
CN113609172B (en) Virtual storage management method, device, computer equipment and storage medium
JP2022058861A (en) Mobile application for controlling outdoor grill
CN108897768A (en) A kind of method of ordering and device, electronic equipment
WO2019171263A1 (en) Ingredient updating method and storage device
US20210124541A1 (en) Conversational Analytics with Data Visualization Snapshots
US20170293964A1 (en) Consumable Goods Inventory Management System
TW200419413A (en) Master data management system for centrally managing core reference data associated with an enterprise
CN103606029A (en) Intelligent-terminal food management method and system
JP2018515861A (en) Method and apparatus for providing collocation information for business objects
US7392484B1 (en) Method and system for capturing, storing, sharing, and managing notes taken during a computer based meeting
CN117093219B (en) Visualization method based on data source, electronic equipment and storage medium
CN114372447A (en) Report form filling method, equipment and storage medium
JP2015170019A (en) Information processing apparatus, medication management terminal apparatus, information processing method and program
US12190021B2 (en) Smart render design tool and method
US12387274B1 (en) Systems and methods for continuously updating policy data based on dynamically acquired image data
US12361382B2 (en) Collaborative video chat screen sharing using a digital product collaboration platform
JPH07296071A (en) Menu management device
CN116628040B (en) Cooking menu acquisition and update method based on big data
CN108984176B (en) High-definition desktop development system
CN113987613A (en) Graph processing method, furniture design method, system and equipment
CN114049168A (en) Method and device for displaying commodity object information and electronic equipment
JP2002007576A (en) Electronic menu generating device
CN112989769A (en) Method, device and platform for constructing multi-data-source form based on form engine
JP2002230278A (en) Food information management system, food information management method, food information management program
US12142050B1 (en) Systems and methods for isolating features in dynamically acquired image data used for updating policy data

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