WO2022001768A1 - Refrigerator - Google Patents

Refrigerator Download PDF

Info

Publication number
WO2022001768A1
WO2022001768A1 PCT/CN2021/101716 CN2021101716W WO2022001768A1 WO 2022001768 A1 WO2022001768 A1 WO 2022001768A1 CN 2021101716 W CN2021101716 W CN 2021101716W WO 2022001768 A1 WO2022001768 A1 WO 2022001768A1
Authority
WO
WIPO (PCT)
Prior art keywords
rfid tag
ingredient
information
storage room
code
Prior art date
Application number
PCT/CN2021/101716
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 CN202010621319.1A external-priority patent/CN111780477A/en
Priority claimed from CN202010621320.4A external-priority patent/CN111780478B/en
Priority claimed from CN202010654905.6A external-priority patent/CN113915847B/en
Priority claimed from CN202010655436.XA external-priority patent/CN113915848B/en
Priority claimed from CN202010693942.8A external-priority patent/CN111860718B/en
Application filed by 海信视像科技股份有限公司 filed Critical 海信视像科技股份有限公司
Priority to CN202180051345.8A priority Critical patent/CN115968436A/en
Publication of WO2022001768A1 publication Critical patent/WO2022001768A1/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
    • F25D29/00Arrangement or mounting of control or safety devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition

Definitions

  • a box door located at the opening of the storage room
  • a second information set is acquired; wherein, the second information set includes the RFID in the storage room obtained when the switch states of all the box doors are changed to the closed state Label;
  • the controller is also used to:
  • the RFID tag If the first code of the RFID tag exists in the local information set, it is determined that the RFID tag is not the newly added RFID tag.
  • FIG. 14 is a schematic diagram of another food control according to an exemplary embodiment of the present application.
  • 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.
  • the communicator 330 is a component for communicating with external devices or external servers according to various communication protocol types.
  • the communicator 330 may include a WIFI module, a Bluetooth module, a wired Ethernet module, an infrared communication protocol module and other network communication protocol modules or a near field communication protocol module (not shown in the figure).
  • the browser module is a module for performing data communication between browsing servers.
  • Service modules are modules that provide various services and various applications.
  • the memory 340 is also used for storing received external data and user data, images of various items in various user interfaces, and visual effect diagrams of focus objects.
  • the audio processor 370 is used to receive the audio signal, decompress and decode the input signal according to the standard codec protocol of the input signal, and process the audio data such as noise reduction, digital-to-analog conversion and amplification to obtain audio that can be played through the audio output interface Signal.
  • RFID tags are used to identify ingredients in the storage room. Specifically, the identification information of the RFID tag, such as the label code written in the RFID tag, is obtained, and the corresponding relationship between the identification information of the RFID tag and the specified food material information is established, so as to realize the association between the RFID tag and the food material; After labeling, put the ingredients into the refrigerator, and the refrigerator can obtain the identification information of the RFID tag by detecting the signal of the RFID tag; in the case of obtaining the identification information, the pre-established relationship between the identification information of the RFID tag and the ingredient information is used.
  • the ingredient management interface can include multiple ingredient display areas and functional controls.
  • One ingredient display area can correspond to one storage room, so that the ingredients in the same storage room can be displayed in the same ingredient display area. In this way, users can intuitively obtain which ingredients are stored in which storage room.
  • the local data includes identification information and corresponding ingredient information of a plurality of RFID tags, which are classified into the first type of RFID according to whether each RFID tag is currently placed in the storage room or has been removed from the storage room A tag and a second type of RFID tag, wherein the first type of RFID tag refers to the RFID tag currently placed in the storage room, and the second RFID tag refers to the RFID tag currently removed from the storage room.
  • the controller determines the target storage room according to the target operation box door. Specifically, when the number of target operation box doors is one, the controller determines that the storage room corresponding to the target operation box door is the target storage room. When the number of target operation box doors is multiple, the preset virtual storage room is determined as the target storage room, for example, the custom area in the embodiment shown in FIG. 4 .
  • the target storage room is the refrigerating compartment. If it is determined according to the box door state information that the target operation box door is the refrigerating compartment door, then the target storage room is the refrigerating compartment. If it is determined according to the box door state information that the target operation box door includes a refrigerator compartment and a freezer compartment, then the target storage room is a virtual storage room.
  • the controller determines the label corresponding to the ingredients put into the refrigerator this time, that is, the target label, by comparing the first information set and the second information set, and displays the management of the ingredients according to the determined target label and the target storage room.
  • interface in the ingredient management interface, the storage location of the ingredient identified by the target tag is the target storage room.
  • the target storage room is a storage room corresponding to the target operation box door or a preset virtual storage room.
  • FIG. 5 is a user interface shown in this application according to an exemplary embodiment, specifically an exemplary virtual storage interface. As shown in FIG. 5 , in the virtual storage interface, ingredients in the virtual storage room and corresponding recommended storage rooms are displayed.
  • step 605 an ingredient management interface is displayed according to the target label and the target storage room, and specifically, the ingredient information corresponding to the target label is loaded into the ingredient display area corresponding to the target storage room for display.
  • Fig. 12 is an editing interface shown in this application according to an exemplary embodiment. As shown in Fig. 12, the associated interface displays the identification information "20200005" of the RFID tag, the input position for inputting the name of the food, and the input position for inputting the food. The input location for the category and the Cancel and OK controls.
  • the local data includes identification information and corresponding ingredient information of a plurality of RFID tags, which are classified into the first type of RFID according to whether each RFID tag is currently placed in the storage room or has been removed from the storage room A tag and a second type of RFID tag, wherein the first type of RFID tag refers to the RFID tag currently placed in the storage room, and the second RFID tag refers to the RFID tag currently removed from the storage room.
  • the user can operate any ingredient control in the ingredient management interface to view the detailed ingredient information corresponding to the ingredient control;
  • the control that is, the ingredient control corresponding to the repeatedly placed RFID tag
  • the ingredient details page is not displayed, but a prompt page is displayed to remind the user that the RFID tag corresponding to the ingredient control is the repeatedly placed RFID tag, so as to prompt the user
  • the food information corresponding to the RFID tag is updated in time according to the actual situation.
  • the second information set is an information set formed by the identification information of the second type of RFID tags stored locally;
  • the second attribute value of the inserted RFID tag is used to mark the newly inserted RFID tag as the first type of RFID tag.
  • the controller is further configured to: if the identified RFID tag is a newly added RFID tag, that is, an RFID tag not associated with food material information, write in the second code segment obtained in the RFID tag the second code of the RFID tag; determine whether the second code of the RFID tag is a predetermined code; if the second code of the RFID tag is a predetermined code, obtain the preset default filling information as the preset food material information of the RFID tag; If the second code of the RFID tag is not the predetermined code, according to the second code of the RFID tag, the preset food material information corresponding to the RFID tag is obtained from the preset correspondence between the second code and the food material information.
  • the RFID tag used by the user is an editable tag, that is, whether the associated ingredient information can be customized by the user, such as an RFID tag whose second code is a predetermined code.
  • the second code of the newly added RFID tag is a predetermined code
  • the default filling information is obtained as its preset ingredient information, which is used to generate a temporary ingredient control in the ingredient management interface to prompt the user to add such a new type in time.
  • the RFID tag is edited and occupies the data position in the local information collection.
  • the user can operate the food control corresponding to the newly added RFID tag to trigger a jump to the interface for editing the corresponding newly added RFID tag.
  • Step 703 If the RFID tag is the newly added RFID tag, obtain preset food material information corresponding to the newly added RFID tag according to the tag code of the newly added RFID tag.
  • the second code of the RFID tag corresponding to the target ingredient control is obtained; it is determined whether the second code of the RFID tag corresponding to the target ingredient control is a predetermined code; if the second code of the RFID tag corresponding to the target ingredient control is a predetermined code, Then it is determined that the target ingredient control is an ingredient control generated according to the default filling information; if the second code of the RFID tag corresponding to the target ingredient control is not a predetermined code, it is determined that the target ingredient control is not an ingredient control generated according to the default filling information.
  • the third information set can be generated according to the first information set. Specifically, by comparing the first information set and the second information set, the RFID tags corresponding to the ingredients removed from the storage room this time, that is, the RFID tags whose identification information only exists in the second information set, are determined. The identification information and removal information of the RFID tag in the storage room are added to the first information set, and a third information set is generated, wherein the removal information of the RFID tag removed from the storage room this time includes the marked removal state of the RFID tag and according to The move-out time determined by the current time.

Abstract

A refrigerator, comprising a refrigerator body (100) internally provided with storage chambers (101), wherein food materials in the storage chambers (101) are identified by means of RFID tags therein; a refrigerator door (200), which is arranged at an opening of the storage chamber (101); a display screen, which is arranged on the refrigerator door (200) and is used for displaying a food material management interface, wherein the food material management interface comprises a plurality of food material display regions, and food material controls generated according to food material information associated with the RFID tags are displayed in the food material display regions; and a controller (320), used for acquiring, when all the refrigerator doors (200) are closed, a first information set comprising the RFID tags. The food material management interface is displayed according to the first information set, food material controls corresponding to RFID tags belonging to the same storage chamber (101) in the RFID tags are displayed in the same food material display region, and food material controls corresponding to RFID tags belonging to different storage chambers (101) in the RFID tags are displayed in different food material display regions.

Description

