Method and device for obtaining article storage duration, refrigerator and storage medium

By using a rangefinder in the refrigerator storage room to determine the storage time of items and send a prompt message, the problem of the inability to read the storage time of items due to label obscurity is solved, and the storage time of items in the refrigerator is achieved more timely and reminding users to get the storage time of items in the refrigerator is achieved. Use the function of the item.

CN119042910APending Publication Date: 2024-11-29QINDAO HAIER REFRIGERATOR CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310620705.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-29
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

The labels are blocked due to the accumulation of items in the refrigerator, and the storage time of items cannot be read in time, resulting in the storage time of items in the refrigerator being unable to be obtained in time.

Method used

By setting up a distance finder in the storage room of the refrigerator, obtaining the measurement distance to determine the storage time of the item, and controlling the refrigerator to issue prompt messages when the item exists, including the storage time and location of the item sent.

Benefits of technology

It can determine whether there are items in the storage room in a timely manner, and remind users when the storage time exceeds the preset time, reducing expired waste of items.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119042910A_ABST
    Figure CN119042910A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of refrigerators, and discloses a method for obtaining article storage duration, the method is applied to a refrigerator, the refrigerator is provided with a storage chamber, and a range finder is arranged in the storage chamber; the method comprises the following steps: acquiring a measurement distance of a range finder; according to the measurement distance, determining the state of an article in the storage chamber; and under the condition that the state of the articles in the storage chamber is that the articles exist, the storage duration of the articles is determined according to the measurement distance. According to the method, whether the articles exist in the storage chamber or not can be determined at the first time according to the measuring distance of the distance measuring instrument, and the storage duration of the articles can be determined under the condition that the articles are stored in the refrigerator. Therefore, the storage duration of the articles in the refrigerator can be obtained more timely. The invention further discloses a device for obtaining the article storage duration, a refrigerator and a storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of refrigerators, and for example, to a method and device for obtaining the storage time of an item, a refrigerator, and a storage medium. Background Art

[0002] As a refrigeration storage device, the refrigerator is an essential appliance for storing items and extending the shelf life of items. Since there are many types and quantities of items stored in the refrigerator, users tend to forget how long the items have been stored over time. This causes the items to expire and cause waste. At present, the relevant technology is to post a label on the item, which stores the time information of the item. The label is read by a reading module set in the refrigerator to obtain the storage time of the item.

[0003] 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:

[0004] In the related art, since there are many items stored in the refrigerator, when placing items in the refrigerator, it is likely that various items will be piled up together, which will cause the tag to be blocked, so that the reading module cannot read the time information of the item in the tag in time. In this way, it is impossible to obtain the storage time of the items in the refrigerator in 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 obtaining the storage time of items, a refrigerator, and a storage medium, so as to obtain the storage time of items in the refrigerator in a more timely manner.

[0008] In some embodiments, the method for obtaining the storage time of an item is applied to a refrigerator, wherein the refrigerator is provided with a storage chamber, and a rangefinder is provided in the storage chamber; the method comprises: obtaining a measurement distance of the rangefinder; determining a status of an item in the storage chamber according to the measurement distance; when the status of the item in the storage chamber is that an item exists, determining the storage time of the item according to the measurement distance.

[0009] In some embodiments, determining the state of the items in the storage room according to the measured distance includes: when the measured distance is less than a preset distance, determining the state of the items in the storage room as the presence of items.

[0010] In some embodiments, determining the storage time of the item based on the measured distance includes: obtaining the duration of the measured distance; and determining the duration as the storage time of the item.

[0011] In some embodiments, after determining the storage time of the item according to the measured distance, the method further includes: controlling the refrigerator to issue a prompt message according to the storage time of the item.

[0012] In some embodiments, the prompt information includes the storage time of the item and the location of the item, and controlling the refrigerator to issue the prompt information based on the storage time of the item includes: when the storage time of the item is greater than or equal to a first preset time, controlling the refrigerator to send the storage time of the item and the location of the item to a preset user terminal.

[0013] In some embodiments, the storage chamber is provided with a reminder light; controlling the refrigerator to issue a reminder message according to the storage time of the items includes: obtaining a target operating mode of the reminder light according to the storage time of the items; and triggering the reminder light to operate according to the target operating mode.

