Food storage equipment, food database, and recipe sorting methods

By acquiring the geographical location and language usage information of the food storage device, and using binary operations and popularity value calculations, the display of the food database and recipes is dynamically adjusted. This solves the problem that food storage devices cannot be dynamically adjusted in existing technologies, and improves the accuracy and efficiency of food display and recipe recommendations.

CN114579855BActive Publication Date: 2025-10-31HISENSE VISUAL TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210204720.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-03
Publication Date
2025-10-31
Estimated Expiration
2042-03-03

AI Technical Summary

Technical Problem

Existing food storage devices cannot dynamically adjust the food database and popular recipes based on the location of the food storage device used by the user and the user's language usage information, and the large amount of data in the food database increases the difficulty of adjustment.

Method used

By acquiring the geographical location and language usage information of the food storage devices, the display of the food library and recipes is dynamically adjusted using preset sorting rules. The display or hiding of food is controlled by binary operations using country mask and food display code, and the popularity value of food is calculated and sorted according to location and language information.

Benefits of technology

It enables dynamic adjustments to the ingredient database and recipes, improving the accuracy of ingredient display and recommendations, meeting the dietary habits and cultural needs of different users, and simplifying the process of updating the ingredient database and recommending recipes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114579855B_ABST
    Figure CN114579855B_ABST
Patent Text Reader

Abstract

This application provides a food storage device, a food database, and a method for sorting recipes. In this embodiment, a bitwise AND operation is performed between location information (such as a country mask) and food information (such as a food display code) to automatically switch the display of foods in the food database according to the location and / or language information of the food storage device. When a new food item needs to be determined to be displayed in a particular country (i.e., when updating the display of a food item in a particular country), only the display value of the food item in the binary bits of the country mask needs to be modified, dynamically and efficiently controlling the display or hiding of foods in the food database. By obtaining the location information and / or language information of the food storage device, this embodiment can calculate the popularity value of the food items in the food database and adjust the display order of the food items in the food database and the display of the food storage device based on the popularity value result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of food storage equipment technology, and in particular to food storage equipment and methods for sorting food databases and recipes. Background Technology

[0002] Food storage devices can provide users with intelligent recommendations, management, and storage of ingredients, as well as recipe recommendations and multi-functional cooking capabilities. For example, a food storage device can push an ingredient library to the user and display the ingredients from that library on its screen. In practical applications, given the different preferences and dietary habits of various users, ideally, the display of ingredients and recommendations of popular recipes should be dynamically adjusted based on the geographical location of the selected food storage device and the user's language.

[0003] However, current food storage devices cannot dynamically adjust the food database and popular recipes based on the location of the user's food storage device and the user's language information. Moreover, food databases are typically large in size, and they are updated regularly to improve user experience, which further complicates the process of dynamically adjusting the food database and popular recipes based on the user's food storage device location and language information. Summary of the Invention

[0004] This application provides a food storage device and a method for sorting food databases and recipes to solve the problem that current food storage devices cannot dynamically adjust the food database and popular recipes based on the location information of the food storage device used by the user and the user's language usage information.

[0005] In a first aspect, this application provides a food storage device, comprising:

[0006] A monitor is used to display the user interface.

[0007] A communicator used to communicate with the server;

[0008] A controller, connected to the display and the communicator, is configured to:

[0009] The location information and / or language usage information of the food storage device are obtained, wherein the location information and the language usage information can characterize the user's eating habits;

[0010] Based on the location information and / or the language usage information, the food ingredients are displayed in order according to a preset sorting rule;

[0011] When the location information and / or the language usage information change, the food sorting is updated according to the changed location information and / or language usage information.

[0012] Secondly, this application also provides a method for sorting an ingredient database and recipes, including:

[0013] The location information and / or language usage information of the food storage device are obtained, wherein the location information and the language usage information can characterize the user's eating habits;

[0014] Based on the location information and / or the language usage information, the food ingredients are displayed in order according to a preset sorting rule;

[0015] When the location information and / or the language usage information change, the food sorting is updated according to the changed location information and / or language usage information.

[0016] As can be seen from the above technical solutions, this application provides a food storage device and a method for sorting food databases and recipes. The sorting of the food database and recipes includes: obtaining the current geographical location information and / or language usage information of the food storage device, wherein the location information and language usage information can represent the user's dietary habits; displaying the food sorting according to a preset sorting rule based on the location information and / or language usage information; and updating the food sorting according to the changed location information and / or language usage information when the location information and / or language usage information changes. This application embodiment achieves the function of automatically switching the display of food in the food database according to the location information and / or language usage information of the food storage device by performing a bitwise AND operation between location information (such as a country mask) and food information (such as a food display code). When a new food is added and it is determined whether it should be displayed in a certain country, i.e., when updating the display of a certain food in a certain country later, it is only necessary to modify the display value of the binary bits of that food in the country mask, thus dynamically and efficiently controlling the display or hiding of food in the food database. By acquiring the location information and / or language usage information of the food storage device, this application embodiment can calculate the popularity value of ingredients in the food library and adjust the display order of ingredients in the food library and the display of the food storage device based on the popularity value result. Furthermore, when recommending recipes to users, this application embodiment adds location information and language usage information to the original recommendation dimensions, enabling the recommendation of popular recipes that better suit local culinary culture. In summary, this application can dynamically switch the food library and recommended recipes based on the location information and / or language usage information of the food storage device, thereby solving the current problem that food storage devices cannot dynamically adjust the food library and popular recipes based on the location information and / or language usage information of the food storage device used by the user. Attached Figure Description

[0017] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1A This is a perspective view of a food storage device according to an exemplary embodiment of this application;

[0019] Figure 1B This is a schematic diagram of the appearance of a food storage device according to an exemplary embodiment of this application;

[0020] Figure 2 This is a schematic diagram of the hardware configuration of a food storage device according to an exemplary embodiment of this application;

