WO2022095564A1 - Display device and interface display method - Google Patents

Display device and interface display method Download PDF

Info

Publication number
WO2022095564A1
WO2022095564A1 PCT/CN2021/114670 CN2021114670W WO2022095564A1 WO 2022095564 A1 WO2022095564 A1 WO 2022095564A1 CN 2021114670 W CN2021114670 W CN 2021114670W WO 2022095564 A1 WO2022095564 A1 WO 2022095564A1
Authority
WO
WIPO (PCT)
Prior art keywords
ingredient
interface
custom
search
library
Prior art date
Application number
PCT/CN2021/114670
Other languages
French (fr)
Chinese (zh)
Inventor
孔祥键
卢可敬
李金昆
穆聪聪
Original Assignee
海信视像科技股份有限公司
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
Priority claimed from CN202011216565.5A external-priority patent/CN112344618A/en
Priority claimed from CN202110418427.3A external-priority patent/CN114294897A/en
Priority claimed from CN202110560982.XA external-priority patent/CN113483518B/en
Application filed by 海信视像科技股份有限公司 filed Critical 海信视像科技股份有限公司
Priority to CN202180066166.1A priority Critical patent/CN116235011A/en
Publication of WO2022095564A1 publication Critical patent/WO2022095564A1/en

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F25REFRIGERATION OR COOLING; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS; MANUFACTURE OR STORAGE OF ICE; LIQUEFACTION SOLIDIFICATION OF GASES
    • F25DREFRIGERATORS; COLD ROOMS; ICE-BOXES; COOLING OR FREEZING APPARATUS NOT OTHERWISE PROVIDED FOR
    • F25D11/00Self-contained movable devices, e.g. domestic refrigerators
    • F25D11/02Self-contained movable devices, e.g. domestic refrigerators with cooling compartments at different temperatures

Abstract

Disclosed are a display device and an interface display method. The method comprises: receiving an input food material search instruction, wherein the food material search instruction carries a search word; matching the search word with food materials in a food material library; if there is a target food material, which matches the search word, in the food material library, displaying a search result interface that contains a food material icon of the target food material; if there is no target food material, which matches the search word, in the food material library, displaying a search result interface that contains a self-defined food material adding control, wherein the self-defined food material adding control is used for triggering skipping to a self-defined food material adding interface, and the self-defined food material adding interface is used for receiving a self-defined food material input by a user.

Description