一种冰箱a refrigerator
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求在2020年07月01日提交的申请号为202010621320.4、发明名称为“冰箱及食材管理方法”的中国专利申请的优先权,在2020年07月01日提交的申请号为202010621319.1、发明名称为“冰箱及食材管理方法”的中国专利申请的优先权,在2020年07月09日提交的申请号为202010655436.X、发明名称为“冰箱及食材管理界面的显示方法”的中国专利申请的优先权,在2020年07月09日提交的申请号为202010654905.6、发明名称为“冰箱及食材管理界面的显示方法”的中国专利申请的优先权,在2020年07月17日提交的申请号为202010693942.8、发明名称为“冰箱及食材管理方法”的中国专利申请的优先权,上述申请的全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202010621320.4 filed on July 01, 2020 and the invention titled "Refrigerator and Food Ingredients Management Method", and the application number filed on July 01, 2020 is 202010621319.1, the invention The priority of the Chinese patent application titled "Refrigerator and Ingredient Management Method", filed on July 09, 2020 with the application number 202010655436.X and the invention titled "Display Method for Refrigerator and Ingredient Management Interface" The priority of the Chinese patent application filed on July 09, 2020 with the application number of 202010654905.6 and the invention titled "Display Method of Refrigerator and Food Ingredients Management Interface", the application number filed on July 17, 2020 It is the priority of the Chinese Patent Application No. 202010693942.8 with the invention title of "Refrigerator and Foodstuff Management Method", the entire contents of the above application are incorporated into this application by reference.
技术领域technical field
本申请涉及冰箱技术领域,尤其涉及一种冰箱。The present application relates to the technical field of refrigerators, and in particular, to a refrigerator.
背景技术Background technique
目前,具有无线射频识别(radio frequency identification,RFID)功能的多储藏室冰箱,能够对存入其中的食材进行智能管理。At present, multi-storage refrigerators with radio frequency identification (RFID) functions can intelligently manage the ingredients stored in them.
例如,在冷冻室内设置天线,该天线与RFID检测模块连接,RFID检测模块可以通过冷冻室内的天线检测冷冻室内的食材上贴着的RFID标签,并获取RFID标签关联的食材信息,食材信息包括用于指示食材种类的标识。这样,冰箱便获知冷冻室内的食材有哪些。For example, an antenna is set up in the freezer, and the antenna is connected to the RFID detection module. The RFID detection module can detect the RFID tag attached to the food in the freezer through the antenna in the freezer, and obtain the food information associated with the RFID tag. Signs that indicate the type of food. In this way, the refrigerator knows what ingredients are in the freezer.
但是,由于与RFID检测模块连接的天线的检测范围很大,导致无法准确判断每个RFID标签的存放位置,例如,冷冻室内的天线可能会识别到其他储藏室的RFID标签,进而无法实现对食材的智能分区管理,影响用户体验。However, due to the large detection range of the antenna connected to the RFID detection module, it is impossible to accurately determine the storage location of each RFID tag. For example, the antenna in the freezer may recognize the RFID tags of other storage rooms, which makes it impossible to detect the food ingredients. intelligent partition management, affecting user experience.
发明内容SUMMARY OF THE INVENTION
本申请实施方式提供一种冰箱,包括:Embodiments of the present application provide a refrigerator, comprising:
箱体,内部设有储藏室,所述储藏室中的食材通过所述储藏室内的RFID标签进行标识;The box body is provided with a storage room inside, and the ingredients in the storage room are identified by the RFID tags in the storage room;
箱门,设于所述储藏室的开口处;a box door, located at the opening of the storage room;
显示屏,设于所述箱门,用于显示食材管理界面;其中,所述食材管理界面包括至多个食材展示区,所述食材展示区中显示有根据所述RFID标签关联的食材信息生成的食材控件;A display screen, located on the box door, is used to display an ingredient management interface; wherein, the ingredient management interface includes a plurality of ingredient display areas, and the ingredient display areas display information generated according to the ingredient information associated with the RFID tag. food control;
控制器,用于:Controller for:
当所有箱门被关闭时,获取第一信息集合,其中,所述第一信息集合包括所述RFID标签;When all box doors are closed, obtain a first set of information, wherein the first set of information includes the RFID tag;
根据所述第一信息集合显示所述食材管理界面,其中,所述RFID标签中属于同一储藏室的RFID标签对应的食材控件显示在同一食材展示区中,所述RFID标签中属于不同储藏室的RFID标签对应的食材控件显示在不同的食材展示区中。The ingredient management interface is displayed according to the first information set, wherein the ingredient controls corresponding to the RFID tags belonging to the same storage room in the RFID tags are displayed in the same ingredient display area, and the RFID tags belonging to different storage rooms are displayed in the same ingredient display area. The ingredient controls corresponding to the RFID tags are displayed in different ingredient display areas.
在一些实施例中,所述食材控件包括显性标签标识,同一食材展示区中的食材控件的显性标签标识具有相同的颜色,不同食材展示区中的食材控件的显示标签标识具有不同的颜色。In some embodiments, the ingredient controls include explicit label identifiers, the explicit label identifiers of the ingredient controls in the same ingredient display area have the same color, and the display label identifiers of the ingredient controls in different ingredient display areas have different colors .
在一些实施例中,所述RFID标签对应的食材的新鲜度标识相同的RFID标签对应的食材控件的显性标签标识具有相同的颜色或文字标记,不同的新鲜度标识对应与不同的颜色或不同的文字标记。In some embodiments, the freshness identifiers of the ingredients corresponding to the RFID tags are the same, and the explicit label identifiers of the ingredient controls corresponding to the RFID tags have the same color or text mark, and different freshness identifiers correspond to different colors or different wordmark.
在一些实施例中,所述RFID标签中的每个RFID标签的标签编码包括第一码段,所述第一码段中的值用于表征所述RFID标签所属的储藏室的标识。In some embodiments, the tag code of each of the RFID tags includes a first code segment, and the value in the first code segment is used to characterize the identity of the storage room to which the RFID tag belongs.
在一些实施例中,所述标签编码还包括第二码段,所述第二码段中的值用于表征所述RFID标签对应的食材的新鲜度标识。In some embodiments, the tag code further includes a second code segment, and the value in the second code segment is used to represent the freshness identifier of the food item corresponding to the RFID tag.
在一些实施例中,所述控制器还用于:In some embodiments, the controller is also used to:
在所有箱门被关闭时后,若至少一个箱门的开关状态发生变化,根据所述箱门的开关状态变化确定第一操作箱门;其中,所述第一操作箱门为所述开关状态发生变化的箱门;After all the box doors are closed, if the switch state of at least one box door changes, the first operation box door is determined according to the change of the switch state of the box door; wherein, the first operation box door is in the switch state Changed box doors;
根据所述第一操作箱门确定第一储藏室;其中,所述第一储藏室为所述第一操作箱门对应的储藏室或者预设的虚拟储藏室;A first storage room is determined according to the first operation box door; wherein, the first storage room is a storage room corresponding to the first operation box door or a preset virtual storage room;
当所有箱门的开关状态均变化到关闭状态后,获取第二信息集合;其中,所述第二信息集合包括当所有箱门的开关状态均变化到关闭状态后获取的所述储藏室内的RFID标签;When the switch states of all the box doors are changed to the closed state, a second information set is acquired; wherein, the second information set includes the RFID in the storage room obtained when the switch states of all the box doors are changed to the closed state Label;
比较所述第一信息集合与第二信息集合,确定当至少一个箱门的开关状态发生变化后放入所述储藏室的第一RFID标签;Comparing the first information set with the second information set, and determining the first RFID tag put into the storage room when the switch state of at least one door changes;
显示所述食材管理界面;displaying the ingredient management interface;
所述食材管理界面中,确定所述第一RFID标签标识的食材的存储位置为所述第一储藏室。In the ingredient management interface, it is determined that the storage location of the ingredient identified by the first RFID tag is the first storage room.
在一些实施例中,所述控制器根据所述第一操作箱门确定第一储藏室,包括:In some embodiments, the controller determines the first storage compartment according to the first operation box door, comprising:
在所述第一操作箱门的数量为1时,确定所述第一操作箱门对应的储藏室为所述第一储藏室;When the number of the first operation box doors is 1, determine that the storage room corresponding to the first operation box door is the first storage room;
在所述第一操作箱门的数量大于1时,确定预设的虚拟储藏室为所述第一储藏室。When the number of the first operation box doors is greater than 1, the preset virtual storage room is determined to be the first storage room.
在一些实施例中,所述控制器还用于:In some embodiments, the controller is also used to:
对比所述第一信息集合与第二信息集合,确定移出所述储藏室的第二RFID标签,所述第二RFID标签为标识信息仅在所述第一信息集合中存在的RFID标签;Comparing the first information set and the second information set, determining a second RFID tag removed from the storage room, where the second RFID tag is an RFID tag whose identification information only exists in the first information set;
将所述第二RFID标签的标识信息添加到所述第二信息集合中,并将所述第二RFID标签的标识信息标记为移出状态,以生成第三信息集合。The identification information of the second RFID tag is added to the second information set, and the identification information of the second RFID tag is marked as a removed state to generate a third information set.
在一些实施例中,所述第一RFID标签为仅在所述第二信息集合中存在的RFID标签。In some embodiments, the first RFID tag is an RFID tag that is only present in the second set of information.
在一些实施例中,所述控制器显示所述食材管理界面,包括:In some embodiments, the controller displays the ingredient management interface, including:
将所述第一RFID标签对应的食材信息加载在所述第一储藏室对应的食材展示区中进行显示。The food material information corresponding to the first RFID tag is loaded into the food material display area corresponding to the first storage room for display.
在一些实施例中,所述控制器还用于:In some embodiments, the controller is also used to:
响应于用户在所述食材管理界面输入的第一指令,在所述食材管理界面的上层显示虚拟存储室的界面;其中,所述虚拟存储室的界面中展示有存储位置为虚拟储藏室的食材和对应的推荐储藏室,所述推荐储藏室根据食材与储藏室的预设对应关系确定;In response to the first instruction input by the user on the food material management interface, an interface of the virtual storage room is displayed on the upper layer of the food material management interface; wherein, the food material whose storage location is the virtual storage room is displayed in the interface of the virtual storage room and a corresponding recommended storage room, the recommended storage room is determined according to the preset correspondence between the ingredients and the storage room;
响应于用户在所述虚拟存储室的界面输入的第二指令,将所述虚拟储藏室中的食材的 存储位置由所述虚拟储藏室修改为对应的用户通过所述第二指令选择的储藏室。In response to a second instruction input by the user on the interface of the virtual storage room, the storage location of the ingredients in the virtual storage room is modified from the virtual storage room to the corresponding storage room selected by the user through the second instruction .
在一些实施例中,所述控制器还用于:In some embodiments, the controller is also used to:
根据所述RFID标签不同的第一属性值,所述RFID标签对应的食材控件被生成为不同的状态,所述第一属性值表征所述RFID标签是否为重复放入到所述储藏室中的RFID标签。According to the different first attribute values of the RFID tags, the food controls corresponding to the RFID tags are generated into different states, and the first attribute values represent whether the RFID tags are repeatedly put into the storage room RFID tags.
在一些实施例中,所述控制器还用于:In some embodiments, the controller is also used to:
在所述第一属性值表征第三RFID标签是重复放入到所述储藏室中的RFID标签时,在所述第三RFID标签对应的食材展示区中的食材控件加载提醒标记以得到标记食材控件。When the first attribute value indicates that the third RFID tag is an RFID tag repeatedly placed in the storage room, the ingredient control in the ingredient display area corresponding to the third RFID tag loads a reminder mark to obtain the marked ingredient controls.
在一些实施例中,所述控制器还用于:In some embodiments, the controller is also used to:
接收用户对标记食材控件的操作;Receive the user's operation on the labeling ingredient control;
响应于所述操作,在所述显示器上呈现界面提示,以提示用户对所述第三RFID标签对应的食材信息进行更新。In response to the operation, an interface prompt is presented on the display to prompt the user to update the ingredient information corresponding to the third RFID tag.
在一些实施例中,所述控制器还用于:In some embodiments, the controller is also used to:
根据所述RFID标签的标签编码判断所述RFID标签是否为新增RFID标签,所述新增RFID标签为未关联食材信息的RFID标签;Determine whether the RFID tag is a newly added RFID tag according to the tag code of the RFID tag, and the newly added RFID tag is an RFID tag that is not associated with food material information;
若所述RFID标签是所述新增RFID标签,则根据所述新增RFID标签的标签编码获取所述新增RFID标签对应的预设食材信息;If the RFID tag is the newly added RFID tag, acquiring preset food material information corresponding to the newly added RFID tag according to the tag code of the newly added RFID tag;
更新所述食材管理界面,更新后的所述食材管理界面中,所述新增RFID标签对应的食材控件是根据所述新增RFID标签对应的预设食材信息生成的。The ingredient management interface is updated. In the updated ingredient management interface, an ingredient control corresponding to the newly added RFID tag is generated according to preset ingredient information corresponding to the newly added RFID tag.
在一些实施例中,所述控制器还用于:In some embodiments, the controller is also used to:
若所述RFID标签不是所述新增RFID标签,则根据所述RFID标签的标签编码获取所述RFID标签关联的食材信息,以用于更新所述食材管理界面中其他RFID标签对应的食材控件,所述其他RFID标签为识别到的除所述新增RFID标签以外的RFID标签。If the RFID tag is not the newly added RFID tag, obtain the ingredient information associated with the RFID tag according to the tag code of the RFID tag, so as to update the ingredient controls corresponding to other RFID tags in the ingredient management interface, The other RFID tags are identified RFID tags other than the newly added RFID tags.
在一些实施例中,所述控制器根据所述RFID标签的标签编码判断所述RFID标签是否为新增RFID标签,包括:In some embodiments, the controller determines whether the RFID tag is a newly added RFID tag according to the tag code of the RFID tag, including:
从所述标签编码中获取在第一码段中写入的第一编码;Obtain the first code written in the first code segment from the label code;
查找本地信息集合中是否存在所述RFID标签的第一编码,所述本地信息集合包括已关联食材信息的RFID标签的第一编码;Find out whether the first code of the RFID tag exists in the local information set, the local information set includes the first code of the RFID tag of the associated food material information;
若所述本地信息集合中不存在所述RFID标签的第一编码,则判定所述RFID标签是所述新增RFID标签;If the first code of the RFID tag does not exist in the local information set, it is determined that the RFID tag is the newly added RFID tag;
若所述本地信息集合中存在所述RFID标签的第一编码,则判定所述RFID标签不是所述新增RFID标签。If the first code of the RFID tag exists in the local information set, it is determined that the RFID tag is not the newly added RFID tag.
在一些实施例中,所述控制器根据所述新增RFID标签的标签编码获取所述新增RFID标签对应的预设食材信息,包括:In some embodiments, the controller acquires preset food material information corresponding to the newly added RFID tag according to the tag code of the newly added RFID tag, including:
从所述标签编码中获取在第二码段中写入的第二编码;Obtain the second code written in the second code segment from the label code;
根据所述新增RFID标签的第二编码,从第二编码与食材信息的预设对应关系中获取所述新增RFID标签对应的预设食材信息。According to the second code of the newly added RFID tag, the preset food material information corresponding to the newly added RFID tag is obtained from the preset correspondence between the second code and the food material information.
在一些实施例中,所述控制器还用于:从第二编码与食材信息的预设对应关系中获取所述新增RFID标签对应的预设食材信息之前,判断所述新增RFID标签的第二编码是否为预定编码;In some embodiments, the controller is further configured to: before obtaining the preset food material information corresponding to the newly added RFID tag from the preset correspondence between the second code and the food material information, determine the Whether the second code is a predetermined code;
若所述新增RFID标签的所述第二编码是预定编码,则获取预置的默认填充信息,以作为所述新增RFID标签的预设食材信息;If the second code of the newly added RFID tag is a predetermined code, acquiring preset default filling information as the preset food material information of the newly added RFID tag;
若所述新增RFID标签的所述第二编码不是预定编码,则根据所述新增RFID标签的第二编码,从第二编码与食材信息的预设对应关系中获取所述新增RFID标签对应的预设食材信息。If the second code of the newly added RFID tag is not a predetermined code, then according to the second code of the newly added RFID tag, the newly added RFID tag is obtained from the preset corresponding relationship between the second code and the food material information The corresponding preset ingredient information.
在一些实施例中,所述控制器比较所述第一信息集合与第二信息集合,确定当至少一个箱门的开关状态发生变化后放入所述储藏室的第一RFID标签,包括:In some embodiments, the controller compares the first set of information with the second set of information, and determines the first RFID tag placed in the storage room when the switch state of at least one door changes, including:
根据当前时间确定所述第一RFID标签对应的放入时间;Determine the insertion time corresponding to the first RFID tag according to the current time;
显示所述食材管理界面,所述食材管理界面中通过所述第一RFID标签对应的食材控件的新鲜度标识根据所述放入时间生成。The ingredient management interface is displayed, wherein the freshness identifier of the ingredient control corresponding to the first RFID tag in the ingredient management interface is generated according to the insertion time.
附图说明Description of drawings
图1为本申请根据示例性实施例示出的冰箱立体图;FIG. 1 is a perspective view of a refrigerator according to an exemplary embodiment of the present application;
图2为本申请根据示例性实施例示出的冰箱外观示意图;FIG. 2 is a schematic diagram of the appearance of a refrigerator according to an exemplary embodiment of the present application;
图3为本申请示例性示出的冰箱硬件系统架构示意图;3 is a schematic diagram of a refrigerator hardware system architecture exemplarily shown in the application;
图4为本申请根据示例性实施例示出的一种食材管理界面;FIG. 4 is an ingredient management interface shown in the present application according to an exemplary embodiment;
图5为本申请根据示例性实施例示出的另一种食材管理界面;FIG. 5 is another food material management interface shown in this application according to an exemplary embodiment;
图6为本申请根据示例性实施例示出的另一种食材管理界面;FIG. 6 is another food material management interface shown in this application according to an exemplary embodiment;
图7为本申请根据示例性实施例示出的一种食材控件示意图;FIG. 7 is a schematic diagram of an ingredient control according to an exemplary embodiment of the present application;
图8为本申请根据示例性实施例示出的另一种食材控件示意图;FIG. 8 is a schematic diagram of another food control according to an exemplary embodiment of the present application;
图9为本申请根据示例性实施例示出的食材管理界面的显示方法流程图;FIG. 9 is a flowchart of a method for displaying an ingredient management interface according to an exemplary embodiment of the present application;
图10为本申请根据示例性实施例示出的食材管理方法流程图;FIG. 10 is a flowchart of a method for managing ingredients according to an exemplary embodiment of the present application;
图11为本申请根据示例性实施例示出的另一种食材管理界面;FIG. 11 is another food material management interface shown in this application according to an exemplary embodiment;
图12为本申请根据示例性实施例示出的一种编辑界面;FIG. 12 is an editing interface shown in this application according to an exemplary embodiment;
图13为本申请根据示例性实施例示出的一种食材控件示意图;FIG. 13 is a schematic diagram of an ingredient control according to an exemplary embodiment of the present application;
图14为本申请根据示例性实施例示出的另一种食材控件示意图;FIG. 14 is a schematic diagram of another food control according to an exemplary embodiment of the present application;
图15为本申请根据示例性实施例示出的一种提示界面;FIG. 15 is a prompt interface shown in this application according to an exemplary embodiment;
图16为本申请根据示例性实施例示出的食材管理界面的显示方法流程图;16 is a flowchart of a method for displaying an ingredient management interface according to an exemplary embodiment of the present application;
图17为本申请根据示例性实施例示出的一种食材管理界面;Fig. 17 is an ingredient management interface shown in the present application according to an exemplary embodiment;
图18为本申请根据示例性实施例示出的另一种食材管理界面;FIG. 18 is another food material management interface shown in this application according to an exemplary embodiment;
图19为本申请根据示例性实施例示出的一种编辑界面;FIG. 19 is an editing interface shown in this application according to an exemplary embodiment;
图20为本申请根据示例性实施例示出的食材管理方法流程图;FIG. 20 is a flowchart of a method for managing ingredients according to an exemplary embodiment of the present application;
图21为本申请根据示例性实施例示出的另一种用户界面;FIG. 21 is another user interface shown in this application according to an exemplary embodiment;
图22为本申请根据示例性实施例示出的另一种用户界面;Fig. 22 is another user interface shown in this application according to an exemplary embodiment;
图23为本申请根据示例性实施例示出的食材管理方法流程图。FIG. 23 is a flowchart of a method for managing ingredients according to an exemplary embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实 施例,都应当属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without making creative work shall fall within the protection scope of this application.
在本申请的描述中,需要理解的是,术语“中心”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本申请的限制。In the description of this application, 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 application 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 a limitation of the present application.
图1为本申请根据一示例性实施例示出的冰箱立体图,本申请实施例提供的冰箱的形状近似长方体。冰箱的外观由提供有限储存空间的储藏室101和设置在储藏室101开口处的多个箱门200限定。储藏室101为具有开口的箱体100,在图1所示示例中,储藏室101被包括位于下方的冷冻室101A以及位于上方的冷藏室101B,冷冻室101A和冷藏室101B分别具有一个或者多个独立的储存空间。FIG. 1 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 application is approximately a cuboid. 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. 1 , 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.
图2为本申请根据一示例性实施例示出的冰箱外观示意图,如图2所示,在冷藏室门200B上设有显示屏,显示屏嵌入到门体中。在一些实施例中,显示屏的屏幕所在平面与箱门外表面平齐。FIG. 2 is a schematic view of the appearance of a refrigerator according to an exemplary embodiment of the present application. As shown in FIG. 2 , a display screen is provided on the refrigerator compartment door 200B, and the display screen is embedded in the door body. In some embodiments, the plane on which the screen of the display screen is located is flush with the outer surface of the box door.
在一些实施例中,冰箱还包括控制器,控制器与显示屏相连接,用于与服务器进行交互获取信息和数据,绘制用户界面,输出显示信号至显示屏,显示屏接收控制器输出的显示信号,显示相应的图像信息,如用户界面等。In some embodiments, the refrigerator further includes a controller, and the controller is connected to the display screen for interacting with the server to obtain information and data, drawing a user interface, and outputting display signals to the display screen, and the display screen receives the display output from the controller. Signal, display corresponding image information, such as user interface, etc.
图3为本申请示例性示出的冰箱硬件系统架构示意图,如图3所示,冰箱300包括显示器310、与显示器连接的控制器320和与控制器320连接的各模块,如通信器330、存储器340、用户接口模块350、视频处理器360、音频处理器370、RFID检测器380和供电模块390等。FIG. 3 is a schematic diagram of the hardware system architecture of the refrigerator exemplarily shown in this application. As shown in FIG. 3 , the refrigerator 300 includes a display 310, a controller 320 connected to the display, and various modules connected to the controller 320, such as a communicator 330, A memory 340, a user interface module 350, a video processor 360, an audio processor 370, an RFID detector 380, a power supply module 390, and the like.
其中,通信器330是用于根据各种通信协议类型与外部设备或外部服务器进行通信的组件。例如:通信器330可以包括WIFI模块,蓝牙模块,有线以太网模块,及红外通信协议模块等其他网络通信协议模块或近场通信协议模块(图中未示出)。Among them, the communicator 330 is a component for communicating with external devices or external servers according to various communication protocol types. For example, the communicator 330 may include a WIFI module, a Bluetooth module, a wired Ethernet module, an infrared communication protocol module and other network communication protocol modules or a near field communication protocol module (not shown in the figure).
存储器340,存储有用于驱动和控制冰箱300的各种软件模块。如:基础模块、检测模块、通信模块、显示控制模块、浏览器模块、和各种服务模块等(图中未示出)。其中,基础模块是用于冰箱300中各个硬件之间信号通信、并向上层模块发送处理和控制信号的底层软件模块。检测模块是用于从各种传感器或用户输入接口中收集各种信息,并进行数模转换以及分析管理的管理模块。显示控制模块是用于控制显示器310进行显示图像内容的模块,可以用于播放多媒体图像内容和UI界面等信息。通信模块是用于与外部设备之间进行控制和数据通信的模块。浏览器模块是用于执行浏览服务器之间数据通信的模块。服务模块是用于提供各种服务以及各类应用程序在内的模块。同时,存储器340还用于存储接收外部数据和用户数据、各种用户界面中各个项目的图像以及焦点对象的视觉效果图等。The memory 340 stores various software modules for driving and controlling the refrigerator 300 . Such as: a basic module, a detection module, a communication module, a display control module, a browser module, and various service modules, etc. (not shown in the figure). The basic module is a bottom-level software module used for signal communication between various hardwares in the refrigerator 300 and sending processing and control signals to the upper-level modules. The detection module is a management module used to collect various information from various sensors or user input interfaces, perform digital-to-analog conversion, and analyze and manage. The display control module is a module used to control the display 310 to display image content, and can be used to play information such as multimedia image content and UI interface. The communication module is a module used for control and data communication with external devices. The browser module is a module for performing data communication between browsing servers. Service modules are modules that provide various services and various applications. At the same time, the memory 340 is also used for storing received external data and user data, images of various items in various user interfaces, and visual effect diagrams of focus objects.
存储器340还可以存储软件和/或程序,用于表示操作系统的软件程序包括,例如:内核、中间件、应用编程接口(API)和/或应用程序。示例性的,内核可控制或管理系统资源,或其它程序所实施的功能(如所述中间件、API或应用程序),以及内核可以提供接口,以 允许中间件和API,或应用访问控制器,以实现控制或管理系统资源。The memory 340 may also store software and/or programs, including, for example, kernels, middleware, application programming interfaces (APIs), and/or applications for representing an operating system. Illustratively, the kernel may control or manage system resources, or functions implemented by other programs (such as the middleware, APIs, or applications), and the kernel may provide interfaces to allow middleware and APIs, or applications, to access the controller , to control or manage system resources.
用户接口模块350,用于将用户的输入信号发送给控制器320,或者,将从控制器320输出的信号传送给用户。在一些实施例中,用户可在显示器310上显示的图形用户界面(GUI)输入用户命令,则用户接口模块350通过图形用户界面(GUI)接收输入的用户命令。或者,用户可通过输入特定的声音或手势来输入用户命令,则用户接口模块350通过与其连接的传感器识别出声音或手势,进而接收输入的用户命令。The user interface module 350 is configured to send the user's input signal to the controller 320, or transmit the signal output from the controller 320 to the user. In some embodiments, the user may input a user command on a graphical user interface (GUI) displayed on the display 310, and the user interface module 350 receives the inputted user command through the graphical user interface (GUI). Alternatively, the user may input a user command by inputting a specific voice or gesture, and the user interface module 350 recognizes the voice or gesture through a sensor connected thereto, and then receives the input user command.
视频处理器360,用于接收视频信号,根据输入信号的标准编解码协议,进行解压缩、解码、缩放、降噪、帧率转换、分辨率转换、图像合成等视频数据处理,可得到直接在显示器310上显示或播放的视频信号。The video processor 360 is used to receive the video signal, and perform video data processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, image synthesis, etc. according to the standard codec protocol of the input signal. The video signal displayed or played on the display 310 .
显示器310,用于接收源自视频处理器360输入的图像信号,进行显示视频内容和图像以及菜单操控界面。显示器310包括用于呈现画面的显示器组件以及驱动图像显示的驱动组件。显示的视频内容,可以来自通信器或外部设备接口输入的视频内容。显示器310,同时显示用于控制冰箱的用户操控界面UI。The display 310 is configured to receive the image signal input from the video processor 360 to display video content and images and a menu manipulation interface. The display 310 includes a display component for presenting a picture and a driving component for driving image display. The displayed video content can come from the communicator or the video content input from the external device interface. The display 310 simultaneously displays a user manipulation interface UI for controlling the refrigerator.
音频处理器370,用于接收音频信号,根据输入信号的标准编解码协议,进行解压缩和解码,以及降噪、数模转换和放大处理等音频数据处理,得到可以通过音频输出接口播放的音频信号。The audio processor 370 is used to receive the audio signal, decompress and decode the input signal according to the standard codec protocol of the input signal, and process the audio data such as noise reduction, digital-to-analog conversion and amplification to obtain audio that can be played through the audio output interface Signal.
供电模块390,用于在控制器320控制下,将外部电源输入的电力为冰箱300提供电源供电支持。供电模块390可以包括安装在冰箱300内部的内置电源电路,还可以包括安装在冰箱300外部的电源,如为冰箱300提供外接电源的电源接口。The power supply module 390 is configured to, under the control of the controller 320, provide power supply support for the refrigerator 300 with the power input from the external power supply. The power supply module 390 may include a built-in power supply circuit installed inside the refrigerator 300 , and may also include a power supply installed outside the refrigerator 300 , such as a power interface for providing external power to the refrigerator 300 .
控制器320,可以通过运行存储在存储器340上的各种软件控制程序(如操作系统和/或各种应用程序),来控制冰箱200的工作和响应用户的操作。The controller 320 can control the operation of the refrigerator 200 and respond to the user's operation by running various software control programs (eg, an operating system and/or various application programs) stored in the memory 340 .
如图3所示,控制器320包括只读存储器ROM321、随机存取存储器RAM322、图形处理器323、CPU处理器324、通信接口325、以及通信总线。RAM322和ROM 321、图形处理器323、CPU处理器324、通信接口325通过通信总线相连接。As shown in FIG. 3, the controller 320 includes a read-only memory ROM321, a random access memory RAM322, a graphics processor 323, a CPU processor 324, a communication interface 325, and a communication bus. The RAM 322 is connected with the ROM 321, the graphics processor 323, the CPU processor 324, and the communication interface 325 through a communication bus.
其中,ROM321,用于存储各种系统启动的指令。如在收到开机信号时,电源开始启动,CPU处理器324运行ROM321中用于系统启动的指令,将存储在存储器340中的操作系统拷贝至RAM 322中,以开始运行启动操作系统。当操作系统启动完成后,CPU处理器324再将存储器340中的各种应用程序拷贝至RAM 322中,然后,开始运行启动各种应用程序。Among them, the ROM321 is used to store various system startup instructions. As when receiving the power-on signal, the power supply starts to start, and the CPU processor 324 runs the instruction for system startup in the ROM 321, and copies the operating system stored in the memory 340 into the RAM 322 to start running the boot operating system. After the startup of the operating system is completed, the CPU processor 324 copies various application programs in the memory 340 to the RAM 322, and then starts to run and start various application programs.
图形处理器323,用于产生各种图形对象,如:图标、操作菜单、以及用户输入指令显示图形等。包括运算器,通过接收用户输入各种交互指令进行运算,根据显示属性显示各种对象。以及包括渲染器,产生基于运算器得到的各种对象,进行渲染的结果显示在显示器310上。The graphics processor 323 is used to generate various graphic objects, such as: icons, operation menus, and user input instructions to display graphics and so on. It includes an operator, which performs operations by receiving various interactive instructions input by the user, and displays various objects according to the display properties. and includes a renderer, which generates various objects obtained based on the operator, and displays the result of rendering on the display 310 .
CPU处理器324,用于执行存储在存储器340中操作系统和应用程序指令。以及根据接收外部输入的各种交互指令,来执行各种应用程序、数据和内容,以便最终显示和播放各种音视频内容。 CPU processor 324 for executing operating system and application program instructions stored in memory 340 . And various application programs, data and content are executed according to various interactive instructions received from the external input, so as to finally display and play various audio and video content.
通信接口325,可包括多个接口,这些接口可以是经由网络被连接到外部设备的网络接口。The communication interface 325, may include a plurality of interfaces, which may be network interfaces connected to external devices via a network.
控制器320可以控制和响应与显示器310相关的操作。例如:响应于接收到用于选择在显示器310上显示的UI对象的用户命令,便可以执行与由用户命令选择的对象有关的 操作。其中,对象可以是可选对象中的任何一个,例如超链接或图标。与所选择的对象有关操作,例如:显示连接到超链接页面、文档、图像等操作,或者执行与图标相对应程序的操作。The controller 320 may control and respond to operations related to the display 310 . For example, in response to receiving a user command for selecting a UI object displayed on the display 310, an operation related to the object selected by the user command may be performed. where the object can be any of the optional objects, such as a hyperlink or an icon. Actions related to the selected object, such as displaying actions linked to hyperlinked pages, documents, images, etc., or executing actions that correspond to an icon.
如图1和图2所示,本申请实施例提供的冰箱,其箱体内部设有至少两个储藏室,如冷冻室、冷藏室、变温室和/或保鲜室等。每个储藏室中可以具有多个独立的存储空间,如抽屉式间室。As shown in FIG. 1 and FIG. 2 , in the refrigerator provided by the embodiments of the present application, at least two storage compartments, such as a freezing compartment, a refrigerating compartment, a changing room, and/or a fresh-keeping room, are arranged inside the box body. Each storage compartment can have multiple independent storage spaces, such as drawer-style compartments.
在一些实施例中,为了实现对食材的智能管理,使用RFID标签对储藏室中的食材进行标识。具体的,获取RFID标签的标识信息,如RFID标签中写入的标签编码,建立RFID标签的标识信息与指定的食材信息的对应关系,从而实现RFID标签与食材的关联;在食材上贴设RFID标签后将食材放入到冰箱中,冰箱通过检测RFID标签的信号可以获取到RFID标签的标识信息;在获取到标识信息的情况下,通过预先建立的RFID标签的标识信息与食材信息的关联关系,即可确定RFID标签对应的食材信息,根据冰箱中每个RFID标签对应的食材信息生成用于展示食材的用户界面,使得用户通过用户界面获知冰箱中的食材,并可通过操作用户界面对食材执行管理操作。In some embodiments, in order to realize intelligent management of ingredients, RFID tags are used to identify ingredients in the storage room. Specifically, the identification information of the RFID tag, such as the label code written in the RFID tag, is obtained, and the corresponding relationship between the identification information of the RFID tag and the specified food material information is established, so as to realize the association between the RFID tag and the food material; After labeling, put the ingredients into the refrigerator, and the refrigerator can obtain the identification information of the RFID tag by detecting the signal of the RFID tag; in the case of obtaining the identification information, the pre-established relationship between the identification information of the RFID tag and the ingredient information is used. , the food information corresponding to the RFID tag can be determined, and the user interface for displaying the food is generated according to the food information corresponding to each RFID tag in the refrigerator, so that the user can know the food in the refrigerator through the user interface, and can operate the user interface. Perform administrative operations.
在一些实施例中,RFID检测器380包括设置在每个储藏室内的RFID检测模块,RFID检测模块用于在相应的储藏室发射无线信号并接收该储藏室内的RFID标签的信号,以获取RFID标签的标识信息。In some embodiments, the RFID detector 380 includes an RFID detection module disposed in each storage compartment, and the RFID detection module is configured to transmit wireless signals in the corresponding storage compartment and receive signals of RFID tags in the storage compartment to obtain the RFID tags identification information.
在一些实施例中,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.
在一些实施例中,控制器320与每个RFID检测模块连接,控制RFID检测模块识别储藏室内RFID标签的信号。In some embodiments, the controller 320 is connected to each RFID detection module, and controls the RFID detection module to recognize the signal of the RFID tag in the storage room.
在一些实施例中,控制器被配置为:根据储藏室内每个RFID标签对应的食材信息绘制用户界面,并在显示屏上显示出来,如食材管理界面。在食材管理界面中,冰箱中的食材以食材图标、图文等形式尽数展示。此外,还可以在用户界面中绘制功能控件,如RFID标签识别控件、食材添加控件等。In some embodiments, the controller is configured to: draw a user interface according to the ingredient information corresponding to each RFID tag in the storage room, and display it on the display screen, such as an ingredient management interface. In the ingredient management interface, the ingredients in the refrigerator are displayed in the form of ingredient icons, pictures and texts. In addition, functional controls can also be drawn in the user interface, such as RFID tag identification controls, ingredient addition controls, etc.
为了实现对冰箱中食材的智能分区管理,食材管理界面可以包括多个食材展示区和功能控件,一个食材展示区可以对应一个储藏室,使得同一个储藏室中的食材得以在同一个食材展示区中集中展示出来,这样,用户可以直观地的获取到具体哪个储藏室储存着哪些食材。In order to realize the intelligent partition management of the ingredients in the refrigerator, the ingredient management interface can include multiple ingredient display areas and functional controls. One ingredient display area can correspond to one storage room, so that the ingredients in the same storage room can be displayed in the same ingredient display area. In this way, users can intuitively obtain which ingredients are stored in which storage room.
在一些实施例中,根据食材信息在食材管理界面中生成食材控件,用于代表相应的食材,食材控件可以由食材图标、食材名称、食材的新鲜度标识等一种或者多种界面元素构成,其中,食材图标可以根据食材的象形图片生成,食材的新鲜度标识用于示出食材的放入时间、剩余保质期等。食材管理界面中的功能控件包括但不限于用于触发RFID标签识别的控件、用于添加食材信息的控件以及用于显示菜谱信息的控件等。In some embodiments, an ingredient control is generated in the ingredient management interface according to the ingredient information to represent the corresponding ingredient, and the ingredient control may be composed of one or more interface elements such as an ingredient icon, an ingredient name, and a freshness identifier of the ingredient. The ingredient icon may be generated according to the pictographic picture of the ingredient, and the freshness indicator of the ingredient is used to indicate the time when the ingredient is put in, the remaining shelf life, and the like. The functional controls in the ingredient management interface include, but are not limited to, controls for triggering RFID tag identification, controls for adding ingredient information, and controls for displaying recipe information.
实际应用中,由于RFID检测模块检测范围很大,导致无法准确判断每个RFID标签的存放位置,即无法自动获取通过RFID标签标识的食材所在的储藏室,例如,冷冻室内的天线可能会识别到其他储藏室的RFID标签,进而无法实现对食材的智能分区管理,影 响用户体验。In practical applications, due to the large detection range of the RFID detection module, it is impossible to accurately determine the storage location of each RFID tag, that is, it is impossible to automatically obtain the storage room where the ingredients identified by the RFID tag are located. The RFID tags of other storage rooms cannot realize the intelligent partition management of ingredients and affect the user experience.
在一些实施例中,若检测到冰箱中出现新增RFID标签,将新增RFID标签所标识的食材对应的食材控件显示在食材管理界面中的指定区域中,用户通过操作该指定区域,选择要分区的食材和对应的储藏室,从而实现对新增食材的智能分区管理。In some embodiments, if it is detected that a newly added RFID tag appears in the refrigerator, the ingredient control corresponding to the ingredient identified by the newly added RFID tag is displayed in a designated area in the ingredient management interface. Partitioned ingredients and corresponding storage rooms, so as to realize intelligent partition management of newly added ingredients.
图4为本申请根据示例性实施例示出的一种用户界面,其具体为一种示例性的食材管理界面。参阅图4,该食材管理界面被分割成左右两个显示区域;其中,左侧区域包括RFID标签识别控件和与各个食材类别对应的食材展示区,如水果类、蔬菜类,每个食材展示区中显示有相应类别的食材图标和食材名称;右侧区域包括推荐菜谱控件和与各个储藏室对应的食材展示区,如冷藏室、变温室、冷冻室等,每个食材展示区中显示有相应的食材图标和食材名称。除此之外,在图4所示的食材管理界面的右侧区域还包括自定义区,该自定义区用于展示冰箱中用户未对其进行分区归类的新增食材。在图4所示的食材管理界面中,冰箱内通过RFID标签所标识的食材尽数得到展示。FIG. 4 is a user interface shown in the present application according to an exemplary embodiment, which is specifically an exemplary ingredient management interface. Referring to Figure 4, the ingredient management interface is divided into left and right display areas; wherein, the left area includes RFID tag identification controls and ingredient display areas corresponding to each ingredient category, such as fruits, vegetables, and each ingredient display area. The corresponding categories of ingredients icons and ingredient names are displayed in the display; the right area includes the recommended recipe controls and the ingredient display areas corresponding to each storage room, such as the refrigerator room, changing room, freezer room, etc. Each ingredient display area displays corresponding ingredient icon and ingredient name. In addition, the right area of the ingredient management interface shown in FIG. 4 also includes a custom area, where the custom area is used to display newly added ingredients in the refrigerator that have not been partitioned and classified by the user. In the ingredient management interface shown in FIG. 4 , all ingredients identified by RFID tags in the refrigerator are displayed.
在显示屏显示如图4所示的食材管理界面时,用户可以点击自定义区触发对自定义区中的食材进行分区归类操作流程。When the display screen displays the ingredient management interface as shown in Figure 4, the user can click on the custom area to trigger the operation process of partitioning and classifying the ingredients in the custom area.
示例性的,响应于用户对自定义区的点击,显示如图5所示的虚拟存储界面,在该虚拟存储界面中,显示有待分区存储的食材信息和可被分配的储藏室选项,以及相关功能控件,如“确定”、“取消”等。用户通过操作虚拟存储界面中的控件,实现对自定义区中的食材进行分区存储。Exemplarily, in response to the user's click on the custom area, a virtual storage interface as shown in FIG. 5 is displayed. In the virtual storage interface, the information of the ingredients to be stored in the partition and the storage room options that can be allocated are displayed, as well as related information. Function controls, such as "OK", "Cancel", etc. By operating the controls in the virtual storage interface, the user realizes the partitioned storage of the ingredients in the custom area.
由上述实施例可知,上述实施例虽然可以实现对食材的分区管理,但用户需要逐一对冰箱中新增的每一个食材进行操作,冰箱对食材的智能化管理程度较低,用户体验感较差。It can be seen from the above embodiments that although the above embodiments can realize the partition management of ingredients, the user needs to operate each new ingredient in the refrigerator one by one. The intelligent management of the ingredients in the refrigerator is low, and the user experience is poor. .
以下将对能够进一步提高冰箱智能化管理能力、提高用户体验的实施例予以详细介绍。Embodiments that can further improve the intelligent management capability of the refrigerator and improve the user experience will be described in detail below.
在一些实施例中,本地数据包括多个RFID标签的标识信息和对应的食材信息,根据每个RFID标签当前是放置在储藏室中还是已移出储藏室,将这些RFID标签分为第一类RFID标签和第二类RFID标签,其中,第一类RFID标签是指当前放置在储藏室中的RFID标签,第二RFID标签是指当前已移出储藏室的RFID标签。In some embodiments, the local data includes identification information and corresponding ingredient information of a plurality of RFID tags, which are classified into the first type of RFID according to whether each RFID tag is currently placed in the storage room or has been removed from the storage room A tag and a second type of RFID tag, wherein the first type of RFID tag refers to the RFID tag currently placed in the storage room, and the second RFID tag refers to the RFID tag currently removed from the storage room.
在一些实施例中,根据RFID标签的第三属性值判断该RFID标签是为第一类RFID标签还是第二类RFID标签,也就是说,第一类RFID标签与第二类RFID标签的第三属性值不同。示例性的,第一类RFID标签的第三属性值为0,第二类RFID标签的第三属性值为1。In some embodiments, whether the RFID tag is a first-type RFID tag or a second-type RFID tag is determined according to the third attribute value of the RFID tag, that is, the third The property values are different. Exemplarily, the third attribute value of the first type of RFID tags is 0, and the third attribute value of the second type of RFID tags is 1.
需要说明的是,上述第三属性值作用是区分第一类RFID标签和第二类RFID标签,本申请对第三属性值的具体形式不予限定,其可以是第一类RFID标签和第二类RFID标签所具有的不同的状态标记,如第一类RFID标签被标记的状态为存入状态,第二类RFID标签被标记的状态为移出状态,也可以是第一类RFID标签和第二类RFID标签所对应的不同的存储路径,如第一类RFID标签的标识信息保存在第一表格中,第二类RFID标签的标识信息保存在第二表格中等。It should be noted that the function of the above-mentioned third attribute value is to distinguish the first type of RFID tag from the second type of RFID tag. The specific form of the third attribute value is not limited in this application, and it can be the first type of RFID tag and the second type of RFID tag. The different status marks of RFID tags, such as the marked status of the first type of RFID tags is the stored status, the marked status of the second type of RFID tags is the removed status, or the first type of RFID tags and the second type of RFID tags. The different storage paths corresponding to the RFID tags, such as the identification information of the first type of RFID tags are stored in the first table, the identification information of the second type of RFID tags is stored in the second table and so on.
另外,每个RFID标签具有一个第一属性值,该第一属性值用于表征预先与该RFID标签建立关联的储藏室。例如,若某RFID标签的第一属性值=0,表征已预先将该RFID标签与冷藏室建立了关联,若某RFID标签的第一属性值=1,表征已预先将该RFID标签与冷冻室建立了关联……,用户在使用RFID标签标识食材时,应当根据食材理应放入的储藏室选择相应的RFID标签,例如,由于“苹果”理应放入到冷藏室中,因此用户应当 选择预先与冷藏室建立关联的RFID标签来标识“苹果”。需要说明的是,为便于用户区分每个RFID标签所关联的储藏室,可以将关联到不同储藏室的RFID标签人为生产成不同的颜色,例如,红色的RFID标签可以作为关联到冷藏室的RFID标签,绿色的RFID标签可以作为关联到冷冻室的RFID标签等。In addition, each RFID tag has a first attribute value, and the first attribute value is used to characterize the storage room pre-associated with the RFID tag. For example, if the first attribute value of an RFID tag=0, it means that the RFID tag has been associated with the refrigerator in advance. The association has been established..., when users use RFID tags to identify ingredients, they should select the corresponding RFID tags according to the storage room where the ingredients should be placed. For example, since "apples" should be placed in the refrigerator, users should The cold room establishes an associated RFID tag to identify the "apple". It should be noted that, in order to facilitate users to distinguish the storage room associated with each RFID tag, the RFID tags associated with different storage rooms can be artificially produced in different colors. For example, a red RFID tag can be used as the RFID tag associated with the refrigerator room. Tags, green RFID tags can be used as RFID tags associated with freezer compartments, etc.
基于此,冰箱的控制器被配置为:从本地数据中获取第一类RFID标签对应的食材信息,得到第一信息集合;然后根据该第一信息集合显示食材管理界面,食材管理界面包括与储藏室的数量相当的食材展示区,每个食材展示区中显示有根据食材信息生成的食材控件,其中,第一属性值相同的RFID标签对应的食材控件显示在同一食材展示区中。Based on this, the controller of the refrigerator is configured to: obtain food information corresponding to the first type of RFID tags from local data, and obtain a first information set; and then display the food management interface according to the first information set, and the food management interface includes and storage There are ingredient display areas with a similar number of rooms, and each ingredient display area displays ingredient controls generated according to ingredient information, wherein ingredient controls corresponding to RFID tags with the same first attribute value are displayed in the same ingredient display area.
具体实现中,控制器可以根据本地保存的所有RFID标签的第三属性值确定第一类RFID标签;根据第一类RFID标签的标识信息获取第一类RFID标签对应的食材信息,得到第一信息集合。In a specific implementation, the controller may determine the first type of RFID tags according to the third attribute values of all the RFID tags stored locally; obtain the food material information corresponding to the first type of RFID tags according to the identification information of the first type of RFID tags, and obtain the first information gather.
在上述实施例中,由于RFID标签的第一属性值表征该RFID标签所关联的储藏室,因此将第一属性值相同的RFID标签对应的食材控件显示在同一食材展示区中,将第一属性值不同的RFID标签对应的食材控件显示在不同食材展示区中,即是将且将同一个储藏室中的食材的食材控件显示在同一食材展示区中,从而实现对食材的自动分区过程,而无需用户逐一对冰箱中新增的每一个食材进行操作,提高了冰箱对食材的智能化管理程度,提升了用户体验感。In the above-mentioned embodiment, since the first attribute value of the RFID tag represents the storage room associated with the RFID tag, the food control corresponding to the RFID tag with the same first attribute value is displayed in the same food display area, and the first attribute value is displayed in the same food display area. The ingredient controls corresponding to RFID tags with different values are displayed in different ingredient display areas, that is, the ingredient controls of ingredients in the same storage room are displayed in the same ingredient display area, so as to realize the automatic partitioning process of ingredients, and There is no need for users to operate each new ingredient in the refrigerator one by one, which improves the intelligent management of ingredients in the refrigerator and improves the user experience.
图6为本申请根据示例性示出的一种食材管理界面,如图6所示,该食材管理界面包括三个食材展示区,分别为与冷藏室对应的食材展示区、与宽温室对应的食材展示区和与冷温室对应的食材展示区,每个食材展示区展示有相应储藏室中的食材对应的食材控件。FIG. 6 is an example of an ingredient management interface according to the application. As shown in FIG. 6 , the ingredient management interface includes three ingredient display areas, which are an ingredient display area corresponding to the refrigerating room, and an ingredient display area corresponding to the wide room. An ingredient display area and an ingredient display area corresponding to the cold greenhouse, each ingredient display area displays ingredient controls corresponding to the ingredients in the corresponding storage room.
在一些实施例中,RFID标签的第一属性值可以是与RFID标签的标识信息对应保存在本地数据中的属性值,根据RFID标签的标识信息可以获取到该RFID标签的第一属性值。In some embodiments, the first attribute value of the RFID tag may be an attribute value stored in local data corresponding to the identification information of the RFID tag, and the first attribute value of the RFID tag may be acquired according to the identification information of the RFID tag.
在另一些实施例中,RFID标签的第一属性值具体是RFID标签的标签编码的一个码段,可以通过RFID检测模块识别RFID标签的标签编码,并根据标签编码的组成规则解析出写有第一属性值的码段,进而得到RFID标签的第一属性值。In some other embodiments, the first attribute value of the RFID tag is specifically a code segment of the tag code of the RFID tag, and the tag code of the RFID tag can be identified by the RFID detection module, and according to the composition rule of the tag code, it is possible to parse out the code segment written with the first attribute of the RFID tag. A code segment of an attribute value, thereby obtaining the first attribute value of the RFID tag.
示例性的,假设28位标签编码的第25位用于写入RFID标签的第一属性值,根据标签编码“0123456789012345678901234567”可知,该RFID标签的第一属性值为“4”。Exemplarily, assuming that the 25th bit of the 28-bit tag code is used to write the first attribute value of the RFID tag, according to the tag code "0123456789012345678901234567", the first attribute value of the RFID tag is "4".
基于此,冰箱的控制器进一步被配置为:对于每个获取第一类RFID标签,从本地数据中获取第一类RFID标签的标签编码;从标签编码中截取出用于写入第一类RFID标签的第一属性值的第一码段,以得到第一类RFID标签的第一属性值;根据第一属性值确定第一类RFID标签关联的目标储藏室;确定目标储藏室对应的目标食材展示区;将第一类RFID标签对应的食材控件绘制在目标食材展示区中。Based on this, the controller of the refrigerator is further configured to: for each acquired first-type RFID tag, acquire the tag code of the first-type RFID tag from local data; and extract the tag code for writing the first-type RFID tag from the tag code The first code segment of the first attribute value of the tag to obtain the first attribute value of the first type of RFID tag; determine the target storage room associated with the first type of RFID tag according to the first attribute value; determine the target food material corresponding to the target storage room Display area; draw the ingredient controls corresponding to the first type of RFID tags in the target ingredient display area.
在一些实施例中,每个食材控件除了包括食材图标、食材名称、新鲜度标识以外,还包括显性标签标识,以提示用户哪些食材控件对应的食材是通过RFID标签标识的食材。In some embodiments, each ingredient control includes, in addition to an ingredient icon, an ingredient name, and a freshness identifier, an explicit label identifier to prompt the user which ingredient controls correspond to an ingredient identified by an RFID tag.
在一些实施例中,同一食材展示区中的食材控件的显性标签标识被绘制为相同的颜色,不同食材展示区中的食材控件的显性标签标识被绘制为不同的颜色。这样,用户便可以根据显性标签标识的颜色判断食材所在的储藏室。In some embodiments, the explicit label identifiers of the ingredient controls in the same ingredient display area are drawn in the same color, and the explicit label identifiers of the ingredient controls in different ingredient display areas are drawn in different colors. In this way, the user can judge the storage room in which the ingredients are located according to the color of the explicit label.
图7为本申请根据示例性实施例示出的一种食材控件示意图,如图7所示,该食材控件包括食材图标701、食材名称702、新鲜度标识703和显性标签标识704。图8为本申请示例性实施例示出的另一种食材控件示意图,与图7所示食材控件不同的是,图7中的显 性标签标识与图8中的显性标签标识的颜色不同。FIG. 7 is a schematic diagram of an ingredient control according to an exemplary embodiment of the present application. As shown in FIG. 7 , the ingredient control includes an ingredient icon 701 , an ingredient name 702 , a freshness identifier 703 and an explicit label identifier 704 . Fig. 8 is a schematic diagram of another food control material shown in an exemplary embodiment of the present application. The difference from the food material control shown in Fig. 7 is that the color of the explicit label identification in Fig. 7 is different from that of the explicit label identification in Fig. 8 .
如前所述,为便于用户区分每个RFID标签所关联的储藏室,可以将关联到不同储藏室的RFID标签实体人为生产或者标记为不同的颜色。基于此,在一些实施例中,将RFID标签的显性标签标识绘制成与其标签实体的颜色相同的颜色,且将同一食材展示区中的食材控件的显性标签标识被绘制为相同的颜色、不同食材展示区中的食材控件的显性标签标识被绘制为不同的颜色,这样,用户可以根据指定储藏室对应的食材展示区中食材控件的显性标签标识的颜色,选择与该指定储藏室关联的RFID标签来标识该指定储藏室中的食材。As mentioned above, in order to facilitate the user to distinguish the storage room associated with each RFID tag, the RFID tag entities associated with different storage rooms may be artificially produced or marked with different colors. Based on this, in some embodiments, the explicit label identification of the RFID tag is drawn in the same color as the color of its label entity, and the explicit label identification of the ingredient controls in the same ingredient display area is drawn as the same color, The explicit label identifiers of the ingredient controls in different ingredient display areas are drawn in different colors, so that the user can select the specified storage room according to the color of the explicit label identifiers of the ingredient controls in the ingredient display area corresponding to the designated storage room. Associated RFID tags to identify the ingredients in the designated pantry.
在一些实施例中,每个RFID标签还具有一个第二属性值,该第二属性值预先与颜色值相对应,用以表征显性标签标识对应的显性标签标识的颜色,也就是说,第二属性值相同的RFID标签对应的食材控件的显性标签标识被绘制为相同的颜色,第二属性值不同的RFID标签对应的食材控件的显性标签标识被绘制为不同的颜色。例如,根据预先建立的第二属性值与颜色值的对应关系,若某RFID标签的第二属性值=0,表征该RFID标签的显性标签标识的颜色应当被绘制为红色、若RFID标签的第二属性值=1,表征该RFID标签的显性标签标识的颜色应当被绘制为绿色等。In some embodiments, each RFID tag further has a second attribute value, and the second attribute value corresponds to a color value in advance to represent the color of the explicit tag identification corresponding to the explicit tag identification, that is, The explicit label identifiers of the ingredient controls corresponding to the RFID tags with the same second attribute value are drawn in the same color, and the explicit label identifiers of the ingredient controls corresponding to the RFID tags with different second attribute values are drawn in different colors. For example, according to the pre-established correspondence between the second attribute value and the color value, if the second attribute value of a certain RFID tag = 0, the color of the explicit label identification representing the RFID tag should be drawn as red. The second attribute value=1, the color that characterizes the explicit tag identification of the RFID tag should be drawn as green and so on.
在一些实施例中,第二属性值表征第一颜色的RFID标签的第一属性值表征冷藏室,第二属性值表征第二颜色的RFID标签的第一属性值表征冷冻室,第二属性值表征第三颜色的RFID标签的第一属性值表征变温室,这样,在显示的食材管理界面中,冷藏室对应的食材展示区中食材控件的显性标签标识显示为第一颜色,冷冻室对应的食材展示区中食材控件的显性标签标识显示为第二颜色,变温室对应的食材展示区中食材控件的显性标签标识显示为第三颜色。In some embodiments, the second attribute value characterizes the first attribute value of the RFID tag of the first color characterizes the refrigerator compartment, the second attribute value characterizes the first attribute value of the RFID tag of the second color characterizes the freezer compartment, and the second attribute value characterizes the freezer compartment. The first attribute value of the RFID tag representing the third color represents the changing room. In this way, in the displayed ingredient management interface, the dominant label identifier of the ingredient control in the ingredient display area corresponding to the refrigerating chamber is displayed as the first color, and the freezing chamber corresponds to the first color. The explicit label identifier of the ingredient control in the ingredient display area of the refrigerated greenhouse is displayed as the second color, and the explicit label identifier of the ingredient control in the ingredient display area corresponding to the changing greenhouse is displayed as the third color.
在一些实施例中,RFID标签的第二属性值可以是与RFID标签的标识信息对应保存在本地数据中的属性值,根据RFID标签的标识信息可以获取到该RFID标签的第二属性值。In some embodiments, the second attribute value of the RFID tag may be an attribute value stored in local data corresponding to the identification information of the RFID tag, and the second attribute value of the RFID tag may be acquired according to the identification information of the RFID tag.
在另一些实施例中,RFID标签的第二属性值具体是RFID标签的标签编码的一个码段,可以通过RFID检测模块识别RFID标签的标签编码,并根据标签编码的组成规则解析出写有第二属性值的码段,进而得到RFID标签的第二属性值。In other embodiments, the second attribute value of the RFID tag is specifically a code segment of the tag code of the RFID tag, and the tag code of the RFID tag can be identified by the RFID detection module, and according to the composition rule of the tag code, it can be parsed out that the code of the RFID tag is written. The code segment of the second attribute value, and then the second attribute value of the RFID tag is obtained.
示例性的,假设28位标签编码的第26位用于写入RFID标签的第二属性值,根据标签编码“0123456789012345678901234567”可知,该RFID标签的第二属性值为“5”。Exemplarily, assuming that the 26th bit of the 28-bit tag code is used to write the second attribute value of the RFID tag, according to the tag code "0123456789012345678901234567", the second attribute value of the RFID tag is "5".
基于此,冰箱的控制器进一步被配置为:对于每个第一类RFID标签,从其标签编码中截取出用于写入第一类RFID标签的第二属性值的第二码段,以得到第一类RFID标签的第二属性值;根据第二属性值确定所述第二属性值对应的目标颜色值;在根据第一类RFID标签对应的食材信息生成其对应的食材控件时,根据目标颜色值绘制食材控件的显性标签标识。Based on this, the controller of the refrigerator is further configured to: for each first-type RFID tag, cut out a second code segment for writing the second attribute value of the first-type RFID tag from its tag code, so as to obtain The second attribute value of the first type of RFID tag; the target color value corresponding to the second attribute value is determined according to the second attribute value; when the corresponding ingredient control is generated according to the ingredient information corresponding to the first type of RFID tag, according to the target color value The color value draws the explicit label identification of the ingredient control.
在一些实施例中,冰箱的控制器还被配置为:通过与其连接的检测器检测箱门的开关信号,当检测到所有箱门关闭时(例如,每检测到箱门的关闭信号时,根据记载的每个箱门的状态判断是否所有箱门均已关闭,若所有箱门均已关闭,则视为检测到所有箱门关闭),获取第零信息集合,该第零信息集合包括最新识别到的储藏室中所有RFID标签的标识信息;通过对比第零信息集合与第一信息集合,确定最新移出的RFID标签;修改最新移出的RFID标签的第三属性值,以将最新移出的RFID标签标记为第二类RFID标签,第二类RFID标签为当前已移出所述储藏室的RFID标签。以及,通过对比第零信息集合与第一信 息集合和第二信息集合,确定最新放入的RFID标签,该第二信息集合为由本地保存的第二类RFID标签的标识信息构成的信息集合;修改最新放入的RFID标签的第三属性值,以将最新放入的RFID标签标记为第一类RFID标签。In some embodiments, the controller of the refrigerator is further configured to: detect the opening and closing signals of the box doors through a detector connected thereto, and when it is detected that all the box doors are closed (for example, every time the closing signals of the box doors are detected, according to The state of each box door recorded determines whether all box doors are closed, if all box doors are closed, it is deemed that all box doors are closed), and the zeroth information set is obtained, and the zeroth information set includes the latest identification The identification information of all RFID tags in the storage room that arrives; by comparing the zeroth information set and the first information set, the newly removed RFID tag is determined; the third attribute value of the newly removed RFID Labeled as a second type of RFID tag, the second type of RFID tag is an RFID tag that has currently been removed from the storage room. And, by comparing the zeroth information set with the first information set and the second information set, determine the newly inserted RFID tag, and the second information set is an information set formed by the identification information of the second type of RFID tags stored locally; The third attribute value of the newly inserted RFID tag is modified to mark the newly inserted RFID tag as the first type of RFID tag.
其中,第一信息集合包括第一类RFID标签的标识信息和对应的食材信息。Wherein, the first information set includes identification information of the first type of RFID tags and corresponding food material information.
具体的,最新移出的RFID标签为标识信息在第零信息集合中不存在而在第一信息集合中存在的RFID标签。Specifically, the newly removed RFID tag is an RFID tag whose identification information does not exist in the zeroth information set but exists in the first information set.
需要说明的是,根据第三属性值的具体形式的不同,修改第三属性值的方式不同,本申请不予限定。It should be noted that, according to the specific form of the third attribute value, the manner of modifying the third attribute value is different, which is not limited in this application.
在一些实施例中,冰箱的控制器还被配置为:当新增第一类RFID标签、新增第二类RFID标签或者第一类RFID标签对应的食材信息发生更新时,根据最新的第一信息集合更新食材管理界面。根据最新的第一信息集合更新食材管理界面与前述实施例中根据第一信息集合显示食材管理界面的具体实现方式类似,此处不予赘述。In some embodiments, the controller of the refrigerator is further configured to: when a first-type RFID tag is newly added, a second-type RFID tag is newly added, or the food material information corresponding to the first-type RFID tag is updated, according to the latest first-type RFID tag The information collection updates the ingredient management interface. Updating the ingredient management interface according to the latest first information set is similar to the specific implementation of displaying the ingredient management interface according to the first information set in the foregoing embodiment, and will not be repeated here.
根据上述实施例,本申请实施例还提供一种食材管理界面的显示方法,该方法应用于上述实施例提供的冰箱,该方法的执行主体包括但不限于冰箱的控制器。图9为本申请根据示例性实施例示出的食材管理界面的显示方法流程图,如图9所示,该方法可以包括:According to the above embodiments, the embodiments of the present application further provide a method for displaying an ingredient management interface, the method is applied to the refrigerator provided by the above embodiments, and the execution body of the method includes but is not limited to a controller of the refrigerator. FIG. 9 is a flowchart of a method for displaying an ingredient management interface according to an exemplary embodiment of the present application. As shown in FIG. 9 , the method may include:
步骤901,获取第一信息集合,该第一信息集合包括至少一个第一类RFID标签对应的食材信息,第一类RFID标签为当前放置在所述储藏室中的RFID标签,所述RFID标签用于标识储藏室中的食材。Step 901: Acquire a first information set, where the first information set includes food material information corresponding to at least one first-type RFID tag, where the first-type RFID tag is the RFID tag currently placed in the storage room, and the RFID tag uses Used to identify ingredients in the pantry.
在一些实施例中,根据本地保存的所有RFID标签的第三属性值确定第一类RFID标签,该第三属性值表征RFID标签当前是否放置在所述储藏室中;根据第一类RFID标签的标识信息获取第一类RFID标签对应的食材信息,得到第一信息集合。In some embodiments, the first type of RFID tags is determined according to a third attribute value of all RFID tags stored locally, the third attribute value representing whether the RFID tags are currently placed in the storage room; according to the first type of RFID tags The identification information obtains the food material information corresponding to the first type of RFID tags, and obtains a first information set.
在一些实施例中,当检测到所有箱门关闭时,获取第零信息集合,第零信息集合包括最新识别到的储藏室中所有RFID标签的标识信息;通过对比所第零信息集合与第一信息集合,确定最新移出的RFID标签;修改最新移出的RFID标签的第三属性值,以将最新移出的RFID标签标记为第二类RFID标签,第二类RFID标签为当前已移出所述储藏室的RFID标签;通过对比第零信息集合与第一信息集合和第二信息集合,确定最新放入的RFID标签,第二信息集合为由本地保存的第二类RFID标签的标识信息构成的信息集合;修改最新放入的RFID标签的第三属性值,以将最新放入的RFID标签标记为第一类RFID标签。In some embodiments, when it is detected that all box doors are closed, a zeroth information set is obtained, and the zeroth information set includes the identification information of all RFID tags in the newly identified storage room; by comparing the zeroth information set with the first information collection, to determine the latest RFID tag removed; modify the third attribute value of the newly removed RFID tag to mark the newly removed RFID tag as the second type of RFID tag, and the second type of RFID tag is currently removed from the storage room By comparing the zeroth information set with the first information set and the second information set, the newly placed RFID tag is determined, and the second information set is an information set formed by the identification information of the second type of RFID tags stored locally. ; Modify the third attribute value of the newly inserted RFID tag to mark the newly inserted RFID tag as the first type of RFID tag.
步骤902,根据第一信息集合显示食材管理界面,食材管理界面包括至少一个食材展示区,食材展示区中显示有根据食材信息生成的食材控件,其中,第一属性值相同的RFID标签对应的食材控件显示在同一食材展示区中,第一属性值不同的RFID标签对应的食材控件显示在不同的食材展示区中,该第一属性值表征RFID标签关联的储藏室。 Step 902 , display the ingredient management interface according to the first information set, the ingredient management interface includes at least one ingredient display area, and the ingredient display area displays ingredient controls generated according to the ingredient information, wherein the ingredients corresponding to the RFID tags with the same first attribute value are Controls are displayed in the same ingredient display area, and ingredient controls corresponding to RFID tags with different first attribute values are displayed in different ingredient display areas, where the first attribute value represents the storage room associated with the RFID tags.
在一些实施例中,获取每个第一类RFID标签的标签编码,标签编码包括用于写入RFID标签的第一属性值的第一码段;根据第一属性值确定第一类RFID标签关联的目标储藏室;确定目标储藏室对应的目标食材展示区;将第一类RFID标签对应的食材控件绘制在目标食材展示区中。In some embodiments, a tag code of each first-type RFID tag is acquired, where the tag code includes a first code segment for writing a first attribute value of the RFID tag; the first-type RFID tag association is determined according to the first attribute value The target storage room is determined; the target food material display area corresponding to the target storage room is determined; the food material controls corresponding to the first type of RFID tags are drawn in the target food material display area.
在一些实施例中,食材控件包括显性标签标识,同一食材展示区中的食材控件的显性标签标识被绘制为相同的颜色,不同食材展示区中的食材控件的显示标签标识被绘制为不同的颜色。In some embodiments, the ingredient controls include explicit label identifiers, the explicit label identifiers of the ingredient controls in the same ingredient display area are drawn in the same color, and the display label identifiers of the ingredient controls in different ingredient display areas are drawn as different s color.
在一些实施例中,第二属性值相同的RFID标签对应的食材控件的显性标签标识被绘 制为相同的颜色,不同的第二属性值预先与不同的颜色值对应。In some embodiments, the explicit label identifiers of the ingredient controls corresponding to the RFID tags with the same second attribute value are drawn in the same color, and different second attribute values correspond to different color values in advance.
在一些实施例中,根据第一类RFID标签的第二属性值确定第二属性值对应的目标颜色值;在绘制该第一类RFID标签对应的食材控件时,根据目标颜色值绘制该食材控件的显性标签标识。In some embodiments, the target color value corresponding to the second attribute value is determined according to the second attribute value of the first type of RFID tag; when drawing the ingredient control corresponding to the first type of RFID tag, the ingredient control is drawn according to the target color value explicit label identification.
由上述实施例可知,上述实施例虽然可以实现对食材的分区管理,但用户需要逐一对冰箱中新增的每一个食材进行操作,冰箱对食材的智能化管理程度较低,用户体验感较差。It can be seen from the above embodiments that although the above embodiments can realize the partition management of ingredients, the user needs to operate each new ingredient in the refrigerator one by one. The intelligent management of the ingredients in the refrigerator is low, and the user experience is poor. .
为进一步提高冰箱智能化管理能力、提高用户体验,首先通过检测箱门的开关信号(包括开门信号和关门信号)获取箱门的开关状态(包括开启状态和关闭状态),然后根据箱门的开关状态变化情况确定目标操作箱门,即被用户操作的箱门,根据目标操作箱门确定目标储藏室,最后将本次操作后储藏室内新增的食材归类到确定的目标储藏室,可见,该分区实现过程无需用户手动操作,实现了对食材的完全智能化管理。In order to further improve the intelligent management capability of the refrigerator and improve the user experience, firstly obtain the switch status (including the open status and the closed status) of the box door by detecting the switch signal of the box door (including the door opening signal and the door closing signal), and then according to the opening and closing status of the box door. The state change determines the target operation box door, that is, the box door operated by the user, determines the target storage room according to the target operation box door, and finally classifies the newly added ingredients in the storage room after this operation into the determined target storage room. It can be seen that, The partition implementation process does not require manual operation by the user, and realizes a fully intelligent management of ingredients.
在一些实施例中,冰箱还包括检测器,用于分别检测每个所述箱门的开关信号,根据检测到的开关信号记录所述箱门的开关状态,发送开关状态信息给控制器,所述开关状态信息中包括每个所述箱门最近两次的开关状态。In some embodiments, the refrigerator further includes a detector for detecting the switch signal of each box door respectively, recording the switch status of the box door according to the detected switch signal, and sending the switch status information to the controller, so that The switch state information includes the last two switch states of each of the box doors.
示例性的,通过记录箱门的在先状态(Oldstate)和在后状态(Newstate)记录箱门的开关状态变化过程,比如,当检测到箱门的开启信号时,记录箱门的在后状态为开启状态(Newstate=开启),在检测到该开启信号前记录的在后状态(关闭状态)自动更新为在先状态,接着,当检测到箱门的关闭信号时,记录箱门的在后状态为关闭状态(Newstate=关闭),在检测到该关闭信号之前的在后状态(开启状态)自动更新为在先状态。Exemplarily, by recording the previous state (Oldstate) and the subsequent state (Newstate) of the box door, the change process of the opening and closing state of the box door is recorded, for example, when the opening signal of the box door is detected, the subsequent state of the box door is recorded. For the open state (Newstate=open), the later state (closed state) recorded before the open signal is detected is automatically updated to the previous state, and then, when the closing signal of the box door is detected, the trailing The state is the off state (Newstate=off), and the subsequent state (on state) before the off signal is detected is automatically updated to the previous state.
在一些实施例中,当检测器检测到任意一个箱门的开启信号或者关闭信号时,向控制器发送开关状态信息,开关状态信息中包括每个箱门最近两次的开关状态,即前述在先状态和在后状态。In some embodiments, when the detector detects an opening signal or a closing signal of any box door, it sends switch status information to the controller, and the switch status information includes the latest two switch statuses of each box door, that is, the aforementioned in the The first state and the latter state.
示例性的,检测器发送给控制器的开关状态信息中各字段内容如表1所示。Exemplarily, the content of each field in the switch state information sent by the detector to the controller is shown in Table 1.
表1Table 1
Figure PCTCN2021101716-appb-000001
Figure PCTCN2021101716-appb-000001
在一些实施例中,控制器接收检测器发送的开关状态信息,根据接收到的开关状态信息分析用户对箱门的操作行为。为便于说明,本申请将被用户操作的箱门称为目标操作箱门,目标操作箱门即是指开关状态发生变化的箱门。具体的,如果箱门的在先状态为开启状态,在后状态为关闭状态,说明用户对该箱门执行了完整的开关操作,确定该箱门为目标操作箱门。In some embodiments, the controller receives the switch state information sent by the detector, and analyzes the user's operation behavior of the box door according to the received switch state information. For the convenience of description, in this application, the box door operated by the user is referred to as the target operation box door, and the target operation box door refers to the box door whose switch state changes. Specifically, if the previous state of the box door is the open state and the latter state is the closed state, it means that the user has performed a complete opening and closing operation for the box door, and the box door is determined as the target operation box door.
例如,根据上述示例性示出的开关状态信息所包含的内容可以确定,冷藏室门未被操作,变温室门被开启但未被关闭,冷冻室被先被开启后被关闭,因此确定目标操作箱门为冷冻室门和变温室门。For example, according to the content contained in the switch state information exemplarily shown above, it can be determined that the door of the refrigerator compartment is not operated, the door of the changing compartment is opened but not closed, and the freezer compartment is first opened and then closed, so the target operation is determined. The door of the box is a freezer door and a variable temperature chamber door.
在本申请实施例中,检测器具体可以通过检测磁敏开关、机械开关检测箱门的开关信号。In the embodiment of the present application, the detector can specifically detect the switch signal of the box door by detecting the magnetic sensitive switch and the mechanical switch.
在一些实施例中,控制器,根据目标操作箱门确定目标储藏室,具体的,当目标操作箱门的数量为1个时,确定该目标操作箱门对应的储藏室为目标储藏室,当目标操作箱门的数量为多个时,确定预设的虚拟储藏室为目标储藏室,例如图4所示实施例中的自定义区。In some embodiments, the controller determines the target storage room according to the target operation box door. Specifically, when the number of target operation box doors is one, the controller determines that the storage room corresponding to the target operation box door is the target storage room. When the number of target operation box doors is multiple, the preset virtual storage room is determined as the target storage room, for example, the custom area in the embodiment shown in FIG. 4 .
示例的,若根据箱门状态信息确定目标操作箱门为冷藏室门时,那么目标储藏室则为冷藏室。若根据箱门状态信息确定目标操作箱门包括冷藏室和冷冻室时,那么目标储藏室则为虚拟储藏室。For example, if it is determined according to the box door state information that the target operation box door is the refrigerating compartment door, then the target storage room is the refrigerating compartment. If it is determined according to the box door state information that the target operation box door includes a refrigerator compartment and a freezer compartment, then the target storage room is a virtual storage room.
在一些实施例中,检测器每检测到一个箱门的开启信号,便向控制器发送一次开关状态信息,直到检测到最后一个被开启的箱门的关闭信号,向控制器发送最后一个开关状态信息。控制器根据接收到的开关状态信息判断是否所有的箱门均已关闭,即判断是否所有箱门的在后状态均为关闭状态,在所有箱门均关闭后,指示与其连接的RFID检测模块识别所有储藏室内的所有RFID标签,以获取储藏室内每个食材对应的RFID标签的标识信息,得到第一信息集合。In some embodiments, every time the detector detects an opening signal of a box door, it sends switch status information to the controller until it detects the closing signal of the last box door that was opened, and sends the last switch status to the controller information. The controller judges whether all the box doors are closed according to the received switch status information, that is, whether all the box doors are in the closed state. All RFID tags in all storage rooms are used to obtain identification information of the RFID tags corresponding to each food item in the storage room to obtain a first information set.
控制器在通过RFID检测模块获取到第一信息集合后,可以将第一信息集合与第二信息集合进行比较,以确定本次操作放入冰箱和/或取出冰箱的食材,其中,第二信息集合是根据上一次检测到所有箱门均关闭时获取的标识信息生成的信息集合。After acquiring the first information set through the RFID detection module, the controller may compare the first information set with the second information set to determine the ingredients put into and/or taken out of the refrigerator in this operation, wherein the second information The set is an information set generated based on the identification information obtained when it was detected that all the doors were closed last time.
以上一次检测到所有箱门均关闭时获取的、包含所有RFID标识信息的第零信息集合为例,第二信息集合根据第零信息集合生成得到,具体的,将上一次移出冰箱的食材对应的RFID标签的标识信息添加到第零信息集合中,并标记为移出状态,得到第二信息集合。可见,第二信息集合与第零信息集合的区别在于,第二信息集合中包括曾经放入到冰箱,且,已经移出冰箱的RFID标签的标识信息。As an example, the zeroth information set containing all RFID identification information obtained when all the doors of the box were detected to be closed in the previous example, the second information set is generated according to the zeroth information set. The identification information of the RFID tag is added to the zeroth information set, and marked as the removed state, to obtain the second information set. It can be seen that the difference between the second information set and the zeroth information set is that the second information set includes identification information of RFID tags that have been put into the refrigerator and have been removed from the refrigerator.
以本次检测到所有箱门均关闭时获取的第一信息集合为例,根据第一信息集合可以生成第三信息集合,具体的,通过对比第一信息集合与第二信息集合,确定本次移出储藏室的食材对应的RFID标签,即标识信息仅在第二信息集合中存在的RFID标签,将本次移出所述储藏室的RFID标签的标识信息添加到第一信息集合中,并将其标记为移出状态,生成第三信息集合。Taking the first information set obtained when it is detected that all box doors are closed this time as an example, a third information set can be generated according to the first information set. Specifically, by comparing the first information set and the second information set, it is determined that this time The RFID tag corresponding to the ingredients removed from the storage room, that is, the RFID tag whose identification information only exists in the second information set, the identification information of the RFID tag removed from the storage room this time is added to the first information set, and its identification information is added to the first information set. Marking the removed state, a third set of information is generated.
在一些实施例中,控制器通过对比第一信息集合和第二信息集合,确定本次放入冰箱的食材对应的标签,即目标标签,并根据确定的目标标签及目标储藏室,显示食材管理界面,食材管理界面中,通过目标标签所标识的食材的存储位置为目标储藏室。其中,目标储藏室为目标操作箱门对应的储藏室或者预设的虚拟储藏室。在根据目标标签和目标储藏室显示食材管理界面时,将目标标签对应的食材信息加载在目标储藏室对应的食材展示区,例如,在目标储藏室为冷藏室时,将目标标签关联的食材信息(如黄瓜)展示在冷藏室对应的食材展示区,在目标储藏室为虚拟储藏室时,将目标标签关联的食材信息展示在虚拟储藏室对应的食材展示区,如图4中示出的自定义区。In some embodiments, the controller determines the label corresponding to the ingredients put into the refrigerator this time, that is, the target label, by comparing the first information set and the second information set, and displays the management of the ingredients according to the determined target label and the target storage room. interface, in the ingredient management interface, the storage location of the ingredient identified by the target tag is the target storage room. The target storage room is a storage room corresponding to the target operation box door or a preset virtual storage room. When the ingredient management interface is displayed according to the target label and the target storage room, the ingredient information corresponding to the target label is loaded into the ingredient display area corresponding to the target storage room. For example, when the target storage room is a refrigerator room, the ingredient information associated with the target label is loaded (such as cucumbers) are displayed in the food material display area corresponding to the refrigerating room. When the target storage room is a virtual storage room, the food material information associated with the target tag is displayed in the food material display area corresponding to the virtual storage room, as shown in FIG. 4 . Definition area.
在一些实施例中,目标标签可以是第一目标标签,该第一目标标签是指标识信息在第一信息集合和第二信息集合中同时存在且在第二信息集合中被标记为移出状态的RFID标签,用户通过本次操作将第一目标标签对应的食材再次放入到储藏室中。In some embodiments, the target label may be a first target label, where the first target label refers to a label whose identification information exists in both the first information set and the second information set and is marked as being removed in the second information set RFID tag, the user puts the ingredients corresponding to the first target tag into the storage room again through this operation.
在一些实施例中,上述目标标签还可以是第二目标标签,该第二目标标签是指标签信 息在第一信息集合中存在、在第二信息集合中不存在的RFID标签,用户通过本次操作将第二目标标签对应的食材首次放入到储藏室中。In some embodiments, the above-mentioned target tag may also be a second target tag, and the second target tag refers to an RFID tag whose tag information exists in the first information set but does not exist in the second information set. The operation puts the ingredients corresponding to the second target label into the storage compartment for the first time.
在一些实施例中,用户可以通过操作食材管理界面对存储位置为虚拟储藏室的食材进行一键分区,避免逐一对每一样食材进行操作。In some embodiments, the user can perform one-key partitioning of the ingredients whose storage location is the virtual storage room by operating the ingredient management interface, so as to avoid operating each ingredient one by one.
具体实现中,在显示屏显示食材管理界面时,用户可以通过操作食材管理界面输入第一指令,例如点击虚拟储藏室对应的食材展示区的任意位置或者指定位置,或者,点击食材管理界面提供的指定功能控件等。控制器接收用户输入的第一指令,在食材管理界面的上层显示虚拟存储界面,在虚拟存储界面中展示有存储位置为虚拟储藏室的食材和对应的推荐储藏室,其中,每个食材对应的推荐储藏室是根据食材与储藏室的预设对应关系确定的。In the specific implementation, when the display screen displays the ingredient management interface, the user can input the first instruction by operating the ingredient management interface, for example, by clicking any position or designated position of the ingredient display area corresponding to the virtual storage room, or, clicking on the menu provided by the ingredient management interface. Specify function controls, etc. The controller receives the first instruction input by the user, displays a virtual storage interface on the upper layer of the ingredient management interface, and displays the ingredients whose storage location is the virtual storage room and the corresponding recommended storage room in the virtual storage interface. The recommended storage room is determined according to the preset corresponding relationship between the ingredients and the storage room.
示例性的,图5为本申请根据示例性实施例示出的一种用户界面,具体为一种示例性的虚拟存储界面。如图5所示,在该虚拟存储界面中,展示有虚拟储藏室的食材和对应的推荐储藏室。Exemplarily, FIG. 5 is a user interface shown in this application according to an exemplary embodiment, specifically an exemplary virtual storage interface. As shown in FIG. 5 , in the virtual storage interface, ingredients in the virtual storage room and corresponding recommended storage rooms are displayed.
在一些实施例中,预先获取食材与储藏室之间的预设对应关系表,根据该预设对应关系表,即可根据虚拟储藏室中的食材信息确定其对应的推荐储藏室,例如,虚拟储藏室中包括黄瓜,根据预设对应关系表中黄瓜对应的储藏室是冷藏室,则在虚拟存储界面中显示黄瓜对应的推荐储藏室为冷藏室。In some embodiments, a preset correspondence table between the ingredients and the storage room is obtained in advance, and according to the preset correspondence table, the corresponding recommended storage room can be determined according to the information of the ingredients in the virtual storage room. The storage room includes cucumbers, and according to the preset correspondence table, the storage room corresponding to the cucumber is a refrigerating room, and the recommended storage room corresponding to the cucumber is displayed as a refrigerating room in the virtual storage interface.
在显示屏显示虚拟存储界面时,用户可以通过操作虚拟存储界面输入第二指令,例如点击虚拟存储界面中显示的指定功能控件(如图5示出的“确定”控件)。控制器接收用户输入的第二指令,将虚拟储藏室中的食材的存储位置由虚拟储藏室修改为对应的推荐储藏室,进而,实现对虚拟储藏室中的食材的一键分区。完成一键分区操作后,虚拟储藏室中的食材将展示在推荐储藏室对应的展示区中。When the virtual storage interface is displayed on the display screen, the user can input a second instruction by operating the virtual storage interface, for example, by clicking a specified function control displayed in the virtual storage interface (the “OK” control shown in FIG. 5 ). The controller receives the second instruction input by the user, modifies the storage location of the ingredients in the virtual storage room from the virtual storage room to the corresponding recommended storage room, and further implements one-key partitioning of the ingredients in the virtual storage room. After completing the one-click partition operation, the ingredients in the virtual storage room will be displayed in the display area corresponding to the recommended storage room.
在另一些实施例中,虚拟存储界面中除展示与食材对应的推荐储藏室以外,还可以展示其他储藏室选项以供用户选择,以便实现对食材的个性化存储。In other embodiments, in addition to displaying recommended storage rooms corresponding to the ingredients, other storage room options may also be displayed for the user to select in the virtual storage interface, so as to realize personalized storage of the ingredients.
由以上实施例可知,通过检测箱门的开关信号确定判断用户是否操作箱门,并在箱门的开关状态发生变化时,根据箱门的开关状态情况确定目标操作箱门,在箱门全部关闭后,根据确定的目标操作箱门确定目标储藏室,最后将储藏室新增的食材归类到目标储藏室中,实现了对食材存储位置的自动识别,对食材的分区管理过程无需用户手动操作,提升用户体验。It can be seen from the above embodiment that whether the user operates the box door is determined by detecting the switch signal of the box door, and when the switch state of the box door changes, the target operation box door is determined according to the switch state of the box door, and the box door is completely closed. After that, the target storage room is determined according to the determined target operation box door, and finally the newly added ingredients in the storage room are classified into the target storage room, which realizes the automatic identification of the storage location of the ingredients, and the partition management process of the ingredients does not require manual operation by the user. , to improve the user experience.
本申请实施例提供一种食材管理方法,图10为本申请根据一示例性实施例示出的食材管理方法流程图,如图10所示,该方法可以包括:An embodiment of the present application provides a method for managing ingredients. FIG. 10 is a flowchart of a method for managing ingredients according to an exemplary embodiment of the present application. As shown in FIG. 10 , the method may include:
步骤601,当冰箱的至少一个箱门的开关状态发生变化后,根据所述箱门的开关状态变化确定目标操作箱门,所述目标操作箱门为所述开关状态由开启状态变化到关闭状态的箱门。 Step 601, after the switch state of at least one box door of the refrigerator changes, determine a target operation box door according to the change of the switch state of the box door, and the target operation box door is that the switch state changes from the open state to the closed state. box door.
当检测到箱门的开启信号或者关闭信号时,记录箱门的最新开关状态,并确定箱门的开关状态发生变化。根据箱门的开关状态变化过程,可以确定被用户操作(开启和/或关闭)的目标操作箱门,其中,目标操作箱门是指开关状态发生变化的箱门,例如,由开启状态变化为关闭状态的箱门,或者由关闭状态变化到开启状态的箱门。When the opening signal or closing signal of the box door is detected, the latest opening and closing state of the box door is recorded, and it is determined that the opening and closing state of the box door has changed. According to the change process of the opening and closing state of the box door, the target operation box door that is operated (opened and/or closed) by the user can be determined, wherein the target operation box door refers to the box door whose switch state changes, for example, from the open state to A box door in a closed state, or a box door that changes from a closed state to an open state.
步骤602,根据所述目标操作箱门确定目标储藏室,所述目标储藏室为所述目标操作箱门对应的储藏室或者预设的虚拟储藏室。Step 602: Determine a target storage room according to the target operation box door, where the target storage room is a storage room corresponding to the target operation box door or a preset virtual storage room.
具体实现中,可以在目标操作箱门的数量为1时,确定目标操作箱门对应的储藏室为目标储藏室;在目标操作箱门的数量大于1时,确定预设的虚拟储藏室为目标储藏室。目标储藏室为用户本次操作箱门所放入冰箱的食材的存储位置。In a specific implementation, when the number of target operation box doors is 1, the storage room corresponding to the target operation box door may be determined as the target storage room; when the number of target operation box doors is greater than 1, the preset virtual storage room may be determined as the target storage room. The target storage room is the storage location of the ingredients put into the refrigerator by the user operating the box door this time.
步骤603,当所有箱门的开关状态均变化到关闭状态后,获取第一信息集合,所述第一信息集合包括所述储藏室内每个食材对应的RFID标签的标识信息。Step 603: After the switch states of all the box doors are changed to the closed state, acquire a first information set, where the first information set includes identification information of the RFID tag corresponding to each food item in the storage room.
通过RFID检测模块识别冰箱内每个RFID标签的信号,以获取RFID标签的标识信息,获取到的每个RFID标签的标识信息形成第一信息集合。The signal of each RFID tag in the refrigerator is identified by the RFID detection module to acquire the identification information of the RFID tag, and the acquired identification information of each RFID tag forms a first information set.
步骤604,对比所述第一信息集合与第二信息集合,确定放入所述储藏室的目标标签,所述第二信息集合为根据上一次检测到所有箱门的开关状态均变化到关闭状态后获取的标识信息生成的信息集合。 Step 604, compare the first information set and the second information set, and determine the target label to be put into the storage room, and the second information set is to change to the closed state according to the last detected switch state of all the doors The information collection generated by the identification information obtained later.
目标标签包括第一目标标签和第二目标标签,第一目标标签是指标识信息在第一信息集合和第二信息集合中同时存在且在第二信息集合中被标记为移出状态的RFID标签,可以理解,第二目标标签在本次操作前被移出冰箱,通过本次操作再次被放入冰箱。第二目标标签是指标识信息仅在所述第一信息集合中存在的RFID标签,可以理解,第二目标标签为通过本次操作首次被放入冰箱的RFID标签。The target tag includes a first target tag and a second target tag, and the first target tag refers to an RFID tag whose identification information exists in the first information set and the second information set at the same time and is marked as a removed state in the second information set, It can be understood that the second target label is removed from the refrigerator before this operation, and is put into the refrigerator again through this operation. The second target tag refers to an RFID tag whose identification information only exists in the first information set. It can be understood that the second target tag is an RFID tag that is put into the refrigerator for the first time through this operation.
步骤605,显示食材管理界面,所述食材管理界面中,通过所述目标标签标识的食材的存储位置为所述目标储藏室。 Step 605 , displaying an ingredient management interface. In the ingredient management interface, the storage location of the ingredient identified by the target label is the target storage room.
图4示例性示出了一种食材管理界面中,如图4所示,在食材管理界面中,每个储藏室对应一个食材展示区,用于展示相应储藏室中的食材信息。FIG. 4 exemplarily shows an ingredient management interface. As shown in FIG. 4 , in the ingredient management interface, each storage compartment corresponds to an ingredient display area for displaying ingredient information in the corresponding storage compartment.
在步骤605中,根据目标标签和目标储藏室显示食材管理界面,具体是将目标标签对应的食材信息加载在目标储藏室对应的食材展示区中进行展示。In step 605, an ingredient management interface is displayed according to the target label and the target storage room, and specifically, the ingredient information corresponding to the target label is loaded into the ingredient display area corresponding to the target storage room for display.
例如,将一个或者多个目标标签对应的食材信息展示目标储藏室对应的食材展示区,所述目标储藏室可能是冷藏室、冷冻室等中的一个,也可能是虚拟储藏室。For example, the food material information corresponding to one or more target tags is displayed in the food material display area corresponding to the target storage room, and the target storage room may be one of a refrigerator room, a freezer room, etc., or a virtual storage room.
需要说明的是,控制器根据储藏室中每个RFID标签对应的食材信息在食材管理界面中生成食材控件,用于代表相应的食材。从图4和图17可以看出,食材控件可以由食材图标、食材名称、食材的新鲜度标识等一种或者多种界面元素构成,其中,食材图标可以根据食材的象形图片生成,食材的新鲜度标识用于示出食材的放入时间、剩余保质期等。It should be noted that the controller generates an ingredient control in the ingredient management interface according to the ingredient information corresponding to each RFID tag in the storage room, which is used to represent the corresponding ingredient. As can be seen from Fig. 4 and Fig. 17 , the ingredient control can be composed of one or more interface elements such as ingredient icons, ingredient names, and freshness signs of ingredients. The degree mark is used to show the putting time of the ingredients, the remaining shelf life, etc.
在一些实施例中,在这些实施例中,冰箱控制器根据每个RFID标签的标识信息和预先建立的标识信息与食材信息的对应关系确定每个RFID标签对应的食材信息。通过预先建立RFID标签的标识信息与食材信息的对应关系,即可实现RFID标签与食材的虚拟关联。其中,RFID标签的标识信息可以为检测模块识别到的RFID标签的标签编码,也可以是标签编码中的一个码段。In some embodiments, the refrigerator controller determines the ingredient information corresponding to each RFID tag according to the identification information of each RFID tag and the pre-established correspondence between the identification information and the ingredient information. By pre-establishing the corresponding relationship between the identification information of the RFID tag and the food material information, the virtual association between the RFID tag and the food material can be realized. The identification information of the RFID tag may be the tag code of the RFID tag identified by the detection module, or may be a code segment in the tag code.
示例性的,预先建立的RFID标签的标识信息与食材信息的对应关系可以如下表2所示。Exemplarily, the pre-established correspondence between the identification information of the RFID tag and the food material information may be as shown in Table 2 below.
表2Table 2
RFIDRFID 食材信息food information
标识1Logo 1 苹果、水果类apples, fruits
标识2Logo 2 黄瓜、蔬菜类cucumbers, vegetables
标识3Logo 3 猪肉、肉类pork, meat
……... ……...
在一些实施例中,在冰箱侧建立RFID标签的标识信息与食材信息的对应关系表并保存在本地。具体的,在显示屏上显示食材管理界面时,用户可以通过操作食材管理界面输入指示进行食材信息录入的指令,例如,用户点击食材管理界面提供的食材信息录入控件以指示进行食材信息录入;当控制器接收到该指令后,开始检测放置在指定区域的RFID标签的信号以获取RFID标签的标识信息,并显示用于将RFID标签与食材信息进行关联的编辑界面,编辑界面中显示有获取到的RFID标签的标识信息,编辑界面被配置为可以接收用户输入的食材信息,其可以包括用于输入食材信息的输入位置;当控制器接收到用户在编辑界面输入的食材信息后,将接收到的食材信息与标识信息对应保存,从而,完成并完善RFID标签的标识信息与食材信息的对应关系表的建立。In some embodiments, a correspondence table between the identification information of the RFID tag and the ingredient information is established on the side of the refrigerator and stored locally. Specifically, when the ingredient management interface is displayed on the display screen, the user can input an instruction to enter the ingredient information by operating the ingredient management interface. For example, the user clicks the ingredient information entry control provided on the ingredient management interface to instruct the ingredient information entry; when After the controller receives the instruction, it starts to detect the signal of the RFID tag placed in the designated area to obtain the identification information of the RFID tag, and displays the editing interface for associating the RFID tag with the food information. The identification information of the RFID tag, the editing interface is configured to receive the ingredient information input by the user, which may include an input position for inputting the ingredient information; when the controller receives the ingredient information input by the user in the editing interface, it will receive The RFID tag information and the identification information are stored correspondingly, thereby completing and improving the establishment of the corresponding relationship table between the identification information of the RFID tag and the ingredient information.
示例性的,用户可以点击如图4所示食材管理界面中的RFID标签识别控件以输入指示进行食材信息录入的指令。当控制器接收到用户输入的该指令后,响应于该指令,在如图4所示的食材管理界面的上层显示用于提示用户将RFID标签放置在感应区域的提示(如图11所示)并开始检测放置在感应区域的RFID标签的信号以获取RFID标签的标识信息。在控制器获取到RFID标签的标识信息后,在显示屏上呈现包含标识信息的关联界面。Exemplarily, the user may click on the RFID tag identification control in the ingredient management interface as shown in FIG. 4 to input an instruction for entering ingredient information. When the controller receives the instruction input by the user, in response to the instruction, a prompt for prompting the user to place the RFID tag in the sensing area is displayed on the upper layer of the ingredient management interface as shown in FIG. 4 (as shown in FIG. 11 ) And start to detect the signal of the RFID tag placed in the sensing area to obtain the identification information of the RFID tag. After the controller acquires the identification information of the RFID tag, an associated interface including the identification information is presented on the display screen.
图12为本申请根据示例性实施例示出的一种编辑界面,如图12所示,该关联界面显示有RFID标签的标识信息“20200005”、用于输入食材名称的输入位置、用于输入食材类别的输入位置以及“取消”控件和“确定”控件。Fig. 12 is an editing interface shown in this application according to an exemplary embodiment. As shown in Fig. 12, the associated interface displays the identification information "20200005" of the RFID tag, the input position for inputting the name of the food, and the input position for inputting the food. The input location for the category and the Cancel and OK controls.
在上述实施例中,通过RFID模块识别RFID标签的标识信息并显示在编辑界面中,无需用户手动输入该标识信息,从而避免输入错误,节省用户操作。通过建立RFID标签与食材信息之间的对应关系,实现RFID标签与食材信息之间的虚拟关联,且可以通过修改RFID标签与食材信息之间的对应关系,使得同一个RFID标签先后与不同的食材信息相对应,提高RFID标签的使用灵活性。In the above embodiment, the identification information of the RFID tag is identified by the RFID module and displayed in the editing interface, and the user does not need to manually input the identification information, thereby avoiding input errors and saving user operations. By establishing the corresponding relationship between the RFID tag and the ingredient information, the virtual association between the RFID tag and the ingredient information can be realized, and the corresponding relationship between the RFID tag and the ingredient information can be modified, so that the same RFID tag is successively associated with different ingredients. Corresponding information, improve the flexibility of the use of RFID tags.
实际应用中,被投入使用的RFID标签会被用户多次拿出和放入到冰箱中,而对于任意RFID标签,当其被再次放入到冰箱中时,其实际标识对应的食材或已发生变化,例如,当某RFID标签被取出时,其标识的食材是“萝卜”,当该RFID标签被再次放入时,其标识的食材是“苹果”,而由于该RFID标签被再次放入后,食材管理界面中显示的该RFID标签对应的食材控件仍是根据“萝卜”等信息生成的食材控件,因此容易造成用户的混淆,不利于用户体验。In practical applications, the RFID tag put into use will be taken out and put into the refrigerator by the user many times, and for any RFID tag, when it is put into the refrigerator again, it actually identifies the corresponding food or has occurred. Changes, for example, when an RFID tag is taken out, the identified ingredient is "radish", when the RFID tag is put in again, the identified ingredient is "apple", and since the RFID tag is put in , the ingredient control corresponding to the RFID tag displayed in the ingredient management interface is still an ingredient control generated based on information such as "radish", which is easy to cause confusion for users and is not conducive to user experience.
另外,若冰箱中存储有多个相同的食材,则根据上述实施例可知,在食材管理界面中将显示多个相同的食材控件,而若用户从冰箱中拿出多个相同食材中的第一食材再将其放入后,用户无法区分食材管理界面中的多个相同食材控件中哪个是第一食材对应的食材控件,用户体验不友好。In addition, if a plurality of identical ingredients are stored in the refrigerator, according to the above-mentioned embodiment, a plurality of identical ingredient controls will be displayed in the ingredient management interface, and if the user takes out the first one of the plurality of identical ingredients from the refrigerator After the ingredients are put in again, the user cannot distinguish which of the multiple identical ingredient controls in the ingredient management interface is the ingredient control corresponding to the first ingredient, and the user experience is unfriendly.
以下将对能够解决上述问题、提高用户体验的实施例予以详细介绍。Embodiments capable of solving the above problems and improving user experience will be introduced in detail below.
在一些实施例中,本地数据包括多个RFID标签的标识信息和对应的食材信息,根据每个RFID标签当前是放置在储藏室中还是已移出储藏室,将这些RFID标签分为第一类RFID标签和第二类RFID标签,其中,第一类RFID标签是指当前放置在储藏室中的RFID标签,第二RFID标签是指当前已移出储藏室的RFID标签。In some embodiments, the local data includes identification information and corresponding ingredient information of a plurality of RFID tags, which are classified into the first type of RFID according to whether each RFID tag is currently placed in the storage room or has been removed from the storage room A tag and a second type of RFID tag, wherein the first type of RFID tag refers to the RFID tag currently placed in the storage room, and the second RFID tag refers to the RFID tag currently removed from the storage room.
在一些实施例中,根据RFID标签的第二属性值判断该RFID标签是为第一类RFID标签还是第二类RFID标签,也就是说,第一类RFID标签与第二类RFID标签的第二属性值 不同。示例性的,第一类RFID标签的第二属性值为0,第二类RFID标签的第二属性值为1。In some embodiments, whether the RFID tag is a first-type RFID tag or a second-type RFID tag is determined according to the second attribute value of the RFID tag, that is, the second type of RFID tag and the second-type RFID tag The property values are different. Exemplarily, the second attribute value of the first type of RFID tags is 0, and the second attribute value of the second type of RFID tags is 1.
需要说明的是,上述第二属性值作用是区分第一类RFID标签和第二类RFID标签,本申请对第二属性值的具体形式不予限定,其可以是第一类RFID标签和第二类RFID标签所具有的不同的状态标记,如第一类RFID标签被标记的状态为存入状态,第二类RFID标签被标记的状态为移出状态,也可以是第一类RFID标签和第二类RFID标签所对应的不同的存储路径,如第一类RFID标签的标识信息保存在第一表格中,第二类RFID标签的标识信息保存在第二表格中等。It should be noted that the function of the above-mentioned second attribute value is to distinguish the first type of RFID tag from the second type of RFID tag, and the specific form of the second attribute value is not limited in this application, which may be the first type of RFID tag and the second type of RFID tag. The different status marks of RFID tags, such as the marked status of the first type of RFID tags is the stored status, the marked status of the second type of RFID tags is the removed status, or the first type of RFID tags and the second type of RFID tags. The different storage paths corresponding to the RFID tags, such as the identification information of the first type of RFID tags are stored in the first table, the identification information of the second type of RFID tags is stored in the second table and so on.
另外,每个RFID标签具有一个第一属性值,RFID标签的第一属性值用于表征该RFID标签是否为重复放入到所述储藏室中的RFID标签。例如,若某RFID标签的第一属性值=0,表征该RFID标签是重复放入到所述储藏室中的RFID标签,若某RFID标签的第一属性值=1,表征该RFID标签不是重复放入到所述储藏室中的RFID标签。其中,重复放入的RFID标签是指,在第一时刻被取出冰箱且在第二时刻被放入冰箱的RFID标签,第一时刻早于第二时刻。In addition, each RFID tag has a first attribute value, and the first attribute value of the RFID tag is used to represent whether the RFID tag is an RFID tag that is repeatedly put into the storage room. For example, if the first attribute value of an RFID tag = 0, it indicates that the RFID tag is an RFID tag that is repeatedly placed in the storage room. If the first attribute value of an RFID tag = 1, it indicates that the RFID tag is not a duplicate RFID tag. RFID tags put into the storage compartment. Wherein, the repeatedly inserted RFID tags refer to the RFID tags that are taken out of the refrigerator at the first time and put into the refrigerator at the second time, and the first time is earlier than the second time.
需要说明的是,上述第一属性值的作用是区分RFID标签是否为重复放入到储藏室中的标签,与上述第二属性值类似的是,本申请对第一属性值的具体形式也不予限定。第一属性值可以是RFID标签的标识信息被标记的状态,如将重复放入的RFID标签的标识信息标记为重复放入状态,将非重复放入的RFID标签的标识信息标记为非重复放入状态。第一属性值也可以是RFID标签所对应的不同的存储路径,如将重复放入的RFID标签的标识信息保存在第一表格中,将非重复放入的RFID标签的标识信息保存在第二表格中等。It should be noted that the function of the above-mentioned first attribute value is to distinguish whether the RFID tag is a label that is repeatedly placed in the storage room. Similar to the above-mentioned second attribute value, this application does not specify the specific form of the first attribute value. be limited. The first attribute value can be the state in which the identification information of the RFID tag is marked, for example, the identification information of the repeatedly placed RFID tag is marked as the repeated placement state, and the identification information of the non-repeatedly placed RFID tag is marked as the non-repeated placement. into the state. The first attribute value can also be a different storage path corresponding to the RFID tag. For example, the identification information of the repeatedly placed RFID tags is stored in the first table, and the identification information of the non-repeatedly placed RFID tags is stored in the second table. Form is medium.
基于此,冰箱的控制器被配置为:从本地数据中获取第一类RFID标签对应的食材信息,得到第一信息集合;然后根据该第一信息集合显示食材管理界面,食材管理界面分别根据每个所述食材信息生成的食材控件,其中,根据所述RFID标签的第一属性值的不同,所述RFID标签对应的食材控件被生成为不同的状态。Based on this, the controller of the refrigerator is configured to: obtain food information corresponding to the first type of RFID tags from local data, and obtain a first information set; and then display the food management interface according to the first information set, and the food management interface is based on each Each food item control generated by the food item information, wherein, according to the difference of the first attribute value of the RFID tag, the food item control corresponding to the RFID tag is generated into different states.
具体实现时,控制器可以根据本地保存的所有RFID标签的第二属性值确定第一类RFID标签;根据第一类RFID标签的标识信息获取第一类RFID标签对应的食材信息,得到第一信息集合。During specific implementation, the controller may determine the first type of RFID tags according to the second attribute values of all RFID tags stored locally; obtain the food material information corresponding to the first type of RFID tags according to the identification information of the first type of RFID tags, and obtain the first information gather.
在上述实施例中,由于RFID标签的第一属性值表征该RFID标签是否为重复放入到储藏室中的标签,因此根据RFID标签的第一属性值的不同将RFID标签对应的食材控件生成为不同的状态,用户即可根据食材控件的状态判断该食材控件对应的RFID标签是否为重复放入的标签。示例性的,对于若某RFID标签,若该RFID标签的第一属性值表征该RFID标签是重复放入的RFID标签,则根据该RFID标签对应的食材信息生成第一状态的食材控件,若该RFID标签的第一属性值表征该RFID标签不是重复放入的RFID标签,则根据该RFID标签对应的食材信息生成第二状态的食材控件。这样,用户即可根据食材管理界面中各个食材控件是为第一状态还是为第二状态,快速辨认出哪些食材控件是与重复放入的RFID标签对应的。In the above embodiment, since the first attribute value of the RFID tag represents whether the RFID tag is a tag that is repeatedly placed in the storage room, the food control corresponding to the RFID tag is generated according to the difference of the first attribute value of the RFID tag as In different states, the user can judge whether the RFID tag corresponding to the ingredient control is a duplicated label according to the state of the ingredient control. Exemplarily, for a certain RFID tag, if the first attribute value of the RFID tag indicates that the RFID tag is an RFID tag that has been placed repeatedly, the food control in the first state is generated according to the food information corresponding to the RFID tag. The first attribute value of the RFID tag indicates that the RFID tag is not an RFID tag that is repeatedly placed, and then the ingredient control in the second state is generated according to the ingredient information corresponding to the RFID tag. In this way, the user can quickly identify which ingredient controls correspond to the repeatedly placed RFID tags according to whether each ingredient control in the ingredient management interface is in the first state or the second state.
在一些实施例中,冰箱的控制器进一步被配置为:在根据第一信息集合生成食材管理界面过程中,判断每个第一类RFID标签的第一属性值是否为预定值;对于第一属性值为预定值的第一类RFID标签,根据该RFID标签对应的食材信息生成包含显性标识的食材控件,该显性标识用于指示所述食材控件对应的RFID标签为重复放入的RFID标签;对 于第一属性值不为预定值的第一类RFID标签,根据该RFID标签对应的食材信息生成不包含显性标识的食材控件。In some embodiments, the controller of the refrigerator is further configured to: in the process of generating the ingredient management interface according to the first information set, determine whether the first attribute value of each first-type RFID tag is a predetermined value; for the first attribute The value of the first type of RFID tag with a predetermined value, and according to the food material information corresponding to the RFID tag, an ingredient control containing an explicit identification is generated, and the explicit identification is used to indicate that the RFID tag corresponding to the ingredient control is a repeatedly placed RFID tag ; For a first type of RFID tag whose first attribute value is not a predetermined value, generate an ingredient control that does not contain an explicit identifier according to the ingredient information corresponding to the RFID tag.
由这些实施例可知,食材是否包含显性标识取决于RFID标签的第一属性值是否为预定值,根据RFID标签的第一属性值是否为预定值将食材控件生成为两种状态,即包含显性标识时的状态和不包含显性标识时的状态。用户可以根据食材管理界面中显示的食材控件是否包含显性标识来识别食材控件对应的RFID标签是否是重复放入的。It can be seen from these embodiments that whether the food contains an explicit identifier depends on whether the first attribute value of the RFID tag is a predetermined value, and the food control is generated into two states according to whether the first attribute value of the RFID tag is a predetermined value, that is, including the explicit identification. The state when the explicit flag is included and the state when the explicit flag is not included. The user can identify whether the RFID tag corresponding to the ingredient control is repeatedly placed according to whether the ingredient control displayed in the ingredient management interface contains an explicit identifier.
图13为本申请根据示例性示出的一种食材控件示意图,如图13所示,该食材控件包括食材图标701、食材名称702、新鲜度标识703和显性标识704。图14为本申请示例性实施例示出的另一种食材控件示意图,与图13所示食材控件不同的是,图14所示的食材控件不包含显性标识704。FIG. 13 is a schematic diagram of an ingredient control according to an exemplary illustration of the present application. As shown in FIG. 13 , the ingredient control includes an ingredient icon 701 , an ingredient name 702 , a freshness indicator 703 and an explicit indicator 704 . FIG. 14 is a schematic diagram of another ingredient control shown in an exemplary embodiment of the present application. Different from the ingredient control shown in FIG. 13 , the ingredient control shown in FIG. 14 does not include an explicit identifier 704 .
对于重复放入的RFID标签,其标识的食材前后可能发生变化,如当某RFID标签被取出时,其标识的食材是“萝卜”(贴在萝卜上),当该RFID标签被再次放入时,其标识的食材是“苹果”(贴子苹果上)。在这种情况下,无论是本地保存的此类RFID标签(重复放入的RFID标签)对应的食材信息,还是食材管理界面中显示的此类RFID标签对应的食材控件,均未根据其最新标识的食材的食材信息得到更新,因此容易造成用户的混淆,不利于用户体验。For repeated RFID tags, the identified ingredients may change before and after. For example, when an RFID tag is taken out, the identified ingredients are "radish" (affixed to the radish). When the RFID tag is put in again , the identified ingredients are "apples" (posted on apples). In this case, neither the food information corresponding to such RFID tags (repeatedly placed RFID tags) stored locally nor the food controls corresponding to such RFID tags displayed in the food management interface are not based on their latest identification. The ingredient information of the ingredients is updated, so it is easy to cause confusion for users, which is not conducive to user experience.
为解决该问题,在一些实施例中,用户可以对食材管理界面中的任意一个食材控件进行操作,以查看该食材控件对应的详细食材信息;当用户对食材管理界面中包含显性标识的食材控件(即重复放入的RFID标签对应的食材控件)进行操作时,不显示食材详情页,而是显示提示页以提示用户该食材控件对应的RFID标签为重复放入的RFID标签,以促使用户根据实际情况及时更新该RFID标签对应的食材信息。To solve this problem, in some embodiments, the user can operate any ingredient control in the ingredient management interface to view the detailed ingredient information corresponding to the ingredient control; When the control (that is, the ingredient control corresponding to the repeatedly placed RFID tag) is operated, the ingredient details page is not displayed, but a prompt page is displayed to remind the user that the RFID tag corresponding to the ingredient control is the repeatedly placed RFID tag, so as to prompt the user The food information corresponding to the RFID tag is updated in time according to the actual situation.
另外,还可以在上述提示页中提供用于触发显示编辑界面的控件,以便于用户操作。In addition, a control for triggering the display of the editing interface may also be provided in the above-mentioned prompt page, so as to facilitate the user's operation.
基于此,冰箱的控制器还被配置为:接收用户对目标食材控件的用户操作,响应于该用户操作,判断被操作的目标食材控件对应的RFID标签的第一属性值是否为预定值;若对应的RFID标签的第一属性值是预定值,呈现界面提示,以提示用户对所述RFID标签对应的食材信息进行更新;若对应的RFID标签的第一属性值不是预定值,则呈现食材详情页面,食材详情页面中展示有目标食材控件对应的食材信息。Based on this, the controller of the refrigerator is further configured to: receive a user operation on the target ingredient control from the user, and in response to the user operation, determine whether the first attribute value of the RFID tag corresponding to the operated target ingredient control is a predetermined value; if The first attribute value of the corresponding RFID tag is a predetermined value, and an interface prompt is presented to prompt the user to update the food information corresponding to the RFID tag; if the first attribute value of the corresponding RFID tag is not a predetermined value, the food details are presented page, the ingredient details page displays the ingredient information corresponding to the target ingredient control.
除此之外,当用户通过操作编辑界面而输入与某RFID标签对应的新的食材信息时,使用接收到的新的食材信息替换本地保存的原食材信息,以更新该RFID标签对应的食材信息。In addition, when the user inputs new ingredient information corresponding to a certain RFID tag by operating the editing interface, the received new ingredient information is used to replace the locally stored original ingredient information to update the ingredient information corresponding to the RFID tag. .
进一步,冰箱的控制器还被配置为,当第一类RFID标签对应的食材信息发生更新时,修改该第一类RFID标签的第一属性值,以将食材信息发生更新的第一类RFID标签标记为首次放入到储藏室中的RFID标签。Further, the controller of the refrigerator is further configured to, when the food material information corresponding to the first type of RFID tag is updated, modify the first attribute value of the first type of RFID tag, so as to update the first type of RFID tag with the updated food material information RFID tags marked as first put into storage.
图15为本申请根据示例性实施例示出的一种界面提示,或者称为提示页。如图15所示,该界面提示显示在食材管理界面的上层,它通过文字内容提示用户该控件对应的食材(即RFID标签)曾被移出过冰箱,即为重复放入的食材(即RFID标签),并询问用户是否需要重新编辑该食材。图15所示界面提示中还显示有用于触发显示编辑界面的控件(“是的,去编辑”),当用户对该控件进行操作时,将跳转到如图12所示的编辑页面,且编辑页面中显示对应的RFID标签的标识信息。当然,用户可以操作图15所示界面中用于拒绝重新编辑的控件(“不需要编辑”),当用户对该孔家进行操作时,将撤销对该界面提示的 显示,并显示食材详情页面。FIG. 15 is an interface prompt, or referred to as a prompt page, shown in this application according to an exemplary embodiment. As shown in Figure 15, the interface prompt is displayed on the upper layer of the ingredient management interface. It reminds the user through the text content that the ingredient (ie the RFID tag) corresponding to the control has been removed from the refrigerator, that is, the ingredient that has been placed repeatedly (ie the RFID tag). ), and asks the user if they need to re-edit the ingredient. The interface prompt shown in FIG. 15 also displays a control for triggering the display of the editing interface (“Yes, go to edit”). When the user operates the control, it will jump to the editing page shown in FIG. 12 , and The identification information of the corresponding RFID tag is displayed on the edit page. Of course, the user can operate the control for rejecting re-editing in the interface shown in Figure 15 (“No need to edit”), when the user operates the Kongjia, the display of the interface prompt will be canceled, and the ingredient details page will be displayed .
在一些实施例中,冰箱的控制器还被配置为:通过与其连接的检测器检测箱门的开关信号,当检测到所有箱门关闭时(例如,每检测到箱门的关闭信号时,根据记载的每个箱门的状态判断是否所有箱门均已关闭,若所有箱门均已关闭,则视为检测到所有箱门关闭),获取第零信息集合,该第零信息集合包括最新识别到的储藏室中所有RFID标签的标识信息;通过对比第零信息集合与第一信息集合,确定最新移出的RFID标签;修改最新移出的RFID标签的第一属性值和第二属性值,以将最新移出的RFID标签标记为重复放入到储藏室中的RFID标签和第二类RFID标签,第二类RFID标签为当前已移出储藏室的RFID标签。具体的,最新移出的RFID标签为标识信息在第零信息集合中不存在而在第一信息集合中存在的RFID标签。In some embodiments, the controller of the refrigerator is further configured to: detect the opening and closing signals of the box doors through a detector connected thereto, and when it is detected that all the box doors are closed (for example, every time the closing signals of the box doors are detected, according to The state of each box door recorded determines whether all box doors are closed, if all box doors are closed, it is deemed that all box doors are closed), and the zeroth information set is obtained, and the zeroth information set includes the latest identification The identification information of all RFID tags in the storage room that arrives; by comparing the zeroth information set and the first information set, determine the newly removed RFID tag; modify the first attribute value and the second attribute value of the newly removed RFID tag to The newly removed RFID tags are marked as the RFID tags repeatedly put into the storage room and the second type of RFID tags, and the second type of RFID tags are the RFID tags currently removed from the storage room. Specifically, the newly removed RFID tag is an RFID tag whose identification information does not exist in the zeroth information set but exists in the first information set.
以及,通过对比第零信息集合与第一信息集合和第二信息集合确定最新放入的RFID标签,第二信息集合为由本地保存的第二类RFID标签的标识信息构成的信息集合;修改最新放入的RFID标签的第二属性值,以将最新放入的RFID标签标记为第一类RFID标签。其中,标识信息在第零信息集合中和第二信息集合中同时存在的RFID标签为最新放入的RFID标签;标识信息仅在第零信息集合中存在的RFID标签为最新放入的RFID标签。And, determine the latest RFID tag by comparing the zeroth information set with the first information set and the second information set, and the second information set is an information set formed by the identification information of the second type of RFID tags stored locally; modify the latest RFID tag; The second attribute value of the inserted RFID tag to mark the newly inserted RFID tag as the first type of RFID tag. The RFID tags whose identification information exists both in the zeroth information set and the second information set are the newly inserted RFID tags; the RFID tags whose identification information only exists in the zeroth information set are the newly inserted RFID tags.
其中,第一信息集合包括第一类RFID标签的标识信息和对应的食材信息。Wherein, the first information set includes identification information of the first type of RFID tags and corresponding food material information.
需要说明的是,根据第一属性值和第二属性值的具体形式的不同,修改第一属性值和第二属性值的方式不同,本申请不予限定。It should be noted that, according to different specific forms of the first attribute value and the second attribute value, the manner of modifying the first attribute value and the second attribute value is different, which is not limited in this application.
根据上述实施例,本申请实施例还提供一种食材管理界面的显示方法,该方法应用于上述实施例提供的冰箱,该方法的执行主体包括但不限于冰箱的控制器。图16为本申请根据示例性实施例示出的食材管理界面的显示方法流程图,如图16所示,该方法可以包括:According to the above embodiments, the embodiments of the present application further provide a method for displaying an ingredient management interface, the method is applied to the refrigerator provided by the above embodiments, and the execution body of the method includes but is not limited to a controller of the refrigerator. FIG. 16 is a flowchart of a method for displaying an ingredient management interface according to an exemplary embodiment of the present application. As shown in FIG. 16 , the method may include:
步骤101,获取第一信息集合,该第一信息集合包括至少一个第一类RFID标签对应的食材信息,该第一类RFID标签为当前放置在储藏室中的RFID标签,RFID标签用于标识所述储藏室中的食材。Step 101: Acquire a first information set, where the first information set includes food material information corresponding to at least one first-type RFID tag, where the first-type RFID tag is an RFID tag currently placed in the storage room, and the RFID tag is used to identify all the food items. food in the pantry.
在一些实施例中,根据本地保存的所有RFID标签的第二属性值确定第一类RFID标签,该第二属性值表征RFID标签当前是否放置在所述储藏室中;根据第一类RFID标签的标识信息获取第一类RFID标签对应的食材信息,得到第一信息集合。In some embodiments, the first type of RFID tags is determined according to second attribute values of all RFID tags stored locally, the second attribute value representing whether the RFID tags are currently placed in the storage room; according to the first type of RFID tags The identification information obtains the food material information corresponding to the first type of RFID tags, and obtains a first information set.
在一些实施例中,当检测到所有箱门关闭时,获取第零信息集合,该第零信息集合包括最新识别到的储藏室中所有RFID标签的标识信息;通过对比第零信息集合与第一信息集合,确定最新移出的RFID标签;修改最新移出的RFID标签的第一属性值和第二属性值,以将最新移出的RFID标签标记为重复放入到储藏室中的RFID标签和第二类RFID标签,第二类RFID标签为当前已移出所述储藏室的RFID标签。以及通过对比第零信息集合与第一信息集合和第二信息集合确定最新放入的RFID标签,第二信息集合为由本地保存的第二类RFID标签的标识信息构成的信息集合;修改最新放入的RFID标签的第二属性值,以将最新放入的RFID标签标记为第一类RFID标签。In some embodiments, when it is detected that all box doors are closed, the zeroth information set is obtained, and the zeroth information set includes the identification information of all the RFID tags in the newly identified storage room; by comparing the zeroth information set with the first Information collection, determining the latest RFID tag removed; modifying the first attribute value and the second attribute value of the newly removed RFID tag to mark the newly removed RFID tag as the RFID tag repeatedly put into the storage room and the second type RFID tags, the second type of RFID tags are RFID tags that are currently removed from the storage room. And determine the latest RFID tag by comparing the zeroth information set with the first information set and the second information set, and the second information set is an information set formed by the identification information of the second type of RFID tags stored locally; The second attribute value of the inserted RFID tag is used to mark the newly inserted RFID tag as the first type of RFID tag.
步骤102,根据第一信息集合显示食材管理界面,食材管理界面包括分别根据每个食材信息生成的食材控件,其中,根据第一类RFID标签的第一属性值的不同,所述第一类RFID标签对应的食材控件被生成为不同的状态,所述第一属性值表征所述第一类RFID标签是否为重复放入到所述储藏室中的RFID标签。Step 102: Display the ingredient management interface according to the first information set, and the ingredient management interface includes ingredient controls generated according to the information of each ingredient, wherein, according to the difference of the first attribute value of the first type of RFID tag, the first type of RFID The ingredient controls corresponding to the tags are generated in different states, and the first attribute value represents whether the first type of RFID tags are RFID tags that are repeatedly put into the storage room.
在一些实施例中,判断每个第一类RFID标签的第一属性值是否为预定值;对于第一属性值为预定值的第一类RFID标签,根据对应的食材信息生成包含显性标识的食材控件,该显性标识用于指示食材控件对应的RFID标签为重复放入的RFID标签;对于第一属性值不为预定值的第一类RFID标签,根据对应的食材信息生成不包含显性标识的食材控件。In some embodiments, it is determined whether the first attribute value of each first-type RFID tag is a predetermined value; for the first-type RFID tag whose first attribute value is a predetermined value, an explicit identification is generated according to the corresponding ingredient information. Ingredient control, the explicit identification is used to indicate that the RFID tag corresponding to the ingredient control is an RFID tag that is repeatedly placed; for the first type of RFID tag whose first attribute value is not a predetermined value, the generation of the corresponding ingredient information does not contain explicit RFID tags. Identified ingredient controls.
在一些实施例中,本申请提供的方法还包括:接收对目标食材控件的用户操作;响应于用户操作,判断目标食材控件对应的RFID标签的第一属性值是否为预定值;若对应的RFID标签的第一属性值是预定值,呈现界面提示,以提示用户对RFID标签对应的食材信息进行更新。In some embodiments, the method provided by the present application further includes: receiving a user operation on the target ingredient control; in response to the user operation, judging whether the first attribute value of the RFID tag corresponding to the target ingredient control is a predetermined value; if the corresponding RFID The first attribute value of the tag is a predetermined value, and an interface prompt is presented to prompt the user to update the ingredient information corresponding to the RFID tag.
在一些实施例中,本申请提供的方法还包括:当第一类RFID标签对应的食材信息发生更新时,修改第一类RFID标签的第一属性值,以将食材信息发生更新的第一类RFID标签标记为首次放入到储藏室中的RFID标签。In some embodiments, the method provided by the present application further includes: when the food material information corresponding to the first type of RFID tag is updated, modifying the first attribute value of the first type of RFID tag to update the food material information of the first type The RFID tag is marked as an RFID tag that is first put into the storage room.
相关技术中,需要逐一识别各个RFID标签,以读取各个RFID标签的标识信息,并逐一输入要与RFID标签关联的食材信息,再将识别到的标识信息与输入的食材信息对应保存在本地,操作繁琐,用户体验不够友好。In the related art, it is necessary to identify each RFID tag one by one to read the identification information of each RFID tag, and input the information of the ingredients to be associated with the RFID tag one by one, and then store the identified identification information corresponding to the input ingredient information locally, The operation is cumbersome and the user experience is not friendly enough.
以下将对能够解决上述问题、提高用户体验的实施例予以详细介绍。Embodiments capable of solving the above problems and improving user experience will be introduced in detail below.
在一些实施例中,冰箱的控制器被配置为:当检测到所有箱门关闭时,识别储藏室中所有的RFID标签,得到每个RFID标签的标签编码;根据RFID标签的标签编码判断该RFID标签是否为新增RFID标签,其中,新增RFID标签是指未与食材信息建立关联的RFID标签;若RFID标签是新增RFID标签,则根据新增RFID标签的标签编码获取该新增RFID标签对应的预设食材信息,若RFID标签不是新增RFID标签,则根据该RFID标签的标签编码获取该RFID标签关联的食材信息;更新食材管理界面,更新后的食材管理界面中,每个新增RFID标签对应的食材控件是根据每个新增RFID标签所分别对应的预设食材信息生成的,其他RFID标签对应的食材控件是根据其他RFID标签所分别关联的食材信息生成的,其中,其他RFID标签是指识别到的除新增RFID标签以外的RFID标签。In some embodiments, the controller of the refrigerator is configured to: when it is detected that all the doors of the refrigerator are closed, identify all the RFID tags in the storage room, and obtain the tag code of each RFID tag; determine the RFID tag according to the tag code of the RFID tag Whether the tag is a newly added RFID tag, where the newly added RFID tag refers to an RFID tag that is not associated with the food information; if the RFID tag is a newly added RFID tag, the newly added RFID tag is obtained according to the tag code of the newly added RFID tag For the corresponding preset ingredient information, if the RFID tag is not a newly added RFID tag, obtain the ingredient information associated with the RFID tag according to the tag code of the RFID tag; update the ingredient management interface. In the updated ingredient management interface, each new The ingredient controls corresponding to the RFID tags are generated based on the preset ingredient information corresponding to each newly added RFID tag, and the ingredient controls corresponding to other RFID tags are generated based on the ingredient information associated with other RFID tags. The tags refer to the identified RFID tags other than the newly added RFID tags.
在一些实施例中,控制器通过与其连接的检测器检测箱门的开关信号,以监测所有箱门关闭的时机。其中,检测到所有箱门关闭是指,检测到箱门的关闭信号且在检测到该关闭信号时所有箱门均已关闭。例如,每检测到箱门的关闭信号时,根据记载的每个箱门的状态判断是否所有箱门均已关闭,若所有箱门均已关闭,则视为检测到所有箱门关闭。In some embodiments, the controller detects the opening and closing signals of the cabinet doors through a detector connected thereto to monitor the timing of closing of all the cabinet doors. Wherein, detecting that all the box doors are closed means that a closing signal of the box doors is detected and all the box doors are closed when the closing signal is detected. For example, every time the closing signal of the box door is detected, it is determined whether all the box doors are closed according to the recorded state of each box door, and if all the box doors are closed, it is deemed that all box doors are closed.
更为具体的,由用于检测箱门开关信号的检测器检测每个箱门的开关信号,并根据检测到的开关信号记录每个箱门的开关状态,发送开关状态信息给控制器,开关状态信息中包括每个箱门最近两次的开关状态。More specifically, the detector for detecting the switch signal of the box door detects the switch signal of each box door, and records the switch state of each box door according to the detected switch signal, and sends the switch status information to the controller. The state information includes the last two opening and closing states of each door.
示例性的,通过记录箱门的在先状态(Oldstate)和在后状态(Newstate)记录箱门的开关状态变化过程,比如,当检测到箱门的开启信号时,记录箱门的在后状态为开启状态(Newstate=开启),在检测到该开启信号前记录的在后状态(关闭状态)自动更新为在先状态,接着,当检测到箱门的关闭信号时,记录箱门的在后状态为关闭状态(Newstate=关闭),在检测到该关闭信号之前的在后状态(开启状态)自动更新为在先状态。Exemplarily, by recording the previous state (Oldstate) and the subsequent state (Newstate) of the box door, the change process of the opening and closing state of the box door is recorded, for example, when the opening signal of the box door is detected, the subsequent state of the box door is recorded. For the open state (Newstate=open), the later state (closed state) recorded before the open signal is detected is automatically updated to the previous state, and then, when the closing signal of the box door is detected, the trailing The state is the off state (Newstate=off), and the subsequent state (on state) before the off signal is detected is automatically updated to the previous state.
示例性的,检测器发送给控制器的开关状态信息中各字段如前述表1所示。Exemplarily, each field in the switch state information sent by the detector to the controller is as shown in Table 1 above.
在一些实施例中,控制器接收检测器发送的开关状态信息,根据接收到的开关状态信息分析每个箱门的最新开关状态和其开关状态的变化过程。当控制器根据接收到的开关状态信息中显示所有箱门的在后状态均为关闭状态,且至少一个箱门的在先状态为开启状态 时,视为检测到所有箱门关闭。In some embodiments, the controller receives the switch state information sent by the detector, and analyzes the latest switch state of each box door and the change process of the switch state according to the received switch state information. When the controller shows that the following states of all the doors are closed according to the received switch state information, and the preceding state of at least one door is open, it is deemed that all doors are closed.
在本申请实施例中,当控制器检测到所有箱门关闭时,指示与其连接的RFID检测器对所有储藏室内的RFID标签进行识别,得到每个RFID标签的标签编码。In the embodiment of the present application, when the controller detects that all box doors are closed, it instructs the RFID detectors connected to it to identify the RFID tags in all the storage rooms, and obtain the tag code of each RFID tag.
在一些实施例中,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. Wherein, the first code segment is used to write the first code, and the first code is used as the identification information of the RFID and has uniqueness; the second code segment is used to write the second code, and the second code is a predetermined code or a non-predetermined code. coding. For RFID tags whose second code is a predetermined code, the corresponding food material information can be customized by the user; for RFID tags whose second code is a non-predetermined code, the corresponding preset food material information is stored in the cloud server in advance, and cannot be set by the user. Custom.
在一些实施例中,预定编码具有唯一性,如00;非预定编码不具有唯一性,其可以有多个,一个非预定编码对应于一种食材信息。In some embodiments, the predetermined code is unique, such as 00; the non-predetermined code is not unique, and there may be more than one, and one non-predetermined code corresponds to one kind of food item information.
示例性的,一种RFID标签的标签编码结构如表3所示。Exemplarily, a tag coding structure of an RFID tag is shown in Table 3.
表3table 3
Figure PCTCN2021101716-appb-000002
Figure PCTCN2021101716-appb-000002
需要说明的是,根据不同的需求,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 identification of the RFID tag may also be included in the first code segment, which will not be repeated here.
示例性的,第二编码(非预定编码)与食材信息的对应关系可如表4所示。Exemplarily, the corresponding relationship between the second code (non-predetermined code) and the food material information may be as shown in Table 4.
表4Table 4
RFID第二编码RFID second code 食材名称food name 食材类别food category
0101 萝卜radish 蔬菜类Vegetables
0202 胡萝卜carrot 蔬菜类Vegetables
0303 莲藕lotus root 蔬菜类Vegetables
……... ……... ……...
在一些实施例中,RFID标签的标签编码包括的至少两个码段符合预设组成规则,控制器在获取到标签编码后,根据该预设组成规则截取第一码段和/或第二码段等以获取到第一编码和/或第二编码,从而节省了解析长编码信息的过程,提高处理效率。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.
例如,控制器获取到RFID标签的标签编码“01123456789012345678901234”,则根据预设组成规则,截取到的第一编码为“123456789012345678901234”,截取到的第二编码为“01”。For example, if the controller obtains the tag code of the RFID tag "01123456789012345678901234", then according to the preset composition rule, the intercepted first code is "123456789012345678901234", and the intercepted second code is "01".
基于此,冰箱的控制器被进一步配置为:从识别到的RFID标签的标签编码中获取第一码段中写入的第一编码;查找本地信息集合中是否存在RFID标签的第一编码,该本地信息集合包括已与食材信息建立关联的RFID标签的第一编码;若本地信息集合中不存在该RFID标签的第一编码,则判定该RFID标签是新增RFID标签;若本地信息集合中存在该RFID标签的第一编码,则判定该RFID标签不是新增RFID标签。Based on this, the controller of the refrigerator is further configured to: obtain the first code written in the first code segment from the identified tag code of the RFID tag; find out whether the first code of the RFID tag exists in the local information set, the The local information set includes the first code of the RFID tag that has been associated with the food information; if the first code of the RFID tag does not exist in the local information set, it is determined that the RFID tag is a newly added RFID tag; The first code of the RFID tag determines that the RFID tag is not a newly added RFID tag.
对于已与食材信息建立关联的RFID标签,其唯一性标识信息(即第一编码)和其关联的食材信息均对应保存在本地信息集合中。需要说明的是,本地信息集合中还可以保存其 他信息,如RFID标签的完整标签编码或者第二编码、状态标记、属性标识以及属性值等。For an RFID tag that has been associated with food material information, its unique identification information (ie, the first code) and its associated food material information are correspondingly stored in the local information set. It should be noted that other information may also be stored in the local information set, such as the complete tag code or the second code of the RFID tag, a status mark, an attribute identifier, and an attribute value.
在一些实施例中,控制器被进一步配置为:若识别到的RFID标签是新增RFID标签,即未与食材信息建立关联的RFID标签,则该RFID标签的中获取第二码段中写入的第二编码;判断该RFID标签的第二编码是否为预定编码;若该RFID标签的第二编码是预定编码,则获取预置的默认填充信息,以作为该RFID标签的预设食材信息;若该RFID标签的第二编码不是预定编码,则根据该RFID标签的第二编码,从第二编码与食材信息的预设对应关系中获取该RFID标签对应的预设食材信息。In some embodiments, the controller is further configured to: if the identified RFID tag is a newly added RFID tag, that is, an RFID tag not associated with food material information, write in the second code segment obtained in the RFID tag the second code of the RFID tag; determine whether the second code of the RFID tag is a predetermined code; if the second code of the RFID tag is a predetermined code, obtain the preset default filling information as the preset food material information of the RFID tag; If the second code of the RFID tag is not the predetermined code, according to the second code of the RFID tag, the preset food material information corresponding to the RFID tag is obtained from the preset correspondence between the second code and the food material information.
在一些实施例中,在获取到新增RFID标签对应的预设食材信息之后,将新增RFID标签的标签编码(完整标签编码或者第一编码和第二编码)和对应的预设食材信息对应保存在本地信息集合中。In some embodiments, after acquiring the preset ingredient information corresponding to the newly added RFID tag, the tag code (complete tag code or the first code and the second code) of the newly added RFID tag is corresponding to the corresponding preset ingredient information Saved in the local information collection.
在上述实施例中,默认食材信息可以是由指定字符串构成的食材信息,如“食材名称:未定义”、“食材类别:未定义”、“保质期:未定义/60天”等。默认食材信息用于在该RFID标签未与食材信息建立关联前,实现在食材管理界面中生成该RFID标签对应的临时的食材控件,以指示用户通过操作该临时的食材控件编辑该RFID标签的食材信息;默认食材信息还用于在本地信息集合中占据数据位置,即占据与该RFID标签关联的食材信息所属的位置,以待在用户输入该RFID标签关联的食材信息后,被该RFID标签关联的食材信息所替换。In the above embodiment, the default ingredient information may be ingredient information composed of specified character strings, such as "Ingredient Name: Undefined", "Ingredient Category: Undefined", "Shelf Life: Undefined/60 Days" and the like. The default ingredient information is used to generate a temporary ingredient control corresponding to the RFID tag in the ingredient management interface before the RFID tag is not associated with the ingredient information, so as to instruct the user to edit the ingredients of the RFID tag by operating the temporary ingredient control The default ingredient information is also used to occupy the data position in the local information set, that is, occupy the position to which the ingredient information associated with the RFID tag belongs, so that after the user enters the ingredient information associated with the RFID tag, it is associated with the RFID tag. replaced with the ingredient information.
图18为本申请根据示例性实施例示出的另一种食材管理界面,如图18所示,与图17所示食材管理界面相比,该界面中新增多个食材控件,即分别与多个新增食材标签对应的食材控件,具体包括根据默认填充信息生成的食材控件501、502和503,和,根据预设食材信息生成的食材控件504和505。如图18所示,根据默认填充信息生成的食材控件与其他食材控件相同的是,其也包括食材图标、食材名称等,与其他食材控件不同的是,其通过以“未定义”作为食材名称、以包含“未定”字样的图片文件作为食材图标,显性示出了其对应的RFID标签仍未与食材信息建立关联,即为未定义标签,或者称为未编辑标签,从而有效提醒用户及时对这些RFID标签进行编辑。FIG. 18 is another ingredient management interface shown in the present application according to an exemplary embodiment. As shown in FIG. 18 , compared with the ingredient management interface shown in FIG. 17 , multiple ingredient controls are newly added to the interface, that is, multiple ingredient controls are added to the interface. The ingredient controls corresponding to the newly added ingredient labels specifically include ingredient controls 501, 502 and 503 generated according to default filling information, and ingredient controls 504 and 505 generated according to preset ingredient information. As shown in Figure 18, the ingredient control generated according to the default filling information is the same as other ingredient controls in that it also includes ingredient icons, ingredient names, etc., and is different from other ingredient controls in that it uses "undefined" as the ingredient name , Take the picture file containing the word "undecided" as the ingredient icon, which clearly shows that the corresponding RFID tag has not yet been associated with the ingredient information, that is, the undefined tag, or the unedited tag, thus effectively reminding the user in time Edit these RFID tags.
由上述实施例可知,通过设计标签编码的组成,使得每个RFID标签在被用户投入使用前便已经与指定的食材信息对应起来;在此基础上,在用户侧,每当检测到所有箱门关闭时,即对储藏室中的RFID标签进行识别,并判断是否出现未与食材信息建立关联的新增RFID标签,实现对多个新增RFID标签的批量识别,无需逐一识别每个新增RFID标签;对于新增RFID标签,根据其标签编码获取其对应的预设食材信息,以预设食材信息作为新增RFID标签关联的食材信息进行保存,可见通过后台处理即实现了各个新增RFID标签与相应食材信息的关联过程,无需用户逐一输入要与新增RFID标签关联的食材信息,使得用户体验更友好;根据预设食材信息对食材管理界面进行更新,使用户可以及时感知到冰箱中新增的RFID标签和食材,进一步提升用户体验。It can be seen from the above embodiment that, by designing the composition of the tag code, each RFID tag is already corresponding to the specified food material information before being put into use by the user; on this basis, on the user side, whenever all box doors are detected When it is closed, it will identify the RFID tags in the storage room, and determine whether there are new RFID tags that are not associated with the food information, so as to realize the batch identification of multiple new RFID tags, without the need to identify each new RFID one by one. Labels; for newly added RFID tags, the corresponding preset ingredient information is obtained according to its tag code, and the preset ingredient information is used as the ingredient information associated with the newly added RFID tags to be saved. It can be seen that each newly added RFID tag is realized through background processing. The process of associating with the corresponding ingredient information does not require the user to input the ingredient information to be associated with the newly added RFID tag one by one, making the user experience more friendly; the ingredient management interface is updated according to the preset ingredient information, so that the user can sense the new items in the refrigerator in time. Added RFID tags and ingredients to further enhance the user experience.
在实际应用中,为用户所使用的RFID标签是可编辑标签,即其关联的食材信息是否可由用户自定义,如第二编码为预定编码的RFID标签。如前所述,若新增RFID标签的第二编码为预定编码,则获取默认填充信息作为其预设食材信息,用于生成食材管理界面中临时的食材控件以提示用户及时对此类新增RFID标签进行编辑,以及占据本地信息集合中的数据位置。为方便用户快速进入到编辑界面,用户可以操作此类新增RFID标签对应的食材控件以触发跳转到对相应新增RFID标签进行编辑的界面。In practical applications, the RFID tag used by the user is an editable tag, that is, whether the associated ingredient information can be customized by the user, such as an RFID tag whose second code is a predetermined code. As mentioned above, if the second code of the newly added RFID tag is a predetermined code, the default filling information is obtained as its preset ingredient information, which is used to generate a temporary ingredient control in the ingredient management interface to prompt the user to add such a new type in time. The RFID tag is edited and occupies the data position in the local information collection. In order to facilitate the user to quickly enter the editing interface, the user can operate the food control corresponding to the newly added RFID tag to trigger a jump to the interface for editing the corresponding newly added RFID tag.
具体的,冰箱的控制器被进一步配置为:接收对目标食材控件的用户操作,如点击操 作;响应于用户操作,判断被操作的目标食材控件是否为根据默认填充信息生成的食材控件;若该目标食材控件是根据默认填充信息生成的食材控件,则显示食材编辑界面,食材编辑界面被配置为可接收用户输入的目标食材信息;若该目标食材控件不是根据默认填充信息生成的食材控件,则显示食材详情界面,该食材详情界面中展示有目标食材控件对应的食材信息。Specifically, the controller of the refrigerator is further configured to: receive a user operation on the target ingredient control, such as a click operation; in response to the user operation, determine whether the operated target ingredient control is an ingredient control generated according to the default filling information; If the target ingredient control is an ingredient control generated according to the default filling information, the ingredient editing interface is displayed, and the ingredient editing interface is configured to receive the target ingredient information input by the user; if the target ingredient control is not an ingredient control generated according to the default filling information, then The ingredient details interface is displayed, and the ingredient information corresponding to the target ingredient controls is displayed on the ingredient details interface.
作为一种实现方式,控制器可以根据目标食材控件对应的RFID标签的第二编码是否为预定编码判定目标食材控件是否是根据默认填充信息生成的食材控件。若目标食材控件对应的RFID标签的第二编码是预定编码,则判定目标食材控件是根据默认填充信息生成的食材控件;若目标食材控件对应的RFID标签的第二编码不是预定编码,则判定目标食材控件不是根据默认填充信息生成的食材控件。As an implementation manner, the controller may determine whether the target ingredient control is an ingredient control generated according to default filling information according to whether the second code of the RFID tag corresponding to the target ingredient control is a predetermined code. If the second code of the RFID tag corresponding to the target ingredient control is the predetermined code, it is determined that the target ingredient control is an ingredient control generated according to the default filling information; if the second code of the RFID tag corresponding to the target ingredient control is not the predetermined code, it is determined that the target Ingredient controls are not generated based on default fill information.
本申请根据示例性实施例示出的食材编辑界面可如图19所示的界面。如图19所示,如图19所示,该编辑界面显示有RFID标签的标识信息“20200005”、用于输入食材名称的输入位置、用于输入食材类别的输入位置以及“取消”控件和“确定”控件。The ingredient editing interface shown in the present application according to the exemplary embodiment may be the interface shown in FIG. 19 . As shown in Figure 19, as shown in Figure 19, the editing interface displays the identification information "20200005" of the RFID tag, the input position for inputting the name of the ingredient, the input position for inputting the category of the ingredient, and the "Cancel" control and "" OK" control.
在一些实施例中,冰箱的控制器被进一步配置为:接收用户在食材编辑界面输入的目标食材信息;使用目标食材信息替换本地信息集合中的与目标食材控件对应的RFID的标签编码对应的默认填充信息。In some embodiments, the controller of the refrigerator is further configured to: receive the target ingredient information input by the user in the ingredient editing interface; use the target ingredient information to replace the default corresponding to the tag code of the RFID corresponding to the target ingredient control in the local information set Fill in the information.
由以上实施例可知,每当检测到所有箱门关闭时,即对储藏室中的RFID标签进行识别,并判断是否出现未与食材信息建立关联的新增RFID标签,可以一并识别到不可由用自定义的新增RFID标签和可由用户自定义的新增RFID标签,对于可由用户自定义的新增RFID标签,以默认填充信息作为其对应的预设食材信息,用以生成其对应的食材控件,使用户可以及时感知到冰箱中未定义的新增RFID标签,并且,用户通过操作相应的食材控件即可快速进入到相应的编辑界面,操作简单且无需对RFID标签进行单独识别,使得用户体验更友好。It can be seen from the above embodiment that whenever it is detected that all the doors are closed, the RFID tags in the storage room are identified, and it is judged whether there is a new RFID tag that is not associated with the food information. With custom new RFID tags and user-defined new RFID tags, for user-defined new RFID tags, the default filling information is used as its corresponding preset ingredient information to generate its corresponding ingredients Controls, so that users can sense the new RFID tags that are not defined in the refrigerator in time, and users can quickly enter the corresponding editing interface by operating the corresponding ingredient controls. The operation is simple and there is no need to identify the RFID tags separately. A friendlier experience.
根据上述实施例,本申请实施例还提供一种食材管理方法,该方法应用于上述实施例提供的冰箱,该方法的执行主体包括但不限于冰箱的控制器。图20为本申请根据示例性实施例示出的食材管理界面的显示方法流程图,如图20所示,该方法可以包括:According to the above embodiments, the embodiments of the present application further provide a method for managing ingredients. The method is applied to the refrigerator provided by the above embodiments, and the execution body of the method includes but is not limited to a controller of the refrigerator. FIG. 20 is a flowchart of a method for displaying an ingredient management interface according to an exemplary embodiment of the present application. As shown in FIG. 20 , the method may include:
步骤701,当检测到所有箱门关闭时,识别冰箱储藏室中的RFID标签,得到每个所述RFID标签的标签编码,所述RFID标签用于标识储藏室中的食材。 Step 701, when it is detected that all the doors are closed, identify the RFID tags in the storage room of the refrigerator, and obtain a tag code of each of the RFID tags, where the RFID tags are used to identify the ingredients in the storage room.
步骤702,根据所述RFID标签的标签编码判断所述RFID标签是否为新增RFID标签,所述新增RFID标签为未关联食材信息的RFID标签;若是,则执行步骤703,若否,则执行步骤704。 Step 702, according to the label code of the RFID tag, determine whether the RFID tag is a newly added RFID tag, and the newly added RFID tag is an RFID tag not associated with food information; if so, go to step 703, if not, execute Step 704.
在一些实施例中,从标签编码中获取在第一码段中写入的第一编码;查找本地信息集合中是否存在该RFID标签的第一编码,该本地信息集合包括已关联食材信息的RFID标签的第一编码;若本地信息集合中不存在该RFID标签的第一编码,则判定该RFID标签是新增RFID标签;若本地信息集合中存在该RFID标签的第一编码,则判定该RFID标签不是新增RFID标签。In some embodiments, the first code written in the first code segment is obtained from the tag code; it is searched whether the first code of the RFID tag exists in the local information set, where the local information set includes the RFID of the associated food item information The first code of the tag; if the first code of the RFID tag does not exist in the local information set, it is determined that the RFID tag is a newly added RFID tag; if the first code of the RFID tag exists in the local information set, it is determined that the RFID tag is The tags are not new RFID tags.
步骤703,若所述RFID标签是所述新增RFID标签,则根据所述新增RFID标签的标签编码获取所述新增RFID标签对应的预设食材信息。Step 703: If the RFID tag is the newly added RFID tag, obtain preset food material information corresponding to the newly added RFID tag according to the tag code of the newly added RFID tag.
在一些实施例中,从新增RFID标签的标签编码中获取在第二码段中写入的第二编码;判断新增RFID标签的第二编码是否为预定编码;若新增RFID标签的第二编码是预定编码, 则获取预置的默认填充信息,以作为该新增RFID标签的预设食材信息;若新增RFID标签的第二编码不是预定编码,则根据新增RFID标签的第二编码,从第二编码与食材信息的预设对应关系中获取新增RFID标签对应的预设食材信息。In some embodiments, the second code written in the second code segment is obtained from the tag code of the newly added RFID tag; it is determined whether the second code of the newly added RFID tag is a predetermined code; If the second code is a predetermined code, the preset default filling information is obtained as the preset food material information of the newly added RFID tag; if the second code of the newly added RFID tag is not the predetermined code, then the second code of the newly added RFID encoding, and obtains preset ingredient information corresponding to the newly added RFID tag from the preset corresponding relationship between the second code and the ingredient information.
在一些实施例中,根据新增RFID标签的标签编码获取新增RFID标签对应的预设食材信息之后,将新增RFID标签的标签编码和其对应的预设食材信息对应保存在本地信息集合中。In some embodiments, after obtaining the preset ingredient information corresponding to the newly added RFID tag according to the tag code of the newly added RFID tag, the tag code of the newly added RFID tag and its corresponding preset ingredient information are stored in the local information set correspondingly .
步骤704,若所述RFID标签不是所述新增RFID标签,则根据所述RFID标签的标签编码获取所述RFID标签关联的食材信息。 Step 704, if the RFID tag is not the newly added RFID tag, obtain the food material information associated with the RFID tag according to the tag code of the RFID tag.
步骤705,更新包括根据所述RFID标签关联的食材信息生成的食材控件的食材管理界面,更新后的所述食材管理界面中,所述新增RFID标签对应的食材控件是根据所述新增RFID标签对应的预设食材信息生成的,其他RFID标签对应的食材控件是根据所述其他RFID标签关联的食材信息生成的,其他RFID标签是指识别到的除新增RFID标签以外的RFID标签。Step 705: Update the ingredient management interface including ingredient controls generated according to the ingredient information associated with the RFID tag. In the updated ingredient management interface, the ingredient control corresponding to the newly added RFID tag is based on the newly added RFID tag. The preset ingredient information corresponding to the tag is generated, the ingredient controls corresponding to other RFID tags are generated according to the ingredient information associated with the other RFID tags, and the other RFID tags refer to the identified RFID tags other than the newly added RFID tags.
在一些实施例中,本申请提供的食材管理方法还包括:接收对目标食材控件的用户操作;响应于用户操作,判断目标食材控件是否为根据默认填充信息生成的食材控件;若目标食材控件是根据默认填充信息生成的食材控件,则显示食材编辑界面,食材编辑界面被配置为可接收用户输入的目标食材信息;若目标食材控件不是根据默认填充信息生成的食材控件,则显示食材详情界面,食材详情界面中展示有目标食材控件对应的食材信息。In some embodiments, the ingredient management method provided by the present application further includes: receiving a user operation on a target ingredient control; in response to the user operation, judging whether the target ingredient control is an ingredient control generated according to default filling information; if the target ingredient control is For the ingredient control generated according to the default filling information, the ingredient editing interface is displayed, and the ingredient editing interface is configured to receive the target ingredient information input by the user; if the target ingredient control is not an ingredient control generated according to the default filling information, the ingredient details interface is displayed. The ingredient details interface displays the ingredient information corresponding to the target ingredient control.
具体实现时,获取目标食材控件对应的RFID标签的第二编码;判断目标食材控件对应的RFID标签的第二编码是否为预定编码;若目标食材控件对应的RFID标签的第二编码是预定编码,则判定目标食材控件是根据默认填充信息生成的食材控件;若目标食材控件对应的RFID标签的第二编码不是预定编码,则判定目标食材控件不是根据默认填充信息生成的食材控件。In the specific implementation, the second code of the RFID tag corresponding to the target ingredient control is obtained; it is determined whether the second code of the RFID tag corresponding to the target ingredient control is a predetermined code; if the second code of the RFID tag corresponding to the target ingredient control is a predetermined code, Then it is determined that the target ingredient control is an ingredient control generated according to the default filling information; if the second code of the RFID tag corresponding to the target ingredient control is not a predetermined code, it is determined that the target ingredient control is not an ingredient control generated according to the default filling information.
在一些实施例中,为了实现对食材的智能管理,使用RFID标签对储藏室中的食材进行标识,具体的,预先获取RFID标签的标识信息,如RFID标签中写入的标签编码,建立RFID标签的标识信息与指定的食材信息的对应关系,实现RFID标签与食材的关联;在食材上贴设RFID标签后将食材放入到冰箱中,冰箱通过检测RFID标签的信号获取RFID标签的标识信息,在获取到标识信息的情况下,通过预先建立的RFID标签的标识信息与食材信息的唯一对应关系,即可确定RFID标签对应的食材信息,并通过将食材信息显示在用户界面中,使得用户通过用户界面获知冰箱中的食材,并可通过操作用户界面对食材执行管理操作。In some embodiments, in order to realize the intelligent management of the ingredients, RFID tags are used to identify the ingredients in the storage room. Specifically, the identification information of the RFID tags, such as the tag code written in the RFID tags, is pre-obtained, and the RFID tags are established. The corresponding relationship between the identification information of the RFID tag and the specified food material information realizes the association between the RFID tag and the food material; after sticking the RFID tag on the food material, put the food material into the refrigerator, and the refrigerator obtains the identification information of the RFID tag by detecting the signal of the RFID tag. In the case of obtaining the identification information, through the pre-established unique correspondence between the identification information of the RFID tag and the ingredient information, the ingredient information corresponding to the RFID tag can be determined, and by displaying the ingredient information on the user interface, the user can pass The user interface knows the ingredients in the refrigerator, and can perform management operations on the ingredients by operating the user interface.
在一些实施例中,在每个储藏室内设置RFID检测模块,RFID检测模块用于在相应的储藏室发射无线信号并接收该储藏室内的RFID标签的信号,以获取RFID标签的标识信息。In some embodiments, an RFID detection module is provided in each storage room, and the RFID detection module is used for transmitting wireless signals in the corresponding storage room and receiving signals of RFID tags in the storage room, so as to obtain identification information of the RFID tags.
在一些实施例中,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处理模块,RFID处理模块分别与每个RFID 检测模块连接,用于控制RFID检测模块发射无线信号以及接收RFID检测模块反馈的RFID标签的信号。In some embodiments, the refrigerator may further include an RFID processing module, which is respectively connected with each RFID detection module, and is used for controlling the RFID detection module to transmit wireless signals and to receive the RFID tag signal fed back by the RFID detection module.
在一些实施例中,控制器与RFID检测模块连接,控制RFID检测模块识别储藏室内RFID标签的信号,获取每个RFID标签的标识信息和对应的食材信息,食材信息包括用于指示食材种类的标识,通过将这些食材信息显示在显示屏上,这样,用户便获知冷冻室内的食材有哪些。In some embodiments, the controller is connected to the RFID detection module, controls the RFID detection module to identify the signal of the RFID tag in the storage room, and obtains the identification information of each RFID tag and the corresponding food material information, and the food material information includes the identification used to indicate the type of the food material , by displaying the information of these ingredients on the display screen, in this way, the user can know which ingredients are in the freezing chamber.
在一些实施例中,食材信息还包括食材的保质期。根据食材的保质期和记录的用户放入食材的时间,可以监测食材的新鲜度。通过将每个食材的新鲜度标识在食材管理界面中,以提示用户食材是否过期、距离过期的时间以及过期时间等。In some embodiments, the ingredient information further includes a shelf life of the ingredient. The freshness of the ingredients can be monitored according to the shelf life of the ingredients and the recorded time the user puts the ingredients in. By marking the freshness of each ingredient in the ingredient management interface, the user is prompted whether the ingredient has expired, the time until expiration, and the expiration time.
相关技术中,用户在将食材放入到储藏室后,需要通过操作冰箱显示屏显示的用户界面,手动设置每个食材的放入时间,操作步骤繁琐,用户体验差。In the related art, after the user puts the ingredients into the storage room, he needs to manually set the time for each ingredient by operating the user interface displayed on the display screen of the refrigerator. The operation steps are cumbersome and the user experience is poor.
为提高冰箱对食材的智能化管理能力、提高用户体验,本申请提供一种冰箱,其控制器,对箱门的开关信号进行检测,当检测到所有箱门被关闭时,指示与其连接的RFID检测模块对所有储藏室内的RFID标签进行识别,以获取每个RFID标签的标识信息,得到第一信息集合,通过对比第一信息集合和第二信息集合,确定放入储藏室的目标标签,并根据当前时间确定目标标签对应的目标放入时间,并使用目标放入时间对目标标签对应的食材的放入时间进行更新,进而,无需用户手动设置每个食材的放入时间,能够提供用户体验且能保证获取的时间的准确性。In order to improve the intelligent management capability of the refrigerator for ingredients and improve the user experience, the present application provides a refrigerator, the controller of which detects the switch signal of the door, and when it is detected that all the doors are closed, it indicates the RFID connected to it. The detection module identifies the RFID tags in all storage rooms to obtain the identification information of each RFID tag, and obtains the first information set, and determines the target label put into the storage room by comparing the first information set and the second information set, and Determine the target insertion time corresponding to the target label according to the current time, and use the target insertion time to update the insertion time of the ingredients corresponding to the target label. Furthermore, the user does not need to manually set the insertion time of each ingredient, which can provide user experience And can guarantee the accuracy of the obtained time.
其中,第二信息集合为根据上一次检测到所有箱门被关闭时获取的标识信息生成的信息集合。Wherein, the second information set is an information set generated according to the identification information obtained when it was detected that all box doors were closed last time.
以上一次检测到所有箱门均关闭时获取的、包含所有RFID标识信息的第零信息集合为例,第二信息集合根据第零信息集合生成得到。具体的,将上一次移出冰箱的食材对应的RFID标签的标识信息和移出信息添加到第零信息集合中,得到第二信息集合,该移出信息包括被移出的RFID标签被标记的移出状态和移出时间。可见,第二信息集合与第零信息集合的区别在于,第二信息集合中包括曾经放入到冰箱,且,已经移出冰箱的RFID标签的标识信息和移出信息。Take the zeroth information set including all RFID identification information obtained when it is detected that all box doors are closed last time as an example, and the second information set is generated according to the zeroth information set. Specifically, the identification information and removal information of the RFID tags corresponding to the ingredients removed from the refrigerator last time are added to the zeroth information set to obtain the second information set, where the removal information includes the marked removal status and removal status of the removed RFID tags. time. It can be seen that the difference between the second information set and the zeroth information set is that the second information set includes identification information and removal information of the RFID tags that have been put into the refrigerator and have been removed from the refrigerator.
以本次检测到所有箱门均关闭时获取的第一信息集合为例,根据第一信息集合可以生成第三信息集合。具体的,通过对比第一信息集合与第二信息集合,确定本次移出储藏室的食材对应的RFID标签,即标识信息仅在第二信息集合中存在的RFID标签,将本次移出所述储藏室的RFID标签的标识信息和移出信息添加到第一信息集合中,生成第三信息集合,其中,本次移出所述储藏室的RFID标签的移出信息包括该RFID标签被标记的移出状态和根据当前时间确定的移出时间。Taking the first information set obtained when it is detected that all box doors are closed this time as an example, the third information set can be generated according to the first information set. Specifically, by comparing the first information set and the second information set, the RFID tags corresponding to the ingredients removed from the storage room this time, that is, the RFID tags whose identification information only exists in the second information set, are determined. The identification information and removal information of the RFID tag in the storage room are added to the first information set, and a third information set is generated, wherein the removal information of the RFID tag removed from the storage room this time includes the marked removal state of the RFID tag and according to The move-out time determined by the current time.
在一些实施例中,冰箱还包括检测器,用于分别检测每个所述箱门的开关信号,根据检测到的开关信号记录所述箱门的开关状态,发送开关状态信息给控制器。In some embodiments, the refrigerator further includes a detector for detecting the switch signal of each box door respectively, recording the switch state of the box door according to the detected switch signal, and sending the switch status information to the controller.
在一些实施例中,当检测器检测到任意一个箱门的开启信号或者关闭信号时,发送最新的开关状态信息给控制器。控制器接收检测器发送的开关状态信息,根据接收到的开关状态信息分析用户对箱门的操作行为。当接收到的开关状态信息显示所有箱门的当前开关状态均为关闭状态时,确定所有箱门均被关闭。In some embodiments, when the detector detects an opening signal or a closing signal of any box door, the latest switch state information is sent to the controller. The controller receives the switch state information sent by the detector, and analyzes the user's operation behavior of the box door according to the received switch state information. When the received switch state information shows that the current switch states of all the doors are closed, it is determined that all the doors are closed.
在本申请实施例中,检测器具体可以通过检测磁敏开关、机械开关检测箱门的开关信号。In the embodiment of the present application, the detector can specifically detect the switch signal of the box door by detecting the magnetic sensitive switch and the mechanical switch.
在一些实施例中,上述目标标签包括第一目标标签,该第一目标标签是指标识信息仅在第一信息集合中存在的RFID标签。可以理解,用户在本次操作中首次将第一目标标签标识的食材放入到储藏室中。对于第一目标标签,确定其对应的目标放入时间为当前时间。In some embodiments, the above-mentioned target tag includes a first target tag, and the first target tag refers to an RFID tag whose identification information only exists in the first information set. It can be understood that, in this operation, the user puts the ingredients identified by the first target label into the storage compartment for the first time. For the first target tag, the corresponding target insertion time is determined as the current time.
在一些场景中,用户可能会将某RFID标签所标识的食材取出后不久再次放入到冰箱中,此时,若根据用户再次将该食材放入到冰箱时的时间对该食材的放入时间进行更新,则会记录错误的放入时间。In some scenarios, the user may take out an ingredient identified by an RFID tag and put it back into the refrigerator soon after. Update, the wrong put time will be recorded.
为避免在本次操作所放入的食材为用户取出不久后再次放入的同一批食材时,导致记录到错误的放入时间,在另一些实施例中,控制器通过对比第一信息集合与第二信息集合确定是否存在第二目标标签,该第二目标标签是指标识信息在第一信息集合和第二信息集合中同时存在且在第二信息集合中被标记为移出状态的RFID标签。需要说明的是,在第二信息集合中还包括第二目标标签对应的移出时间。In order to avoid recording an erroneous insertion time when the ingredients put in this operation are the same batch of ingredients that the user has taken out and put in again shortly after, in other embodiments, the controller compares the first information set with the The second information set determines whether there is a second target tag, where the second target tag refers to an RFID tag whose identification information exists in both the first information set and the second information set and is marked as a removed state in the second information set. It should be noted that the second information set also includes the move-out time corresponding to the second target tag.
在根据当前时间确定第二目标标签对应的目标放入时间时,首先判断当前时间与第二目标标签对应的移出时间之间的时间差大于预设阈值,若当前时间与第二目标标签对应的移出时间之间的时间差大于预设阈值,则确定第二目标标签对应的目标放入时间为当前时间;若当前时间与第二目标标签对应的移出时间之间的时间差不大于预设阈值,确定第二目标标签对应的目标放入时间为上一次的放入时间。示例性的,预设阈值可以为2个小时。When determining the target insertion time corresponding to the second target tag according to the current time, first determine that the time difference between the current time and the removal time corresponding to the second target tag is greater than the preset threshold, if the current time and the removal time corresponding to the second target tag The time difference between the times is greater than the preset threshold, then it is determined that the target insertion time corresponding to the second target tag is the current time; if the time difference between the current time and the removal time corresponding to the second target tag is not greater than the preset threshold, it is determined that the first The target insertion time corresponding to the second target label is the last insertion time. Exemplarily, the preset threshold may be 2 hours.
由以上示例可知,如果用户在将某食材取出后的预设时间内将该食材重新放入到冰箱中,将不对该食材对应的放入时间进行更新,因此可以避免记录到错误的放入时间,提高冰箱自动获取食材放入时间的准确性。It can be seen from the above example that if the user re-inserts an ingredient into the refrigerator within the preset time after taking it out, the corresponding insertion time of the ingredient will not be updated, so it is possible to avoid recording the wrong insertion time. , to improve the accuracy of the refrigerator's automatic acquisition of the time when the ingredients are put in.
在一些实施例中,预先建立RFID标签与食材的对应关系,具体为RFID标签的标识信息与食材信息的对应关系,控制器通过RFID检测模块识别RFID标签的标识信息,再根据RFID标签的标识信息从前述对应关系中查找RFID标签对应的食材信息。In some embodiments, the corresponding relationship between the RFID tag and the food is pre-established, specifically the corresponding relationship between the identification information of the RFID tag and the food information, the controller identifies the identification information of the RFID tag through the RFID detection module, and then according to the identification information of the RFID tag Find the food information corresponding to the RFID tag from the aforementioned correspondence.
在一些实施例中,用户可以对RFID标签与食材的对应关系进行更新操作,如添加新的对应信息,或者修改某RFID标签对应的食材信息。其中,修改某RFID标签对应的食材信息,可以使得同一RFID标签先后用于标识不同的食材,可以提高RFID标签的使用灵活度。In some embodiments, the user can perform an update operation on the corresponding relationship between the RFID tag and the food item, such as adding new corresponding information, or modifying the food item information corresponding to a certain RFID tag. Among them, modifying the food material information corresponding to a certain RFID tag can make the same RFID tag used to identify different food materials successively, which can improve the flexibility of using the RFID tag.
在一些实施例中,RFID标签与食材的对应关系还称为关联关系。RFID标签对应的食材信息即为RFID标签关联的食材信息。In some embodiments, the corresponding relationship between the RFID tag and the food item is also referred to as an association relationship. The ingredient information corresponding to the RFID tag is the ingredient information associated with the RFID tag.
在一些场景中,用户在将某RFID标签移出冰箱后,对其关联的食材信息进行修改。当用户将经修改后的RFID标签再次放入到冰箱时,由于该RFID标签前后对应的食材信息不同,若不对该RFID标签对应的放入时间进行更新,则会记录到错误的放入时间。In some scenarios, after a user removes an RFID tag out of the refrigerator, the associated ingredient information is modified. When the user puts the modified RFID tag into the refrigerator again, since the corresponding food information before and after the RFID tag is different, if the insertion time corresponding to the RFID tag is not updated, the wrong insertion time will be recorded.
对于上述场景,为避免由于RFID标签所对应的食材信息发生变化而记录到错误的放入时间,首先,在修改RFID标签对应的食材信息,为RFID标签的标识信息添加再次关联状态的标记,以表征该RFID标签当前对应的食材信息与过去对应的食材信息是不同的。其次,控制器在获取第一信息集合时,获取储藏室内每个RFID标签的标识信息,其中,在所述标识信息当前对应的食材信息与过去对应的食材信息不同时,所述标识信息携带有再次关联状态的标记,该再次关联状态即用于表征RFID标签当前关联的食材信息与上一次关联的食材信息不同,得到第一信息集合。进而,控制器可以通过判断各RFID标签的标识信息是否被标记了再次关联状态,来判定各RFID标签前后对应的食材信息是否不同。然后,在对比第一信息集合与第二信息集合以确定目标标签时,遍历判断第一信息集合中 各标识信息是否被标记为再次关联状态,确定标识信息在所述第一信息集合和第二信息集合中同时存在且在第一信息集合中被标记为再次关联状态的RFID标签为第三目标标签。对于第三目标标签,确定当前时间为第三目标时间对应的目标放入时间。For the above scenario, in order to avoid recording the wrong insertion time due to the change of the food information corresponding to the RFID tag, first, after modifying the food information corresponding to the RFID tag, add a re-association status mark to the identification information of the RFID tag to It indicates that the food information currently corresponding to the RFID tag is different from the food information corresponding to the past. Secondly, when acquiring the first information set, the controller acquires the identification information of each RFID tag in the storage room, wherein, when the food information currently corresponding to the identification information is different from the food information corresponding to the past, the identification information carries The flag of the re-association state, that is, the re-association state is used to indicate that the information of the food material currently associated with the RFID tag is different from the information of the food material that was associated last time, and the first information set is obtained. Furthermore, the controller can determine whether the corresponding food material information before and after each RFID tag is different by judging whether the identification information of each RFID tag is marked with a re-association state. Then, when comparing the first information set and the second information set to determine the target label, traverse and determine whether each identification information in the first information set is marked as a re-associated state, and determine whether the identification information is in the first information set and the second information set. The RFID tags that exist simultaneously in the information set and are marked as re-associated in the first information set are the third target tags. For the third target tag, it is determined that the current time is the target insertion time corresponding to the third target time.
由以上示例可知,当用户将关联了新的食材信息的RFID标签再次放入到冰箱时,将根据当前时间对该RFID标签所标识的食材的放入时间进行更新,可以避免记录到错误的放入时间,提高冰箱自动获取食材放入时间的准确性。It can be seen from the above example that when the user puts the RFID tag associated with the new ingredient information into the refrigerator again, the insertion time of the ingredient identified by the RFID tag will be updated according to the current time, which can avoid recording the wrong storage. It can improve the accuracy of the refrigerator's automatic acquisition of the time when the ingredients are put in.
在一些实施例中,根据目标标签和对应的目标放入时间显示/更新食材管理界面,从而使得食材管理界面中通过所述目标标签标识的食材的放入时间为所述目标标签对应的目标放入时间。In some embodiments, the ingredient management interface is displayed/updated according to the target tag and the corresponding target insertion time, so that the insertion time of the ingredient identified by the target tag in the ingredient management interface is the target insertion time corresponding to the target tag enter time.
在一些实施例中,在食材管理界面中,冰箱中的食材以食材图标、图文等形式尽数展示。此外,还可以在用户界面中绘制功能控件,如RFID标签识别控件、食材添加控件等。In some embodiments, in the ingredient management interface, all ingredients in the refrigerator are displayed in the form of ingredient icons, pictures and texts. In addition, functional controls can also be drawn in the user interface, such as RFID tag identification controls, ingredient addition controls, etc.
在一些实施例中,食材管理界面可以包括多个食材展示区和功能控件,一个食材展示区可以对应一种食材类别或者一个储藏室,每个食材展示区用于显示冰箱中RFID标签对应的食材信息。其中,在食材类别对应的食材展示区中显示相应类别的食材信息,在储藏室对应的食材展示区中显示相应储藏室中的食材的食材信息。食材管理界面中显示的食材信息包括但不限于食材图标、食材名称、食材的新鲜度标识。其中,食材图标可以根据食材的象形图片生成;食材的新鲜度标识根据食材的新鲜度生成,其用于示出食材的放入时间、距离过期的剩余时间和过期时间中的任意一项或者多项,食材的新鲜度具体可以为食材的放入时间、距离过期的剩余时间或者过期时间(或者是否过期)。食材管理界面中的功能控件包括但不限于用于触发RFID标签识别的控件、用于添加食材信息的控件以及用于显示菜谱信息的控件等。In some embodiments, the ingredient management interface may include multiple ingredient display areas and functional controls, one ingredient display area may correspond to one ingredient category or one storage compartment, and each ingredient display area is used to display the ingredient corresponding to the RFID tag in the refrigerator information. Wherein, the ingredient information of the corresponding category is displayed in the ingredient display area corresponding to the ingredient category, and the ingredient information of the ingredient in the corresponding storage room is displayed in the ingredient display area corresponding to the storage room. The ingredient information displayed in the ingredient management interface includes, but is not limited to, ingredient icons, ingredient names, and ingredient freshness signs. Wherein, the ingredient icon can be generated according to the pictographic picture of the ingredient; the freshness indicator of the ingredient is generated according to the freshness of the ingredient, which is used to show any one or more of the time when the ingredient was put in, the remaining time until expiration, and the expiration time. Item, the freshness of an ingredient may specifically be the time when the ingredient was put in, the remaining time until expiration, or the expiration time (or whether it expires). The functional controls in the ingredient management interface include, but are not limited to, controls for triggering RFID tag identification, controls for adding ingredient information, and controls for displaying recipe information.
参阅图4,该食材管理界面被分割成左右两个显示区域;其中,左侧区域包括RFID标签识别控件和与各个食材类别对应的食材展示区,如水果类、蔬菜类,每个食材展示区中显示有相应类别的食材图标和食材名称,如在水果类对应的食材展示区有“苹果”及图标、“蓝莓”及图标等;右侧区域包括推荐菜谱控件和与各个储藏室对应的食材展示区,如冷藏室、变温室、冷冻室等,每个食材展示区中显示有相应的食材图标和食材名称,如在冷藏室对应的食材展示区有“苹果”及图标、“西蓝花”及图标等。在图4所示食材管理界面中,每个食材图标具有至少一个标识位,至少一个标识位用于加载食材的新鲜度标识,所加载的新鲜度标识根据食材的新鲜度生成,食材的新鲜度为食材的距离过期的剩余时间、过期时间和食材的放入时间中的至少一项,其可根据食材的放入时间和食材的保质期计算得到,如冷藏室对应的食材展示区中“苹果”的新鲜度标识为“已过期”、葡萄的新鲜度标识为“剩余1天”等。Referring to Figure 4, the ingredient management interface is divided into left and right display areas; wherein, the left area includes RFID tag identification controls and ingredient display areas corresponding to each ingredient category, such as fruits, vegetables, and each ingredient display area. The corresponding categories of ingredients icons and ingredient names are displayed in the menu. For example, in the ingredient display area corresponding to fruits, there are "apple" and icons, "blueberries" and icons, etc.; the right area includes recommended recipe controls and ingredients corresponding to each storage room. Display areas, such as refrigerators, greenhouses, freezers, etc., each ingredient display area displays the corresponding ingredient icons and ingredient names, such as "apple" and the icon, "broccoli" ” and icons, etc. In the ingredient management interface shown in FIG. 4 , each ingredient icon has at least one identification bit, and at least one identification bit is used to load the freshness indicator of the ingredient, and the loaded freshness indicator is generated according to the freshness of the ingredient. It is at least one of the remaining time before expiration of the ingredients, the expiration time, and the time when the ingredients are put in, which can be calculated according to the time when the ingredients are put in and the shelf life of the ingredients, such as “apple” in the food display area corresponding to the refrigerator compartment The freshness of the grapes is marked as "expired", the freshness of the grapes is marked as "1 day remaining", etc.
另外,在一些实施例中,本申请提供的冰箱还提供追溯食材上一次的放入时间的功能。In addition, in some embodiments, the refrigerator provided by the present application further provides a function of tracing back the time when the ingredients were put in last time.
具体的,在显示如图4所示的食材管理界面后,控制器控制在食材管理界面的上层显示食材列表界面,食材列表界面中展示与目标标签对应的食材信息;用户可以通过操作食材列表界面输入第一指令,例如食材列表中的任意食材或者指定位置,或者,点击食材列表界面提供的指定功能控件等。控制器接收用户输入的第一指令,显示用于对指定食材进行编辑食材编辑界面,该食材编辑界面中展示有指定食材的最新的放入时间和/或上一次的放入时间;用户可以通过操作食材编辑界面,输入第二指令;控制器接收用户在所述食材编辑界面输入的第二指令,将所述指定食材对应的放入时间修改为所述上一次的放入时间。Specifically, after the ingredient management interface shown in FIG. 4 is displayed, the controller controls to display an ingredient list interface on the upper layer of the ingredient management interface, and the ingredient list interface displays ingredient information corresponding to the target tag; the user can operate the ingredient list interface by operating the ingredient list interface. Input the first instruction, such as any ingredient or specified location in the ingredient list, or click the specified function control provided on the ingredient list interface. The controller receives the first instruction input by the user, and displays an ingredient editing interface for editing the specified ingredient, where the latest insertion time and/or the last insertion time of the specified ingredient is displayed on the ingredient editing interface; The ingredient editing interface is operated, and a second instruction is input; the controller receives the second instruction input by the user on the ingredient editing interface, and modifies the insertion time corresponding to the specified ingredient to the last insertion time.
图21为本申请根据一些示例性实施例示出的一种食材列表界面,如图21所示,该界面展示出了在用户本次操作后冰箱内的新增食材,即目标标签对应的食材。用户可以通过点击该界面中的食材图标以输入第一指令。FIG. 21 is an ingredient list interface shown in the present application according to some exemplary embodiments. As shown in FIG. 21 , the interface displays the newly added ingredients in the refrigerator after the user operates this time, that is, the ingredients corresponding to the target label. The user can input the first instruction by clicking on the ingredient icon in the interface.
图22为本申请根据一些示例性实施例示出的一种食材编辑界面,其具体为用户在图21所示界面中点击食材图标后进入的界面。如图22所示,该界面展示出了新增食材的名称、保质期、通过上述实施例确定目标放入时间(放入时间)以及用于追溯该食材上一次放入时间的功能控件(“更改为上次放入时间”)等。用户可以通过点击该界面中的“更改为上次放入时间”控件以输入第二指令。用户也可以通过点击该界面中的“确定”控件输入指示完成编辑的指令,或者,通过点击该界面中的“取消”控件输入指示取消编辑的指令。FIG. 22 is an ingredient editing interface shown in the present application according to some exemplary embodiments, which is specifically an interface entered by a user after clicking an ingredient icon in the interface shown in FIG. 21 . As shown in Figure 22, the interface displays the name of the newly added ingredient, the shelf life, the target insertion time (insertion time) determined by the above-mentioned embodiment, and the function control for tracing the last insertion time of the ingredient (“Change for the last time it was put in") and so on. The user can input the second instruction by clicking the "change to last time put in" control in the interface. The user can also input an instruction indicating completion of editing by clicking the "OK" control in the interface, or input an instruction indicating canceling the editing by clicking the "Cancel" control in the interface.
本申请还提供一种食材管理方法,图23为本申请根据一示例性实施例示出的该方法的流程图,如图23所示,该方法可以包括:The present application also provides a method for managing ingredients. FIG. 23 is a flowchart of the method according to an exemplary embodiment of the present application. As shown in FIG. 23 , the method may include:
步骤601,当检测到所有箱门被关闭时,获取第一信息集合,所述第一信息集合包括所述储藏室内每个RFID标签的标识信息。 Step 601, when it is detected that all the doors of the box are closed, obtain a first information set, where the first information set includes identification information of each RFID tag in the storage room.
本申请提供的食材管理方法应用于冰箱,该方法的执行主体包括但不限于冰箱的控制器。控制器通过与其连接的检测器检测箱门的开关信号,当检测到所有箱门被关闭时,指示与其连接的RFID检测模块开始识别冰箱内的每个RFID标签的信号,以获取RFID标签的标识信息,获取到的每个RFID标签的标识信息形成第一信息集合。The ingredient management method provided in the present application is applied to a refrigerator, and the execution subject of the method includes but is not limited to a controller of the refrigerator. The controller detects the switch signal of the box door through the detector connected to it, and when it detects that all the box doors are closed, instructs the RFID detection module connected to it to start identifying the signal of each RFID tag in the refrigerator to obtain the identification of the RFID tag information, and the acquired identification information of each RFID tag forms a first information set.
步骤602,对比所述第一信息集合与第二信息集合,确定放入所述储藏室的目标标签,并根据当前时间确定所述目标标签对应的目标放入时间,所述第二信息集合为根据上一次检测到所有箱门被关闭时获取的标识信息生成的信息集合。 Step 602, compare the first information set and the second information set, determine the target label to be put into the storage room, and determine the target insertion time corresponding to the target label according to the current time, and the second information set is: An information set generated based on the identification information obtained when all the doors were detected to be closed last time.
目标标签包括第一目标标签、第二目标标签和第三目标标签,第一目标标签是指标识信息仅在第一信息集合中存在的RFID标签,可以理解,第一目标标签为通过本次操作首次被放入冰箱的RFID标签;第二目标标签是指标识信息在第一信息集合和第二信息集合中同时存在且在第二信息集合中被标记为移出状态的RFID标签,可以理解,第二目标标签在本次操作前被移出冰箱,通过本次操作再次被放入冰箱;第三目标标签是指标识信息在第一信息集合和第二信息集合中同时存在且在第一信息集合中被标记为再次关联状态的RFID标签,再次关联状态表征RFID标签当前关联的食材信息与上一次关联的食材信息不同。The target label includes a first target label, a second target label, and a third target label. The first target label refers to an RFID label whose identification information only exists in the first information set. It can be understood that the first target label is obtained through this operation. The RFID tag put into the refrigerator for the first time; the second target tag refers to the RFID tag whose identification information exists in the first information set and the second information set at the same time and is marked as being removed in the second information set. The second target label is removed from the refrigerator before this operation, and is put into the refrigerator again through this operation; the third target label means that the identification information exists in the first information set and the second information set at the same time and is in the first information set. The RFID tag is marked as a re-association state, and the re-association state indicates that the ingredient information currently associated with the RFID tag is different from the ingredient information associated last time.
对于第一目标标签和第三目标标签,确定当前时间为与其对应的目标放入时间;对于第二目标标签,在当前时间与第二目标标签对应的移出时间之间的时间差大于预设阈值时,确定当前时间为与其对应的目标放入时间,在当前时间与第二目标标签对应的移出时间之间的时间差不大于预设阈值时,确定其对应的上一次的放入时间为其目标放入时间。For the first target tag and the third target tag, determine the current time as the corresponding target insertion time; for the second target tag, when the time difference between the current time and the removal time corresponding to the second target tag is greater than the preset threshold , determine that the current time is the target insertion time corresponding to it, and when the time difference between the current time and the removal time corresponding to the second target label is not greater than the preset threshold, determine that the corresponding last insertion time is the target release time enter time.
步骤603,显示所述食材管理界面,所述食材管理界面中展示所述储藏室内每个所述RFID标签对应的食材信息和所述食材的新鲜度标识,所述目标标签标识的食材的新鲜度标识根据所述目标标签对应的目标放入时间生成。Step 603: Display the ingredient management interface, where the ingredient information corresponding to each RFID tag in the storage room and the freshness identifier of the ingredient are displayed, and the freshness of the ingredient identified by the target tag is displayed. The identifier is generated according to the target insertion time corresponding to the target tag.
例如,在图4所示的食材管理界面中,每个储藏室对应一个食材展示区,用于展示相应储藏室中的食材信息和食材的新鲜度标识,该新鲜度标识用于示出食材的新鲜度,食材的新鲜度具体可以为食材的放入时间、距离过期的剩余时间、是否过期或者过期时间。For example, in the ingredient management interface shown in FIG. 4 , each storage room corresponds to an ingredient display area, which is used to display the ingredient information in the corresponding storage room and the freshness identifier of the ingredient, and the freshness identifier is used to show the freshness of the ingredient. Freshness, the freshness of an ingredient may specifically be the time when the ingredient was put in, the remaining time until expiration, whether it expires, or the expiration time.
在步骤603中,根据目标标签和与目标标签对应的目标放入时间显示食材管理界面, 具体是:首先根据所述目标标签对应的目标放入时间确定所述目标标签标识的食材的新鲜度,例如,根据目标放入时间和食材的保质期计算食材距离过期的剩余时间、或者判断食材是否过期、或者计算食材的过期时间等;然后根据食材的新鲜度生成食材的新鲜度标识,并将将目标标签对应的食材信息和食材的新鲜度标识加载在所述食材管理界面中进行显示。In step 603, the ingredient management interface is displayed according to the target label and the target insertion time corresponding to the target label, specifically: first, the freshness of the food material identified by the target label is determined according to the target insertion time corresponding to the target label, For example, calculate the remaining time for the ingredients to expire according to the target insertion time and the shelf life of the ingredients, or determine whether the ingredients are expired, or calculate the expiration time of the ingredients, etc.; then generate the freshness of the ingredients according to the freshness of the ingredients. The ingredient information and the freshness identifier of the ingredient corresponding to the tag are loaded and displayed in the ingredient management interface.
需要说明的是,目标标签的数量可以是一个或者多个,根据当前时间确定的每个目标标签对应的目标放入时间可能相同,也可能不同,例如第一目标标签和第三目标标签对应的目标放入时间均为当前时间,第二目标标签对应的目标放入时间可能为上一次的放入时间。It should be noted that the number of target tags may be one or more, and the target insertion time corresponding to each target tag determined according to the current time may be the same or different. For example, the first target tag and the third target tag correspond to The target insertion time is the current time, and the target insertion time corresponding to the second target tag may be the last insertion time.
本申请实施方式还提供一种计算机可读的非易失性存储介质,其中,该存储介质可存储有程序,该程序执行时可包括本申请提供的食材管理界面的显示方法的各实施例中的部分或全部步骤。所述的存储介质可为磁碟、光盘、只读存储记忆体(read-only memory,ROM)或随机存储记忆体(random access memory,RAM)等。Embodiments of the present application further provide a computer-readable non-volatile storage medium, wherein the storage medium may store a program, and when the program is executed, the program may include any of the various embodiments of the method for displaying an ingredient management interface provided by the present application. some or all of the steps. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), and the like.

