Refrigerator control method, control device, electronic device, and storage medium

By obtaining the remaining shelf life and current storage area of ​​the food in the refrigerator, the system can determine and push storage area migration or priority consumption tasks, solving the problem that refrigerators cannot actively manage the usage time of food. This enables proactive management and storage optimization of food, reducing waste and safety hazards.

CN122107690APending Publication Date: 2026-05-29TCL HOME APPLIANCES (HEFEI) CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
TCL HOME APPLIANCES (HEFEI) CO LTD
Filing Date
2026-02-06
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

Existing refrigerators cannot proactively manage the usage time of food, causing users to rely on personal experience, which can easily lead to food waste and safety hazards in the refrigerator storage environment.

Method used

By obtaining the remaining shelf life of the food in the refrigerator and the current storage area, it determines whether to generate a storage area migration task or a priority consumption task, and pushes the task to the user. The optimal storage area and task type are determined by including the basic information of the food and the preset food management model.

Benefits of technology

It enables proactive management of food ingredients, extends their storage time, avoids waste and safety hazards in the refrigerator storage environment, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122107690A_ABST
    Figure CN122107690A_ABST
Patent Text Reader

Abstract

The application provides a refrigerator control method, a control device, an electronic device and a storage medium, and belongs to the technical field of refrigerators. The refrigerator control method comprises the following steps: acquiring the remaining preservation period and the current storage area of food materials in the refrigerator; judging whether to generate a storage area migration task or a priority consumption task based on the remaining preservation period and / or the current storage area; and if so, pushing the storage area migration task or the priority consumption task to a user. The method provided by the application can judge whether to generate a storage area migration task or a priority consumption task based on the remaining preservation period and / or the current storage area of food materials, and push the task to the user, so as to remind the user to change the storage area of the food materials in time to prolong the storage time of the food materials, or remind the user to use the food materials as soon as possible, avoid deterioration and damage of the food materials before use, cause waste of the food materials, or cause a safety hazard to the storage environment of the refrigerator.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of refrigerator technology, and particularly relates to a refrigerator control method, control device, electronic device and storage medium. Background Technology

[0002] With the development of science and technology, refrigerators have become an indispensable household appliance for every family. However, existing refrigerators usually only have the function of food preservation, that is, extending the storage time of food. However, they cannot remind users to consume the food as soon as possible before it is about to spoil. Users can only rely on their personal experience to use the food before it spoils. Therefore, there are situations where users forget to use the food or lack the experience to use the food in time before it spoils, resulting in food waste and also posing safety hazards to the refrigerator environment. Summary of the Invention

[0003] This application provides a refrigerator control method, control device, electronic device, and storage medium to solve the problem that existing refrigerators can only passively rely on the user's personal experience to use food before it spoils, and cannot actively manage the food usage time.

[0004] This application provides a refrigerator control method, the method comprising: Get the remaining shelf life and current storage location of the food in the refrigerator; Based on the remaining shelf life and / or the current storage area, determine whether to generate a storage area migration task or a priority consumption task; If so, the storage area migration task or the priority consumption task will be pushed to the user.

[0005] Optionally, obtaining the remaining shelf life of the food in the refrigerator includes: Obtain basic information about the ingredients, including one or more of the following: category, production date, shelf life, opening date, and packaging format; Based on the preset food management model, the current storage area, and the basic information, the remaining shelf life is determined.

[0006] Optionally, determining whether to generate a storage area migration task or a priority consumption task based on the remaining shelf life and / or the current storage area includes: If the remaining shelf life is less than the first preset time, then determine whether the current storage area is the optimal storage area; If so, then generate the priority consumption task; If not, then generate the storage area migration task or the priority consumption task based on the optimal storage area.

[0007] Optionally, the step of determining whether to generate a storage area migration task or a priority consumption task based on the remaining shelf life and / or the current storage area further includes: Determine whether the current storage area is the optimal storage area; If not, then generate the storage area migration task based on the optimal storage area.

[0008] Optionally, determining whether the current storage region is the optimal storage region includes: Obtain basic information about the ingredients, including one or more of the following: category, production date, shelf life, opening date, and packaging format; Based on the aforementioned basic information and the preset food ingredient management model, the storage characteristics of the food ingredients are determined. Based on the storage characteristic information, the optimal storage region is determined; Compare the optimal storage region with the current storage region.