显示设备及界面显示方法Display device and interface display method
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求在2020年11月04日提交的申请号为202011216565.5、发明名称为“冰箱及食材信息的定义方法”的中国专利申请的优先权,在2021年05月19日提交的申请号为202110560982.X、发明名称为“冰箱及界面显示方法”的中国专利申请的优先权,在2021年04月19日提交的申请号为202110418427.3、发明名称为“冰箱及食材图标显示方法”的中国专利申请的优先权,上述申请的全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202011216565.5 filed on November 04, 2020 and the invention titled "Method for Defining Refrigerator and Food Material Information", and the application number filed on May 19, 2021 is 202110560982 .X, the priority of the Chinese patent application entitled "Refrigerator and Interface Display Method", filed on April 19, 2021 with the application number of 202110418427.3 and the Chinese patent application entitled "Refrigerator and Food Icon Display Method" , the entire contents of the aforementioned application are incorporated herein by reference.
技术领域technical field
本申请涉及冰箱技术领域,尤其涉及一种显示设备及界面显示方法。The present application relates to the technical field of refrigerators, and in particular, to a display device and an interface display method.
背景技术Background technique
目前家庭成员获取冰箱内食材的方式一般是通过打开冰箱门,用肉眼的直观获取。At present, the way for family members to obtain the ingredients in the refrigerator is generally by opening the refrigerator door and intuitively obtaining it with the naked eye.
为提高用户体验,可通过为冰箱配置无线设备识别(radio frequency identification,RFID)装置,或者摄像头,使得用户在不打开冰箱门的情况下,通过在冰箱上设备有一显示器而获取。该显示器可以做成可触控的,或者可语音控制的。In order to improve the user experience, the refrigerator can be equipped with a radio frequency identification (RFID) device, or a camera, so that the user can obtain the information by installing a display on the refrigerator without opening the refrigerator door. The display can be made touch-sensitive, or voice-controllable.
发明内容SUMMARY OF THE INVENTION
本申请提供的显示设备及界面显示方法,用以解决用户自定义食材信息过程中操作繁琐的问题。The display device and the interface display method provided by the present application are used to solve the problem of complicated operation in the process of user-defined food material information.
第一方面,本申请提供一种显示设备,包括:In a first aspect, the present application provides a display device, including:
显示器,用于展示用户界面;a display for presenting the user interface;
与所述显示器连接的控制器,被配置为:A controller connected to the display, configured to:
接收输入的食材搜索指令,所述食材搜索指令携带搜索词;receiving an input ingredient search instruction, where the ingredient search instruction carries a search term;
将所述搜索词与食材库中的食材进行匹配;matching the search term with the ingredients in the ingredient library;
若食材库中存在与所述搜索词匹配的目标食材,则展示包含所述目标食材的食材图标的搜索结果界面;If there is a target ingredient matching the search term in the ingredient library, a search result interface containing the ingredient icon of the target ingredient is displayed;
若食材库中不存在与所述搜索词匹配的目标食材,则展示包含自定义食材添加控件的搜索结果界面,所述自定义食材添加控件用于触发跳转到自定义食材添加界面,所述自定义食材添加界面用于接收用户输入的自定义食材。If there is no target ingredient matching the search term in the ingredient library, a search result interface including a custom ingredient adding control is displayed, and the custom ingredient adding control is used to trigger a jump to the custom ingredient adding interface, and the The custom ingredient adding interface is used to receive custom ingredients input by the user.
第二方面,本申请还提供一种界面显示方法,所述方法包括:In a second aspect, the present application also provides an interface display method, the method comprising:
接收输入的食材搜索指令,所述食材搜索指令携带搜索词;receiving an input ingredient search instruction, where the ingredient search instruction carries a search term;
将所述搜索词与食材库中的食材进行匹配;matching the search term with the ingredients in the ingredient library;
若食材库中存在与所述搜索词匹配的目标食材,则在所述显示器上展示包含所述目标食材的食材图标的搜索结果界面;If there is a target ingredient matching the search term in the ingredient library, displaying a search result interface containing an ingredient icon of the target ingredient on the display;
若食材库中不存在与所述搜索词匹配的目标食材,则在所述显示器上展示包含自定义食材添加控件的搜索结果界面,所述自定义食材添加控件用于触发跳转到自定义食材添加界面,所述自定义食材添加界面用于接收用户输入的自定义食材。If there is no target ingredient matching the search term in the ingredient library, a search result interface including a custom ingredient adding control is displayed on the display, and the custom ingredient adding control is used to trigger a jump to a custom ingredient An adding interface, where the custom ingredient adding interface is used to receive custom ingredients input by a user.
附图说明Description of drawings
为了更清楚地说明本申请的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the present application more clearly, the accompanying drawings that need to be used in the embodiments will be briefly introduced below. Other drawings can also be obtained from these drawings.
图1a为本申请根据一示例性实施例示出的显示设备的交互场景;FIG. 1a is an interaction scene of a display device according to an exemplary embodiment of the present application;
图1b为本申请根据一示例性实施例示出的冰箱立体图;Fig. 1b is a perspective view of a refrigerator according to an exemplary embodiment of the present application;
图1c为本申请根据示例性实施例示出的冰箱外观示意图;Fig. 1c is a schematic diagram of the appearance of a refrigerator according to an exemplary embodiment of the present application;
图2为本申请根据示例性实施例示出的冰箱硬件配置示意图;FIG. 2 is a schematic diagram of the hardware configuration of a refrigerator according to an exemplary embodiment of the present application;
图3为本申请根据示例性实施例示出的一种食材管理界面;Fig. 3 is an ingredient management interface shown in the present application according to an exemplary embodiment;
图4为本申请根据示例性实施例示出的一种食材库界面;FIG. 4 is an interface of an ingredient library according to an exemplary embodiment of the present application;
图5为本申请根据示例性实施例示出的另一种食材库界面;FIG. 5 is another food material library interface shown in the present application according to an exemplary embodiment;
图6为本申请根据示例性实施例示出的另一种食材库界面;FIG. 6 is another food material library interface shown in the present application according to an exemplary embodiment;
图7为本申请根据示例性实施例示出的一种自定义食材添加界面;FIG. 7 is a custom ingredient adding interface shown in the present application according to an exemplary embodiment;
图8为本申请根据示例性实施例示出的一种食材信息确认界面;FIG. 8 is a food material information confirmation interface shown in the present application according to an exemplary embodiment;
图9为本申请根据示例性实施例示出的另一种食材库界面;FIG. 9 is another food material library interface shown in this application according to an exemplary embodiment;
图10为本申请根据示例性实施例示出的一种搜索界面;FIG. 10 is a search interface shown in this application according to an exemplary embodiment;
图11为本申请根据示例性实施例示出的一种搜索结果界面;FIG. 11 is a search result interface shown in this application according to an exemplary embodiment;
图12为本申请根据示例性实施例示出的另一种搜索结果界面;FIG. 12 is another search result interface shown in this application according to an exemplary embodiment;
图13为本申请根据示例性实施例示出的另一种搜索结果界面;FIG. 13 is another search result interface shown in this application according to an exemplary embodiment;
图14为本申请根据示例性实施例示出的自定义食材添加界面;Fig. 14 is an interface for adding custom ingredients according to an exemplary embodiment of the present application;
图15为本申请根据示例性实施例示出的一种界面显示方法流程图;15 is a flowchart of an interface display method according to an exemplary embodiment of the present application;
图16为本申请根据示例性实施例示出的一种食材管理界面;Fig. 16 is an ingredient management interface shown in the present application according to an exemplary embodiment;
图17为本申请根据示例性实施例示出的另一种食材管理界面;FIG. 17 is another food material management interface shown in this application according to an exemplary embodiment;
图18为本申请根据示例性实施例示出的一种食材图标显示方法流程图。Fig. 18 is a flow chart of a method for displaying an ingredient icon according to an exemplary embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请中的技术方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described The embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the scope of protection of the present application.
在本发明的描述中,需要理解的是,术语“中心”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。In the description of the present invention, it should be understood that the terms "center", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", The orientation or positional relationship indicated by "top", "bottom", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying The device or element referred to must have a particular orientation, be constructed and operate in a particular orientation, and therefore should not be construed as limiting the invention.
术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本发明的描述中,除非另有说明,“多个”的含义是两个或两个以上。The terms "first" and "second" are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may expressly or implicitly include one or more of that feature. In the description of the present invention, unless otherwise specified, "plurality" means two or more.
在本发明的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、 “连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。In the description of the present invention, it should be noted that the terms "installed", "connected" and "connected" should be understood in a broad sense, unless otherwise expressly specified and limited, for example, it may be a fixed connection or a detachable connection Connection, or integral connection; it can be directly connected, or indirectly connected through an intermediate medium, and it can be the internal communication of two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood in specific situations.
目前家庭成员获取冰箱内食材的方式一般是通过打开冰箱门,用肉眼的直观获取。At present, the way for family members to obtain the ingredients in the refrigerator is generally by opening the refrigerator door and intuitively obtaining it with the naked eye.
为提高用户体验,可通过为冰箱配置无线设备识别(radio frequency identification,RFID)装置,或者内置摄像头,使得用户在不打开冰箱门的情况下,通过在冰箱上设备有一显示器而获取。该显示器可以做成可触控的,或者可语音控制的。In order to improve the user experience, the refrigerator can be equipped with a radio frequency identification (RFID) device, or a built-in camera, so that the user can obtain the information by installing a display on the refrigerator without opening the refrigerator door. The display can be made touch-sensitive, or voice-controllable.
目前,智能家电的互通互联称为当下研究火热的问题,人们希望在还没有回到家的时候,就可以控制家电,或者,在客厅就可以控制冰箱、空调等。At present, the interconnection of smart home appliances is a hot research topic. People hope to control home appliances before they return home, or control refrigerators and air conditioners in the living room.
本申请提供的食材编辑为主题的描述中,可以在带有显示器的冰箱上执行,也可以在其他家电、手持设备中执行。In the description of the subject of food editing provided in this application, it can be performed on a refrigerator with a display, and can also be performed on other home appliances and handheld devices.
图1a中示例性示出了根据实施例中显示设备操作场景的示意图。FIG. 1a exemplarily shows a schematic diagram of an operation scenario of a display device according to an embodiment.
在一些实施例中,显示设备可以是带有显示器或者显示器的任意家居或者办公设备,例如当如移动终端、平板电脑、计算机、笔记本电脑、电视、冰箱、电子白板、烤箱、洗衣机、可视电话、镜子等可以成为为用户展示UI界面的载体时,上述设备均为本申请所涉及的显示设备,并不限制是图1a所示的电视200A、冰箱200B、烤箱200C。In some embodiments, the display device may be any home or office device with a display or display, such as a mobile terminal, a tablet computer, a computer, a laptop, a TV, a refrigerator, an electronic whiteboard, an oven, a washing machine, a video phone , mirror, etc. can be used as carriers for displaying UI interface for users, the above-mentioned devices are all display devices involved in this application, and are not limited to TV 200A, refrigerator 200B, and oven 200C shown in FIG. 1a.
在一些实施例中,显示设备200还与服务器100进行数据通信。可允许显示设备200通过局域网(LAN)、无线局域网(WLAN)和其他网络进行通信连接。服务器100可以向显示设备200提供各种内容和互动。服务器100可以是一个集群,也可以是多个集群,可以包括一类或多类服务器。In some embodiments, the display device 200 is also in data communication with the server 100 . The display device 200 may be allowed to communicate via local area network (LAN), wireless local area network (WLAN), and other networks. The server 100 may provide various contents and interactions to the display device 200 . The server 100 may be a cluster or multiple clusters, and may include one or more types of servers.
在一些实施例中,显示设备还可以与其他显示设备进行数据同步和通信。可允许显示设备200通过局域网(LAN)、无线局域网(WLAN)与其他设备进行交互。可以通过同一局域网内设备进行互通,当一个显示设备进行的数据更新时,其他设备也一并更新。也可以通过账号管理的方式,当显示设备与其他设备通过账号登录时,可以与其在登录同一账号下的设备进行数据通信。In some embodiments, the display device may also synchronize and communicate data with other display devices. The display device 200 may be allowed to interact with other devices through a local area network (LAN), a wireless local area network (WLAN). The devices in the same local area network can communicate with each other. When the data of one display device is updated, other devices are also updated. Account management can also be used. When the display device and other devices are logged in through an account, data communication can be performed with the device under the same login account.
在一些实施例中,显示设备可以使用的手机、平板等智能设备或控制设备接收指令,也可以通过触摸或者手势接收用户的控制。In some embodiments, a smart device such as a mobile phone, a tablet, or a control device that can be used by the display device receives the instruction, and can also receive the user's control through touch or gesture.
在一些实施例中,显示设备200还可以采用除了控制装设备之外的方式进行控制,例如,可以通过显示设备200设备内部配置的获取语音指令的模块直接接收用户的语音指令控制,也可以通过显示设备200设备外部设置的语音控制设备来接收用户的语音指令控制。In some embodiments, the display device 200 may also be controlled in a manner other than the control device. For example, the module for acquiring voice commands configured inside the display device 200 may directly receive the user's voice command for control, or it may be controlled by the user's voice command. The display device 200 is a voice control device provided outside the device to receive the user's voice command control.
下面以冰箱为例,做一示例性的阐述。The following takes a refrigerator as an example to make an exemplary illustration.
图1b为本申请根据示例性实施例示出的冰箱立体图,本发明实施例提供的冰箱的形状近似长方体。冰箱的外观由提供有限储存空间的储藏室101和设置在储藏室101开口处的多个箱门200限定。储藏室101为具有开口的箱体100,在图1b所示示例中,储藏室101被包括位于下方的冷冻室101A以及位于上方的冷藏室101B,冷冻室101A和冷藏室101B分别具有一个或者多个独立的储存空间。Fig. 1b is a perspective view of a refrigerator according to an exemplary embodiment of the present application. The shape of the refrigerator provided by the embodiment of the present invention is approximately a rectangular parallelepiped. The appearance of the refrigerator is defined by the storage compartment 101 providing a limited storage space and a plurality of box doors 200 provided at the opening of the storage compartment 101 . The storage compartment 101 is a box body 100 with an opening. In the example shown in FIG. 1b, the storage compartment 101 includes a freezing compartment 101A located below and a refrigerating compartment 101B located above, and the freezing compartment 101A and the refrigerating compartment 101B respectively have one or more an independent storage space.
在一些实施例中,冷冻室101A可通过抽屉式冷冻室门200A选择性地覆盖。冷藏室101B被隔成左侧和右侧。冷藏室101B通过可枢转地安装在冷藏室101B上的冷藏室门200B选择性地打开或者关闭。In some embodiments, freezer compartment 101A may be selectively covered by freezer drawer door 200A. The refrigerator compartment 101B is partitioned into left and right sides. The refrigerating compartment 101B is selectively opened or closed by a refrigerating compartment door 200B pivotally mounted on the refrigerating compartment 101B.
图1c为本申请根据示例性实施例示出的冰箱外观示意图,如图1b所示,在冷藏室门 200B上设有显示器,显示器嵌入到门体中。在一些实施例中,显示器的屏幕所在平面与箱门外表面平齐。Fig. 1c is a schematic view of the appearance of a refrigerator according to an exemplary embodiment of the present application. As shown in Fig. 1b, a display is provided on the refrigerating compartment door 200B, and the display is embedded in the door body. In some embodiments, the plane of the screen of the display is flush with the outer surface of the door.
如图1b和图1c所示,本申请实施例提供的冰箱,其箱体内部设有至少两个储藏室,如冷冻室、冷藏室、变温室和/或保鲜室等。每个储藏室中可以具有多个独立的存储空间,如抽屉式间室。As shown in FIG. 1b and FIG. 1c, the refrigerator provided by the embodiment of the present application is provided with at least two storage compartments inside the box, such as a freezing compartment, a refrigerating compartment, a changing room, and/or a fresh-keeping room. Each storage compartment can have multiple independent storage spaces, such as drawer-style compartments.
图2为本申请根据示例性实施例示出的冰箱硬件配置示意图,作为示例,冰箱200可以包括显示器210、控制器220、存储器250和若干用户输入接口。FIG. 2 is a schematic diagram of a hardware configuration of a refrigerator according to an exemplary embodiment of the present application. As an example, the refrigerator 200 may include a display 210, a controller 220, a memory 250 and several user input interfaces.
在一些示例性实施方式中,冰箱200还可以包括至少一个RFID检测模块230、检测器240。显示器210、RFID检测模块230、检测器240、存储器250通过通信接口与控制器220耦合。其中,显示器210,用于接收控制器220输出的图像信号,进行显示视频内容和图像以及菜单操控界面的组件,以及显示用于控制冰箱200的用户操控UI界面。In some exemplary embodiments, the refrigerator 200 may further include at least one RFID detection module 230 , a detector 240 . The display 210, the RFID detection module 230, the detector 240, and the memory 250 are coupled with the controller 220 through a communication interface. The display 210 is used for receiving the image signal output by the controller 220 , performing components for displaying video content and images and a menu manipulation interface, and displaying a user manipulation UI interface for controlling the refrigerator 200 .
控制器220,可以包括一个或者多个处理单元,例如系统芯片(system on a chip,SoC)、中央处理器(central processing unit,CPU)、微控制器(microcontroller,MCU)、存储控制器等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The controller 220 may include one or more processing units, such as a system on a chip (SoC), a central processing unit (CPU), a microcontroller (MCU), a memory controller, and the like. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
存储器250,可以包括一个或者多个存储单元,例如可以包括易失性存储器(volatile memory),如:动态随机存取存储器(dynamic random access memory,DRAM)、静态随机存取存储器(static random access memory,SRAM)等;还可以包括非易失性存储器(non-volatile memory,NVM),如:只读存储器(read-only memory,ROM)、闪存(flash memory)等。其中,不同的存储单元可以是独立的器件,也可以集成或者封装在一个或者多个处理器或者通信接口中,成为处理器或者通信接口的一部分。The memory 250 may include one or more storage units, for example, may include volatile memory (volatile memory), such as: dynamic random access memory (dynamic random access memory, DRAM), static random access memory (static random access memory) , SRAM), etc.; can also include non-volatile memory (non-volatile memory, NVM), such as: read-only memory (read-only memory, ROM), flash memory (flash memory), etc. Wherein, different storage units may be independent devices, or may be integrated or packaged in one or more processors or communication interfaces, and become part of the processors or communication interfaces.
存储器250中存储有程序指令和应用程序如,语音应用。控制器220可调用存储器250中的程序指令或者运行应用程序,使冰箱执行相关的方法,例如本申请实施例所提供的食材信息编辑方法。The memory 250 stores program instructions and applications such as voice applications. The controller 220 may call program instructions in the memory 250 or run an application program, so that the refrigerator executes a related method, such as the method for editing food information provided by the embodiments of the present application.
检测器240,至少包括声音采集器,如麦克风,可以用于接收用户的声音。示例性的,包括用户控制冰箱200的控制指令的语音信号。The detector 240, including at least a sound collector, such as a microphone, may be used to receive the user's voice. Exemplarily, the voice signal includes a control instruction of the user to control the refrigerator 200 .
用户输入接口,包括麦克风、触摸板、传感器、按键等其他输入接口中至少一者。如:用户可以通过语音、触摸、手势、按压等动作实现用户指令输入功能,输入接口通过将接收的模拟信号转换为数字信号,以及数字信号转换为相应指令信号,发送至冰箱200。The user input interface includes at least one of other input interfaces such as a microphone, a touch panel, a sensor, and a button. For example, the user can implement the user command input function through actions such as voice, touch, gesture, pressing, etc. The input interface converts the received analog signal into a digital signal, and converts the digital signal into a corresponding command signal, and sends it to the refrigerator 200.
在一些实施例中,控制器220可以包括语音识别模块,语音识别模块进一步包括语音解析单元和语音指令数据库,从而使冰箱可以独立完成对用户输入的语音数据的语音识别,以及将识别出的语音内容与语音指令数据库中的语音指令进行匹配的过程。In some embodiments, the controller 220 may include a voice recognition module, and the voice recognition module further includes a voice parsing unit and a voice command database, so that the refrigerator can independently complete the voice recognition of the voice data input by the user, and the recognized voice The process of matching content with voice commands in a voice command database.
RFID检测模块230可以设置在每个储藏室内,用于在相应的储藏室发射无线信号并接收该储藏室内的RFID标签的信号,以获取RFID标签的食材编码。The RFID detection module 230 can be disposed in each storage room, and is used for transmitting wireless signals in the corresponding storage room and receiving the signal of the RFID tag in the storage room, so as to obtain the food item code of the RFID tag.
在一些实施例中,冰箱还包括设置在储藏室外部的标签读取区,即用于识别RFID标签的感应区域,在标签读取区处设置RFID检测模块,用于检测放置在该区域的RFID标签。可选的,标签读取区可以设置在显示器的下方,以便用户同时放置(或取走)RFID标签在标签读取区和操作显示器显示的用户界面。In some embodiments, the refrigerator further includes a tag reading area disposed outside the storage compartment, that is, a sensing area for identifying RFID tags, and an RFID detection module is disposed at the tag reading area for detecting RFID placed in the area. Label. Optionally, the tag reading area can be set below the display, so that the user can place (or take away) the RFID tag in the tag reading area and operate the user interface displayed on the display at the same time.
在一些实施例中,冰箱还可以包括RFID处理模块,RFID处理模块分别与每个RFID检测模块连接,用于控制RFID检测模块发射无线信号以及接收RFID检测模块反馈的RFID 标签的信号。In some embodiments, the refrigerator may further include an RFID processing module, which is respectively connected to each RFID detection module and used to control the RFID detection module to transmit wireless signals and to receive the RFID tag signal fed back by the RFID detection module.
在一些实施例中,RFID检测模块具体可以为天线。不同的储藏室内设置的天线的功率可以不同。且,各个储藏室的天线的功率能够保证天线识别到自身间室包括的食材即可,从而避免功率太大时会增加误识别率,功率太小时会识别不全自身间室的食材。在具体的实现中,可以预先根据各个储藏室的空间大小确定天线的功率,并在冰箱中设置各个天线的功率,空间越大,功率越大。In some embodiments, the RFID detection module may specifically be an antenna. The power of the antennas provided in different storage compartments may be different. In addition, the power of the antenna of each storage room can ensure that the antenna can recognize the ingredients included in its own compartment, so as to avoid that the false recognition rate will increase when the power is too high, and the ingredients in its own compartment will not be recognized when the power is too small. In a specific implementation, the power of the antenna can be determined in advance according to the space size of each storage room, and the power of each antenna is set in the refrigerator. The larger the space, the higher the power.
为了实现对食材的智能管理,使用RFID标签对储藏室中的食材进行标识。In order to realize the intelligent management of ingredients, RFID tags are used to identify the ingredients in the storage room.
在一些实施例中,通过建立RFID标签与食材信息之间的对应关系,实现RFID标签与食材信息之间的虚拟关联,可以通过修改RFID标签与食材信息之间的对应关系,使得同一个RFID标签先后与不同的食材信息相对应,提高RFID标签的使用灵活性。比如,建立RFID标签的标识信息与食材信息的对应关系,实现RFID标签与食材的虚拟关联。其中,RFID标签的标识信息可以为RFID检测模块230识别到的RFID标签的标签编码,也可以是标签编码中的一个码段。在这些实施例中,控制器220可以根据每个RFID标签的标识信息和预先建立的对应关系确定每个RFID标签对应的食材信息。In some embodiments, the virtual association between the RFID tag and the food material information is realized by establishing the corresponding relationship between the RFID tag and the food material information, and the corresponding relationship between the RFID tag and the food material information can be modified so that the same RFID tag Corresponding to different ingredient information successively, improving the flexibility of using RFID tags. For example, the corresponding relationship between the identification information of the RFID tag and the food material information is established to realize the virtual association between the RFID tag and the food material. The identification information of the RFID tag may be the tag code of the RFID tag identified by the RFID detection module 230, or may be a code segment in the tag code. In these embodiments, the controller 220 may determine the ingredient information corresponding to each RFID tag according to the identification information of each RFID tag and the pre-established correspondence.
示例性的,预先建立的RFID标签的标识信息与食材信息的对应关系可以如下表所示:Exemplarily, the pre-established correspondence between the identification information of the RFID tag and the food material information may be shown in the following table:
RFIDRFID 食材信息food information
标识1Logo 1 苹果apple
标识2Logo 2 黄瓜cucumber
标识3Logo 3 猪肉pork
……... ……...
在建立RFID标签与食材信息的对应关系后,控制器220通过检测RFID标签的信号获取RFID标签的标签编码,根据标签编码即可确定各标签关联的食材信息。After the corresponding relationship between the RFID tag and the food information is established, the controller 220 obtains the label code of the RFID label by detecting the signal of the RFID label, and the food information associated with each label can be determined according to the label code.
在一些实施例中,各标签关联的食材信息关联一个储藏室,根据食材信息关联的储藏室即可确定该食材的存放位置,如食材信息“苹果”与“冷藏室”关联,可以确定苹果存放在冷藏室中。In some embodiments, the ingredient information associated with each label is associated with a storage room, and the storage location of the ingredient can be determined according to the storage room associated with the ingredient information. in the refrigerator compartment.
在一些实施例中,在显示器210上显示食材管理界面,用户通过操作食材管理界面管理冰箱中的食材。比如,根据储藏室内每个RFID标签关联的食材信息在食材管理界面中绘制对应的食材控件/图标,使得冰箱中的食材以图标、图文等形式尽数展示。此外,还可以在食材管理界面中绘制功能控件,如RFID标签识别控件、食材添加控件等等,以供用户操作以触发控制器220实现相应功能。In some embodiments, an ingredient management interface is displayed on the display 210, and the user manages ingredients in the refrigerator by operating the ingredient management interface. For example, according to the ingredient information associated with each RFID tag in the storage room, the corresponding ingredient control/icon is drawn in the ingredient management interface, so that the ingredients in the refrigerator are displayed in the form of icons, pictures and texts. In addition, functional controls, such as an RFID tag identification control, an ingredient adding control, etc., can also be drawn in the ingredient management interface, for the user to operate to trigger the controller 220 to implement corresponding functions.
在一些实施例中,食材管理界面可以包括多个食材展示区,一个食材展示区可以对应一个储藏室,将各储藏室关联的食材信息显示在各储藏室对应的食材展示区中,即在食材管理界面中将冰箱中的食材分区展示出来。比如,在冷藏室对应的食材展示区中显示冷藏室关联的食材信息。食材管理界面中显示的食材信息包括但不限于食材图标、食材名称、食材的新鲜度标识,其中,食材图标可以根据食材的象形图片生成,食材的新鲜度标识用于示出食材的放入时间、距离过期的剩余时间和过期时间中的任意一项或者多项。应当理解,食材名称、食材的新鲜度标识等可以是食材图标的一部分,即包含于食材图标。In some embodiments, the ingredient management interface may include multiple ingredient display areas, one ingredient display area may correspond to one storage room, and the ingredient information associated with each storage room is displayed in the ingredient display area corresponding to each storage room, that is, in the ingredient display area. In the management interface, the ingredients in the refrigerator are displayed by partition. For example, the food item information associated with the refrigerating chamber is displayed in the food item display area corresponding to the refrigerating chamber. The ingredient information displayed in the ingredient management interface includes, but is not limited to, ingredient icons, ingredient names, and ingredient freshness signs. The ingredient icons can be generated according to the pictograms of the ingredients, and the ingredient freshness identifiers are used to indicate the time when the ingredients are put in. , any one or more of the remaining time until expiration and expiration time. It should be understood that the name of the ingredient, the freshness identifier of the ingredient, etc. may be part of the ingredient icon, that is, included in the ingredient icon.
图3为本申请根据示例性实施例示出的一种用户界面,其具体为一种示例性的食材管理界面。参阅图3,该食材管理界面包括标签编辑控件301、推荐菜谱控件302、添加食材 控件306,还包括与各个储藏室对应的分区,如冷藏室对应的分区303、变温室对应的分区304和冷温室对应的分区305。每个分区中显示有对应储藏室中各食材的食材图标,如分区303中的食材1、食材2、食材3、食材4和食材5,分区304中的食材图标6-食材图标11、以及分区305中的食材图标12和食材图标13。此外,每个分区都具有一个可滚动的滚动条,如分区303中可上下滚动的滚动条3030、分区304中可上下滚动的滚动条3040、分区305中可上下滚动的滚动条3050,用户可以通过操作该滚动条将在分区中显示的视图向上或者向下滚动,以显示未在用户界面上全部示出的食材图标。FIG. 3 is a user interface shown in the present application according to an exemplary embodiment, which is specifically an exemplary ingredient management interface. Referring to FIG. 3 , the ingredient management interface includes a label editing control 301, a recommended recipe control 302, and an ingredient adding control 306, and also includes partitions corresponding to each storage room, such as the partition 303 corresponding to the refrigerating room, the partition 304 corresponding to the changing room, and the cooling room. The greenhouse corresponds to the partition 305 . Each partition displays ingredient icons corresponding to the ingredients in the storage room, such as ingredient 1, ingredient 2, ingredient 3, ingredient 4, and ingredient 5 in partition 303, ingredient icon 6-ingredient icon 11 in partition 304, and partition 304. Ingredient icon 12 and ingredient icon 13 in 305 . In addition, each partition has a scrollable scroll bar, such as the scroll bar 3030 in the partition 303 that can be scrolled up and down, the scroll bar 3040 in the partition 304 that can be scrolled up and down, and the scroll bar 3050 in the partition 305. The view displayed in the section is scrolled up or down by operating the scroll bar to display ingredients icons that are not all shown on the user interface.
继续参阅图3,每个食材图标包括食材图片、食材名称和食材的新鲜度标识。以食材3[3031]为例,其包括食材图片30311、食材名称“食材1”(30312)以及新鲜度标识30313。值得注意的是,在图3中,由于食材1已过期,因此,将具有“已过期”字样的印章标识作为食材1的新鲜度标识,显示在食材图片上,令用户可以快速注意到冰箱中已经过期的食材。Continuing to refer to FIG. 3 , each ingredient icon includes an ingredient picture, an ingredient name and a freshness indicator of the ingredient. Taking ingredient 3 [3031] as an example, it includes an ingredient picture 30311, an ingredient name "ingredient 1" (30312), and a freshness identifier 30313. It is worth noting that in Fig. 3, since the ingredient 1 has expired, the seal with the word "expired" is used as the freshness identifier of the ingredient 1 and displayed on the image of the ingredient, so that the user can quickly notice what is in the refrigerator Food that has expired.
在一些实施例中,当食材距离过期的剩余天数小于预设天数时,通过新鲜度标识显性示出具体的剩余天数。例如,在图3所示食材管理界面中,由于食材6[3041]距离过期的剩余天数小于预设天数,因此,食材4的新鲜度标识[304111]中包括“剩余2天”的文字提示,令用户可以快速获取到即将过期的食材的剩余天数。In some embodiments, when the remaining days until the expiration date of the food item is less than the preset number of days, the specific remaining days are displayed explicitly through the freshness indicator. For example, in the ingredient management interface shown in FIG. 3, since the remaining days until expiration of ingredient 6 [3041] is less than the preset number of days, the freshness identifier [304111] of ingredient 4 includes a text prompt of "2 days remaining", Allows users to quickly obtain the remaining days of the ingredients that are about to expire.
具体实现时,食材管理界面可以是控制器220运行的食材管理相关应用的界面,用户可以在食材管理相关应用上触发显示食材管理界面。当食材管理相关应用接收到触发显示食材管理界面的用户操作时,从存储器中读取食材信息集合,根据食材信息集合中的食材信息在食材管理界面中显示对应的食材图标。其中,食材信息集合即由当前储藏室中所有RFID标签对应的食材信息构成的集合。In specific implementation, the ingredient management interface may be an interface of an ingredient management-related application run by the controller 220, and the user may trigger the ingredient management-related application to display the ingredient management interface. When an application related to ingredient management receives a user operation that triggers display of the ingredient management interface, it reads the ingredient information set from the memory, and displays the corresponding ingredient icon in the ingredient management interface according to the ingredient information in the ingredient information set. Wherein, the food material information set is a collection composed of food material information corresponding to all RFID tags in the current storage room.
在一些实施例中,RFID标签的标签编码可以包括一个或者多个码段。In some embodiments, the tag encoding of an RFID tag may include one or more code segments.
在一些实施例中,RFID标签的标签编码包括的多个码段符合预设组成规则,控制器在获取到标签编码后,根据该预设组成规则截取标签标识对应的码段以获取标签的唯一性标识,即标签标识。以标签编码中的一个码段作为RFID标签的标签标识,由于缩短了标识长度,因此可以提高标识比对过程的效率。In some embodiments, the multiple code segments included in the label code of the RFID tag conform to a preset composition rule. After acquiring the label code, the controller intercepts the code segment corresponding to the tag identifier according to the preset composition rule to obtain the unique code of the tag. Sexual identification, that is, label identification. Using a code segment in the tag encoding as the tag identification of the RFID tag can improve the efficiency of the identification comparison process because the identification length is shortened.
在一些实施例中,RFID标签可以分为自定义标签和预定义标签,其中,自定义标签是指关联的食材名称可由用户自定义的标签,预定义标签是指关联的食材名称不可由用户自定义的标签。自定义标签和预定义标签可以根据标签编码进行区分。In some embodiments, RFID tags can be divided into custom tags and predefined tags, wherein a custom tag refers to a tag whose associated ingredient name can be customized by a user, and a predefined tag refers to an associated ingredient name that cannot be customized by the user. defined label. Custom tags and predefined tags can be distinguished based on tag encoding.
在一些实施例中,RFID标签的标签编码包括至少两个码段,分别为第一码段和第二码段。其中,第一码段用于写入第一编码,该第一编码可以是预定编码或者是非预定编码。对于第一编码为预定编码的RFID标签,其对应的食材信息可由用户自定义,即为自定义标签;对于第一编码为非预定编码的RFID标签,其对应的预设食材信息被预先保存在云端服务器或者额本地食材库中,不可由用户自定义,即为预定义标签。第二码段用于写入第二编码,该第二编码为RFID标签的唯一性标识信息。需要说明的是,用户自定义食材名称是指用户可以根据需求将任意食材名称与RFID标签关联起来,同时,用户也可以根据需求的变化更改定义过的标签,从而使同一标签前后与不同的食材名称相关联,而用户不可以自定义食材名称即是指用户不可以更改与RFID标签关联的食材名称,此类RFID标签关联的食材名称被预先定义,并保存在云端服务器中或者本地食材库中。In some embodiments, the tag code of the RFID tag includes at least two code segments, a first code segment and a second code segment, respectively. The first code segment is used to write a first code, and the first code may be a predetermined code or a non-predetermined code. For an RFID tag whose first code is a predetermined code, the corresponding ingredient information can be customized by the user, that is, a user-defined tag; In the cloud server or the local ingredients library, it cannot be customized by the user, that is, it is a predefined label. The second code segment is used to write the second code, and the second code is the unique identification information of the RFID tag. It should be noted that the user-defined ingredient name means that the user can associate any ingredient name with the RFID tag according to their needs. At the same time, the user can also change the defined tag according to the change of needs, so that the same label can be used before and after different ingredients. The name is associated, and the user cannot customize the name of the ingredient, which means that the user cannot change the name of the ingredient associated with the RFID tag. The name of the ingredient associated with the RFID tag is pre-defined and saved in the cloud server or local ingredient library. .
当给定一RFID标签后,该标签是为预定义标签,还是为自定义标签,可以根据标签编 码所包含的第一编码确定。若第一编码是预定编码,则该标签是自定义标签,若第一编码不是预定编码,则该标签是预定义标签。在一些实施例中,RFID标签的标签编码包括的至少两个码段符合预设组成规则,控制器在获取到标签编码后,根据该预设组成规则截取第一码段和/或第二码段等以获取到第一编码和/或第二编码,从而节省了解析长编码信息的过程,提高处理效率。When an RFID tag is given, whether the tag is a predefined tag or a self-defined tag can be determined according to the first code included in the tag code. If the first code is a predetermined code, the label is a custom label, and if the first code is not a predetermined code, the label is a predefined label. In some embodiments, at least two code segments included in the label code of the RFID tag conform to a preset composition rule, and after acquiring the label code, the controller intercepts the first code segment and/or the second code segment according to the preset composition rule segment etc. to obtain the first code and/or the second code, thereby saving the process of parsing long code information and improving processing efficiency.
在一些实施例中,预定编码具有唯一性,如00;非预定编码不具有唯一性,其可以有多个,一个非预定编码对应于一种食材信息。In some embodiments, the predetermined code is unique, such as 00; the non-predetermined code is not unique, and there may be multiple ones, and one non-predetermined code corresponds to one kind of food item information.
示例性的,一种RFID标签的标签编码结构如下:Exemplarily, a tag coding structure of an RFID tag is as follows:
Figure PCTCN2021114670-appb-000001
Figure PCTCN2021114670-appb-000001
例如,控制器获取到RFID标签的标签编码为“01123456789012345678901234”,则根据预设组成规则,可以截取到第一编码为“01”,截取到第二编码为“123456789012345678901234”。For example, if the tag code of the RFID tag obtained by the controller is "01123456789012345678901234", then according to the preset composition rule, the first code can be intercepted as "01", and the second code can be intercepted as "123456789012345678901234".
需要说明的是,根据不同的需求,RFID标签的标签编码还可以包括更多码段,如第三码段,用于写入RFID标签的厂家标识,再如第四码段,用于作为标签编码的保留位,以提高RFID标签的可扩展性。在另一些实施例中,RFID标签的厂家标识也可以包含在第二码段中,此处不予赘述。It should be noted that, according to different requirements, the label code of the RFID tag can also include more code segments, such as the third code segment, which is used to write the manufacturer's identification of the RFID tag, and the fourth code segment, which is used as a label. Encoded reserved bits to improve scalability of RFID tags. In other embodiments, the manufacturer's identification of the RFID tag may also be included in the second code segment, which will not be repeated here.
示例性的,第一编码(非预定编码)与食材信息的对应关系可如下表所示:Exemplarily, the corresponding relationship between the first code (non-predetermined code) and the ingredient information may be as shown in the following table:
RFID第一编码RFID first code 食材名称food name
0101 萝卜radish
0202 胡萝卜carrot
0303 莲藕lotus root
……... ……...
在一些实施例中,在显示器上显示食材管理界面时,用户可以通过操作食材管理界面输入指示进行食材信息编辑的指令,例如,用户点击食材管理界面提供的食材信息编辑控件以指示进行食材信息编辑;当控制器接收到该指令后,开始检测放置在标签读取区上的RFID标签的信号以获取RFID标签的标识信息,并显示用于对该RFID标签关联的食材信息进行编辑的界面,即食材编辑界面,在食材编辑界面中输入用于与该RFID标签关联的食材信息。In some embodiments, when the ingredient management interface is displayed on the display, the user may input an instruction for editing ingredient information by operating the ingredient management interface. For example, the user clicks an ingredient information editing control provided on the ingredient management interface to instruct ingredient information editing. ; When the controller receives the instruction, it starts to detect the signal of the RFID tag placed on the tag reading area to obtain the identification information of the RFID tag, and displays the interface for editing the food material information associated with the RFID tag, that is, In the ingredient editing interface, the ingredient information used to associate with the RFID tag is input in the ingredient editing interface.
在一些实施例中,食材编辑界面中还可以显示获取到的RFID标签的标识信息,从而使用户可以直观看到RFID标签的标识信息,且无需用户手动输入标识信息,提升用户体验。In some embodiments, the acquired identification information of the RFID tag can also be displayed in the ingredient editing interface, so that the user can intuitively see the identification information of the RFID tag, and the user does not need to manually input the identification information, thereby improving user experience.
在一些实施例中,食材编辑界面中显示至少一个食材编辑项目,每个食材编辑项目包括项目名称和项目内容,其中,项目内容即为待编辑的部分,用户可以通过在输入位置处输入各食材编辑项目的项目内容,输入用于与该RFID标签进行关联的食材信息。输入完成后,控制器将输入的食材信息与标识信息对应保存,从而,完成并完善RFID标签的标识信息与食材信息的对应关系表的建立。In some embodiments, at least one ingredient editing item is displayed in the ingredient editing interface, and each ingredient editing item includes an item name and item content, wherein the item content is the part to be edited, and the user can input each ingredient at the input position by inputting each ingredient. Edit the item content of the item, and enter the ingredient information for associating with the RFID tag. After the input is completed, the controller stores the input ingredient information and the identification information correspondingly, thereby completing and improving the establishment of the correspondence table between the identification information of the RFID tag and the ingredient information.
在一些实施例中,用于编辑食材信息的界面可以称为食材编辑界面,其上显示的食材编辑项目可以包括食材名称编辑项目、食材保质期编辑项目、食材数量编辑项目,等等。 应理解,食材名称编辑项目的项目名称可以为“标签名称”,项目内容即为待输入或更新的食材名称,食材保质期编辑项目的项目名称可以为“保质期”,项目内容即为待输入或更新的保质期,食材数量编辑项目的项目名称可以为“数量”,项目内容即为待选择或更改的数量。In some embodiments, the interface for editing ingredient information may be called an ingredient editing interface, and the ingredient editing items displayed thereon may include ingredient name editing items, ingredient shelf life editing items, ingredient quantity editing items, and the like. It should be understood that the item name of the ingredient name editing item can be "label name", the item content is the name of the ingredient to be input or updated, the item name of the ingredient shelf life editing item can be "shelf life", and the item content is the item to be input or updated. , the item name of the ingredient quantity editing item can be "quantity", and the item content is the quantity to be selected or changed.
如图3所示,用户可以点击该界面中的RFID标签编辑控件以输入指示进行食材信息编辑的指令。响应于该指令,控制器控制RFID检测模块开始检测标签读取区上RFID标签的信号以获取RFID标签的标识信息。在控制器获取到RFID标签的标识信息后,在显示器上呈现食材编辑界面。As shown in FIG. 3 , the user can click on the RFID tag editing control in the interface to input an instruction instructing to edit the ingredient information. In response to the instruction, the controller controls the RFID detection module to start detecting the signal of the RFID tag on the tag reading area to obtain the identification information of the RFID tag. After the controller acquires the identification information of the RFID tag, an ingredient editing interface is presented on the display.
在一些实施例中,当控制器接收到用户输入的指示进行食材信息编辑的指令后,响应于该指令,显示标签扫描界面,在标签扫描界面中显示扫描提示,通过显示该扫描提示,提示用户将待编辑的RFID标签放置在标签读取区上。同时,控制器控制RFID检测模块开始检测标签读取区上RFID标签的信号以获取RFID标签的标识信息。在控制器获取到RFID标签的标识信息后,在显示器上呈现食材编辑界面。In some embodiments, after the controller receives an instruction input by the user to instruct to edit the ingredient information, in response to the instruction, a label scanning interface is displayed, a scanning prompt is displayed in the label scanning interface, and the user is prompted by displaying the scanning prompt. Place the RFID tag to be edited on the tag reading area. At the same time, the controller controls the RFID detection module to start detecting the signal of the RFID tag on the tag reading area to obtain the identification information of the RFID tag. After the controller acquires the identification information of the RFID tag, an ingredient editing interface is presented on the display.
在一些实施例中,用户也可以通过说出预设语音口令,以指示进行食材信息编辑的指令。比如,用户说出:“标签编辑”。当接收到用户输入的语音数据且识别出内容为“标签编辑”时,确认接收到输入的用于触发对RFID标签对应的食材信息进行编辑的预设语音指令。此时,控制器响应于该指令,显示标签扫描界面,并开始检测标签读取区上的RFID标签。In some embodiments, the user can also instruct the instruction to edit the ingredient information by speaking a preset voice password. For example, the user says: "tag edit". When the voice data input by the user is received and the content is identified as "tag editing", it is confirmed that the input preset voice instruction for triggering the editing of the ingredient information corresponding to the RFID tag is received. At this time, the controller responds to the instruction, displays the label scanning interface, and starts to detect the RFID label on the label reading area.
在一些实施例中,当接收到输入的预设语音指令时,首先判断是否检测到标签读取区上的RFID标签,若未检测到标签读取区上的RFID标签,说明用户还未将待编辑的RFID标签放置在标签读取区上,此时,再显示包含扫描提示的标签扫描界面,以提示用户将待编辑的RFID标签放置在所述标签读取区。In some embodiments, when an input preset voice command is received, it is first determined whether the RFID tag on the tag reading area is detected. If the RFID tag on the tag reading area is not detected, it means that the user has not The edited RFID tag is placed on the tag reading area, and at this time, a tag scanning interface including a scanning prompt is displayed to prompt the user to place the RFID tag to be edited in the tag reading area.
在一些实施例中,上述用于指示进行食材信息编辑的指令,还被称为RFID标签编辑指令。In some embodiments, the above-mentioned instruction for instructing to edit food material information is also referred to as an RFID tag editing instruction.
在一些实施例中,数据库包括食材库,食材库中包括大量的食材信息,如各预定义标签对应的预设食材信息、各自定义标签关联的食材信息,每个食材信息都关联一个储藏室,并且,各预定义标签对应的预设食材信息还与预定义标签的标签编码相关联,这样,可以根据预定义标签的标签编码在食材库中查找到对应的预设食材信息,各自定义标签对应的食材信息还与自定义标签的标签编码相关联,这样,可以根据自定义标签的标签编码在食材库中查找到关联的食材信息。In some embodiments, the database includes an ingredient library, and the ingredient library includes a large amount of ingredient information, such as preset ingredient information corresponding to each predefined tag, ingredient information associated with each custom tag, and each ingredient information is associated with a storage room, In addition, the preset ingredient information corresponding to each predefined tag is also associated with the tag code of the predefined tag, so that the corresponding preset ingredient information can be found in the ingredient library according to the tag code of the predefined tag, and each custom tag corresponds to The ingredient information is also associated with the tag code of the custom tag, so that the associated ingredient information can be found in the ingredient library according to the tag code of the custom tag.
在一些实施例中,用户还可以自主定义云端服务器中不存在的食材信息,以扩充食材库。In some embodiments, the user can also independently define information about ingredients that do not exist in the cloud server to expand the ingredient library.
在一些实施例中,食材库中预置的食材信息在食材库中可以分类保存,比如,水果类食材的食材信息保存在一个水果类食材集合中,蔬菜类食材的食材信息保存在另一个蔬菜类食材集合,用户自定义的食材信息保存在自定义食材集合中,食材库中所有的食材信息构成食材全集。各类食材信息在食材库中分类展示。比如,可以在食材库界面中设置与各食材类别相应的操作控件,当用户点击水果控件时,显示水果类食材集合中每个食材信息对应的食材图标,当用户点击蔬菜控件时,显示蔬菜类食材集合中每个食材信息对应的食材图标,当用户点击自定义食材控件时,显示自定义食材集合中每个食材信息对应的食材图标。In some embodiments, the ingredient information preset in the ingredient library can be classified and stored in the ingredient library. For example, the ingredient information of fruit ingredients is stored in a fruit ingredient collection, and the ingredient information of vegetable ingredients is stored in another vegetable ingredient. A collection of similar ingredients, the user-defined ingredient information is stored in the user-defined ingredient collection, and all ingredient information in the ingredient library constitutes a complete collection of ingredients. All kinds of ingredient information are displayed in categories in the ingredient library. For example, an operation control corresponding to each ingredient category can be set in the ingredient library interface. When the user clicks the fruit control, the ingredient icon corresponding to each ingredient information in the fruit ingredient collection is displayed, and when the user clicks the vegetable control, the vegetable category is displayed. The ingredient icon corresponding to each ingredient information in the ingredient collection, when the user clicks the custom ingredient control, the ingredient icon corresponding to each ingredient information in the custom ingredient collection is displayed.
在一些实施例中,通过在用户界面中显示食材库中部分或者全部食材信息对应的食材图标,将食材库直观地展示给用户,方便用户查看。In some embodiments, by displaying the ingredient icons corresponding to some or all of the ingredient information in the ingredient library in the user interface, the ingredient library is intuitively displayed to the user, which is convenient for the user to view.
图4为本申请在一些示例性实施例中示出的一种食材库界面。如图4所示,该食材库界面中包括标签切换栏410和内容区420,标签切换栏410中包括多个标签控件,分别为“全部”411、“水果”412、“蔬菜”413、“肉类”414、“饮品”415、“水产”416、“其他”417和“自定义食材”418,其中,焦点落在“全部”411上,即“全部”411处于被选中状态,因此内容区420中显示与“全部”的食材图标。应理解,当标签控件“全部”411被选中,内容区中显示食材库中所有可选的食材图标,这些食材图标在内容区中可以分类展示,也可以不分类展示。FIG. 4 is a food material library interface shown in some exemplary embodiments of the present application. As shown in FIG. 4 , the ingredient library interface includes a tab switch bar 410 and a content area 420. The tab switch bar 410 includes a plurality of tab controls, namely "All" 411, "Fruit" 412, "Vegetable" 413, " "Meat" 414, "Beverages" 415, "Aquaculture" 416, "Others" 417, and "Custom Ingredients" 418, where the focus falls on "All" 411, that is, "All" 411 is selected, so the content An ingredient icon with "All" is displayed in area 420. It should be understood that when the label control "All" 411 is selected, all optional ingredient icons in the ingredient library are displayed in the content area, and these ingredient icons may be displayed in categories or not in categories.
图5为本申请在一些示例性实施例中示出的另一种食材库界面,其具体为标签控件“水果”处于选中状态时显示的食材库界面。如图5所示,标签控件“水果”处于选中状态,内容区中显示多种水果的食材图标,分别为“苹果”、“橙子”、“香蕉”、“西瓜”、“芒果”、“榴莲”、“水蜜桃”、“菠萝”……。Fig. 5 is another food material library interface shown in some exemplary embodiments of the present application, which is specifically the food material library interface displayed when the label control "fruit" is in a selected state. As shown in Figure 5, the label control "Fruit" is selected, and the ingredient icons of various fruits are displayed in the content area, namely "Apple", "Orange", "Banana", "Watermelon", "Mango", "Durian" ”, “Peach”, “Pineapple”….
图6为本申请在一些示例性实施例中示出的另一种食材库界面,其具体为标签控件“自定义食材”处于选中状态时显示的食材库界面。如图6所示,标签控件“自定义食材”处于选中状态,内容区中显示多种自定义的食材图标,分别为“娃哈哈”、“咸鸭蛋”、“爆肚儿”、“辣椒酱”。除此之外,标签控件“自定义食材”对应的食材库界面中还显示有自定义食材添加控件“+添加自定义食材”。用户可以通过点击自定义食材添加控件输入自定义食材添加指令,食材管理应用响应于输入的自定义食材添加指令,将会显示自定义食材添加界面,在自定义食材添加界面中,用户可以输入新的自定义食材的食材信息。FIG. 6 is another ingredient library interface shown in some exemplary embodiments of the present application, which is specifically an ingredient library interface displayed when the label control "custom ingredient" is in a selected state. As shown in Figure 6, the label control "Custom Ingredients" is selected, and a variety of custom ingredients icons are displayed in the content area, namely "Wahaha", "Salted Duck Egg", "Bangduer", and "Chili Sauce". In addition, in the ingredient library interface corresponding to the label control "custom ingredients", a custom ingredient add control "+ add custom ingredients" is also displayed. The user can input the custom ingredient adding instruction by clicking the custom ingredient adding control, and the ingredient management application will display the custom ingredient adding interface in response to the input custom ingredient adding instruction. In the custom ingredient adding interface, the user can enter a new The ingredient information of the custom ingredient.
在图4至图6所示食材库界面上,还显示有返回控件“<”,用户可以通过操作该返回控件,控制返回到食材管理界面。On the ingredient library interface shown in FIG. 4 to FIG. 6, a return control "<" is also displayed, and the user can control to return to the ingredient management interface by operating the return control.
图7为本申请在一些示例性实施例中示出的自定义食材添加界面,其具体为显示在标签控件“自定义食材”被选中时的食材库界面上的自定义食材添加框。如图7所示,该自定义食材添加框中包括多个定义项目,如食材名称定义项目701、保质期定义项目702、存放位置定义项目703,每个定义项目对应至少一个输入位置或者操作位置,用户可以在输入位置处输入对应的信息,如在食材名称对应的输入位置处输入“鸭脖”、在保质期对应的输入位置处输入“2”、从存放位置对应的三个操作位置中,点击“冷藏室”前的操作位置,以选中“冷藏室”。输入完成后,用户可以点击界面中的“确认”控件704提交输入的各项信息,食材管理应用接收用户对“确认”控件704的操作,将用户输入的自定义食材“鸭脖”的食材信息保存食材库中。用户可以点击界面中的“取消”控件705,取消添加操作。Fig. 7 is a custom ingredient adding interface shown in some exemplary embodiments of the present application, which is specifically a custom ingredient adding box displayed on the ingredient library interface when the label control "custom ingredient" is selected. As shown in FIG. 7 , the custom ingredient adding box includes multiple definition items, such as ingredient name definition item 701, shelf life definition item 702, storage location definition item 703, and each definition item corresponds to at least one input position or operation position, The user can enter the corresponding information at the input position, such as inputting "duck neck" at the input position corresponding to the name of the ingredient, inputting "2" at the input position corresponding to the shelf life, and clicking from the three operation positions corresponding to the storage position. Operation position in front of "Fridge compartment" to select "Fridge compartment". After the input is completed, the user can click the "Confirm" control 704 in the interface to submit the input information, and the ingredient management application receives the user's operation on the "Confirm" control 704, and sends the ingredient information of the custom ingredient "Duck Neck" entered by the user. Save the ingredients in the library. The user can click the "Cancel" control 705 in the interface to cancel the adding operation.
在一些实施例中,用户可以通过单点或者长按操作选中食材库界面中的食材图标。In some embodiments, the user can select an ingredient icon in the ingredient library interface through a single-click or long-press operation.
在一些实施例中,食材管理应用响应于用户对食材库界面中食材图标的选中操作,在当前食材库界面上显示食材信息确认框,在食材信息确认框中显示该食材图标对应的食材信息,一方面,用户可以通过食材信息确认框查看到该食材图标对应的食材信息,另一方面,用户可以在食材信息确认框中对该食材图标对应的食材信息进行修改。In some embodiments, the ingredient management application displays an ingredient information confirmation box on the current ingredient library interface, and displays the ingredient information corresponding to the ingredient icon in the ingredient information confirmation box, in response to a user's selection of an ingredient icon in the ingredient library interface. On the one hand, the user can view the ingredient information corresponding to the ingredient icon through the ingredient information confirmation box, and on the other hand, the user can modify the ingredient information corresponding to the ingredient icon in the ingredient information confirmation box.
图8为本申请在一些示例性实施例中示出的一种食材库界面,其具体为用户在图5所示食材库界面中点击“苹果”后显示的界面。如图8所示,该食材库界面上显示有食材信息确认框810,食材信息确认框810中显示有食材图标“苹果”对应的各项食材信息、“确认 添加”控件以及“取消添加”控件。用户可以将食材信息确认框810中显示的一项或者多项食材信息删除并输入新的食材信息以实现食材信息的修改。当用户点击“确认添加”控件时,食材管理应用响应于该用户操作,将当前在食材信息确认框810显示的食材信息添加到本地食材信息集合中,并标记为存放状态,同时撤销对该食材信息确认框810的显示。其中,所述当前在食材信息确认框810显示的食材信息包括最初显示的信息和/或用户修改后的信息。当用户点击“取消添加”控件时,食材管理应用响应于该用户操作,撤销对该食材信息确认框810的显示。FIG. 8 is an interface of an ingredient library shown in some exemplary embodiments of the present application, which is specifically an interface displayed after a user clicks “apple” in the interface of the ingredient library shown in FIG. 5 . As shown in FIG. 8 , an ingredient information confirmation box 810 is displayed on the ingredient library interface. The ingredient information confirmation box 810 displays various ingredient information corresponding to the ingredient icon “apple”, a “confirm addition” control, and a “cancel addition” control. . The user can delete one or more items of ingredient information displayed in the ingredient information confirmation box 810 and input new ingredient information to modify the ingredient information. When the user clicks the "Add Confirmation" control, the ingredient management application, in response to the user's operation, adds the ingredient information currently displayed in the ingredient information confirmation box 810 to the local ingredient information set, marks it as a storage state, and cancels the ingredient at the same time Display of message confirmation box 810 . The ingredient information currently displayed in the ingredient information confirmation box 810 includes the information initially displayed and/or the information modified by the user. When the user clicks the "Cancel Add" control, the ingredient management application cancels the display of the ingredient information confirmation box 810 in response to the user operation.
在另一些实施例中,食材管理应用响应于用户对食材库界面中食材图标的选中操作,将用户选中的食材图标对应的食材信息直接添加到本地食材信息集合中,并标记为存放状态,而不显示如图8中示出的食材信息确认框。In other embodiments, in response to the user's selection operation on the ingredient icon in the ingredient library interface, the ingredient management application directly adds the ingredient information corresponding to the ingredient icon selected by the user into the local ingredient information set, and marks it as a storage state, while The ingredient information confirmation box as shown in FIG. 8 is not displayed.
结合上述实施例,在另一些实施例中,食材库界面还包括搜索栏,搜索栏包括搜索词输入框和搜索控件。用户可以在搜索词输入框中输入搜索词,如食材名称,输入搜索词后,用户可以通过点击搜索控件以输入携带搜索词的食材搜索指令,该食材搜索指令指示食材管理应用从食材库中搜索与输入的搜索词匹配的食材,并显示出匹配到的食材的食材图标。这样,用户不必通过浏览大量可选的食材图标来查找想要选择的食材图标,节省用户时间,提升用户体验。In combination with the above embodiments, in other embodiments, the ingredient library interface further includes a search bar, and the search bar includes a search term input box and a search control. The user can enter a search term, such as the name of an ingredient, in the search term input box. After entering the search term, the user can click the search control to enter an ingredient search instruction carrying the search term, and the ingredient search instruction instructs the ingredient management application to search from the ingredient library. The ingredients that match the entered search term are displayed, and the ingredients icons of the matching ingredients are displayed. In this way, the user does not have to browse a large number of optional ingredient icons to find the icon of the ingredient to be selected, which saves the user's time and improves the user experience.
食材管理应用响应于输入的食材搜索指令,将指令携带的搜索词与食材库中的食材进行匹配。若食材库中存在与搜索词匹配的目标食材,则展示包含目标食材的食材图标的搜索结果界面;若食材库中不存在与搜索词匹配的目标食材,则弹出包含自定义食材添加控件,该自定义食材添加控件用于触发跳转到自定义食材添加界面,自定义食材添加界面用于接收用户输入的自定义食材。The ingredient management application, in response to the input ingredient search instruction, matches the search term carried in the instruction with the ingredient in the ingredient library. If there is a target ingredient matching the search term in the ingredient library, a search result interface containing the ingredient icon of the target ingredient will be displayed; if there is no target ingredient matching the search term in the ingredient library, a custom ingredient adding control will pop up. The custom ingredient adding control is used to trigger a jump to the custom ingredient adding interface, and the custom ingredient adding interface is used to receive custom ingredients input by the user.
相较于传统的食材搜索方法,还食材管理应用将食材搜索功能和自定义食材添加功能相融合,在若食材库中存在与搜索词匹配的目标食材,直接展示包含目标食材的食材图标的搜索结果界面。若食材库中不存在与搜索词匹配的目标食材,除了提示无对应食材外,无需用户退出食材搜索界面,再进入自定义食材添加界面。而是可以在食材库中不存在与搜索词匹配的目标食材时,直接就在该界面弹出自定义食材添加控件,引导用户将未搜索到的食材添加至食材库。Compared with the traditional ingredient search method, the ingredient management application integrates the ingredient search function and the custom ingredient addition function. If there is a target ingredient that matches the search term in the ingredient library, the search for the ingredient icon containing the target ingredient will be displayed directly. Results interface. If there is no target ingredient matching the search term in the ingredient library, the user does not need to exit the ingredient search interface and then enter the custom ingredient addition interface, except for a prompt that there is no corresponding ingredient. Instead, when there is no target ingredient matching the search term in the ingredient library, a custom ingredient adding control can pop up directly on the interface to guide the user to add unsearched ingredients to the ingredient library.
图9为本申请在一些示例性实施例中示出的另一种食材库界面。如图9所示,在图4所示食材库界面基础上,该食材库界面中,在标签切换栏的上方显示有搜索栏910,包括搜索词输入框911和搜索控件912。在一些实现方式中,用户通过点击搜索词输入框激活起始输入位置,食材管理应用响应于用户对搜索词输入框的点击,将起始输入位置激活,并在食材库界面下部的上方显示输入法键盘。这样,用户可以基于输入法键盘输入搜索词。输入完成后,用户通过点击搜索控件输入携带输入的搜索词的食材搜索指令。在另一些实现方式中,用户可以通过说出语音口令的方式输入搜索词,如用户说出“搜索苹果”。食材管理应用通过检测器(麦克风)接收用户输入的语音口令,通过语义解析识别出携带搜索词的食材搜索指令。FIG. 9 is another food material library interface shown in some exemplary embodiments of the present application. As shown in FIG. 9 , based on the ingredient library interface shown in FIG. 4 , in the ingredient library interface, a search bar 910 is displayed above the label switching bar, including a search term input box 911 and a search control 912 . In some implementations, the user activates the initial input position by clicking on the search word input box, the ingredient management application activates the initial input position in response to the user's click on the search word input box, and displays the input at the upper part of the lower part of the ingredient library interface French keyboard. In this way, the user can enter search terms based on the input method keyboard. After the input is completed, the user inputs an ingredient search instruction carrying the input search term by clicking on the search control. In other implementations, the user may input the search term by speaking a voice password, for example, the user speaks "search for apple". The ingredient management application receives the voice password input by the user through the detector (microphone), and recognizes the ingredient search instruction carrying the search word through semantic analysis.
需要说明的是,用户也可以在显示其他界面时,通过操作其他界面上相应的控件以输入食材搜索指令,或者在显示其他界面时通过说出语音口令以输入基于语音控制功能的食材搜索指令。例如,在一些实施例中,食材管理界面中显示食材搜索控件。当用户点击食材搜索控件时,食材管理应用响应于用户对该控件的操作,显示搜索界面,搜索界面至少 包括搜索栏,搜索栏包括搜索词输入框和搜索控件。用户可以在搜索词输入框中输入搜索词,如食材名称,输入搜索词后,用户可以通过点击搜索控件以输入携带搜索词的食材搜索指令。搜索界面中还可以包括历史搜索词。It should be noted that the user can also input an ingredient search instruction by operating corresponding controls on the other interface when other interfaces are displayed, or input an ingredient search instruction based on the voice control function by speaking a voice password when other interfaces are displayed. For example, in some embodiments, an ingredient search control is displayed in the ingredient management interface. When the user clicks on the ingredient search control, the ingredient management application displays a search interface in response to the user's operation on the control, the search interface at least includes a search bar, and the search bar includes a search term input box and a search control. The user can enter a search term, such as the name of an ingredient, in the search term input box. After entering the search term, the user can click the search control to enter an ingredient search instruction that carries the search term. The search interface can also include historical search terms.
图10为本申请在一些示例性实施例中示出的一种搜索界面。如图10所示,该搜索界面搜索栏110和内容区120。搜索栏110包括搜索词输入框111和搜索控件112,内容区中120中显示有多个历史搜索词。FIG. 10 is a search interface shown in some exemplary embodiments of this application. As shown in FIG. 10 , the search interface has a search bar 110 and a content area 120 . The search bar 110 includes a search term input box 111 and a search control 112, and a plurality of historical search terms are displayed in the content area 120.
在一些实现方式中,食材管理应用响应于输入的携带搜索词的食材搜索指令后,遍历食材库中各食材对应的食材信息,利用预设的文本匹配规则,对遍历到的食材信息中的食材名称与所述搜索词进行匹配。其中,预设的文本匹配规则包括基于正则表达式的匹配规则、基于语义相似度的文本匹配规则等,本申请不予限定。例如,若食材名称包括搜索词,则该食材名称与搜索词匹配。再如,若食材名称与搜索词的语义相似度大于预设阈值,则该食材名称与搜索词匹配。若遍历到至少一个与搜索词匹配的食材名称,则将食材名称对应的食材确定为目标食材;若未遍历到与搜索词匹配的食材名称,则确定食材库中不存在与搜索词匹配的目标食材。In some implementations, the ingredient management application traverses the ingredient information corresponding to each ingredient in the ingredient library in response to the input ingredient search instruction that carries the search term, and uses preset text matching rules to traverse the ingredients in the traversed ingredient information. The name matches the search term. The preset text matching rules include regular expression-based matching rules, semantic similarity-based text matching rules, etc., which are not limited in this application. For example, if an ingredient name includes a search term, the ingredient name matches the search term. For another example, if the semantic similarity between the name of the ingredient and the search term is greater than the preset threshold, the name of the ingredient matches the search term. If at least one ingredient name matching the search term is traversed, the ingredient corresponding to the ingredient name is determined as the target ingredient; if no ingredient name matching the search term is traversed, it is determined that there is no target matching the search term in the ingredient library Ingredients.
在一些实现方式中,食材管理应用对应的本地数据中包括搜索结果变量。遍历及匹配过程中,每遍历到一个与搜索词匹配的目标食材,则将该目标食材对应的食材信息添加到搜索结果变量中;匹配结束后,根据搜索结果变量中的食材信息显示包含目标食材的食材图标的搜索结果界面。In some implementations, the local data corresponding to the ingredient management application includes search result variables. During the traversal and matching process, each time a target ingredient that matches the search term is traversed, the ingredient information corresponding to the target ingredient is added to the search result variable; after the matching is completed, the target ingredient is displayed according to the ingredient information in the search result variable. The search results interface of the ingredient icon.
图11为本申请在一些示例性实施例中示出的搜索结果界面,其具体可以为用户在图9所示食材库界面中搜索“苹果”后显示的界面。如图11所示,该搜索结果界面中显示有与“苹果”匹配的食材图标,包括“苹果”、“苹果酱”、“苹果汁”、“苹果糖”和“苹果醋”。可以看出,基于前述实施例介绍的搜索功能,可以大大缩小可选食材的范围,避免了用户亲自浏览图标、查找目标的过程,节省用户时间,提高使用体验。FIG. 11 is a search result interface shown in some exemplary embodiments of the present application, which may specifically be an interface displayed after a user searches for “apple” in the ingredient library interface shown in FIG. 9 . As shown in FIG. 11 , the search result interface displays ingredients icons matching "apple", including "apple", "applesauce", "apple juice", "apple candy" and "apple cider vinegar". It can be seen that, based on the search function introduced in the foregoing embodiment, the range of selectable ingredients can be greatly reduced, the process of users browsing icons and finding targets in person is avoided, the user time is saved, and the use experience is improved.
图12为本申请在一些示例性实施例中示出的搜索结果界面,其具体为在食材库中不存在与搜索词匹配的目标食材时显示的搜索结果界面。例如,图12可以是在食材库中不存在“提拉米苏”的情况下,用户在食材库界面中搜索“提拉米苏”后显示的界面。如图12所示,该搜索结果界面中显示有自定义食材添加控件“+添加自定义食材”。当用户操作该控件时,将显示自定义食材添加界面,如图7所示。FIG. 12 is a search result interface shown in some exemplary embodiments of the present application, which is specifically a search result interface displayed when there is no target ingredient matching the search term in the ingredient library. For example, FIG. 12 may be an interface displayed after the user searches for "tiramisu" in the ingredient library interface when "tiramisu" does not exist in the ingredient library. As shown in FIG. 12 , a custom ingredient adding control “+Add custom ingredient” is displayed in the search result interface. When the user operates the control, the custom ingredient adding interface will be displayed, as shown in Figure 7.
在一些实施例中,食材管理应用响应于用户对搜索界面中显示的自定义食材添加控件的操作,首先返回到自定义类别控件被选中时的食材库界面,再在自定义类别控件被选中时的食材库界面上显示自定义食材添加框,并在自定义食材添加框中食材名称定义项目对应的输入区域中显示用户输入的搜索词。由于用户输入的搜索词代表用户在食材库中未搜索到的食材,即也能代表用户想要添加的自定义食材,因此通过将搜索词显示在食材名称定义项目对应的输入区域中,可以节省用户手动输入食材名称的过程,从而提升用户体验。In some embodiments, the ingredient management application, in response to the user's operation on the custom ingredient addition control displayed in the search interface, first returns to the ingredient library interface when the custom category control is selected, and then when the custom category control is selected The custom ingredient add box is displayed on the ingredient library interface of the , and the search term entered by the user is displayed in the input area corresponding to the ingredient name definition item in the custom ingredient add box. Since the search term input by the user represents the ingredient that the user has not searched in the ingredient library, that is, it can also represent the custom ingredient that the user wants to add. Therefore, by displaying the search term in the input area corresponding to the ingredient name definition item, it is possible to save money. The process for the user to manually enter the name of the ingredient, thereby improving the user experience.
示例性的,当用户操作图12中的自定义食材添加控件“+添加自定义食材”时,自动返回到如图6所示的自定义类别控件被选中时的食材库界面,并在该食材库界面的上层显示自定义食材添加框,以及在自定义食材添加框中食材名称定义项目对应的输入区域中显示“提拉米苏”,即如图13所示。这样,无需用户手动输入“提拉米苏”,节省用户操作,提高用户体验。Exemplarily, when the user operates the custom ingredient adding control “+Add custom ingredient” in FIG. 12, the user automatically returns to the ingredient library interface when the custom category control is selected as shown in FIG. The upper layer of the library interface displays a custom ingredient add box, and "Tiramisu" is displayed in the input area corresponding to the ingredient name definition item in the custom ingredient add box, as shown in Figure 13. In this way, the user does not need to manually input "tiramisu", which saves user operations and improves user experience.
值得注意的是,在食材库中不存在用户想要添加的食材时,则产生添加自定义食材的 需求。而基于前述实施例可以看出,在食材库中不存在与搜索词匹配的目标食材的情况下,通过在搜索结果界面中设置自定义食材添加控件,使得用户可以一键触发显示自定义食材添加界面,从而避免了控制返回到“自定义食材”标签控件对应的食材库界面的系列操作,实现了在无搜索结果时快速进入自定义食材添加界面的功能,快速满足用户添加自定义食材的需求。通过将搜索词显示在食材名称定义项目对应的输入区域中,可以节省用户手动输入食材名称的过程,从而提升用户体验。It is worth noting that when the ingredients that the user wants to add does not exist in the ingredient library, a demand for adding custom ingredients arises. Based on the foregoing embodiment, it can be seen that in the case where there is no target ingredient matching the search term in the ingredient library, the user can trigger the display of custom ingredient addition with one click by setting a custom ingredient addition control in the search result interface. interface, thus avoiding a series of operations that control returning to the ingredient library interface corresponding to the "custom ingredients" tab control, realizing the function of quickly entering the custom ingredient adding interface when there is no search result, and quickly meeting the needs of users to add custom ingredients . By displaying the search term in the input area corresponding to the ingredient name definition item, the process of manually inputting the ingredient name by the user can be saved, thereby improving the user experience.
具体实现时,在包含搜索栏的界面中设置搜索监听服务(mSearchListener),以通过该搜索监听服务对用户在搜索词输入框中输入的搜索词和对搜索控件的操作进行监听。例如,在食材库界面设置搜索监听服务。在无搜索结果的情况下,食材管理应用响应于用户对搜索结果界面中自定义食材添加控件的操作,通过回调函数(addCustumFood)将搜索监听服务监听到的搜索词回调到食材库界面对应的页面参数中。回调函数还用于,将食材库界面中的“自定义食材”控件对应的状态切换成选中状态,以显示出“自定义食材”控件被选中时的食材库界面,并控制弹出自定义食材添加框,同时将回调的搜索词填充在食材名称定义项目对应的输入区域。In specific implementation, a search monitoring service (mSearchListener) is set in the interface including the search bar, so as to monitor the search term input by the user in the search term input box and the operation of the search control through the search monitor service. For example, set the search monitoring service on the ingredient library interface. In the case of no search results, the food management application, in response to the user's operation on the custom food addition control in the search result interface, uses the callback function (addCustumFood) to call back the search words monitored by the search monitoring service to the page corresponding to the food library interface in the parameter. The callback function is also used to switch the corresponding state of the "custom ingredients" control in the ingredients library interface to the selected state, so as to display the ingredients library interface when the "custom ingredients" control is selected, and control the pop-up of custom ingredients to add box, and fill in the search term of the callback in the input area corresponding to the item name definition item.
在一些实施例中,在显示食材库界面或者显示包含目标食材的食材图标的搜索结果界面时,用户可以通过单点或者长按操作选中界面中的食材图标,当用户选中某个食材图标时,该食材图标显示为选中状态。用户可以通过多次操作,选中多个食材图标。食材管理应用响应于用户对食材图标的选中操作,将用户选中的食材图标的显示状态更新为选中状态,若该选中操操作是用户首次输入的选中操作,则在当前界面中不遮挡食材图标的位置处显示预览区,在预览区中显示用户选中的食材图标。食材管理应用响应于输入的指示完成选择的操作,将用户选中的食材图标对应的食材信息保存在本地食材信息集合中。In some embodiments, when displaying an ingredient library interface or displaying a search result interface containing an ingredient icon of a target ingredient, the user can select an ingredient icon in the interface through a single-point or long-press operation. When the user selects an ingredient icon, The ingredient icon appears selected. Users can select multiple ingredient icons through multiple operations. In response to the user's selection operation on the ingredient icon, the ingredient management application updates the display status of the ingredient icon selected by the user to the selected state. If the selection operation is the selection operation input by the user for the first time, the ingredient icon will not be blocked in the current interface. A preview area is displayed at the location, and the icon of the ingredients selected by the user is displayed in the preview area. The ingredient management application completes the selection operation in response to the input instruction, and saves the ingredient information corresponding to the ingredient icon selected by the user in the local ingredient information set.
例如,在显示如图11所示的搜索结果界面时,食材管理应用响应于用户对“苹果”的选中操作,将“苹果”图标的显示状态更新为选中状态,并在该搜索结果界面下侧显示如图14示出的预览区141,在该预览区中显示“苹果”图标。当用户继续选中“苹果醋”时,“苹果”图标将呈现选中状态,同时,“苹果醋”图标也将显示在预览区141中。可以看到,预览区141还显示有“选好了”控件。用户完成选择后,通过点击该“选好了”控件,输入指示完成选择的操作,食材管理应用响应于该操作,将用户选中的食材图标对应的食材信息保存在本地食材信息集合中,并标记为放入状态。For example, when the search result interface shown in FIG. 11 is displayed, the ingredient management application updates the display state of the “apple” icon to the selected state in response to the user’s selection operation on “apple”, and displays it on the lower side of the search result interface. A preview area 141 as shown in FIG. 14 is displayed, in which an "apple" icon is displayed. When the user continues to select “Apple Cider Vinegar”, the “Apple” icon will appear in a selected state, and at the same time, the “Apple Cider Vinegar” icon will also be displayed in the preview area 141 . It can be seen that the preview area 141 also displays a "selected" control. After the user completes the selection, by clicking the "selected" control, input an operation indicating completion of the selection, and the ingredient management application responds to the operation, and saves the ingredient information corresponding to the ingredient icon selected by the user in the local ingredient information collection, and marks it. put into state.
由以上实施例可以看出,本申请实施例提供一种显示设备,该显示设备可以为冰箱,可也可以是其他的家电。可以接收输入的携带搜索词的食材搜索指令;将搜索词与食材库中的食材进行匹配;若食材库中存在与搜索词匹配的目标食材,则展示包含目标食材的食材图标的搜索结果界面,从而大大缩小可选食材的范围,避免了用户亲自浏览图标、查找目标的过程,节省用户时间,提高使用体验。It can be seen from the above embodiments that the embodiments of the present application provide a display device, and the display device may be a refrigerator or other home appliances. It can receive the input food search instruction carrying the search term; match the search term with the ingredients in the ingredient library; if there is a target ingredient matching the search term in the ingredient library, the search result interface containing the ingredient icon of the target ingredient is displayed, This greatly reduces the range of optional ingredients, avoids the process of users browsing icons and finding targets in person, saves user time, and improves user experience.
若食材库中不存在与搜索词匹配的目标食材,则展示包含自定义食材添加控件的搜索结果界面,该自定义食材添加控件用于触发跳转到自定义食材添加界面,该自定义食材添加界面用于接收用户输入的自定义食材。通过在搜索结果界面中设置自定义食材添加控件,使得用户可以一键触发显示自定义食材添加界面,实现了在无搜索结果时快速进入自定义食材添加界面的功能,快速满足用户添加自定义食材的需求,提升用户体验。If there is no target ingredient matching the search term in the ingredient library, the search result interface containing the custom ingredient adding control is displayed. The custom ingredient adding control is used to trigger a jump to the custom ingredient adding interface. The custom ingredient adding The interface is used to receive custom ingredients entered by the user. By setting the custom ingredient adding control in the search result interface, the user can trigger the display of the custom ingredient adding interface with one click, realizing the function of quickly entering the custom ingredient adding interface when there is no search result, and quickly satisfying users to add custom ingredients. requirements to improve user experience.
本申请实施例还提供一种界面显示方法,如图15所示,该方法可以包括:The embodiment of the present application also provides an interface display method, as shown in FIG. 15 , the method may include:
S151,接收输入的食材搜索指令,所述食材搜索指令携带搜索词。S151: Receive an input ingredient search instruction, where the ingredient search instruction carries a search term.
在一些实施例中,在所述显示器上显示食材管理界面,所述食材管理界面包括食材添加控件;响应于对所述食材添加控件的操作,显示食材库界面,所述食材库界面包括搜索栏,所述搜索栏包括搜索词输入框和搜索控件。通过接收用户在所述搜索词输入框中输入搜索词后输入的对所述搜索控件的操作,接收携带所述搜索词的食材搜索指令。In some embodiments, an ingredient management interface is displayed on the display, the ingredient management interface includes an ingredient addition control; in response to an operation on the ingredient addition control, an ingredient library interface is displayed, the ingredient library interface includes a search bar , the search bar includes a search word input box and a search control. By receiving an operation on the search control input by the user after inputting a search term in the search term input box, an ingredient search instruction carrying the search term is received.
S152,将所述搜索词与食材库中的食材进行匹配。S152: Match the search term with the ingredients in the ingredient library.
在一些实施例中,遍历食材库中各食材对应的食材信息,利用预设的文本匹配规则,对遍历到的食材信息中的食材名称与所述搜索词进行匹配;若遍历到至少一个与所述搜索词匹配的食材名称,则将所述食材名称对应的食材确定为所述目标食材;若未遍历到与所述搜索词匹配的食材名称,则确定食材库中不存在与所述搜索词匹配的目标食材。In some embodiments, the ingredient information corresponding to each ingredient in the ingredient library is traversed, and a preset text matching rule is used to match the name of the ingredient in the traversed ingredient information with the search term; If the name of the ingredient matching the search term is selected, the ingredient corresponding to the name of the ingredient is determined as the target ingredient; if the name of the ingredient that matches the search term is not traversed, it is determined that there is no name of the ingredient in the ingredient library that matches the search term. matching target ingredients.
S153,若食材库中存在与所述搜索词匹配的目标食材,则在所述显示器上展示包含所述目标食材的食材图标的搜索结果界面。S153 , if there is a target ingredient matching the search term in the ingredient library, display a search result interface including an ingredient icon of the target ingredient on the display.
在一些实施例中,本申请提供的界面显示方法还包括:响应于对所述目标食材的食材图标的选中操作,在所述搜索结果界面上不遮挡所述食材图标的位置显示预览区,在所述预览区中显示用户选中的食材图标;响应于输入的指示完成选择的操作,将用户选中的食材图标对应的食材信息保存在本地食材信息集合中。In some embodiments, the interface display method provided by the present application further includes: in response to a selection operation of an ingredient icon of the target ingredient, displaying a preview area on the search result interface at a position where the ingredient icon is not blocked, and in the search result interface The ingredient icon selected by the user is displayed in the preview area; the selection operation is completed in response to the input instruction, and the ingredient information corresponding to the ingredient icon selected by the user is stored in the local ingredient information set.
S154,若食材库中不存在与所述搜索词匹配的目标食材,则在所述显示器上展示包含自定义食材添加控件的搜索结果界面,所述自定义食材添加控件用于触发跳转到自定义食材添加界面,所述自定义食材添加界面用于接收用户输入的自定义食材。S154, if the target ingredient matching the search term does not exist in the ingredient library, display a search result interface including a custom ingredient adding control on the display, and the custom ingredient adding control is used to trigger a jump to a self-defined ingredient. An ingredient adding interface is defined, and the custom ingredient adding interface is used to receive custom ingredients input by the user.
在一些实施例中,响应于对所述自定义食材添加控件的操作,显示所述自定义食材添加界面;接收用户在所述自定义食材添加界面输入的自定义食材的食材信息;响应于在所述自定义食材添加界面中输入的确认操作,将所述自定义食材的食材信息保存在食材库中。In some embodiments, in response to an operation on the custom ingredient adding control, displaying the custom ingredient adding interface; receiving ingredient information of the custom ingredient input by the user on the custom ingredient adding interface; The confirmation operation input in the custom ingredient adding interface saves the ingredient information of the custom ingredient in the ingredient library.
在一些实施例中,食材库界面还包括标签切换栏和内容区,所述标签切换栏包括多个标签控件,当不同标签控件被选中时,所述内容区中显示不同范围内的食材图标;所述标签控件包括自定义标签控件,当所述自定义标签控件被选中时,所述内容区中显示自定义食材的食材图标;所述响应于对所述自定义食材添加控件的操作,显示自定义食材添加界面,包括:返回到所述自定义类别控件被选中时的所述食材库界面;在所述自定义类别控件被选中时的所述食材库界面上层显示自定义食材添加框,所述自定义食材添加框用于接收用户输入的自定义食材。In some embodiments, the ingredient library interface further includes a tab switch bar and a content area, the tab switch bar includes a plurality of tab controls, and when different tab controls are selected, the content area displays ingredient icons in different ranges; The label control includes a custom label control, and when the custom label control is selected, an ingredient icon of a custom ingredient is displayed in the content area; the display is displayed in response to an operation of adding a control to the custom ingredient. The custom ingredient adding interface includes: returning to the ingredient library interface when the custom category control is selected; displaying a custom ingredient adding box on the upper layer of the ingredient library interface when the custom category control is selected, The custom ingredient adding box is used to receive the custom ingredient input by the user.
在一些实施例中,所述自定义食材添加框至少包括食材名称定义项目;在所述自定义类别控件被选中时的所述食材库界面上层显示自定义食材添加框,包括:将所述搜索词显示在所述食材名称定义项目对应的输入区域。In some embodiments, the custom ingredient adding box includes at least an ingredient name definition item; when the custom category control is selected, a custom ingredient adding box is displayed on the upper layer of the ingredient library interface, including: adding the search The word is displayed in the input area corresponding to the item name definition item.
由以上实施例可以看出,本申请实施例提供一种界面显示方法,包括:接收输入的携带搜索词的食材搜索指令;将搜索词与食材库中的食材进行匹配;若食材库中存在与搜索词匹配的目标食材,则展示包含目标食材的食材图标的搜索结果界面,从而大大缩小可选食材的范围,避免了用户亲自浏览图标、查找目标的过程,节省用户时间,提高使用体验。;若食材库中不存在与搜索词匹配的目标食材,则展示包含自定义食材添加控件的搜索结果界面,该自定义食材添加控件用于触发跳转到自定义食材添加界面,该自定义食材添加界面用于接收用户输入的自定义食材。通过在搜索结果界面中设置自定义食材添加控件,使得用户可以一键触发显示自定义食材添加界面,实现了在无搜索结果时快速进入自定义食材添加界面的功能,快速满足用户添加自定义食材的需求,提升用户体验。It can be seen from the above embodiments that the embodiment of the present application provides an interface display method, which includes: receiving an input food search instruction carrying a search term; matching the search term with the food material in the food material library; For the target ingredients that match the search words, the search result interface containing the ingredient icons of the target ingredients will be displayed, thereby greatly narrowing the range of available ingredients, avoiding the process of browsing the icons and finding the target in person, saving users time and improving the user experience. ; If there is no target ingredient matching the search term in the ingredient library, the search result interface containing the custom ingredient addition control is displayed, and the custom ingredient addition control is used to trigger a jump to the custom ingredient addition interface. Add an interface for receiving custom ingredients entered by the user. By setting the custom ingredient adding control in the search result interface, the user can trigger the display of the custom ingredient adding interface with one click, realizing the function of quickly entering the custom ingredient adding interface when there is no search result, and quickly satisfying users to add custom ingredients. requirements to improve user experience.
图16为本申请在一些示例性实施例中示出的食材管理界面,其具体为将目标食材信息对应的食材图标滚动到分区顶端前的界面。如图16所示,在该食材管理界面中,各分区预设的展示列数为3,即每行显示3个食材图标。各分区的滚动条处于最靠上的位置,各分区中的前3个食材图标展示在各分区顶端的第一行中。分区303中展示的食材5与一个目标食材信息对应,其显示在分区303的第三行,分区304中展示的食材8与另一个目标食材信息对应,其显示在分区304的第二行。FIG. 16 is an ingredient management interface shown in some exemplary embodiments of the present application, which is specifically an interface before scrolling the ingredient icon corresponding to the target ingredient information to the top of the partition. As shown in FIG. 16 , in the ingredient management interface, the preset number of display columns in each partition is 3, that is, 3 ingredient icons are displayed in each row. The scroll bar of each partition is at the top position, and the first 3 ingredient icons in each partition are displayed in the first row at the top of each partition. The ingredient 5 displayed in the partition 303 corresponds to one target ingredient information, which is displayed in the third row of the partition 303 , and the ingredient 8 displayed in the partition 304 corresponds to another target ingredient information, which is displayed in the second row of the partition 304 .
图17为本申请在一些示例性实施例中示出的食材管理界面,其具体为将图16中目标食材信息对应的食材图标滚动到分区顶端后的界面。如图17所示,相比于图16所示界面,分区303的滚动条下移两行,食材5由第三行向上滚动到第一行;分区304中的滚动条下移一行,食材8由第二行向上滚动到第一行。FIG. 17 is an ingredient management interface shown in some exemplary embodiments of the present application, which is specifically an interface after scrolling the ingredient icon corresponding to the target ingredient information in FIG. 16 to the top of the partition. As shown in FIG. 17 , compared with the interface shown in FIG. 16 , the scroll bar of partition 303 moves down by two lines, and ingredient 5 scrolls up from the third row to the first row; the scroll bar in partition 304 moves down one row, ingredient 8 Scroll up from the second row to the first row.
参阅图16和图17可知,基于本申请实施例提供的显示设备,当食材信息集合中出现最新添加的目标食材信息时,无需用户手动操作分区中的滚动条,即可将目标食材信息对应的食材图标自动滚动到所在分区的顶端,进而方便用户查看最新添加的食材,提高用户体验。Referring to FIGS. 16 and 17, it can be seen that, based on the display device provided by the embodiment of the present application, when the newly added target ingredient information appears in the ingredient information set, it is not necessary for the user to manually operate the scroll bar in the partition to display the corresponding target ingredient information. The ingredient icon automatically scrolls to the top of the partition where it is located, making it easier for users to view the newly added ingredients and improving user experience.
在一些实施例中,为了能够将最新添加的食材信息对应的食材图标展示在食材展示区的顶端,还可以在监测到食材信息集合发生变化时,根据各食材信息包含的食材放入时间对集合中的食材信息进行降序排列,以使放入时间较晚的食材信息在食材信息集合中靠前排列。然后根据食材信息在集合中的排列顺序,则食材展示区中展示各食材信息对应的食材图标,以使食材图标在食材展示区中按照食材放入时间降序排列,即放入时间较晚的食材图标可以在食材展示区中靠前显示,从而保证将最新添加的食材信息对应的食材图标展示在食材展示区的顶端,方便用户查看,提高用户体验。In some embodiments, in order to display the ingredient icon corresponding to the newly added ingredient information at the top of the ingredient display area, when a change in the ingredient information set is monitored, the set can be paired according to the time when the ingredient included in each ingredient information is put into the set. The ingredient information in the set is sorted in descending order, so that the ingredient information that is put in later is arranged at the front in the ingredient information set. Then, according to the arrangement order of the ingredient information in the collection, the ingredient icon corresponding to each ingredient information is displayed in the ingredient display area, so that the ingredient icons are arranged in the ingredient display area in descending order according to the time when the ingredients were put in, that is, the ingredients that were put in later. The icon can be displayed in the front of the ingredient display area, so as to ensure that the ingredient icon corresponding to the newly added ingredient information is displayed at the top of the ingredient display area, which is convenient for users to view and improves user experience.
在这些实施例中,为了能将不同储藏室中的食材在食材管理界面中分区展示出来,在读取到最新的食材信息集合后,根据食材信息中的储藏室标识,将集合中的食材信息划分到不同的子集合中,使得包含相同储藏室标识的食材信息被划分到同一个子集合中。然后按照食材放入时间,对每个子集合中的食材信息进行降序排列,以使放入时间较晚的食材信息在子集合中靠前排列。然后根据每个子集合中的食材信息和排列顺序,在对应的分区中展示对应的食材图标,以使各分区中的食材图标在各分区中按照食材放入时间降序排列,即放入时间较晚的食材图标可以在分区中靠前显示,从而保证将最新添加的食材信息对应的食材图标展示在所在区的顶端,方便用户查看,提高用户体验。In these embodiments, in order to display the ingredients in different storage compartments in the ingredient management interface, after reading the latest ingredient information collection, according to the storage compartment identifier in the ingredient information, the ingredient information in the collection is It is divided into different sub-collections, so that the ingredient information containing the same storage room identifier is divided into the same sub-collection. Then, according to the time when the ingredients are put in, the information of the ingredients in each sub-collection is arranged in descending order, so that the information of the ingredients that are put in later is arranged at the front in the sub-collection. Then, according to the ingredient information and arrangement order in each sub-collection, the corresponding ingredient icons are displayed in the corresponding partitions, so that the ingredient icons in each partition are arranged in descending order according to the time when the ingredients were put in, that is, they were put in later. The icon of the ingredient can be displayed in the front of the partition, so as to ensure that the icon of the ingredient corresponding to the newly added ingredient information is displayed at the top of the area where it is located, which is convenient for users to view and improves the user experience.
本申请实施例还提供一种食材图标显示方法,如图18所示,该方法可以包括:The embodiment of the present application also provides a method for displaying an ingredient icon. As shown in FIG. 18 , the method may include:
S181,监测食材信息集合中的信息是否变化,所述集合包括与储藏室中的食材对应的食材信息,所述食材信息包括食材放入时间。S181. Monitor whether the information in the ingredient information collection changes, where the collection includes ingredient information corresponding to the ingredients in the storage room, and the ingredient information includes the time when the ingredients are put in.
S182,当所述集合中的信息发生变化时,根据所述食材放入时间,确定最新添加的目标食材信息。S182, when the information in the set changes, determine the newly added target ingredient information according to the time when the ingredient was put in.
在一些可能的实现方式中,根据所述集合中每个食材信息包含的食材放入时间和当前时间,确定每个食材信息对应的时间差;将所述时间差小于预设时间差的食材信息,确定为最新添加的目标食材信息。In some possible implementations, the time difference corresponding to each ingredient information is determined according to the time when the ingredient is put in and the current time contained in each ingredient information in the set; the ingredient information whose time difference is less than a preset time difference is determined as The latest added target ingredient information.
在另一些可能的实现方式中,确定变化后的集合相对于变化前的集合的新增食材信息;根据所述新增食材信息包含的食材放入时间和当前时间,确定所述新增食材信息对应的时间差;将所述时间差小于预设时间差的新增食材信息,确定为最新添加的目标食材信息。In some other possible implementation manners, the newly added ingredient information of the set after the change relative to the set before the change is determined; the newly added ingredient information is determined according to the ingredient insertion time and the current time included in the newly added ingredient information The corresponding time difference; the newly added ingredient information whose time difference is less than the preset time difference is determined as the newly added target ingredient information.
S183,在根据变化后的集合中的食材信息在所述食材展示区中展示对应的食材图标时,将所述目标食材信息对应的食材图标显示在所述食材展示区的顶端。S183, when displaying the corresponding ingredient icon in the ingredient display area according to the ingredient information in the changed set, display the ingredient icon corresponding to the target ingredient information on the top of the ingredient display area.
在一些实施例中,食材展示区包括与所述储藏室对应的分区,所述食材信息还包括储藏室标识;所述根据变化后的集合中的食材信息在所述食材展示区中展示对应的食材图标,包括:根据所述食材信息中的储藏室标识,在所述储藏室标识对应的分区中,显示所述食材信息对应的食材图标,并将目标食材信息对应的食材图标显示在所述分区的顶端。In some embodiments, the ingredient display area includes a partition corresponding to the storage compartment, and the ingredient information further includes a storage compartment identifier; the ingredient display area displays the corresponding ingredient information according to the ingredient information in the changed set. The ingredient icon includes: according to the storage room identifier in the ingredient information, in the partition corresponding to the storage room identifier, displaying the ingredient icon corresponding to the ingredient information, and displaying the ingredient icon corresponding to the target ingredient information on the top of the partition.
在一些实施例中,根据所述食材信息中的储藏室标识,在所述储藏室标识对应的分区中,显示所述食材信息对应的食材图标,并将目标食材信息对应的食材图标显示在所述分区的顶端,包括:根据所述储藏室标识将所述集合中的食材信息划分到不同的子集合中;根据每个子集合中的食材信息,在对应的分区中展示对应的食材图标;将所述目标食材信息对应的食材图标向上滚动到所在分区的顶端。In some embodiments, according to the storage room identifier in the ingredient information, in the partition corresponding to the storage room identifier, the ingredient icon corresponding to the ingredient information is displayed, and the ingredient icon corresponding to the target ingredient information is displayed in the The top of the partition includes: dividing the ingredient information in the collection into different sub-collections according to the storage room identifier; displaying the corresponding ingredient icon in the corresponding partition according to the ingredient information in each sub-collection; The ingredient icon corresponding to the target ingredient information is scrolled up to the top of the partition where it is located.
在一些实施例中,将目标食材信息对应的食材图标向上滚动到所在分区的顶端,包括:根据所述目标食材信息在子集合中的索引位置和所述分区预设的展示列数,确定所述目标食材信息对应的食材图标在所述分区中的实际展示行;确定所述实际展示行与第一行之间的间隔距离;向上滚动所述分区中视图所述间隔距离,以将所述目标食材信息对应的食材图标滚动到位于所述分区顶端的第一行。In some embodiments, scrolling the ingredient icon corresponding to the target ingredient information to the top of the partition where it is located includes: determining the target ingredient information according to the index position of the target ingredient information in the sub-collection and the number of display columns preset in the partition. the actual display row of the ingredient icon corresponding to the target ingredient information in the partition; determine the interval distance between the actual display row and the first row; scroll up the interval distance in the view in the partition to display the The ingredient icon corresponding to the target ingredient information is scrolled to the first row at the top of the partition.
由以上实施例可知,基于本申请实施例提供的冰箱及食材图标显示方法,当食材信息集合中出现最新添加的目标食材信息时,无需用户手动操作分区中的滚动条,即可将目标食材信息对应的食材图标自动滚动到所在分区的顶端,进而方便用户查看最新添加的食材,提高用户体验。It can be seen from the above embodiments that, based on the method for displaying icons of refrigerators and ingredients provided by the embodiments of the present application, when the newly added target ingredient information appears in the ingredient information set, the target ingredient information can be displayed without the user manually operating the scroll bar in the partition. The corresponding ingredient icons are automatically scrolled to the top of the partition where they are located, so as to facilitate users to view the newly added ingredients and improve user experience.
具体实现中,本发明还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时可包括本发明提供的界面显示方法的各实施例中的部分或全部步骤。所述的存储介质可为磁碟、光盘、只读存储记忆体(英文:read-only memory,简称:ROM)或随机存储记忆体(英文:random access memory,简称:RAM)等。In a specific implementation, the present invention also provides a computer storage medium, wherein the computer storage medium can store a program, and when the program is executed, it can include some or all of the steps in the various embodiments of the interface display method provided by the present invention. The storage medium may be a magnetic disk, an optical disk, a read-only memory (English: read-only memory, abbreviated as: ROM) or a random access memory (English: random access memory, abbreviated as: RAM) and the like.
本领域的技术人员可以清楚地了解到本发明实施例中的技术可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本发明实施例中的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例或者实施例的某些部分所述的方法。Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products may be stored in a storage medium, such as ROM/RAM , magnetic disk, optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments of the present invention.
本说明书中各个实施例之间相同相似的部分互相参见即可。尤其,对于冰箱实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例中的说明即可。It is sufficient to refer to each other for the same and similar parts among the various embodiments in this specification. Especially, for the refrigerator embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for the relevant part, please refer to the description in the method embodiment.
以上所述的本发明实施方式并不构成对本发明保护范围的限定。The embodiments of the present invention described above do not limit the protection scope of the present invention.