Claims (20)

  1. 一种冰箱,其特征在于,包括:A refrigerator, characterized in that, comprising:
    箱体,内部设有储藏室,所述储藏室中的食材通过所述储藏室内的RFID标签进行标识;The box body is provided with a storage room inside, and the ingredients in the storage room are identified by the RFID tags in the storage room;
    箱门,设于所述储藏室的开口处;a box door, located at the opening of the storage room;
    显示屏,设于所述箱门,用于显示食材管理界面;其中,所述食材管理界面包括至多个食材展示区,所述食材展示区中显示有根据所述RFID标签关联的食材信息生成的食材控件;A display screen, located on the box door, is used to display an ingredient management interface; wherein, the ingredient management interface includes a plurality of ingredient display areas, and the ingredient display areas display information generated according to the ingredient information associated with the RFID tag. food control;
    控制器,用于:Controller for:
    当所有箱门被关闭时,获取第一信息集合,其中,所述第一信息集合包括所述RFID标签;When all box doors are closed, obtain a first set of information, wherein the first set of information includes the RFID tag;
    根据所述第一信息集合显示所述食材管理界面,其中,所述RFID标签中属于同一储藏室的RFID标签对应的食材控件显示在同一食材展示区中,所述RFID标签中属于不同储藏室的RFID标签对应的食材控件显示在不同的食材展示区中。The ingredient management interface is displayed according to the first information set, wherein the ingredient controls corresponding to the RFID tags belonging to the same storage room in the RFID tags are displayed in the same ingredient display area, and the RFID tags belonging to different storage rooms are displayed in the same ingredient display area. The ingredient controls corresponding to the RFID tags are displayed in different ingredient display areas.
  2. 根据权利要求1所述的冰箱,其特征在于,所述食材控件包括显性标签标识,同一食材展示区中的食材控件的显性标签标识具有相同的颜色,不同食材展示区中的食材控件的显示标签标识具有不同的颜色。The refrigerator according to claim 1, wherein the ingredient controls include explicit label identifiers, the explicit label identifiers of the ingredient controls in the same ingredient display area have the same color, and the ingredient controls in different ingredient display areas have the same color. Display label IDs have different colors.
  3. 根据权利要求1所述的冰箱,其特征在于,所述RFID标签对应的食材的新鲜度标识相同的RFID标签对应的食材控件的显性标签标识具有相同的颜色或文字标记,不同的新鲜度标识对应与不同的颜色或不同的文字标记。The refrigerator according to claim 1, characterized in that, the RFID tags corresponding to the food ingredients having the same freshness identifiers have the same explicit label identifiers of the food ingredients controls corresponding to the RFID tags having the same color or text mark, and different freshness identifiers. Corresponds with different colors or different wordmarks.
  4. 根据权利要求3所述的冰箱,其特征在于,所述RFID标签中的每个RFID标签的标签编码包括第一码段,所述第一码段中的值用于表征所述RFID标签所属的储藏室的标识。The refrigerator according to claim 3, wherein the tag code of each RFID tag in the RFID tags includes a first code segment, and the value in the first code segment is used to represent the RFID tag to which the RFID tag belongs. Storeroom logotype.
  5. 根据权利要求4所述的冰箱,其特征在于,所述标签编码还包括第二码段,所述第二码段中的值用于表征所述RFID标签对应的食材的新鲜度标识。The refrigerator according to claim 4, wherein the label code further comprises a second code segment, and the value in the second code segment is used to represent the freshness identifier of the food material corresponding to the RFID tag.
  6. 根据权利要求1所述的冰箱,其特征在于,所述控制器还用于:The refrigerator according to claim 1, wherein the controller is further used for:
    在所有箱门被关闭时后,若至少一个箱门的开关状态发生变化,根据所述箱门的开关状态变化确定第一操作箱门;其中,所述第一操作箱门为所述开关状态发生变化的箱门;After all the box doors are closed, if the switch state of at least one box door changes, the first operation box door is determined according to the change of the switch state of the box door; wherein, the first operation box door is in the switch state Changed box doors;
    根据所述第一操作箱门确定第一储藏室;其中,所述第一储藏室为所述第一操作箱门对应的储藏室或者预设的虚拟储藏室;A first storage room is determined according to the first operation box door; wherein, the first storage room is a storage room corresponding to the first operation box door or a preset virtual storage room;
    当所有箱门的开关状态均变化到关闭状态后,获取第二信息集合;其中,所述第二信息集合包括当所有箱门的开关状态均变化到关闭状态后获取的所述储藏室内的RFID标签;When the switch states of all the box doors are changed to the closed state, a second information set is acquired; wherein, the second information set includes the RFID in the storage room obtained when the switch states of all the box doors are changed to the closed state Label;
    比较所述第一信息集合与第二信息集合,确定当至少一个箱门的开关状态发生变化后放入所述储藏室的第一RFID标签;Comparing the first information set with the second information set, and determining the first RFID tag put into the storage room when the switch state of at least one door changes;
    显示所述食材管理界面;displaying the ingredient management interface;
    所述食材管理界面中,确定所述第一RFID标签标识的食材的存储位置为所述第一储藏室。In the ingredient management interface, it is determined that the storage location of the ingredient identified by the first RFID tag is the first storage room.
  7. 根据权利要求6所述的冰箱,其特征在于,所述控制器根据所述第一操作箱门确定第一储藏室,包括:The refrigerator according to claim 6, wherein the controller determines the first storage compartment according to the first operation box door, comprising:
    在所述第一操作箱门的数量为1时,确定所述第一操作箱门对应的储藏室为所述第一储藏室;When the number of the first operation box doors is 1, determine that the storage room corresponding to the first operation box door is the first storage room;
    在所述第一操作箱门的数量大于1时,确定预设的虚拟储藏室为所述第一储藏室。When the number of the first operation box doors is greater than 1, the preset virtual storage room is determined to be the first storage room.
  8. 根据权利要求6所述的冰箱,其特征在于,所述控制器还用于:The refrigerator according to claim 6, wherein the controller is further used for:
    对比所述第一信息集合与第二信息集合,确定移出所述储藏室的第二RFID标签,所述第二RFID标签为标识信息仅在所述第一信息集合中存在的RFID标签;Comparing the first information set and the second information set, determining a second RFID tag removed from the storage room, where the second RFID tag is an RFID tag whose identification information only exists in the first information set;
    将所述第二RFID标签的标识信息添加到所述第二信息集合中,并将所述第二RFID标签的标识信息标记为移出状态,以生成第三信息集合。The identification information of the second RFID tag is added to the second information set, and the identification information of the second RFID tag is marked as a removed state to generate a third information set.
  9. 根据权利要求6所述的冰箱,其特征在于,所述第一RFID标签为仅在所述第二信息集合中存在的RFID标签。The refrigerator according to claim 6, wherein the first RFID tag is an RFID tag that exists only in the second information set.
  10. 根据权利要求6所述的冰箱,其特征在于,所述控制器显示所述食材管理界面,包括:The refrigerator according to claim 6, wherein the controller displays the ingredient management interface, comprising:
    将所述第一RFID标签对应的食材信息加载在所述第一储藏室对应的食材展示区中进行显示。The food material information corresponding to the first RFID tag is loaded into the food material display area corresponding to the first storage room for display.
  11. 根据权利要求6所述的冰箱,其特征在于,所述控制器还用于:The refrigerator according to claim 6, wherein the controller is further used for:
    响应于用户在所述食材管理界面输入的第一指令,在所述食材管理界面的上层显示虚拟存储室的界面;其中,所述虚拟存储室的界面中展示有存储位置为虚拟储藏室的食材和对应的推荐储藏室,所述推荐储藏室根据食材与储藏室的预设对应关系确定;In response to the first instruction input by the user on the food material management interface, an interface of the virtual storage room is displayed on the upper layer of the food material management interface; wherein, the food material whose storage location is the virtual storage room is displayed in the interface of the virtual storage room and a corresponding recommended storage room, the recommended storage room is determined according to the preset correspondence between the ingredients and the storage room;
    响应于用户在所述虚拟存储室的界面输入的第二指令,将所述虚拟储藏室中的食材的存储位置由所述虚拟储藏室修改为对应的用户通过所述第二指令选择的储藏室。In response to a second instruction input by the user on the interface of the virtual storage room, the storage location of the ingredients in the virtual storage room is modified from the virtual storage room to the corresponding storage room selected by the user through the second instruction .
  12. 根据权利要求1所述的冰箱,其特征在于,所述控制器还用于:The refrigerator according to claim 1, wherein the controller is further used for:
    根据所述RFID标签不同的第一属性值,所述RFID标签对应的食材控件被生成为不同的状态,所述第一属性值表征所述RFID标签是否为重复放入到所述储藏室中的RFID标签。According to the different first attribute values of the RFID tags, the food controls corresponding to the RFID tags are generated into different states, and the first attribute values represent whether the RFID tags are repeatedly put into the storage room RFID tags.
  13. 根据权利要求12所述的冰箱,其特征在于,所述控制器还用于:The refrigerator according to claim 12, wherein the controller is further used for:
    在所述第一属性值表征第三RFID标签是重复放入到所述储藏室中的RFID标签时,在所述第三RFID标签对应的食材展示区中的食材控件加载提醒标记以得到标记食材控件。When the first attribute value indicates that the third RFID tag is an RFID tag repeatedly placed in the storage room, the ingredient control in the ingredient display area corresponding to the third RFID tag loads a reminder mark to obtain the marked ingredient controls.
  14. 根据权利要求13所述的冰箱,其特征在于,所述控制器还用于:The refrigerator according to claim 13, wherein the controller is further used for:
    接收用户对标记食材控件的操作;Receive the user's operation on the labeling ingredient control;
    响应于所述操作,在所述显示器上呈现界面提示,以提示用户对所述第三RFID标签对应的食材信息进行更新。In response to the operation, an interface prompt is presented on the display to prompt the user to update the ingredient information corresponding to the third RFID tag.
  15. 根据权利要求1所述的冰箱,其特征在于,所述控制器还用于:The refrigerator according to claim 1, wherein the controller is further used for:
    根据所述RFID标签的标签编码判断所述RFID标签是否为新增RFID标签,所述新增RFID标签为未关联食材信息的RFID标签;Determine whether the RFID tag is a newly added RFID tag according to the tag code of the RFID tag, and the newly added RFID tag is an RFID tag that is not associated with food material information;
    若所述RFID标签是所述新增RFID标签,则根据所述新增RFID标签的标签编码获取所述新增RFID标签对应的预设食材信息;If the RFID tag is the newly added RFID tag, acquiring preset food material information corresponding to the newly added RFID tag according to the tag code of the newly added RFID tag;
    更新所述食材管理界面,更新后的所述食材管理界面中,所述新增RFID标签对应的食材控件是根据所述新增RFID标签对应的预设食材信息生成的。The ingredient management interface is updated. In the updated ingredient management interface, an ingredient control corresponding to the newly added RFID tag is generated according to preset ingredient information corresponding to the newly added RFID tag.
  16. 根据权利要求15所述的冰箱,其特征在于,所述控制器还用于:The refrigerator according to claim 15, wherein the controller is further used for:
    若所述RFID标签不是所述新增RFID标签,则根据所述RFID标签的标签编码获取所 述RFID标签关联的食材信息,以用于更新所述食材管理界面中其他RFID标签对应的食材控件,所述其他RFID标签为识别到的除所述新增RFID标签以外的RFID标签。If the RFID tag is not the newly added RFID tag, obtain the ingredient information associated with the RFID tag according to the tag code of the RFID tag, so as to update the ingredient controls corresponding to other RFID tags in the ingredient management interface, The other RFID tags are identified RFID tags other than the newly added RFID tags.
  17. 根据权利要求16所述的冰箱,其特征在于,所述控制器根据所述RFID标签的标签编码判断所述RFID标签是否为新增RFID标签,包括:The refrigerator according to claim 16, wherein the controller determines whether the RFID tag is a newly added RFID tag according to the tag code of the RFID tag, comprising:
    从所述标签编码中获取在第一码段中写入的第一编码;Obtain the first code written in the first code segment from the label code;
    查找本地信息集合中是否存在所述RFID标签的第一编码,所述本地信息集合包括已关联食材信息的RFID标签的第一编码;Find out whether the first code of the RFID tag exists in the local information set, the local information set includes the first code of the RFID tag of the associated food material information;
    若所述本地信息集合中不存在所述RFID标签的第一编码,则判定所述RFID标签是所述新增RFID标签;If the first code of the RFID tag does not exist in the local information set, it is determined that the RFID tag is the newly added RFID tag;
    若所述本地信息集合中存在所述RFID标签的第一编码,则判定所述RFID标签不是所述新增RFID标签。If the first code of the RFID tag exists in the local information set, it is determined that the RFID tag is not the newly added RFID tag.
  18. 根据权利要求15所述的冰箱,其特征在于,所述控制器根据所述新增RFID标签的标签编码获取所述新增RFID标签对应的预设食材信息,包括:The refrigerator according to claim 15, wherein the controller obtains the preset ingredient information corresponding to the newly added RFID tag according to the tag code of the newly added RFID tag, comprising:
    从所述标签编码中获取在第二码段中写入的第二编码;Obtain the second code written in the second code segment from the label code;
    根据所述新增RFID标签的第二编码,从第二编码与食材信息的预设对应关系中获取所述新增RFID标签对应的预设食材信息。According to the second code of the newly added RFID tag, the preset food material information corresponding to the newly added RFID tag is acquired from the preset corresponding relationship between the second code and the food material information.
  19. 根据权利要求18所述的冰箱,其特征在于,所述控制器还用于:从第二编码与食材信息的预设对应关系中获取所述新增RFID标签对应的预设食材信息之前,The refrigerator according to claim 18, wherein the controller is further configured to: before acquiring the preset ingredient information corresponding to the newly added RFID tag from the preset correspondence between the second code and the ingredient information,
    判断所述新增RFID标签的第二编码是否为预定编码;Determine whether the second code of the newly added RFID tag is a predetermined code;
    若所述新增RFID标签的所述第二编码是预定编码,则获取预置的默认填充信息,以作为所述新增RFID标签的预设食材信息;If the second code of the newly added RFID tag is a predetermined code, acquiring preset default filling information as the preset food material information of the newly added RFID tag;
    若所述新增RFID标签的所述第二编码不是预定编码,则根据所述新增RFID标签的第二编码,从第二编码与食材信息的预设对应关系中获取所述新增RFID标签对应的预设食材信息。If the second code of the newly added RFID tag is not a predetermined code, then according to the second code of the newly added RFID tag, the newly added RFID tag is obtained from the preset corresponding relationship between the second code and the food material information The corresponding preset ingredient information.
  20. 根据权利要求6所述的冰箱,其特征在于,所述控制器比较所述第一信息集合与第二信息集合,确定当至少一个箱门的开关状态发生变化后放入所述储藏室的第一RFID标签,包括:The refrigerator according to claim 6, wherein the controller compares the first information set with the second information set, and determines the first information set to be put into the storage room after the switch state of at least one door changes. An RFID tag, including:
    根据当前时间确定所述第一RFID标签对应的放入时间;Determine the insertion time corresponding to the first RFID tag according to the current time;
    显示所述食材管理界面,所述食材管理界面中通过所述第一RFID标签对应的食材控件的新鲜度标识根据所述放入时间生成。The ingredient management interface is displayed, wherein the freshness identifier of the ingredient control corresponding to the first RFID tag in the ingredient management interface is generated according to the insertion time.
