Intelligent refrigerator and food intelligent recommendation method
Patent Information
- Application Number
- CN202210770313.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-30
- Publication Date
- 2026-10-30
- Estimated Expiration
- 2042-06-30
AI Technical Summary
[0003]目前,智能冰箱的推荐,多为基于冰箱当前食材或节气信息的推荐,所推荐给目标对象的食材往往并不合理,不能充分满足目标对象的需求
[0089]第二方面、第三方面或第四方面或第五方面中任意一种实现方式所带来的技术效果可参见第一方面的实现方式所带来的技术效果,此处不再赘述。
Smart Images

Figure CN117366950B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of smart device technology, specifically to a smart refrigerator and a smart food recommendation method. Background Technology
[0002] As artificial intelligence technology and home appliances become increasingly integrated, the intelligent development of refrigerators, as one of the most frequently used and longest-lasting home appliances, has become a key focus. While differences in refrigeration technology, capacity, and appearance are diminishing, technologies such as precise food management and intelligent recommendations are becoming crucial ways to differentiate smart refrigerators.
[0003] Currently, smart refrigerators primarily make recommendations based on the available food or seasonal information. These recommendations are often unsuitable and fail to fully meet the user's needs. For example, if the user feels hungry shortly after eating, the smart refrigerator will typically suggest recipes directly. Therefore, existing smart refrigerators cannot provide accurate and appropriate recommendations. Summary of the Invention
[0004] To address the existing technical problems, embodiments of this application provide a smart refrigerator and a smart food recommendation method, which can achieve more accurate and reasonable recommendations.
[0005] To achieve the above objectives, the technical solution of this application embodiment is implemented as follows:
[0006] In a first aspect, embodiments of this application provide a smart refrigerator, comprising:
[0007] A housing, the housing including a storage compartment having an opening;
[0008] The refrigerator door is movably connected to the housing and is used to cover the opening;
[0009] The display unit is configured to display the interface;
[0010] The processor is configured to: in response to a hunger signal emitted by a target object, obtain a current time tag; if the current time tag is within a first set time period, retrieve food retrieval records within a set time period preceding the current time tag; if the retrieval information of a set food in the food retrieval records meets set conditions, obtain the retrieval time tag of the most recent retrieval of a set ingredient from the set food; if the time interval between the retrieval time tag and the current time tag is less than a first interval duration, recommend a target snack to the target object based on the current food database; otherwise, recommend a target ingredient to the target object based on ingredient recommendation principles and the current food database.
[0011] The smart refrigerator provided in this application embodiment, in response to a hunger signal emitted by a target object, can obtain a current time tag. If the current time tag is within a first set time period, it retrieves food retrieval records within a set time period preceding the current time tag. If the retrieval information of a set food in the food retrieval records meets set conditions, it obtains the retrieval time tag of a set ingredient from the most recent retrieval of the set food. If the time interval between the retrieval time tag and the current time tag is less than a first interval, it recommends a target snack to the target object based on the current food database; otherwise, it recommends a target ingredient to the target object based on ingredient recommendation principles and the current food database. Because it can obtain the current time tag when receiving a hunger signal from a target object and determine the recommended snacks or ingredients based on food retrieval records within a period preceding the current time tag, it can achieve more accurate and reasonable recommendations.
[0012] In one optional embodiment, the set food includes set ingredients and set snacks, and the set conditions include: the number of types of set ingredients taken out is not less than a set quantity threshold, and the number of times the set snacks are taken out is less than a set number threshold.
[0013] The smart refrigerator described above can be configured to include set ingredients and set snacks. The configuration conditions can be that the number of types of set ingredients removed is not less than a set quantity threshold, and the number of times set snacks are removed is less than a set frequency threshold. Therefore, based on the removal information of ingredients and snacks in the food removal record, the refrigerator can determine the food removal status before the current time tag, and then recommend reasonable and suitable ingredients or snacks to the target user.
[0014] In an optional embodiment, after obtaining the current timestamp, the processor is further configured to:
[0015] If the current time tag is located in the second set time period, or if the current time tag is located in the third set time period and it is determined that the target object needs recommended ingredients, or if the number of types of the set ingredients taken is less than a set quantity threshold, or if the number of types of the set ingredients taken is not less than a set quantity threshold and the number of times the set snacks are taken is not less than a set number threshold, then target ingredients are recommended for the target object according to the ingredient recommendation principle and the current food database.
[0016] The aforementioned smart refrigerator, if the current time tag falls within a second set time period, or if the current time tag falls within a third set time period and it is determined that the target user needs recommended food, or if the number of different types of food taken out is less than a set quantity threshold, or if the number of different types of food taken out is not less than a set quantity threshold and the number of times snacks are taken out is not less than a set number of times threshold, then based on the food recommendation principles and the current food database, it recommends target food for the target user. This allows for accurate and appropriate food recommendations to the target user when they are hungry, based on the target user's hunger period and historical food-taking behavior information.
[0017] In an alternative embodiment, the processor is further configured to:
[0018] Based on the principles of ingredient recommendation, at least one candidate ingredient is recommended;
[0019] If the current food database includes at least one candidate ingredient, then the target ingredient is determined from the at least one candidate ingredient, and the target ingredient is recommended to the target object; the ingredient recommendation principle is determined by the food access records within a set number of days prior to the current time tag.
[0020] The aforementioned smart refrigerator can determine at least one candidate food ingredient based on food recommendation principles. If the current food database includes at least one candidate food ingredient, it will identify the target food ingredient from among these candidates and recommend it to the target user. The food recommendation principles are determined based on food access records within a set number of days prior to the current time stamp. Because when determining which food ingredient to recommend to the target user, the refrigerator can use the target user's historical food access behavior information within a certain number of days and the current food database to determine the recommended target food ingredient, it can provide the target user with rational and nutritionally comprehensive food recommendations.
[0021] In one optional embodiment, the food recommendation principles include:
[0022] If, based on the food access records, it is determined that at least one first ingredient has a fixed access time tag every day, and the time interval between the access time tag and the current time tag is less than the access interval duration, then the at least one first ingredient is recommended.
[0023] If, based on the food access records, it is determined that the number of accesses to at least one first ingredient is greater than the first access threshold, then at least one second ingredient whose number of accesses is not greater than the first access threshold is recommended.
[0024] If, based on the food access records, it is determined that the access count of at least one first ingredient is less than the first access threshold, and the access count of at least one first ingredient is greater than the second access threshold, then at least one third ingredient with an access count not greater than the second access threshold is recommended; the first access threshold is greater than the second access threshold.
[0025] If, based on the food access records, it is determined that the number of accesses to at least one first ingredient is less than the second access threshold, then the at least one first ingredient is recommended.
[0026] The food recommendation principles for the aforementioned smart refrigerator may include: if, based on food access records, at least one primary food item has a fixed access time tag each day, and the time interval between the access time tag and the current time tag is less than the access interval duration, then at least one primary food item is recommended; if, based on food access records, at least one primary food item is accessed more times than a first access threshold, then at least one secondary food item is recommended with access times not exceeding the first access threshold; if, based on food access records, at least one primary food item is accessed less times than a first access threshold, and at least one primary food item is accessed more times than a second access threshold, then at least one tertiary food item is recommended with access times not exceeding the second access threshold; and if, based on food access records, at least one primary food item is accessed less times than a second access threshold, then at least one primary food item is recommended. This allows for more accurate, reasonable, and targeted food recommendations that meet the needs of the target audience.
[0027] In an alternative embodiment, the processor is further configured to:
[0028] If the time interval between the retrieved time tag and the current time tag is less than the second interval duration, then based on the current food database, a first type of snack is recommended for the target object; the first type of snack is a snack used to promote the digestion of the target object.
[0029] If the time interval between the retrieved time tag and the current time tag is greater than the second interval duration and the time interval is less than the first interval duration, then based on the current food database, a second type of snack is recommended for the target object; the first interval duration is greater than the second interval duration; the second type of snack is a snack used to solve the target object's hunger.
[0030] The aforementioned smart refrigerator, if the time interval between the retrieved time tag and the current time tag is less than a second interval, recommends a first type of snack to the target user based on the current food database. If the time interval between the retrieved time tag and the current time tag is greater than the second interval but less than the first interval, it recommends a second type of snack to the target user based on the current food database. Here, the first interval is longer than the second interval, the first type of snack is for promoting digestion, and the second type of snack is for alleviating hunger. This allows the refrigerator to determine the recommended snack category based on the target user's historical food retrieval records and retrieval times, achieving more accurate, reasonable, and tailored snack recommendations.
[0031] In an optional embodiment, after recommending target ingredients for the target object, the processor is further configured to:
[0032] From the candidate recipes corresponding to the set ingredients, a target recipe associated with the target ingredient is determined, and the target recipe is recommended to the target object.
[0033] The aforementioned smart refrigerator, after determining the target food for a target user, can identify the target recipe associated with the target food from the candidate recipes corresponding to the set food, and then recommend the target recipe to the target user. This enables more accurate and reasonable recipe recommendations for the target user when they are hungry.
[0034] Secondly, embodiments of this application provide a smart food recommendation method, including:
[0035] In response to the hunger signal emitted by the target object, obtain the current time tag;
[0036] If the current time tag is within a first set time period, then retrieve the food retrieval records within the set time period preceding the current time tag;
[0037] If the food retrieval information in the food retrieval record meets the set conditions, then obtain the retrieval time tag of the set ingredient in the most recent retrieval of the set food;
[0038] If the time interval between the retrieved time tag and the current time tag is less than the first interval duration, then target snacks are recommended for the target object based on the current food database; otherwise, target ingredients are recommended for the target object based on the ingredient recommendation principle and the current food database.
[0039] In one optional embodiment, the set food includes set ingredients and set snacks, and the set conditions include: the number of types of set ingredients taken out is not less than a set quantity threshold, and the number of times the set snacks are taken out is less than a set number threshold.
[0040] In an optional embodiment, after obtaining the current timestamp, the method further includes:
[0041] If the current time tag is located in the second set time period, or if the current time tag is located in the third set time period and it is determined that the target object needs recommended ingredients, or if the number of types of the set ingredients taken is less than a set quantity threshold, or if the number of types of the set ingredients taken is not less than a set quantity threshold and the number of times the set snacks are taken is not less than a set number threshold, then target ingredients are recommended for the target object according to the ingredient recommendation principle and the current food database.
[0042] In one optional embodiment, recommending target ingredients for the target object based on ingredient recommendation principles and the current food database includes:
[0043] Based on the principles of ingredient recommendation, at least one candidate ingredient is recommended;
[0044] If the current food database includes at least one candidate ingredient, then the target ingredient is determined from the at least one candidate ingredient, and the target ingredient is recommended to the target object; the ingredient recommendation principle is determined by the food access records within a set number of days prior to the current time tag.
[0045] In one optional embodiment, the food recommendation principles include:
[0046] If, based on the food access records, it is determined that at least one first ingredient has a fixed access time tag every day, and the time interval between the access time tag and the current time tag is less than the access interval duration, then the at least one first ingredient is recommended.
[0047] If, based on the food access records, it is determined that the number of accesses to at least one first ingredient is greater than the first access threshold, then at least one second ingredient whose number of accesses is not greater than the first access threshold is recommended.
[0048] If, based on the food access records, it is determined that the access count of at least one first ingredient is less than the first access threshold, and the access count of at least one first ingredient is greater than the second access threshold, then at least one third ingredient with an access count not greater than the second access threshold is recommended; the first access threshold is greater than the second access threshold.
[0049] If, based on the food access records, it is determined that the number of accesses to at least one first ingredient is less than the second access threshold, then the at least one first ingredient is recommended.
[0050] In an optional embodiment, if the time interval between the retrieved time tag and the current time tag is less than a first interval duration, then recommending target snacks for the target object based on the current food database includes:
[0051] If the time interval between the retrieved time tag and the current time tag is less than the second interval duration, then based on the current food database, a first type of snack is recommended for the target object; the first type of snack is a snack used to promote the digestion of the target object.
[0052] If the time interval between the retrieved time tag and the current time tag is greater than the second interval duration and the time interval is less than the first interval duration, then based on the current food database, a second type of snack is recommended for the target object; the first interval duration is greater than the second interval duration; the second type of snack is a snack used to solve the target object's hunger.
[0053] In an optional embodiment, after recommending target ingredients to the target object, the method further includes:
[0054] From the candidate recipes corresponding to the set ingredients, a target recipe associated with the target ingredient is determined, and the target recipe is recommended to the target object.
[0055] Thirdly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the intelligent food recommendation method described in the second aspect.
[0056] Fourthly, embodiments of this application also provide a smart food recommendation device, comprising:
[0057] The current time acquisition unit is used to acquire the current time tag in response to the hunger signal emitted by the target object;
[0058] The record retrieval unit is used to retrieve food retrieval records within a set time period before the current time tag if the current time tag is within a first set time period.
[0059] The extraction time acquisition unit is used to acquire the extraction time tag of the most recent extraction of the specified ingredient in the specified food if the extraction information of the specified food in the food extraction record meets the specified conditions.
[0060] The food recommendation unit is configured to recommend target snacks to the target object based on the current food database if the time interval between the retrieved time tag and the current time tag is less than a first interval duration; otherwise, it recommends target ingredients to the target object based on the ingredient recommendation principle and the current food database.
[0061] In one optional embodiment, the set food includes set ingredients and set snacks, and the set conditions include: the number of types of set ingredients taken out is not less than a set quantity threshold, and the number of times the set snacks are taken out is less than a set number threshold.
[0062] In an optional embodiment, the food recommendation unit is further configured to:
[0063] If the current time tag is located in the second set time period, or if the current time tag is located in the third set time period and it is determined that the target object needs recommended ingredients, or if the number of types of the set ingredients taken is less than a set quantity threshold, or if the number of types of the set ingredients taken is not less than a set quantity threshold and the number of times the set snacks are taken is not less than a set number threshold, then target ingredients are recommended for the target object according to the ingredient recommendation principle and the current food database.
[0064] In one optional embodiment, the food recommendation unit is specifically used for:
[0065] Based on the principles of ingredient recommendation, at least one candidate ingredient is recommended;
[0066] If the current food database includes at least one candidate ingredient, then the target ingredient is determined from the at least one candidate ingredient, and the target ingredient is recommended to the target object; the ingredient recommendation principle is determined by the food access records within a set number of days prior to the current time tag.
[0067] In one optional embodiment, the food recommendation principles include:
[0068] If, based on the food access records, it is determined that at least one first ingredient has a fixed access time tag every day, and the time interval between the access time tag and the current time tag is less than the access interval duration, then the at least one first ingredient is recommended.
[0069] If, based on the food access records, it is determined that the number of accesses to at least one first ingredient is greater than the first access threshold, then at least one second ingredient whose number of accesses is not greater than the first access threshold is recommended.
[0070] If, based on the food access records, it is determined that the access count of at least one first ingredient is less than the first access threshold, and the access count of at least one first ingredient is greater than the second access threshold, then at least one third ingredient with an access count not greater than the second access threshold is recommended; the first access threshold is greater than the second access threshold.
[0071] If, based on the food access records, it is determined that the number of accesses to at least one first ingredient is less than the second access threshold, then the at least one first ingredient is recommended.
[0072] In one optional embodiment, the food recommendation unit is specifically used for:
[0073] If the time interval between the retrieved time tag and the current time tag is less than the second interval duration, then based on the current food database, a first type of snack is recommended for the target object; the first type of snack is a snack used to promote the digestion of the target object.
[0074] If the time interval between the retrieved time tag and the current time tag is greater than the second interval duration and the time interval is less than the first interval duration, then based on the current food database, a second type of snack is recommended for the target object; the first interval duration is greater than the second interval duration; the second type of snack is a snack used to solve the target object's hunger.
[0075] In an optional embodiment, the device further includes a recipe recommendation unit for:
[0076] From the candidate recipes corresponding to the set ingredients, a target recipe associated with the target ingredient is determined, and the target recipe is recommended to the target object.
[0077] Fifthly, embodiments of this application also provide a smart refrigerator, including:
[0078] A housing, the housing including a storage compartment having an opening;
[0079] The refrigerator door is movably connected to the housing and is used to cover the opening;
[0080] The processor is configured as follows:
[0081] When the target object takes out the set food at the first time, in response to the target object sending a hunger signal at the second time, the target snack is recommended to the target object according to the current food database, wherein the time interval between the first time and the second time is less than the set interval duration;
[0082] When the target object takes out the set ingredients at the first time, in response to the target object sending a hunger signal at the second time, the target ingredients are recommended to the target object according to the current food database, wherein the time interval between the first time and the second time is not less than the set interval duration.
[0083] In an alternative embodiment, the processor is further configured to:
[0084] In response to the target object sending a hunger signal at the first moment, the target object is recommended target ingredients based on the current food database, wherein the first moment is in a first time period, or the first moment is in a second time period and it is determined that the target object needs recommended ingredients.
[0085] In an alternative embodiment, the processor is further configured to:
[0086] The processor is also configured to:
[0087] When the target object takes out the set food at the first time, in response to the target object sending a hunger signal at the second time, according to the current food database, a first type of snack is recommended to the target object, wherein the time interval between the first time and the second time is less than the first interval duration, and the first type of snack is a snack used to promote the digestion of the target object.
[0088] When the target takes out the designated food at the first time, in response to the target sending a hunger signal at the second time, a second type of snack is recommended to the target based on the current food database. The time interval between the first time and the second time is greater than the first interval length, and the time interval between the first time and the second time is less than the second interval length. The first interval length is less than the second interval length. The second type of snack is a snack used to solve the target's hunger.
[0089] The technical effects of any of the implementation methods in the second, third, fourth, or fifth aspects can be found in the technical effects of the implementation method in the first aspect, and will not be repeated here. Attached Figure Description
[0090] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying 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.
[0091] Figure 1a This is a schematic diagram of the structure of a smart refrigerator provided in an embodiment of this application;
[0092] Figure 1b This is a schematic diagram of the structure of another smart refrigerator provided in an embodiment of this application;
[0093] Figure 2 A flowchart illustrating a smart food recommendation method provided in this application embodiment;
[0094] Figure 3 A flowchart illustrating a recommended target snack provided in this application embodiment;
[0095] Figure 4 A flowchart illustrating the principles for determining ingredient recommendations is provided in this application embodiment;
[0096] Figure 5 A flowchart illustrating a recommended target ingredient provided in this application embodiment;
[0097] Figure 6a A flowchart illustrating another intelligent food recommendation method provided in this application embodiment;
[0098] Figure 6b A schematic diagram illustrating a recommended first-class snack provided in an embodiment of this application;
[0099] Figure 6c A schematic diagram illustrating a recommended second type of snack provided in an embodiment of this application;
[0100] Figure 6d A schematic diagram illustrating a recommended target ingredient provided in an embodiment of this application;
[0101] Figure 7 A flowchart illustrating yet another intelligent food recommendation method provided in this application embodiment;
[0102] Figure 8 A flowchart illustrating yet another intelligent food recommendation method provided in this application embodiment;
[0103] Figure 9 A flowchart illustrating an intelligent food recommendation method provided in this application embodiment;
[0104] Figure 10 A flowchart illustrating the implementation of a food recommendation principle provided in this application embodiment;
[0105] Figure 11 This is a schematic diagram of the structure of a smart food recommendation device provided in an embodiment of this application;
[0106] Figure 12 This is a schematic diagram of another intelligent food recommendation device provided in an embodiment of this application. Detailed Implementation
[0107] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0108] It should be noted that the terms "first," "second," etc., used in this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in a sequence other than that illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0109] The present application will now be described in further detail with reference to the accompanying drawings and specific embodiments.
[0110] The term "exemplary" as used below means "serving as an example, embodiment, or illustration." Any embodiment illustrated as "exemplary" is not necessarily to be construed as superior to or better than other embodiments. In the description of embodiments of this application, unless otherwise stated, "a plurality of" means two or more.
[0111] Figure 1a The diagram below illustrates a structural schematic of an intelligent refrigerator provided in an embodiment of this application.
[0112] like Figure 1a As shown in the embodiment of this application, the smart refrigerator includes:
[0113] The housing 101 includes a storage compartment having an opening;
[0114] The refrigerator door 102 is movably connected to the housing 101 and is used to cover the opening;
[0115] The processor 103 is configured to: respond to a hunger signal emitted by a target object, obtain a current time tag; if the current time tag is within a first set time period, retrieve food retrieval records within a set time period prior to the current time tag; if the retrieval information of a set food in the food retrieval records meets set conditions, obtain the retrieval time tag of a set ingredient in the most recent retrieval of the set food; if the time interval between the retrieval time tag and the current time tag is less than a first interval duration, recommend target snacks to the target object based on the current food database; otherwise, recommend target ingredients to the target object based on ingredient recommendation principles and the current food database.
[0116] Optional, such as Figure 1b As shown, the smart refrigerator may also include a display unit 104, which is configured as a display interface.
[0117] The target object can interact with the smart refrigerator through the display unit 104. For example, in response to the target object's operation of viewing the current food database, the smart refrigerator can display the various foods currently stored in the refrigerator to the target object through the display unit 104; in response to the target object's operation of viewing historical food access records, the smart refrigerator can display the food access records of the selected date or time to the target object through the display unit 104.
[0118] In some embodiments, a flowchart of the intelligent food recommendation method performed by the smart refrigerator described above can be found here. Figure 2 As shown, it includes the following steps:
[0119] Step S201: In response to the hunger signal emitted by the target object, obtain the current time tag.
[0120] Optionally, the voice data emitted by the target object can be acquired in real time and the voice data can be recognized. If the target object is identified as having emitted target voice data, it can be determined that the hunger signal emitted by the target object has been received, and the current time tag can be obtained in response to the hunger signal emitted by the target object.
[0121] For example, the voice data emitted by the target can be recognized. If the voice command "I am hungry" is recognized, it is determined that the target has emitted a hunger signal.
[0122] Step S202: If the current time tag is within the first set time period, retrieve the food retrieval records within the set time period before the current time tag.
[0123] The current time tag can be matched with different time periods, which are distinguished according to daily routines. The specific process to be executed will be different depending on the time period in which the current time tag is located.
[0124] After obtaining the current time tag, if it is determined that the current time tag is within the first set time period, the food retrieval records within the set time period before the current time tag can be retrieved.
[0125] For example, if the current time tag is 9:00, the first set time period is 7:00-21:00, and the set duration is 3 hours, then after obtaining the current time tag, based on the current time tag being 9:00, it can be determined that it is within the time period of 7:00-21:00. At this time, the food take-out records within the 3 hours before 9:00 can be retrieved, that is, the food take-out records within the time period of 6:00-9:00 can be retrieved.
[0126] Step S203: If the food retrieval information in the food retrieval record meets the set conditions, then obtain the retrieval time tag of the set ingredient in the most recent retrieval of the set food.
[0127] Setting up food can include setting ingredients and setting up snacks. Ingredients can be foods used to prepare dishes, while snacks can be foods that can be eaten directly without any processing.
[0128] The conditions can be set such that the number of different types of food taken out is not less than a set threshold, and the number of times snacks are taken out is less than a set threshold.
[0129] When it is determined that the food retrieval information in the food retrieval record meets the set conditions, the retrieval time tag of the set ingredients in the most recent food retrieval can be obtained.
[0130] For example, if the current time tag is 9:00, the set duration is 3 hours, the set quantity threshold is 2, and the set frequency threshold is 1, if the target object only takes out vegetables and beef at 7:00 between 6:00 and 9:00, and does not take out any snacks between 6:00 and 9:00, then the time tag for the target object taking out the food can be determined to be 7:00.
[0131] Step S204: Determine whether the time interval between the retrieved time tag and the current time tag is less than the first interval duration; if yes, proceed to step S205; if no, proceed to step S206.
[0132] Step S205: Based on the current food database, recommend target snacks for the target audience.
[0133] When it is determined that the time interval between the retrieved time tag and the current time tag is less than the first interval duration, target snacks can be recommended to the target object based on the current food database.
[0134] For example, if the current time tag is 9:00 and the retrieval time tag is 8:00, and the first interval is 2 hours, since the time interval between the retrieval time tag 8:00 and the current time tag 9:00 is 1 hour, which is less than the first interval of 2 hours, then the target snack can be recommended to the target object based on the current food database.
[0135] Specifically, it can be based on Figure 3 The process shown in the image is used to recommend target snacks to the target audience, such as... Figure 3 As shown, the following steps may be included:
[0136] Step S2051: If the time interval between the extracted time tag and the current time tag is less than the second interval duration, then based on the current food database, recommend the first type of snacks for the target object.
[0137] The first category of snacks is those designed to aid digestion in the target group, such as fruits and yogurt.
[0138] For example, if the current time tag is 9:00, the retrieval time tag is 8:00, and the second interval is 1.5 hours, since the time interval between the retrieval time tag 8:00 and the current time tag 9:00 is 1 hour, which is less than the second interval of 1.5 hours, yogurt can be recommended to the target audience based on the current food database.
[0139] Step S2052: If the time interval between the extracted time tag and the current time tag is greater than the second interval duration and the time interval is less than the first interval duration, then based on the current food database, recommend the second type of snacks for the target object.
[0140] The second category of snacks are those designed to satisfy the hunger of the target group, such as pastries and bread.
[0141] For example, if the current time tag is 9:00, the retrieval time tag is 7:00, the second interval is 1.5 hours, and the first interval is 3 hours, since the time interval between the retrieval time tag 7:00 and the current time tag 9:00 is 2 hours, which is greater than the second interval of 1.5 hours and less than the first interval of 3 hours, bread can be recommended to the target object based on the current food database.
[0142] Step S206: Based on the ingredient recommendation principles and the current food database, recommend target ingredients for the target object.
[0143] When it is determined that the time interval between the retrieved time tag and the current time tag is not less than the first interval duration, target ingredients can be recommended for the target object based on the ingredient recommendation principle and the current food database.
[0144] For example, if the current time tag is 11:00 and the retrieval time tag is 7:00, and the first interval is 3 hours, since the time interval between the retrieval time tag 7:00 and the current time tag 11:00 is 4 hours, which is not less than the first interval of 3 hours, then the target ingredients can be recommended to the target object based on the ingredient recommendation principle and the current food database.
[0145] Optionally, if the number of different types of food taken out in the food taking out record is less than a set quantity threshold, then target food can be recommended to the target object based on the food recommendation principle and the current food database.
[0146] For example, if the current time tag is 9:00, the set duration is 3 hours, and the set quantity threshold is 2, if the target object only takes out green vegetables at 6:30 between 6:00 and 9:00, then the target object can be recommended target ingredients based on the ingredient recommendation principle and the current food database.
[0147] Optionally, if the food retrieval record shows that the number of different types of ingredients retrieved is not less than a set quantity threshold and the number of times snacks are retrieved is not less than a set frequency threshold, then target ingredients can be recommended to the target object based on the ingredient recommendation principles and the current food database.
[0148] For example, if the current time tag is 11:00, the set duration is 3 hours, the set quantity threshold is 2, and the set frequency threshold is 1, if the target object takes out vegetables and beef at 8:10 between 8:00 and 11:00, and then takes out snacks again at 10:00, then the target object can be recommended target ingredients based on the ingredient recommendation principle and the current food database.
[0149] Specifically, the principles for recommending ingredients can be based on Figure 4 The process shown in the figure is used to determine, such as Figure 4 As shown, it includes the following steps:
[0150] Step S401: If, based on the food access records, it is determined that at least one first ingredient has a fixed access time tag every day, and the time interval between the access time tag and the current time tag is less than the access interval duration, then at least one first ingredient is recommended.
[0151] Among them, the food access record is the food access record within the set number of days before the current time tag.
[0152] For example, if the current time tag is 7:30, and the target person takes tomatoes and eggs out of the refrigerator every day at 7:30 for 7 days, then tomatoes and eggs can be recommended as the first food item to the target person.
[0153] Step S402: If, based on the food access records, it is determined that the access count of at least one first ingredient is greater than the first access count threshold, then at least one second ingredient whose access count is not greater than the first access count threshold is recommended.
[0154] For example, if the first count threshold is 8, and the target object takes out eggs and beef 10 times each within 7 days, and takes out vegetables 3 times, chicken 7 times, and radishes 5 times within 7 days, then instead of recommending eggs and beef to the target object, vegetables, chicken, and radishes can be recommended as the second food item recommended to the target object.
[0155] Step S403: If, based on the food access records, it is determined that the access count of at least one first ingredient is less than the first access threshold, and the access count of at least one first ingredient is greater than the second access threshold, then at least one third ingredient with an access count not greater than the second access threshold is recommended.
[0156] The threshold for the first count is greater than the threshold for the second count.
[0157] For example, if the threshold for the first count is 8 and the threshold for the second count is 4, and assuming that the target subject takes out tomatoes and eggs 6 times each and chicken 5 times within 7 days, and does not take out green vegetables but takes out beef 2 times within 7 days, then green vegetables and beef can be recommended to the target subject, that is, green vegetables and beef can be recommended as the third food to the target subject.
[0158] Step S404: If, based on the food access records, it is determined that the access count of at least one first ingredient is less than the second access threshold, then at least one first ingredient is recommended.
[0159] For example, if the threshold for the second count is 4, and assuming the target person takes out tomatoes and eggs twice each within 7 days, then tomatoes and eggs can be recommended to the target person, that is, tomatoes and eggs can be recommended as the first food to the target person.
[0160] After obtaining the recommended ingredients, you can then... Figure 5 The process shown in the image is used to recommend target ingredients to the target audience, such as... Figure 5 As shown, it includes the following steps:
[0161] Step S2061: Determine at least one recommended candidate ingredient based on the ingredient recommendation principle.
[0162] If the ingredient recommendation principle recommends at least one primary ingredient, then at least one recommended candidate ingredient can be determined as at least one primary ingredient.
[0163] If the ingredient recommendation principle recommends at least one second ingredient, then it can be determined that the recommended at least one candidate ingredient is at least one second ingredient.
[0164] If the ingredient recommendation principle recommends at least one third ingredient, then it can be determined that the recommended at least one candidate ingredient is at least one third ingredient.
[0165] Step S2062: If the current food database includes at least one candidate ingredient, then the target ingredient is determined from the at least one candidate ingredient, and the target ingredient is recommended to the target object.
[0166] If at least one primary ingredient is determined to be recommended based on the ingredient recommendation principle, and the current food database includes at least one primary ingredient, then one or more ingredients can be selected from the at least one primary ingredient as target ingredients, and the target ingredient can be recommended to the target object.
[0167] If at least one second ingredient is recommended based on the ingredient recommendation principle, and the current food database includes at least one second ingredient, then one or more ingredients can be selected from the at least one second ingredient as the target ingredient, and the target ingredient can be recommended to the target object.
[0168] If, based on the principle of ingredient recommendation, at least one third ingredient is determined to be recommended, and the current food database includes at least one third ingredient, then one or more ingredients can be selected from at least one third ingredient as target ingredients, and the target ingredient can be recommended to the target object.
[0169] Optionally, after identifying the target ingredients to recommend to the target audience, it is also possible to identify target recipes associated with the target ingredients from the candidate recipes corresponding to the set ingredients, and recommend the target recipes to the target audience.
[0170] For example, after determining that the target ingredients to recommend to the target audience are potatoes and beef, you can also recommend a recipe for braised beef with potatoes.
[0171] In other embodiments, the flowchart of the intelligent food recommendation method performed by the smart refrigerator described above may also be as follows: Figure 6a As shown, it includes the following steps:
[0172] Step S601: In response to the hunger signal emitted by the target object, obtain the current time tag.
[0173] Step S602: Determine that the current time tag is within the first set time period, and retrieve the food retrieval records within the set time period before the current time tag.
[0174] Step S603: Determine whether the types of ingredients taken out in the food taking out record are less than the set quantity threshold; if not, proceed to step S604; if yes, proceed to step S610.
[0175] Step S604: Obtain the time tag of the most recent time the set ingredient was taken out.
[0176] Step S605: Determine whether the number of times snacks are taken in the food taking record is less than the set number threshold; if not, proceed to step S610; if yes, proceed to step S606.
[0177] Step S606: Determine whether the time interval between the retrieved time tag and the current time tag is less than the second interval duration; if not, proceed to step S607; if yes, proceed to step S608.
[0178] Step S607: Determine whether the time interval between the retrieved time tag and the current time tag is less than the first interval duration; if not, proceed to step S610; if yes, proceed to step S609.
[0179] Step S608: Based on the current food database, recommend the first category of snacks for the target audience.
[0180] For example, such as Figure 6b As shown, in response to the hunger signal emitted by the target, the current time tag 13:00 is obtained. The current time tag 13:00 is within the first set time period of 7:00-21:00. The food removal records of the 3 hours before the current time tag 13:00 are retrieved. The food removal records include peppers, beef and onions. More than 2 kinds of food are taken out. The time tag of the most recent food removal is obtained at 11:45. The time interval between time tag 11:45 and the current time tag 13:00 is less than 1.5 hours. The smart refrigerator includes yogurt and bread. Yogurt is recommended to the target.
[0181] Step S609: Based on the current food database, recommend a second type of snack for the target audience.
[0182] For example, such as Figure 6c As shown, in response to the hunger signal emitted by the target, the current time tag 14:00 is obtained. The current time tag 14:00 is within the first set time period of 7:00-21:00. The food taking records of the 3 hours before the current time tag 14:00 are retrieved. The food taking records include peppers, beef and onions. More than 2 kinds of food are taken. The time tag of the most recent food taking is obtained, 11:45. The time interval between time tag 11:45 and the current time tag 14:00 is greater than 1.5 hours and less than 3 hours. The smart refrigerator includes yogurt and bread. Bread is recommended to the target.
[0183] Step S610: Based on the ingredient recommendation principles and the current food database, recommend target ingredients for the target object.
[0184] For example, such as Figure 6d As shown, in response to the hunger signal emitted by the target object, the current time tag 11:30 is obtained. The current time tag 11:30 is within the first set time period of 7:00-21:00. The food removal records of the 4 hours before the current time tag 11:30 are retrieved. The food removal records include vegetables and chicken. The number of food items taken out is no less than 2. The time tag of the most recent food removal is obtained, 8:00. The time interval between the time tag 8:00 and the current time tag 11:30 is greater than 3 hours. The food recommendation principle recommends potatoes and beef. The smart refrigerator includes potatoes, beef and cucumbers. Potatoes and beef are recommended for the target object.
[0185] Step S611: From the candidate recipes corresponding to the set ingredients, determine the target recipe associated with the target ingredient, and recommend the target recipe to the target object.
[0186] Optionally, smart refrigerators can also be configured according to, for example Figure 7 The flowchart shown illustrates the steps for intelligent food recommendation:
[0187] Step S701: In response to the hunger signal emitted by the target object, obtain the current time tag.
[0188] Step S702: Determine that the current timestamp is located in the second set time period.
[0189] Step S703: Based on the ingredient recommendation principles and the current food database, recommend target ingredients for the target object.
[0190] Step S704: From the candidate recipes corresponding to the set ingredients, determine the target recipe associated with the target ingredient, and recommend the target recipe to the target object.
[0191] Optionally, smart refrigerators can also be configured according to, for example Figure 8 The flowchart shown illustrates the steps involved in intelligent food recommendation:
[0192] Step S801: In response to the hunger signal emitted by the target object, obtain the current time tag.
[0193] Step S802: Determine that the current time tag is located in the third set time period.
[0194] Step S803: Determine the target audience and recommend ingredients.
[0195] Step S804: Based on the ingredient recommendation principles and the current food database, recommend target ingredients for the target object.
[0196] Step S805: From the candidate recipes corresponding to the set ingredients, determine the target recipe associated with the target ingredient, and recommend the target recipe to the target object.
[0197] In some embodiments, the overall process of the intelligent food recommendation method performed by the smart refrigerator described above can be as follows: Figure 9 As shown, it includes the following steps:
[0198] Step S901: Recognize the voice data of the target object to determine that a hunger signal from the target object has been received.
[0199] The voice data of the target object is recognized in real time. When the voice data of the target object is recognized as such as "I am hungry", it can be determined that the hunger signal of the target object has been received.
[0200] Step S902, obtain the current time tag T;
[0201] When it is determined that a hunger signal from the target object has been received, the current time stamp T can be obtained.
[0202] Step S9031: Determine that the current time tag T is within the first set time period 7:00-21:00.
[0203] The current time tag T can be matched with different time periods, which are distinguished according to daily routines. The specific process to be executed will be different depending on the time period in which the current time tag T is located.
[0204] When the current time tag T is within the first set time period of 7:00-21:00, it is the daytime period, which is the activity period. Due to the different activities, meal times and meals of the target audience, the recommendations should also vary depending on the situation and require further analysis.
[0205] Step S904: Retrieve the food retrieval record located n hours before the current time tag T.
[0206] Based on the current time tag T, retrieve the food removal records from the previous n hours. These records include the removal information and time for main dishes, as well as the removal information and time for snacks.
[0207] Step S905: Determine whether the type m1 of ingredients taken out in the food taking out record is less than the set quantity threshold; if not, proceed to step S906; if yes, proceed to step S912.
[0208] Step S906: Obtain the time tag T1 of the most recent time the set ingredient was taken out.
[0209] By statistically analyzing the food removal records of the previous n hours, if it is determined that the type m1 of the food removed in the food removal records is not less than the set quantity threshold, the removal time tag T1 of the most recent removal of the set food can be obtained.
[0210] For example, if there are records of m1≥2 types of vegetables or meats taken out within n hours, then determine the time label T1 of the last food item taken out within n hours.
[0211] Step S907: Determine whether the number of times snacks are taken out in the food taking out record m2 is less than the set number threshold; if not, proceed to step S912; if yes, proceed to step S908.
[0212] Step S908: Determine whether the time interval between the retrieved time tag T1 and the current time tag T is less than the second interval duration; if not, proceed to step S909; if yes, proceed to step S910.
[0213] Step S909: Determine whether the time interval between the retrieved time tag T1 and the current time tag T is less than the first interval duration; if not, proceed to step S912; if yes, proceed to step S911.
[0214] Step S910: Based on the current food database, recommend the first category of snacks for the target audience.
[0215] If it is determined that the type of food taken out in the food taking out record m1 is not less than the set quantity threshold, the number of times the snacks are taken out in the food taking out record m2 is less than the set number of times threshold, and the time interval between the most recent time tag T1 of the food taking out the set food and the current time tag T is less than the second interval duration, then based on the current food database, the first type of snacks is recommended to the target object.
[0216] For example, if there are records of taking out 2 types of vegetables or meat within n hours, m1≥2, and the number of times fruit or snacks are taken out within n hours is m2<1, and the time interval between the last time tag T1 of taking out food within n hours and the current time tag T is less than 1.5 hours, it is defined as the target being hungry shortly after eating. If the refrigerator contains fruit or yogurt, then fruit or yogurt will be recommended to the target being first.
[0217] Step S911: Based on the current food database, recommend a second type of snack for the target audience.
[0218] If it is determined that the type of food taken out in the food taking out record m1 is not less than the set quantity threshold, the number of times snacks are taken out in the food taking out record m2 is less than the set number of times threshold, and the time interval between the most recent time tag T1 of taking out the set food and the current time tag T is not less than the second interval duration and less than the first interval duration, then based on the current food database, the second type of snack is recommended for the target object.
[0219] For example, if there are records of taking out 2 types of vegetables or meat within n hours, m1≥2, and the number of times fruit or snacks are taken out within n hours is m2<1, and the time interval between the last time tag T1 of taking out food within n hours and the current time tag T is greater than 1.5 hours and less than 3 hours, it is defined as the time after eating is relatively long and the target is hungry. At this time, if there are snacks or bread in the refrigerator, snacks or bread will be recommended to the target first.
[0220] Step S912: Based on the ingredient recommendation principles and the current food database, recommend target ingredients for the target object.
[0221] If it is determined that the number of food items taken out in the food retrieval record is less than the set quantity threshold, or if the number of snack items taken out in the food retrieval record is less than the set quantity threshold and the number of snack items taken out in the food retrieval record is not less than the set number of times threshold, then target food items are recommended for the target object based on the food recommendation principle and the current food database.
[0222] For example, if the number of types of vegetables or meat taken out within n hours is less than 2, then it is defined that the target person has not eaten during this time period. Based on the food recommendation principle and the food currently included in the refrigerator, food will be recommended to the target person first.
[0223] If the number of times fruit or snacks are taken out within n hours is m2≥1, meaning the target has taken out a snack at least once, and the target says they are hungry again, then based on the food recommendation principle and the food currently included in the refrigerator, food will be recommended to the target first.
[0224] Step S913: From the candidate recipes corresponding to the set ingredients, determine the target recipe associated with the target ingredient, and recommend the target recipe to the target object.
[0225] Step S9032: Determine that the current time tag T is in the second set time period 5:00-7:00, and execute step S912.
[0226] When the current time tag is between 5:00 and 7:00, it is the early morning period. This time is defined as the breakfast period. There is no need to recommend snacks to the target audience. Instead, breakfast is recommended to the target audience based on the food recommendation principles and the food currently in the refrigerator.
[0227] Step S9033: Determine that the current time tag T is in the third set time period 21:00-5:00.
[0228] Step S90331: Determine whether the target needs recommended ingredients; if not, proceed to step S90332; if yes, proceed to step S912.
[0229] Step S90332: Praise the target's self-discipline and remind the target to take a break.
[0230] When the current time tag is 21:00-5:00, which is the nighttime period, you can remind the target that eating during this time is unhealthy, ask the target if they need a late-night snack recommendation, and if it is determined that the target needs a late-night snack recommendation, recommend food for the target based on the food recommendation principles and the food currently included in the refrigerator. If it is determined that the target does not need a late-night snack recommendation, praise the target's self-discipline and remind the target to rest.
[0231] In some embodiments, the flowchart for implementing the food recommendation principle can be as follows: Figure 10 As shown, it includes the following steps:
[0232] Step S1001: Establish the bus monitoring process.
[0233] A bus monitoring process is established for food management in smart refrigerators to monitor and store historical food access information of target objects, including the time of access, name and quantity of accessed food, and the category to which the accessed food belongs.
[0234] Step S1002: Implement food storage and retrieval, and record the food storage and retrieval information and storage and retrieval time.
[0235] The target user can access and retrieve food items from the smart refrigerator through voice interaction, large screen interaction, and image interaction, and record the access information and time of the food items during the access process.
[0236] Step S1003: Store the changes to the food database during the current operation.
[0237] Step S1004: When a hunger signal from the target object is received, obtain the current time tag T.
[0238] Step S1005: Retrieve the food storage and retrieval records for the days prior to the current time tag T.
[0239] Retrieve the food storage and retrieval records for the days prior to the current time tag T. This record may include the food name, quantity, time, and information about the person who stored or retrieved the food.
[0240] Step S1006: Perform statistical analysis on the food storage and retrieval records.
[0241] Step S1007: determining an ingredient recommendation principle.
[0242] The ingredient recommendation principle may include:
[0243] (1) In the N days before the current time tag T, if the access time tag t1 of the ingredient food-s1 is substantially fixed, and the time tag T is close to the time tag t1, the ingredient food-s1 is preferentially recommended;
[0244] (2) In the N days before the current time tag T, if the access times w of the ingredient food-s1 is greater than w1, food-s1 may be excluded, and other ingredients food-s2 with access times w less than w1 are recommended to remind the target subject of dietary diversity;
[0245] (3) In the N days before the current time tag T, if the access times w of the ingredient food-s1 satisfies w1>w>w2 (w1>w2>0), other ingredients food-s3 with access times w less than w2 are preferentially recommended, so as to ensure the diversity and reasonability of the diet of the target subject;
[0246] (4) In the N days before the current time tag T, if the access times w of the ingredient food-s1 is less than w2, the ingredient food-s1 is preferentially recommended to remind the target subject that such an ingredient has not been eaten for a long time.
[0247] Step S1008: acquiring at least one recommended candidate ingredient.
[0248] In the intelligent food recommendation method provided in the embodiments of the present application, in response to a hunger signal sent by a target subject, the current time tag may be acquired. If the current time tag is within a first set time period, food removal records within a set duration before the current time tag are retrieved. If the removal information of a set food in the food removal records meets a set condition, the latest removal time tag for removing the set ingredient from the set food is acquired. If the time interval between the removal time tag and the current time tag is less than a first interval duration, a target snack is recommended to the target subject according to the current food database; otherwise, a target ingredient is recommended to the target subject according to the ingredient recommendation principle and the current food database, so that more accurate and reasonable snacks or ingredients can be recommended for the target subject.
[0249] The intelligent food recommendation method proposed in the present application has the following advantages:
[0250] I. The intelligent food recommendation method in this application, after obtaining the current time tag T, can analyze and predict food or snack recommendations for the user based on the food retrieval records of the n hours prior to the current time tag T, thereby improving the accuracy and user-friendliness of the smart refrigerator's interactive features. Furthermore, this method can also determine food recommendation principles based on the smart refrigerator's food storage and retrieval history, providing the target user with reasonable and nutritionally comprehensive food recommendations.
[0251] Second, the intelligent food recommendation method in this application can solve the problem of not being able to accurately determine whether to recommend food or snacks to the target object after receiving the target object's hunger signal. When it is determined that food needs to be recommended to the target object, the method can recommend target food based on food recommendation principles, thereby providing the target object with a deeply resonant recommendation.
[0252] In one embodiment, this application also provides a smart refrigerator, the structural schematic diagram of which can also be as shown below. Figure 1a As shown, it includes:
[0253] The housing 101 includes a storage compartment having an opening;
[0254] The refrigerator door 102 is movably connected to the housing 101 and is used to cover the opening;
[0255] The processor 103 is configured to: when the target object takes out the set food at the first time, in response to the target object sending a hunger signal at the second time, recommend the target snack to the target object based on the current food database, wherein the time interval between the first time and the second time is less than the set interval duration; when the target object takes out the set food at the first time, in response to the target object sending a hunger signal at the second time, recommend the target food to the target object based on the current food database, wherein the time interval between the first time and the second time is not less than the set interval duration.
[0256] In this context, the ingredients are defined as food used to prepare dishes.
[0257] Specifically, when a smart refrigerator detects that a target user takes out food immediately—meaning the user prepares a meal with that food and eats it immediately—and then detects that the user sends a hunger signal at a later time, the smart refrigerator can prioritize recommending snacks based on the food currently stored in the refrigerator, provided the time interval between the two times is less than a set interval. For example, if the smart refrigerator detects that the user takes out cucumbers and eggs at 8:00 AM and then sends a hunger signal at 10:00 AM, since the time interval between 8:00 AM and 10:00 AM is less than the set interval of 3.5 hours, the smart refrigerator can prioritize recommending snacks such as fruit, yogurt, or bread based on the food currently stored in the refrigerator.
[0258] When a smart refrigerator detects that a user has taken out food at the first moment, and then detects that the user has issued a hunger signal at the second moment, the smart refrigerator can prioritize recommending food to the user based on the food currently stored in the refrigerator, provided that the time interval between the first and second moments is not less than a set interval. For example, if the smart refrigerator detects that the user has taken out cucumbers and eggs at 8:00 AM, and then detects that the user has issued a hunger signal at 12:00 PM, since the time interval between 8:00 AM and 12:00 PM is not less than the set interval of 3.5 hours, the smart refrigerator can prioritize recommending beef, vegetables, or chicken to the user based on the food currently stored in the refrigerator.
[0259] When a smart refrigerator recommends snacks or food to a target user based on the time interval between the first and second times, it needs to ensure that the target user has not taken out any food or snacks during the time interval between the first and second times.
[0260] Optionally, the processor 103 is also configured to: in response to the target object sending a hunger signal at the first moment, recommend target ingredients to the target object based on the current food database, wherein the first moment is in a first time period, or the first moment is in a second time period and it is determined that the target object needs recommended ingredients.
[0261] Specifically, when a smart refrigerator detects that a target person sends a hunger signal at the first possible moment, and determines that the first moment falls within a specific time period, the smart refrigerator can prioritize recommending food to the target person based on the food currently stored in the refrigerator. For example, if the smart refrigerator detects that the target person sends a hunger signal at 6:00 AM, and 6:00 AM falls within the first time period of 5:00 AM to 7:00 AM, the smart refrigerator can directly recommend breakfast to the target person.
[0262] When a smart refrigerator detects that a target person sends a hunger signal at the first possible moment, and determines that this moment falls within the second time period, the refrigerator can first determine if the target person needs food recommendations. If the target person confirms that they need food recommendations, the refrigerator can prioritize recommending food based on the food currently stored in the refrigerator. For example, if the smart refrigerator detects that the target person sends a hunger signal at 22:00, which falls within the second time period of 21:00-5:00, the refrigerator can ask the target person if they need a late-night snack recommendation. If the target person confirms that they need a late-night snack recommendation, the refrigerator can recommend one.
[0263] Optionally, the processor 103 is further configured to: when the target object takes out the set food at a first time, in response to the target object sending a hunger signal at a second time, recommend a first type of snack to the target object based on the current food database, wherein the time interval between the first time and the second time is less than the first interval duration, and the first type of snack is a snack used to promote the target object's digestion; when the target object takes out the set food at a first time, in response to the target object sending a hunger signal at a second time, recommend a second type of snack to the target object based on the current food database, wherein the time interval between the first time and the second time is greater than the first interval duration, and the time interval between the first time and the second time is less than the second interval duration, the first interval duration is less than the second interval duration, and the second type of snack is a snack used to solve the target object's hunger.
[0264] Specifically, when a smart refrigerator detects that a target person has taken out food at the first moment, and then detects that the target person has issued a hunger signal at the second moment, if the time interval between the first and second moments is less than the first interval length, the smart refrigerator can prioritize recommending the first type of snack to promote digestion based on the food currently stored in the refrigerator. For example, if the smart refrigerator detects that the target person has taken out food at 11:30 and then detects that the target person has issued a hunger signal at 12:30, since the time interval between 11:30 and 12:30 is less than the first interval length of 1.5 hours, the smart refrigerator can prioritize recommending fruit or yogurt based on the food currently stored in the refrigerator.
[0265] When a smart refrigerator detects that a user has taken out food at 11:30 AM, and then detects that the user has issued a hunger signal at 1:30 PM, the refrigerator can prioritize recommending a second type of snack to address the user's hunger, provided the time interval between the two times is greater than the first interval but less than the second interval. For example, if the smart refrigerator detects that the user took out food at 11:30 AM and then issued a hunger signal at 1:30 PM, the time interval between 11:30 AM and 1:30 PM is greater than the first interval (1.5 hours) but less than the second interval (3 hours). Therefore, the smart refrigerator can prioritize recommending a snack or bread based on the food currently stored in the refrigerator.
[0266] and Figure 2 The illustrated intelligent food recommendation method is based on the same inventive concept. This application also provides an intelligent food recommendation device that can be installed in a smart refrigerator. Since this device corresponds to the intelligent food recommendation method of this application, and the principle by which it solves the problem is similar to that of the method, its implementation can refer to the implementation of the aforementioned method; repeated details will not be elaborated further.
[0267] Figure 11 This paper shows a schematic diagram of the structure of a smart food recommendation device provided in an embodiment of this application. Figure 11 As shown, the intelligent food recommendation device includes a current time acquisition unit 1101, a retrieval record retrieval unit 1102, a retrieval time acquisition unit 1103, and a food recommendation unit 1104.
[0268] The current time acquisition unit 1101 is used to acquire the current time tag in response to the hunger signal emitted by the target object;
[0269] The record retrieval unit 1102 is used to retrieve food retrieval records within a set time period before the current time tag if the current time tag is within a first set time period.
[0270] The retrieval time acquisition unit 1103 is used to acquire the retrieval time tag of the set ingredient in the most recent retrieval of the set food if the retrieval information of the set food in the food retrieval record meets the set conditions.
[0271] The food recommendation unit 1104 is used to recommend target snacks to the target object based on the current food database if the time interval between the retrieved time tag and the current time tag is less than a first interval duration; otherwise, it recommends target ingredients to the target object based on the ingredient recommendation principle and the current food database.
[0272] In one optional embodiment, setting food includes setting ingredients and setting snacks, and setting conditions include: the number of types of ingredients taken out is not less than a set quantity threshold, and the number of times snacks are taken out is less than a set number threshold.
[0273] In an optional embodiment, the food recommendation unit 1104 is further configured to:
[0274] If the current time tag is in the second set time period, or if the current time tag is in the third set time period and it is determined that the target object needs recommended ingredients, or if the set number of types of ingredients taken out is less than the set quantity threshold, or if the set number of types of ingredients taken out is not less than the set quantity threshold and the set number of snacks taken out is not less than the set number threshold, then target ingredients will be recommended to the target object according to the ingredient recommendation principle and the current food database.
[0275] In an optional embodiment, the food recommendation unit 1104 is specifically used for:
[0276] Based on the principles of ingredient recommendation, at least one candidate ingredient is recommended;
[0277] If the current food database includes at least one candidate ingredient, then the target ingredient is determined from the candidate ingredients and recommended to the target object; the ingredient recommendation principle is determined by the food access records within a set number of days before the current time tag.
[0278] In one alternative embodiment, the principles for recommending ingredients include:
[0279] If, based on food access records, it is determined that at least one primary ingredient has a fixed access time tag each day, and the time interval between the access time tag and the current time tag is less than the access interval duration, then at least one primary ingredient is recommended.
[0280] If, based on the food access records, it is determined that the number of accesses to at least one first ingredient is greater than the first access threshold, then at least one second ingredient whose access count is not greater than the first access threshold is recommended.
[0281] If, based on the food access records, it is determined that the access count of at least one first ingredient is less than the first access threshold, and the access count of at least one first ingredient is greater than the second access threshold, then at least one third ingredient with an access count not greater than the second access threshold is recommended; the first access threshold is greater than the second access threshold.
[0282] If, based on the food access records, it is determined that the number of accesses for at least one primary ingredient is less than the threshold for the second access, then at least one primary ingredient is recommended.
[0283] In an optional embodiment, the food recommendation unit 1104 is specifically used for:
[0284] If the time interval between the retrieved time tag and the current time tag is less than the second interval duration, then based on the current food database, the first type of snacks is recommended for the target object; the first type of snacks are snacks used to promote the digestion of the target object.
[0285] If the time interval between the retrieved time tag and the current time tag is greater than the second interval duration and less than the first interval duration, then based on the current food database, a second type of snack is recommended to the target object; the first interval duration is greater than the second interval duration; the second type of snack is a snack used to solve the target object's hunger.
[0286] In one alternative embodiment, such as Figure 12 As shown, the above-mentioned device may further include a recipe recommendation unit 1201, used for:
[0287] From the candidate recipes corresponding to the set ingredients, identify the target recipes associated with the target ingredients and recommend the target recipes to the target object.
[0288] According to one aspect of this application, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the intelligent food recommendation method described in the above embodiments.
[0289] The program product may employ any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of readable storage media include: electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0290] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.
Claims
1. A smart refrigerator, characterized in that, include: A housing, the housing including a storage compartment having an opening; The refrigerator door is movably connected to the housing and is used to cover the opening; The processor is configured as follows: In response to the hunger signal emitted by the target object, obtain the current time tag; If the current time tag is within a first set time period, then retrieve the food retrieval records within the set time period preceding the current time tag; If the food retrieval information in the food retrieval record meets the set conditions, then the retrieval time tag of the set ingredient in the most recent retrieval of the set food is obtained; wherein, the set food includes the set ingredient and the set snack, the ingredient is food used to make dishes, and the snack is food that can be eaten directly without processing, and the set conditions include: the number of types of set ingredients retrieved is not less than a set quantity threshold, and the number of times the set snack is retrieved is less than a set number threshold. If the time interval between the retrieved time tag and the current time tag is less than the first interval duration, then target snacks are recommended for the target object based on the current food database; otherwise, target ingredients are recommended for the target object based on the ingredient recommendation principle and the current food database.
2. The intelligent refrigerator according to claim 1, characterized in that, After obtaining the current timestamp, the processor is further configured to: If the current time tag is located in the second set time period, or if the current time tag is located in the third set time period and it is determined that the target object needs recommended ingredients, or if the number of types of the set ingredients taken is less than a set quantity threshold, or if the number of types of the set ingredients taken is not less than a set quantity threshold and the number of times the set snacks are taken is not less than a set number threshold, then target ingredients are recommended for the target object according to the ingredient recommendation principle and the current food database.
3. The intelligent refrigerator according to claim 1 or 2, characterized in that, The processor is also configured to: Based on the principles of ingredient recommendation, at least one candidate ingredient is recommended; If the current food database includes at least one candidate ingredient, then the target ingredient is determined from the at least one candidate ingredient, and the target ingredient is recommended to the target object; the ingredient recommendation principle is determined by the food access records within a set number of days prior to the current time tag.
4. The intelligent refrigerator according to claim 3, characterized in that, The principles for recommending the ingredients include: If, based on the food access records, it is determined that at least one first ingredient has a fixed access time tag every day, and the time interval between the access time tag and the current time tag is less than the access interval duration, then the at least one first ingredient is recommended. If, based on the food access records, it is determined that the number of accesses to at least one first ingredient is greater than the first access threshold, then at least one second ingredient whose number of accesses is not greater than the first access threshold is recommended. If, based on the food access records, it is determined that the access count of at least one first ingredient is less than the first access threshold, and the access count of at least one first ingredient is greater than the second access threshold, then at least one third ingredient with an access count not greater than the second access threshold is recommended; the first access threshold is greater than the second access threshold. If, based on the food access records, it is determined that the number of accesses to at least one first ingredient is less than the second access threshold, then the at least one first ingredient is recommended.
5. The intelligent refrigerator according to claim 1, characterized in that, The processor is also configured to: If the time interval between the retrieved time tag and the current time tag is less than the second interval duration, then based on the current food database, a first type of snack is recommended for the target object; the first type of snack is a snack used to promote the digestion of the target object. If the time interval between the retrieved time tag and the current time tag is greater than the second interval duration and the time interval is less than the first interval duration, then based on the current food database, a second type of snack is recommended for the target object; the first interval duration is greater than the second interval duration. The second type of snack is snacks used to satisfy the hunger of the target.
6. The intelligent refrigerator according to claim 1, characterized in that, After recommending target ingredients for the target object, the processor is further configured to: From the candidate recipes corresponding to the set ingredients, a target recipe associated with the target ingredient is determined, and the target recipe is recommended to the target object.
7. A method for intelligent food recommendation, characterized in that, include: In response to the hunger signal emitted by the target object, obtain the current time tag; If the current time tag is within a first set time period, then retrieve the food retrieval records within the set time period preceding the current time tag; If the food retrieval information in the food retrieval record meets the set conditions, then the retrieval time tag of the set ingredient in the most recent retrieval of the set food is obtained; wherein, the set food includes the set ingredient and the set snack, the ingredient is food used to make dishes, and the snack is food that can be eaten directly without processing, and the set conditions include: the number of types of set ingredients retrieved is not less than a set quantity threshold, and the number of times the set snack is retrieved is less than a set number threshold. If the time interval between the retrieved time tag and the current time tag is less than the first interval duration, then target snacks are recommended for the target object based on the current food database; otherwise, target ingredients are recommended for the target object based on the ingredient recommendation principle and the current food database.
8. A smart refrigerator, characterized in that, include: A housing, the housing including a storage compartment having an opening; The refrigerator door is movably connected to the housing and is used to cover the opening; The processor is configured as follows: When the target object takes out the set ingredients at the first time, in response to the target object sending a hunger signal at the second time, the target snack is recommended to the target object according to the current food database. The time interval between the first time and the second time is less than the set interval length. The snack is food that can be eaten directly without processing. When the target object takes out the set ingredients at the first time, in response to the target object sending a hunger signal at the second time, the target object is recommended with the target ingredients according to the current food database. The time interval between the first time and the second time is not less than the set interval duration, and the ingredients are food used to make dishes.
9. The intelligent refrigerator according to claim 8, characterized in that, The processor is also configured to: In response to the target object sending a hunger signal at the first moment, the target object is recommended target ingredients based on the current food database, wherein the first moment is in a first time period, or the first moment is in a second time period and it is determined that the target object needs recommended ingredients.
10. The intelligent refrigerator according to claim 8, characterized in that, The processor is also configured to: When the target object takes out the set food at the first time, in response to the target object sending a hunger signal at the second time, according to the current food database, a first type of snack is recommended to the target object, wherein the time interval between the first time and the second time is less than the first interval duration, and the first type of snack is a snack used to promote the digestion of the target object. When the target takes out the designated food at the first time, in response to the target sending a hunger signal at the second time, a second type of snack is recommended to the target based on the current food database. The time interval between the first time and the second time is greater than the first interval length, and the time interval between the first time and the second time is less than the second interval length. The first interval length is less than the second interval length. The second type of snack is a snack used to solve the target's hunger.
Citation Information
Patent Citations
Method and device for recommending amount of ingredients and computer readable storage medium
CN110597097A
Diet recommendation method, device and equipment
CN110910988A
Refrigerator and recipe recommendation method
CN111552874A