[0014] In some embodiments, the device for obtaining the storage time of an item is applied to a refrigerator, wherein the refrigerator is provided with a storage chamber, and a rangefinder is provided in the storage chamber; the device comprises: a distance measuring module, configured to obtain a measurement distance of the rangefinder; an item status determination module, configured to determine the status of the item in the storage chamber according to the measurement distance; and a storage time determination module, configured to determine the storage time of the item according to the measurement distance when the status of the item in the storage chamber is that there is an item.

[0015] In some embodiments, the device for obtaining the storage time of an item includes a processor and a memory storing program instructions, and the processor is configured to execute the aforementioned method for obtaining the storage time of an item when running the program instructions.

[0016] In some embodiments, the refrigerator includes: a refrigerator body, provided with a storage chamber; a rangefinder is provided in the storage chamber; and the device for obtaining the storage time of items as described above is installed in the refrigerator body.

[0017] In some embodiments, the storage medium stores program instructions, and when the program instructions are run, the method for obtaining the storage time of an item as described above is executed.

[0018] The method and device for obtaining 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:

[0019] The state of the items in the storage room can be determined by the measurement distance of the rangefinder in the refrigerator storage room, and when the state of the items is that there are items, the storage time of the items can be determined according to the measurement distance. Because the measurement distance of the rangefinder when there are items in the storage room is different from the measurement distance when there are no items in the storage room. Therefore, once there are items stored in the storage room, the state of the items in the storage room can be determined as the presence of items by obtaining the measurement distance of the rangefinder. In the case where there are items in the storage room, the position of the items in the storage room usually remains unchanged. Therefore, the measurement distance between the rangefinder and the item will also remain unchanged. In this way, it is possible to determine whether there are items in the storage room at the first time through the measurement distance of the rangefinder, and it is possible to determine the storage time of the items when the items are stored in the refrigerator. Thereby, the storage time of the items in the refrigerator can be obtained more timely.

[0020] 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

[0021] 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:

[0022] Figure 1 is a schematic diagram of a method for obtaining the storage time of an item provided by an embodiment of the present disclosure;

[0023] Figure 2 This is a schematic diagram of the top view of the interior of a refrigerator;

[0024] Figure 3 It is a top view schematic diagram of the storage compartment in a refrigerator;

[0025] Figure 4 This is a top-down schematic diagram of the storage compartment in another refrigerator;

[0026] Figure 5 is a schematic diagram of another method for obtaining the storage time of an item provided by an embodiment of the present disclosure;

[0027] Figure 6 is a schematic diagram of the structure of a device for obtaining the storage time of an item provided by an embodiment of the present disclosure;

[0028] Figure 7is a schematic structural diagram of another device for obtaining the storage time of an item provided by an embodiment of the present disclosure;

[0029] Figure 8 is a structural schematic diagram of a refrigerator provided by an embodiment of the present disclosure;

[0030] Fig. 9 It is a structural schematic diagram of another refrigerator provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0031] 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.

[0032] 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 that 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.

[0033] Unless otherwise stated, the term "plurality" means two or more.

[0034] 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.

[0035] 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.

[0036] 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.

[0037] When an item is placed in a refrigerator, the position of the item in the refrigerator usually remains unchanged. Therefore, when there are many types or quantities of items stored in the refrigerator, some items may be stored in the refrigerator for a long time. At this time, the position of these items stored for a long time in the refrigerator will remain unchanged for a long time. Therefore, by determining the length of time that the position of the item in the refrigerator remains unchanged, the storage time of the item in the refrigerator can be determined.

[0038] Combination Figure 1 The present disclosure provides a method for obtaining the storage time of an item, which is applied to a refrigerator. The refrigerator is provided with a storage chamber, and a rangefinder is provided in the storage chamber. The method for obtaining the storage time of an item includes:

[0039] Step S101: The refrigerator obtains a measured distance of a rangefinder.

[0040] Step S102: The refrigerator determines the status of items in the storage room according to the measured distance.

[0041] Step S103, when the item status in the storage room of the refrigerator is that there is an item, the storage time of the item is determined according to the measured distance.