PCT/CN2021/101716 2020-07-01 2021-06-23 Refrigerator WO2022001768A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202180051345.8A CN115968436A (en) 2020-07-01 2021-06-23 A kind of refrigerator

Applications Claiming Priority (10)

Application Number Priority Date Filing Date Title
CN202010621320.4 2020-07-01
CN202010621319.1 2020-07-01
CN202010621319.1A CN111780477A (en) 2020-07-01 2020-07-01 Refrigerator and food material management method
CN202010621320.4A CN111780478B (en) 2020-07-01 2020-07-01 Refrigerator and food material management method
CN202010654905.6A CN113915847B (en) 2020-07-09 2020-07-09 Refrigerator and food material management interface display method
CN202010655436.XA CN113915848B (en) 2020-07-09 2020-07-09 Refrigerator and food material management interface display method
CN202010654905.6 2020-07-09
CN202010655436.X 2020-07-09
CN202010693942.8A CN111860718B (en) 2020-07-17 2020-07-17 Refrigerator and food material management method
CN202010693942.8 2020-07-17

Publications (1)

Publication Number Publication Date
WO2022001768A1 true WO2022001768A1 (en) 2022-01-06

Family

ID=79317395

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/101716 WO2022001768A1 (en) 2020-07-01 2021-06-23 Refrigerator