Claims (10)

  1. 一种显示设备,其特征在于,包括:A display device, comprising:
    显示器,用于展示用户界面;a display for presenting the user interface;
    与所述显示器连接的控制器,被配置为:A controller connected to the display, configured to:
    接收输入的食材搜索指令,所述食材搜索指令携带搜索词;receiving an input ingredient search instruction, where the ingredient search instruction carries a search term;
    将所述搜索词与食材库中的食材进行匹配;matching the search term with the ingredients in the ingredient library;
    若食材库中存在与所述搜索词匹配的目标食材,则展示包含所述目标食材的食材图标的搜索结果界面;If there is a target ingredient matching the search term in the ingredient library, a search result interface containing the ingredient icon of the target ingredient is displayed;
    若食材库中不存在与所述搜索词匹配的目标食材,则展示包含自定义食材添加控件的搜索结果界面,所述自定义食材添加控件用于触发跳转到自定义食材添加界面,所述自定义食材添加界面用于接收用户输入的自定义食材。If there is no target ingredient matching the search term in the ingredient library, a search result interface including a custom ingredient adding control is displayed, and the custom ingredient adding control is used to trigger a jump to the custom ingredient adding interface, and the The custom ingredient adding interface is used to receive custom ingredients input by the user.
  2. 根据权利要求1所述的显示设备,其特征在于,所述控制器进一步被配置为:The display device of claim 1, wherein the controller is further configured to:
    响应于对所述自定义食材添加控件的操作,显示所述自定义食材添加界面;In response to an operation on the custom ingredient adding control, displaying the custom ingredient adding interface;
    接收用户在所述自定义食材添加界面输入的自定义食材的食材信息;receiving the ingredient information of the custom ingredient input by the user in the custom ingredient adding interface;
    响应于在所述自定义食材添加界面中输入的确认操作,将所述自定义食材的食材信息保存在食材库中。In response to the confirmation operation input in the custom ingredient adding interface, the ingredient information of the custom ingredient is saved in the ingredient library.
  3. 根据权利要求2所述的显示设备,其特征在于,所述控制器进一步被配置为:The display device of claim 2, wherein the controller is further configured to:
    响应于对所述自定义食材添加控件的操作,在显示所述自定义食材添加界面的同时,将所述搜索词显示在所述自定义食材添加界面中食材名称定义项目对应的输入区域。In response to the operation on the custom ingredient adding control, while the custom ingredient adding interface is displayed, the search term is displayed in the input area corresponding to the ingredient name definition item in the custom ingredient adding interface.
  4. 根据权利要求2所述的显示设备,其特征在于,所述接收输入的食材搜索指令,包括:The display device according to claim 2, wherein the receiving an input food ingredient search instruction comprises:
    在所述显示器上显示食材库界面,所述食材库界面包括搜索栏,所述搜索栏包括搜索词输入框和搜索控件;displaying an ingredient library interface on the display, the ingredient library interface including a search bar including a search word input box and a search control;
    通过接收用户在所述搜索词输入框中输入搜索词后输入的对所述搜索控件的操作,接收携带所述搜索词的食材搜索指令。By receiving an operation on the search control input by the user after inputting a search term in the search term input box, an ingredient search instruction carrying the search term is received.
  5. 根据权利要求4所述的显示设备,其特征在于,所述食材库界面还包括标签切换栏和内容区,所述标签切换栏包括多个标签控件,当不同标签控件被选中时,所述内容区中显示不同范围内的食材图标;所述标签控件包括自定义标签控件,当所述自定义标签控件被选中时,所述内容区中显示自定义食材的食材图标;The display device according to claim 4, wherein the ingredient library interface further includes a tab switch bar and a content area, the tab switch bar includes a plurality of tab controls, and when different tab controls are selected, the content The icon of ingredients in different ranges is displayed in the area; the label control includes a custom label control, and when the custom label control is selected, the icon of the food material of the custom ingredient is displayed in the content area;
    所述响应于对所述自定义食材添加控件的操作,显示自定义食材添加界面,包括:The displaying a custom ingredient adding interface in response to an operation on the custom ingredient adding control, including:
    返回到所述自定义类别控件被选中时的所述食材库界面;Return to the ingredient library interface when the custom category control is selected;
    在所述自定义类别控件被选中时的所述食材库界面上层显示自定义食材添加框,在所述自定义食材添加框中的食材名称定义项目对应的输入区域显示所述搜索词。When the custom category control is selected, a custom ingredient add box is displayed on the upper layer of the ingredient library interface, and the search term is displayed in the input area corresponding to the ingredient name definition item in the custom ingredient add box.
  6. 根据权利要求1所述的显示设备,其特征在于,所述控制器进一步被配置为:The display device of claim 1, wherein the controller is further configured to:
    在所述显示器上显示食材管理界面,所述食材管理界面包括食材添加控件;displaying an ingredient management interface on the display, the ingredient management interface including an ingredient addition control;
    响应于对所述食材添加控件的操作,显示所述食材库界面。The ingredient library interface is displayed in response to manipulation of the ingredient addition controls.
  7. 根据权利要求1所述的显示设备,其特征在于,所述将所述搜索词与食材库中的食材进行匹配,包括:The display device according to claim 1, wherein the matching the search term with the ingredients in the ingredient library comprises:
    遍历食材库中各食材对应的食材信息,利用预设的文本匹配规则,对遍历到的食材信 息中的食材名称与所述搜索词进行匹配;Traverse the ingredient information corresponding to each ingredient in the ingredient library, and use the preset text matching rules to match the ingredient name in the traversed ingredient information with the search term;
    若遍历到至少一个与所述搜索词匹配的食材名称,则将所述食材名称对应的食材确定为所述目标食材;If at least one ingredient name matching the search term is traversed, determining the ingredient corresponding to the ingredient name as the target ingredient;
    若未遍历到与所述搜索词匹配的食材名称,则确定食材库中不存在与所述搜索词匹配的目标食材。If the name of the ingredient matching the search term is not traversed, it is determined that there is no target ingredient matching the search term in the ingredient library.
  8. 根据权利要求7所述的显示设备,其特征在于,所述控制器进一步被配置为:The display device of claim 7, wherein the controller is further configured to:
    遍历及匹配过程中,将所述目标食材对应的食材信息添加到搜索结果变量中;During the traversal and matching process, the ingredient information corresponding to the target ingredient is added to the search result variable;
    匹配结束后,根据搜索结果变量中的食材信息显示包含所述目标食材的食材图标的搜索结果界面。After the matching is completed, a search result interface containing the ingredient icon of the target ingredient is displayed according to the ingredient information in the search result variable.
  9. 根据权利要求1所述的显示设备,其特征在于,所述控制器进一步被配置为:The display device of claim 1, wherein the controller is further configured to:
    响应于对所述目标食材的食材图标的选中操作,在所述搜索结果界面上不遮挡所述食材图标的位置显示预览区,在所述预览区中显示用户选中的食材图标;In response to the selection operation of the ingredient icon of the target ingredient, a preview area is displayed on the search result interface at a position that does not block the ingredient icon, and the ingredient icon selected by the user is displayed in the preview area;
    响应于输入的指示完成选择的操作,将用户选中的食材图标对应的食材信息保存在本地食材信息集合中。In response to the input instruction to complete the selection operation, the ingredient information corresponding to the ingredient icon selected by the user is stored in the local ingredient information set.
  10. 一种界面显示方法,其特征在于,所述方法包括:An interface display method, characterized in that the method comprises:
    接收输入的食材搜索指令,所述食材搜索指令携带搜索词;receiving an input ingredient search instruction, where the ingredient search instruction carries a search term;
    将所述搜索词与食材库中的食材进行匹配;matching the search term with the ingredients in the ingredient library;
    若食材库中存在与所述搜索词匹配的目标食材,则在所述显示器上展示包含所述目标食材的食材图标的搜索结果界面;If there is a target ingredient that matches the search term in the ingredient library, displaying a search result interface containing an ingredient icon of the target ingredient on the display;
    若食材库中不存在与所述搜索词匹配的目标食材,则在所述显示器上展示包含自定义食材添加控件的搜索结果界面,所述自定义食材添加控件用于触发跳转到自定义食材添加界面,所述自定义食材添加界面用于接收用户输入的自定义食材。If there is no target ingredient matching the search term in the ingredient library, a search result interface including a custom ingredient adding control is displayed on the display, and the custom ingredient adding control is used to trigger a jump to a custom ingredient An adding interface, where the custom ingredient adding interface is used to receive custom ingredients input by a user.