[0042] By adopting the method for obtaining the storage time of an item provided by the embodiment of the present disclosure, the state of the item in the storage room can be determined by the measurement distance of the rangefinder in the refrigerator storage room, and when the state of the item is that the item exists, the storage time of the item is determined according to the measurement distance. Because the measurement distance of the rangefinder when the item exists in the storage room is different from the measurement distance when the item does not exist in the storage room. Therefore, once the item is stored in the storage room, the state of the item in the storage room can be determined as the existence of the item by obtaining the measurement distance of the rangefinder. In the case where the item exists in the storage room, the position of the item in the storage room usually remains unchanged. Therefore, the measurement distance between the rangefinder and the item will also remain unchanged. In this way, it is possible to determine whether there is an item in the storage room at the first time by the measurement distance of the rangefinder, and it is possible to determine the storage time of the item when the item is stored in the refrigerator. Thereby, the storage time of the items in the refrigerator can be obtained more timely.

[0043] Furthermore, the refrigerator is provided with one or more storage chambers, each of which is used to store items. The storage chamber is provided with a storage opening, through which items are placed in or taken out of the storage chamber. The first inner wall and the second inner wall of the storage chamber are arranged opposite to each other. The items are placed between the first inner wall and the second inner wall. The first inner wall is provided with a rangefinder. The rangefinder is used to measure the distance between the rangefinder and the object to be measured. The rangefinder is a laser rangefinder or an infrared rangefinder, etc.

[0044] For example, the rangefinder is an infrared rangefinder. The infrared rangefinder emits infrared rays, which are reflected when blocked by the object to be measured. The infrared rangefinder determines the emission distance of the infrared rays based on the reflected infrared rays, and determines the emission distance of the infrared rays as the measurement distance of the infrared rangefinder. The emission distance of the infrared rays is the distance between the infrared rangefinder and the object to be measured. In this way, by setting up multiple storage rooms, the stored items can be placed in different storage rooms for storage. Thereby, the storage time of the items in each storage room can be determined separately. For example, combined with Figure 2 As shown, Figure 2 Schematic diagram of the top view of the interior of the refrigerator. Figure 2 The refrigerator 10 is provided with a plurality of storage chambers 11. The plurality of storage chambers 11 are evenly distributed in the refrigerator 10.

[0045] Furthermore, a plurality of rangefinders are provided on the first inner wall of each storage room. The plurality of rangefinders in each storage room are evenly distributed on the first inner wall of the corresponding storage room. The measuring distance of the rangefinder in the storage room is determined by: obtaining the sub-measurement distances of each rangefinder in the storage room respectively. Calculating the average sub-measurement distance of each rangefinder in the same storage room, and determining the average sub-measurement distance of each rangefinder in the same storage room as the measuring distance of the rangefinder in the corresponding storage room. Since the volume of an object is usually smaller than the volume of a storage room. Therefore, an object usually only occupies a part of the space in a storage room. In this way, by installing a plurality of rangefinders in the storage room, the measuring range of the rangefinder in the storage room is expanded. Thereby improving the accuracy of the rangefinder measurement.

[0046] Further, the refrigerator determines the state of items in the storage room according to the measured distance, including: when the measured distance is less than a preset distance, the refrigerator determines that the state of items in the storage room is that items exist. The state of items in the storage room includes the state of items existing and the state of items not existing. The state of items in the storage room is that items exist, indicating that there are items stored in the storage room. The state of items in the storage room is that items do not exist, indicating that there are no items stored in the storage room.

[0047] In some embodiments, the rangefinder is disposed on the first inner wall of the storage room. When there is no object stored in the storage room, the rangefinder can measure the distance between the rangefinder itself and the second inner wall. Therefore, the distance between the rangefinder itself and the second inner wall in the storage room is determined as the preset distance. When the distance measured by the rangefinder is equal to the preset distance, the state of the object in the storage room is determined to be that there is no object. That is, at this time, no object is stored in the storage room. For example, Figure 3 A schematic diagram of a refrigerator storage compartment from above. Figure 3 As shown, Figure 3 The first inner wall of the middle storage room 11 is provided with a rangefinder 12, and the rangefinder 12 is arranged opposite to the second inner wall 13 of the storage room 11. There is no object between the rangefinder 12 and the second inner wall 13. At this time, the distance measured by the rangefinder is the distance between the rangefinder itself and the second inner wall. That is, at this time, the state of the objects in the storage room is that there is no object.