[0009] Optionally, after generating the storage area migration task based on the optimal storage area, the method further includes: If the food ingredient is detected to have been moved to the optimal storage area within the second preset time period, then the current storage area of ​​the food ingredient is updated. If the food ingredient is not detected to have been moved to the optimal storage area within the second preset time period, the optimal storage area of ​​the food ingredient is updated based on the current storage area.

[0010] Optionally, it also includes: Obtain the storage time of the food ingredients; If the storage duration is greater than the third preset duration, then the priority consumption task is generated.

[0011] This application embodiment also provides a refrigerator control device, the device comprising: The food information acquisition module is configured to acquire the remaining shelf life and current storage area of ​​the food in the refrigerator; The analysis module is configured to determine whether to generate a storage area migration task or a priority consumption task based on the remaining shelf life and / or the current storage area. If the push module is configured to do so, it will push the storage area migration task or the priority consumption task to the user.

[0012] This application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the refrigerator control method described above.

[0013] This application embodiment also provides a storage medium storing control instructions, which, when executed by a processor, implement the refrigerator control method described above.

[0014] The refrigerator control method provided in this application embodiment can determine whether to generate a storage area migration task or a priority consumption task based on the remaining shelf life of the food and / or the current storage area, and push the task to the user to remind the user to change the storage area of ​​the food in time to extend the storage time of the food, or to remind the user to use the food as soon as possible to avoid the food from spoiling and being damaged before use, resulting in food waste, or causing safety hazards to the refrigerator's storage environment. Attached Figure Description

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

[0016] To gain a more complete understanding of this application and its beneficial effects, the following description will be provided in conjunction with the accompanying drawings. In the following description, the same reference numerals denote the same parts.

[0017] Figure 1 This is a first flowchart illustrating the refrigerator control method provided in an embodiment of this application.

[0018] Figure 2 This is a second flowchart illustrating the refrigerator control method provided in an embodiment of this application.

[0019] Figure 3 This is a third flowchart illustrating the refrigerator control method provided in an embodiment of this application.

[0020] Figure 4 This is a schematic diagram of the control device for a refrigerator provided in an embodiment of this application.

[0021] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0022] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0023] In the description of the embodiments of this application, "module" and "processor" can include hardware, software, or a combination of both. A module can include hardware circuitry, various suitable sensors, communication ports, and memory, and may also include software components, such as program code, or a combination of software and hardware. A processor can be a central processing unit, a microprocessor, a digital signal processor, or any other suitable processor. The processor has data and / or signal processing capabilities. The processor can be implemented in software, in hardware, or a combination of both. Non-transitory computer-readable storage media includes any suitable medium capable of storing program code, such as magnetic disks, hard disks, optical disks, flash memory, read-only memory, random access memory, etc.

[0024] This application provides a refrigerator control method, control device, electronic device, and storage medium to solve the problem that existing refrigerators can only passively rely on the user's personal experience to use food before it spoils, and cannot actively manage the food usage time. The following description is in conjunction with the accompanying drawings.

[0025] The refrigerator control method provided in this application embodiment is described in detail below. Figure 1 The method includes the following steps: S101: Obtain the remaining shelf life and current storage area of ​​the food in the refrigerator.

[0026] It should be understood that refrigerator compartments typically include refrigerator compartments, freezer compartments, and variable temperature compartments. Among them, the refrigerator compartment may include multiple different areas such as fruit and vegetable section, cold drink section, and regular freshness section, and the freezer compartment may include multiple different areas such as regular freezing section (-20℃), deep freezing section (-40℃), etc. The specific temperature and humidity of each area may be different. Obtaining the current storage area of ​​food in the refrigerator means obtaining the specific storage location of the food, such as the fruit and vegetable section of the refrigerator compartment.

[0027] The remaining shelf life is how much longer the food will last before it spoils.

[0028] S102: Based on the remaining shelf life and / or the current storage area, determine whether to generate a storage area migration task or a priority consumption task.

[0029] The storage area migration task refers to the process of moving the current food from its current storage area to another storage area in a planned manner. Its fundamental purpose is to extend the shelf life of the current food.

[0030] Prioritize consumption tasks refer to suggestions generated by the system to prioritize the current food compared to other foods, in order to remind users to use the food before it spoils and avoid waste.

[0031] S103: If so, push the storage area migration task or priority consumption task to the user.