[0021] Figure 3 A schematic diagram of a food storage device provided in an embodiment of this application;

[0022] Figure 4 This is a schematic diagram illustrating the display of food ingredient display codes provided in an embodiment of this application;

[0023] Figure 5 This is a schematic diagram of the food ingredient display and judgment process provided in an embodiment of this application;

[0024] Figure 6 This is a schematic diagram illustrating the food ingredient display effect provided in an embodiment of this application;

[0025] Figure 7 A schematic diagram illustrating the acquisition of a list of food ingredients based on an embodiment of this application;

[0026] Figure 8 This is a schematic diagram of the heat value calculation method provided in the embodiments of this application;

[0027] Figure 9 This is a schematic diagram illustrating the heat value calculation rules provided in the embodiments of this application;

[0028] Figure 10 A schematic diagram illustrating the effect of sorting ingredients by heat value according to a first sorting rule, provided in an embodiment of this application.

[0029] Figure 11 A schematic diagram illustrating the effect of sorting ingredients by heat value according to the second sorting rule, as provided in an embodiment of this application.

[0030] Figure 12 A schematic diagram illustrating the food display logic when a user changes the location information and language usage information of a food storage device, as provided in this embodiment of the application.

[0031] Figure 13 This is a schematic diagram illustrating the process of obtaining recommended recipes based on country code and language usage information, provided for an embodiment of this application. Detailed Implementation

[0032] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them.

[0033] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, unless otherwise stated, "a plurality of" means two or more.

[0034] In the description of this invention, it should be noted that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "joining" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal communication between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances.

[0035] Figure 1A This is a perspective view of a food storage device according to an exemplary embodiment of the present application. The food storage device provided in this embodiment of the invention has an approximate cuboid shape. The food storage device is defined by a storage chamber 110 providing limited storage space and a door 120 located at the opening of the storage chamber. The storage chamber 110 is a box with an opening. Figure 1A In the example shown, the storage compartment 110 includes a freezer compartment 111 located below and a refrigerator compartment 112 located above. The freezer compartment 111 and the refrigerator compartment 112 each have one or more independent storage spaces, such as the drawer-type compartment 111A included in the freezer compartment 111, and the refrigerator compartment 112 includes multiple storage compartments 1121-1123. The top light 140 is located inside the storage compartment 1121.

[0036] exist Figure 1A In the example shown, multiple drawer-type compartments 111A are sealed by drawer-type doors 111B. The refrigerator compartment 112 is divided into a left side and a right side, which are respectively sealed by doors 112B that are pivotally mounted on the cabinet.

[0037] It should be noted that, Figure 1AAs an example of an embodiment of this application, the food storage device shown does not constitute a limitation on the food storage device provided in this application. For example, in another embodiment of this application, the food storage device housing is divided into a left side and a right side, defining the left side housing as a freezer compartment and the right side housing as a refrigerator compartment, both of which can be sealed by doors pivotally mounted on the housing. As another example, in another embodiment of this application, the storage compartment includes a refrigerator compartment, a freezer compartment, and a variable temperature compartment.

[0038] Based on the food storage device provided in the above embodiments, by installing a display on the outside of the food storage device box, the food storage device can have a display function.

[0039] Figure 1B This is a schematic diagram of the appearance of a food storage device according to an exemplary embodiment of this application, such as... Figure 1B As shown, a display is installed on the refrigerator door, embedded in the door body. Below the display on the refrigerator door is a tag reading area, which has a built-in antenna for reading RFID tags to identify RFID tags at close range.

[0040] In some embodiments, the plane on which the display screen is located is flush with the outer surface of the door.

[0041] Figure 2 This is a schematic diagram of the hardware configuration of a food storage device according to an exemplary embodiment of this 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, and several user input interfaces. The display 210, antennas 230, detectors 240, and memory 250 are coupled to the controller 220 through a communication interface. The display 210 is used to receive image signals output by the controller 220, display video content and images, as well as a menu control interface, and display a user interface for controlling the food storage device 200.

[0042] The controller 220 may include one or more processing units, such as a system-on-a-chip (SoC), a central processing unit (CPU), a microcontroller (MCU), a memory controller, etc. Different processing units may be independent devices or integrated into one or more processors.

[0043] In some embodiments, the controller 220 communicates with the antenna 230 via a serial port.

[0044] In some embodiments, the controller 220 includes an RFID module, an antenna 230, and an RFID tag to form 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.

[0045] In some embodiments, the RFID module communicates with the antenna via a serial port.

[0046] The memory 250 may include one or more memory cells, such as volatile memory (DRAM), static random access memory (SRAM), etc.; and non-volatile memory (NVM), such as read-only memory (ROM), flash memory, etc. Different memory cells may be independent devices, or they may be integrated or packaged within one or more processors or communication interfaces, becoming part of the processor or communication interface.

[0047] The memory 250 stores program instructions and application programs, such as voice applications. The controller 220 can call the program instructions in the memory 250 or run the application programs to cause the food storage device to perform related methods, such as the food label scanning method provided in the embodiments of this application.

[0048] Detector 240 includes at least a sound acquisition device, such as a microphone, for receiving the user's voice. For example, this includes voice signals containing control commands from the user to the food storage device 200. Detector 240 may also include a door open / close status sensor, such as a magnetic switch or mechanical switch, for detecting the open / close signal of each door. When the open / close status of the door is recorded based on the detected open / close signal, the open / close status information is sent to controller 220.

[0049] User input interfaces include at least one of the following: microphone, touchpad, sensor, button, or other input interfaces.

[0050] The communicator 260 is used to communicate with a server or terminal devices within a local area network.

[0051] In some embodiments, the antennas installed in different storage compartments may have different power levels. Furthermore, the power of the antennas in each storage compartment should be sufficient to ensure that the antenna can identify the food items contained within its own compartment, thus avoiding the risk of increased false recognition rate due to excessive power, or incomplete identification of the food items in its own compartment due to insufficient power.