[0048] In another embodiment, when the distance measured by the rangefinder is less than the preset distance, it means that there is an object between the rangefinder and the second inner wall that blocks the infrared rays emitted by the rangefinder. At this time, there is an object between the rangefinder and the second inner wall. That is, the state of the object in the storage room is that there is an object. For example, Figure 4 A top view of another refrigerator storage compartment. Figure 4 As shown, Figure 4 A rangefinder 12 is disposed on the first inner wall of the storage room 11, and the rangefinder 12 is disposed opposite to the second inner wall 13 of the storage room 11. An object 14 is present between the rangefinder 12 and the second inner wall 13. At this time, the infrared ray emitted by the rangefinder 12 is blocked by the object 14, and the emission distance of the infrared ray is less than the preset distance. That is, at this time, the object state of the storage room is that an object exists.

[0049] Furthermore, the refrigerator determines the storage time of the item based on the measured distance, including: the refrigerator obtains the duration of the measured distance. The duration is determined as the storage time of the item. Among them, the duration of the measured distance represents the duration for which the measured distance remains unchanged. Since, after the item is placed in the storage chamber of the refrigerator, the position of the item usually does not change. Therefore, the measured distance of the rangefinder in the storage chamber where the item is placed will not change. Therefore, when it is determined that the state of the item in any storage chamber is that there is an item, by obtaining the duration for which the measured distance remains unchanged, it is possible to determine the duration for which the position of the item in the storage chamber remains unchanged. When the position of the item in the storage chamber remains unchanged, it means that the item has been stored in the storage chamber and has not been taken by the user. In this way, when there are items stored in the storage chamber, the storage time of the items in each storage chamber of the refrigerator can be determined by obtaining the duration for which the measured distance remains unchanged.

[0050] Furthermore, after the refrigerator determines the storage time of the item according to the measured distance, the refrigerator further includes: controlling the refrigerator to issue a prompt message according to the storage time of the item. In this way, by controlling the refrigerator to issue a prompt message, the user can be informed of the storage time of the item in the storage room in a timely manner, thereby reminding the user to take the item in time within the shelf life of the item, so as to avoid waste caused by expired items.

[0051] Combination Figure 5 , the present disclosure provides a method for obtaining the storage time of an item, comprising:

[0052] Step S201: The refrigerator obtains a measured distance of a rangefinder.

[0053] Step S202: The refrigerator determines the status of items in the storage room according to the measured distance.

[0054] Step S203, when the item status in the storage room of the refrigerator is that there is an item, the storage time of the item is determined according to the measured distance.

[0055] Step S204: the refrigerator issues a prompt message according to the storage time of the items.

[0056] Optionally, the prompt information includes the storage time of the item and the location of the item. According to the storage time of the item, the refrigerator is controlled to send the prompt information, including: when the storage time of the item is greater than or equal to the first preset time, the refrigerator sends the storage time of the item and the location of the item to a preset user terminal. In this way, the refrigerator sends the storage time of the item to the preset user terminal, so that the user can know the storage time of the item in time so as to take the item in time. In some embodiments, the preset user terminal includes a smart phone, a tablet, a smart bracelet, etc. The first preset time is any value such as 12 hours, 24 hours, etc.

[0057] Furthermore, the refrigerator sends the storage time of the item to the preset user terminal, including: the refrigerator sends the storage time of the item to the preset user terminal every second preset time. In this way, the storage time of the item is sent every second preset time, so that the user can know the current storage time of the item in time. In some embodiments, the second preset time is any value such as 24 hours, 48 ​​hours or 72 hours.

[0058] Furthermore, each storage compartment of the refrigerator is numbered. The location of the item is the number of the storage compartment where the item is located. Sending the storage time of the item and the location of the item to a preset user terminal includes: sending the storage time of the item and the number of the storage compartment where the item is located to the preset user terminal. In this way, when the user takes the item according to the received storage time, the storage compartment where the item is located can be quickly located according to the received storage compartment number. This reduces the time it takes for the user to find the desired item.

[0059] Optionally, each storage compartment is provided with a reminder light. According to the storage time of the items, controlling the refrigerator to issue a reminder message includes: obtaining a target operation mode of the reminder light according to the storage time of the items. Triggering the reminder light to operate according to the target operation mode to issue a reminder message.

[0060] Further, obtaining the target operation mode of the warning light according to the storage time of the object includes: performing a table lookup operation in a preset first data table using the storage time of the object to find the target operation mode corresponding to the storage time of the object. The preset first data table stores the correspondence between the storage time of the object and the target operation mode.