PCT/CN2021/114670 2020-11-04 2021-08-26 Display device and interface display method WO2022095564A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202180066166.1A CN116235011A (en) 2020-11-04 2021-08-26 Display device and interface display method

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
CN202011216565.5 2020-11-04
CN202011216565.5A CN112344618A (en) 2020-11-04 2020-11-04 Refrigerator and food material information definition method
CN202110418427.3A CN114294897A (en) 2021-04-19 2021-04-19 Refrigerator and food material icon display method
CN202110418427.3 2021-04-19
CN202110560982.X 2021-05-19
CN202110560982.XA CN113483518B (en) 2021-05-19 2021-05-19 Refrigerator and interface display method

Publications (1)

Publication Number Publication Date
WO2022095564A1 true WO2022095564A1 (en) 2022-05-12

Family

ID=81457491

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/114670 WO2022095564A1 (en) 2020-11-04 2021-08-26 Display device and interface display method

Country Status (2)

Country Link
CN (1) CN116235011A (en)
WO (1) WO2022095564A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115951811A (en) * 2023-03-10 2023-04-11 北京尽微致广信息技术有限公司 Component generation method and device
WO2023246151A1 (en) * 2022-06-22 2023-12-28 海信视像科技股份有限公司 Display device and control method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130307698A1 (en) * 2011-01-06 2013-11-21 Hyoungjun Park Refrigerator and remote controller
CN110245724A (en) * 2018-03-07 2019-09-17 博西华电器(江苏)有限公司 Food materials update method, device and storage equipment
CN111780479A (en) * 2020-07-01 2020-10-16 海信视像科技股份有限公司 Refrigerator and food material information association method
CN111811185A (en) * 2020-07-17 2020-10-23 海信视像科技股份有限公司 Refrigerator and food material management interface display method
CN111860718A (en) * 2020-07-17 2020-10-30 海信视像科技股份有限公司 Refrigerator and food material management method
CN112344618A (en) * 2020-11-04 2021-02-09 海信视像科技股份有限公司 Refrigerator and food material information definition method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130307698A1 (en) * 2011-01-06 2013-11-21 Hyoungjun Park Refrigerator and remote controller
CN110245724A (en) * 2018-03-07 2019-09-17 博西华电器(江苏)有限公司 Food materials update method, device and storage equipment
CN111780479A (en) * 2020-07-01 2020-10-16 海信视像科技股份有限公司 Refrigerator and food material information association method
CN111811185A (en) * 2020-07-17 2020-10-23 海信视像科技股份有限公司 Refrigerator and food material management interface display method
CN111860718A (en) * 2020-07-17 2020-10-30 海信视像科技股份有限公司 Refrigerator and food material management method
CN112344618A (en) * 2020-11-04 2021-02-09 海信视像科技股份有限公司 Refrigerator and food material information definition method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023246151A1 (en) * 2022-06-22 2023-12-28 海信视像科技股份有限公司 Display device and control method
CN115951811A (en) * 2023-03-10 2023-04-11 北京尽微致广信息技术有限公司 Component generation method and device
CN115951811B (en) * 2023-03-10 2023-06-30 北京尽微致广信息技术有限公司 Component generation method and device