[0052] In some embodiments, the antenna located under the tag reading area is referred to as the first antenna, and the antenna located in the storage room is referred to as the second antenna.

[0053] Based on the food storage device provided in this application embodiment, RFID tags can be used to identify food in the storage room. There is a corresponding relationship between the tag information (such as tag identifier) ​​of the RFID tag and the food information of the identified food, thereby realizing a virtual association between the RFID tag and the food information. In practical applications, food with RFID tags affixed is stored in the food storage device. A second antenna detects the RFID tags in the storage room to obtain their tag information, and the food identified by the tag is determined based on the association between the tag information and the food information.

[0054] In some embodiments, the tag information includes a tag code, where a specific code segment within the tag code is a tag identifier. Establishing a correspondence between the identifier information of RFID tags and food information enables a virtual association between RFID tags and food. Furthermore, after obtaining the tag identifiers of RFID tags in the storage room, the food corresponding to the RFID tag can be determined based on the tag identifier and the pre-established correspondence.

[0055] In some embodiments, the controller 220 implements the food ingredient management function by running a food ingredient management application. The application interface provided by the food ingredient management application includes: a food ingredient management interface that can be used as the main application interface, a tag editing interface for establishing the association between RFID tags and food ingredient information, and a recipe display interface for displaying recommended recipe information.

[0056] In some embodiments, the controller 220 starts the food management application in response to a power-on command or a user-input command to start the application. After the food management application starts, the user can input label editing commands within the application.

[0057] In some embodiments, the food information includes one or more of the following: food ID, food name, storage location identifier, food quantity, food shelf life, and start time. The storage location identifier can be used to determine the storage room where the food is stored.

[0058] In some embodiments, the food information corresponding to existing food items in the storage room is stored in a local food information set. The existing food items refer to the food items currently stored in the food storage device.

[0059] In some embodiments, after the food ingredient management application starts, it reads the food ingredient information of existing ingredients from the local food ingredient information set, such as the information of ingredients whose storage status is "added". Then, it displays the food ingredient management interface based on the existing food ingredient information. The food ingredient management interface includes food ingredient icons drawn according to the food ingredient information, so that all existing food ingredients in the food storage device are displayed in the form of icons, graphics, and text. In addition, the food ingredient management interface can also display various functional controls, such as RFID tag editing controls, food ingredient addition controls, recipe recommendation controls, etc., for user operation to trigger the controller 220 to implement corresponding functions.

[0060] Based on the above information regarding food storage devices, food storage equipment has emerged. Food storage equipment refers to a type of equipment that enables intelligent control and management of food storage. It can automatically switch storage modes to maintain optimal food storage conditions. Users can monitor the quantity and freshness of food stored in the equipment anytime, anywhere via mobile phone or computer. It can also provide users with healthy recipes and nutritional guidelines, and remind them to replenish food regularly.

[0061] Food storage devices can provide users with intelligent recommendations, management, and storage of ingredients, as well as recipe recommendations and multi-functional cooking capabilities. For example, a food storage device can push an ingredient library to the user and display the ingredients from that library on its screen. In practical applications, given the different preferences and dietary habits of various users, ideally, the display of ingredients and recommendations of popular recipes should be dynamically adjusted based on the geographical location of the selected food storage device and the user's language.

[0062] For example, pork cannot be displayed on the screen of food storage devices in some countries; another example is that if the geographical location information of the food storage device is India, popular ingredients such as curry, onions, and potatoes can be displayed at the top of the food database; yet another example is that if the geographical location information of the food storage device is Germany, but the user's selected language is Thai, it means that the user is likely a Thai person living in Germany, and some popular Thai ingredients and recipes can be recommended to the user to improve the user's satisfaction with the recommended ingredients and recipes.

[0063] However, current food storage devices cannot dynamically adjust the food database and popular recipes based on the geographical location of the device and the user's language. For example, some food storage devices only have a food search function and no food database; others have a food database, but the displayed food results do not change when switching between databases, meaning that food switching is not possible.

[0064] Furthermore, ingredient databases are typically large in size; for example, the current database supports hundreds of ingredients, and it will be expanded and updated in the future to facilitate user access. This increases the difficulty of dynamically adjusting the ingredient database and popular recipes based on the geographical location of the user's food storage device and the user's language. This paper addresses the technical problem of automatically switching between different ingredient databases based on the geographical location of the food storage device and the user's language, and recommending popular recipes that better suit the local culinary culture.

[0065] This application provides a food storage device and a method for sorting food databases and recipes, which can dynamically switch the display of food databases and recommended recipes based on the geographical location of the food storage device and the user's language usage information.

[0066] Figure 3 This is a schematic diagram of a food storage device provided in an embodiment of this application. Figure 3 As shown, the food storage device may include a display, a communicator, and a controller 220. The display is used to show the user interface; the communicator is used to communicate with a server; the controller 220 is connected to the display and the communicator, and is configured to perform the following steps:

[0067] The system acquires the current geographical location and / or language usage information of the food storage device, where the location and language usage information can characterize the user's dietary habits; based on the location and / or language usage information, the system displays the food in a sorted order according to a preset sorting rule; when the location and / or language usage information changes, the system updates the food sorting according to the changed location and / or language usage information.

[0068] In this application embodiment, there are various ways to obtain the current geographical location information and / or language usage information of the food storage device. For example, it can be obtained from a server, set in the menu, or obtained through recognition, etc., and this application does not limit the specific methods. In this application embodiment, the preset sorting rules can be pre-defined according to the actual needs of the user. For example, they can include food sorting rules, recipe sorting rules, food display rules, etc.

[0069] To facilitate a further understanding of this application, the steps executed by the controller 220 of the food storage device are described in detail below with specific examples. In this application, the current geographical location information of the food storage device can be the country corresponding to the region where the food storage device is located. Each country can have a unique country code, which serves as a unique identifier for the location information. To establish a correspondence between each country and its country code, a country mask can also be created for each country. This country mask corresponds one-to-one with the unique country code; that is, the country mask is also unique. In this application, the country mask not only establishes a unique correspondence with the country code but also represents the display status of food in a particular country, which is related to the user's diet and habits. Food information can be an encoding that represents the display of food. For example, for ease of illustration and description, the food information in this application can include a food display code.