[0061] In some embodiments, Table 1 is an example table of a preset first data table. As shown in Table 1, t is the storage time of the item. When t is less than 24 hours, the warning light is green. When 24≤t is less than 48 hours, the warning light is yellow. When 48≤t is less than 72 hours, the warning light is orange. When 72≤t is purple. As the storage time increases, the freshness of the items will gradually decrease. At this time, the color of the warning light will also deepen. In this way, according to the storage time of the items in each storage room, the corresponding color of the warning light is triggered. The user can more intuitively judge the storage time and freshness of the items through the color of the warning light. It is convenient for users to determine the order of taking items according to the storage time and freshness of the items in each storage room.

[0062] Table 1

[0063] Storage time of items Target operating mode t<24h The indicator light is green 24≤t<48h The indicator light is yellow 48≤t<72h The indicator light is orange 72≤t The indicator light is purple

[0064] In some embodiments, each storage room is provided with a warning light, and the warning light is provided with operating modes such as bright green, bright yellow, bright orange, and bright purple. The light color corresponding to the warning light is determined according to the storage time of the item. The warning light is triggered to emit light according to the light color corresponding to the storage time to prompt the user.

[0065] In other embodiments, each storage compartment is provided with a plurality of warning lights, each warning light is lit in a different color to emit light of a different color. Figure 3 As shown, the storage room 11 is provided with four warning lights 15. For example, a warning light that lights up green, a warning light that lights up yellow, a warning light that lights up orange, and a warning light that lights up purple. According to the storage time of the items, the warning lights to be lit are determined. The warning lights to be lit are triggered to light up, so as to remind the user by lighting warning lights of different colors.

[0066] Optionally, controlling the refrigerator to issue a prompt message according to the storage time of the item includes: the refrigerator obtaining the type of the item. According to the storage time of the item and the type of the item, obtaining a target operation mode of the prompt light. Triggering the prompt light to operate according to the target operation mode to issue the prompt message.

[0067] Further, according to the storage time of the object and the type of the object, the target operation mode of the warning light is obtained, including: performing a table lookup operation in a preset second data table using the storage time of the object and the type of the object to find the target operation mode corresponding to the storage time of the object and the type of the object. The preset second data table stores the correspondence between the storage time of the object and the type of the object and the target operation mode.

[0068] In some embodiments, Table 2 is an example table of a preset second data table. As shown in Table 2, t is the storage time of the item. When the type of the item is a vegetable and t < 24h, the warning light is green. When the type of the item is a vegetable and 24≤t < 48h, the warning light is yellow. When the type of the item is a vegetable and 48≤t < 72h, the warning light is orange. When the type of the item is a vegetable and 72≤t, the warning light is purple. When the type of the item is a fruit and t < 12h, the warning light is green. When the type of the item is a fruit and 12≤t < 24h, the warning light is yellow. When the type of the item is a fruit and 24≤t < 36h, the warning light is orange. When the type of the item is a fruit and 36≤t, the warning light is purple. Due to different types of items, they have different shelf lives. The closer the item is to the deadline within the corresponding shelf life, the lower the freshness of the item. Therefore, when the items have the same storage time, the type of the item will affect the freshness of the item. In this way, the corresponding color of the reminder light is triggered according to the type of the item and the storage time of the item. This can more accurately remind the user of the freshness of the items and facilitate the user to determine the order of taking the items according to the freshness of the items in each storage room.

[0069] Table 2

[0070]

[0071] Optionally, a camera is provided in the storage room. Obtaining the type of the item includes: the refrigerator obtains an image of the item in the storage room through the camera, and inputs the image into a preset recognition model for image recognition to obtain the type of the item.

[0072] Furthermore, the recognition model can be obtained by the following method: inputting a sample image containing an object into a preset convolutional neural network model for training to obtain a recognition model. The sample image is labeled. The label is the type of the object in the corresponding sample image.

[0073] Optionally, obtaining the type of the item includes: the refrigerator receiving an item type setting instruction from a user. The item type setting instruction includes the type of the item set by the user.

[0074] Furthermore, the refrigerator is provided with a door. Triggering the prompt light to operate according to the target operation mode includes: when the door is open, triggering the prompt light in the storage chamber where the items are stored to operate according to the target operation mode. When the door is closed, triggering the prompt light in each storage chamber to turn off. In this way, the prompt light is triggered to operate when the door is open, and the prompt light is triggered to turn off when the door is closed, which can save power.

