Display method of refrigerator and food management interface
By generating and displaying a food management interface based on food information, the problem of difficult to manage and distinguish custom ingredients in existing refrigerators is solved, and effective icon generation and display of custom ingredients is realized, improving user experience.
Patent Information
- Application Number
- CN202080102665.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-07-09
- Filing Date
- 2020-08-08
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2040-08-08
AI Technical Summary
It is difficult for existing refrigerators to effectively manage and distinguish custom ingredients, making it difficult for users to identify and distinguish these ingredients through the ingredient icons.
By obtaining information about each ingredient in the pantry, a ingredient management interface is generated, including ingredient icons and freshness logos. Use preset icon material to generate icons when it exists, otherwise the icon will be generated based on the name of the ingredient and the freshness mark of different states will be generated according to the freshness of the ingredient.
It realizes effective icon generation and display of customized ingredients, and users can directly identify and distinguish these ingredients through the ingredients icons, improving the user experience.
Smart Images

Figure CN115803574B_ABST
Abstract
Description
[0001] This application claims the priority of the application number CN202010640246.0, filed with the China Patent Office on July 6, 2020, and the application name "Method for displaying a refrigerator and food management interface"; the priority of the application number CN202010638403.4, filed with the China Patent Office on July 6, 2020, and the application name "Method for indicating the freshness of food in a refrigerator and the refrigerator"; the priority of the application number CN202010654905.6, filed with the China Patent Office on July 9, 2020, and the application name "Method for displaying a refrigerator and food management interface"; all of which are incorporated by reference in this application. Technical Field
[0002] The present application relates to the technical field of refrigerators, and in particular to a method for displaying a refrigerator and food management interface. Background Art
[0003] At present, multi-storage compartment refrigerators with radio frequency identification (RFID) function can intelligently manage the food stored therein.
[0004] For example, an antenna is set in the storage room, 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 storage room through the antenna in the storage room, and then obtain the food information associated with the RFID tag according to the detected RFID tag signal. By displaying the food information in the form of controls or icons in the user interface, the user can know what food is in the refrigerator. Summary of the invention
[0005] The present application provides a method for displaying a refrigerator and food management interface.
[0006] In a first aspect, the present application provides a refrigerator, comprising:
[0007] A box body, with a storage room inside;
[0008] A box door, arranged at the opening of the storage room;
[0009] A display screen, provided on the door, for displaying a food management interface;
[0010] Controller for:
[0011] Acquire food information corresponding to each food in the storage room, wherein the food information at least includes the name of the food;
[0012] The ingredient management interface is displayed according to the ingredient information corresponding to each ingredient, and the ingredient management interface includes an ingredient icon generated according to the ingredient information corresponding to each ingredient, wherein when there is a preset icon material corresponding to the ingredient name, the ingredient icon is generated according to the preset icon material, and when there is no preset icon material corresponding to the ingredient name, the ingredient icon is generated according to the ingredient name.
[0013] In a second aspect, the present application further provides a method for displaying an ingredient management interface, the method comprising:
[0014] Obtaining food information corresponding to each food in the refrigerator, wherein the food information at least includes the name of the food;
[0015] An ingredient management interface is displayed according to the ingredient information corresponding to each ingredient, and the ingredient management interface includes an ingredient icon generated according to the ingredient information corresponding to each ingredient, wherein when there is a preset icon material corresponding to the ingredient name, the ingredient icon is generated according to the preset icon material, and when there is no preset icon material corresponding to the ingredient name, the ingredient icon is generated according to the ingredient name.
[0016] In a third aspect, the present application provides a refrigerator, comprising:
[0017] A box body, with a storage room inside;
[0018] A box door, arranged at the opening of the storage room;
[0019] A display screen, provided on the door, for displaying a food management interface;
[0020] Controller for:
[0021] Obtaining food information corresponding to each food in the storage room, wherein the food information includes the time when the food was put in and the shelf life of the food, and the time when the food was put in and the shelf life of the food are used to determine the freshness of the food;
[0022] An ingredient management interface is generated according to the ingredient information corresponding to each ingredient, the ingredient management interface includes an ingredient control corresponding to each ingredient, the ingredient control includes an ingredient icon and a freshness indicator, wherein the freshness indicator is generated in different states according to the freshness of the ingredient.
[0023] In a fourth aspect, the present application further provides a method for indicating the freshness of food in a refrigerator, the method comprising:
[0024] Obtaining food information corresponding to each food in the refrigerator, wherein the food information includes the time when the food was put in and the shelf life of the food, wherein the time when the food was put in and the shelf life of the food are used to determine the freshness of the food;
[0025] Generate an ingredient management interface according to the ingredient information corresponding to each ingredient, the ingredient management interface including an ingredient control corresponding to each ingredient, the ingredient control including an ingredient icon and a freshness indicator, wherein the freshness indicator is generated into different states when the freshness of the ingredient is different; and display the ingredient management interface on the display screen of the refrigerator.
[0026] In a fifth aspect, the present application provides a refrigerator, comprising:
[0027] A box body, wherein a storage room is provided inside, and food in the storage room is identified by an RFID tag;
[0028] A box door, arranged at the opening of the storage room;
[0029] A display screen, provided on the door, for displaying a food management interface;
[0030] Controller for:
[0031] Acquire a first information set, the first information set including food information corresponding to at least one first-type RFID tag, the first-type RFID tag being an RFID tag currently placed in the storage room;
[0032] The food management interface is displayed according to the first information set, and the food management interface includes at least one food display area, in which food controls generated according to the food information are displayed, wherein food controls corresponding to RFID tags with the same first attribute value are displayed in the same food display area, and food controls corresponding to RFID tags with different first attribute values are displayed in different food display areas, and the first attribute value represents a storage room associated with the RFID tag.
[0033] In a sixth aspect, the present application also provides a method for displaying an ingredient management interface, the method comprising:
[0034] Acquire a first information set, the first information set including food information corresponding to at least one first-type RFID tag, the first-type RFID tag being an RFID tag currently placed in the storage room, the RFID tag being used to identify the food in the storage room;
[0035] A food management interface is displayed according to the first information set, the food management interface comprising at least one food display area, wherein the food display area displays food controls generated according to the food information, wherein food controls corresponding to RFID tags with the same first attribute value are displayed in the same food display area, and food controls corresponding to RFID tags with different first attribute values are displayed in different food display areas, and the first attribute value represents a storage room associated with the RFID tag. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0037] Figure 1 A three-dimensional diagram of a refrigerator according to an exemplary embodiment of the present application;
[0038] Figure 2 This is a schematic diagram of the appearance of a refrigerator according to an exemplary embodiment of the present application;
[0039] Figure 3 This is a schematic diagram of a refrigerator hardware system architecture according to an exemplary embodiment of the present application;
[0040] Figure 4 This is a schematic diagram of a food control according to an exemplary embodiment of the present application;
[0041] Figure 5 This is a food material management interface shown in accordance with an exemplary embodiment of the present application;
[0042] Figure 6 This is a schematic diagram of a food control according to an exemplary embodiment of the present application;
[0043] Figure 7 This is a schematic diagram of a food control according to an exemplary embodiment of the present application;
[0044] Figure 8 This is a schematic diagram of a food control according to an exemplary embodiment of the present application;
[0045] Fig. 9 This is a schematic diagram of a food control according to an exemplary embodiment of the present application;
[0046] Fig.10 This is a schematic diagram of a food control according to an exemplary embodiment of the present application;
[0047] Fig.11 This is a flow chart of a method for displaying an ingredient management interface according to an exemplary embodiment of the present application;
[0048] Fig.12 This is a schematic diagram of a food control according to an exemplary embodiment of the present application;
[0049] Fig.13 This is another schematic diagram of a food control according to an exemplary embodiment of the present application;
[0050] Fig.14 This is another schematic diagram of a food control according to an exemplary embodiment of the present application;
[0051] Fig.15 This is another schematic diagram of a food control according to an exemplary embodiment of the present application;
[0052] Fig.16 is a flow chart of a method for indicating the freshness of food in a refrigerator according to an exemplary embodiment;
[0053] Fig.17 This is a food material management interface shown in accordance with an exemplary embodiment of the present application;
[0054] Fig.18 Another food material management interface is shown in this application according to an exemplary embodiment;
[0055] Fig.19 Another food material management interface is shown in this application according to an exemplary embodiment;
[0056] Fig. 20 This is a schematic diagram of a food control according to an exemplary embodiment of the present application;
[0057] Fig.21 This is another schematic diagram of a food control according to an exemplary embodiment of the present application;
[0058] Fig. 22 This is a flow chart of a method for displaying an ingredient management interface according to an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0059] In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work should fall within the scope of protection of the present application.
[0060] In the description of the present application, it should be understood that the terms "center", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0061] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "plurality" means two or more.
[0062] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a direct connection, or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0063] Figure 1 1 is a perspective view of a refrigerator according to an exemplary embodiment of the present application. The shape of the refrigerator provided in the embodiment of the present application is approximately a rectangular parallelepiped. The appearance of the refrigerator is defined by a storage chamber 101 providing a limited storage space and a plurality of cabinet doors 200 arranged at the opening of the storage chamber 101. The storage chamber 101 is a box body 100 with an opening. Figure 1 In the illustrated example, the storage chamber 101 includes a freezing chamber 101A located at the bottom and a refrigerating chamber 101B located at the top, and the freezing chamber 101A and the refrigerating chamber 101B each have one or more independent storage spaces.
[0064] In some embodiments, the freezer compartment 101A can be selectively covered by a drawer-type freezer compartment door 200A. The refrigerating compartment 101B is partitioned into a left side and a right side. The refrigerating compartment 101B is selectively opened or closed by a refrigerating compartment door 200B pivotally mounted on the refrigerating compartment 101B.
[0065] Figure 2 FIG. 1 is a schematic diagram of the appearance of a refrigerator according to an exemplary embodiment of the present application, as shown in FIG. Figure 2 As shown, a display screen is provided on the refrigerator door 200B, and the display screen is embedded in the door body. In some embodiments, the plane where the screen of the display screen is located is flush with the outer surface of the door.
[0066] In some embodiments, the refrigerator also includes a controller, which is connected to a display screen and is used to interact with a server to obtain information and data, draw a user interface, and output a display signal to the display screen. The display screen receives the display signal output by the controller and displays corresponding image information, such as a user interface.
[0067] Figure 3 This is a schematic diagram of the refrigerator hardware system architecture shown in the present application. Figure 3 As shown, 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, and a power supply module 390.
[0068] 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 near field communication protocol modules (not shown in the figure).
[0069] The memory 340 stores various software modules for driving and controlling the refrigerator 300. Such as: basic module, detection module, communication module, display control module, browser module, and various service modules (not shown in the figure). Among them, the basic module is a bottom-level software module used for signal communication between various hardware in the refrigerator 300 and sending processing and control signals to the upper-level module. The detection module is a management module used to collect various information from various sensors or user input interfaces, and perform digital-to-analog conversion and analysis management. The display control module is a module used to control the display 310 to display image content, which can be used to play multimedia image content and UI interface information. The communication module is a module for control and data communication with external devices. The browser module is a module for executing data communication between browsing servers. The service module is a module for providing various services and various applications. At the same time, the memory 340 is also used to store and receive external data and user data, images of various items in various user interfaces, and visual effects of focus objects.
[0070] The memory 340 may also store software and / or programs, and the software programs used to represent the operating system include, for example, a kernel, middleware, an application programming interface (API), and / or an application. Exemplarily, the kernel may control or manage system resources, or functions implemented by other programs (such as the middleware, API, or application), and the kernel may provide an interface to allow the middleware and API, or the application to access the controller to control or manage system resources.
[0071] The user interface module 350 is used 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 can input the user command through the graphical user interface (GUI) displayed on the display 310, and the user interface module 350 receives the input user command through the graphical user interface (GUI). Alternatively, the user can input the user command by inputting a specific sound or gesture, and the user interface module 350 recognizes the sound or gesture through the sensor connected thereto, and then receives the input user command.
[0072] 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, and image synthesis according to the standard codec protocol of the input signal to obtain a video signal that can be directly displayed or played on the display 310.
[0073] The display 310 is used to receive the image signal input from the video processor 360, and display the video content and image as well as the menu control interface. The display 310 includes a display component for presenting the picture and a driving component for driving the image display. The displayed video content can come from the video content input from the communicator or the external device interface. The display 310 also displays the user control interface UI for controlling the refrigerator.
[0074] The audio processor 370 is used to receive the audio signal, and perform decompression and decoding according to the standard codec protocol of the input signal, as well as audio data processing such as noise reduction, digital-to-analog conversion and amplification processing to obtain an audio signal that can be played through the audio output interface.
[0075] The power supply module 390 is used to provide power supply support for the refrigerator 300 with the power input from the external power supply under the control of the controller 320. 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 supply interface for providing an external power supply to the refrigerator 300.
[0076] The controller 320 can control the operation of the refrigerator 200 and respond to the user's operation by running various software control programs (such as an operating system and / or various application programs) stored in the memory 340.
[0077] like Figure 3As shown, the controller 320 includes a read-only memory ROM 321, a random access memory RAM 322, a graphics processor 323, a CPU processor 324, a communication interface 325, and a communication bus. The RAM 322 and the ROM 321, the graphics processor 323, the CPU processor 324, and the communication interface 325 are connected via the communication bus.
[0078] Among them, ROM321 is used to store various system startup instructions. When a power-on signal is received, the power starts to start, and the CPU processor 324 runs the system startup instructions in ROM321, and copies the operating system stored in the memory 340 to RAM322 to start running the startup operating system. When the operating system is started, the CPU processor 324 copies various application programs in the memory 340 to RAM322, and then starts running the startup various application programs.
[0079] The graphics processor 323 is used to generate various graphic objects, such as icons, operation menus, and user input command display graphics. It includes an operator, which performs operations by receiving various interactive instructions input by the user and displays various objects according to display attributes. It also includes a renderer, which generates various objects based on the operator, and displays the rendered results on the display 310.
[0080] The CPU processor 324 is used to execute the operating system and application instructions stored in the memory 340, and execute various applications, data and content according to various interactive instructions received from the outside, so as to finally display and play various audio and video contents.
[0081] The communication interface 218 may include a plurality of interfaces, which may be network interfaces connected to external devices via a network.
[0082] The controller 320 can 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 can be performed. The object can be any selectable object, such as a hyperlink or an icon. The operation related to the selected object, for example, displays an operation connected to a hyperlink page, document, image, etc., or executes an operation corresponding to a program of the icon.
[0083] In some embodiments, in order to achieve intelligent management of food, RFID tags are used to identify food in the storage room. Specifically, the identification information of the RFID tag, such as the tag code written in the RFID tag, is obtained, and a corresponding relationship between the identification information of the RFID tag and the specified food information is established, thereby realizing the association between the RFID tag and the food; after attaching the RFID tag to the food, the food is placed in the refrigerator, and the refrigerator can obtain the identification information of the RFID tag by detecting the signal of the RFID tag; when the identification information is obtained, the food information corresponding to the RFID tag can be determined through the pre-established association relationship between the identification information of the RFID tag and the food information, and a 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 perform management operations on the food by operating the user interface.
[0084] In some embodiments, the RFID detector 380 includes an RFID detection module disposed in each storage compartment, the RFID detection module being used to transmit a wireless signal in the corresponding storage compartment and receive a signal from an RFID tag in the storage compartment to obtain identification information of the RFID tag. In some embodiments, the RFID detection module may specifically be an antenna.
[0085] In some embodiments, the controller 320 is connected to each RFID detection module and controls the RFID detection module to identify the signal of the RFID tag in the storage chamber.
[0086] In some embodiments, the food information corresponding to each RFID tag in the refrigerator is saved in the local data. When the RFID tags in the refrigerator are added or reduced, the food information corresponding to the newly added RFID tags is added to the local data, and the food information corresponding to the reduced RFID tags is deleted from the local data, so as to update the local data in time. When it is necessary to draw a user interface for displaying food, the food information in the local data is read, and the user interface is generated according to the read food information.
[0087] In some embodiments, the user interface for displaying ingredients is called an ingredient management interface. In the ingredient management interface, all ingredients in the refrigerator are displayed in the form of ingredient controls, one ingredient corresponds to one ingredient control in the ingredient management interface, and each ingredient control consists of at least an ingredient name and an ingredient icon.
[0088] Figure 4 This is a schematic diagram of the food control exemplified in this application, such as Figure 4 As shown, the ingredient control includes an ingredient icon 401 and an ingredient name 402 .
[0089] In some implementation scenarios, some ingredients have preset icon materials, such as pictographic images of ingredients. These preset icon materials are pre-saved in local data or cloud servers. These ingredients are often not user-defined ingredients, such as common fruits, vegetables, meats, etc., specifically apples, tomatoes, beef, etc., and some ingredients do not have preset icon materials. These ingredients are often user-defined ingredients, and the corresponding ingredient information is input by the user through operating the ingredient management interface, such as user-made ingredients or less common ingredients.
[0090] To facilitate distinction and explanation, the embodiment of the present application refers to ingredients that do not have preset icon materials as custom ingredients, and the corresponding ingredient information as custom ingredient information. The custom ingredient information includes a custom ingredient name, ingredient category, and ingredient shelf life, such as "private beef sauce", "sauce", etc.
[0091] In some embodiments, a universal icon material is used as the icon material of a custom ingredient, and then an ingredient icon of the custom ingredient is generated based on the universal icon material, so as to solve the generation and display problem of the ingredient icon of the custom ingredient. Specifically, the controller of the refrigerator can be configured to: obtain the ingredient information corresponding to each ingredient in the storage room, and the ingredient information at least includes the ingredient name; search the local data for the corresponding preset icon material based on the ingredient name, and if the corresponding preset icon material exists in the local data, generate the ingredient icon in the ingredient management interface based on the preset icon material; if the corresponding preset ingredient icon does not exist in the local data, generate the ingredient icon in the ingredient management interface based on the universal icon material pre-stored in the local data.
[0092] As a possible implementation, the names of ingredients and the preset icon materials of ingredients are published in the cloud server; when the refrigerator is connected to the Internet for the first time or when the ingredient icon needs to be generated, the data request containing the ingredient name is sent to the cloud server, and the cloud server returns the preset icon material corresponding to the ingredient name in the request to the refrigerator. The refrigerator receives the preset icon material returned by the cloud server to generate the ingredient icon, and saves the preset icon material and the ingredient name in the local data. As a possible implementation, when the refrigerator needs to generate and display the ingredient management interface, the ingredient information corresponding to each ingredient in the refrigerator is obtained from the local data, and the ingredient information includes the ingredient name, and then the preset icon material corresponding to the ingredient name is searched from the local data according to the ingredient name. If the corresponding preset icon material is found, the ingredient icon is generated according to the preset icon material. If the corresponding preset icon material is not found, a data request containing the ingredient name is sent to the cloud server. If the preset icon material returned by the cloud server can be received, the ingredient icon is generated according to the preset icon material. If the preset icon material returned by the cloud server is not received, the ingredient icon in the ingredient management interface is generated according to the general icon material pre-stored in the local data.
[0093] Figure 5 This is an example of a food management interface shown in this application. The food management interface includes multiple food display areas, one food display area corresponds to one storage room, and each food display area displays a food control for each food in the corresponding storage room. Each food control consists of a food icon and a food name. Some food icons are generated based on food pictographic pictures, and some food icons are generated based on general pictures. Figure 5As shown, the ingredient management interface includes an ingredient display area corresponding to the refrigerator, an ingredient display area corresponding to the climate change chamber, and an ingredient display area corresponding to the freezer; the ingredient display area corresponding to the refrigerator includes ingredient controls corresponding to "apple", "spicy cabbage", and "private beef sauce". It can be seen that the ingredient icon of "apple" is generated based on its pictographic image, and the ingredient icons of "spicy cabbage" and "beef sauce" are both generated based on general images. Since the display effects of the two are the same, users cannot directly identify which ingredient control corresponds to "spicy cabbage" and which ingredient control corresponds to "beef sauce" through the ingredient icons. The ingredient display area corresponding to the freezer displays the ingredient controls corresponding to "beef", "spare ribs" and "beef tripe". It can be seen that the ingredient icons of "beef" and "spare ribs" are generated based on their pictographic images, and users can quickly distinguish which ingredient control corresponds to "beef" and which ingredient control corresponds to "spare ribs" based on the ingredient icons, while the ingredient icon of "beef tripe" is generated based on a general image, and users cannot directly recognize that the corresponding ingredient is "beef tripe" through the ingredient icon, and its display effect is the same as the ingredient icons of "spicy cabbage" and "beef sauce" in the refrigerator.
[0094] It can be seen from the above embodiments that using universal icon materials as icon materials for custom ingredients and generating ingredient icons for custom ingredients based on the universal icon materials can solve the problem of generating and displaying ingredient icons for custom ingredients. However, when there are multiple ingredient controls corresponding to custom ingredients in the ingredient management interface, it is difficult for users to directly identify and distinguish these custom ingredients through the ingredient icons.
[0095] In order to solve the above problems, in some embodiments, the controller of the refrigerator is configured to: obtain ingredient information corresponding to each ingredient in the storage room, the ingredient information including at least the name of the ingredient; generate an ingredient management interface according to the ingredient information corresponding to each ingredient and display it on the display, the ingredient management interface including an ingredient icon generated according to the ingredient information corresponding to each ingredient, wherein when there is a preset icon material corresponding to the ingredient name, the ingredient icon is generated according to the preset icon material, and when there is no preset icon material corresponding to the ingredient name, the ingredient icon is generated according to the ingredient name.
[0096] In the above embodiment, the existence of preset icon materials corresponding to the ingredient name means that preset icon materials corresponding to the ingredient name exist in the acquired ingredient information, in the local data and / or in the cloud server.
[0097] It can be seen from the above embodiments that since different custom ingredients have different names, the ingredient icons generated according to the ingredient names must be different. Furthermore, even if there are multiple ingredient controls corresponding to custom ingredients in the ingredient management interface, users can directly identify and distinguish these custom ingredients through the ingredient icons, thereby improving user experience.
[0098] In some embodiments, the controller of the refrigerator is configured to: draw the name of the ingredient in a designated area in the first layer, and make the layout of the text contained in the ingredient name in the designated area conform to the preset layout rules. The designated area is an area in the first layer determined according to the display area of the ingredient icon, and the display area of the ingredient icon can be characterized by the position coordinates of the display area in the preset coordinate system, so the designated area corresponds to the display area of the ingredient icon. For example, in the same preset coordinate system, the designated area is the center point in the first layer that coincides with the center point of the display area of the ingredient icon, and the size (such as area) of the designated area can be larger or smaller than the size of the display area of the ingredient icon; for another example, in the same preset coordinate system, the designated area is the area in the first layer that completely coincides with the display area of the ingredient icon, that is, the shape and size of the designated area are exactly the same as the shape and size of the display area of the ingredient icon.
[0099] In a specific implementation, the controller of the refrigerator is configured to: obtain display area information of the ingredient icon according to the layout of the ingredient management interface, determine the designated area information in the first layer according to the display area information of the ingredient icon, wherein the display area information of the ingredient icon can be a coordinate set of several boundary points of the display area, and the designated area information can be a coordinate set of several boundary points of the designated area; then determine the layout information of the ingredient name in the designated area according to the preset layout rules and the number of characters contained in the ingredient name, the layout information includes the size of each character and its position in the designated area; finally, draw each character in the ingredient name in the designated area of the first layer according to the layout information of the ingredient name in the designated area.
[0100] For the convenience of calculation, the display area of the ingredient icon is rectangular, and accordingly, the designated area for drawing the ingredient name is also rectangular.
[0101] In some embodiments, the preset layout rules include rules for determining a drawing position or a drawing area of text, and rules for determining a text size.
[0102] In some embodiments, according to a preset layout rule, a specified area is divided into one or more drawing areas, the shapes and sizes of each drawing area are exactly the same, and the number of divided drawing areas is greater than or equal to the number of characters included in the food ingredient name; then, according to a certain rule, each character included in the food ingredient name is assigned a drawing area; and then, according to the position and size of the drawing area corresponding to each character, the drawing position and size of the character are determined.
[0103] Exemplarily, if the food ingredient name of a certain custom food ingredient includes one character, such as "pear", according to the preset layout rule, the specified area is divided into one drawing area, that is, the drawing area of this one character is the specified area, and the drawing position of this one character in the specified area is the center position of the specified area. And, according to the preset layout rule, the size of the character (such as font size) is determined to be the size corresponding to the length of the drawing area, that is, the size corresponding to the length of the specified area. Exemplarily, the food ingredient icon drawn according to "pear" may be as Figure 6 shown.
[0104] Another exemplarily, if the food ingredient name of a certain custom food ingredient includes two characters, such as "apple", according to the preset layout rule, the specified area is evenly divided into two drawing areas. For example, the left area for drawing "苹" and the right area for drawing "果", and the drawing position of each character is determined to be the center position of the corresponding drawing area, and according to the preset layout rule, the size of the character (such as font size) is determined to be the size corresponding to the length of the drawing area. Exemplarily, the food ingredient icon drawn according to "apple" may be as Figure 7 shown.
[0105] Another exemplarily, if the food ingredient name of a certain custom food ingredient includes three characters, such as "spicy cabbage", according to the preset layout rule, the specified area is evenly divided into four drawing areas. For example, the specified area is divided into a "field" shape, and each drawing area is assigned in the order from left to right and then from top to bottom. For example, the upper left area is used to draw "辣", the upper right area is used to draw "白", the lower left area is used to draw "菜", and the drawing position of each character is determined to be the center position of the corresponding drawing area, and according to the preset layout rule, the size of the character (such as font size) is determined to be the size corresponding to the length of its drawing area. Exemplarily, the food ingredient icon drawn according to "spicy cabbage" may be as Figure 8 shown.
[0106] It should be noted that when drawing the food ingredient name, parameters such as the font and font color involved can be set and adjusted according to requirements, and the embodiments of the present application do not limit them.
[0107] such as Figures 6 to 8It can be seen that the display effects of the ingredient icons corresponding to different custom ingredients are different. Users can directly identify and distinguish these custom ingredients through the ingredient icons, thereby improving user experience.
[0108] In some embodiments, the food information includes the food name and the food category, and the food icon generated according to the food name includes two layers, namely the first layer for drawing the food name and the second layer located below the first layer. According to different food categories, the second layer is drawn in different colors, so that the food icons of different categories of custom food have different background colors, so that users can not only identify and distinguish different custom food according to the food icons, but also distinguish the categories of food according to the background colors of the food icons.
[0109] As a possible implementation, the refrigerator controller is configured to: draw the name of the food in a designated area in the first layer, the designated area is the area corresponding to the display area of the food icon, and the layout of the text contained in the food name in the designated area conforms to the preset layout rule; and obtain the target RGB value corresponding to the food category, and different food categories correspond to different RGB values; draw the color of the designated area in the second layer according to the target RGB value, and the second layer is under the first layer. The correspondence between the food category and the RGB value can be established in advance.
[0110] As another possible implementation, the refrigerator controller is configured to: draw the name of the ingredient in the first designated area in the first layer, the first designated area is the area in the first layer corresponding to the display area of the ingredient icon, and the layout of the text contained in the ingredient name in the first designated area conforms to the preset layout rule; and obtain the target RGB value corresponding to the ingredient category, and draw the color of the second designated area in the second layer according to the target RGB value, the second designated area is the area in the second layer that completely overlaps with the display area of the ingredient icon, and the second layer is in the lower layer of the first layer. The overlap of the second designated area with the display area of the ingredient icon means that in the same preset coordinate system, the coordinate point set constituting the second designated area and the coordinate point set constituting the display area of the ingredient icon are the same coordinate point set.
[0111] Fig. 9 The schematic diagram of the ingredient control generated based on "spicy cabbage" is shown as an example. Fig.10 The schematic diagram of the ingredient control generated based on "beef tripe" is shown as an example. Fig. 9 and Fig.10 It can be seen that since "spicy cabbage" and "beef tripe" belong to different food categories, the background colors of the food icon of "spicy cabbage" and the food icon of "beef tripe" are different.
[0112] As can be seen from the above embodiments, the present application provides a refrigerator, the controller of which generates an ingredient management interface according to the ingredient information corresponding to each ingredient in the storage chamber, and displays the ingredient management interface on a display, wherein the ingredient management interface includes an ingredient control generated according to the ingredient information corresponding to each ingredient, and the ingredient control includes an ingredient icon and an ingredient name, wherein when there is a preset icon material corresponding to the ingredient name, the ingredient icon is generated according to the preset icon material, and when there is no preset icon material corresponding to the ingredient name, the ingredient icon is generated according to the ingredient name. Since different custom ingredients have different ingredient names, the ingredient icons generated according to the ingredient names are necessarily different, and further, even if there are multiple ingredient controls corresponding to custom ingredients in the ingredient management interface, users can directly identify and distinguish these custom ingredients through the ingredient icons, thereby improving user experience.
[0113] According to the above embodiments, the present application also provides a method for displaying an ingredient management interface, which is applied to a refrigerator. The execution subject of the method includes but is not limited to a controller of the refrigerator. Fig.11 is a flow chart of the method according to an exemplary embodiment, as shown in Fig.11 As shown, the method may include:
[0114] Step 111, obtaining food information corresponding to each food in the storage room, wherein the food information at least includes the name of the food.
[0115] Step 112, displaying the ingredient management interface according to the ingredient information corresponding to each ingredient, the ingredient management interface including an ingredient icon generated according to the ingredient information corresponding to each ingredient, wherein when there is a preset icon material corresponding to the ingredient name, the ingredient icon is generated according to the preset icon material, and when there is no preset icon material corresponding to the ingredient name, the ingredient icon is generated according to the ingredient name.
[0116] In some embodiments, when there is no preset icon material corresponding to the ingredient name, the ingredient icon is generated according to the ingredient name, including: drawing the ingredient name in a designated area in the first layer, the designated area is an area corresponding to the display area of the ingredient icon, and the layout of the text contained in the ingredient name in the designated area complies with preset layout rules.
[0117] In a specific implementation, the display area information of the ingredient icon is obtained to determine the designated area in the first layer; based on the designated area and the number of characters contained in the ingredient name, the layout information of the ingredient name in the designated area is determined, and the layout information includes the size of each character and the position in the designated area; based on the layout information of the ingredient name in the designated area, each character in the ingredient name is drawn in the designated area of the first layer.
[0118] In some embodiments, the ingredient information also includes the ingredient category; when there is no preset icon material corresponding to the ingredient name, generating the ingredient icon according to the ingredient name, and also including: obtaining the target RGB value corresponding to the ingredient category, different ingredient categories correspond to different RGB values; drawing the color of the specified area in the second layer according to the target RGB value, the second layer is below the first layer.
[0119] In some embodiments, the user interface for displaying ingredients is called an ingredient management interface. In the ingredient management interface, all ingredients in the refrigerator are displayed in the form of ingredient controls, one ingredient corresponds to one ingredient control in the ingredient management interface, and each ingredient control is composed of at least an ingredient name and an ingredient icon, wherein the ingredient icon can be generated based on a pictographic image of the ingredient, or can be generated based on a custom generation algorithm of the ingredient name.
[0120] In some embodiments, after the user puts the food into the refrigerator, he / she inputs the shelf life of the food and the time when the food is put into the refrigerator (or the production date of the food) by operating the user interface. The controller receives the time when the food is put into the refrigerator or the production date of the food, and saves it in the food information in the local data. In other embodiments, the controller is configured to: detect the switch signal of the door, and when it is detected that all the doors are closed, instruct the RFID detection module connected to it to identify the RFID tags in all storage rooms to obtain the identification information of each RFID tag, obtain an information set, and determine the target RFID tag put into the storage room in this operation by comparing the newly obtained information set with the locally saved information set, record the food time of the food corresponding to the target RFID tag according to the current time, and update the locally saved information set according to the target RFID tag and the recorded food time.
[0121] In some embodiments, the food information in the local data includes the food expiration date and the time when the food was put in. The freshness of the food can be monitored based on the food expiration date and the time when the food was put in, such as the remaining shelf life, expiration time, etc. In order to remind the user of the freshness of each food, the freshness mark of the food can be displayed in the food management interface, such as loading the freshness mark of the food in the corresponding food control for display, so as to remind the user of the freshness of the food.
[0122] In some embodiments, the freshness mark of the food may be a progress bar that indicates the freshness of the food; in other embodiments, the freshness mark of the food may be a text mark that directly indicates the remaining shelf life of the food. In these embodiments, the freshness of the food is displayed indiscriminately in the form of a progress bar or text mark, which is not convenient for users to directly distinguish which food has expired, which food is about to expire, and which food is relatively fresh, etc., and the user experience is not friendly enough.
[0123] In some embodiments, the controller of the refrigerator is configured to: obtain ingredient information corresponding to each ingredient in the storage room from local data, and generate an ingredient management interface based on the ingredient information corresponding to each ingredient, the ingredient management interface including an ingredient control corresponding to each ingredient, the ingredient icon and the freshness mark of the ingredient are displayed in the ingredient control, the ingredient icon can be generated based on a preset ingredient icon material corresponding to the ingredient name, or it can be a custom icon generated based on the ingredient name, the freshness mark of the ingredient is used to indicate the freshness of the ingredient, and the freshness mark of the ingredient is generated in different states depending on the freshness of the ingredient, and the freshness of the ingredient can be determined by the time the ingredient is placed in and the shelf life of the ingredient, and the time the ingredient is placed in and the shelf life of the ingredient are included in the ingredient information.
[0124] In the above embodiment, the freshness of the food can be quantitatively characterized by the remaining shelf life and / or freshness ratio of the food. Among them, the remaining shelf life of the food can be calculated based on the shelf life of the food, the time when the food is put in, and the current time. Specifically, the remaining shelf life of the food = the shelf life of the food - (current time - the time when the food is put in). When the remaining shelf life of the food is less than 0, it indicates that the food has expired; the freshness ratio of the food is the ratio of the remaining shelf life of the food to the shelf life of the food. The freshness ratio is ≤100%. The longer the remaining shelf life of the food, the closer its freshness ratio is to 100%, indicating that the food is fresher.
[0125] It should be noted that for factory-produced foods such as milk and yogurt, their production time can be saved as the time when the ingredients are put in. Depending on the specific ingredients, the time when the ingredients are put in the refrigerator mentioned in the embodiments of the present application includes but is not limited to the time when the ingredients are produced or the time when the user first puts the ingredients in the refrigerator.
[0126] In some embodiments, when the remaining shelf life of an ingredient is less than zero, the freshness indicator is generated as a first state, so as to use the freshness indicator in the first state to remind the user that the ingredient has expired; when the freshness ratio is not less than a preset value, the freshness indicator is generated as a second state, so as to use the freshness indicator in the second state to remind the user that the ingredient is relatively fresh; when the freshness ratio is less than a preset value, the freshness indicator is generated as a third state, so as to use the freshness indicator in the third state to remind the user that the ingredient is about to expire.
[0127] It should be noted that the above preset value can be customized by the user according to needs, for example, set to 33%.
[0128] Compared with the solution of indiscriminately displaying the freshness of ingredients in the form of progress bars or text labels, generating freshness labels of ingredients in different states when the freshness of ingredients is different can help users more intuitively distinguish which ingredients are expired, which are about to expire, which are relatively fresh, etc., and it is also more convenient for users to quickly obtain the information they want to pay attention to. For example, users can quickly find expired ingredients based on the freshness label of the first state, or quickly find ingredients that are about to expire based on the freshness label of the third state, etc.
[0129] In some embodiments, the freshness identification of the first state is a first picture identification floating on the food icon display, and the first picture identification covers the food icon. The first picture identification may display a symbol or text indicating that the food is expired, such as "expired". As a possible implementation method, when the remaining shelf life is less than zero, a first picture identification is generated in a first preset area of the first layer above the food icon, and the first preset area overlaps with the display area of the food icon so that the first picture identification partially covers the food icon. As a possible implementation method, the transparency of the first icon identification is greater than 0%, so that the food icon can be displayed through the first picture identification.
[0130] Fig.12 The freshness mark of the first state shown in the present application according to the exemplary embodiment is specifically an exemplary first picture mark. Fig.12 As shown, the first picture logo 1201 displays a text prompt of "Expired", and the first picture logo 1201 floats on the ingredient icon 1202, partially covering the ingredient icon 1202, and because the transparency of the first picture logo 1201 is greater than 0%, the covered part of the ingredient icon 1202 can still be displayed through the first picture logo 1201. In this way, the first picture logo can be eye-catching enough to facilitate users to quickly notice expired ingredients, and does not affect users' identification of ingredients through ingredient icons.
[0131] In some embodiments, the freshness indicator of the second state is a second progress indicator displayed in a second preset area. Specifically, when the freshness ratio is not less than a preset value, a second progress indicator is generated in a second preset area of the second layer. The second preset area is an area that does not overlap with the display area of the ingredient icon, such as a gap area between the ingredient icon and the ingredient name.
[0132] In some embodiments, the second progress indicator can be specifically a progress bar including a progress area and a background area, the length of the progress area represents the progress value, the progress value corresponds to the freshness ratio, and the progress area and the background area are filled with different colors to achieve explicit distinction between the two areas. As a possible implementation method, the progress area of the second progress indicator is configured as different colors according to the different numerical ranges into which the freshness ratio falls. For example, when the freshness ratio of the food is higher than the first value, the progress area of the second progress indicator is configured as green, and when the freshness ratio of the food is lower than the first value, the progress area of the second progress indicator is configured as yellow. Among them, 0 < first value < preset value, for example, the first value is preset to 66%, when the freshness ratio of the food is ∈ (33%, 66%), the progress area of the second progress indicator is configured as yellow, and when the freshness ratio of the food is ∈ (66%, 100%), the progress area of the second progress indicator is configured as green.
[0133] In this way, users can not only judge the freshness of the ingredients based on the length of the progress area, but also based on the color of the progress area, which makes it easier for users to quickly notice fresher ingredients (such as ingredients whose progress area is displayed as green in the progress bar) and less fresh ingredients (such as ingredients whose progress area is displayed as yellow in the progress bar).
[0134] Fig.13 The freshness indicator of the second state shown in the present application according to the exemplary embodiment is specifically an exemplary second progress indicator. Fig.13 As shown, the second progress indicator 1301 displays the gap area between the ingredient name 1302 and the ingredient icon 1303. The second progress indicator 1301 does not overlap with the ingredient name 1302 and the ingredient icon 1303. The second progress indicator 1301 includes a progress area and a background area, and the progress area and the background area are filled with different colors.
[0135] Fig.14 is another freshness indicator of the second state shown in the present application according to an exemplary embodiment, which is specifically another exemplary second progress indicator. Fig.13 The second progress indicator shown is different in that Fig.14 The progress value of the second progress mark and the freshness ratio of the food represented by it are Fig.13 different, Fig.14 The color of the progress area of the second progress indicator is filled with Fig.13 Different. Fig.14 and Fig.13 As can be seen from the embodiment shown, when the food management interface simultaneously has Fig.14 and Fig.13When the freshness icon is shown, the user can quickly find the fresher or less fresh ingredients according to the color of the progress area of the freshness icon; when two identical ingredient icons are displayed in the ingredient management interface (i.e., two identical ingredients, such as broccoli put in first and broccoli put in later), the user can quickly compare the fresher ingredient according to the color of the progress area of the freshness icon corresponding to the two ingredient icons.
[0136] It should be noted that multiple numerical ranges can be pre-set as needed, such as 30%-40%, 40%-50%, etc., and one numerical range corresponds to one color. When generating the second progress indicator, the progress area of the second progress indicator is drawn into a corresponding color according to the numerical range into which the freshness ratio of the food falls.
[0137] In some embodiments, the freshness indicator of the third state includes a third progress indicator and a third text indicator displayed in a third preset area. Specifically, when the freshness ratio of the food is less than a preset value, a third progress indicator and a third text indicator are generated in the third preset area. The third preset area may be an area in the third layer that does not overlap with the display area of the food icon, such as the gap area between the food icon and the food name.
[0138] Similar to the second progress indicator, the third progress indicator can be specifically a progress bar including a progress area and a background area, the length of the progress area represents the progress value, the progress value corresponds to the freshness ratio, and the progress area and the background area are filled with different colors to achieve explicit distinction between the two areas. As a possible implementation method, the progress area of the third progress indicator is configured with different colors according to the different numerical ranges in which the freshness ratio falls. For example, when the freshness ratio of the food is higher than the second value, the progress area of the third progress indicator is configured to orange, and when the freshness ratio of the food is lower than the second value, the progress area of the third progress indicator is configured to red.
[0139] In some embodiments, the third progress indicator may be different from the second progress indicator and may have a different width from the second progress indicator to achieve explicit distinction between the freshness indicator in the second state and the freshness indicator in the third state.
[0140] In some embodiments, the third text mark is used to indicate the remaining shelf life of the food. In order to save the interface display area occupied by the freshness mark and make the freshness mark in the third state more intuitive and eye-catching, the third text mark can be displayed floating on the background area of the third progress mark, so that the third text mark does not need to occupy the display area outside the area where the third progress mark is located. Specifically, the third progress mark is generated in the third preset area, and the third text mark is generated in the area corresponding to the background area of the third progress mark in the layer above the third progress mark.
[0141] Fig.15 The third state freshness mark is shown in the present application according to the exemplary embodiment, which is specifically an exemplary third progress mark and a third text mark. Fig.15 As shown, the third progress indicator 1501 displays the gap area between the ingredient name 1502 and the ingredient icon 1503. The third progress indicator 1501 does not overlap with the ingredient name 1502 and the ingredient icon 1503. The third progress indicator 1501 includes a progress area and a background area, and the progress area and the background area are filled with different colors. Fig.15 and Fig.13 It can be seen that the third progress indicator has a wider width than the second progress indicator. Fig.15 As shown, the third text mark 1504 is displayed in the background area of the third progress mark. The third text mark 1504 is specifically a text prompt such as "2 days remaining", and "2 days remaining" is the remaining shelf life of the food.
[0142] In some embodiments, the controller is configured to: obtain the food information corresponding to each food in the storage room from local data, the food information including the food name, the food shelf life and the time when the food was put in; obtain the corresponding preset food icon material from the local data according to the food name, such as the pictographic picture file of the food, generate the food icon in the zeroth layer according to the preset food icon material, and determine the remaining shelf life of the food according to the current time, the food shelf life and the time when the food was put in; when the remaining shelf life of the food is less than zero, generate a first picture mark for indicating that the food is expired in a first preset area in the first layer to generate a freshness mark of a first state, the first layer is a layer above the zeroth layer, and the first preset area is an area overlapping with the display area of the food icon; when the remaining shelf life of the food is less than zero, generate a first picture mark for indicating that the food is expired, so as to generate a freshness mark of a first state. When the freshness ratio of the food is greater than zero, the freshness ratio of the food is calculated according to the remaining shelf life of the food, and when the freshness ratio of the food is not less than the preset value, a second progress mark is generated in the second preset area of the second layer to generate a freshness mark of the second state, the second preset area is an area in the second layer that does not overlap with the display area of the food icon, and the progress value of the second progress mark corresponds to the freshness ratio of the food; when the freshness ratio of the food is less than the preset value, a third progress mark and a third text mark are generated in the third preset area of the third layer to generate a freshness mark of the third state, the third preset area is an area in the third layer that does not overlap with the display area of the food icon, the progress value of the third progress mark corresponds to the freshness ratio of the food, and the third text mark is used to indicate the remaining shelf life of the food. In some embodiments, the first layer, the second layer, and the third layer can be the same layer or different layers.
[0143] In some embodiments, the food information in the local data is periodically obtained, and the food management interface is updated according to the obtained food information, so that the freshness mark in the food management interface is updated in time.
[0144] In some embodiments, when it is detected that an RFID tag is added or reduced in the refrigerator, the food information in the local data is updated according to the change of the RFID tag.
[0145] In some embodiments, after detecting that the ingredient information in the local data is updated, the updated ingredient information is obtained, and the ingredient management interface is updated according to the updated ingredient information, so that the freshness indicator in the ingredient management interface is updated in a timely manner.
[0146] It can be seen from the above embodiments that the freshness of the ingredients is monitored according to the time the ingredients were placed in the ingredients and the shelf life of the ingredients in the ingredient information, and a freshness mark for indicating the freshness of the ingredients is generated and displayed in the corresponding ingredient control in the ingredient management interface to remind the user of the freshness of each ingredient. The freshness mark of the ingredients is generated into different states when the freshness of the ingredients is different, which is conducive to the user to more intuitively distinguish which ingredients are expired, which ingredients are about to expire, which ingredients are relatively fresh, etc., and it is also more convenient for the user to quickly obtain the information they want to pay attention to. For example, the user can quickly find expired ingredients according to the freshness mark of the first state, or quickly find ingredients that are about to expire according to the freshness mark of the third state, etc.
[0147] Based on the above embodiments, the embodiments of the present application also provide a method for indicating the freshness of food in a refrigerator, which is applied to the refrigerator. The executor of the method includes but is not limited to the controller of the refrigerator. Fig.16 is a flow chart of the method according to an exemplary embodiment, as shown in Fig.16 As shown, the method may include:
[0148] Step 1601, obtain the food information corresponding to each food in the refrigerator. The food information includes the time when the food was put in and the shelf life of the food. The time when the food was put in and the shelf life of the food are used to determine the freshness of the food.
[0149] Step 1602, generating an ingredient management interface according to the ingredient information corresponding to each ingredient, wherein the ingredient management interface includes an ingredient control corresponding to each ingredient, and the ingredient control includes an ingredient icon and a freshness indicator, wherein the freshness indicator is generated in different states when the freshness of the ingredient is different.
[0150] In some embodiments, the freshness of the food includes a remaining shelf life and / or a freshness ratio, wherein the remaining shelf life is determined based on the current time, the time the food is placed in the food, and the shelf life of the food, and the freshness ratio is the ratio of the remaining shelf life to the shelf life of the food; when the remaining shelf life is less than zero, a freshness mark of a first state is generated; when the freshness ratio is not less than a preset value, a freshness mark of a second state is generated; when the freshness ratio is less than a preset value, a freshness mark of a third state is generated.
[0151] In some embodiments, when the remaining shelf life is less than zero, a freshness identification of a first state is generated, including: generating a first picture identification in a first preset area, the first preset area is an area in the layer above the ingredient icon and overlapping with the display area of the ingredient icon, the first picture identification partially covers the ingredient icon, and the first picture identification is used to indicate that the ingredient is expired.
[0152] In some embodiments, when the freshness ratio is not less than a preset value, generating a freshness indicator of a second state includes: generating a second progress indicator in a second preset area, wherein the second preset area does not overlap with the display area of the food icon, and the progress value of the second progress indicator corresponds to the freshness ratio. In addition, according to the different value ranges within which the freshness ratio falls, the progress area of the second progress indicator is configured with different colors.
[0153] In some embodiments, when the freshness ratio is less than a preset value, a freshness indicator of a third state is generated, including: generating a third progress indicator and a third text indicator in a third preset area, wherein the third preset area does not overlap with the display area of the food icon, the progress value of the third progress indicator corresponds to the freshness ratio, and the third text indicator is used to indicate the remaining shelf life of the food. In addition, the progress area of the third progress indicator is configured with different colors according to the different data ranges into which the freshness ratio falls. In addition, the third text indicator is located on the upper layer of the background area of the third progress indicator.
[0154] Step 1603, displaying the food management interface on the display screen of the refrigerator.
[0155] Fig.17 This is a user interface shown in accordance with an exemplary embodiment of the present application, which is specifically an exemplary food management interface. Fig.17, the food management interface is divided into two display areas on the left and right. The left area includes RFID tag identification controls and food display areas corresponding to each food category, such as fruits and vegetables. Each food display area displays the food icon and name of the corresponding category. The right area includes recommended recipe controls and food display areas corresponding to each storage room, such as refrigerator, temperature-changing room, freezer, etc. Each food display area displays the corresponding food icon and name. In addition, Fig.17 The right area of the food management interface shown also includes a custom area, which is used to display new food in the refrigerator that the user has not partitioned and classified. Fig.17 In the food management interface shown, all the food in the refrigerator identified by RFID tags are displayed.
[0156] The display shows Fig.17 In the food management interface shown, the user can click on the custom area to trigger the partitioning and classification operation process of the food in the custom area.
[0157] Exemplarily, in response to a user clicking on a custom area, the following is displayed: Fig.18 The virtual storage interface shown in the figure displays the food information to be stored in the partitions and the storage room options that can be allocated, as well as related function controls, such as "OK", "Cancel", etc. The user can realize the partition storage of the food in the custom area by operating the controls in the virtual storage interface.
[0158] It can be seen from the above embodiments that although the above embodiments can realize the zoning management of ingredients, the user needs to operate each newly added ingredient in the refrigerator one by one, the refrigerator has a low level of intelligent management of ingredients, and the user experience is poor.
[0159] The following will introduce in detail the embodiments that can further improve the intelligent management capabilities of refrigerators and enhance user experience.
[0160] In some embodiments, the local data includes identification information of multiple RFID tags and corresponding food information. These RFID tags are divided into first-class RFID tags and second-class RFID tags according to whether each RFID tag is currently placed in the storage room or has been moved out of the storage room, wherein the first-class RFID tag refers to the RFID tag currently placed in the storage room, and the second RFID tag refers to the RFID tag currently moved out of the storage room.
[0161] In some embodiments, the RFID tag is judged as a first-class RFID tag or a second-class RFID tag according to the third attribute value of the RFID tag, that is, the third attribute value of the first-class RFID tag is different from that of the second-class RFID tag. Exemplarily, the third attribute value of the first-class RFID tag is 0, and the third attribute value of the second-class RFID tag is 1.
[0162] It should be noted that the role of the third attribute value is to distinguish between the first category RFID tags and the second category RFID tags. The present application does not limit the specific form of the third attribute value. It can be different status marks of the first category RFID tags and the second category RFID tags, such as the first category RFID tags are marked as stored in the state, and the second category RFID tags are marked as removed. It can also be different storage paths corresponding to the first category RFID tags and the second category RFID tags, such as the identification information of the first category RFID tags is stored in the first table, and the identification information of the second category RFID tags is stored in the second table, and so on.
[0163] In addition, each RFID tag has a first attribute value, which is used to represent the storage room that is 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 pre-associated with the refrigerator. If the first attribute value of an RFID tag = 1, it means that the RFID tag has been pre-associated with the freezer... When the user uses the RFID tag to identify the food, the user should select the corresponding RFID tag according to the storage room where the food should be placed. For example, since "apple" should be placed in the refrigerator, the user should select the RFID tag that is pre-associated with the refrigerator to identify "apple". It should be noted that in order to facilitate the user 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 an RFID tag associated with the refrigerator, a green RFID tag can be used as an RFID tag associated with the freezer, and so on.
[0164] Based on this, the controller of the refrigerator is configured to: obtain the food information corresponding to the first type of RFID tag from local data to obtain a first information set; then display the food management interface according to the first information set, and the food management interface includes food display areas corresponding to the number of storage rooms, and each food display area displays food controls generated according to the food information, wherein the food controls corresponding to the RFID tags with the same first attribute value are displayed in the same food display area.
[0165] In a specific implementation, the controller can determine the first type of RFID tag according to the third attribute value of all locally stored RFID tags; obtain the food information corresponding to the first type of RFID tag according to the identification information of the first type of RFID tag, and obtain the first information set.
[0166] In the above embodiment, since the first attribute value of the RFID tag represents the storage room associated with the RFID tag, the food controls corresponding to the RFID tags with the same first attribute value are displayed in the same food display area, and the food controls corresponding to the RFID tags with different first attribute values are displayed in different food display areas. That is, the food controls of the food in the same storage room are displayed in the same food display area, thereby realizing the automatic partitioning process of the food, without the user having to operate each new food added to the refrigerator one by one, thereby improving the intelligent management level of the refrigerator for the food and enhancing the user experience.
[0167] Fig.19 This is an example of an ingredient management interface shown in this application. Fig.19 As shown, the food management interface includes three food display areas, namely, a food display area corresponding to the refrigerating room, a food display area corresponding to the wide greenhouse, and a food display area corresponding to the cold storage room. Each food display area displays food controls corresponding to the food in the corresponding storage room.
[0168] In some embodiments, the first attribute value of the RFID tag may be an attribute value stored in local data corresponding to 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.
[0169] In other embodiments, the first attribute value of the RFID tag is specifically a code segment of the label code of the RFID tag. The label code of the RFID tag can be identified by the RFID detection module, and the code segment with the first attribute value can be parsed according to the composition rules of the label code to obtain the first attribute value of the RFID tag.
[0170] 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 "012345678220123456782201234567", it can be known that the first attribute value of the RFID tag is "4".
[0171] Based on this, the controller of the refrigerator is further configured to: for each first-class RFID tag obtained, obtain the tag code of the first-class RFID tag from the local data; intercept the first code segment used to write the first attribute value of the first-class RFID tag from the tag code to obtain the first attribute value of the first-class RFID tag; determine the target storage room associated with the first-class RFID tag according to the first attribute value; determine the target food display area corresponding to the target storage room; and draw the food control corresponding to the first-class RFID tag in the target food display area.
[0172] In some embodiments, each ingredient control includes, in addition to an ingredient icon, an ingredient name, and a freshness indicator, an explicit label indicator to prompt the user which ingredients corresponding to the ingredient controls are ingredients identified by RFID tags.
[0173] In some embodiments, the explicit labels of the food controls in the same food display area are drawn in the same color, and the explicit labels of the food controls in different food display areas are drawn in different colors. In this way, the user can determine the storage room where the food is located according to the color of the explicit label.
[0174] Fig. 20 This is a schematic diagram of a food control according to an exemplary embodiment of the present application. Fig. 20 As shown, the ingredient control includes an ingredient icon 2101 , an ingredient name 2102 , a freshness indicator 2103 , and an explicit label indicator 2104 . Fig.21 Another food control schematic diagram shown in an exemplary embodiment of the present application is Fig. 20 The ingredient controls shown are different in that Fig. 20 The explicit label identification in Fig.21 The colors of the explicit labels in the .
[0175] As mentioned above, in order to facilitate users to distinguish the storage room associated with each RFID tag, the RFID tag entities associated with different storage rooms can 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 control in the same ingredient display area is drawn in the same color, and the explicit label identification of the ingredient control in different ingredient display areas is drawn in different colors. In this way, the user can select the RFID tag associated with the specified storage room to identify the ingredients in the specified storage room according to the color of the explicit label identification of the ingredient control in the ingredient display area corresponding to the specified storage room.
[0176] In some embodiments, each RFID tag also has a second attribute value, which is pre-assigned to a color value to represent the color of the explicit label identifier corresponding to the explicit label identifier, that is, the explicit label identifiers of the food control corresponding to the RFID tags with the same second attribute value are drawn as the same color, and the explicit label identifiers of the food control corresponding to the RFID tags with different second attribute values are drawn as 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 identifier representing the RFID tag should be drawn as red, if the second attribute value of the RFID tag = 1, the color of the explicit label identifier representing the RFID tag should be drawn as green, and so on.
[0177] In some embodiments, the first attribute value of the RFID tag with the second attribute value representing the first color represents the refrigerator compartment, the first attribute value of the RFID tag with the second attribute value representing the second color represents the freezer compartment, and the first attribute value of the RFID tag with the second attribute value representing the third color represents the variable temperature chamber. In this way, in the displayed food management interface, the explicit label identification of the food controls in the food display area corresponding to the refrigerator compartment is displayed in the first color, the explicit label identification of the food controls in the food display area corresponding to the freezer compartment is displayed in the second color, and the explicit label identification of the food controls in the food display area corresponding to the variable temperature chamber is displayed in the third color.
[0178] 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.
[0179] In other embodiments, the second attribute value of the RFID tag is specifically a code segment of the label code of the RFID tag. The label code of the RFID tag can be identified by the RFID detection module, and the code segment with the second attribute value can be parsed according to the composition rules of the label code to obtain the second attribute value of the RFID tag.
[0180] 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 "012345678220123456782201234567", the second attribute value of the RFID tag is "5".
[0181] Based on this, the controller of the refrigerator is further configured as follows: for each first-class RFID tag, extract the second code segment used to write the second attribute value of the first-class RFID tag from its tag code to obtain the second attribute value of the first-class RFID tag; determine the target color value corresponding to the second attribute value according to the second attribute value; when generating the corresponding ingredient control according to the ingredient information corresponding to the first-class RFID tag, draw the explicit label logo of the ingredient control according to the target color value.
[0182] In some embodiments, the controller of the refrigerator is further configured to: detect the switch signal of the door through the detector connected thereto, and when all the doors are detected to be closed (for example, each time the closing signal of the door is detected, it is determined whether all the doors are closed according to the recorded state of each door, and if all the doors are closed, it is deemed that all the doors are detected to be closed), obtain the zeroth information set, which includes the identification information of all the RFID tags in the storage chamber that are newly identified; determine the latest RFID tag removed by comparing the zeroth information set with the first information set; modify the third attribute value of the latest RFID tag removed to mark the latest RFID tag removed as a second-class RFID tag, and the second-class RFID tag is an RFID tag that has currently been removed from the storage chamber. And, determine the latest RFID tag placed in 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 consisting of the identification information of the second-class RFID tags stored locally; modify the third attribute value of the latest RFID tag placed in to mark the latest RFID tag placed in as a first-class RFID tag.
[0183] The first information set includes identification information of the first type of RFID tag and corresponding food information.
[0184] Specifically, the RFID tag that is most recently removed is an RFID tag whose identification information does not exist in the zeroth information set but exists in the first information set.
[0185] It should be noted that the method of modifying the third attribute value varies depending on the specific form of the third attribute value, and this application does not limit this.
[0186] In some embodiments, the controller of the refrigerator is further configured to update the food management interface according to the latest first information set when a first-class RFID tag is added, a second-class RFID tag is added, or the food information corresponding to the first-class RFID tag is updated. Updating the food management interface according to the latest first information set is similar to the specific implementation method of displaying the food management interface according to the first information set in the aforementioned embodiment, which will not be repeated here.
[0187] According to the above embodiment, the embodiment of the present application also provides a method for displaying an ingredient management interface. The method is applied to the refrigerator provided in the above embodiment. The execution subject of the method includes but is not limited to the controller of the refrigerator. Fig. 22 This is a flow chart of a method for displaying a food management interface according to an exemplary embodiment of the present application, as shown in FIG. Fig. 22 As shown, the method may include:
[0188] Step 2201, obtaining a first information set, the first information set including food information corresponding to at least one first-type RFID tag, the first-type RFID tag is an RFID tag currently placed in the storage room, and the RFID tag is used to identify the food in the storage room.
[0189] In some embodiments, a first type of RFID tag is determined based on the third attribute value of all locally stored RFID tags, where the third attribute value represents whether the RFID tag is currently placed in the storage room; food information corresponding to the first type of RFID tag is obtained based on the identification information of the first type of RFID tag to obtain a first information set.
[0190] In some embodiments, when it is detected that all the 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 storage room that are most recently identified; by comparing the zeroth information set with the first information set, the RFID tag that has been most recently removed is determined; the third attribute value of the RFID tag that has been most recently removed is modified to mark the RFID tag that has been most recently removed as a second-category RFID tag, and the second-category RFID tag is an RFID tag that has currently been moved out of the storage room; by comparing the zeroth information set with the first information set and the second information set, the RFID tag that has been most recently placed in is determined, and the second information set is an information set composed of the identification information of the second-category RFID tags that are locally stored; the third attribute value of the RFID tag that has been most recently placed in is modified to mark the RFID tag that has been most recently placed in as a first-category RFID tag.
[0191] Step 2202, displaying an ingredient management interface based on the first information set, the ingredient management interface including at least one ingredient display area, wherein ingredient controls generated based on the ingredient information are displayed in the ingredient display area, wherein ingredient controls corresponding to RFID tags with the same first attribute value 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, the first attribute value representing a storage room associated with the RFID tag.
[0192] In some embodiments, a tag code of each first-class RFID tag is obtained, the tag code including a first code segment for writing a first attribute value of the RFID tag; a target storage room associated with the first-class RFID tag is determined based on the first attribute value; a target food display area corresponding to the target storage room is determined; and an food control corresponding to the first-class RFID tag is drawn in the target food display area.
[0193] In some embodiments, the ingredient controls include explicit label identifiers, and 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.
[0194] 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 are pre-assigned to different color values.
[0195] In some embodiments, a 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 an ingredient control corresponding to the first type of RFID tag, an explicit label identifier of the ingredient control is drawn according to the target color value.
[0196] In a specific implementation, the present application further provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment of the method for displaying the food management interface provided in the present application. The storage medium may be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).
[0197] Those skilled in the art can clearly understand that the technology in the embodiments of the present application can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application or some parts of the embodiments.
[0198] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the method embodiment, since it is basically similar to the refrigerator embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.
[0199] The above-described embodiments of the present application do not constitute a limitation on the protection scope of the present application.
Claims
1. A refrigerator, characterized in that: The refrigerator comprises: A box body, with a storage room inside; A box door, arranged at the opening of the storage room; A display screen, provided on the door, for displaying a food management interface; Controller for: Acquire food information corresponding to each food in the storage room, wherein the food information at least includes the name of the food; The ingredient management interface is displayed according to the ingredient information corresponding to each ingredient, and the ingredient management interface includes an ingredient icon generated according to the ingredient information corresponding to each ingredient, wherein when there is a preset icon material corresponding to the ingredient name, the ingredient icon is generated according to the preset icon material, and when there is no preset icon material corresponding to the ingredient name, the ingredient icon is generated according to the ingredient name.
2. The refrigerator according to claim 1, characterized in that: When there is no preset icon material corresponding to the ingredient name, generating the ingredient icon according to the ingredient name includes: The ingredient name is drawn in a designated area in the first layer, the designated area is an area corresponding to the display area of the ingredient icon, and the layout of the text contained in the ingredient name in the designated area conforms to a preset layout rule.
3. The refrigerator according to claim 2, characterized in that: The food information also includes food categories; when there is no preset icon material corresponding to the food name, generating the food icon according to the food name, further includes: Obtaining a target RGB value corresponding to the food category, where different food categories correspond to different RGB values; The color of the designated area in the second layer is drawn according to the target RGB value, and the second layer is below the first layer.
4. The refrigerator according to claim 2 or 3, characterized in that: Drawing the name of the food in the designated area of the first layer includes: Obtaining display area information of the food icon, and determining the designated area in the first layer; Determine layout information of the ingredient name in the designated area according to a preset layout rule and the number of characters contained in the ingredient name, wherein the layout information includes the size of each character and the position in the designated area; Drawing each character in the ingredient name in the designated area of the first layer according to the layout information of the ingredient name in the designated area; If the ingredient name contains a character, the designated area is designated as the drawing area of the character, and the drawing position of the character in the designated area is the center position of the designated area; the size of the character is determined according to the preset layout rule to be the size corresponding to the length of the drawing area.
5. A method for displaying a food material management interface, characterized in that: The method comprises: Obtaining food information corresponding to each food in the refrigerator, wherein the food information at least includes the name of the food; An ingredient management interface is displayed according to the ingredient information corresponding to each ingredient, and the ingredient management interface includes an ingredient icon generated according to the ingredient information corresponding to each ingredient, wherein when there is a preset icon material corresponding to the ingredient name, the ingredient icon is generated according to the preset icon material, and when there is no preset icon material corresponding to the ingredient name, the ingredient icon is generated according to the ingredient name.
6. The method according to claim 5, characterized in that When there is no preset icon material corresponding to the ingredient name, generating the ingredient icon according to the ingredient name includes: The ingredient name is drawn in a designated area in the first layer, the designated area is an area corresponding to the display area of the ingredient icon, and the layout of the text contained in the ingredient name in the designated area conforms to a preset layout rule.
7. The method according to claim 6, characterized in that The food information also includes food categories; when there is no preset icon material corresponding to the food name, generating the food icon according to the food name, further includes: Obtaining a target RGB value corresponding to the food category, where different food categories correspond to different RGB values; The color of the designated area in the second layer is drawn according to the target RGB value, and the second layer is below the first layer.
8. The method according to claim 6 or 7, characterized in that: Drawing the name of the food in the designated area of the first layer includes: Obtaining display area information of the food icon, and determining the designated area in the first layer; Determine layout information of the ingredient name in the designated area according to a preset layout rule and the number of characters contained in the ingredient name, wherein the layout information includes the size of each character and the position in the designated area; Drawing each character in the ingredient name in the designated area of the first layer according to the layout information of the ingredient name in the designated area; If the ingredient name contains a character, the designated area is designated as the drawing area of the character, and the drawing position of the character in the designated area is the center position of the designated area; the size of the character is determined according to the preset layout rule to be the size corresponding to the length of the drawing area.
Citation Information
Patent Citations
Electric product
CN103712410A
Food material updating method and storage equipment
CN110245725A