[0070] It should be noted that the location information in this application is not limited to a specific country; that is, it does not only include country codes and country masks. Similarly, the food information is not limited to food display codes. These are merely examples for illustrative purposes.

[0071] The following example uses the current geographical location of a food storage device in a specific country to illustrate the display or hiding of certain food items and their sorting within the device. It should be noted that the "location information and / or language usage information" mentioned in this application can be used individually, such as only location information, only language usage information, or a combination of both. This application does not limit the use of either. In the examples illustrating "location information and / or language usage information," only one method may be listed; however, this application is not limited to this single method and is merely providing a clearer description to facilitate further understanding of the solution.

[0072] One implementation method involves displaying and hiding ingredients in the ingredient library as follows: First, obtain the country code of the ingredient storage device's location information. When a user uses the ingredient storage device for the first time, they will set the current country / region of the storage device's location information. For example, the ingredient storage device can have default location information, such as Australia. If the user's location information is not Australia, the user can select the ingredient storage device's location information by clicking.

[0073] After the location information is selected, a country code for the location will be generated. This country code will be stored in the food storage device system and is unique. The country code can be represented by the abbreviation of the country's English name. For example, Australia's country code can be AUS, Malaysia's country code can be MYS, and the United Kingdom's country code can be GBR, etc.

[0074] In one implementation, ingredients can be displayed and sorted according to sorting rules through the following steps: obtaining ingredient information based on location information and / or language usage information; performing a bitwise AND operation on the location information and ingredient information to obtain the 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, which stores association information related to location information and / or language usage information; setting ingredient information based on the association information and the display status of ingredients in the location information.

[0075] 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 the pre-established mapping table.

[0076] In order to distinguish each country and region, this application embodiment 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.

[0077] In one implementation, this application uses binary code to represent 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, with each binary bit representing one country or region.

[0078] For ease of description, this binary number can be called the country mask. Of course, this application is not limited to using binary numbers to represent the country mask; hexadecimal or other methods may also be used.

[0079] The mapping table stores the mapping relationship between country codes and country masks. A one-to-one mapping relationship can be established between country codes and country masks based on the generated country codes. The country mask can be expressed by adding a suffix to the unique country code; for example, Australia's country code is AUS, and its country mask can be represented as AUS_MASK through the mapping table.

[0080] The mapping table also stores country codes, country masks (in hexadecimal, binary, etc.), and the meanings represented by the country code values, as shown in Table 1. For example, the country mask for Australia is 0x01 in hexadecimal and ...00001 in binary (where ... is omitted and will be 0 in the following text).

[0081] Table 1: Mapping Relationship between Country Code and Country Mask

[0082]

[0083] Once the country code and country mask are determined, an ingredient display code can be set for the ingredient based on how the ingredient is displayed in the location information.

[0084] Based on how ingredients are displayed in different countries and regions, ingredient display codes can be set for each ingredient. These codes can be pre-defined according to specific rules. In one implementation, both the country mask and the ingredient display code use binary encoding, with the same number of bits. For example, the ingredient display code can also be represented by a 35-bit binary number, where each bit is either 0 or 1 (1 for display, 0 for no display). If a certain ingredient needs to be displayed in a specific country, simply set the corresponding binary bit for that country to 1.

[0085] Figure 4 This is a schematic diagram illustrating the display of food ingredient display codes provided in an embodiment of this application. For example... Figure 4 As shown, for example, if a certain ingredient is only displayed in Malaysia and the United Kingdom, its display code is set to: ...00110 (the value is 0 if omitted).

[0086] Once the ingredient code is determined, a bitwise AND operation can be performed on the country mask and the ingredient display code to obtain the result. Based on the result, ingredients that meet the preset rules are added to the ingredient library. The preset rules are used to determine whether to display ingredients based on location information.

[0087] In practical applications, determining which ingredients can be displayed on the food storage device's screen based on the country mask and the ingredient display code can be achieved through the following steps: performing a bitwise AND operation on the country mask and the ingredient display code to obtain the result; adding ingredients that meet preset rules to the ingredient library based on the result, where the preset rules specify whether the ingredient should be displayed in the location information; if the ingredient meets the preset rules, it is displayed on the food storage device's screen; if the ingredient does not meet the preset rules, it is hidden on the food storage device's screen. After the country mask and the ingredient display code are determined, a bitwise AND operation (&) is performed on them to obtain the result. Based on the result, ingredients that meet the preset rules (hereinafter referred to as ingredients) are added to the ingredient library. The preset rules can be pre-defined, and the result is judged according to these rules. If the result meets the preset rules, the ingredient is displayed in the location information; if the result does not meet the preset rules, the ingredient is not displayed in the location information.

[0088] Figure 5 This is a schematic diagram illustrating the food ingredient display and judgment process provided in an embodiment of this application. Figure 5 As shown, the preset rule can be that after performing a bitwise AND operation on the country mask and the ingredient display code, the first step is to determine whether the result is 0. If the result is 0, it means that the ingredient does not support display in that country or region. If the result is not 0, it means that the ingredient supports display in that country, and the ingredient can be added to the ingredient library list and refreshed to be displayed on the ingredient storage device screen.

[0089] For example, as mentioned earlier, 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, then the result of the AND operation between the country mask and the ingredient display code is (…00110)&(…00001)=0. Therefore, according to the preset rules, this ingredient will not be displayed on the screen of the ingredient storage device in Australia.

[0090] Figure 6 This is a schematic diagram illustrating the display effect of food ingredients provided in an embodiment of this application. Figure 6 Therefore, based on the above preset rules, and combined with the AND operation result of the country mask and the food display code, it is possible to calculate which food will be displayed on the smart display screen of the food storage device and which will not be displayed, and then display the display result on the display screen of the food storage device.