[0075] Combination Figure 6As shown, the embodiment of the present disclosure provides a device 20 for obtaining the storage time of an item, including a distance measuring module 21, an item state determining module 22 and a storage time determining module 23. The distance measuring module 21 is configured to obtain the measured distance of the rangefinder. The item state determining module 22 is configured to determine the state of the item in the storage room according to the measured distance. The storage time determining module 23 is configured to determine the storage time of the item according to the measured distance when the state of the item in the storage room is that the item exists.

[0076] Furthermore, the distance measuring module is further configured to determine the measurement distance of the distance meter in the storage room by: respectively obtaining the sub-measurement distance of each distance meter in the storage room, calculating the average sub-measurement distance of each distance meter in the same storage room, and determining the average sub-measurement distance of each distance meter in the same storage room as the measurement distance of the distance meter in the corresponding storage room.

[0077] Further, the item status determination module is configured to determine the item status in the storage room according to the measured distance in the following manner: when the measured distance is less than a preset distance, determine that the item status in the storage room is that an item exists.

[0078] Furthermore, the storage time determination module is configured to determine the storage time of the item according to the measured distance in the following manner: obtaining the duration of the measured distance; and determining the duration as the storage time of the item.

[0079] Furthermore, the device for obtaining the storage time of an item further includes: a prompt module. The prompt module is configured to control the refrigerator to issue a prompt message according to the storage time of the item.

[0080] Optionally, the prompt information includes the storage time of the item and the location of the item. The prompt module is configured to control the refrigerator to issue the prompt information according to the storage time of the item in the following manner: when the storage time of the item is greater than or equal to a first preset time, the refrigerator sends the storage time of the item and the location of the item to a preset user terminal.

[0081] Furthermore, the prompt module is configured to send the storage time of the item to the preset user terminal in the following manner: the refrigerator sends the storage time of the item to the preset user terminal every second preset time.

[0082] Furthermore, each storage compartment of the refrigerator is numbered. The location of an item is the number of the storage compartment where the item is located. The prompt module is configured to send the storage time of the item and the location of the item to a preset user terminal in the following manner: sending the storage time of the item and the number of the storage compartment where the item is located to a preset user terminal.

[0083] Optionally, each storage compartment is provided with a reminder light. The reminder module is configured to control the refrigerator to issue a reminder message according to the storage time of the items in the following manner: according to the storage time of the items, a target operation mode of the reminder light is acquired. The reminder light is triggered to operate according to the target operation mode to issue a reminder message.

[0084] Further, the prompt module is configured to obtain the target operation mode of the prompt light according to the storage time of the object in the following manner: using the storage time of the object to perform a table lookup operation in a preset first data table to find out the target operation mode corresponding to the storage time of the object. The preset first data table stores the correspondence between the storage time of the object and the target operation mode.

[0085] Optionally, the prompt module is configured to control the refrigerator to issue a prompt message according to the storage time of the item in the following manner: the refrigerator obtains the type of the item. According to the storage time of the item and the type of the item, a target operation mode of the prompt light is obtained. The prompt light is triggered to operate according to the target operation mode to issue a prompt message.

[0086] Further, the prompt module is configured to obtain the target operation mode of the prompt light according to the storage time of the object and the type of the object in the following manner: perform a table lookup operation in a preset second data table using the storage time of the object and the type of the object to find the target operation mode corresponding to the storage time of the object and the type of the object. The preset second data table stores the correspondence between the storage time of the object and the type of the object and the target operation mode.

[0087] Optionally, a camera is provided in the storage room. The prompt module is configured to obtain the type of the object in the following manner: the refrigerator obtains an image of the object in the storage room through the camera, inputs the image into a preset recognition model for image recognition, and obtains the type of the object.

[0088] Optionally, the prompt module is configured to obtain the type of the item in the following manner: the refrigerator receives an item type setting instruction from a user. The item type setting instruction includes the type of the item set by the user.

[0089] Furthermore, the refrigerator is provided with a door. The prompt module is configured to trigger the prompt light to operate according to the target operation mode in the following manner, including: when the door is open, triggering the prompt light in the storage compartment where the items are stored to operate according to the target operation mode. When the door is closed, triggering the prompt light in each storage compartment to turn off.

[0090] Combination Figure 7As shown, the embodiment of the present disclosure provides a device 30 for obtaining the storage time of an item, including a processor 31 and a memory 32. Optionally, the device may also include a communication interface 33 and a bus 34. The processor 31, the communication interface 33, and the memory 32 may communicate with each other through the bus 34. The communication interface 33 may be used for information transmission. The processor 31 may call the logic instructions in the memory 32 to execute the method for obtaining the storage time of an item in the above embodiment.