[0032] This document does not further limit the method of pushing storage area relocation tasks or priority consumption tasks to users. For example, it can be done through the refrigerator door display, user terminal application, and / or voice prompts. Furthermore, when pushing storage area relocation tasks or priority consumption tasks, the execution time of the task can be limited, such as performing the corresponding operation within a suggested time window. For example, it can be suggested that users perform priority consumption tasks within two days. Upon user confirmation of relocation, priority consumption, or disposal, corresponding task execution feedback information is collected so that the system can update the status record of the current food items.

[0033] The refrigerator control method provided in this application embodiment can determine whether to generate a storage area migration task or a priority consumption task based on the remaining shelf life of the food and / or the current storage area, and push the task to the user to remind the user to change the storage area of ​​the food in time to extend the storage time of the food, or to remind the user to use the food as soon as possible to avoid the food from spoiling and being damaged before use, resulting in food waste, or causing safety hazards to the refrigerator's storage environment.

[0034] Optionally, the triggering condition of S101 can be event triggering and / or fixed time triggering. Event triggering can be a door opening event, a partial removal of ingredients event, a new ingredient event, etc., and fixed time triggering can be triggered every hour, every half hour, or every hour during the day, or every 6 hours at night, etc.

[0035] Optionally, please refer to Figure 3 To obtain the remaining shelf life of food in the refrigerator, the following steps are taken: obtaining basic information about the food, including one or more of the following: category, production date, shelf life, opening date, and packaging form; and determining the remaining shelf life based on a preset food management model, the current storage area, and the basic information.

[0036] It should be understood that shelf life refers to the pre-packaged period of an unopened product under the indicated storage conditions, which is a fixed value. Remaining shelf life refers to the remaining time that the food is actually safe to eat under the current storage conditions (such as opened or repackaged) and storage area (such as refrigerator or freezer), which is a dynamic value (affected by the current storage area and storage conditions).

[0037] The methods for obtaining basic information about ingredients may include, but are not limited to, manual input by users (via an app / interface), image recognition (taking photos to identify the type of ingredients, with users adding key dates), barcode scanning (scanning product barcodes to link to a database to obtain category, production date, and shelf life), and RFID / NFC tags (smart food storage containers automatically record the opening date).

[0038] The pre-defined food management model includes a series of rules and a knowledge base to adjust for remaining shelf life.

[0039] For example, rules can include the impact of storage area on remaining shelf life. For instance, a freezer (-18°C) significantly extends remaining shelf life; a refrigerator (4°C) is the standard refrigeration storage temperature calculated according to default preservation rules; and a fruit and vegetable storage box (high humidity) can extend the remaining shelf life of fruits and vegetables, but may shorten it for other categories. Rules can also include the impact of packaging and opening status on remaining shelf life. For example, unopened remaining shelf life = production date + shelf life - current date; if the product has a clearly stated "suggested consumption period after opening" (e.g., "consume within 3 days after opening"), then the remaining shelf life = opening date + shelf life after opening - current date is preferred. If not, general rules are applied based on the food category: for example, cooked food and leftovers have a remaining shelf life of 1-3 days; dairy products and juices have a remaining shelf life of 3-7 days; meat (refrigerated) has a remaining shelf life of 1-2 days; and condiments have a remaining shelf life of several weeks to several months. The knowledge base can include default preservation characteristics for different categories of food, such as, but not limited to, leafy vegetables: perishable, short shelf life under refrigeration; root vegetables: relatively durable; eggs: refrigerated for about 3-5 weeks; sauces: high in salt and sugar, can still be stored for a relatively long time after opening.

[0040] For example, the basic information of the ingredients includes category: dairy products / fresh, production date: October 20, 2023, shelf life: 15 days (printed on the packaging), opening date: October 25, 2023, and packaging form: gable-top box (requires refrigeration, easily spoiled after opening). The preset ingredient management model uses the shelf life after opening for the "dairy products / fresh milk" category, no longer based on "production date + shelf life", but on the shorter "opening date + recommended consumption period after opening". The knowledge base shows that gable-top box fresh milk should be stored in the refrigerator's crisper drawer (4...). The recommended shelf life for milk (at 4°C) is 3-5 days. Considering its current storage location is the refrigerator compartment (4°C), the logical calculation process is as follows: Based on the current date, let's assume it's October 27, 2023. Since it has been opened, we use the rule of "opening date + recommended shelf life after opening". The opening date is October 25, and the model gives a maximum safe shelf life of 5 days. Therefore, the theoretical last safe shelf life is October 29. From the current date (October 27) to the last safe shelf life (October 29), there are 2 days left. Therefore, the remaining shelf life of this bottle of milk is approximately 2 days.