[0091] When a user changes the location information of a food storage device, such as changing the country code, the food storage device and its backend services, such as the server, will monitor for changes in the country code. If the country of the food storage device's location information is updated, it will obtain the country mask corresponding to the changed country code and update the food database accordingly.

[0092] For example, when a user retrieves the food ingredients, the backend logs into the food ingredient database and obtains the updated country mask, thereby updating the display list of the food ingredient database and refreshing the food ingredient display on the food ingredient storage device display 210.

[0093] By using a bitwise AND operation between a country mask (e.g., binary display) and an ingredient display code (e.g., binary display), the display function of ingredients in the ingredient database automatically switches according to the location information of the ingredient storage device. When a new ingredient is added and it is determined whether to display it in a certain country, i.e., when updating the display of an ingredient in a certain country, it is only necessary to modify the display value of the binary bit in the country mask for that ingredient. This dynamically and efficiently controls the display or hiding of ingredients in the ingredient database.

[0094] In one implementation, displaying food ingredients according to a preset sorting rule based on location information and / or language usage information can be achieved through the following steps: obtaining a list of food ingredient popularity from a food ingredient library, the list containing food ingredient ID and popularity value fields; calculating the popularity value corresponding to each food ingredient according to a preset popularity value calculation rule based on location information and / or language usage information, the popularity value calculation rule being used to define the calculation method for the popularity value of the food ingredients; and sorting each food ingredient according to the sorting rule and popularity value.

[0095] The process of sorting ingredients according to sorting rules and popularity values ​​can include the following steps: assigning popularity values ​​to the corresponding ingredients in the popularity list; and displaying and sorting the ingredients according to the sorting rules. Assigning popularity values ​​to the corresponding ingredients in the popularity list can include the following steps: iterating through all ingredients in the popularity list; and accumulating popularity values ​​based on the ingredient ID and assigning them to the corresponding ingredients in the popularity list.

[0096] After adding ingredients that meet the preset rules to the ingredient library, the popularity list of ingredients in the ingredient library can be obtained based on the country code and the user's language usage information. The ingredient popularity list includes an ingredient ID value and an 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.

[0097] Specifically, before obtaining the list of popular ingredients in the ingredient database based on the country code and the user's language usage information, the process also includes: identifying the user's language usage information and uploading the country code and language to the server where the ingredient database is located.

[0098] In practice, when ingredients from the food database need to be displayed on the food storage device's screen, the food storage device obtains its current location information and recognizes the user's language usage information. When requesting a list of ingredient popularity values ​​from the food database from the server, the location information and the user's language usage information are uploaded to the server together. The server then distributes the ingredient popularity list from the food database based on the country code of the location information and the language usage information. Figure 7 As shown.

[0099] The ingredient popularity list can include an ingredient ID value and an ingredient popularity value. The ingredient ID value is unique and serves as a unique identifier for the ingredient; the ingredient popularity value reflects the ingredient's popularity in the ingredient database.

[0100] In one implementation, a popularity value field can be added to the ingredients in the popularity list. Table 2 shows the structure table of the ingredients in the popularity list. As shown in Table 2, the ingredient ID value can be a unique identifier for the ingredient, such as 001, 002, etc. The structure table also includes the ingredient name, ingredient popularity value, etc.

[0101] The heat value of the ingredients can be divided into several levels according to a prior agreement. For example, it can be divided into 3 levels, with values ​​of 0, 1, and 2 respectively. The higher the heat value of the ingredients, the more prominently the ingredients are displayed on the food storage device display 210.

[0102] Table 2 shows the structure of the ingredients in the ingredient popularity list:

[0103] Unique Identifier ID for Food Ingredients Ingredient English Names Food heat value 001 apple 2 002 banana 0

[0104] After obtaining the list of food popularity, the corresponding popularity value can be calculated for each food based on the country code, language usage information, and preset popularity value calculation rules. The popularity value calculation rules are used to define the calculation method for the popularity value of food.

[0105] In some embodiments, the popularity value of an ingredient is 0 by default. The controller 220 is further configured to: filter out the first batch of popular ingredients based on location information and increment the popularity value of the first batch of popular ingredients by 1; filter out the second batch of popular ingredients based on language usage information and increment the popularity value of the second batch of popular ingredients by 1; and accumulate the popularity values ​​of the first batch of popular ingredients and the second batch of popular ingredients to generate the popularity value of each ingredient.

[0106] The popularity value of an ingredient is determined by the user's reported location information and the user's language usage information. The default value for an ingredient popularity value is 0. Figure 8 This is a schematic diagram of the heat value calculation method provided in the embodiments of this application, such as... Figure 8As shown, the heat value for each ingredient can be calculated based on the country code, language usage information, and preset heat value calculation rules in the following ways:

[0107] The first batch of popular ingredients is selected based on the country code, and its popularity value is incremented by 1. The first batch of popular ingredients are those that meet the selection criteria based on the country code. The second batch of popular ingredients is selected based on the user's language information, and its popularity value is incremented by 1. The popularity values ​​of the first and second batches of popular ingredients are summed to generate the corresponding popularity value for each ingredient.

[0108] For specific implementation details, please refer to [link / reference]. Figure 9 , Figure 9 This is a schematic diagram illustrating the popularity value calculation rules provided in this application embodiment. For example, if a user requests location information as Germany but uses Thai, the system first filters out the first batch of popular ingredients based on Germany's country code, i.e., all popular German ingredients are filtered out, and the popularity value of the corresponding ingredients is incremented by 1. For example, the first batch of popular ingredients includes ingredient 1, ingredient 2, ingredient 3, etc. Initially, the default popularity value of these ingredients is 0. After the first batch of filtering, the popularity values ​​of these ingredients are incremented by 1, such as ingredient 1, ingredient 2, and ingredient 3 all becoming 1.