Country Status (2)

Country Link
CN (1) CN115968436A (en)
WO (1) WO2022001768A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114485037A (en) * 2022-02-11 2022-05-13 海信(山东)冰箱有限公司 Refrigerator and food material positioning method thereof
CN114941926A (en) * 2022-06-06 2022-08-26 海信(山东)冰箱有限公司 Refrigerator and food material management method thereof
CN115388612A (en) * 2022-08-26 2022-11-25 海信冰箱有限公司 Refrigerator and food material management method thereof

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3748369B2 (en) * 2000-09-06 2006-02-22 株式会社東芝 Food management storage
KR20090020935A (en) * 2007-08-24 2009-02-27 엘지전자 주식회사 Refrigerator and method of controlling the same
CN105841436A (en) * 2016-05-31 2016-08-10 青岛海尔股份有限公司 Food management method and food management system of intelligent refrigerator
CN106288635A (en) * 2016-08-10 2017-01-04 广东格兰仕集团有限公司 Intelligent Recognition refrigerator controls management system and the control method thereof at interface
KR20170054761A (en) * 2015-11-10 2017-05-18 이유석 A smart refrigerator
CN106969593A (en) * 2017-03-23 2017-07-21 辽宁科技学院 A kind of food management method of intelligent refrigerator
CN107862354A (en) * 2017-10-19 2018-03-30 合肥美的智能科技有限公司 Refrigerator and its food materials management system and method
CN110245725A (en) * 2018-03-07 2019-09-17 博西华电器(江苏)有限公司 Food materials update method and storage equipment
CN111292828A (en) * 2018-12-07 2020-06-16 海信(山东)冰箱有限公司 Intelligent refrigerator and food material management method, device and storage medium thereof
CN111780478A (en) * 2020-07-01 2020-10-16 海信视像科技股份有限公司 Refrigerator and food material management method
CN111780477A (en) * 2020-07-01 2020-10-16 海信视像科技股份有限公司 Refrigerator and food material management method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3748369B2 (en) * 2000-09-06 2006-02-22 株式会社東芝 Food management storage
KR20090020935A (en) * 2007-08-24 2009-02-27 엘지전자 주식회사 Refrigerator and method of controlling the same
KR20170054761A (en) * 2015-11-10 2017-05-18 이유석 A smart refrigerator
CN105841436A (en) * 2016-05-31 2016-08-10 青岛海尔股份有限公司 Food management method and food management system of intelligent refrigerator
CN106288635A (en) * 2016-08-10 2017-01-04 广东格兰仕集团有限公司 Intelligent Recognition refrigerator controls management system and the control method thereof at interface
CN106969593A (en) * 2017-03-23 2017-07-21 辽宁科技学院 A kind of food management method of intelligent refrigerator
CN107862354A (en) * 2017-10-19 2018-03-30 合肥美的智能科技有限公司 Refrigerator and its food materials management system and method
CN110245725A (en) * 2018-03-07 2019-09-17 博西华电器(江苏)有限公司 Food materials update method and storage equipment
CN111292828A (en) * 2018-12-07 2020-06-16 海信(山东)冰箱有限公司 Intelligent refrigerator and food material management method, device and storage medium thereof
CN111780478A (en) * 2020-07-01 2020-10-16 海信视像科技股份有限公司 Refrigerator and food material management method
CN111780477A (en) * 2020-07-01 2020-10-16 海信视像科技股份有限公司 Refrigerator and food material management method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114485037A (en) * 2022-02-11 2022-05-13 海信(山东)冰箱有限公司 Refrigerator and food material positioning method thereof
CN114485037B (en) * 2022-02-11 2024-04-05 海信冰箱有限公司 Refrigerator and food material positioning method thereof
CN114941926A (en) * 2022-06-06 2022-08-26 海信(山东)冰箱有限公司 Refrigerator and food material management method thereof
CN115388612A (en) * 2022-08-26 2022-11-25 海信冰箱有限公司 Refrigerator and food material management method thereof
CN115388612B (en) * 2022-08-26 2023-11-28 海信冰箱有限公司 Refrigerator and food material management method thereof