[0041] Alternatively, the pre-defined food management model may include food category nodes, microbial risk nodes, recommended storage temperature / humidity nodes, nominal shelf life nodes, and correction factor nodes used to characterize the impact of different storage conditions on shelf life. These nodes are linked through edge relationships to represent knowledge such as "the basic shelf life of a certain food category in a certain temperature range", "the reduction ratio of shelf life due to the opened state", and "the increase in risk level due to repeated thawing".

[0042] For example, the remaining time parameter T0 of the target food under nominal conditions can be calculated first, such as the theoretical remaining time calculated based on the production date and nominal shelf life. Then, based on factors such as actual storage temperature, temperature fluctuation, opening status, thawing and refreezing, multiple correction factors can be calculated, such as temperature correction factor α_T, fluctuation correction factor α_ΔT, opening correction factor α_open, etc. The above correction factors are combined to obtain the comprehensive correction coefficient α. The overall remaining shelf life RSL can be expressed as: RSL = T0 × α; Here, α can be α = f(α_T, α_ΔT, α_open, …), which can be a weighted combination based on empirical rules or a nonlinear model trained by machine learning. In another implementation, multiple features of the food (including time attributes, historical statistics of environmental exposure, food category and risk level, user preferences, etc.) can be directly input into a preset food management model, and then output the remaining shelf life of the target food.

[0043] This involves combining static basic information about ingredients with dynamic information about the current storage area and the chemical properties of the ingredients through a pre-defined food management model. By logically calculating a more realistic and actionable "remaining shelf life", food waste can be effectively reduced.

[0044] Optionally, the method further includes acquiring environmental data for each storage area of ​​the refrigerator, determining the remaining shelf life based on a preset food management model, the current storage area, and basic information, and further includes: determining the remaining shelf life based on a preset food management model, the current storage area, basic information, and environmental data.

[0045] The environmental data can include temperature, humidity, load, etc. for each storage area. Specifically, data such as temperature, humidity, and load can be cached within a certain time window to improve data accuracy, such as average temperature, maximum temperature, minimum temperature, fluctuation range, door opening frequency, etc. Then, an environmental feature vector for each storage area is constructed based on the statistical data of each storage area. Based on the environmental feature vector of each storage area, the preset food management model, the current storage area, and basic information, the remaining shelf life is determined.

[0046] It should be understood that the temperature inside the refrigerator fluctuates due to factors such as door opening, ambient temperature, and load. The actual storage data for each storage area may differ from the ideal data and may contain errors. For example, if the ideal temperature of the refrigerator compartment is 4°C, and the door is opened more than 6 times in an hour, the actual temperature of the refrigerator compartment may exceed 4°C, such as 6°C or 9°C. By taking into account the fluctuations in the environmental data of the storage area corresponding to the food, the calculated remaining shelf life is more accurate.

[0047] Optionally, please refer to Figure 2 Based on the remaining shelf life and / or the current storage area, determine whether to generate a storage area migration task or a priority consumption task, including: if the remaining shelf life is less than a first preset duration, determine whether the current storage area is the optimal storage area; if yes, generate a priority consumption task; if not, generate a storage area migration task or a priority consumption task based on the optimal storage area.

[0048] Once the remaining shelf life of the food is determined, if it is less than a first preset time, it indicates that the food is about to expire or spoil, such as 12 hours, 24 hours, or 8 hours before expiration. In this case, it can first determine whether the current storage area of ​​the food is already the optimal storage area. For example, if the food is meat, its corresponding optimal storage area is the freezer. If its current storage area is the refrigerator, it means that its current storage area is not the optimal storage area. At this time, the refrigerator can directly generate a storage area migration task or a priority consumption task, that is, it can suggest that the user move the food to the freezer or prioritize its consumption. If its current storage area is the freezer, that is, there is no better storage environment, then meaningless migration suggestions are avoided, and a priority consumption task is directly generated to give an adaptive optimal suggestion.

