Method and device for determining article storage duration, refrigerator and storage medium
By judging the storage status of items in the refrigerator, if it is stored again, the new storage time will be calculated using the previous storage time, which solves the problem of inaccurate storage time in the existing technology, improves the accuracy of fresh-keeping reminders, and reduces the Waste of items.
Patent Information
- Application Number
- CN202310652430.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-02
- Publication Date
- 2024-12-03
AI Technical Summary
When the existing refrigerator records the storage time of items, it is impossible to accurately handle the situation where the items are taken out and re-placed, resulting in inaccurate storage time and affecting the accuracy of fresh-keeping reminders.
By detecting the storage status of the items, determine whether it is re-stored. If it is re-stored, the new storage time will be calculated based on the previous storage time to avoid re-time, thereby improving the accuracy of the storage time.
It effectively improves the accuracy of the storage time of items in the refrigerator, ensures that reminders are issued at the right time, and reduces waste of items.
Smart Images

Figure CN119063344A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of smart home appliances, for example, to a method and device for determining the storage time of an item, a refrigerator, and a storage medium. Background Art
[0002] At present, there are many items stored in refrigerators, which makes it easy for users to forget how long an item has been stored, causing the storage time of the item to exceed the shelf life of the item.
[0003] In order to solve the above problems, the related art provides a control method for a refrigerator to automatically determine the shelf life of food, including the following steps: S01: the refrigerator operates normally; S02: detect whether the refrigerator door is open, if yes, then proceed to the next step to determine whether the user puts in food, if not, then return to the starting step of S01; S03: detect whether the user puts in food, if yes, then proceed to the next step to obtain food storage location information, if not, then return to the starting step of S01; S04: obtain food storage location information, and implement corresponding preservation strategies for food in different storage locations; S05: determine the shelf life of food, and return to the starting step of S01. S06: according to the shelf life of food, remind the user before the shelf life.
[0004] In the process of implementing the embodiments of the present disclosure, it is found that there are at least the following problems in the related art: In the solutions of the related art, although the storage time of the items can be recorded and the user can be reminded when the storage time is close to the shelf life, in some cases, the storage time of the items recorded by the solution is not accurate. For example, when an item is taken out and put back in (such as cutting off part of a piece of meat and putting it back in the refrigerator for storage), the refrigerator will re-count the storage time of the item, resulting in the recorded storage time of the item being much shorter than the actual storage time.
[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0006] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.
[0007] The embodiments of the present disclosure provide a method and device for controlling a refrigerator, a refrigerator, and a storage medium, which can improve the accuracy of the recorded storage time of items.
[0008] In some embodiments, the above-mentioned method for determining the storage time of an item is applied to a refrigerator, and the method includes: when it is detected that a first item is stored in the refrigerator, determining the storage status of the first item; when the first item is deposited again, calculating the storage time of the first item according to the previous storage time of the first item in the refrigerator; wherein the first item is an item to be stored in the refrigerator, and the situation of depositing again is a situation where the item is taken out during the storage process and then deposited again.
[0009] Optionally, determining the storage status of the first item includes: obtaining storage information of the first item and historical storage information of the refrigerator, the historical storage information including storage information of each item taken out of the refrigerator; and determining the storage status of the first item based on the storage information of the first item and the historical storage information.
[0010] Optionally, the storage information of the first item includes the mass and volume of the first item, and the historical storage information includes the mass and volume of each item in the taken out items. The storage condition of the first item is determined according to the storage information of the first item and the historical storage information, including: calculating the density of the first item and the density of each item in the taken out items according to the mass and volume; when the density difference between one of the taken out items and the first item is within a set range and the volume of the item is less than or equal to the volume of the first item, determining that the first item is deposited again; or when the density difference between one of the taken out items and the first item is within a set range and the volume of the item is greater than the volume of the first item, determining that the first item is deposited for the first time; or when the density difference between each item in the taken out items and the first item is not within the set range, determining that the first item is deposited for the first time.
[0011] Optionally, the storage time of the first item is calculated according to the last storage time of the first item in the refrigerator, including: pushing to the user that the storage status of the first item is a re-deposit; when receiving a confirmation reply from the user, timing the storage time of the first item based on the last storage time of the first item; or when receiving a denial reply from the user, timing the storage time of the first item according to the current time; or when no reply from the user is received within the first set time period, timing the storage time of the first item based on the last storage time of the first item.
[0012] Optionally, the method further includes: when the first item is deposited for the first time, timing the storage time of the first item according to the current time.
[0013] Optionally, the method further includes: when the storage time of the first item reaches a second set time, sending a reminder message to the user that the first item has reached its shelf life.
[0014] Optionally, the method further includes: when it is detected that a second object is taken out from the refrigerator, marking the second object as a taken out object, and recording the storage information of the second object into the historical storage information; wherein the second object is an object stored in the refrigerator.
[0015] Optionally, the method further includes: when the time duration since the second object was taken out of the refrigerator reaches a third set time duration, deleting the storage information of the second object from the historical storage information.
[0016] Optionally, the method also includes: after the refrigerator door is opened and closed, detecting location information and shape information of all items stored in the refrigerator; calculating the remaining volume of the refrigerator based on the location information and shape information of all items; and displaying the location information, shape information of all items, and the remaining volume of the refrigerator on the display panel of the refrigerator.
[0017] Optionally, the method further includes: receiving a query instruction input by a user, the query instruction including the weight and volume of the items to be stored input by the user; determining possible storage locations of the items to be stored based on the weight and volume of the items to be stored; and sending the possible storage locations of the items to be stored to the user.
[0018] In some embodiments, the above-mentioned device for determining the storage time of an item is applied to a refrigerator, and includes a processor and a memory storing program instructions. The processor is configured to execute the above-mentioned method for determining the storage time of an item when running the program instructions.
[0019] In some embodiments, the above-mentioned refrigerator includes: a box body; the above-mentioned device for determining the storage time of items is installed in the box body.
[0020] In some embodiments, the storage medium stores program instructions, and when the program instructions are run, the method for controlling the refrigeration equipment is executed.
[0021] The method and device for determining the storage time of an item, the refrigerator, and the storage medium provided in the embodiments of the present disclosure can achieve the following technical effects:
[0022] In the disclosed embodiment, after detecting that the first item is stored in the refrigerator, the storage condition of the first item will be determined. If the storage condition of the first item is a situation of being deposited again, that is, the first item is an item taken out of the refrigerator and then deposited again, the storage time of the first item will be calculated based on the last storage time of the first item in the refrigerator. For example, if the last storage time of the first item in the refrigerator is 2 days, 6 hours and 48 minutes, the storage time of the first item will continue to be counted on the basis of 2 days, 6 hours and 48 minutes. In this way, when the item stored in the refrigerator is an item taken out of the refrigerator and then put back in, the last storage time of the item in the refrigerator can be accumulated, thereby improving the accuracy of the recorded storage time of the item in the refrigerator.
[0023] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:
[0025] Figure 1 is a schematic diagram of a refrigerator provided by an embodiment of the present disclosure;
[0026] Figure 2 is a schematic diagram of a method for determining the storage time of an item provided by an embodiment of the present disclosure;
[0027] Figure 3 is a schematic diagram of another method for determining the storage time of an item provided by an embodiment of the present disclosure;
[0028] Figure 4 is a schematic diagram of another method for determining the storage time of an item provided by an embodiment of the present disclosure;
[0029] Figure 5 is a schematic diagram of another method for determining the storage time of an item provided by an embodiment of the present disclosure;
[0030] Figure 6 It is a schematic diagram of a device for determining the storage time of an item provided by an embodiment of the present disclosure.
[0031] Reference numerals:
[0032] 10. Refrigerator;
[0033] 100 cabinets;
[0034] 600 is a device for controlling a refrigerator; 601 is a processor; 602 is a memory; 603 is a communication interface; 604 is a bus. DETAILED DESCRIPTION
[0035] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.
[0036] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so as to describe the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.
[0037] Unless otherwise stated, the term "plurality" means two or more.
[0038] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.
[0039] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.
[0040] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.
[0041] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other.
[0042] The refrigerator provided in the embodiment of the present disclosure is as follows: Figure 1 As shown, the refrigerator 10 includes: a box body 100 and a device 600 for determining the storage time of items.
[0043] Optionally, the refrigerator further comprises a compartment, which is arranged in the box body.
[0044] Optionally, a shelf and a storage drawer are provided in the room. The shelf and the storage drawer are used to store items.
[0045] Optionally, the refrigerator further comprises a pressure sensor. The pressure sensor is arranged at the bottom of the shelf and the storage drawer. When items are stored in the shelf or the storage drawer, the pressure signal detected by the pressure sensor will change.
[0046] Optionally, the refrigerator further comprises an ultrasonic sensor, which is arranged on the side walls of the box body and the storage drawer.
[0047] Specifically, the ultrasonic sensor disposed on the side wall of the storage drawer is used to detect the lateral coordinates of the items in the storage drawer, and the ultrasonic sensor disposed on the box body is used to detect the longitudinal coordinates of the items in the storage drawer.
[0048] Optionally, there are multiple ultrasonic sensors.
[0049] Specifically, multiple ultrasonic sensors can be provided to detect objects from multiple directions, thus improving the accuracy of the three-dimensional coordinates of the detected objects in the storage drawer.
[0050] Optionally, the device for determining the storage time of an item includes a processor. The processor is used to determine the storage condition of the first item stored in the refrigerator, and calculate the storage time of the first item according to the storage condition.
[0051] Combination Figure 1 The refrigerator shown in the figure, the embodiment of the present disclosure provides a method for determining the storage time of an item, such as Figure 2 As shown, the method includes:
[0052] S201: When detecting that a first object is stored in a refrigerator, the processor determines a storage condition of the first object.
[0053] The first item is an item to be stored in the refrigerator.
[0054] Specifically, the storage conditions of items include the first storage condition and the second storage condition. The first storage condition is the condition that the item is first stored in the refrigerator. The second storage condition is the condition that the item is taken out during the storage process and then stored again.
[0055] Specifically, the processor can determine whether the first object is stored in the refrigerator for the first time by comparing the storage information of the first object with the storage information of the object taken out of the refrigerator, and further determine the storage status of the first object.
[0056] S202: When the first object is stored again, the processor calculates the storage time of the first object according to the last storage time of the first object in the refrigerator.
[0057] When the first item is stored again, it indicates that the first item is taken out of the refrigerator and then stored again. At this time, if the storage time of the first item is measured according to the current time, the storage time of the first item will be much shorter than the actual storage time. Therefore, the embodiment of the present disclosure needs to calculate the storage time of the first item according to the last storage time of the first item in the refrigerator.
[0058] In the disclosed embodiment, after detecting that the first item is stored in the refrigerator, the storage condition of the first item will be determined. If the storage condition of the first item is a situation of being deposited again, that is, the first item is an item taken out of the refrigerator and then deposited again, the storage time of the first item will be calculated based on the last storage time of the first item in the refrigerator. For example, if the last storage time of the first item in the refrigerator is 2 days, 6 hours and 48 minutes, the storage time of the first item will continue to be counted on the basis of 2 days, 6 hours and 48 minutes. In this way, when the item stored in the refrigerator is an item taken out of the refrigerator and then put back in, the last storage time of the item in the refrigerator can be accumulated, thereby improving the accuracy of the recorded storage time of the item in the refrigerator.
[0059] Optionally, determining the storage status of the first item includes: obtaining storage information of the first item and historical storage information of the refrigerator, the historical storage information including storage information of each item taken out of the refrigerator; and determining the storage status of the first item based on the storage information of the first item and the historical storage information.
[0060] In this embodiment, the storage information includes the characteristic information of the item (for example, parameters such as the mass and volume of the item) and the storage location information of the item in the refrigerator. The historical storage information includes the storage information of each item taken out of the refrigerator.
[0061] It should be noted that the taken-out items in the historical storage information are all items that have been taken out from the refrigerator recently, for example, items that have been taken out within 10 hours.
[0062] Specifically, a pressure sensor and an ultrasonic sensor are provided in the refrigerator, and the processor can obtain the storage information of the first item through the pressure sensor and the ultrasonic sensor. Specifically, taking the storage drawer of the refrigerator where the first item is stored as an example, after the first item is stored in the storage drawer, the mass of the first item can be detected by the pressure sensor provided at the bottom of the storage drawer. The three-dimensional coordinates of the first item in the storage drawer can be detected by the ultrasonic sensors provided on the side walls of the storage drawer and on the box body. The volume of the item and the storage position of the first item in the storage drawer can be determined according to the three-dimensional coordinates.
[0063] Specifically, when an item is taken out of the refrigerator, the processor saves the storage information of the taken-out item into the memory of the refrigerator. Therefore, the processor can obtain the above historical storage information from the memory of the refrigerator.
[0064] Specifically, according to the parameters such as mass, volume and storage location in the storage information, it can be analyzed whether the first item is one of the items taken out, that is, it can be determined whether the first item is stored in the refrigerator for the first time. Therefore, the embodiment of the present disclosure can determine the storage status of the first item according to the storage information of the first item and the historical storage information.
[0065] Optionally, the storage information of the first item includes the mass and volume of the first item, and the historical storage information includes the mass and volume of each item in the taken out items. The storage condition of the first item is determined according to the storage information and the historical storage information of the first item, including: calculating the density of the first item and the density of each item in the taken out items according to the mass and volume; and determining that the first item is deposited again when the density difference between an item in the taken out items and the first item is within a set range and the volume of the item is less than or equal to the volume of the first item.
[0066] In this embodiment, the storage information of the first object includes the mass and volume of the first object; the historical storage information includes the instruction and volume of each object taken out of the refrigerator.
[0067] Specifically, the processor can calculate the density of the first object and the density of each object removed according to the density calculation formula ρ=m / v, referring to the mass and volume of the object, and can calculate the density difference between each object removed and the first object.
[0068] Specifically, for items stored in the refrigerator, if the density difference between two items is within a set range, it can be determined that the two items are the same item. If the item stored in the refrigerator is the same item as the item recently taken out, and the volume of the stored item is less than or equal to the item taken out, it can be determined that the stored item is most likely an item that was taken out and then re-deposited. Therefore, in the embodiment of the present disclosure, when the density difference between one of the taken out items and the first item is within a set range, and the volume of the item is less than or equal to the volume of the first item, it can be determined that the storage condition of the first item is a re-deposited condition.
[0069] Optionally, the storage information of the first item includes the mass and volume of the first item, and the historical storage information includes the mass and volume of each item in the taken out items. The storage condition of the first item is determined according to the storage information of the first item and the historical storage information, including: calculating the density of the first item and the density of each item in the taken out items according to the mass and volume; and determining that the first item is deposited for the first time when the density difference between an item in the taken out items and the first item is within a set range and the volume of the item is greater than the volume of the first item.
[0070] Specifically, for items stored in the refrigerator, if the density difference between two items is within a set range, it can be determined that the two items are the same item. If the item stored in the refrigerator is the same item as the item recently taken out, but the volume of the stored item is larger than the item taken out, it can be determined that the stored item is not an item that was taken out and then stored again. Therefore, in the embodiment of the present disclosure, when the density difference between one of the taken out items and the first item is within a set range, and the volume of the item is larger than the volume of the first item, it can be determined that the storage of the first item is the first time it is stored.
[0071] Optionally, the storage information of the first item includes the mass and volume of the first item, and the historical storage information includes the mass and volume of each item in the taken out items. The storage condition of the first item is determined according to the storage information of the first item and the historical storage information, including: calculating the density of the first item and the density of each item in the taken out items according to the mass and volume; when the density difference between each item in the taken out items and the first item is not within a set range, determining that the first item is deposited for the first time.
[0072] Specifically, for items stored in the refrigerator, if the density difference between two items is within a set range, it can be determined that the two items are the same item. If the items stored in the refrigerator are not the same item as the items recently taken out, it can be determined that the stored items are not items that were taken out and then stored again. Therefore, in the embodiment of the present disclosure, when the density difference between each item in the taken out items and the first item is not within a set range, it can be determined that the storage of the first item is the first storage.
[0073] In this embodiment, by comparing the density and volume of the first object and each of the taken-out objects, it is determined whether the first object is an object that has been taken out of the refrigerator and then put back in, that is, it is determined whether the storage condition of the first object is a case of being deposited again. In this way, when the storage condition of the first object is a case of being deposited again, the storage time of the first object in the refrigerator last time can be accumulated, thereby improving the accuracy of the recorded storage time of the first object.
[0074] Optionally, the refrigerator further comprises an image acquisition device, which is arranged on the box body and is used to acquire images of items taken out of the refrigerator or items placed into the refrigerator.
[0075] Optionally, determining the storage status of the first item includes: obtaining a storage image of the first item and historical removal images of items in the refrigerator, the historical removal images including a removal image of each item taken out of the refrigerator; determining the storage status of the first item based on the storage image of the first item and the historical removal images.
[0076] It should be noted that the taken-out items in the historical taking-out images are all items taken out from the refrigerator recently, for example, items taken out within 10 hours.
[0077] Specifically, by comparing the storage image of the first object with the removal image of each of the removed objects, it can be determined whether the first object is one of the removed objects, that is, it can be determined whether the first object is stored in the refrigerator for the first time. Therefore, the storage status of the first object can be determined through the storage image of the first object and the historical removal images.
[0078] Optionally, the storage condition of the first object may also be determined based on the storage information of the first object, the storage image of the first object, the historical storage information of the refrigerator, and the historical removal images of the objects in the refrigerator.
[0079] Specifically, when it is determined that the first item is deposited again based on the storage information and historical storage information of the first item, and when it is determined that the first item is deposited again based on the storage image of the first item and the historical removal image of the item in the refrigerator, the storage status of the first item is determined to be a situation of depositing again. In this way, the risk of misjudging the storage status of the first item is reduced, and the accuracy of determining the storage status of the first item is improved.
[0080] Optionally, the storage time of the first item is calculated according to the last storage time of the first item in the refrigerator, including: pushing to the user a situation in which the storage status of the first item is deposited again; and upon receiving a reply confirmation message from the user, timing the storage time of the first item based on the last storage time of the first item.
[0081] Specifically, the storage status of the first item is pushed to the user as a re-deposit status, which can be done by voice broadcast, display on the display panel of the refrigerator, or by pushing a text message to the user's mobile phone terminal.
[0082] Specifically, when the confirmation information replied by the user is received, it indicates that the user recognizes that the first item is an item that was taken out of the refrigerator and then put back in. Therefore, the storage time of the first item can be continuously counted based on the previous storage time of the first item.
[0083] Specifically, the historical storage information includes the storage time of each of the taken out items when it is taken out. Therefore, the previous storage time of the first item can be determined based on the historical storage information.
[0084] In this embodiment, by pushing confirmation information of the storage status of the first item to the user and counting the storage time of the first item according to the information received from the user, the risk of misjudging the storage status of the first item is reduced and the accuracy of the recorded storage time of the first item is improved.
[0085] Optionally, the storage time of the first item is calculated according to the last storage time of the first item in the refrigerator, including: pushing to the user a situation in which the storage status of the first item is deposited again; and when a denial message is received from the user, counting the storage time of the first item according to the current time.
[0086] Specifically, when receiving the denial information from the user, it indicates that the user does not recognize that the first item is an item that was taken out of the refrigerator and then put back in, that is, the user determines that the first item is an item that is stored in the refrigerator for the first time. Therefore, in the above case, it is necessary to count the storage time of the first item according to the current time.
[0087] In this embodiment, by pushing confirmation information of the storage status of the first item to the user and counting the storage time of the first item according to the information received from the user, the risk of misjudging the storage status of the first item is reduced and the accuracy of the recorded storage time of the first item is improved.
[0088] Optionally, the storage time of the first item is calculated according to the last storage time of the first item in the refrigerator, including: pushing to the user a situation in which the storage status of the first item is deposited again; if no reply information from the user is received within a first set time period, the storage time of the first item is measured based on the last storage time of the first item.
[0089] Specifically, if a user reply is received within the first set time, it indicates that the storage status of the first item has not been confirmed by the user for a long time. In this case, the storage time of the first item is measured based on the storage status of the first item determined by the processor.
[0090] Optionally, the method further includes: when the first item is deposited for the first time, timing the storage time of the first item according to the current time.
[0091] Specifically, when the first item is stored for the first time, it indicates that the first item is stored in the refrigerator for the first time. Therefore, the storage time of the first item can be measured based on the current time. In this way, the accuracy of the recorded storage time of the first item is improved.
[0092] The present disclosure provides another method for determining the storage time of an item. Figure 3 As shown, the method includes:
[0093] S301: When detecting that a first object is stored in a refrigerator, the processor determines the storage status of the first object.
[0094] S302: When the first item is stored again, the processor calculates the storage time of the first item according to the last storage time of the first item in the refrigerator.
[0095] S303: When the first item is deposited for the first time, the processor measures the storage time of the first item according to the current time.
[0096] The first deposit situation is the situation that the item is deposited into the refrigerator for the first time. When the storage situation of the first item is the first deposit situation, it indicates that the first item is an item that has not been stored in the refrigerator before.
[0097] In this embodiment, when the storage conditions of the first item are different, different methods are used to determine the storage time of the first item. For example, when the storage condition of the first item is a case of being deposited again, the storage time of the first item is calculated according to the previous storage time of the first item. When the storage condition of the first item is a case of being deposited for the first time, the storage time of the first item is calculated according to the current time. In this way, the accuracy of the recorded storage time of the first item is improved.
[0098] Optionally, the method further includes: when the storage time of the first item reaches a second set time, sending a reminder message to the user that the first item has reached its shelf life.
[0099] Specifically, when the storage time of the first item reaches the second set time, it indicates that the storage time of the first item is close to the shelf life of the item. Therefore, in this case, a reminder message that the first item has reached the shelf life is sent to the user to remind the user to use the first item in time. In this way, the waste of the first item is reduced.
[0100] The present disclosure provides another method for determining the storage time of an item. Figure 4 As shown, the method includes:
[0101] S401: When detecting that a first object is stored in a refrigerator, the processor determines a storage condition of the first object.
[0102] S402: When the first item is stored again, the processor calculates the storage time of the first item according to the last storage time of the first item in the refrigerator.
[0103] S403: When the first item is deposited for the first time, the processor measures the storage time of the first item according to the current time.
[0104] S404: When the storage time of the first item reaches a second set time, the processor sends a reminder message to the user that the first item has reached its shelf life.
[0105] If the storage time of the first item reaches the second set time, it indicates that the storage time of the first item is close to the shelf life of the item, and the first item needs to be processed in time.
[0106] In this embodiment, when the storage time of the first item is close to the shelf life of the item, the user can be reminded in time. In this way, the probability of the user forgetting to use the first item due to the first item being stored in the refrigerator for too long is reduced, and the waste of the first item is reduced. At the same time, the expired items in the refrigerator can be reduced, so that the refrigerator can provide a good storage environment for the items.
[0107] Optionally, the method further includes: when it is detected that a second object is taken out from the refrigerator, marking the second object as a taken out object, and recording the storage information of the second object into the historical storage information; wherein the second object is an object stored in the refrigerator.
[0108] In this embodiment, the second item represents an item stored in a refrigerator.
[0109] Specifically, in the embodiment of the present disclosure, when a second item is taken out of the refrigerator, the second item will be marked as a taken-out item, and the storage information of the second item will be saved in the historical storage information. In this way, when a first item is stored in the refrigerator, it can be determined whether the storage of the first item is a case of re-depositing by comparing the historical storage information with the storage information of the first item. In the case that the first item is deposited again, the storage time of the first item is continued to be counted based on the previous storage time of the first item. The accuracy of the recorded storage time of the first item is improved.
[0110] The present disclosure provides another method for determining the storage time of an item. Figure 5 As shown, the method includes:
[0111] S501, when the processor detects that a second object is taken out from the refrigerator, the processor marks the second object as a taken out object and records the storage information of the second object into the historical storage information.
[0112] The second item is an item stored in the refrigerator.
[0113] S502: When the processor detects that a first object is stored in the refrigerator, the processor obtains storage information of the first object and historical storage information of the refrigerator.
[0114] The historical storage information includes the storage information of each item taken out of the refrigerator.
[0115] S503: The processor determines the storage status of the first object according to the storage information of the first object and the historical storage information.
[0116] S504: When the first item is stored again, the processor calculates the storage time of the first item according to the last storage time of the first item in the refrigerator.
[0117] In this embodiment, the storage information of the second item taken out of the refrigerator is saved in the historical storage information. In the subsequent steps, the storage situation of the first item can be determined by comparing the historical storage information with the storage information of the first item. Then, according to the storage situation of the first item, the storage time of the first item can be measured in a corresponding manner. In this way, the accuracy of the recorded storage time of the first item is improved.
[0118] Optionally, the method further includes: when the time duration since the second object was taken out of the refrigerator reaches a third set time duration, deleting the storage information of the second object from the historical storage information.
[0119] Specifically, if the time taken out of the second item from the refrigerator reaches the third set time, it indicates that the item has not been put back into the refrigerator within the third set time. In this case, it can be determined that the item has been used and will not be put back into the refrigerator. Therefore, in the above case, the storage information of the second item can be deleted from the historical storage information. In this way, the data that needs to be compared when determining the storage status of the first item can be reduced, thereby improving the efficiency of determining the storage status of the first item.
[0120] Optionally, the method also includes: after the refrigerator door is opened and closed, detecting location information and shape information of all items stored in the refrigerator; calculating the remaining volume of the refrigerator based on the location information and shape information of all items; and displaying the location information, shape information of all items, and the remaining volume of the refrigerator on the display panel of the refrigerator.
[0121] Specifically, if the refrigerator door is opened and closed, it indicates that the user may have placed items in the refrigerator or may have taken items out of the refrigerator. Therefore, after the refrigerator door is opened and closed, it is necessary to detect the position information and shape information of all items stored in the refrigerator.
[0122] Specifically, the volume of the item can be determined based on the shape information of the item. Since the shape of the item may be irregular, the volume required to store the item may be greater than the actual volume of the item. Therefore, in the embodiment of the present disclosure, when calculating the remaining volume of the refrigerator, in addition to referring to the shape information of the item, it is also necessary to refer to the location information where the item is stored. Specifically, based on the location information where the item is stored and the shape information of the item, the volume required to store the item at that location, i.e., the storage volume of the item, can be determined. The remaining volume of the refrigerator can be obtained by subtracting the storage volume of all items from the total volume of the refrigerator.
[0123] Specifically, after calculating the remaining capacity of the refrigerator, the position information and shape information of all items stored in the refrigerator, as well as the remaining capacity of the refrigerator, will be displayed on the display panel of the refrigerator. In this way, the user can understand the position of the items in the refrigerator and the number of items that can be stored in the refrigerator through the display panel, thereby improving the user experience.
[0124] Optionally, the method further includes: receiving a query instruction input by a user, the query instruction including the weight and volume of the items to be stored input by the user; determining possible storage locations of the items to be stored based on the weight and volume of the items to be stored; and sending the possible storage locations of the items to be stored to the user.
[0125] Specifically, the user can input the query command through a mobile phone terminal that is connected to the refrigerator for communication, can input the query command through the display panel of the refrigerator, or can input the query command by voice.
[0126] Specifically, the processor can calculate a suitable storage location for the items to be stored, that is, the above-mentioned available storage location, based on the weight and volume of the items to be stored and the current storage situation of the items in the refrigerator, and can push the determined available storage location to the user.
[0127] Specifically, the available storage locations of the items to be stored are sent to the user by way of voice broadcast, display on the display panel of the refrigerator, or by way of text message push to the user's mobile phone terminal.
[0128] In this embodiment, the user can query the available storage positions of the items in the refrigerator by inputting the weight and volume of the items to be stored. In this way, when the user stores items in the refrigerator, the user does not need to check each storage space of the refrigerator one by one, and can store the items in a suitable position, thereby improving the user experience.
[0129] Combination Figure 6As shown, an embodiment of the present disclosure provides a device 600 for determining the storage time of an item, including a processor 601 and a memory 602. Optionally, the device may also include a communication interface 603 and a bus 604. The processor 601, the communication interface 603, and the memory 602 may communicate with each other through the bus 604. The communication interface 603 may be used for information transmission. The processor 601 may call the logic instructions in the memory 602 to execute the method for determining the storage time of an item in the above embodiment.
[0130] In addition, the logic instructions in the memory 602 described above may be implemented in the form of software functional units and when sold or used as independent products, may be stored in a computer-readable storage medium.
[0131] The memory 602 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor 601 executes the function application and data processing by running the program instructions / modules stored in the memory 602, that is, the method for determining the storage time of an item in the above embodiment is implemented.
[0132] The memory 602 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 602 may include a high-speed random access memory and may also include a non-volatile memory.
[0133] Combination Figure 1 As shown, an embodiment of the present disclosure provides a refrigerator 10, including: a cabinet 100, and the above-mentioned device 600 for determining the storage time of an item. The device 600 for determining the storage time of an item is installed in the cabinet 100. The installation relationship described here is not limited to placement inside the refrigerator 10, but also includes installation connections with other components of the refrigerator 10, including but not limited to physical connections, electrical connections, or signal transmission connections. It can be understood by those skilled in the art that the device for determining the storage time of an item can be adapted to the cabinet 100 of a feasible refrigerator 10, thereby realizing other feasible embodiments. An embodiment of the present disclosure provides a storage medium storing computer executable instructions, and the computer executable instructions are configured to execute the above-mentioned method for determining the storage time of an item.
[0134] The above-mentioned storage medium may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.
[0135] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes, or a transient storage medium.
[0136] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.
[0137] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above may refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0138] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.
[0139] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.
Claims
1. A method for determining the storage time of an item, applied to a refrigerator, characterized in that: The method comprises: In the case where it is detected that a first object is stored in the refrigerator, determining the storage status of the first object; In the case where the first item is stored again, the storage time of the first item is calculated according to the last storage time of the first item in the refrigerator; The first item is an item to be stored in the refrigerator, and the re-depositing situation is a situation where the item is taken out during the storage process and then stored again.
2. The method according to claim 1, characterized in that Determine the storage status of the first item, including: Acquire storage information of the first item and historical storage information of the refrigerator, where the historical storage information includes storage information of each item among the items taken out of the refrigerator; The storage status of the first object is determined according to the storage information of the first object and the historical storage information.
3. The method according to claim 2, characterized in that The storage information of the first object includes the mass and volume of the first object, the historical storage information includes the mass and volume of each of the taken objects, and the storage status of the first object is determined according to the storage information of the first object and the historical storage information, including: Calculate the density of the first object and the density of each object in the removed objects based on the mass and volume; When the density difference between one of the removed objects and the first object is within a set range and the volume of the object is less than or equal to the volume of the first object, it is determined that the first object is deposited again; or When the density difference between one of the taken out objects and the first object is within a set range and the volume of the object is larger than the volume of the first object, it is determined that the first object is deposited for the first time; or When the density difference between each of the taken-out objects and the first object is not within the set range, it is determined that the first object is deposited for the first time.
4. The method according to claim 1, characterized in that The storage time of the first item is calculated according to the previous storage time of the first item in the refrigerator, including: Pushing the storage status of the first item to the user as a re-deposit; When receiving a reply confirmation message from the user, the storage time of the first item is counted based on the previous storage time of the first item; or When receiving a negative reply from the user, counting the storage time of the first item according to the current time; or If no reply information from the user is received within the first set time period, the storage time of the first item is measured based on the previous storage time of the first item.
5. The method according to any one of claims 1 to 4, characterized in that Also includes: When the storage time of the first item reaches the second set time, a reminder message is sent to the user that the first item has reached the freshness period.
6. The method according to any one of claims 1 to 4, characterized in that Also includes: When it is detected that the second object is taken out from the refrigerator, the second object is marked as a taken out object, and the storage information of the second object is recorded in the historical storage information; The second item is an item stored in the refrigerator.
7. The method according to claim 6, characterized in that Also includes: When the time duration since the second item was taken out of the refrigerator reaches a third set time duration, the storage information of the second item is deleted from the historical storage information.
8. A device for determining the storage time of an item, applied to a refrigerator, comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to execute the method for determining the storage time of an object according to any one of claims 1 to 7 when running the program instructions.
9. A refrigerator, characterized in that: include: Box; The device for determining the storage time of an item as claimed in claim 8 is installed in a box.
10. A storage medium storing program instructions, characterized in that: When the program instructions are executed, the method for determining the storage time of an object as described in any one of claims 1 to 7 is executed.
