Food material storage equipment and ordering method of food material library and menu
Patent Information
- Application Number
- CN202280092233.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-03-03
- Filing Date
- 2022-12-21
- Publication Date
- 2024-10-01
AI Technical Summary
Existing food storage devices cannot dynamically adjust the food library and popular recipes based on the user's location information and language usage habits. This increases the difficulty of adjustment, especially when the food library data is large and needs to be updated.
By introducing displays, communicators and controllers into food storage devices, the user's location information and language usage information are obtained, and the display of food libraries and recipes is dynamically adjusted based on preset sorting rules, including using country codes and food display codes to sort food. Display control, and optimize the display of ingredients and recipes through heat value calculation and sorting rules.
It realizes the dynamic adjustment of the ingredient library and recipes, improves the user experience, automatically switches the ingredient library and recommended recipes according to location and language habits, adapts to different food cultures, simplifies user operations, and improves the efficiency of food management.
Smart Images

Figure CN118742894A_ABST
Abstract
Description
Food storage device and food library and recipe sorting method
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to Chinese patent application No. 202210204720.4, filed on March 3, 2022, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present application relates to the technical field of food storage equipment, and in particular to food storage equipment and a method for sorting food libraries and recipes. Background Art
[0004] Food storage devices can provide users with intelligent food recommendations, management, and storage, as well as recipe recommendations and multi-functional cooking features. For example, a food storage device can push a food library to a user and display the ingredients in the library on the food storage device's display. In actual usage scenarios, due to the varying preferences and dietary habits of different users, it would be ideal to dynamically adjust the display of food library ingredients and popular recipe recommendations based on the user's selected food storage device's location and language usage.
[0005] However, current food storage devices cannot dynamically adjust the food library and popular recipes based on the location of the food storage device and the user's language. Furthermore, the food library typically has a large amount of data, and to facilitate user use, the food library is frequently updated. This also increases the difficulty of dynamically adjusting the food library and popular recipes based on the location of the food storage device and the user's language.
[0006] Summary of the Invention
[0007] An embodiment of the present application provides a food storage device, comprising: a display for displaying a user interface; a communicator for communicating with a server; a controller connected to the display and the communicator, the controller being configured to: obtain current location information and / or language usage information of the food storage device, wherein the location information and the language usage information represent the user's eating habits; based on the location information and / or the language usage information, display the food sorting according to preset sorting rules; and when the location information and / or the language usage information changes, update the food sorting according to the changed location information and / or language usage information.
[0008] An embodiment of the present application provides a method for sorting an ingredient library and recipes for an ingredient storage device, comprising: obtaining current location information and / or language usage information of the ingredient storage device, wherein the location information and the language usage information represent the user's eating habits; based on the location information and / or the language usage information, displaying the ingredient sorting according to preset sorting rules; and when the location information and / or the language usage information changes, updating the ingredient sorting according to the changed location information and / or language usage information. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] FIG1A is a perspective view of a food storage device according to an exemplary embodiment of the present application;
[0010] FIG1B is a schematic diagram of the appearance of a food storage device according to an exemplary embodiment of the present application;
[0011] FIG2 is a schematic diagram of a hardware configuration of a food storage device according to an exemplary embodiment of the present application;
[0012] FIG3 is a schematic diagram of a food storage device provided in an embodiment of the present application;
[0013] FIG4 is a schematic diagram showing an ingredient display code according to an embodiment of the present application;
[0014] FIG5 is a schematic diagram of an ingredient display judgment process according to an embodiment of the present application;
[0015] FIG6 is a schematic diagram of the food display effect provided in an embodiment of the present application;
[0016] FIG7 is a schematic diagram of an interactive process for obtaining a food popularity list according to an embodiment of the present application;
[0017] FIG8 is a flow chart of a heat value calculation method provided in an embodiment of the present application;
[0018] FIG9 is a schematic diagram of a heat value calculation rule provided in an embodiment of the present application;
[0019] FIG10 is a schematic diagram showing the effect of sorting food ingredients by heat value according to the first sorting rule provided in an embodiment of the present application;
[0020] FIG11 is a schematic diagram showing the effect of sorting food ingredients by heat value according to the second sorting rule provided in an embodiment of the present application;
[0021] FIG12 is a schematic diagram of the food display logic when a user changes the location information and language usage information of a food storage device according to an embodiment of the present application;
[0022] FIG13 is a schematic diagram of an interactive process for obtaining recipes that need to be recommended based on country code and language usage information provided in an embodiment of the present application. DETAILED DESCRIPTION
[0023] To make the purpose, scheme and advantages of this application clearer, the technical solution of this application will be clearly and completely described below in conjunction with the specific embodiments of this application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this application, not all of them.
[0024] FIG1A is a three-dimensional diagram of a food storage device according to an exemplary embodiment of the present application. The shape of the food storage device 100 provided in the embodiment of the present application is approximately a rectangular parallelepiped. The food storage device 100 is defined by a storage chamber 101 providing a limited storage space and a door 200 provided at the opening of the storage chamber. The storage chamber 101 is a box with an opening. In the example shown in FIG1A , the storage chamber 101 includes a freezer chamber 101A located below and a refrigerator chamber 101B located above. The freezer chamber 101A and the refrigerator chamber 101B each have one or more independent storage spaces, such as a drawer-type compartment included in the freezer chamber 101A, and a plurality of storage compartments included in the refrigerator chamber 101B, and the top lighting is located inside the storage compartment.
[0025] In the example shown in Figure 1A, a plurality of drawer-type compartments are covered by drawer-type cabinet doors 200A. The refrigeration chamber 101B is divided into a left side and a right side, and the left side and the right side are respectively covered by cabinet doors 200B pivotally mounted on the cabinet body.
[0026] It should be noted that Figure 1A is an example of an embodiment of the present application, and the food storage device shown therein does not constitute a limitation on the food storage device provided in the present application. For example, in another embodiment of the present application, the food storage device housing is divided into a left side and a right side, with the left side housing being defined as a freezer compartment and the right side housing being defined as a refrigerator compartment, and both the freezer compartment and the refrigerator compartment being coverable by doors pivotally mounted on the housing. For another example, in another embodiment of the present application, the storage compartment includes a refrigerator compartment, a freezer compartment, and a temperature-changing chamber.
[0027] Based on the food storage device provided in the above embodiment, by arranging a display on the outside of the food storage device box, the food storage device can have a display function.
[0028] FIG1B is a schematic diagram illustrating the appearance of a food storage device according to an exemplary embodiment of the present application. As shown in FIG1B , a display is provided on the refrigerator door, embedded in the door body. A tag reading area is provided below the display on the refrigerator door. The tag reading area includes an antenna for reading radio frequency identification (RFID) tags, thereby identifying RFID tags at close range.
[0029] In some embodiments, the plane where the display screen of the display is located is flush with the outer surface of the door.
[0030] FIG2 is a schematic diagram of the hardware configuration of a food storage device according to an exemplary embodiment of the present application. As an example, the food storage device 200 may include a display 210, a controller 220, multiple antennas 230 for detecting RFID tags, a detector 240, a memory 250, a communicator 260, and several user input interfaces. The display 210, antenna 230, detector 240, and memory 250 are coupled to the controller 220 via a communication interface. The display 210 is used to receive image signals output by the controller 220, display video content and images, and display a menu control interface component, as well as display a user interface (UI) for controlling the food storage device 200.
[0031] The controller 220 may include one or more processing units, such as a system on a chip (SoC), a central processing unit (CPU), a microcontroller (MCU), a storage controller, etc. The different processing units may be independent devices or integrated into one or more processors.
[0032] In some embodiments, the controller 220 communicates with the antenna 230 via a serial port.
[0033] In some embodiments, the controller 220 includes an RFID module. The RFID module, antenna 230 and RFID tag constitute an RFID reading and writing system. The antenna 230 is used to transmit radio frequency signals between the RFID module and the RFID tag. The RFID module completes the reading and writing operations of the RFID tag through the antenna 230.
[0034] In some embodiments, the RFID module communicates with the antenna via a serial port.
[0035] The memory 250 may include one or more storage units, such as volatile memory, such as dynamic random access memory (DRAM) and static random access memory (SRAM); and non-volatile memory (NVM), such as read-only memory (ROM) and flash memory. The different storage units may be independent devices or integrated or packaged into one or more processors or communication interfaces to become part of the processors or communication interfaces.
[0036] The memory 250 stores program instructions and applications, such as voice applications. The controller 220 can call the program instructions in the memory 250 or run the application to enable the food storage device to perform related methods, such as the food label scanning method provided in the embodiment of the present application.
[0037] Detector 240 includes at least a sound collector, such as a microphone, for receiving user voice. Exemplarily, this includes voice signals conveying user control commands for controlling food storage device 200. Detector 240 may also include a door status sensor, such as a magnetic or mechanical switch, for detecting the switch signals of each door. The detected switch signals are used to record the door's switch status and transmit the switch status information to controller 220.
[0038] The user input interface includes at least one of a microphone, a touchpad, a sensor, a button, or other input interfaces.
[0039] The communicator 260 is used to communicate with a server or a terminal device in a local area network.
[0040] In some embodiments, the power of the antennas installed in different storage compartments can be different. Furthermore, the power of the antennas in each storage compartment only needs to be sufficient to ensure that the antenna can recognize the food in its own compartment, thereby avoiding excessive power that increases the false recognition rate and insufficient power that causes incomplete recognition of the food in its own compartment.
[0041] In some embodiments, the antenna disposed under the tag reading area is referred to as a first antenna, and the antenna disposed in the storage compartment is referred to as a second antenna.
[0042] Based on the food storage device provided in the embodiments of the present application, RFID tags can be used to identify food in the storage chamber. The tag information (such as the tag identifier) of the RFID tag corresponds to the food information of the food it identifies, thereby realizing a virtual association between the RFID tag and the food information. In actual applications, food with RFID tags attached is stored in the food storage device. The second antenna is used to detect the RFID tags in the storage chamber to obtain their tag information. The food identified by the tag is determined based on the association between the tag information and the food information.
[0043] In some embodiments, the tag information includes a tag code, and a specific code segment within the tag code is the tag identifier. By establishing a correspondence between the RFID tag identifier and the food information, a virtual association between the RFID tag and the food can be achieved. Furthermore, after obtaining the tag identifier of an RFID tag in a storage compartment, the food corresponding to the RFID tag can be determined based on the tag identifier and the pre-established correspondence.
[0044] In some embodiments, the controller 220 implements the food management function by running the food management application. The application interface provided by the food management application includes: a food management interface that can be used as the main interface of the application, a label editing interface for establishing an association between RFID tags and food information, a recipe display interface for displaying recommended recipe information, etc.
[0045] In some embodiments, in response to power-on or a user input of a food management application startup instruction, the controller 220 starts the food management application. After the food management application is started, the user can input a label editing instruction in the food management application.
[0046] In some embodiments, the food information includes one or more of a food identification document (ID), food name, storage location identification, food quantity, food expiration date, start time, etc. The storage room where the food is stored can be determined based on the storage location identification.
[0047] In some embodiments, the food information corresponding to the existing food in the storage chamber is stored in the local food information set. The existing food refers to the food currently stored in the food storage device.
[0048] In some embodiments, after the food management application is launched, the food information of the existing food is read from the local food information collection, for example, the information of the food whose storage status is "put in". Then, the food management interface is displayed based on the food information of the existing food. The food management interface includes food icons drawn according to the food information, so that the existing food in the food storage device is fully displayed in the form of icons, pictures, and text. In addition, the food management interface can also display various functional controls, such as RFID tag editing controls, food addition controls, recipe recommendation controls, etc., for the user to operate to trigger the controller 220 to implement corresponding functions.
[0049] Based on the food storage devices provided above, food storage devices have emerged. These devices offer intelligent control and food management. They can automatically switch between storage modes to ensure optimal food storage. Users can access the quantity and freshness information of food in the storage device anytime, anywhere via their phone or computer. They can also provide healthy recipes and nutritional recommendations, and remind users to restock their food regularly.
[0050] Food storage devices can provide users with intelligent food recommendations, intelligent management, and intelligent storage, as well as recipe recommendations and multi-functional cooking features. For example, a food storage device can push a food library to a user and display the ingredients in the library on the food storage device's display. In actual use cases, due to the varying preferences and dietary habits of different users, it would be ideal to dynamically adjust the display of food library ingredients and popular recipe recommendations based on the user's selected food storage device's location and language usage.
[0051] For example, pork cannot be displayed on the display screen of a food storage device in certain countries; for another example, if the location information of the food storage device is India, popular ingredients such as curry, onions, and potatoes can be displayed at the front of the food library; for another example, if the location information of the food storage device is Germany, but the language information selected by the user is Thai, it means that the user is very likely a Thai living in Germany, then some popular Thai ingredients and recipes can be recommended to the user to improve the user's satisfaction with the recommended ingredients and recipes.
[0052] However, current food storage devices are unable to dynamically adjust the food library and popular recipes based on the user's location and language. For example, some food storage devices only have an ingredient search function but no food library. Furthermore, some food storage devices, while having a food library, do not change the displayed ingredients when switching between libraries, meaning that switching between ingredients is impossible.
[0053] Furthermore, ingredient libraries typically contain large amounts of data. For example, existing libraries currently support hundreds of ingredients, and to facilitate user convenience, they will be expanded and updated over time. This also increases the difficulty of dynamically adjusting the ingredient library and popular recipes based on the location of the user's ingredient storage device and the user's language. This paper addresses the technical challenge of automatically switching between different ingredient libraries based on the location of the ingredient storage device and the user's language, and recommending popular recipes that are more in line with local culinary culture.
[0054] The embodiment of the present application provides a food storage device and a food library and recipe sorting method, which can dynamically switch the data display of the food library and recommended recipes according to the current location information of the food storage device and the user's language usage information.
[0055] Figure 3 is a schematic diagram of a food storage device provided in an embodiment of the present application. As shown in Figure 3, the food storage device may include a display, a communicator, and a controller. The display is used to display a user interface; the communicator is used to communicate with a server; and the controller is connected to the display and the communicator and is configured to perform the following steps:
[0056] Obtain the current location information and / or language usage information of the food storage device, wherein the location information and language usage information represent the user's eating habits; based on the location information and / or language usage information, display the food sorting according to a preset sorting rule; when the location information and / or language usage information changes, update the food sorting according to the changed location information and / or language usage information.
[0057] In an embodiment of the present application, there are multiple ways to obtain the current location information and / or language usage information of the food storage device, for example, it can be obtained from a server, it can be set in a menu, it can also be obtained through identification, etc., and the specific application is not limited. In an embodiment of the present application, the preset sorting rules can be pre-established according to the actual needs of the user, for example, they can include food sorting rules, recipe sorting rules, food display rules, etc.
[0058] In order to facilitate further understanding of the present application, the steps executed by the controller of the food storage device are described in detail below with reference to specific examples. In the present application, the current location information of the food storage device can be the country corresponding to the area of use where the food storage device is located. Each country can correspond to a unique country code, which is a unique identifier of the location information. In order to establish a correspondence between each country and the country code, a country mask can also be established for each country. The country mask corresponds one-to-one with the unique country code, that is, the country mask is also unique. In the present application, on the one hand, the country mask can establish a unique correspondence with the country code. On the other hand, the country mask can be used to indicate the display of food in a certain country. The food display is related to the user's diet and habits. The food information can be a code that can indicate the display of food. For example, for the sake of example and description, the food information in the present application can include a food display code.
[0059] It should be noted that the location information in this application is not limited to a certain country, that is, it does not only include the country code, country mask, etc., and the ingredient information is not limited to the ingredient display code, which is only for illustrative purposes.
[0060] The following takes the current location information of the food storage device as an example of a certain country, and explains in detail the display or hiding of certain ingredients in the food storage device, and the sorting of ingredients. It should be noted that in actual use, the "location information and / or language usage information" involved in this application can be used alone, such as only using location information, or only using language usage information, or a combination of the two methods. This application does not limit this. In the example process, for the situation of "location information and / or language usage information", it is possible that only one of them is listed, but this application is not limited to one of them. It is only for the purpose of describing the solution more clearly to facilitate further understanding of the solution.
[0061] In one implementation, ingredients in the food storage library can be displayed and hidden as follows. First, the country code for the food storage device's location information is obtained. When a user first uses the food storage device, the user sets the current country and region for the food storage device's location information. For example, the food storage device may be set with a default location information, such as Australia. If the user's location information is not Australia, the user can select the food storage device's location information by clicking and selecting it.
[0062] After selecting the location information, a unique country code will be generated for the country where the location information is located. This code will be stored in the food storage device system. The country code can be represented by the abbreviation of the English name of each country. For example, the country code for Australia can be AUS, the country code for Malaysia can be MYS, and the country code for the United Kingdom can be GBR.
[0063] In one implementation, ingredients can be displayed and sorted according to sorting rules by the following steps: obtaining ingredient information based on location information and / or language usage information; performing an AND operation on the location information and the ingredient information to obtain a result; adding ingredients that meet the sorting rules to the ingredient library based on the result, and displaying the ingredients. Obtaining ingredient information based on location information and / or language usage information may include the following steps: obtaining a pre-established mapping table for storing association information associated with the location information and / or language usage information; and setting the ingredient information based on the association information and the display of the ingredient in the location information.
[0064] After obtaining the country code of the food storage device location information, the country mask corresponding to the country code can be obtained according to a pre-established mapping table.
[0065] In order to distinguish each country and region, the embodiment of the present application obtains the country mask corresponding to the country code according to a pre-established mapping table, which is used to store the mapping relationship between the country code and the country mask.
[0066] In one implementation, the present application embodiment uses a binary format to express the meaning of the country code. Currently, the food storage device is planned to support 35 countries and regions. In some embodiments, 35 binary bits can be used to represent each country and region.
[0067] For ease of description, this binary number may be referred to as the country mask of the country. Of course, the present application is not limited to using binary numbers to express the country mask, and hexadecimal or other methods may also be used.
[0068] The mapping table stores the mapping relationship between country codes and country masks. Based on the generated country codes, a one-to-one mapping relationship can be established in the mapping table. The country mask can be expressed by appending a suffix to the unique country code. For example, the country code for Australia is AUS, and the country mask for that country can be represented in the mapping table as AUS_MASK.
[0069] The mapping table also stores the country code, country mask (e.g., hexadecimal or binary), and the meaning of the country code value, as shown in Table 1. For example, the country mask for Australia is 0x01 in hexadecimal format and 00001 in binary format (here and below, the omitted value of ... is 0).
[0070] Table 1 Mapping relationship between country code and country mask
[0071]
[0072] After the country code and country mask are determined, the ingredient display code can be set for the ingredient according to the display of the ingredient in the location information.
[0073] Based on how ingredients are displayed in different countries and regions, ingredient display codes can be set for each ingredient. Pre-defined rules can be used for the ingredient display code. In one implementation, both the country mask and the ingredient display code are encoded in binary format, with the country mask and the ingredient display code having the same number of bits. For example, the ingredient display code can be represented by a 35-bit binary number, with each bit being either 0 or 1, with 1 indicating display and 0 indicating non-display. If an ingredient needs to be displayed in a specific country, simply set the binary bit for that country to 1.
[0074] Figure 4 is a schematic diagram of the food display code provided by an embodiment of the present application. As shown in Figure 4, for example, if a certain food is only displayed in Malaysia and the United Kingdom, its display code is set to: ...00110 (the omitted value is 0).
[0075] After the ingredient code is determined, the country mask and the ingredient display code can be ANDed to obtain the result; based on the result, the ingredients that meet the preset rules are added to the ingredient library, where the preset rules are used to determine whether the location information displays the ingredients.
[0076] In actual usage scenarios, determining the ingredients that can be displayed on the food storage device display screen based on the country mask and the food display code can be achieved through the following steps: performing an AND operation on the country mask and the food display code to obtain an operation result; adding the ingredients that meet the preset rules to the food library based on the operation result, and the preset rules are used to determine whether the location information displays the ingredient; if the ingredient meets the preset rules, the ingredient is displayed on the food storage device display screen; if the ingredient does not meet the preset rules, the ingredient is hidden on the food storage device display screen. After the country mask and the food display code are determined, an AND operation (&) is performed on the country mask and the food display code to obtain an operation result, and based on the operation result, the ingredients that meet the preset rules (hereinafter also referred to as ingredients) are added to the food library. Among them, the preset rules can be pre-established, and the operation result is determined according to the preset rules; if the operation result meets the preset rules, the ingredient is displayed in the location information; if the operation result does not meet the preset rules, the ingredient is not displayed in the location information.
[0077] FIG5 is a schematic diagram of the ingredient display judgment process provided by an embodiment of the present application. As shown in FIG5, the preset rule can be that after the country mask and the ingredient display code are ANDed, the calculation result is first judged whether it is 0. As shown in FIG5, the ingredient display judgment process provided by the embodiment of the present application is as follows:
[0078] Step 500: Perform an AND operation on the country mask and the ingredient display code to obtain an operation result.
[0079] Step 501: Determine whether the operation result is 0. If so, execute step 502; if not, execute step 503.
[0080] Step 502: Do not add the ingredient.
[0081] In the embodiment of the present application, if the calculation result is determined to be 0 when executing step 501, indicating that the ingredient does not support display in the country or region, step 502 is executed and the ingredient is not added.
[0082] Step 503: Add the ingredient to the ingredient library list.
[0083] In an embodiment of the present application, if when executing step 501, it is determined that the calculation result is not 0, indicating that the ingredient supports display in this country, then step 503 is executed to add the ingredient to the ingredient library list and refresh the display on the ingredient storage device display screen.
[0084] For example, as mentioned above, if a certain ingredient is only displayed in Malaysia and the United Kingdom, its ingredient display code is ...00110. If the current location information of the ingredient storage device is set to Australia and its country mask is ...00001, the result of the AND operation of the country mask and the ingredient display code is (...00110) & (...00001) = 0. According to the preset rule, this ingredient will not be displayed on the ingredient storage device display screen in Australia.
[0085] Figure 6 is a schematic diagram of the food display effect provided by an embodiment of the present application. As shown in Figure 6, based on the above-mentioned preset rules, combined with the result of the AND operation of the country mask and the food display code, it is possible to calculate which food is displayed on the display screen of the food storage device and which is not, and display the display result on the display screen of the food storage device.
[0086] When a user changes the location of a food storage device, such as by changing the country code, the food storage device and backend services, such as the server, monitor changes to the country code. If the country code in the food storage device's location is updated, the server retrieves the country mask corresponding to the changed country code and updates the food library accordingly.
[0087] For example, when the user obtains the ingredient display, the background will log in to the ingredient database and obtain the updated country mask, thereby updating the display list of the ingredient library and refreshing the ingredient display on the display 210 of the ingredient storage device.
[0088] By performing an AND operation on the country mask (e.g., binary display) and the ingredient display code (e.g., binary display), the display of ingredients in the ingredient library automatically switches according to the location of the ingredient storage device. When a new ingredient is determined to be displayed in a specific country, that is, when updating the display of an ingredient in a specific country later, only the display value of the binary bit in the country mask of the ingredient is modified. This dynamically and efficiently controls the display or hiding of ingredients in the ingredient library.
[0089] In one implementation, displaying the order of ingredients according to preset sorting rules based on location information and / or language usage information can be achieved through the following steps: obtaining an ingredient popularity list in the ingredient library, the ingredient popularity list including ingredient ID values and popularity value fields; calculating the popularity value corresponding to each ingredient according to the location information and / or language usage information according to preset popularity value calculation rules, the popularity value calculation rules being used to formulate a method for calculating the popularity value of the ingredient; and sorting each ingredient according to the sorting rules and popularity values.
[0090] Sorting ingredients according to the sorting rules and popularity values may include the following steps: assigning the popularity value to the corresponding ingredient in the ingredient popularity list; and displaying and sorting the ingredients according to the sorting rules. Assigning the popularity value to the corresponding ingredient in the ingredient popularity list may include the following steps: traversing all ingredients in the ingredient popularity list; and accumulating the popularity value according to the ingredient ID value and assigning it to the corresponding ingredient in the ingredient popularity list.
[0091] After adding ingredients that meet the preset rules to the ingredient library, you can obtain the ingredient popularity list in the ingredient library based on the country code and the user's language usage information; the ingredient popularity list includes the ingredient ID value and the ingredient popularity value; the ingredient ID value is unique; the ingredient popularity value is used to reflect the popularity of the ingredient in the ingredient library.
[0092] Specifically, before obtaining the ingredient popularity list in the ingredient library according to the country code and the user's language usage information, the method further includes: identifying the user's language usage information, and uploading the country code and language to the server where the ingredient library is located.
[0093] In a specific implementation, as shown in FIG7 , when the ingredients in the ingredient library need to be displayed on the display screen of the ingredient storage device, the interaction process between the ingredient storage device and the server is as follows:
[0094] Step 700: The food storage device obtains the current location information of the food storage device and identifies the user's language usage information.
[0095] Step 701: The food storage device uploads location information and user language usage information to the server.
[0096] In the embodiment of the present application, when the food storage device requests the food library food heat value list from the server, step 701 is executed to upload the location information and the user's language usage information to the server.
[0097] Step 702: The server sends a food popularity list in the food library according to the country code and language usage information of the location information.
[0098] In the embodiment of the present application, the food popularity list may include a food ID value and a food popularity value. The food ID value is unique and is a unique identifier for the food; the food popularity value is used to reflect the popularity of the food in the food library.
[0099] In one implementation, a heat value field can be added to the ingredients in the food heat list. Table 2 shows the structure of the ingredients in the food heat list. As shown in Table 2, the food ID value can be the unique ID of the food, such as 001, 002, etc. The structure table also includes the food name, food heat value, etc.
[0100] The food heat value can be divided into several levels according to a prior agreement, for example, into 3 levels, and the values of the three levels are: 0, 1, and 2. The larger the food heat value, the closer the food is displayed in the food storage device display.
[0101] Table 2 Structure of ingredients in the ingredient popularity list
[0102] Ingredient unique ID Ingredient English name Ingredient heat value 001apple2002banana0
[0103] After obtaining the ingredient heat list, the corresponding heat value can be calculated for each ingredient based on the country code, language usage information and preset heat value calculation rules. The heat value calculation rules are used to formulate a calculation method for the ingredient heat value.
[0104] In some embodiments, the heat value of the ingredient defaults to a first value, and the controller is further configured to: filter out the corresponding first batch of popular ingredients based on the location information, and add the heat value of the first batch of popular ingredients to a first predetermined number; filter out the corresponding second batch of popular ingredients based on the language usage information, and add the heat value of the second batch of popular ingredients to a second predetermined number; accumulate the heat values of the first batch of popular ingredients and the second batch of popular ingredients to generate the corresponding heat value calculated for each ingredient.
[0105] The heat value of the food is determined based on the location information reported by the user and the language usage information of the user. In an embodiment of the present application, the default heat value of the food can be 0 (i.e., the first value is 0); the first predetermined quantity can be the same as the second predetermined quantity, for example, both can be 1.
[0106] FIG8 is a flow chart of a heat value calculation method provided by an embodiment of the present application. As shown in FIG8 , the corresponding heat value of each ingredient can be calculated according to the country code, language usage information, and preset heat value calculation rules in the following manner:
[0107] Step 800: Filter out the first batch of popular ingredients according to the country code, and increase the popularity value of the first batch of popular ingredients by 1; wherein, the first batch of popular ingredients are ingredients that meet the filtering conditions according to the country code.
[0108] Step 801: Filter out the corresponding second batch of popular ingredients based on the user's language usage information, and increase the popularity value of the second batch of popular ingredients by 1; wherein, the second batch of popular ingredients are ingredients that meet the filtering condition based on the user's language usage information.
[0109] Step 802: Accumulate the popularity values of the first batch of popular ingredients and the second batch of popular ingredients to generate a popularity value corresponding to each ingredient.
[0110] For specific implementation, see Figure 9, which is a schematic diagram of the heat value calculation rules provided by the embodiment of the present application. For example, if the user requests location information of Germany, but uses Thai as the language, the first batch of popular ingredients corresponding to Germany will be filtered out according to the country code of Germany, that is, all popular ingredients in Germany will be filtered out, and the corresponding heat values of the ingredients will be increased by 1. For example, the first batch of popular ingredients includes ingredient 1, ingredient 2, ingredient 3..., and the initial default heat value of the ingredients is 0. After the first batch of screening, the heat values of these ingredients are increased by 1, such as the heat values of ingredient 1, ingredient 2, and ingredient 3 all become 1.
[0111] After the first round of screening, the corresponding second batch of popular ingredients is screened out based on the user's language usage information. That is, if the user uses Thai, Thai popular ingredients are screened out, and the corresponding ingredient heat value is increased by 1. As shown in Figure 9, after the second round of screening, the second batch of popular ingredients includes ingredient 1, ingredient 4, ingredient 5..., so that the heat value of repeated ingredients will become 2. For example, if ingredient 1 appears in both the first and second rounds of screening, the heat value of ingredient 1 will become 2. The heat value of non-repeated ingredients screened out is 1. For example, if ingredient 2, ingredient 3, ingredient 4, and ingredient 5 all appear once, they are not repeated and the heat value is 1. The heat value of other ingredients that are not screened out remains the default value of 0.
[0112] In the process of sorting ingredients, the sorting rules may include a first sorting rule and a second sorting rule, and the controller may be configured to perform the following steps: sort the ingredients according to the first sorting rule and the second sorting rule in sequence, and display the sorting results; the first sorting rule is to sort the ingredients from high to low according to the heat value; the second sorting rule is to sort the ingredients with the same heat value in alphabetical order.
[0113] After the calculation of the heat value corresponding to each ingredient is completed, the heat value can be assigned to the corresponding ingredient in the ingredient heat list; the ingredients are sorted according to the first sorting rule and the second sorting rule in sequence, and the sorting results of the ingredients are displayed on the display screen of the ingredient storage device; the first sorting rule is to sort the ingredients from high to low according to the heat value; the second sorting rule is to sort the ingredients with the same heat value in alphabetical order.
[0114] After obtaining the ingredient's popularity value, we traverse the ingredient popularity list and assign the accumulated popularity value to the corresponding ingredient in the ingredient popularity list based on the ingredient ID value. In other words, based on the ingredient ID value, we assign the obtained ingredient's popularity value to the ingredient in the ingredient popularity list with the same ingredient ID value.
[0115] After the heat values of the ingredients in the food heat list are assigned, the ingredients can be sorted by heat value according to a certain sorting rule. For example, one sorting method can be to first sort the ingredients by heat value according to a first sorting rule, where the first sorting rule is to sort the ingredients by heat value from high to low.
[0116] Figure 10 is a schematic diagram illustrating the effect of sorting ingredients by popularity according to the first sorting rule provided by an embodiment of the present application. As shown in Figure 10, for example, if three ingredients have respective popularity values of: ingredient 1 with a popularity value of 0, ingredient 2 with a popularity value of 2, and ingredient 3 with a popularity value of 1, then after sorting according to the first sorting rule, ingredients with higher popularity values will be displayed closer to the front of the display screen of the ingredient storage device, for example, ingredient 2 will be displayed before ingredient 3. This allows users to intuitively see popular local ingredients, eliminating the need for users to filter by themselves and saving time.
[0117] The first sorting rule is to sort the ingredients by their heat value from high to low. It's easy to understand that ingredients with high heat values are ranked first, and conversely, ingredients with low heat values are ranked last. For example, there are three ingredients: apple, banana, and cantaloupe. Among them, the heat value of apple is 1, the heat value of banana is 0, and the heat value of cantaloupe is 2. It is easy to see that cantaloupe has the highest heat value. So, sorting by heat value from high to low, the order of display of the three ingredients is: cantaloupe, apple, banana.
[0118] In order to avoid the problem of disorder in the sorting of ingredients with the same heat value, the present application also sorts the ingredients with the same heat value in alphabetical order for the second time, that is, sorts the ingredients with the same heat value in alphabetical order according to the second sorting rule.
[0119] Figure 11 is a schematic diagram illustrating the effect of sorting ingredients by heat value according to the second sorting rule provided in an embodiment of the present application. As shown in Figure 11, after the heat values of the ingredients are calculated, ingredients 2 and 4 have the same heat value, both of which are 2. Ingredients 3 and 5 have the same heat value, both of which are 1, resulting in a situation where different ingredients have the same heat value.
[0120] In response to the above situation, this application uses the second sorting rule to sort ingredients with the same heat value in alphabetical order. For example, the heat value of ingredient 2 and ingredient 4 is both 2, but ingredient 2 is apple and ingredient 4 is banana. The first letter of ingredient 2 is a and the first letter of ingredient 4 is 4. According to the alphabetical order, a comes first and b comes last. When displayed on the food storage device screen, ingredient 2 is displayed in front of ingredient 4, as shown in Figure 11. The final display result is displayed on the food storage device screen.
[0121] In actual use, there will be a situation where the first sorting rule and the second sorting rule are used in combination. At this time, the ingredients can be sorted according to the first sorting rule and the second sorting rule in sequence, and the sorting results of the ingredients are displayed on the ingredient storage device display screen.
[0122] In some embodiments, when location information and / or language usage information changes, the ingredient ranking can be updated based on the changed location information and / or language usage information, which can include the following steps: monitoring the location information and / or language usage information, and if the location information and / or language usage information changes, updating the ingredient ranking based on the changed location information and / or language usage information. Updating the ingredient ranking based on the changed location information and / or language usage information includes: recalculating the heat value corresponding to each ingredient based on the changed location information and / or language usage information; sorting the calculated heat values, and updating the ingredient ranking based on the heat value sorting result.
[0123] When a user changes the location and language information of a food storage device, the food storage device and backend services, such as a server, will also monitor changes in the country code and the user's language information. Figure 12 is a schematic diagram of the food display logic when a user changes the location and language information of a food storage device, as provided in an embodiment of the present application. As shown in Figure 12, the food storage device and backend services, such as a server, perform the following steps:
[0124] Step 1200: Monitor changes in country code and language usage information.
[0125] Step 1201: Determine whether there is a change. If so, execute step 1203; if not, execute step 1202.
[0126] It should be noted that before displaying the ingredients in order according to the preset ordering rules based on the location information and / or language usage information, the location information and / or language usage information may also be uploaded to the server to update the ingredient order based on the uploaded location information and / or language usage information.
[0127] Step 1202: Maintain the current food popularity list and food display results.
[0128] Step 1203: Re-acquire the food heat list.
[0129] Step 1204: recalculate the heat values corresponding to the ingredients according to the changed country code and language usage information, re-sort the heat values of the ingredients, and display the sorting results on the display screen of the ingredient storage device.
[0130] For example, when a user obtains an ingredient display, the background will log in to the ingredient database and obtain the updated country mask or the user's language usage information, thereby updating the display list and ingredient sorting of the ingredient library, and refreshing the ingredient display results on the display of the ingredient storage device.
[0131] By selecting the location information of the food storage device and obtaining the user's language usage information, the embodiment of the present application can calculate the heat value of the food in the food library and adjust the display order of the food in the food library and the food storage device according to the heat value results.
[0132] In some embodiments, the controller is further configured to display the recipes in a sorted order according to a preset sorting rule based on the location information and / or language usage information. In one implementation, the recipes can be sorted in a sorted order according to the location information and / or language usage information by the following steps: adding the location information and / or language usage information to the original filtering dimension of the recipe to generate a new filtering dimension; the filtering dimension is a condition for filtering the recipes; the recipes are sorted according to the new filtering dimension, and the recipe sorting result is displayed.
[0133] Still taking the location information as a country as an example, specifically, this application can also obtain recipes that need to be recommended based on the country code and language usage information. Figure 13 is a schematic diagram of the process of obtaining recipes that need to be recommended based on the country code and language usage information provided by an embodiment of this application. As shown in Figure 13, the recipes that need to be recommended can be obtained based on the country code and language usage information in the following manner. The interaction process between the food storage device and the server is as follows:
[0134] Step 1300: The food storage device uploads the country code and language usage information to the server where the recipe is located.
[0135] Step 1301: The server adds the country code and language usage information to the original filtering dimension of the recipe to generate a new filtering dimension.
[0136] Among them, the above-mentioned filtering dimensions are the conditions for filtering recipes.
[0137] Step 1302: The server sorts the recipes according to the new screening dimension, and generates recipes to be recommended based on the sorting results.
[0138] Step 1303: The server sends the recipe to the food storage device.
[0139] Step 1304: The food storage device displays the recipe on a display screen of the food storage device.
[0140] In previous recipe recommendations, recommendations were primarily based on the ingredients stored in the ingredient management system and their freshness. For example, certain fresh ingredients were prioritized for recommendation, while certain ingredients with low freshness or expired were not recommended or presented with a corresponding reminder. In addition to incorporating the aforementioned recommendation methods, the present embodiment can also retrieve recipes based on country code and language usage information.
[0141] As mentioned above, the location information of the food storage device is Germany. If the language selected by the user is Thai, it means that the user is very likely a Thai living in Germany. This application can also recommend some popular Thai dishes to the user to improve the user's satisfaction with the recommended recipes.
[0142] In specific implementation, after obtaining the country code of the current food storage device location information and the user's language usage information, when requesting the popular recommended recipe data of the current food storage device from the server, the country code and language usage information are uploaded to the server where the recipe is located, that is, the regional information and the language usage information are uploaded to the server together.
[0143] When the server fetches recipe information, it first filters the language's location information based on the user's language. It then adds the location of the food storage device and the user's language information to the existing filtering dimensions (such as ingredient freshness). This adds the country code and language information to the recipe's existing filtering dimensions, creating a new filtering dimension. The server then sorts the recipes according to the new filtering dimensions and generates recommended recipes based on the sorted results.
[0144] The filtering dimension is the condition for filtering recipes. For example, if the location information "Germany" and the language information "Thai" are uploaded to the server, the server will add the information of the two regions, Germany and Thailand, to the original filtering dimension when crawling the recipe data. The server will then filter out recipes from Germany and Thailand. The recipes will then be sorted based on the popularity of the recipes, the stored ingredients, and their freshness, and finally the recipes to be recommended will be obtained. The food storage device will then display the recommended recipes filtered by the server on the food storage device display.
[0145] When recommending recipes to users, embodiments of the present application add two new dimensions, location information and language usage information, to the existing recommendation dimensions. This allows for recommendations of popular recipes that are more in line with local culinary culture. In some embodiments, the controller of the food storage device can also monitor changes in location information and / or language usage information. When the location information and / or language usage information changes, the recipe ranking is updated based on the changed location information and / or language usage information, so that the food storage device displays the latest recipes and their ranking based on the changed location information and / or language usage information.
[0146] It can be seen from the above technical solution that the present application provides a method for sorting a food library and recipes, wherein the sorting of the food library and recipes includes: obtaining the current location information and / or language usage information of the food storage device, wherein the location information and language usage information represent the user's eating habits; based on the location information and / or language usage information, displaying the food sorting according to preset sorting rules; when the location information and / or language usage information changes, updating the food sorting according to the changed location information and / or language usage information.
[0147] The embodiment of the present application realizes the display function of the ingredients in the food library automatically switching with the location information and / or language usage information of the food storage device by performing AND operations on location information such as a country mask and food information such as a food display code. When a new ingredient is determined to be displayed in a certain country, that is, when the display of a certain ingredient in a certain country is updated later, it is only necessary to modify the display value of the binary bit of the ingredient in the country mask, thereby dynamically and efficiently controlling the display or hiding of ingredients in the food library. By obtaining the location information and / or language usage information of the food storage device, the embodiment of the present application can calculate the heat value of the ingredients in the food library, and adjust the display order of the ingredients in the food library and the food storage device display according to the heat value result. In addition, when recommending recipes to users, the embodiment of the present application adds two new dimensions of location information and language usage information to the original recommendation dimensions, so that popular recipes that are more in line with local food culture can be recommended to users. In summary, the present application can dynamically switch the ingredient library and recommended recipes based on the location information and / or language usage information of the ingredient storage device, thereby solving the problem that the current ingredient storage device cannot dynamically adjust the ingredient library and popular recipes based on the location information and / or language usage information of the ingredient storage device used by the user.
[0148] Based on the food storage device in the above embodiment, some embodiments of the present application further provide a method for sorting food libraries and recipes for the food storage device, including:
[0149] Acquiring current location information and / or language usage information of the food storage device, wherein the location information and the language usage information represent the user's eating habits;
[0150] Based on the location information and / or the language usage information, displaying the order of ingredients according to a preset ordering rule;
[0151] When the location information and / or the language usage information changes, the ingredient sorting is updated according to the changed location information and / or language usage information.
[0152] For ease of explanation, the above description has been presented in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations are possible. The above embodiments have been selected and described to better explain the principles and practical applications, thereby enabling those skilled in the art to better utilize the embodiments and various variations of the embodiments suitable for specific use considerations.
Claims
1. A food storage device, comprising: a display for displaying a user interface; A communicator for communicating with the server; A controller is connected to the display and the communicator, and is configured to: Acquiring current location information and / or language usage information of the food storage device, wherein the location information and the language usage information represent the user's eating habits; Based on the location information and / or the language usage information, displaying the order of ingredients according to a preset ordering rule; When the location information and / or the language usage information changes, the ingredient sorting is updated according to the changed location information and / or language usage information.
2. The food storage device according to claim 1, wherein when the step of displaying the food sorting according to a preset sorting rule based on the location information and / or the language usage information is executed, the controller is specifically configured to: Get the ingredient popularity list in the ingredient library, which contains the ingredient ID value and the popularity value field; Calculating the heat value corresponding to each ingredient according to the location information and / or the language usage information according to a preset heat value calculation rule, wherein the heat value calculation rule is used to formulate a method for calculating the heat value of the ingredient; The ingredients are sorted according to the sorting rules and the heat values.
3. The food storage device according to claim 2, wherein when performing the step of sorting the ingredients according to the sorting rule and the heat value, the controller is specifically configured to: Assigning the heat value to the corresponding ingredient in the ingredient heat list; The ingredients are displayed and sorted according to the sorting rules.
4. The food storage device according to claim 3, wherein when assigning the heat value to the corresponding food in the food heat list, the controller is specifically configured to: Traverse all ingredients in the ingredient popularity list; The heat value is accumulated and assigned to the corresponding ingredient in the ingredient heat list according to the ingredient ID value.
5. The food storage device according to claim 3, wherein when displaying and sorting the food according to the sorting rule, the controller is specifically configured to: Acquiring food information according to the location information and / or the language usage information; Performing an AND operation on the location information and the food information to obtain an operation result; According to the calculation result, the ingredients that meet the sorting rule are added to the ingredient library, and the ingredients are displayed.
6. The food storage device according to claim 5, wherein when performing the step of acquiring food information according to the location information and / or the language usage information, the controller is specifically configured to: Obtaining a pre-established mapping table, wherein the mapping table is used to store association information associated with the location information and / or the language usage information; The ingredient information is set according to the association information and the display of the ingredient in the location information.
7. The food storage device according to claim 5, wherein the location information and the food information are both in binary coding form, and the location information and the food information have the same display code bit number.
8. The food storage device according to claim 1, wherein the sorting rule comprises a first sorting rule and a second sorting rule, and the controller is further configured to: The ingredients are sorted according to the first sorting rule and the second sorting rule in sequence, and the sorting results are displayed; the first sorting rule is to sort the ingredients from high to low according to the heat value; the second sorting rule is to sort the ingredients with the same heat value in alphabetical order.
9. The food storage device according to claim 1, wherein when the location information and / or the language usage information changes, the controller is configured to update the food sorting according to the changed location information and / or language usage information: monitoring the location information and / or the language usage information, If the location information and / or the language usage information changes, the ingredient sorting is updated according to the changed location information and / or language usage information.
10. The food storage device according to claim 9, wherein the controller is configured to update the food sorting according to the changed location information and / or language usage information: Recalculate the heat value corresponding to each ingredient according to the changed location information and / or language usage information; The calculated heat values are sorted, and the food order is updated according to the sorting result of the heat values.
11. The food storage device according to claim 1 , before displaying the food sorting according to the location information and / or the language usage information in accordance with a preset sorting rule, the controller is further configured to: The location information and / or the language usage information is uploaded to the server.
12. The food storage device according to claim 1, wherein the food heat value defaults to a first value, and the controller is further configured to: Filtering out a first batch of corresponding popular ingredients according to the location information, wherein the heat value of the first batch of popular ingredients is increased by a first predetermined amount; Filtering a corresponding second batch of popular ingredients according to the language usage information, wherein the popularity value of the second batch of popular ingredients is increased by a second predetermined amount; The heat values of the first batch of popular ingredients and the second batch of popular ingredients are accumulated to generate the heat value corresponding to each ingredient.
13. The food storage device according to claim 1, wherein the controller is further configured to: The recipes are displayed in order according to the preset ordering rules based on the location information and / or the language usage information.
14. The food storage device according to claim 13, wherein when performing the step of displaying the recipes in the order of the preset ordering rules according to the location information and / or the language usage information, the controller is specifically configured to: Adding the location information and / or the language usage information to the original filtering dimension of the recipe to generate a new filtering dimension; the filtering dimension is a condition for filtering the recipe; The recipes are sorted according to the new filtering dimension, and the recipe sorting results are displayed.
15. The food storage device according to claim 13, wherein the controller is further configured to: monitoring changes in the location information and / or the language usage information; When the location information and / or the language usage information changes, the recipe sorting is updated according to the changed location information and / or language usage information.
16. A method for sorting a food library and recipes for a food storage device, the method comprising: Acquiring current location information and / or language usage information of the food storage device, wherein the location information and the language usage information represent the user's eating habits; Based on the location information and / or the language usage information, displaying the order of ingredients according to a preset ordering rule; When the location information and / or the language usage information changes, the ingredient sorting is updated according to the changed location information and / or language usage information.