[0049] The above solution provides dual protection based on the remaining shelf life. It not only reminds users to consume the food first, but also checks whether the food is "placed in the right place" (storage optimization). It makes a final effort to salvage the food before it expires. If the food is already in the best location, it avoids meaningless relocation suggestions and focuses directly on consumption reminders. If the food is misplaced, it can be moved to a better area, potentially extending the remaining 2 days to 2.5 or 3 days, giving you more time to prepare for consumption and reducing waste.

[0050] Optionally, please refer to Figure 2 Based on the remaining shelf life and / or the current storage area, determine whether to generate a storage area migration task or a priority consumption task. This also includes: determining whether the current storage area is the optimal storage area; if not, generating a storage area migration task based on the optimal storage area.

[0051] In other words, it can also directly determine whether to generate a storage area migration task based on the current storage area, that is, by verifying whether the storage area of ​​the food is reasonable, so as to ensure that the food gets the longest possible freshness.

[0052] For example, if an opened bottle of yogurt is obtained and its current storage area is the refrigerator door shelf (where temperature fluctuations are large), based on the preset food management model, it is known that the optimal storage area for the opened yogurt is the refrigerator compartment. In order to extend the storage time of the yogurt, a storage area migration task for the opened yogurt can be generated, that is, prompting the user to move the opened yogurt to the refrigerator compartment.

[0053] Optionally, determining whether the current storage area is the optimal storage area includes: obtaining basic information about the ingredients, including one or more of the following: category, production date, shelf life, opening date, and packaging form; determining the storage characteristics of the ingredients based on the basic information and a preset ingredient management model; determining the optimal storage area based on the storage characteristics; and comparing the optimal storage area with the current storage area.

[0054] Among them, storage characteristic information refers to the key parameters and labels derived by the system based on the basic information of the ingredients and the preset ingredient management model, which are used to guide the storage decision. These parameters include recommended storage temperature range, recommended storage humidity range, odor characteristics (whether there is a pungent odor), placement requirements (e.g., eggs should be placed vertically, cakes should be placed horizontally), and recommended packaging form (e.g., original box storage, airtight container storage, food storage bag sealing).

[0055] For example, if the food ingredient is a berry, according to the preset food management model, its storage characteristics include extremely high perishability, high respiration rate, high ethylene sensitivity, suitable temperature close to freezing point but without freezing damage, suitable humidity high humidity (90% to 95%), need for a certain degree of breathability but cannot be sealed, need to be protected from light, and cannot bear weight. Therefore, based on the above storage characteristics, the temperature requirement for this fruit excludes the refrigerator door shelves (4-7°C, large fluctuations) and the upper front shelf of the refrigerator compartment (approximately 3-4°C). The humidity requirement (90-95%) points to the refrigerator's specially designed high-humidity crisper drawer (usually equipped with a humidity control valve). The air permeability requirement means that strawberries should not be sealed in a completely airtight crisper box or plastic bag; placing them directly in their original perforated box or in an open container lined with kitchen paper is best. The light and pressure protection requirements mean that strong light should be avoided inside the drawer, and heavy objects should not be placed on top. In summary, the optimal storage area is determined to be the upper shelf of the high-humidity crisper drawer in the refrigerator compartment (to avoid damage), with the original packaging open or placed in a perforated container. If the fruit's current storage area is the upper shelf of the refrigerator compartment and it is placed in a completely sealed crisper box, then the comparison result indicates that the fruit's current storage area is not the optimal storage area.

[0056] By analyzing the basic information of ingredients through a pre-set ingredient management model, the storage characteristics of ingredients are obtained, and simple raw data is transformed into a specific and executable storage guidance plan to achieve intelligent determination of the optimal storage area.

[0057] Furthermore, determining the optimal storage region based on storage characteristic information can also include: determining the optimal storage region based on storage characteristic information and environmental data for each storage region. Specific parameter examples for the environmental data of each storage region have been explained above and will not be repeated here.

[0058] By simultaneously considering storage characteristics and actual environmental data for each storage area, the final optimal storage area is more closely matched with the food, resulting in a longer shelf life for the food.

[0059] Furthermore, based on storage characteristic information and environmental data of each storage area, the compatibility between each storage area and the food can be calculated. The food can be sorted according to its compatibility and corresponding placement suggestions can be generated, giving users more choices. For example, for opened berries, the corresponding placement suggestions are: the optimal storage area is the upper layer of the refrigerator's fruit and vegetable drawer, followed by the lower layer of the refrigerator's fruit and vegetable drawer, and finally the general storage area of ​​the refrigerator.