Also Published As

Publication number Publication date
CN115968436A (en) 2023-04-14

Similar Documents

Publication Publication Date Title
CN111860718B (en) Refrigerator and food material management method
WO2022001768A1 (en) Refrigerator
CN111780478B (en) Refrigerator and food material management method
CN111442604B (en) Refrigerator and control method thereof
CN112344619A (en) Refrigerator and food material information editing method
CN111780479B (en) Refrigerator and food material information association method
CN111780477A (en) Refrigerator and food material management method
CN113011538A (en) Refrigerator and food material label scanning method
CN112344618A (en) Refrigerator and food material information definition method
CN107735636A (en) For operating the method for home appliances, corresponding home appliances and system including home appliances
KR102566171B1 (en) Electronic device and method for controlling thereof
WO2022095564A1 (en) Display device and interface display method
WO2022002047A1 (en) Refrigerator and ingredient management 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
WO2022000710A1 (en) Refrigerator and food material management method
WO2022007096A1 (en) Refrigerator and display method for food item management interface
WO2022041992A1 (en) Refrigerator, display device, server, recommendation method, and message reminding method
CN113915847B (en) Refrigerator and food material management interface display method
CN113915848B (en) Refrigerator and food material management interface display method
CN114279160B (en) Refrigerator and food material management interface updating method
CN113899135A (en) Refrigerator and method for indicating freshness of food in refrigerator
CN113959136B (en) Refrigerator and food material management interface display method
CN113483518B (en) Refrigerator and interface display 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: 21831968

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: 21831968

Country of ref document: EP

Kind code of ref document: A1