[0091] In addition, the logic instructions in the memory 32 described above can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.

[0092] The memory 32 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 31 executes the function application and data processing by running the program instructions / modules stored in the memory 32, that is, the method for obtaining the storage time of an item in the above embodiment is implemented.

[0093] The memory 32 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 32 may include a high-speed random access memory and may also include a non-volatile memory.

[0094] Combination Figure 8 As shown, an embodiment of the present disclosure provides a refrigerator 10, including: a refrigerator body, and the above-mentioned device 20 for obtaining the storage time of items. Among them, the refrigerator body is provided with a storage chamber, and a rangefinder is provided in the storage chamber. The device 20 for obtaining the storage time of items is installed in the refrigerator body. The installation relationship described here is not limited to placement inside the product, but also includes installation connections with other components of the product, 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 20 for obtaining the storage time of items can be adapted to a feasible refrigerator body, thereby realizing other feasible embodiments.

[0095] Combination Fig. 9As shown, an embodiment of the present disclosure provides a refrigerator 10, including: a refrigerator body, and the above-mentioned device 30 for obtaining the storage time of items. Among them, the refrigerator body is provided with a storage chamber, and a rangefinder is provided in the storage chamber. The device 30 for obtaining the storage time of items is installed in the refrigerator body. The installation relationship described here is not limited to placement inside the product, but also includes installation connections with other components of the product, 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 30 for obtaining the storage time of items can be adapted to a feasible refrigerator body, thereby realizing other feasible embodiments.

[0096] An embodiment of the present disclosure provides a storage medium storing program instructions for executing the above method for obtaining the storage time of an item.

[0097] The above-mentioned storage medium may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.

[0098] 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 causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute 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, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk, and other media that can store program codes, or a transient storage medium.

[0099] 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.

[0100] 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.

[0101] 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.

[0102] 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 obtaining the storage time of an item, characterized in that: Applied to a refrigerator, the refrigerator is provided with a storage chamber, and a rangefinder is provided in the storage chamber; the method comprises: Get the measured distance of the rangefinder; Determining the status of items in the storage room according to the measured distance; When the state of the item in the storage room is that the item exists, the storage time of the item is determined according to the measured distance.

2. The method according to claim 1, characterized in that Determining the state of the items in the storage room according to the measured distance includes: When the measured distance is less than the preset distance, it is determined that the state of the item in the storage room is that the item exists.

3. The method according to claim 1, characterized in that Determining the storage time of the item according to the measured distance includes: Obtaining the duration of the measured distance; The duration is determined as the storage time of the item.

4. The method according to any one of claims 1 to 3, characterized in that: After determining the storage time of the item according to the measured distance, the method further includes: According to the storage time of the items, the refrigerator is controlled to issue a prompt message.

5. The method according to claim 4, characterized in that The prompt information includes the storage time of the item and the location of the item. According to the storage time of the item, controlling the refrigerator to issue the prompt information includes: When the storage time of the item is greater than or equal to the first preset time, the refrigerator is controlled to send the storage time of the item and the location of the item to a preset user terminal.

6. The method according to claim 4, characterized in that The storage chamber is provided with a prompt light; and the refrigerator is controlled to issue a prompt message according to the storage time of the items, including: According to the storage time of the item, obtaining a target operation mode of the warning light; Trigger the reminder light to operate according to the target operation mode.

7. A device for obtaining the storage time of an item, characterized in that: Applied to a refrigerator, the refrigerator is provided with a storage compartment, and a rangefinder is provided in the storage compartment; the device comprises: A distance measuring module is configured to obtain a measured distance of a rangefinder; an item status determination module, configured to determine the status of items in the storage room according to the measured distance; The storage time determination module is configured to determine the storage time of the item according to the measured distance when the item status in the storage room is that the item exists.

8. A device for obtaining the storage time of an item, comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to execute the method for obtaining the storage time of an item according to any one of claims 1 to 6 when running the program instructions.

9. A refrigerator, characterized in that: include: The refrigerator body is provided with a storage room; a rangefinder is provided in the storage room; The device for obtaining the storage time of an item as described in claim 7 or 8 is installed on the refrigerator body.

10. A storage medium storing program instructions, characterized in that: When the program instructions are executed, the method for obtaining the storage time of an item as described in any one of claims 1 to 6 is executed.