Also Published As

Publication number Publication date
CN116235011A (en) 2023-06-06

Similar Documents

Publication Publication Date Title
CN111860718B (en) Refrigerator and food material management method
US20200088463A1 (en) Refrigerator and method of controlling thereof
WO2022095564A1 (en) Display device and interface display method
EP4137769A1 (en) Display device and refrigerator having the same
EP2696314A1 (en) Mobile terminal and control method thereof
CN112344619A (en) Refrigerator and food material information editing method
US11732961B2 (en) Augmented-reality refrigerator and method of controlling thereof
WO2022001768A1 (en) Refrigerator
CN111811182B (en) Refrigerator and recipe recommendation method
CN112344618A (en) Refrigerator and food material information definition method
CN113011538A (en) Refrigerator and food material label scanning method
CN112417282B (en) Information recommendation method, food storage equipment and server
CN112199406A (en) Information recommendation method, food material storage device and server
WO2023165227A1 (en) Food ingredient storage device, food ingredient library, and method for sorting recipes
WO2022041992A1 (en) Refrigerator, display device, server, recommendation method, and message reminding method
CN115082149A (en) Electronic equipment, server and cooking equipment recommendation method
WO2022068536A1 (en) Information recommendation method, ingredient storage device, and server
WO2022002047A1 (en) Refrigerator and ingredient management method
CN114279137A (en) Refrigerator and information synchronization method
CN114820122A (en) Food material storage device, terminal device and purchase list generation method
CN114115626A (en) Method for inquiring food material of food material storage device and display device
CN114116752A (en) Multi-terminal food material management method, display device and food material storage device
CN113483518B (en) Refrigerator and interface display method
CN113251727A (en) Refrigerator and information recommendation method
CN114294884B (en) Refrigerator and message reminding method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21888263

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21888263

Country of ref document: EP

Kind code of ref document: A1