[0109] After the first round of filtering, a second batch of popular ingredients is selected based on the user's language usage. For example, if the user speaks Thai, popular Thai ingredients will be selected, and their popularity score will be increased by 1. Figure 9 In the second round of filtering, the popular ingredients include ingredient 1, ingredient 4, ingredient 5, and so on. Duplicate ingredients will have a popularity value of 2. For example, if ingredient 1 appears in both the first and second rounds of filtering, its popularity value will be 2. Non-duplicate ingredients will have a popularity value of 1. For instance, if ingredients 2, 3, 4, and 5 all appear once, they will not appear repeatedly and will have a popularity value of 1. Other ingredients not filtered out will retain their default popularity value of 0.

[0110] During the sorting process of ingredients, the sorting rules may include a first sorting rule and a second sorting rule. The controller 220 can be configured to perform the following steps: sort the ingredients in sequence according to the first sorting rule and the second sorting rule, and display the sorting results; the first sorting rule is to sort the ingredients in descending order of heat value; the second sorting rule is to sort the ingredients with the same heat value in alphabetical order.

[0111] After the heat value of each ingredient is calculated, the heat value can be assigned to the corresponding ingredient in the heat value list; the ingredients are sorted according to the first sorting rule and the second sorting rule, and the sorting results are displayed on the screen of the ingredient storage device; the first sorting rule is to sort the ingredients from high to low heat value; the second sorting rule is to sort the ingredients with the same heat value in alphabetical order.

[0112] After obtaining the popularity value of an ingredient, the system iterates through all ingredients in the popularity list and assigns the accumulated popularity value to the corresponding ingredient in the popularity list based on its ingredient ID. In other words, the obtained ingredient popularity value is assigned to the ingredient in the popularity list that has the same ingredient ID value, based on the ingredient ID.

[0113] After assigning heat values ​​to the ingredients in the heat value list, the ingredients can be sorted according to certain sorting rules. For example, one sorting method is to first sort the ingredients according to their heat values ​​using a first sorting rule, which sorts the ingredients from highest to lowest heat value.

[0114] Figure 10 This is a schematic diagram illustrating the effect of sorting ingredients by heat value according to a first sorting rule, as provided in an embodiment of this application. Figure 10 As shown, for example, if the popularity values ​​of three ingredients are: Ingredient 1 has a popularity value of 0, Ingredient 2 has a popularity value of 2, and Ingredient 3 has a popularity value of 1, then after sorting according to the first sorting rule, the ingredient with the higher popularity value will be displayed earlier on the ingredient storage device's display screen, such as Ingredient 2 being displayed before Ingredient 3. In this way, users can intuitively see the popular local ingredients, eliminating the need for users to select them themselves and saving users time.

[0115] The first sorting rule is to rank the ingredients according to their popularity value from highest to lowest. It's easy to understand that ingredients with higher popularity values ​​are listed first, and vice versa. For example, there are three ingredients: apple, banana, and cantaloupe. Apple has a popularity value of 1, banana has a popularity value of 0, and cantaloupe has a popularity value of 2. It's easy to see that cantaloupe has the highest popularity value. Therefore, sorting by popularity value from highest to lowest, the order in which the three ingredients are displayed is: cantaloupe, apple, banana.

[0116] To avoid disorder in the sorting of ingredients with the same heat value, this application further sorts the ingredients with the same heat value in alphabetical order, that is, according to the second sorting rule, the ingredients with the same heat value are sorted in alphabetical order.

[0117] Figure 11This is a schematic diagram illustrating the effect of sorting ingredients by heat value according to the second sorting rule, as provided in an embodiment of this application. Figure 11 As shown, after calculation, ingredient 2 and ingredient 4 have the same heat value, both being 2. Ingredient 3 and ingredient 5 have the same heat value, both being 1, indicating that different ingredients have the same heat value.

[0118] To address the above situation, this application employs a second sorting rule to sort ingredients with the same heat value in alphabetical order. For example, if ingredients 2 and 4 both have a heat value of 2, but ingredient 2 is apple and ingredient 4 is banana, then the first letter of ingredient 2 is 'a' and the first letter of ingredient 4 is '4'. Following alphabetical order (a first, b last), when displayed on the food storage device screen, ingredient 2 will appear before ingredient 4. Figure 11 As shown, the final result will be displayed on the food storage device display 210.

[0119] In practical use, there may be situations where the first sorting rule and the second sorting rule are used in combination. In this case, the ingredients can be sorted according to the first sorting rule and the second sorting rule in turn, and the sorting results can be displayed on the display screen of the ingredient storage device.

[0120] In some embodiments, when location information and / or language usage information changes, the ingredient sorting can be updated based on the changed location information and / or language usage information. This can include the following steps: monitoring location information and / or language usage information; if the location information and / or language usage information changes, updating the ingredient sorting based on the changed location information and / or language usage information. Specifically, updating the ingredient sorting 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 sorting according to the heat value sorting result.

[0121] When a user changes the location information and language information of the food storage device, the food storage device and its backend services, such as the server, will also monitor changes in the country code and the user's language information. Figure 12 This is a schematic diagram illustrating the food display logic when a user changes the location information and language usage information of the food storage device, as provided in an embodiment of this application. Figure 12As shown, the food storage device and backend services, such as the server, monitor changes in country codes and language usage information, and determine whether there have been any changes based on the monitoring results. It should be noted that before displaying the food ingredients according to a preset sorting rule based on location information and / or language usage information, the location information and / or language usage information is uploaded to the server. This updates the food ingredient sorting based on the uploaded location information and / or language usage information.

[0122] If the country code and language usage information remain unchanged, the food storage device maintains the current food popularity list and the displayed results. If the country code and language usage information change, the food popularity list is retrieved again. The popularity values ​​for the ingredients are recalculated according to the changed country code and language usage information, and the popularity values ​​are re-sorted, with the sorting results displayed on the food storage device screen.