[0060] Optionally, placement suggestions can be generated differently based on different strategy modes. For example, in the "preservation priority" mode, a higher weight can be given to the matching degree of temperature and humidity; in the "energy saving priority" mode, a higher score can be given to the zones that reduce the impact of door opening and reduce temperature fluctuations; in the "accessibility priority" mode, the score of the zones in the front position or near the door can be appropriately increased. After determining the target zone or candidate zone list, the human-computer interaction and feedback module can highlight the indicated location of the target zone on the door display screen, or light up the corresponding drawer / divider through indicator lights, and display placement suggestions to the user in the form of text or icons; at the same time, the system can record the actual storage zone finally selected by the user and provide it as feedback information to the partition environment modeling and storage optimization module, so as to adaptively adjust the weight parameters of the adaptability scoring model in subsequent operation.

[0061] Optionally, after generating the storage area migration task based on the optimal storage area, the task further includes: if the food is detected to be migrated to the optimal storage area within a second preset time period, then the current storage area of ​​the food is updated; if the food is not detected to be migrated to the optimal storage area within a second preset time period, then the optimal storage area of ​​the food is updated based on the current storage area.

[0062] After generating a storage area migration task, feedback results are collected within a second preset time period. If the user performs the corresponding task within the second preset time period, the current storage area of ​​the food is updated for subsequent management. If the user does not perform the corresponding task within the second preset time period, the optimal storage area for the food is reset based on the user's preferences. This is a people-oriented approach that prioritizes user preferences and respects user autonomy, preventing the refrigerator from becoming a stubborn perfectionist product. Furthermore, when the refrigerator stores the same food again, it can provide corresponding suggestions based on previous user storage data, making the device increasingly intelligent and providing suggestions that better meet user needs, thereby improving user satisfaction.

[0063] Optionally, it also includes: obtaining the storage time of the food; if the storage time is longer than a third preset time, generating a priority consumption task. The third preset time can be different for different foods. When the storage time is longer than the third preset time, it indicates that the food has been stored in the refrigerator for a relatively long time, but has not yet exceeded its remaining shelf life. That is, the current state of the food is that it has not spoiled but is about to exceed its best consumption period.

[0064] By recording the storage time of food, the refrigerator reminds users to consume the food before it exceeds its optimal consumption period, ensuring a better eating experience for users. This achieves intelligent and proactive management of food by the refrigerator, avoiding the limitations of only having a passive preservation function.

[0065] For example, the third preset time for strawberries is 3 days, the third preset time for yogurt is 5 days, and the third preset time for meat is 20 days, etc.

[0066] Optionally, the method further includes: generating a lifecycle status record for the food based on its remaining shelf life and current storage area. The lifecycle status record may include basic information about the food, its remaining shelf life, current storage area, and its usage status, which may include states such as "in stock," "partially used," "consumed," and "discarded." By updating the lifecycle status record of the food, the management status can be updated more accurately when the food's status changes, enabling management of the complete storage cycle of each food item and avoiding missed or incorrect management.

[0067] Through the above embodiments, it is possible to continuously record the entire process information of a single food item from its entry into the refrigerator to its consumption / disposal, and output dynamic remaining shelf life assessment results based on actual environmental exposure conditions, so as to optimize partitioned storage and provide priority consumption reminders, thereby realizing proactive management of the usage period and storage location of food items stored in the refrigerator and improving the level of automation.

[0068] This application also provides a refrigerator control device; please refer to [link / reference]. Figure 4 The device includes a food information acquisition module 201, an analysis module 202, and a push module 203. The food information acquisition module 201 is configured to acquire the remaining shelf life and current storage area of ​​the food in the refrigerator; the analysis module 202 is configured to determine whether to generate a storage area migration task or a priority consumption task based on the remaining shelf life and / or the current storage area; the push module 203 is configured to push the storage area migration task or priority consumption task to the user if the latter is true.

[0069] This application also provides an electronic device 300, please refer to... Figure 5 The system includes a memory 301, a processor 302, and a computer program 3011 stored in the memory 301 and executable on the processor 302. When the processor 302 executes the computer program 3011, it implements the refrigerator control method described above. The method includes the following steps: S101: Obtain the remaining shelf life and current storage area of ​​the food in the refrigerator. S102: Based on the remaining shelf life and / or the current storage area, determine whether to generate a storage area migration task or a priority consumption task. S103: If so, push the storage area migration task or priority consumption task to the user.

