Method and device for storing and processing items in refrigerator, refrigerator and storage medium
The smart refrigerator automatically eliminates the storage space that affects each other by acquiring and analyzing the information of the ingredients, solving the problem of the mutual interaction of the ingredients in the refrigerator, extending the storage time of the ingredients and maintaining the quality.
Patent Information
- Application Number
- CN202211713004.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-29
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2042-12-29
AI Technical Summary
Different ingredients interact with each other in the refrigerator, resulting in shortened storage time and reduced quality of the ingredients, affecting user use.
The smart refrigerator obtains information about the ingredients to be stored and the ingredients that have been stored, determines their mutual impact, automatically excludes storage spaces that affect each other, and selects the target storage space in the remaining space to avoid the impact.
Extend the storage time of ingredients, maintain the quality of ingredients, and avoid odor or accelerated deterioration caused by food interaction.
Smart Images

Figure CN116147277B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of smart home appliances, and in particular to a method and device for storing and processing items in a refrigerator, a refrigerator, and a storage medium. Background Art
[0002] A refrigerator is a refrigeration device that maintains a constant low temperature. It is also a civilian product that keeps food or other items at a constant low temperature. By lowering the temperature of the space inside the refrigerator, the temperature of the living environment of microorganisms can be lowered, effectively inhibiting the reproduction and growth rate of microorganisms, thereby achieving the effect of preserving food.
[0003] At present, different ingredients placed in the refrigerator often affect each other. For example, when ripe apples are placed together with other fruits, the ripe apples will release ethylene which has a ripening effect, and ethylene can accelerate the decay of other fruits. Another example is that some ingredients with strong flavors (such as durian) will cause other ingredients to have different flavors, and so on. The mutual influence between different ingredients is very detrimental to the preservation of ingredients, shortens the shelf life of ingredients, affects the quality of ingredients, and affects user use. Summary of the invention
[0004] In order to solve the technical problems of putting food into a refrigerator, the present application provides a method and device for storing and processing items in a refrigerator, a refrigerator and a storage medium.
[0005] In a first aspect, the present application provides a method for storing and processing items in a refrigerator, which is applied to a smart refrigerator, and the method comprises:
[0006] Acquire first food information of a first food to be stored in the smart refrigerator and second food information of a second food stored in a plurality of storage spaces of the smart refrigerator;
[0007] Determine mutual influence information between the first ingredient and the second ingredient according to the first ingredient information and a plurality of second ingredient information;
[0008] Determine a second ingredient corresponding to the mutual influence information that meets a preset condition, and determine a storage space where the second ingredient is located as an exclusion space;
[0009] A first candidate storage space excluding the exclusion space is determined among the plurality of storage spaces, and a target storage space is determined in each of the first candidate storage spaces for storing the first food.
[0010] Optionally, determining the mutual influence information between the first ingredient and the second ingredient according to the first ingredient information and the plurality of second ingredient information includes:
[0011] Determining whether the first ingredient information belongs to a preset ingredient set, where the ingredient set is used to store ingredient information of a plurality of third ingredients, where the third ingredients are pre-collected ingredients that can have an impact on ingredients other than the third ingredients;
[0012] If the first food information is in the food set, determining the easily affected food corresponding to the first food information;
[0013] If the easily influenced food is located in any of the storage spaces, it is determined that there is a mutual influence between the first food and a second food corresponding to the easily influenced food, which is used as the mutual influence information.
[0014] Optionally, determining the mutual influence information between the first ingredient and the second ingredient according to the first ingredient information and the plurality of second ingredient information includes:
[0015] Determining whether there is second ingredient information in a preset ingredient set;
[0016] If there is second ingredient information in the preset ingredient set, it is determined that there is mutual influence between the first ingredient and the second ingredient as the mutual influence information.
[0017] Optionally, determining the target storage space from among the first candidate storage spaces other than the exclusion space in the plurality of storage spaces comprises:
[0018] For each of the first candidate storage spaces, obtaining a remaining space corresponding to the first candidate storage space;
[0019] If the remaining space of any of the first candidate storage spaces is greater than or equal to the occupied space corresponding to the first food, the first candidate storage space corresponding to the remaining space is determined as the second candidate storage space;
[0020] determining the target storage space based on each of the second candidate storage spaces;
[0021] or,
[0022] Determining the degree of mutual influence between the first ingredient and each of the second ingredients that meet a preset condition;
[0023] Determining a target spacing distance between the first food and each of the second food according to each of the mutual influence degrees;
[0024] Determine a second candidate storage space according to the target interval distance;
[0025] The target storage space is determined based on each of the second candidate storage spaces.
[0026] Optionally, determining the target storage space based on each of the second candidate storage spaces includes:
[0027] determining a first ingredient category of the first ingredient according to the first ingredient information;
[0028] determining a second ingredient category of the second ingredient in each of the second candidate storage spaces;
[0029] If the first ingredient category is the same as the second ingredient category, determining a first freshness level of the first ingredient according to the first ingredient information;
[0030] Acquire a second freshness of a second ingredient in the second candidate storage space;
[0031] If the first freshness and the second freshness correspond to the same freshness range, the second candidate space is determined as the target storage space.
[0032] Optionally, determining the target storage space based on the second candidate storage space includes:
[0033] determining a first ingredient category of the first ingredient according to the first ingredient information;
[0034] determining a second ingredient category of the second ingredient in each of the second candidate storage spaces;
[0035] If the first food category is the same as any of the second food categories, determining the second candidate space as the target storage space;
[0036] or,
[0037] determining a first freshness of the first ingredient according to the first ingredient information;
[0038] Acquire a second freshness of a second ingredient in the second candidate storage space;
[0039] If the first freshness and the second freshness correspond to the same freshness range, the second candidate space is determined as the target storage space.
[0040] Optionally, determining the target storage space based on the second candidate storage space includes:
[0041] Determine a second candidate storage space whose remaining space best matches the occupied space corresponding to the first food;
[0042] The second candidate storage space is determined as the target storage space.
[0043] In a second aspect, the present application provides a device for storing and processing items in a refrigerator, which is applied to a smart refrigerator, and the device includes:
[0044] An acquisition module, used to acquire first food information of a first food to be stored in the smart refrigerator and second food information of a second food stored in a plurality of storage spaces of the smart refrigerator;
[0045] A first determining module, configured to determine mutual influence information between the first ingredient and the second ingredient according to the first ingredient information and a plurality of second ingredient information;
[0046] A second determination module, configured to determine a second ingredient corresponding to the mutual influence information that satisfies a preset condition, and determine a storage space where the second ingredient is located as an exclusion space;
[0047] The third determining module is used to determine a first candidate storage space excluding the exclusion space in the plurality of storage spaces, and determine a target storage space in each of the first candidate storage spaces for storing the first food.
[0048] Optionally, the first determining module includes:
[0049] a first determining unit, configured to determine whether the first ingredient information belongs to a preset ingredient set, wherein the ingredient set is used to store ingredient information of a plurality of third ingredients, wherein the third ingredients are pre-collected ingredients that can have an impact on ingredients other than the third ingredients;
[0050] a second determining unit, configured to determine an easily affected ingredient corresponding to the first ingredient information if the first ingredient information is in the ingredient set;
[0051] The third determining unit is used to determine, if the easily influenced food is located in any of the storage spaces, that there is a mutual influence between the first food and a second food corresponding to the easily influenced food, as the mutual influence information.
[0052] Optionally, the first determining module includes:
[0053] a fourth determining unit, configured to determine whether second ingredient information exists in a preset ingredient set;
[0054] The fifth determining unit is configured to determine, if there is second ingredient information in the preset ingredient set, that there is mutual influence between the first ingredient and the second ingredient, as the mutual influence information.
[0055] Optionally, the third determining module includes:
[0056] A first acquiring unit, configured to acquire, for each of the first candidate storage spaces, a remaining space corresponding to the first candidate storage space;
[0057] a sixth determining unit, configured to determine the first candidate storage space corresponding to the remaining space as the second candidate storage space if the remaining space of any of the first candidate storage spaces is greater than or equal to the occupied space corresponding to the first food;
[0058] a seventh determining unit, configured to determine the target storage space based on each of the second candidate storage spaces;
[0059] or,
[0060] an eighth determining unit, configured to determine a mutual influence degree between the first ingredient and each of the second ingredients satisfying a preset condition;
[0061] a ninth determining unit, configured to determine a target interval distance between the first food and each of the second food according to each of the mutual influence degrees;
[0062] a tenth determining unit, configured to determine a second candidate storage space according to the target interval distance;
[0063] An eleventh determining unit is configured to determine the target storage space based on each of the second candidate storage spaces.
[0064] Optionally, the eleventh determining unit is further configured to:
[0065] determining a first ingredient category of the first ingredient according to the first ingredient information;
[0066] determining a second ingredient category of the second ingredient in each of the second candidate storage spaces;
[0067] If the first ingredient category is the same as the second ingredient category, determining a first freshness level of the first ingredient according to the first ingredient information;
[0068] Acquire a second freshness of a second ingredient in the second candidate storage space;
[0069] If the first freshness and the second freshness correspond to the same freshness range, the second candidate space is determined as the target storage space.
[0070] Optionally, the eleventh determining unit is further configured to:
[0071] determining a first ingredient category of the first ingredient according to the first ingredient information;
[0072] determining a second ingredient category of the second ingredient in each of the second candidate storage spaces;
[0073] If the first food category is the same as any of the second food categories, determining the second candidate space as the target storage space;
[0074] or,
[0075] determining a first freshness of the first ingredient according to the first ingredient information;
[0076] Acquire a second freshness of a second ingredient in the second candidate storage space;
[0077] If the first freshness and the second freshness correspond to the same freshness range, the second candidate space is determined as the target storage space.
[0078] Optionally, the eleventh determining unit is further configured to:
[0079] Determine a second candidate storage space whose remaining space best matches the occupied space corresponding to the first food;
[0080] The second candidate storage space is determined as the target storage space.
[0081] In a third aspect, the present application provides a refrigerator, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;
[0082] Memory, used to store computer programs;
[0083] The processor is used to implement any method for storing and processing items in a refrigerator as described in the first aspect when executing the program stored in the memory.
[0084] In a fourth aspect, the present application provides a computer-readable storage medium, on which is stored a program for a method for storing and processing items in a refrigerator. When the program for the method for storing and processing items in a refrigerator is executed by a processor, the steps of any of the methods for storing and processing items in a refrigerator described in the first aspect are implemented.
[0085] The above technical solution provided by the embodiment of the present application has the following advantages compared with the prior art:
[0086] The embodiment of the present application can automatically exclude the storage space where the second ingredient that has an interaction with the first ingredient is located in the refrigerator according to the mutual influence information between the first ingredient to be stored in the refrigerator and the second ingredient that has been stored in the refrigerator, and in the remaining storage space where the second ingredient that has no interaction with the first ingredient or has an interaction with the first ingredient is located
[0087] A target storage space is determined in the storage space where the smaller second ingredient is located to serve as the storage space for the first ingredient, so that ingredients that affect each other can be stored separately to avoid the food affecting each other.
[0088] It can prevent the food from being contaminated with other foods or accelerating the deterioration of the food, thereby improving the storage effect of the first food and each second food, extending the shelf life of the food, ensuring the quality of the food, and facilitating the use of the food by the user. BRIEF DESCRIPTION OF THE DRAWINGS
[0089] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present invention and, together with the description, serve to explain the principles of the present invention.
[0090] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0091] Figure 1 A flowchart of a method for storing and processing items in a refrigerator provided in an embodiment of the present application;
[0092] Figure 2 A structural diagram of a device for storing and processing items in a refrigerator provided in an embodiment of the present application;
[0093] Figure 3 A structural diagram of a refrigerator provided in an embodiment of the present application. DETAILED DESCRIPTION
[0094] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application.
[0095] It is obvious that the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0096] At present, different ingredients placed in the refrigerator often affect each other. For example, when ripe apples are placed together with other fruits, the ripe apples will release ethylene, which has a ripening effect.
[0097] It can accelerate the decay of other fruits. For example, some strong-smelling ingredients (such as durian) can cause the taste of other ingredients to cross-pollinate, etc. The mutual influence between different ingredients is very detrimental to the preservation of ingredients, shortening the shelf life of ingredients, affecting the quality of ingredients, and affecting user use. To this end, the embodiment of the present application provides a method, device, refrigerator and storage medium for storing items in a refrigerator.
[0098] The method for storing and processing items in a refrigerator provided in the embodiment of the present application can be applied to a smart refrigerator. Figure 1 A flowchart of a method for storing items in a refrigerator provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the method for storing items in a refrigerator includes:
[0099] Step S101, obtaining first food information of a first food to be stored in the smart refrigerator and second food information of a second food stored in a plurality of storage spaces of the smart refrigerator;
[0100] In an embodiment of the present application, the first food is the food to be placed in the smart refrigerator. In one implementation of the present application, the image in front of the refrigerator door can be captured by a camera. When it is recognized in the video that the user is holding the food, it can be determined that the food is the food to be placed in the smart refrigerator by the user, that is, the first food to be stored in the smart refrigerator; in another implementation of the present application, the user's opening action of opening the refrigerator door can be detected. If the door opening action is recognized, it is captured by the camera whether the user is holding the food. If it is recognized that the user is holding the food, it can be determined that the food is the food to be placed in the smart refrigerator by the user, that is, the first food to be stored in the smart refrigerator.
[0101] In actual use, when each ingredient is placed in the refrigerator, the name of the ingredient can be determined (such as by capturing an image of the ingredient and identifying it, or by user inputting the ingredient name), and the storage location where the ingredient is stored can be recorded.
[0102] The smart refrigerator has at least one storage space in each of the refrigeration area, fresh-keeping area, freezing area and refrigerator door rack area. The refrigeration area and fresh-keeping area are divided into multiple storage spaces by partitions, the freezing area is divided into multiple storage spaces by drawers, and the refrigerator door rack area is divided into multiple storage spaces by shelves, etc.
[0103] When the smart refrigerator is in use, the user will put ingredients into each storage space according to actual needs, and these put-in ingredients are the second ingredients.
[0104] The first ingredient information may include information such as the name, type, freshness, and placement of the first ingredient. Similarly, the second ingredient information may include information such as the name, type, freshness, and placement of the second ingredient.
[0105] Step S102, determining mutual influence information between the first ingredient and the second ingredient according to the first ingredient information and a plurality of second ingredient information;
[0106] In the embodiment of the present application, the mutual influence information may include: influencing substances that can affect other ingredients (such as ethylene), odors, types of influence on other ingredients (such as cross-flavoring or deterioration, etc.) and information on the degree of mutual influence on other ingredients.
[0107] Since some ingredients will release some substances that may affect other ingredients, such as ethylene, and some ingredients with flavors will emit odors, this invisible gaseous influence may affect the quality of other ingredients during storage. Based on this, the mutual influence information between the first ingredient to be stored and the second ingredients that have been stored can be determined according to the first ingredient information and the stored second ingredient information, so as to reasonably plan the target storage space for the first ingredient according to the mutual influence information between the first ingredient and each second ingredient, so as to avoid or minimize the mutual influence between the first ingredient and each second ingredient.
[0108] Step S103, determining the second food corresponding to the mutual influence information that meets the preset condition, and determining the storage space where the second food is located as the exclusion space;
[0109] In the embodiment of the present application, satisfying the preset condition may mean that the mutual influence is large or there is mutual influence, and not satisfying the preset condition may mean that the mutual influence is small or there is no mutual influence.
[0110] In this step, after obtaining the mutual influence information between the first ingredient and each second ingredient, it can be determined whether each mutual influence information meets the preset condition. If any mutual influence information meets the preset condition, it can be determined that the storage space where the second ingredient corresponding to the mutual influence information is located is the exclusion space. That is to say, based on the mutual influence information, the storage space where the second ingredient that has a greater mutual influence with the first ingredient is located is excluded, so as to select the target storage space for storing the first ingredient in the storage space where the second ingredient that has a smaller mutual influence with the first ingredient is located.
[0111] Step S104: determining first candidate storage spaces excluding the exclusion space in the plurality of storage spaces, and determining a target storage space in each of the first candidate storage spaces for storing the first food.
[0112] In this step, after excluding the exclusion space from the plurality of storage spaces of the refrigerator, a target storage space for storing the first food may be determined from the remaining first candidate storage spaces.
[0113] After the target storage space is determined, the user may be prompted to put the first ingredient into the target storage space.
[0114] The embodiment of the present application can automatically exclude the storage space in the refrigerator where the second ingredient that has a mutual impact with the first ingredient is located according to the mutual impact information between the first ingredient to be stored in the refrigerator and the second ingredient that has been stored in the refrigerator, and determine a target storage space in the remaining storage space where the second ingredient that has no mutual impact or has a small mutual impact with the first ingredient is located as the storage space for the first ingredient, thereby improving the storage effect of the first ingredient and each second ingredient, extending the shelf life of the ingredients, ensuring the quality of the ingredients, and facilitating user use.
[0115] In another embodiment of the present application, step S102 determines the mutual influence information between the first ingredient and the second ingredient according to the first ingredient information and the plurality of second ingredient information, including:
[0116] Step S201, determining whether the first food information belongs to a preset food set;
[0117] In the embodiment of the present application, the food set is used to store food information of multiple third food materials, and the third food materials are pre-collected food materials that can affect food materials other than themselves, and food materials other than themselves refer to food materials other than themselves relative to all food materials. That is to say, the food set is used to store food information of food materials that produce influencing substances that can affect other food materials and food materials that can cross-flavor with other food materials. It should be noted that if it is determined that the first food material is sealed and stored according to the first food material information, it indicates that the first food material will not affect other food materials. Therefore, regardless of whether the first food material is in the preset food set, it is determined that the first food material information is not in the preset food set.
[0118] Step S202, if the first food information is in the food set, determining the easily affected food corresponding to the first food information;
[0119] In the embodiment of the present application, easily affected food refers to food that can be affected by the first food. For example, if the first food releases affecting substance A, then the easily affected food is food that is sensitive to affecting substance A. If the first food releases odor B, then the easily affected food is food that is easily infected by odor B. Alternatively, easily affected food can refer to food that is more affected by the first food. For example, if the first food releases affecting substance A, then the food can be sorted according to the degree of sensitivity to affecting substance A, with the food ranked in the top 5, and so on. If the first food releases odor B, then the food can be sorted according to the degree of susceptibility to odor B, with the food ranked in the top 3, and so on.
[0120] Corresponding easily influenced ingredients may be set in advance for each ingredient in the ingredient set. Furthermore, easily influenced ingredients corresponding to the first ingredient information may be determined based on the corresponding relationship between the ingredients and the easily influenced ingredients.
[0121] Step S203: If the easily influenced food is located in any of the storage spaces, it is determined that there is a mutual influence between the first food and a second food corresponding to the easily influenced food, as the mutual influence information.
[0122] In this step, if it is determined that the easily affected ingredient is located in any storage space, it indicates that the easily affected ingredient is the second ingredient that is already in any storage space. Therefore, the corresponding second ingredient can be searched according to the easily affected ingredient (such as searching by name), and it can be determined that there is mutual influence between the first ingredient and the second ingredient, and the information that there is mutual influence can be determined as mutual influence information.
[0123] The embodiment of the present application can determine the second ingredient that can be affected by the first ingredient in the refrigerator from the perspective of the first ingredient, obtain the mutual influence information that the two can influence each other, and make the mutual influence information more comprehensive and accurate.
[0124] In another embodiment of the present application, step S102 determines the mutual influence information between the first ingredient and the second ingredient according to the first ingredient information and the plurality of second ingredient information, including:
[0125] Step S301, determining whether there is second ingredient information in a preset ingredient set;
[0126] In the embodiments of the present application, the preset food set is consistent with the corresponding content in the aforementioned embodiments and will not be repeated here.
[0127] Since the second ingredient information of the second ingredient located in the refrigerator has been obtained, each second ingredient information can be matched with each ingredient information in the preset ingredient set respectively. If the match is successful, it is determined that the second ingredient information is located in the preset ingredient set.
[0128] Step S302: If there is second ingredient information in the preset ingredient set, determine that the interaction type between the first ingredient and the second ingredient is a preset type as the interaction information.
[0129] In this step, if it is determined that any second ingredient information is within the preset ingredient set, it indicates that the second ingredient is an ingredient that is likely to affect the first ingredient, that is, there is mutual influence between the first ingredient and the second ingredient, and the information that has mutual influence is determined as mutual influence information.
[0130] The embodiment of the present application can determine the second ingredient that can affect the first ingredient in the refrigerator from the perspective of the second ingredient, obtain mutual influence information that the two can influence each other, and make the mutual influence information more comprehensive and accurate.
[0131] In yet another embodiment of the present application, determining a target storage space from among the first candidate storage spaces other than the exclusion space in the plurality of storage spaces comprises:
[0132] Step S401: for each of the first candidate storage spaces, obtaining a remaining space corresponding to the first candidate storage space;
[0133] In the embodiment of the present application, the remaining space refers to the space in the first candidate storage space where no items have been placed. The remaining space can be expressed by information such as remaining volume and remaining size.
[0134] Step S402: if the remaining space of any of the first candidate storage spaces is greater than or equal to the occupied space corresponding to the first food, the first candidate storage space corresponding to the remaining space is determined as the second candidate storage space;
[0135] Step S403, determining the target storage space based on each of the second candidate storage spaces;
[0136] In this embodiment, the first candidate storage space whose remaining space can accommodate the first ingredient can be used as the second candidate space, and then the target storage space is determined in the second candidate space to ensure that the first ingredient can be successfully placed in the target storage space.
[0137] or,
[0138] Step S501, determining the mutual influence degree between the first ingredient and each of the second ingredients that meet a preset condition;
[0139] In the embodiment of the present application, the degree of mutual influence between the first ingredient and the second ingredient of each preset condition can be determined based on the mutual influence information, and the degree of mutual influence includes: the degree of influence of the first ingredient on the second ingredient and the degree of influence of the second ingredient on the first ingredient, wherein the degree of influence of the first ingredient on the second ingredient includes: the release amount of the influencing substance of the first ingredient, and the degree to which the second ingredient is influenced by the influencing substance of the released amount, and the degree of influence is the degree of influence of the first ingredient on the second ingredient, and the degree of influence of the second ingredient on the first ingredient is similar, which will not be repeated here.
[0140] Step S502, determining a target interval distance between the first food and each of the second food according to each of the mutual influence degrees;
[0141] In an embodiment of the present application, a correspondence between the degree of mutual influence and the interval distance can be preset. In this step, the corresponding target interval distance can be found in the corresponding relationship according to the degree of mutual influence between the first ingredient and each second ingredient.
[0142] Step S503, determining a second candidate storage space according to the target interval distance;
[0143] In this step, a first candidate storage space that can meet the requirements of multiple target spacing distances can be selected from multiple first candidate storage spaces and used as the second candidate storage space. Furthermore, a first candidate storage space that can meet the requirements of all target spacing distances can be selected from multiple first candidate storage spaces. In some embodiments, a first candidate storage space that can meet as many requirements of the target spacing distances as possible can also be selected from multiple first candidate storage spaces.
[0144] Step S504, determining the target storage space based on each of the second candidate storage spaces;
[0145] In this embodiment, the target spacing distance between the first ingredient and each second ingredient can be determined according to the degree of mutual influence between the ingredients, and the first candidate storage space that meets the target spacing distance can be used as the second candidate storage space, and then the target storage space can be determined in the second candidate space to ensure that the first ingredient can be successfully placed in the target storage space.
[0146] In another embodiment of the present application, step S504 determines the target storage space based on each of the second candidate storage spaces, including:
[0147] Step S601, determining a first ingredient category of the first ingredient according to the first ingredient information;
[0148] The first food material category may include: nightshades, leafy vegetables, root vegetables, edible fungi, water lettuce, marine vegetables, cold fruits, warm fruits and hot fruits, etc. In practical applications, images of food materials may be collected and the types of food materials may be identified based on the images.
[0149] Step S602, determining the second ingredient category of the second ingredient in each of the second candidate storage spaces;
[0150] The second food category may include: nightshades, leafy vegetables, root vegetables, edible fungi, aquatic lettuce, marine vegetables, cold fruits, warm fruits and hot fruits, etc.
[0151] Step S603: if the first ingredient category is the same as the second ingredient category, determining a first freshness of the first ingredient according to the first ingredient information;
[0152] The first freshness level may include: high, medium, low, etc. In practical applications, an image of the food may be collected, and the color value of the food may be determined based on the image. The freshness may be determined based on the correspondence between the color value and the freshness level (eg, obtained online).
[0153] Step S604, obtaining a second freshness of a second food in the second candidate storage space;
[0154] The second freshness level may include: high, medium, low, etc.
[0155] Step S605: If the first freshness and the second freshness correspond to the same freshness range, the second candidate space is determined as the target storage space.
[0156] The embodiment of the present application can determine the second candidate space where the second ingredient of the same ingredient category and the same freshness category is located as the target storage space, that is, the first ingredient and the second ingredient of the same ingredient category and the same freshness are placed in the same storage space to avoid mutual influence between ingredients of different ingredient categories and different freshness degrees.
[0157] In another embodiment of the present application, step S504 determines the target storage space based on the second candidate storage space, including:
[0158] Step S701, determining a first ingredient category of the first ingredient according to the first ingredient information;
[0159] Step S702, determining the second ingredient category of the second ingredient in each of the second candidate storage spaces;
[0160] Step S703: if the first food category is the same as any of the second food categories, determine the second candidate space as the target storage space.
[0161] In this embodiment, the second candidate space where the second ingredient of the same ingredient category is located can be determined as the target storage space, that is, the first ingredient and the second ingredient of the same ingredient category are placed in the same storage space to avoid mutual influence between ingredients of different ingredient categories.
[0162] or,
[0163] Step S801, determining a first freshness of the first ingredient according to the first ingredient information;
[0164] Step S802, obtaining a second freshness of a second food in the second candidate storage space;
[0165] Step S803: If the first freshness and the second freshness correspond to the same freshness range, determine the second candidate space as the target storage space.
[0166] In this embodiment, the second candidate space where the second food with the same freshness is located can be determined as
[0167] The target storage space is to place the first ingredient and the second ingredient of the same freshness in the same storage space to avoid mutual influence between ingredients of different freshness.
[0168] In another embodiment of the present application, step S504 determines the target storage space based on the second candidate storage space, including:
[0169] Step S901, determining a second candidate storage space whose remaining space best matches the occupied space corresponding to the first food;
[0170] Since the remaining space of each second candidate storage space is greater than the space occupied by the first food, further, the second candidate storage space whose remaining space best matches the occupied space can be determined, and the best match means that the remaining space obtained by subtracting the occupied space from the remaining space is the smallest.
[0171] Step S902: determine the second candidate storage space as the target storage space.
[0172] 5 The embodiment of the present application determines the target storage space from the second candidate storage space based on the principle of best space matching, so as to make full use of the space.
[0173] In another embodiment of the present application, a device for storing and processing items in a refrigerator is provided.
[0174] For smart refrigerators, such as Figure 2 As shown, the device comprises:
[0175] 0 Acquisition module 11, used to obtain the first food information of the first food to be stored in the smart refrigerator
[0176] information and second ingredient information of the second ingredients stored in the multiple storage spaces of the smart refrigerator;
[0177] A first determining module 12, configured to determine mutual influence information between the first ingredient and the second ingredient according to the first ingredient information and a plurality of second ingredient information;
[0178] A second determination module 13, configured to determine a second ingredient corresponding to the mutual influence information that satisfies a preset condition, and determine a storage space where the second ingredient is located as an exclusion space;
[0179] The third determining module 14 is configured to determine a first candidate storage space excluding the exclusion space in the plurality of storage spaces, and determine a target storage space in each of the first candidate storage spaces for storing the first food.
[0180] Optionally, the first determining module includes:
[0181] a first determining unit, configured to determine whether the first ingredient information belongs to a preset ingredient set, wherein the ingredient set is used to store ingredient information of a plurality of third ingredients, wherein the third ingredients are pre-collected ingredients that can have an impact on ingredients other than the third ingredients;
[0182] a second determining unit, configured to determine an easily affected ingredient corresponding to the first ingredient information if the first ingredient information is in the ingredient set;
[0183] The third determining unit is used to determine, if the easily influenced food is located in any of the storage spaces, that there is a mutual influence between the first food and a second food corresponding to the easily influenced food, as the mutual influence information.
[0184] Optionally, the first determining module includes:
[0185] a fourth determining unit, configured to determine whether second ingredient information exists in a preset ingredient set;
[0186] The fifth determining unit is configured to determine, if there is second ingredient information in the preset ingredient set, that there is mutual influence between the first ingredient and the second ingredient, as the mutual influence information.
[0187] Optionally, the third determining module includes:
[0188] A first acquiring unit, configured to acquire, for each of the first candidate storage spaces, a remaining space corresponding to the first candidate storage space;
[0189] a sixth determining unit, configured to determine the first candidate storage space corresponding to the remaining space as the second candidate storage space if the remaining space of any of the first candidate storage spaces is greater than or equal to the occupied space corresponding to the first food;
[0190] a seventh determining unit, configured to determine the target storage space based on each of the second candidate storage spaces;
[0191] or,
[0192] an eighth determining unit, configured to determine a mutual influence degree between the first ingredient and each of the second ingredients satisfying a preset condition;
[0193] a ninth determining unit, configured to determine a target interval distance between the first food and each of the second food according to each of the mutual influence degrees;
[0194] a tenth determining unit, configured to determine a second candidate storage space according to the target interval distance;
[0195] An eleventh determining unit is configured to determine the target storage space based on each of the second candidate storage spaces.
[0196] Optionally, the eleventh determining unit is further configured to:
[0197] determining a first ingredient category of the first ingredient according to the first ingredient information;
[0198] determining a second ingredient category of the second ingredient in each of the second candidate storage spaces;
[0199] If the first ingredient category is the same as the second ingredient category, determining a first freshness level of the first ingredient according to the first ingredient information;
[0200] Acquire a second freshness of a second ingredient in the second candidate storage space;
[0201] If the first freshness and the second freshness correspond to the same freshness range, the second candidate space is determined as the target storage space.
[0202] Optionally, the eleventh determining unit is further configured to:
[0203] 5. Determine a first ingredient category of the first ingredient according to the first ingredient information;
[0204] determining a second ingredient category of the second ingredient in each of the second candidate storage spaces;
[0205] If the first food category is the same as any of the second food categories, determining the second candidate space as the target storage space;
[0206] or,
[0207] determining a first freshness of the first ingredient according to the first ingredient information;
[0208] Acquire a second freshness of a second ingredient in the second candidate storage space;
[0209] If the first freshness and the second freshness correspond to the same freshness range, the second candidate space is determined as the target storage space.
[0210] Optionally, the eleventh determining unit is further configured to:
[0211] Determine a second candidate storage space whose remaining space best matches the occupied space corresponding to the first food;
[0212] The second candidate storage space is determined as the target storage space.
[0213] In another embodiment of the present application, a refrigerator is provided, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0214] Memory, used to store computer programs;
[0215] The processor is used to implement the method for storing and processing items in a refrigerator as described in any of the above-mentioned method embodiments when executing the program stored in the memory.
[0216] In another embodiment of the present application, a computer-readable storage medium is provided, on which a program for a method for storing and processing items in a refrigerator is stored. When the program for the method for storing and processing items in a refrigerator is executed by a processor, the steps of the method for storing and processing items in a refrigerator described in any of the aforementioned method embodiments are implemented.
[0217] In the refrigerator provided by the embodiment of the present invention, the processor can automatically exclude the storage space where the second ingredient that has mutual influence with the first ingredient is located in the refrigerator according to the mutual influence information between the first ingredient to be stored in the refrigerator and the second ingredient that has been stored in the refrigerator by executing the program stored in the memory, and determine a target storage space in the remaining storage space where the second ingredient that has no mutual influence or has little mutual influence with the first ingredient is located as the storage space for the first ingredient, so as to achieve separate storage of ingredients that have mutual influence with each other, avoid mutual influence of food, cause cross-flavor or accelerated deterioration, improve the storage effect of the first ingredient and each second ingredient, extend the shelf life of the ingredients, ensure the quality of the ingredients, and facilitate user use.
[0218] The communication bus 1140 mentioned in the refrigerator can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 1140 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0219] The communication interface 1120 is used for communication between the refrigerator and other devices.
[0220] The memory 1130 may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0221] The above-mentioned processor 1110 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0222] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0223] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A method for storing and processing items in a refrigerator, It is characterized in that Applied to a smart refrigerator, the method comprises: Acquire first food information of a first food to be stored in the smart refrigerator and second food information of a second food stored in a plurality of storage spaces of the smart refrigerator; Determine mutual influence information between the first ingredient and the second ingredient according to the first ingredient information and a plurality of second ingredient information; Determine a second ingredient corresponding to the mutual influence information that meets a preset condition, and determine a storage space where the second ingredient is located as an exclusion space; determining first candidate storage spaces excluding the exclusion spaces among the plurality of storage spaces, and determining a target storage space in each of the first candidate storage spaces for storing the first food; Determining a target storage space from among the first candidate storage spaces other than the exclusion space in the plurality of storage spaces comprises: determining a second candidate storage space from each of the first candidate storage spaces; determining the target storage space based on each of the second candidate storage spaces; Determining the target storage space based on each of the second candidate storage spaces includes: determining a first ingredient category of the first ingredient according to the first ingredient information; determining a second ingredient category of the second ingredient in each of the second candidate storage spaces; If the first ingredient category is the same as the second ingredient category, determining a first freshness level of the first ingredient according to the first ingredient information; Acquire a second freshness of a second ingredient in the second candidate storage space; If the first freshness and the second freshness correspond to the same freshness range, the second candidate storage space is determined as the target storage space.
2. The method according to claim 1, It is characterized in that Determining the mutual influence information between the first ingredient and the second ingredient according to the first ingredient information and the plurality of second ingredient information includes: Determining whether the first ingredient information belongs to a preset ingredient set, the ingredient set being used to store ingredient information of a plurality of third ingredients, the third ingredients being pre-collected ingredients that can have an impact on ingredients other than the third ingredients; If the first food information is in the food set, determining the easily affected food corresponding to the first food information; If the easily influenced food is located in any of the storage spaces, it is determined that there is a mutual influence between the first food and a second food corresponding to the easily influenced food, which is used as the mutual influence information.
3. The method according to claim 1, It is characterized in that Determining the mutual influence information between the first ingredient and the second ingredient according to the first ingredient information and the plurality of second ingredient information includes: Determining whether there is second ingredient information in a preset ingredient set; If there is second ingredient information in the preset ingredient set, it is determined that there is mutual influence between the first ingredient and the second ingredient as the mutual influence information.
4. The method according to claim 1, It is characterized in that Determining a target storage space from among the first candidate storage spaces other than the exclusion space in the plurality of storage spaces comprises: For each of the first candidate storage spaces, obtaining a remaining space corresponding to the first candidate storage space; If the remaining space of any of the first candidate storage spaces is greater than or equal to the occupied space corresponding to the first food, the first candidate storage space corresponding to the remaining space is determined as the second candidate storage space; determining the target storage space based on each of the second candidate storage spaces; or, Determining the degree of mutual influence between the first ingredient and each of the second ingredients that meet a preset condition; Determining a target spacing distance between the first food and each of the second food according to each of the mutual influence degrees; Determine a second candidate storage space according to the target interval distance; The target storage space is determined based on each of the second candidate storage spaces.
5. The method according to claim 4, It is characterized in that Determining the target storage space based on the second candidate storage space includes: determining a first ingredient category of the first ingredient according to the first ingredient information; determining a second ingredient category of the second ingredient in each of the second candidate storage spaces; If the first food category is the same as any of the second food categories, determining the second candidate storage space as the target storage space; or, determining a first freshness of the first ingredient according to the first ingredient information; Acquire a second freshness of a second ingredient in the second candidate storage space; If the first freshness and the second freshness correspond to the same freshness range, the second candidate storage space is determined as the target storage space.
6. The method according to claim 4, It is characterized in that Determining the target storage space based on the second candidate storage space includes: Determine a second candidate storage space whose remaining space best matches the occupied space corresponding to the first food; The second candidate storage space is determined as the target storage space.
7. A device for storing and processing items in a refrigerator, It is characterized in that Applied to a smart refrigerator, the device comprises: An acquisition module, used to acquire first food information of a first food to be stored in the smart refrigerator and second food information of a second food stored in a plurality of storage spaces of the smart refrigerator; A first determining module, configured to determine mutual influence information between the first ingredient and the second ingredient according to the first ingredient information and a plurality of second ingredient information; A second determination module, configured to determine a second ingredient corresponding to the mutual influence information that satisfies a preset condition, and determine a storage space where the second ingredient is located as an exclusion space; a third determination module, configured to determine a first candidate storage space excluding the exclusion space among the plurality of storage spaces, and to determine a target storage space in each of the first candidate storage spaces for storing the first food; determining a target storage space in a first candidate storage space excluding the exclusion space among the plurality of storage spaces, including: determining a second candidate storage space in each of the first candidate storage spaces; determining the target storage space based on each of the second candidate storage spaces; determining the target storage space based on each of the second candidate storage spaces, including: determining a first food category of the first food according to the first food information; determining a second food category of the second food in each of the second candidate storage spaces; if the first food category and the second food category are the same, determining a first freshness of the first food according to the first food information; obtaining a second freshness of the second food in the second candidate storage space; and determining the second candidate storage space as the target storage space if the first freshness and the second freshness correspond to the same freshness range.
8. A refrigerator, It is characterized in that It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; The processor is used to implement the method for storing and processing items in a refrigerator as described in any one of claims 1 to 6 when executing the program stored in the memory.
9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a method program for processing storage of items in a refrigerator, and when the method program for processing storage of items in a refrigerator is executed by a processor, the steps of the method for processing storage of items in a refrigerator according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Intelligent refrigerator
CN104990359A
Goods storing method of shared refrigerator and shared refrigerator
CN107560308A
Multi-box type freezer
CN107726702A
Refrigerator space utilization control system and refrigerator
CN112556302A
Control method and device for refrigerator and refrigerator
CN112696867A