[0123] For example, when a user retrieves the food ingredients, the backend logs into the food ingredient database and retrieves the updated country mask or the user's language information, thereby updating the display list and food ingredient sorting in the food ingredient database, and refreshing the food ingredient display results on the display 210 of the food ingredient storage device.

[0124] By selecting the location information of the food storage device and obtaining the user's language usage information, this embodiment of the 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 display 210 of the food storage device according to the heat value result.

[0125] In some embodiments, the controller 220 is further configured to display the menu sorting according to a preset sorting rule based on location information and / or language usage information. In one implementation, the menu sorting according to a preset sorting rule based on location information and / or language usage information can be achieved through the following steps: adding location information and / or language usage information to the original filtering dimensions of the menu to generate new filtering dimensions; the filtering dimensions are the conditions for filtering the menu; sorting the menu according to the new filtering dimensions, and displaying the menu sorting result.

[0126] Taking a specific country as an example, this application can also obtain recommended recipes based on the country code and language usage information. Figure 13 This is a schematic diagram illustrating the process of obtaining recommended recipes based on country code and language usage information, provided as an embodiment of this application. Figure 13 As shown, recommended recipes can be obtained based on country code and language usage information in the following ways:

[0127] Upload the country code and language usage information to the server where the recipes are located; add the country code and language usage information to the original filtering dimensions of the recipes to generate new filtering dimensions; the filtering dimensions are the conditions for filtering recipes; sort the recipes on the server according to the new filtering dimensions, and generate the recommended recipes based on the sorting results.

[0128] In previous recipe recommendations, the recommendation criteria primarily relied on the ingredients stored in the ingredient management system and their freshness. For example, ingredients with high freshness were prioritized for recommendation, while those with low freshness or that were expired were not recommended or were flagged accordingly. This application's embodiments, in addition to incorporating the aforementioned recommendation methods, can also obtain recipes for recommendation based on country codes and language usage information.

[0129] As mentioned earlier, the location information of the food storage device is Germany. If the user selects Thai as the language of use, it means that the user is likely a Thai person 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.

[0130] In practice, after obtaining the country code of the current food storage device location information and the user's language information, when requesting the popular recommended recipe data of the current food storage device from the server, the country code and language information are uploaded to the server where the recipe is located. That is, the regional information and the language information are uploaded to the server together.

[0131] When the server retrieves recipe information, it first filters the recipes based on the user's language and location information. Then, it adds the location information of the ingredient storage device and the user's language to the existing filter dimensions (such as ingredient freshness), creating new filter dimensions. The server then sorts the recipes according to these new filter dimensions and generates recommended recipes based on the sorting results.

[0132] The filtering dimensions are the criteria used to select recipes. For example, location information (Germany) and language information (Thailand) are uploaded to the server. When the server retrieves recipe data, it adds the information from Germany and Thailand to the existing filtering dimensions, filtering recipes from both regions together. Then, the recipes are sorted based on factors such as popularity, the freshness of the stored ingredients, etc., ultimately obtaining the recommended recipes. Finally, the food storage device displays the recommended recipes selected by the server on its screen.

[0133] In this embodiment, when recommending recipes to users, two new dimensions—location information and language usage information—are added to the existing recommendation dimensions. This allows for the recommendation of popular recipes that better suit local culinary culture. In some embodiments, the controller 220 of the food storage device can also monitor changes in location information and / or language usage information. When these changes occur, the recipe sorting is updated based on the updated information, enabling the food storage device to display the latest recipes and their sorting according to the changed location information and / or language usage information.

[0134] As can be seen from the above technical solutions, this application provides a sorting method for an ingredient library and recipes. The sorting of the ingredient library and recipes includes: obtaining the current geographical location information and / or language usage information of the ingredient storage device, wherein the location information and language usage information can represent the user's eating habits; displaying the ingredient sorting according to a preset sorting rule based on the location information and / or language usage information; and updating the ingredient sorting according to the changed location information and / or language usage information when the location information and / or language usage information changes.

[0135] This application embodiment achieves an automatic display function for ingredients in the ingredient library by performing a bitwise AND operation between location information (such as a country mask) and ingredient information (such as an ingredient display code), which changes according to the location and / or language information of the ingredient storage device. When a new ingredient is added and its display in a particular country is determined (i.e., when updating the display of an ingredient in a particular country), only the display value of the ingredient in the binary bits of the country mask needs to be modified, thus dynamically and efficiently controlling the display or hiding of ingredients in the ingredient library. By obtaining the location information and / or language information of the ingredient storage device, this application embodiment can calculate the popularity value of ingredients in the ingredient library and adjust the display order of ingredients in the ingredient library and the display of the ingredient storage device based on the popularity value result. In addition, when recommending recipes to users, this application embodiment adds two new dimensions—location information and language information—to the original recommendation dimensions, which can recommend popular recipes that are more in line with local food culture. In summary, this 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 current problem that ingredient storage devices 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.

[0136] Based on the food storage device in the above embodiments, some embodiments of this application also provide a method for sorting food databases and recipes, including:

[0137] The location information and / or language usage information of the food storage device are obtained, wherein the location information and the language usage information can characterize the user's eating habits;

[0138] Based on the location information and / or the language usage information, the food ingredients are displayed in order according to a preset sorting rule;

[0139] When the location information and / or the language usage information change, the food sorting is updated according to the changed location information and / or language usage information.

[0140] Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein.