[0070] This application embodiment also provides a storage medium storing control instructions. When the control instructions are executed by a processor, they implement the refrigerator control method described above. The method includes the following steps: S101: Obtain the remaining shelf life of the food in the refrigerator and the current storage area. S102: Based on the remaining shelf life and / or the current storage area, determine whether to generate a storage area migration task or a priority consumption task. S103: If so, push the storage area migration task or priority consumption task to the user.

[0071] For example, a computer program can be divided into one or more modules / units, which are stored in memory and executed by a processor to perform the present invention. The one or more modules / units can be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program in an electronic device.

[0072] Electronic devices can be desktop computers, laptops, handheld computers, and cloud servers, among other electronic devices. Electronic devices may include, but are not limited to, processors and memory. For example, electronic devices may also include input / output devices, network access devices, buses, etc.

[0073] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.

[0074] In the embodiments provided by this invention, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. Multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0075] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs. Furthermore, the functional units in the various embodiments of this invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated units described above can be implemented in hardware or as software functional units.

[0076] If integrated modules / units are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program may include computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. Computer-readable media may include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc.

[0077] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0078] In the description of this application, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more features.

[0079] The control method, control device, electronic device, and storage medium for the refrigerator provided in the embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A method for controlling a refrigerator, characterized in that, The method includes: Get the remaining shelf life and current storage location of the food in the refrigerator; Based on the remaining shelf life and / or the current storage area, determine whether to generate a storage area migration task or a priority consumption task; If so, the storage area migration task or the priority consumption task will be pushed to the user.

2. The refrigerator control method according to claim 1, characterized in that, The process of obtaining the remaining shelf life of food in the refrigerator includes: Obtain basic information about the ingredients, including one or more of the following: category, production date, shelf life, opening date, and packaging format; Based on the preset food management model, the current storage area, and the basic information, the remaining shelf life is determined.

3. The refrigerator control method according to claim 1, characterized in that, The step of determining whether to generate a storage area migration task or a priority consumption task based on the remaining shelf life and / or the current storage area includes: If the remaining shelf life is less than the first preset time, then determine whether the current storage area is the optimal storage area; If so, then generate the priority consumption task; If not, then generate the storage area migration task or the priority consumption task based on the optimal storage area.

4. The refrigerator control method according to claim 1, characterized in that, The step of determining whether to generate a storage area migration task or a priority consumption task based on the remaining shelf life and / or the current storage area further includes: Determine whether the current storage area is the optimal storage area; If not, then generate the storage area migration task based on the optimal storage area.

5. The refrigerator control method according to claim 3 or 4, characterized in that, The step of determining whether the current storage region is the optimal storage region includes: Obtain basic information about the ingredients, including one or more of the following: category, production date, shelf life, opening date, and packaging format; Based on the aforementioned basic information and the preset food ingredient management model, the storage characteristics of the food ingredients are determined. Based on the storage characteristic information, the optimal storage region is determined; Compare the optimal storage region with the current storage region.

6. The refrigerator control method according to claim 3 or 4, characterized in that, After generating the storage region migration task based on the optimal storage region, the process further includes: If the food ingredient is detected to have been moved to the optimal storage area within the second preset time period, then the current storage area of ​​the food ingredient is updated. If the food ingredient is not detected to have been moved to the optimal storage area within the second preset time period, the optimal storage area of ​​the food ingredient is updated based on the current storage area.

7. The refrigerator control method according to claim 1, characterized in that, Also includes: Obtain the storage time of the food ingredients; If the storage duration is greater than the third preset duration, then the priority consumption task is generated.

8. A control device for a refrigerator, characterized in that, The device includes: The food information acquisition module is configured to acquire the remaining shelf life and current storage area of ​​the food in the refrigerator; The analysis module is configured to determine whether to generate a storage area migration task or a priority consumption task based on the remaining shelf life and / or the current storage area. If the push module is configured to do so, it will push the storage area migration task or the priority consumption task to the user.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the refrigerator control method as described in any one of claims 1-7.

10. A storage medium, characterized in that, The storage medium stores control instructions, which, when executed by a processor, implement the refrigerator control method as described in any one of claims 1-7.