[0141] It should be understood that the present invention is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. A food storage device, characterized in that, include: A monitor is used to display the user interface. A communicator used to communicate with the server; A controller, connected to the display and the communicator, is configured to: The location information and / or language usage information of the food storage device are obtained, wherein the location information is used to represent the location where the user uses the food storage device, and the language usage information is used to represent the language displayed by the food storage device selected by the user; the location information and the language usage information can represent the user's dietary habits; Based on the location information and / or the language usage information, the food ingredients are displayed in order according to a preset sorting rule; Monitor the location information and / or the language usage information; When the location information and / or the language usage information change, the food sorting is updated according to the changed location information and / or language usage information; The step of updating the food sorting based on the changed location information and / or language usage information includes: If the country code corresponding to the location information and the language usage information have not changed, the food storage device will maintain the current food popularity list and food display results in the food database. If the country code corresponding to the location information and / or the language usage information changes, the food popularity list in the food database is retrieved again, and the popularity value corresponding to the food is recalculated according to the changed country code and / or the language usage information, and the food popularity values ​​contained in the food popularity list are re-sorted, and the sorting result is displayed on the food storage device display screen. The process of displaying food ingredients in order according to a preset sorting rule, based on the location information and / or the language usage information, includes: Retrieve a list of ingredients by popularity from the ingredient library. The list of ingredients by popularity includes an ingredient ID field and a popularity value field. The heat value of each ingredient is calculated according to the location information and / or the language usage information in accordance with the preset heat value calculation rules. The heat value calculation rules are used to formulate the calculation method of the heat value of the ingredient. The ingredients are sorted according to the sorting rules and the popularity value.

2. The food storage device according to claim 1, characterized in that, Sort the ingredients according to the sorting rules and the heat value, including: The heat value is assigned to the corresponding ingredient in the ingredient heat list; The ingredients are displayed and sorted according to the sorting rules.

3. The food storage device according to claim 2, characterized in that, Assigning the heat value to the corresponding ingredient in the heat value list includes: Iterate through all ingredients in the ingredient popularity list; The popularity value is accumulated and assigned to the corresponding ingredient in the popularity list based on the ingredient ID value.

4. The food storage device according to claim 2, characterized in that, Displaying and sorting the ingredients according to the sorting rules includes: Obtain ingredient information based on the location information and / or the language usage information; Perform a bitwise AND operation on the location information and the ingredient information to obtain the result; Based on the calculation results, ingredients that meet the preset rules are added to the ingredient library and displayed.

5. The food storage device according to claim 4, characterized in that, Obtaining ingredient information based on the location information and / or the language usage information includes: Obtain a pre-established mapping table, which 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 associated information and the display of the ingredients in the location information.

6. The food storage device according to claim 4, characterized in that, Both the location information and the ingredient information are in binary encoding form, and the number of display codes for the location information and the ingredient information are the same.

7. The food storage device according to claim 1, characterized in that, The sorting rules include a first sorting rule and a second sorting rule, and the controller is further configured to: The ingredients are sorted sequentially according to the first sorting rule and the second sorting rule, and the sorting results are displayed. The first sorting rule is to sort the ingredients from high to low according to their heat value. The second sorting rule is to sort the ingredients with the same heat value in alphabetical order.

8. The food storage device according to claim 1, characterized in that, Before displaying the food ingredients sorted according to a preset sorting rule based on the location information and / or the language usage information, the method further includes: The location information and / or the language usage information are uploaded to the server.

9. The food storage device according to claim 1, characterized in that, The heat value of the food ingredient is set to 0 by default, and the controller is further configured as follows: Based on the location information, the first batch of popular ingredients is selected, and the popularity value of the first batch of popular ingredients is increased by 1. Based on the language usage information, a second batch of popular ingredients is selected, and the popularity value of the second batch of popular ingredients is increased by 1. The popularity values ​​of the first batch of popular ingredients and the second batch of popular ingredients are summed to generate the popularity value corresponding to each ingredient.

10. The food storage device according to claim 1, characterized in that, The controller is further configured to: The recipes are displayed in sorted order according to the location information and / or the language usage information, following the preset sorting rules.

11. The food storage device according to claim 10, characterized in that, The recipes are displayed in sorted order according to the location information and / or the language usage information and the preset sorting rules, including: Add the location information and / or the language usage information to the original filtering dimensions of the recipe to generate new filtering dimensions; the filtering dimensions are the conditions for filtering the recipe. The recipes are sorted according to the new filtering dimensions, and the sorting results are displayed.

12. The food storage device according to claim 10, characterized in that, Also includes: When the location information and / or the language usage information change, the recipe sorting is updated according to the changed location information and / or language usage information.

13. A method for sorting an ingredient database and recipes, characterized in that, Applied to food storage equipment, the method includes: The location information and / or language usage information of the food storage device are obtained, wherein the location information is used to represent the location where the user uses the food storage device, and the language usage information is used to represent the language displayed by the food storage device selected by the user; the location information and the language usage information can represent the user's dietary habits; Based on the location information and / or the language usage information, the food ingredients are displayed in order according to a preset sorting rule; Monitor the location information and / or the language usage information; When the location information and / or the language usage information change, the food sorting is updated according to the changed location information and / or language usage information; The step of updating the food sorting based on the changed location information and / or language usage information includes: If the country code corresponding to the location information and the language usage information have not changed, the food storage device will maintain the current food popularity list and food display results in the food database. If the country code corresponding to the location information and / or the language usage information changes, the food popularity list in the food database is retrieved again, and the popularity value corresponding to the food is recalculated according to the changed country code and / or the language usage information, and the food popularity values ​​contained in the food popularity list are re-sorted, and the sorting result is displayed on the food storage device display screen. The process of displaying food ingredients in order according to a preset sorting rule, based on the location information and / or the language usage information, includes: Retrieve a list of ingredients by popularity from the ingredient library. The list of ingredients by popularity includes an ingredient ID field and a popularity value field. The heat value of each ingredient is calculated according to the location information and / or the language usage information in accordance with the preset heat value calculation rules. The heat value calculation rules are used to formulate the calculation method of the heat value of the ingredient. The ingredients are sorted according to the sorting rules and the popularity value.

Citation Information

Patent Citations

  • Method and device for managing storage appliances and food materials thereof

    CN106815463A

  • An information pushing method and device

    CN109815420A

  • Foodstuff information display method and device, server and storage medium

    CN113724028A