Refrigerator control method, device, refrigerator and storage medium
Through the intelligent refrigerator control method, image recognition technology is used to evaluate the user's health level and drug inventory, provide early warning reminders, solve the problems of dietary adjustment and drug supplementation for the "three high" population, and improve the effect of disease control and health recovery.
Patent Information
- Application Number
- CN202211309853.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-25
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2042-10-25
AI Technical Summary
People suffering from the "three highs" (hypertension, hyperglycemia, and hyperlipidemia) find it difficult to adjust their diet, and they tend to forget to replenish the medicines stored in the refrigerator after use, resulting in medication interruption and affecting disease control and health recovery.
Design a smart refrigerator control method that uses image recognition technology to obtain food and drug intake and inventory information, evaluate the user's health level and drug inventory, provide early warning reminders, and help users adjust their eating habits and replenish medications in a timely manner.
Effectively remind users to eat healthily and replenish medicines in time, help people with "three highs" to control their illness and restore health, and enhance the refrigerator use experience and health protection.
Smart Images

Figure CN115682525B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of refrigerators, and in particular relates to a refrigerator control method, a refrigerator device, a refrigerator and a storage medium. Background Art
[0002] In modern life, more and more users suffer from some diseases due to unreasonable diet. For example, more and more people suffer from "three highs" (i.e. high blood pressure, high blood sugar, and high blood lipids), which is often caused by unreasonable diet. After suffering from "three highs", these people often do not know how to adjust their diet. In addition, people with "three highs" generally need to take corresponding medicines for a long time for treatment. Although the corresponding medicines are refrigerated in the refrigerator, when some medicines are about to be used up or after use, they often forget to buy and replenish them in time, resulting in the inability to use the medicines immediately when they are needed, which will further aggravate the condition. These factors are not conducive to the control of the disease and health recovery of people with "three highs".
[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The object of the present invention is to provide a refrigerator control method, device, refrigerator and storage medium to solve the problem that people suffering from "three highs" are not clear about how to adjust their dietary structure, and if people suffering from "three highs" do not purchase and replenish the corresponding medicines refrigerated and stored in the refrigerator in time, it will lead to interruption of medication and aggravation of the disease. These factors are not conducive to the disease control and health recovery of people suffering from "three highs". The refrigerator can intelligently remind users to eat healthy and replenish therapeutic drugs in time according to the user's dietary habits and medication frequency, which is conducive to the disease control and health recovery of people suffering from "three highs".
[0005] The present invention provides a control method for a refrigerator, wherein the refrigerator has a cold storage chamber; the cold storage chamber has a food storage space and a medicine storage space; the refrigerator can be operated in a preset health mode; in the health mode, the refrigerator can refrigerate the food storage space and the medicine storage space, and can also warn the user's current health level and the current medicine inventory level of the remaining medicines stored in the medicine storage space; the control method of the refrigerator comprises: after the health mode is turned on, obtaining a food image of the food storage space and obtaining a medicine image of the medicine storage space; according to the food image of the food storage space, determining the average calorie intake ratio of the food stored in the food storage space by the user of the refrigerator in the previous n first set time periods, and determining the single calorie intake ratio of the food stored in the food storage space by the user of the refrigerator in the previous n first set time periods; further, according to the average calorie intake ratio, the single calorie intake ratio, and the preset initial health level, determining the user's own health level the current health level of the body; according to the medicine image of the medicine storage space, determining the average used medicine stock of the medicines stored in the medicine storage space by the user of the refrigerator in the previous n first set time periods, and determining the remaining medicine stock ratio of the medicine storage space in the previous second set time period or when medicines are stored in or taken out of the medicine storage space; further, determining the current medicine stock level of the medicines stored in the medicine storage space according to the average used medicine stock, the remaining medicine stock ratio, the current health level of the user's own body, and at least one of the preset initial medicine stock levels; determining the current warning level for warning the current health level of the user's own body and the current medicine stock level of the medicines stored in the medicine storage space according to at least one of the current health level of the user's own body and the current medicine stock level of the medicines stored in the medicine storage space; and warning the current health level of the user's own body and the current medicine stock level of the medicines stored in the medicine storage space according to the current warning level.
[0006] In some embodiments, based on the food image of the food storage space, determining the average calorie intake ratio of the food stored in the food storage space by the user of the refrigerator in the previous n first set time periods, and determining the single calorie intake ratio of the food stored in the food storage space by the user of the refrigerator in the previous nth first set time period, including: classifying the food stored in the food storage space into first calorie food and second calorie food according to the food image of the food storage space; the calorie of the first calorie food is higher than the calorie of the second calorie food; every first set time period, determining the first calorie food and the second calorie food taken out from the food stored in the food storage space by the user of the refrigerator the total amount of food, and determine the ratio of the first calorie food to the total amount of food, as the calorie intake ratio of the user for the food stored in the food storage space in a single first setting period, recorded as a single calorie intake ratio, thereby obtaining the single calorie intake ratio of the food stored in the food storage space in the previous n first setting period; for every n first setting period, determine the average of the n single calorie intake ratios, as the average of the calorie intake ratios of the user for the food stored in the food storage space in the n first setting period, recorded as the average calorie intake ratio, to obtain the average calorie intake ratio of the food stored in the food storage space in the previous n first setting period.
[0007] In some embodiments, the current health level of the user's own body is determined based on the average calorie intake ratio, the single calorie intake ratio, and the preset initial health level, including: if the single calorie intake ratio is less than a first set value, and the average calorie intake ratio is less than a second set value, then the preset initial health level is increased by the set health level as the current health level of the user's own body; wherein, in this case, the maximum value of the current health level of the user's own body is limited to the preset maximum health level; if the single calorie intake ratio is greater than or equal to the first set value, and less than the second set value, and the average calorie intake ratio is less than the second set value, then the preset initial health level is reduced by the set health level as the current health level of the user's own body; wherein, in this case , the minimum value of the current health level of the user's own body is limited to the preset second-highest health level; if the single calorie intake ratio is greater than or equal to the second set value and less than the third set value, and the average calorie intake ratio is greater than the second set value, the preset initial health level is reduced by the set health level as the current health level of the user's own body; wherein, in this case, the minimum value of the current health level of the user's own body is limited to the preset second-lowest health level; if the single calorie intake ratio is greater than the third set value, and the average calorie intake ratio is greater than the second set value, the preset initial health level is reduced by the set health level as the current health level of the user's own body; wherein, in this case, the minimum value of the current health level of the user's own body is limited to the preset lowest health level.
[0008] In some embodiments, based on the drug image of the drug storage space, the average drug inventory of the drugs stored in the drug storage space used by the user of the refrigerator within the previous n first set time periods is determined, and the remaining drug inventory ratio of the drug storage space in the previous second set time period or when drugs are stored in or taken out of the drug storage space is determined, including: based on the drug image of the drug storage space, determining the drug inventory of the drugs stored in the drug storage space; every first set time period, determining the drug inventory taken out from the stored drugs in the drug storage space by the user, recorded as a single used drug inventory; every n first set time periods, time period, determining the average value of the n single drug inventories, as the average value of the drug inventories used by the users in the drug storage space during the n first set time periods, recorded as the average drug inventory used; every second set time period, or when drugs are stored in or taken out of the drug storage space, determining the ratio of the current drug inventory of the drugs stored in the drug storage space to the total drug inventory that can be stored in the drug storage space, as the ratio of the drug inventory of the remaining drugs stored in the drug storage space to the total drug inventory, recorded as the remaining drug inventory ratio; the second set time period is smaller than the first set time period.
[0009] In some embodiments, the current drug stock level of the drugs stored in the drug storage space is determined based on at least one of the average used drug stock, the remaining drug stock ratio, the current health level of the user's own body, and a preset initial drug stock level, including: if the remaining drug stock ratio is equal to a second set value, then the current drug stock level of the drugs stored in the drug storage space is determined to be the preset minimum drug stock level; if the remaining drug stock ratio is greater than the second set value and less than the third set value, and the current health level of the user's own body is less than the preset second highest health level, then the current drug stock level of the drugs stored in the drug storage space is determined to be the preset minimum drug stock level. and the average used drug inventory is less than the set inventory, the preset initial drug inventory level is reduced by the set drug inventory level as the current drug inventory level of the drugs stored in the drug storage space; wherein, in this case, the minimum value of the current drug inventory level of the drugs stored in the drug storage space is limited to the preset second lowest drug inventory level; if the remaining drug inventory ratio is greater than the second set value and less than the third set value, the current health level of the user's own body is less than the preset second highest health level, and the average used drug inventory is less than or equal to the set inventory, the preset initial drug inventory level is reduced by the set The drug inventory level is used as the current drug inventory level of the drugs stored in the drug storage space; wherein, in this case, the minimum value of the current drug inventory level of the drugs stored in the drug storage space is limited to the preset second-highest drug inventory level; if the remaining drug inventory ratio is greater than 0 and less than a second set value, the current health level of the user's own body is less than the preset second-highest health level, and the average drug inventory used is less than the set inventory, then the preset initial drug inventory level is increased by the set drug inventory level as the current drug inventory level of the drugs stored in the drug storage space; wherein, in this case, the The maximum value of the current drug stock level of the drugs stored in the drug storage space is limited to the preset second highest drug stock level; if the remaining drug stock ratio is greater than 0 and less than a second set value, the current health level of the user's own body is less than the preset second highest health level, and the average used drug stock is greater than or equal to the set stock, then the preset initial drug stock level is increased by the set drug stock level as the current drug stock level of the drugs stored in the drug storage space; wherein, in this case, the maximum value of the current drug stock level of the drugs stored in the drug storage space is limited to the preset highest drug stock level.
[0010] In some embodiments, based on at least one of the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space, a current warning level for warning the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space is determined, including: if the current health level of the user's own body is a preset sub-high health level, or the current drug stock level of the drugs stored in the drug storage space is a preset sub-low drug stock level, then determining to report the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space every first set time period; if the current health level of the user's own body is a preset sub-high health level, or the current drug stock level of the drugs stored in the drug storage space is a preset sub-low drug stock level If the current health level of the user's own body is the preset second-lowest health level, or the current drug stock level of the drugs stored in the drug storage space is the preset second-highest drug stock level, it is determined to report the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space every third set time period; the third set time period is less than the first set time period and greater than the second set time period; if the current health level of the user's own body is the preset lowest health level, or the current drug stock level of the drugs stored in the drug storage space is the preset highest drug stock level, it is determined to report the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space every second set time period.
[0011] Matching the above method, the present invention provides a refrigerator control device on the other hand, wherein the refrigerator has a refrigerator compartment; the refrigerator compartment has a food storage space and a medicine storage space; the refrigerator can operate in a preset health mode; in the health mode, the refrigerator can refrigerate the food storage space and the medicine storage space, and can also warn the current health level of the user's own body and the current medicine inventory level of the remaining medicines stored in the medicine storage space; the refrigerator control device includes: an acquisition unit, configured to acquire food images of the food storage space and acquire medicine images of the medicine storage space after the health mode is turned on; a control unit, configured to determine the average calorie intake ratio of the user of the refrigerator to the food stored in the food storage space in the previous n first set time periods according to the food images of the food storage space, and determine the single calorie intake ratio of the user of the refrigerator to the food stored in the food storage space in the previous n first set time periods; further, according to the average calorie intake ratio, the single calorie intake ratio, and the preset initial health level, determine the user's own body The control unit is further configured to determine, based on the drug image of the drug storage space, the average drug inventory used by the user of the refrigerator for the drugs stored in the drug storage space within the previous n first set time periods, and determine the remaining drug inventory ratio of the drug storage space within the previous second set time period or when drugs are stored in or taken out of the drug storage space; further, determine the current drug inventory level of the drugs stored in the drug storage space based on the average drug inventory used, the remaining drug inventory ratio, the current health level of the user's own body, and at least one of the preset initial drug inventory levels; the control unit is further configured to determine the current warning level for warning the current health level of the user's own body and the current drug inventory level of the drugs stored in the drug storage space based on at least one of the current health level of the user's own body and the current drug inventory level of the drugs stored in the drug storage space; the control unit is further configured to warn the current health level of the user's own body and the current drug inventory level of the drugs stored in the drug storage space based on the current warning level.
[0012] In some embodiments, the control unit determines, based on the food image of the food storage space, an average calorie intake ratio of the food stored in the food storage space by the user of the refrigerator in the previous n first set time periods, and determines a single calorie intake ratio of the food stored in the food storage space by the user of the refrigerator in the previous n first set time periods, including: classifying the food stored in the food storage space into first calorie food and second calorie food according to the food image of the food storage space; the calorie of the first calorie food is higher than the calorie of the second calorie food; and determining, every first set time period, the first calorie food and the second calorie food taken out from the food stored in the food storage space by the user of the refrigerator. The total amount of caloric food, and determine the ratio of the first caloric food to the total amount of food, as the caloric intake ratio of the user to the food stored in the food storage space in a single first setting time period, recorded as a single caloric intake ratio, thereby obtaining the single caloric intake ratio of the food stored in the food storage space in the previous n first setting time period; every n first setting time periods, determine the average value of n single caloric intake ratios, as the average value of the caloric intake ratio of the user to the food stored in the food storage space in n first setting time periods, recorded as the average caloric intake ratio, to obtain the average caloric intake ratio of the food stored in the food storage space in the previous n first setting time periods.
[0013] In some embodiments, the control unit determines the current health level of the user's own body based on the average calorie intake ratio, the single calorie intake ratio, and the preset initial health level, including: if the single calorie intake ratio is less than a first set value, and the average calorie intake ratio is less than a second set value, then the preset initial health level is increased by the set health level as the current health level of the user's own body; wherein, in this case, the maximum value of the current health level of the user's own body is limited to the preset maximum health level; if the single calorie intake ratio is greater than or equal to the first set value, and less than the second set value, and the average calorie intake ratio is less than the second set value, then the preset initial health level is reduced by the set health level as the current health level of the user's own body; wherein, In this case, the minimum value of the current health level of the user's own body is limited to the preset second-highest health level; if the single calorie intake ratio is greater than or equal to the second set value and less than the third set value, and the average calorie intake ratio is greater than the second set value, the preset initial health level is reduced by the set health level as the current health level of the user's own body; wherein, in this case, the minimum value of the current health level of the user's own body is limited to the preset second-lowest health level; if the single calorie intake ratio is greater than the third set value, and the average calorie intake ratio is greater than the second set value, the preset initial health level is reduced by the set health level as the current health level of the user's own body; wherein, in this case, the minimum value of the current health level of the user's own body is limited to the preset lowest health level.
[0014] In some embodiments, the control unit determines, based on the drug image of the drug storage space, the average usage of the drugs stored in the drug storage space by the user of the refrigerator within the previous n first set time periods, and determines the ratio of the remaining drug stock in the drug storage space during the previous second set time period or when drugs are stored in or taken out of the drug storage space, including: determining the drug stock of the drugs stored in the drug storage space based on the drug image of the drug storage space; determining the drug stock taken out from the stored drugs in the drug storage space by the user every first set time period, recorded as a single usage drug stock; and every n said second set time period. A set time period, determining an average value of the n single drug inventories, as the average value of the drug inventories used by the users in the drug storage space during the n first set time periods, recorded as the average drug inventory used; every second set time period, or when drugs are stored in or taken out of the drug storage space, determining the ratio of the current drug inventory of the drugs stored in the drug storage space to the total drug inventory that can be stored in the drug storage space, as the ratio of the drug inventory of the remaining drugs stored in the drug storage space to the total drug inventory, recorded as the remaining drug inventory ratio; the second set time period is smaller than the first set time period.
[0015] In some embodiments, the control unit determines the current drug stock level of the drugs stored in the drug storage space according to at least one of the average used drug stock, the remaining drug stock ratio, the current health level of the user's own body, and a preset initial drug stock level, including: if the remaining drug stock ratio is equal to a second set value, then determining that the current drug stock level of the drugs stored in the drug storage space is a preset minimum drug stock level; if the remaining drug stock ratio is greater than the second set value and less than the third set value, and the current health level of the user's own body is less than the preset second highest health level; health level, and the average used drug inventory is less than the set inventory, the preset initial drug inventory level is reduced by the set drug inventory level as the current drug inventory level of the drugs stored in the drug storage space; wherein, in this case, the lowest value of the current drug inventory level of the drugs stored in the drug storage space is limited to the preset second lowest drug inventory level; if the remaining drug inventory ratio is greater than the second set value and less than the third set value, the current health level of the user's own body is less than the preset second highest health level, and the average used drug inventory is less than or equal to the set inventory, the preset initial drug inventory level is reduced by the set drug inventory level, and the current drug inventory level of the drugs stored in the drug storage space is used as the current drug inventory level of the drugs stored in the drug storage space; wherein, in this case, the lowest value of the current drug inventory level of the drugs stored in the drug storage space is limited to the preset second lowest drug inventory level; if the remaining drug inventory ratio is greater than the second set value and less than the third set value, the current health level of the user's own body is less than the preset second highest health level, and the average used drug inventory is less than or equal to the set inventory, the preset initial drug inventory level is reduced by the set drug inventory level The drug inventory level is set less as the current drug inventory level of the drugs stored in the drug storage space; wherein, in this case, the minimum value of the current drug inventory level of the drugs stored in the drug storage space is limited to the preset second highest drug inventory level; if the remaining drug inventory ratio is greater than 0 and less than the second set value, the current health level of the user's own body is less than the preset second highest health level, and the average used drug inventory is less than the set inventory, then the preset initial drug inventory level is increased by the set drug inventory level as the current drug inventory level of the drugs stored in the drug storage space; wherein, in this case, The maximum value of the current drug stock level of the drugs stored in the drug storage space is limited to the preset second highest drug stock level; if the remaining drug stock ratio is greater than 0 and less than a second set value, the current health level of the user's own body is less than the preset second highest health level, and the average drug inventory used is greater than or equal to the set inventory, then the preset initial drug inventory level is increased by the set drug inventory level as the current drug inventory level of the drugs stored in the drug storage space; wherein, in this case, the maximum value of the current drug inventory level of the drugs stored in the drug storage space is limited to the preset highest drug inventory level.
[0016] In some embodiments, the control unit determines a current warning level for warning the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space based on at least one of the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space, including: if the current health level of the user's own body is a preset sub-high health level, or the current drug stock level of the drugs stored in the drug storage space is a preset sub-low drug stock level, then determining to report the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space every first set time period; if the current health level of the user's own body is a preset sub-high health level, or the current drug stock level of the drugs stored in the drug storage space is a preset sub-low drug stock level If the current health level of the user's own body is the preset second-lowest health level, or the current drug stock level of the drugs stored in the drug storage space is the preset second-highest drug stock level, it is determined to report the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space every third set time period; the third set time period is less than the first set time period and greater than the second set time period; if the current health level of the user's own body is the preset lowest health level, or the current drug stock level of the drugs stored in the drug storage space is the preset highest drug stock level, it is determined to report the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space every second set time period.
[0017] Matching the above device, the present invention provides a refrigerator on another aspect, including: the control device of the refrigerator described above.
[0018] In accordance with the above method, the present invention provides a storage medium on the other hand, wherein the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the refrigerator control method described above.
[0019] Therefore, the scheme of the present invention determines the user's physical health level according to the ratio of high-calorie foods taken from the refrigerator by the user (specifically the current user) in a short period of time (such as one day) to all foods, and the ratio of high-calorie foods taken from the refrigerator by the user in a long period of time (such as a week, a month, etc.) to all foods; further, determines the drug inventory warning level of the remaining drugs in the refrigerator according to the ratio of the remaining drugs in the refrigerator to the total drug storage space, the user's average drug usage in a short period of time (such as one day), and the user's physical health level, and then initiates a reminder message based on the user's physical health level and the drug inventory warning level of the remaining drugs in the refrigerator to remind the user to purchase replenishment drugs in time. Therefore, by enabling the refrigerator to intelligently remind the user to eat healthily and replenish therapeutic drugs in time according to the user's eating habits and frequency of medication, it is beneficial to the disease control and health recovery of people suffering from "three highs".
[0020] Other features and advantages of the present invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the present invention.
[0021] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 A schematic flow chart of an embodiment of a refrigerator control method of the present invention;
[0023] Figure 2 It is a flow chart of an embodiment of determining an average calorie intake ratio and a single calorie intake ratio according to a food image in the method of the present invention;
[0024] Figure 3 A flow chart of an embodiment of determining the ratio of the average used drug inventory to the remaining drug inventory according to drug images in the method of the present invention;
[0025] Figure 4 It is a structural schematic diagram of an embodiment of a refrigerator control device of the present invention;
[0026] Figure 5 The present invention is a control flow diagram of an embodiment of a refrigerator control method of the present invention.
[0027] In conjunction with the accompanying drawings, the reference numerals in the embodiments of the present invention are as follows:
[0028] 102 - acquisition unit; 104 - control unit. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the specific embodiments of the present invention and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0030] Considering that people with "three highs" are not clear about how to adjust their diet structure, and if people with "three highs" do not purchase and replenish the corresponding medicines stored in the refrigerator in time, it will lead to interruption of medication and aggravation of the condition. These factors are not conducive to the control of the condition and health recovery of people with "three highs". Therefore, how to make the refrigerator intelligently remind users to eat healthy and replenish therapeutic drugs in time according to the user's eating habits and medication frequency has become a technical problem that needs to be solved urgently. Therefore, the scheme of the present invention provides a control method for a refrigerator, so that the refrigerator can intelligently remind users to eat healthy and replenish therapeutic drugs in time by judging the user's eating habits and medication frequency, so as to facilitate the control of the condition and health recovery of people with "three highs".
[0031] According to an embodiment of the present invention, a method for controlling a refrigerator is provided. Figure 1 The flowchart of an embodiment of the method of the present invention is shown. The refrigerator has a refrigerating chamber; the refrigerating chamber has a food storage space and a medicine storage space; the refrigerator can be operated in a preset health mode; in the health mode, the refrigerator can cool the food storage space and the medicine storage space, and can also warn the current health level of the user's own body and the current medicine inventory level of the remaining medicines stored in the medicine storage space; the control method of the refrigerator includes: steps S110 to S150.
[0032] At step S110 , after the health mode is turned on, a food image of the food storage space is acquired, and a medicine image of the medicine storage space is acquired.
[0033] At step S120, based on the food image of the food storage space, the average calorie intake ratio of the user of the refrigerator to the food stored in the food storage space in the previous n first set time periods is determined, and the individual calorie intake ratio of the user of the refrigerator to the food stored in the food storage space in the previous n first set time periods is determined. Further, based on the average calorie intake ratio, the individual calorie intake ratio, and the preset initial health level, the current health level of the user's own body is determined. n is a positive number, preferably a positive integer.
[0034] In some embodiments, in step S120, based on the food image of the food storage space, the average calorie intake ratio of the user of the refrigerator for the food stored in the food storage space in the previous n first set time periods is determined, and the specific process of determining the individual calorie intake ratio of the food stored in the food storage space in the previous nth first set time period by the user of the refrigerator is described in the following exemplary description.
[0035] Combine the following Figure 2 The flowchart of an embodiment of determining the average calorie intake ratio and the individual calorie intake ratio according to the food image in the method of the present invention is shown, which further illustrates the specific process of determining the average calorie intake ratio and the individual calorie intake ratio according to the food image in step S120, including: steps S210 to S230.
[0036] Step S210, classifying the food stored in the food storage space into first calorie food and second calorie food according to the food image of the food storage space. The calorie of the first calorie food is higher than that of the second calorie food. The first calorie food is a high-calorie food, and the second calorie food is a low-calorie food. Furthermore, based on the first calorie food and the second calorie food stored in the food storage space, determine the average calorie intake ratio of the food stored in the food storage space by the user of the refrigerator in the previous n first set time periods, and determine the single calorie intake ratio of the food stored in the food storage space by the user of the refrigerator in the previous nth first set time period. For details, please refer to the following exemplary description.
[0037] Specifically, Figure 5 FIG. 1 is a control flow diagram of an embodiment of a refrigerator control method of the present invention. Figure 5 As shown, the solution of the present invention provides a refrigerator control method, comprising:
[0038] Step 1: When the user clicks on the healthy mode on the refrigerator control panel, the user's health level L will be preset first. h = Level 3, and the remaining medicines in the refrigerator are warned at level L w = Level 0. The preset level is the best default for the refrigerator program, which is equivalent to the factory default value. Here, when the health mode is just turned on, the user's health level L h = Level 3, and the remaining medicines in the refrigerator are warned at level L w = Level 0, which can be the default initial value set by the refrigerator controller according to the default program. h , which indicates the health level of the current user. The larger the value of the health level of the current user, the better the health of the current user. The remaining medicines in the refrigerator are warned at the level Lw , which represents the drug inventory warning level of the current remaining drugs in the refrigerator. The larger the value of the drug inventory warning level of the current remaining drugs in the refrigerator, the higher the demand for replenishing the drug inventory.
[0039] At the same time, the controller of the refrigerator will start the image recognition camera to identify all the foods stored in the refrigerator, and then define the calories of all the foods in the refrigerator according to the caloric conditions of all the foods in the refrigerator, and classify them into high-calorie foods and low-calorie foods, and then store the caloric classification information of all the foods in the refrigerator (i.e., the classification information of whether each food is a high-calorie food or a low-calorie food) in the data storage device, and then turn off the image recognition camera. Specifically, the image recognition camera will shoot all the foods stored in the refrigerator, and send the pictures of all the foods taken to the background server. Through the background server, through big data analysis and comparison, the specific types of each food in all the foods stored in the refrigerator are obtained, and then the calories of each specific type of food are defined to define whether the calories of each food are high-calorie or low-calorie, and then all the foods stored in the refrigerator are classified into two categories, namely high-calorie foods and low-calorie foods.
[0040] After the controller of the refrigerator has started the image recognition camera and defined and classified all the foods stored in the refrigerator according to the calories, the image recognition camera will be turned off for energy saving. After the image recognition camera is turned off, each time there is a new food in the refrigerator, the controller of the refrigerator will automatically turn on the image recognition camera, compare the new food in the refrigerator with the data in the data storage device, and check whether there is a corresponding definition (such as checking whether the calories of the category of the new food in the refrigerator have been defined as high calories or low calories). If there is, the new food in the refrigerator is directly classified as the corresponding calorie food. If not, the picture of the new food in the refrigerator is sent to the backend server, so that the backend server determines the category of the new food in the refrigerator through big data analysis and comparison, and then obtains the specific definition of whether the new food in the refrigerator is a high-calorie food or a low-calorie food according to the calories of the category of the new food in the refrigerator. After obtaining the specific definition of whether the new food in the refrigerator is a high-calorie food or a low-calorie food, the image recognition camera is turned off.
[0041] Whenever the refrigerator door is opened, the refrigerator controller will automatically turn on the image recognition camera to identify the type and quantity of food taken by the user and record it. When the refrigerator door is closed, the image recognition camera is automatically turned off. For example: If a user takes a bag of vegetables, uses part of it, and puts the rest back into the refrigerator, in this case, the quantity can be determined by subtracting first and then adding. In health mode, steps 2 and 11 are always executed.
[0042] Step S220, every first set period, determining the total amount of the first calorie food and the second calorie food taken out from the food storage space by the user of the refrigerator, and determining the ratio of the first calorie food to the total amount of food, as the calorie intake ratio of the user to the food stored in the food storage space within the first set period (such as the calorie intake ratio of the user on that day R h ), recorded as a single calorie intake ratio, thereby obtaining a single calorie intake ratio of the food stored in the food storage space during the previous n-th first set time period.
[0043] like Figure 5 As shown, the control method of a refrigerator provided by the solution of the present invention also includes: step 2, every short period of time such as 24 hours, the total amount of high-calorie food and the total amount of low-calorie food taken out from the refrigerator by the user in the previous short period of time such as 24 hours are counted, and the reason for the short period of time such as 24 hours is to obtain the average value within a short period of time such as 24 hours. Furthermore, according to the total amount of high-calorie food and the total amount of low-calorie food taken out from the refrigerator by the user in the previous short period of time such as 24 hours, the calorie intake ratio in the previous day is calculated = the total amount of high-calorie food / (the total amount of high-calorie food+the total amount of low-calorie food).
[0044] Step S230, every n first set time periods, determine the average value of the n single calorie intake ratios, as the average value of the calorie intake ratios of the user to the food stored in the food storage space within the n first set time periods (such as the average value of the calorie intake ratios within the previous 10 days R hm ), recorded as the average calorie intake ratio, to obtain the average calorie intake ratio of the food stored in the food storage space during the previous n first set time periods.
[0045] like Figure 5 As shown, the control method of a refrigerator provided by the solution of the present invention further includes: in step 2, based on the calculated calorie intake ratio in the previous day, similarly, the average value R of the calorie intake ratio in the previous 10 days is calculated. hm =(R h1 +...+R h10 ) / 10. h1 is the calorie intake ratio on the first day, R h10 This is the calorie intake ratio on the 10th day.
[0046] In some embodiments, in step S120, the current health level of the user's own body is determined according to the average calorie intake ratio, the single calorie intake ratio, and the preset initial health level, including any of the following health level determination situations:
[0047] The first health level determination scenario: if the single calorie intake ratio is less than the first set value, and the average calorie intake ratio is less than the second set value, the preset initial health level is increased by the set health level as the current health level of the user's own body. In this case, the maximum value of the current health level of the user's own body is limited to the preset maximum health level. For example: the health level is set to level 1, and the preset maximum health level is level 3. The first set value is less than the second set value, such as the first set value is 0.25, and the second set value is 0.5.
[0048] The second health level determination scenario: if the single calorie intake ratio is greater than or equal to the first set value and less than the second set value, and the average calorie intake ratio is less than the second set value, then the preset initial health level is reduced by the set health level as the current health level of the user's own body. In this case, the minimum value of the current health level of the user's own body is limited to the preset second highest health level. For example: the set health level is level 1, and the preset second highest health level is level 2.
[0049] The third health level determination scenario: if the single calorie intake ratio is greater than or equal to the second set value and less than the third set value, and the average calorie intake ratio is greater than the second set value, then the preset initial health level is reduced by the set health level as the current health level of the user's own body. In this case, the lowest value of the current health level of the user's own body is limited to the preset second lowest health level. For example: the set health level is level 1, and the preset second highest health level is level 1.
[0050] The fourth health level determination situation: if the single calorie intake ratio is greater than the third set value, and the average calorie intake ratio is greater than the second set value, the preset initial health level is reduced by the set health level as the current health level of the user's own body. In this case, the minimum value of the current health level of the user's own body is limited to the preset minimum health level. For example: the health level is set to level 1, and the preset second highest health level is level 0.
[0051] like Figure 5 As shown, the solution of the present invention provides a refrigerator control method, which also includes:
[0052] Step 3: Determine whether the daily calorie intake ratio R is met h <0.25, and the mean calorie intake ratio in the previous 10 days is R hm <0.5: If yes, go to step 4; otherwise, go to step 5.
[0053] Step 4: Set the user's health level to L h = User's health level L h +1, user's health level L h Increase to a maximum of 3 levels.
[0054] Step 5: Determine whether 0.25≤the calorie intake ratio R of the day is satisfied h <0.5, and the average calorie intake ratio in the previous 10 days is R hm <0.5: If yes, go to step 6; otherwise, go to step 7.
[0055] Step 6: User's health level L h = User's health level L h -1, the user's health level is L h Reduced to level 2 at most.
[0056] Step 7: Determine whether 0.5 ≤ the daily calorie intake ratio R h <1, and the average calorie intake ratio in the previous 10 days is R hm >0.5: If yes, go to step 8; otherwise, go to step 9.
[0057] Step 8: User's health level L h = User's health level L h -1,L h Reduced to level 1 at most.
[0058] Step 9: Determine whether the daily calorie intake ratio R is met h >1, and R hm >0.5: If yes, go to step 10; otherwise, do nothing.
[0059] Step 10: User's health level L h = User's health level L h -1, the user's health level is L h Reduced to level 0 at most.
[0060] At step S130, based on the medicine image of the medicine storage space, the average amount of medicine used by the user of the refrigerator for the medicine stored in the medicine storage space in the previous n first set time periods is determined, and the remaining medicine stock ratio of the medicine storage space in the previous second set time period or when medicines are stored in or taken out of the medicine storage space is determined. Further, based on at least one of the average amount of medicine used, the remaining medicine stock ratio, the current health level of the user, and the preset initial medicine stock level, the current medicine stock level of the medicine stored in the medicine storage space is determined.
[0061] In some embodiments, in step S130, based on the medicine image of the medicine storage space, the average usage of the medicine stock of the medicine storage space by the user of the refrigerator within the previous n first set time periods, and the specific process of determining the remaining medicine stock ratio of the medicine storage space within the previous second set time period or when medicines are stored in or taken out of the medicine storage space are described in the following exemplary description.
[0062] Combine the following Figure 3 The flowchart of an embodiment of determining the ratio of the average used drug inventory and the remaining drug inventory based on the drug image in the method of the present invention is shown, which further illustrates the specific process of determining the ratio of the average used drug inventory and the remaining drug inventory based on the drug image in step S130, including: steps S310 to S340.
[0063] Step S310, determining the drug stock of the drug stored in the drug storage space according to the drug image of the drug storage space. The drug stock of the drug stored in the drug storage space includes: the drug type of the drug stored in the drug storage space and the quantity of each drug.
[0064] Step S320: Determine the drug inventory taken out by the user from the drugs stored in the drug storage space every first set period of time, and record it as a single used drug inventory.
[0065] Step S330, every n first set time periods, determine the average of the n single drug usage inventories as the average of the drug usage inventories of the drugs stored in the drug storage space by the user in the n first set time periods (e.g., the average daily drug usage S in the previous 10 days). m ), recorded as the average inventory of drugs in use.
[0066] Step S340, every second set time period, or when drugs are stored in or taken out of the drug storage space, determine the ratio of the current drug inventory of the drugs stored in the drug storage space to the total drug inventory that can be stored in the drug storage space (e.g., the ratio of the current drug quantity to the total storage space of the drug warehouse R d ), as the ratio of the remaining medicine stock in the medicine storage space to the total medicine stock, recorded as the remaining medicine stock ratio. The second set time period is smaller than the first set time period.
[0067] like Figure 5 As shown, the solution of the present invention provides a refrigerator control method, further comprising: in step 2, calculating the average value R of the calorie intake ratio in the previous 10 days hmAt the same time, the image recognition camera is used to take pictures of the medicines taken out every day before, and the pictures of the medicines taken out every day before are sent to the backend server. The backend server performs image recognition to determine the number of medicines taken out every day before. The average daily medication amount S in the previous 10 days m Calculate: Average daily medication dosage S in the previous 10 days m = the cumulative number of medicines taken out in the previous 10 days / 10. Then, step 3 and step 25 are continuously executed to continuously determine the health level and the medicine inventory warning level.
[0068] In some embodiments, the current drug inventory level of the drugs stored in the drug storage space is determined in step S130 according to at least one of the average used drug inventory, the remaining drug inventory ratio, the current health level of the user's own body, and a preset initial drug inventory level, including any of the following drug inventory level determination situations:
[0069] The first drug inventory level determination situation: if the remaining drug inventory ratio is equal to the second set value, the current drug inventory level of the drugs stored in the drug storage space is determined to be the preset minimum drug inventory level. The preset minimum drug inventory level is level 0.
[0070] The second situation for determining the drug inventory level: if the remaining drug inventory ratio is greater than the second set value and less than the third set value, the current health level of the user's own body is less than the preset second highest health level, and the average drug inventory used is less than the set inventory (such as the set inventory is x1), then the preset initial drug inventory level is reduced by the set drug inventory level as the current drug inventory level of the drugs stored in the drug storage space. In this case, the minimum value of the current drug inventory level of the drugs stored in the drug storage space is limited to the preset second lowest drug inventory level. For example: the drug inventory level is set to level 1, and the preset second lowest drug inventory level is level 1.
[0071] The third situation for determining the drug inventory level: if the remaining drug inventory ratio is greater than the second set value and less than the third set value, the current health level of the user's own body is less than the preset second-highest health level, and the average drug inventory used is less than or equal to the set inventory (such as the set inventory is x1), then the preset initial drug inventory level is reduced by the set drug inventory level as the current drug inventory level of the drugs stored in the drug storage space. In this case, the minimum value of the current drug inventory level of the drugs stored in the drug storage space is limited to the preset second-highest drug inventory level. For example: the drug inventory level is set to level 1, and the preset second-highest drug inventory level is level 2.
[0072] The fourth situation for determining the drug inventory level: if the remaining drug inventory ratio is greater than 0 and less than the second set value, the current health level of the user's own body is less than the preset second-highest health level, and the average drug inventory used is less than the set inventory (such as the set inventory is x1), then the preset initial drug inventory level is increased by the set drug inventory level as the current drug inventory level of the drugs stored in the drug storage space. In this case, the maximum value of the current drug inventory level of the drugs stored in the drug storage space is limited to the preset second-highest drug inventory level. For example: the drug inventory level is set to level 1, and the preset second-highest drug inventory level is level 2.
[0073] The fourth situation for determining the drug inventory level: if the remaining drug inventory ratio is greater than 0 and less than the second set value, the current health level of the user's own body is less than the preset second highest health level, and the average drug inventory used is greater than or equal to the set inventory (such as the set inventory is x1), then the preset initial drug inventory level is increased by the set drug inventory level as the current drug inventory level of the drugs stored in the drug storage space. In this case, the maximum value of the current drug inventory level of the drugs stored in the drug storage space is limited to the preset highest drug inventory level. For example: the drug inventory level is set to level 1, and the preset high drug inventory level is level 3.
[0074] like Figure 5 As shown, the refrigerator control method provided by the solution of the present invention further includes, after step 3:
[0075] Step 11: If the time interval is 6 hours or drugs are put in or taken out, calculate the ratio of the current number of drugs to the total number of drug warehouses, R d =Current drug quantity / total drug warehouse space, and execute step 12.
[0076] Step 12: Determine the ratio R of the current number of drugs to the total number of drug warehouses d Is it equal to 1: If yes, go to step 13; otherwise, go to step 14.
[0077] Step 13: Alert level L for the remaining medicines in the refrigerator w =Level 0.
[0078] Step 14: Determine whether 0.5≤Ratio of the current number of drugs to the total number of drug warehouses d <1: If yes, go to step 15; otherwise, go to step 19.
[0079] Step 15: Determine whether the user's health level L is met h <2: If yes, go to step 16; otherwise, go to step 17.
[0080] Step 16: Determine whether the average daily medication dosage S in the previous 10 days is met m <Set medication dosage x1: If yes, proceed to step 17; otherwise, proceed to step 18.
[0081] Step 17: Warning level L for the remaining medicines in the refrigerator w = Medicine inventory warning level L of the remaining medicines in the refrigerator w -1, the remaining medicines in the refrigerator are warned at the level L w Reduced to level 1 at most.
[0082] Step 18: Alert level L for the remaining medicines in the refrigerator w = Medicine inventory warning level L of the remaining medicines in the refrigerator w -1, the remaining medicines in the refrigerator are warned at the level L w Reduced to level 2 at most.
[0083] Step 19: Determine whether 0 < the ratio of the current number of drugs to the total number of drug warehouses R d <0.5: If yes, go to step 20; otherwise, go to step 24.
[0084] Step 20: Determine whether the user's health level L is met h <2: If yes, go to step 21; otherwise, go to step 22.
[0085] Step 21: Determine whether the average daily medication dosage S in the previous 10 days is met. m <Set medication dosage x1: If yes, proceed to step 22, otherwise proceed to step 23.
[0086] Step 22: The remaining medicines in the refrigerator are warned at the level L of the medicine inventory. w = Medicine inventory warning level L of the remaining medicines in the refrigerator w +1, the remaining medicines in the refrigerator are at the warning level L w Increase to a maximum of 2 levels.
[0087] Step 23: Alert level L of the remaining medicines in the refrigerator w = Medicine inventory warning level L of the remaining medicines in the refrigerator w +1, the remaining medicines in the refrigerator are at the warning level L w Increase to a maximum of 3 levels.
[0088] Step 24: Alert level L for the remaining medicines in the refrigerator w =Level 3.
[0089] At step S140, based on at least one of the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space, a current warning level for warning the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space is determined.
[0090] In step S150, based on the current warning level, a warning is issued for the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space.
[0091] The control method of a refrigerator provided by the solution of the present invention is a new intelligent control method of the refrigerator. It can count the ratio of high-calorie foods taken by a user (specifically the current user) in one day to all foods through image recognition function, compare the ratio in one day with the average of the ratio in a period of time, and infer the "health level" of the current user. Furthermore, the "drug inventory warning level" in the refrigerator can be calculated by the ratio of the remaining medicines in the refrigerator to the total medicine bins, the average daily medication amount of the current user, and the "health level" of the current user. Each bin can hold a medicine, and the number of bins indicates the number of medicines that can be placed. Afterwards, different time intervals can be set to send the level information corresponding to the urgency to the current user's intelligent communication device and directly display it on the refrigerator display screen through the urgency of the "health level" and "drug inventory warning level", so as to timely remind the supplement of therapeutic drugs, which is conducive to the disease control and health recovery of people suffering from "three highs", which can greatly enhance the user's experience of using the refrigerator and enhance the health protection of the user.
[0092] In some embodiments, in step S140 and step S150, the current warning level for warning the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space is determined according to at least one of the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space, including any of the following warning level determination situations:
[0093] The first warning level determination scenario: if the current health level of the user's own body is the preset second-highest health level, or the current drug stock level of the drugs stored in the drug storage space is the preset second-lowest drug stock level, then it is determined to report the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space every first set time period.
[0094] The second warning level determination situation: if the current health level of the user's own body is a preset second-lowest health level, or the current drug inventory level of the drugs stored in the drug storage space is a preset second-highest drug inventory level, it is determined to report the current health level of the user's own body and the current drug inventory level of the drugs stored in the drug storage space every third set period of time. The third set period of time is less than the first set period of time and greater than the second set period of time.
[0095] The third situation for determining the warning level: if the current health level of the user's own body is the preset lowest health level, or the current drug stock level of the drugs stored in the drug storage space is the preset highest drug stock level, then it is determined to report the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space every second set time period.
[0096] like Figure 5 As shown, the refrigerator control method provided by the solution of the present invention further includes, after step 3:
[0097] Step 25: Determine whether the user's health level L is met h =2 or the medicine inventory warning level L of the remaining medicines in the refrigerator w =1: If yes, go to step 26; otherwise, go to step 27.
[0098] Step 26: Send the health level and drug inventory warning level to the user's smart communication device every 24 hours and display it directly on the refrigerator display.
[0099] Step 27: Determine whether the user's health level L is met h =1 or the remaining medicines in the refrigerator, the medicine inventory warning level L w =2: If yes, go to step 28; otherwise, go to step 29.
[0100] Step 28: Send the health level and drug inventory warning level to the user's smart communication device every 12 hours and display it directly on the refrigerator display.
[0101] Step 29: Determine whether the user's health level L is met h =0 or the remaining medicines in the refrigerator are at the level of warning L w =3: If yes, execute step 30, otherwise do nothing.
[0102] Step 30: Send the health level and drug inventory warning level to the user's smart communication device every 6 hours and display it directly on the refrigerator display.
[0103] Of course, the average calorie intake ratio in the previous 10 days is Rhm The number of days for calculation can be set flexibly, such as 5 days, 3 days, etc. The average daily dosage of medication in the previous 10 days S m The calculation days can be changed to 5 days, 3 days, etc. Smart communication devices are not limited to mobile phones, computers, smart bracelets, etc.
[0104] The solution of the present invention infers the user's health level based on the usage of food ingredients, and in combination with other parameters (such as medication frequency and health status), when the drug inventory is low, a corresponding alarm is issued to the user. In this way, through the new intelligent control method of the refrigerator, the current user's health status can be inferred by judging the user's eating habits, and the current user can be reminded to improve the diet structure, and the drug consumption rate can be inferred by the medication frequency and health status, so as to timely remind the replenishment of therapeutic drugs, which is beneficial to the disease control and health recovery of people suffering from "three highs", which can greatly enhance the user's experience of using the refrigerator and enhance the health protection of the user.
[0105] The technical solution of this embodiment is adopted to determine the health level of the user's body according to the ratio of high-calorie foods taken from the refrigerator by the user (specifically the current user) in a short period of time (such as one day) to all foods, and the ratio of high-calorie foods taken from the refrigerator by the user in a long period of time (such as one week, one month, etc.) to all foods. Furthermore, the drug inventory warning level of the remaining drugs in the refrigerator is determined according to the ratio of the remaining drugs in the refrigerator to the total drug storage space, the average drug usage of the user in a short period of time (such as one day), and the health level of the user's body, and then a reminder message is initiated according to the health level of the user's body and the drug inventory warning level of the remaining drugs in the refrigerator to remind the user to purchase supplementary drugs in time. Thus, by making the refrigerator intelligently remind the user to eat healthily and replenish therapeutic drugs in time according to the user's eating habits and frequency of medication, it is beneficial to the disease control and health recovery of people suffering from "three highs".
[0106] According to an embodiment of the present invention, a refrigerator control device corresponding to the refrigerator control method is also provided. Figure 4 A schematic structural diagram of an embodiment of the device of the present invention is shown. The refrigerator has a cold storage chamber. The cold storage chamber has a food storage space and a medicine storage space. The refrigerator can operate in a preset health mode. In the health mode, the refrigerator can cool the food storage space and the medicine storage space, and can also warn the current health level of the user's own body and the current medicine stock level of the remaining medicines stored in the medicine storage space. The control device of the refrigerator includes: an acquisition unit 102 and a control unit 104.
[0107] The acquisition unit 102 is configured to acquire food images of the food storage space and medicine images of the medicine storage space after the health mode is turned on. The specific functions and processing of the acquisition unit 102 refer to step S110.
[0108] The control unit 104 is configured to determine, based on the food image of the food storage space, the average calorie intake ratio of the user of the refrigerator for the food stored in the food storage space within the previous n first set time periods, and determine the individual calorie intake ratio of the user of the refrigerator for the food stored in the food storage space within the previous nth first set time period. Furthermore, based on the average calorie intake ratio, the individual calorie intake ratio, and the preset initial health level, the current health level of the user's own body is determined. n is a positive number, preferably a positive integer. For the specific functions and processing of the control unit 104, see step S120.
[0109] In some embodiments, the control unit 104 determines, based on the food image of the food storage space, an average calorie intake ratio of the user of the refrigerator to the food stored in the food storage space in the previous n first set time periods, and determines a single calorie intake ratio of the user of the refrigerator to the food stored in the food storage space in the previous n first set time periods, including:
[0110] The control unit 104 is also specifically configured to classify the food stored in the food storage space into a first calorie food and a second calorie food according to the food image of the food storage space. The calorie of the first calorie food is higher than that of the second calorie food. The first calorie food is a high-calorie food, and the second calorie food is a low-calorie food. The specific functions and processing of the control unit 104 can also be found in step S210. Furthermore, based on the first calorie food and the second calorie food stored in the food storage space, the average calorie intake ratio of the food stored in the food storage space by the user of the refrigerator in the previous n first set time periods is determined, and the single calorie intake ratio of the food stored in the food storage space by the user of the refrigerator in the previous nth first set time period is determined. For details, please refer to the following exemplary description.
[0111] Specifically, Figure 5 FIG. 1 is a control flow diagram of an embodiment of a refrigerator control device of the present invention. Figure 5 As shown, the solution of the present invention provides a refrigerator control device, comprising:
[0112] Step 1: When the user clicks on the healthy mode on the refrigerator control panel, the user's health level L will be preset first. h= Level 3, and the remaining medicines in the refrigerator are warned at level L w = Level 0. Here, when the health mode is just turned on, the user's health level L h = Level 3, and the remaining medicines in the refrigerator are warned at level L w = Level 0, which can be the default initial value set by the refrigerator controller according to the default program. h , which indicates the health level of the current user. The larger the value of the health level of the current user, the better the health of the current user. The remaining medicines in the refrigerator are warned at the level L w , which represents the drug inventory warning level of the current remaining drugs in the refrigerator. The larger the value of the drug inventory warning level of the current remaining drugs in the refrigerator, the higher the demand for replenishing the drug inventory.
[0113] At the same time, the controller of the refrigerator will start the image recognition camera to identify all the foods stored in the refrigerator, and then define the calories of all the foods in the refrigerator according to the caloric conditions of all the foods in the refrigerator, and classify them into high-calorie foods and low-calorie foods, and then store the caloric classification information of all the foods in the refrigerator (i.e., the classification information of whether each food is a high-calorie food or a low-calorie food) in the data storage device, and then turn off the image recognition camera. Specifically, the image recognition camera will shoot all the foods stored in the refrigerator, and send the pictures of all the foods taken to the background server. Through the background server, through big data analysis and comparison, the specific types of each food in all the foods stored in the refrigerator are obtained, and then the calories of each specific type of food are defined to define whether the calories of each food are high-calorie or low-calorie, and then all the foods stored in the refrigerator are classified into two categories, namely high-calorie foods and low-calorie foods.
[0114] After the controller of the refrigerator has started the image recognition camera and defined and classified all the foods stored in the refrigerator according to the calories, the image recognition camera will be turned off for energy saving. After the image recognition camera is turned off, each time there is a new food in the refrigerator, the controller of the refrigerator will automatically turn on the image recognition camera, compare the new food in the refrigerator with the data in the data storage device, and check whether there is a corresponding definition (such as checking whether the calories of the category of the new food in the refrigerator have been defined as high calories or low calories). If there is, the new food in the refrigerator is directly classified as the corresponding calorie food. If not, the picture of the new food in the refrigerator is sent to the backend server, so that the backend server determines the category of the new food in the refrigerator through big data analysis and comparison, and then obtains the specific definition of whether the new food in the refrigerator is a high-calorie food or a low-calorie food according to the calories of the category of the new food in the refrigerator. After obtaining the specific definition of whether the new food in the refrigerator is a high-calorie food or a low-calorie food, the image recognition camera is turned off.
[0115] Whenever the refrigerator door is opened, the refrigerator controller will automatically turn on the image recognition camera to identify the type and quantity of food taken by the user and record it. When the refrigerator door is closed, the image recognition camera is automatically turned off. For example: If a user takes a bag of vegetables, uses part of it, and puts the rest back into the refrigerator, in this case, the quantity can be determined by subtracting first and then adding. In health mode, steps 2 and 11 are always executed.
[0116] The control unit 104 is further configured to determine the total amount of the first calorie food and the second calorie food taken out from the food storage space by the user of the refrigerator every first set period, and determine the ratio of the first calorie food to the total amount of food as the calorie intake ratio of the user to the food stored in the food storage space within the first set period (such as the calorie intake ratio R of the user on that day). h ), recorded as a single calorie intake ratio, thereby obtaining a single calorie intake ratio of the food stored in the food storage space in the previous n-th first set period. The specific functions and processing of the control unit 104 can also be found in step S220.
[0117] like Figure 5As shown, the control device of a refrigerator provided by the solution of the present invention also includes: step 2, every short period of time such as 24 hours, the total amount of high-calorie food and the total amount of low-calorie food taken out from the refrigerator by the user in the previous short period of time such as 24 hours are counted. The reason for the short period of time such as 24 hours is to obtain the average value within a short period of time such as 24 hours. Furthermore, according to the total amount of high-calorie food and the total amount of low-calorie food taken out from the refrigerator by the user in the previous short period of time such as 24 hours, the calorie intake ratio in the previous day is calculated = the total amount of high-calorie food / (the total amount of high-calorie food+the total amount of low-calorie food).
[0118] The control unit 104 is further configured to determine an average value of the n single calorie intake ratios every n first set time periods as the average value of the calorie intake ratios of the food stored in the food storage space by the user in the n first set time periods (e.g., the average value of the calorie intake ratios in the previous 10 days R hm ), recorded as the average calorie intake ratio, to obtain the average calorie intake ratio of the food stored in the food storage space in the previous n first set time periods. The specific functions and processing of the control unit 104 can also be found in step S230.
[0119] like Figure 5 As shown, the control device of a refrigerator provided by the solution of the present invention further includes: in step 2, based on the calculated calorie intake ratio in the previous day, similarly, the average value R of the calorie intake ratio in the previous 10 days is calculated. hm =(R h1 +...+R h10 ) / 10. h1 is the calorie intake ratio on the first day, R h10 This is the calorie intake ratio on the 10th day.
[0120] In some embodiments, the control unit 104 determines the current health level of the user's own body according to the average calorie intake ratio, the single calorie intake ratio, and the preset initial health level, including any of the following health level determination situations:
[0121] The first health level determination scenario: the control unit 104 is also specifically configured to increase the preset initial health level by the set health level as the current health level of the user's own body if the single calorie intake ratio is less than the first set value and the average calorie intake ratio is less than the second set value. In this case, the maximum value of the current health level of the user's own body is limited to the preset maximum health level. For example: the health level is set to level 1, and the preset maximum health level is level 3. The first set value is less than the second set value, such as the first set value is 0.25 and the second set value is 0.5.
[0122] The second health level determination scenario: the control unit 104 is also specifically configured to reduce the preset initial health level by the set health level as the current health level of the user's own body if the single calorie intake ratio is greater than or equal to the first set value and less than the second set value, and the average calorie intake ratio is less than the second set value. In this case, the minimum value of the current health level of the user's own body is limited to the preset second highest health level. For example: the health level is set to level 1, and the preset second highest health level is level 2.
[0123] The third health level determination scenario: the control unit 104 is also specifically configured to reduce the preset initial health level by the set health level as the current health level of the user's own body if the single calorie intake ratio is greater than or equal to the second set value and less than the third set value, and the average calorie intake ratio is greater than the second set value. In this case, the minimum value of the current health level of the user's own body is limited to the preset second lowest health level. For example: the health level is set to level 1, and the preset second highest health level is level 1.
[0124] The fourth health level determination scenario: the control unit 104 is further configured to reduce the preset initial health level by the set health level as the current health level of the user's own body if the single calorie intake ratio is greater than the third set value and the average calorie intake ratio is greater than the second set value. In this case, the minimum value of the current health level of the user's own body is limited to the preset minimum health level. For example: the health level is set to level 1, and the preset second highest health level is level 0.
[0125] like Figure 5 As shown, the solution of the present invention provides a refrigerator control device, which also includes:
[0126] Step 3: Determine whether the daily calorie intake ratio R is met h <0.25, and the mean calorie intake ratio in the previous 10 days is R hm<0.5: If yes, go to step 4; otherwise, go to step 5.
[0127] Step 4: Set the user's health level to L h = User's health level L h +1, user's health level L h Increase to a maximum of 3 levels.
[0128] Step 5: Determine whether 0.25≤the calorie intake ratio R of the day is satisfied h <0.5, and the average calorie intake ratio in the previous 10 days is R hm <0.5: If yes, go to step 6; otherwise, go to step 7.
[0129] Step 6: User's health level L h = User's health level L h -1, the user's health level is L h Reduced to level 2 at most.
[0130] Step 7: Determine whether 0.5 ≤ the daily calorie intake ratio R h <1, and the average calorie intake ratio in the previous 10 days is R hm >0.5: If yes, go to step 8; otherwise, go to step 9.
[0131] Step 8: User's health level L h = User's health level L h -1,L h Reduced to level 1 at most.
[0132] Step 9: Determine whether the daily calorie intake ratio R is met h >1, and R hm >0.5: If yes, go to step 10.
[0133] Step 10: User's health level L h = User's health level L h -1, the user's health level is L h Reduced to level 0 at most.
[0134] The control unit 104 is also configured to determine the average drug inventory used by the user of the refrigerator for the drugs stored in the drug storage space within the previous n first set time periods based on the drug image of the drug storage space, and determine the remaining drug inventory ratio of the drug storage space within the previous second set time period or when drugs are stored in or taken out of the drug storage space. Furthermore, the current drug inventory level of the drugs stored in the drug storage space is determined based on at least one of the average drug inventory used, the remaining drug inventory ratio, the current health level of the user's own body, and the preset initial drug inventory level. The specific functions and processing of the control unit 104 are also shown in step S130.
[0135] In some embodiments, the control unit 104 determines, based on the medicine image of the medicine storage space, the average amount of medicine used by the user of the refrigerator for the medicine stored in the medicine storage space within the previous n first set time periods, and determines the remaining medicine stock ratio of the medicine storage space within the previous second set time period or when medicines are stored in or taken out of the medicine storage space, including:
[0136] The control unit 104 is further configured to determine the drug inventory of the drug storage space according to the drug image of the drug storage space. The drug inventory of the drug storage space includes: the drug types and the quantity of each drug stored in the drug storage space. The specific functions and processing of the control unit 104 are also referred to step S310.
[0137] The control unit 104 is further configured to determine the drug inventory taken out by the user from the drug storage space at every first set period of time, and record it as a single drug inventory. The specific functions and processing of the control unit 104 are also shown in step S320.
[0138] The control unit 104 is further configured to determine the average of the n single drug usages every n first set time periods as the average of the drug usage of the drug stored in the drug storage space by the user in the n first set time periods (e.g., the average daily drug usage S in the previous 10 days). m ), recorded as the average drug inventory. The specific functions and processing of the control unit 104 are also shown in step S330.
[0139] The control unit 104 is further configured to determine the ratio of the current drug inventory of the drug storage space to the total drug inventory that can be stored in the drug storage space (e.g., the ratio of the current drug quantity to the total storage space of the drug warehouse R) every second set time period, or when drugs are stored in or taken out of the drug storage space. d ), as the ratio of the remaining medicine stock in the medicine storage space to the total medicine stock, is recorded as the remaining medicine stock ratio. The second set time period is less than the first set time period. The specific functions and processing of the control unit 104 are also shown in step S340.
[0140] like Figure 5 As shown, the solution of the present invention provides a refrigerator control device, further comprising: in step 2, calculating the average value R of the calorie intake ratio in the previous 10 days hm At the same time, the image recognition camera is used to take pictures of the medicines taken out every day before, and the pictures of the medicines taken out every day before are sent to the backend server. The backend server performs image recognition to determine the number of medicines taken out every day before. The average daily medication amount S in the previous 10 days m Calculate: Average daily medication dosage S in the previous 10 days m = the cumulative number of medicines taken out in the previous 10 days / 10. Then, step 3 and step 25 are continuously executed to continuously determine the health level and the medicine inventory warning level.
[0141] In some embodiments, the control unit 104 determines the current drug stock level of the drugs stored in the drug storage space according to at least one of the average used drug stock, the remaining drug stock ratio, the current health level of the user, and a preset initial drug stock level, including any of the following drug stock level determination situations:
[0142] The first drug inventory level determination situation: the control unit 104 is further configured to determine that the current drug inventory level of the drugs stored in the drug storage space is a preset minimum drug inventory level if the remaining drug inventory ratio is equal to the second set value. The preset minimum drug inventory level is level 0.
[0143] The second situation of determining the drug inventory level: the control unit 104 is also specifically configured to reduce the preset initial drug inventory level by the set drug inventory level as the current drug inventory level of the drugs stored in the drug storage space if the remaining drug inventory ratio is greater than the second set value and less than the third set value, the current health level of the user's own body is less than the preset second highest health level, and the average drug inventory used is less than the set inventory (such as the set inventory is x1). In this case, the minimum value of the current drug inventory level of the drugs stored in the drug storage space is limited to the preset second lowest drug inventory level. For example: the drug inventory level is set to level 1, and the preset second lowest drug inventory level is level 1.
[0144] The third drug inventory level determination scenario: the control unit 104 is also specifically configured to reduce the preset initial drug inventory level by the set drug inventory level as the current drug inventory level of the drugs stored in the drug storage space if the remaining drug inventory ratio is greater than the second set value and less than the third set value, the current health level of the user's own body is less than the preset second-highest health level, and the average drug inventory used is less than or equal to the set inventory (such as the set inventory is x1). In this case, the minimum value of the current drug inventory level of the drugs stored in the drug storage space is limited to the preset second-highest drug inventory level. For example: the drug inventory level is set to level 1, and the preset second-highest drug inventory level is level 2.
[0145] The fourth drug inventory level determination situation: the control unit 104 is also specifically configured to increase the preset initial drug inventory level by the set drug inventory level as the current drug inventory level of the drugs stored in the drug storage space if the remaining drug inventory ratio is greater than 0 and less than the second set value, the current health level of the user's own body is less than the preset second-highest health level, and the average drug inventory used is less than the set inventory (such as the set inventory is x1). In this case, the maximum value of the current drug inventory level of the drugs stored in the drug storage space is limited to the preset second-highest drug inventory level. For example: the drug inventory level is set to level 1, and the preset second-highest drug inventory level is level 2.
[0146] The fourth situation of determining the drug inventory level: the control unit 104 is also specifically configured to increase the preset initial drug inventory level by the set drug inventory level as the current drug inventory level of the drugs stored in the drug storage space if the remaining drug inventory ratio is greater than 0 and less than the second set value, the current health level of the user's own body is less than the preset second highest health level, and the average drug inventory used is greater than or equal to the set inventory (such as the set inventory is x1). In this case, the maximum value of the current drug inventory level of the drugs stored in the drug storage space is limited to the preset highest drug inventory level. For example: the drug inventory level is set to level 1, and the preset high drug inventory level is level 3.
[0147] like Figure 5 As shown, the control device of a refrigerator provided by the solution of the present invention further includes, after step 3:
[0148] Step 11: If the time interval is 6 hours or drugs are put in or taken out, calculate the ratio of the current number of drugs to the total number of drug warehouses, R d =Current drug quantity / total drug warehouse space, and execute step 12.
[0149] Step 12: Determine the ratio R of the current number of drugs to the total number of drug warehouses d Is it equal to 1: If yes, go to step 13; otherwise, go to step 14.
[0150] Step 13: Alert level L for the remaining medicines in the refrigerator w =Level 0.
[0151] Step 14: Determine whether 0.5≤Ratio of the current number of drugs to the total number of drug warehouses d <1: If yes, go to step 15; otherwise, go to step 19.
[0152] Step 15: Determine whether the user's health level L is met h <2: If yes, go to step 16; otherwise, go to step 17.
[0153] Step 16: Determine whether the average daily medication dosage S in the previous 10 days is met m <Set medication dosage x1: If yes, proceed to step 17; otherwise, proceed to step 18.
[0154] Step 17: Warning level L for the remaining medicines in the refrigerator w = Medicine inventory warning level L of the remaining medicines in the refrigerator w -1, the remaining medicines in the refrigerator are warned at the level L w Reduced to level 1 at most.
[0155] Step 18: Alert level L for the remaining medicines in the refrigerator w = Medicine inventory warning level L of the remaining medicines in the refrigerator w -1, the remaining medicines in the refrigerator are warned at the level L w Reduced to level 2 at most.
[0156] Step 19: Determine whether 0 < the ratio of the current number of drugs to the total number of drug warehouses R d <0.5: If yes, go to step 20; otherwise, go to step 24.
[0157] Step 20: Determine whether the user's health level L is met h <2: If yes, go to step 21; otherwise, go to step 22.
[0158] Step 21: Determine whether the average daily medication dosage S in the previous 10 days is met. m <Set medication dosage x1: If yes, proceed to step 22, otherwise proceed to step 23.
[0159] Step 22: The remaining medicines in the refrigerator are warned at the level L of the medicine inventory. w = Medicine inventory warning level L of the remaining medicines in the refrigerator w +1, the remaining medicines in the refrigerator are at the warning level L w Increase to a maximum of 2 levels.
[0160] Step 23: Alert level L of the remaining medicines in the refrigerator w = Medicine inventory warning level L of the remaining medicines in the refrigerator w +1, the remaining medicines in the refrigerator are at the warning level L w Increase to a maximum of 3 levels.
[0161] Step 24: Alert level L for the remaining medicines in the refrigerator w =Level 3.
[0162] The control unit 104 is further configured to determine a current warning level for warning the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space according to at least one of the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space. The specific functions and processing of the control unit 104 are also shown in step S140.
[0163] The control unit 104 is further configured to issue an early warning for the current health level of the user and the current drug inventory level of the drugs stored in the drug storage space according to the current early warning level. The specific functions and processing of the control unit 104 are also shown in step S150.
[0164] The control device of a refrigerator provided by the solution of the present invention, as a new intelligent control method of the refrigerator, can use the image recognition function to count the ratio of high-calorie foods taken by the user (specifically the current user) in one day to all foods, and compare the ratio in one day with the average of the ratio in a period of time, so as to infer the "health level" of the current user. Furthermore, the "drug inventory warning level" in the refrigerator can be calculated by the ratio of the remaining medicines in the refrigerator to the total medicine storage space, the average daily dosage of the current user, and the "health level" of the current user. Afterwards, the urgency of the "health level" and the "drug inventory warning level" can be used to set different time intervals to send the level information corresponding to the urgency to the current user's intelligent communication device and directly display it on the refrigerator display screen, so as to timely remind the replenishment of therapeutic drugs, which is conducive to the disease control and health recovery of people suffering from "three highs", which can greatly enhance the user's experience of using the refrigerator and enhance the health protection of the user.
[0165] In some embodiments, the control unit 104 determines the current warning level for warning the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space according to at least one of the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space, including any of the following warning level determination situations:
[0166] The first warning level determination scenario: the control unit 104 is further specifically configured to determine to report the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space every first set time period if the current health level of the user's own body is a preset second-highest health level, or the current drug stock level of the drugs stored in the drug storage space is a preset second-lowest drug stock level.
[0167] Second warning level determination situation: the control unit 104 is further configured to determine to report the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space every third set period if the current health level of the user's own body is a preset second-lower health level or the current drug stock level of the drugs stored in the drug storage space is a preset second-higher drug stock level. The third set period is less than the first set period and greater than the second set period.
[0168] The third warning level determination scenario: the control unit 104 is further specifically configured to determine to report the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space every second set time period if the current health level of the user's own body is the preset lowest health level, or the current drug stock level of the drugs stored in the drug storage space is the preset highest drug stock level.
[0169] like Figure 5 As shown, the control device of a refrigerator provided by the solution of the present invention further includes, after step 3:
[0170] Step 25: Determine whether the user's health level L is met h =2 or the medicine inventory warning level L of the remaining medicines in the refrigerator w =1: If yes, go to step 26; otherwise, go to step 27.
[0171] Step 26: Send the health level and drug inventory warning level to the user's smart communication device every 24 hours and display it directly on the refrigerator display.
[0172] Step 27: Determine whether the user's health level L is met h =1 or the remaining medicines in the refrigerator, the medicine inventory warning level L w =2: If yes, go to step 28; otherwise, go to step 29.
[0173] Step 28: Send the health level and drug inventory warning level to the user's smart communication device every 12 hours and display it directly on the refrigerator display.
[0174] Step 29: Determine whether the user's health level L is met h =0 or the remaining medicines in the refrigerator are at the level of warning L w =3: If yes, go to step 30.
[0175] Step 30: Send the health level and drug inventory warning level to the user's smart communication device every 6 hours and display it directly on the refrigerator display.
[0176] Of course, the average calorie intake ratio in the previous 10 days is R hm The number of days for calculation can be set flexibly, such as 5 days, 3 days, etc. The average daily dosage of medication in the previous 10 days S m The calculation days can be changed to 5 days, 3 days, etc. Smart communication devices are not limited to mobile phones, computers, smart bracelets, etc.
[0177] The solution of the present invention infers the user's health level based on the usage of food ingredients, and in combination with other parameters (such as medication frequency and health status), when the drug inventory is low, a corresponding alarm is issued to the user. In this way, through the new intelligent control method of the refrigerator, the current user's health status can be inferred by judging the user's eating habits, and the current user can be reminded to improve the diet structure, and the drug consumption rate can be inferred by the medication frequency and health status, so as to timely remind the replenishment of therapeutic drugs, which is beneficial to the disease control and health recovery of people suffering from "three highs", which can greatly enhance the user's experience of using the refrigerator and enhance the health protection of the user.
[0178] Since the processing and functions implemented by the device of this embodiment basically correspond to the embodiments, principles and examples of the aforementioned method, for the details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments, and no further elaboration will be made here.
[0179] By adopting the technical solution of the present invention, the user's physical health level is determined according to the ratio of high-calorie foods taken from the refrigerator by the user (specifically the current user) in a short period of time (such as one day) to all foods, and the ratio of high-calorie foods taken from the refrigerator by the user in a long period of time (such as a week, a month, etc.) to all foods; further, the drug inventory warning level of the remaining drugs in the refrigerator is determined according to the ratio of the remaining drugs in the refrigerator to the total drug storage space, the user's average drug usage in a short period of time (such as one day), and the user's physical health level; and further, a reminder message is initiated according to the user's physical health level and the drug inventory warning level of the remaining drugs in the refrigerator to remind the user to purchase supplementary drugs in time, which can greatly improve the user experience and is beneficial to human health.
[0180] According to an embodiment of the present invention, a refrigerator corresponding to the control device of the refrigerator is also provided. The refrigerator may include: the control device of the refrigerator described above.
[0181] Since the processing and functions implemented by the refrigerator of this embodiment basically correspond to the embodiments, principles and examples of the aforementioned devices, for the details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments, and no further elaboration will be made here.
[0182] By adopting the technical scheme of the present invention, the user's physical health level is determined according to the ratio of high-calorie foods taken from the refrigerator by the user (specifically the current user) in a short period of time (such as one day) to all foods, and the ratio of high-calorie foods taken from the refrigerator by the user in a long period of time (such as a week, a month, etc.) to all foods; further, the drug inventory warning level of the remaining drugs in the refrigerator is determined according to the ratio of the remaining drugs in the refrigerator to the total drug storage space, the user's average drug usage in a short period of time (such as one day), and the user's physical health level; and further, a reminder message is initiated according to the user's physical health level and the drug inventory warning level of the remaining drugs in the refrigerator to remind the user to purchase replenishment drugs in time, which can greatly enhance the user's experience of using the refrigerator and enhance the health protection of the user.
[0183] According to an embodiment of the present invention, a storage medium corresponding to a refrigerator control method is also provided, wherein the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the refrigerator control method described above.
[0184] Since the processing and functions implemented by the storage medium of this embodiment basically correspond to the embodiments, principles and examples of the aforementioned method, for the details not fully described in this embodiment, please refer to the relevant descriptions in the aforementioned embodiments, and no further elaboration will be made here.
[0185] By adopting the technical scheme of the present invention, the user's physical health level is determined according to the ratio of high-calorie foods taken from the refrigerator by the user (specifically the current user) in a short period of time (such as one day) to all foods, and the ratio of high-calorie foods taken from the refrigerator by the user in a long period of time (such as a week, a month, etc.) to all foods; further, the drug inventory warning level of the remaining drugs in the refrigerator is determined according to the ratio of the remaining drugs in the refrigerator to the total drug storage space, the user's average drug usage in a short period of time (such as one day), and the user's physical health level; and further, a reminder message is initiated according to the user's physical health level and the drug inventory warning level of the remaining drugs in the refrigerator to remind the user to purchase supplementary drugs in time, which is beneficial to the disease control and health recovery of people suffering from "three highs", making the refrigerator more intelligent and providing a better user experience.
[0186] In summary, it is easy for those skilled in the art to understand that, under the premise of no conflict, the above-mentioned advantageous methods can be freely combined and superimposed.
[0187] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention shall be included in the scope of the claims of the present invention.
Claims
1. A refrigerator control method, characterized in that: The refrigerator has a refrigerating chamber; the refrigerating chamber has a food storage space and a medicine storage space; the refrigerator can operate in a preset health mode; in the health mode, the refrigerator can cool the food storage space and the medicine storage space, and can also warn the user's current health level and the current medicine inventory level of the remaining medicines stored in the medicine storage space; The refrigerator control method comprises: After the health mode is turned on, obtaining a food image of the food storage space, and obtaining a medicine image of the medicine storage space; According to the food image of the food storage space, the average calorie intake ratio of the food stored in the food storage space by the user of the refrigerator in the previous n first set time periods is determined, and the single calorie intake ratio of the food stored in the food storage space by the user of the refrigerator in the previous n first set time period is determined; the single calorie intake ratio is the ratio of the first calorie food to the total amount of food; the average calorie intake ratio is the average value of the single calorie intake ratio; further, according to the average calorie intake ratio, the single calorie intake ratio, and the preset initial health level, the current health level of the user's own body is determined; wherein, according to the average calorie intake ratio, the single calorie intake ratio, and the preset initial health level, the current health level of the user's own body is determined, including: if the single calorie intake ratio is less than the first set value, and the average calorie intake ratio is less than the second set value, then the preset initial health level is increased by the set health level as the current health level of the user's own body; wherein, in this case, the maximum value limit of the current health level of the user's own body is The preset highest health level is set as the preset highest health level; if the single calorie intake ratio is greater than or equal to the first setting value and less than the second setting value, and the average calorie intake ratio is less than the second setting value, the preset initial health level is reduced by the set health level as the current health level of the user's own body; wherein, in this case, the lowest value of the current health level of the user's own body is limited to the preset second highest health level; if the single calorie intake ratio is greater than or equal to the second setting value and less than the third setting value, and the average calorie intake ratio is greater than the second setting value, the preset initial health level is reduced by the set health level as the current health level of the user's own body; wherein, in this case, the lowest value of the current health level of the user's own body is limited to the preset second lowest health level; if the single calorie intake ratio is greater than the third setting value, and the average calorie intake ratio is greater than the second setting value, the preset initial health level is reduced by the set health level as the current health level of the user's own body; wherein, in this case, the lowest value of the current health level of the user's own body is limited to the preset lowest health level; Based on the medicine image of the medicine storage space, determine the average usage of the medicine stored in the medicine storage space by the user of the refrigerator within the previous n first set time periods, and determine the remaining medicine stock ratio of the medicine storage space in the previous second set time period or when medicines are stored in or taken out of the medicine storage space; further, based on the average usage of the medicine, the remaining medicine stock ratio, the current health level of the user's own body, and at least one of the preset initial medicine stock level, determine the current medicine stock level of the medicine stored in the medicine storage space; wherein, based on the average usage of the medicine The method further comprises: determining the current drug stock level of the drugs stored in the drug storage space based on at least one of the used drug stock, the remaining drug stock ratio, the current health level of the user's own body, and the preset initial drug stock level, including: if the remaining drug stock ratio is equal to the second set value, determining the current drug stock level of the drugs stored in the drug storage space as the preset minimum drug stock level; if the remaining drug stock ratio is greater than the second set value and less than the third set value, the current health level of the user's own body is less than the preset second highest health level, and the average used drug stock is less than the set stock, then the preset initial drug stock level is increased. The initial drug inventory level is reduced by the set drug inventory level as the current drug inventory level of the drugs stored in the drug storage space; wherein, in this case, the lowest value of the current drug inventory level of the drugs stored in the drug storage space is limited to the preset second lowest drug inventory level; if the remaining drug inventory ratio is greater than the second set value and less than the third set value, the current health level of the user's own body is less than the preset second highest health level, and the average used drug inventory is less than or equal to the set inventory, then the preset initial drug inventory level is reduced by the set drug inventory level as the current drug inventory level of the drugs stored in the drug storage space; Wherein, in this case, the lowest value of the current drug stock level of the drugs stored in the drug storage space is limited to the preset second highest drug stock level; if the remaining drug stock ratio is greater than 0 and less than the second set value, the current health level of the user's own body is less than the preset second highest health level, and the average used drug stock is less than the set stock, then the preset initial drug stock level is increased by the set drug stock level as the current drug stock level of the drugs stored in the drug storage space; Wherein, in this case, the highest value of the current drug stock level of the drugs stored in the drug storage space is limited to the preset second highest drug stock level;If the remaining drug inventory ratio is greater than 0 and less than the second set value, the current health level of the user's own body is less than the preset second highest health level, and the average used drug inventory is greater than or equal to the set inventory, then the preset initial drug inventory level is increased by the set drug inventory level as the current drug inventory level of the drugs stored in the drug storage space; wherein, in this case, the maximum value of the current drug inventory level of the drugs stored in the drug storage space is limited to the preset maximum drug inventory level; Determining a current warning level for warning the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space according to at least one of the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space; According to the current warning level, a warning is issued for the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space.
2. The refrigerator control method according to claim 1, characterized in that: Determining, based on the food image of the food storage space, an average calorie intake ratio of the user of the refrigerator to the food stored in the food storage space in the previous n first set time periods, and determining a single calorie intake ratio of the user of the refrigerator to the food stored in the food storage space in the previous n first set time periods, including: According to the food image of the food storage space, the food stored in the food storage space is classified into a first calorie food and a second calorie food; the calorie of the first calorie food is higher than the calorie of the second calorie food; At every first set time period, the total amount of the first calorie food and the second calorie food taken out from the food stored in the food storage space by the user of the refrigerator is determined, and the ratio of the first calorie food to the total amount of food is determined as the calorie intake ratio of the user to the food stored in the food storage space in the single first set time period, recorded as a single calorie intake ratio, thereby obtaining the single calorie intake ratio of the food stored in the food storage space in the previous nth first set time period; Every n first set time periods, the average value of the n single calorie intake ratios is determined as the average value of the calorie intake ratios of the user for the food stored in the food storage space within the n first set time periods, recorded as the average calorie intake ratio, to obtain the average calorie intake ratio of the food stored in the food storage space within the previous n first set time periods.
3. The refrigerator control method according to claim 1 or 2, characterized in that: Determining, based on the medicine image of the medicine storage space, an average amount of medicine used by the user of the refrigerator in the previous n first set time periods for the medicines stored in the medicine storage space, and determining a remaining medicine stock ratio of the medicine storage space in the previous second set time period or when medicines are stored in or taken out of the medicine storage space, including: Determining the drug stock of the drug stored in the drug storage space according to the drug image of the drug storage space; At every first set time period, determine the drug stock amount taken out by the user from the drug storage space, and record it as a single drug stock amount; Every n first set time periods, determine the average of the n single used drug stock amounts, as the average of the used drug stock amounts of the drugs stored in the drug storage space by the user within the n first set time periods, and record it as the average used drug stock amount; At every second set time period, or when drugs are stored in or taken out of the drug storage space, determine the ratio of the current drug inventory of the drugs stored in the drug storage space to the total drug inventory that can be stored in the drug storage space, as the ratio of the remaining drug inventory in the drug storage space to the total drug inventory, recorded as the remaining drug inventory ratio; the second set time period is less than the first set time period.
4. The refrigerator control method according to claim 1 or 2, characterized in that: Determining a current warning level for warning the current health level of the user and the current drug stock level of the drugs stored in the drug storage space according to at least one of the current health level of the user and the current drug stock level of the drugs stored in the drug storage space includes: If the current health level of the user's own body is a preset second-highest health level, or the current drug stock level of the drugs stored in the drug storage space is a preset second-lowest drug stock level, then determine to report the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space every first set time period; If the current health level of the user's own body is a preset second-lowest health level, or the current drug inventory level of the drugs stored in the drug storage space is a preset second-highest drug inventory level, it is determined to report the current health level of the user's own body and the current drug inventory level of the drugs stored in the drug storage space every third set time period; the third set time period is less than the first set time period and greater than the second set time period; If the current health level of the user's own body is the preset lowest health level, or the current drug inventory level of the drugs stored in the drug storage space is the preset highest drug inventory level, it is determined to report the current health level of the user's own body and the current drug inventory level of the drugs stored in the drug storage space every second set time period.
5. The refrigerator control method according to claim 3, characterized in that: Determining a current warning level for warning the current health level of the user and the current drug stock level of the drugs stored in the drug storage space according to at least one of the current health level of the user and the current drug stock level of the drugs stored in the drug storage space includes: If the current health level of the user's own body is a preset second-highest health level, or the current drug stock level of the drugs stored in the drug storage space is a preset second-lowest drug stock level, then determine to report the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space every first set time period; If the current health level of the user's own body is a preset second-lowest health level, or the current drug inventory level of the drugs stored in the drug storage space is a preset second-highest drug inventory level, it is determined to report the current health level of the user's own body and the current drug inventory level of the drugs stored in the drug storage space every third set time period; the third set time period is less than the first set time period and greater than the second set time period; If the current health level of the user's own body is the preset lowest health level, or the current drug inventory level of the drugs stored in the drug storage space is the preset highest drug inventory level, it is determined to report the current health level of the user's own body and the current drug inventory level of the drugs stored in the drug storage space every second set time period.
6. A refrigerator control device, characterized in that: The refrigerator has a refrigerating chamber; the refrigerating chamber has a food storage space and a medicine storage space; the refrigerator can operate in a preset health mode; in the health mode, the refrigerator can cool the food storage space and the medicine storage space, and can also warn the user's current health level and the current medicine inventory level of the remaining medicines stored in the medicine storage space; The control device of the refrigerator comprises: an acquisition unit, configured to acquire a food image of the food storage space and a medicine image of the medicine storage space after the health mode is turned on; A control unit is configured to determine, based on the food image of the food storage space, the average calorie intake ratio of the food stored in the food storage space by the user of the refrigerator in the previous n first set time periods, and determine the single calorie intake ratio of the food stored in the food storage space by the user of the refrigerator in the previous n first set time periods; the single calorie intake ratio is the ratio of the first calorie food to the total amount of food; the average calorie intake ratio is the average value of the single calorie intake ratios; further, based on the average calorie intake ratio, the single calorie intake ratio, and the preset initial health level, determine the current health level of the user's own body; wherein, the control unit determines the current health level of the user's own body based on the average calorie intake ratio, the single calorie intake ratio, and the preset initial health level, including: if the single calorie intake ratio is less than the first set value, and the average calorie intake ratio is less than the second set value, then the preset initial health level is increased by the set health level as the current health level of the user's own body; wherein, in this case, the current health level of the user's own body The highest value of the health level is limited to the preset highest health level; if the single calorie intake ratio is greater than or equal to the first setting value and less than the second setting value, and the average calorie intake ratio is less than the second setting value, the preset initial health level is reduced by the set health level as the current health level of the user's own body; wherein, in this case, the lowest value of the current health level of the user's own body is limited to the preset second highest health level; if the single calorie intake ratio is greater than or equal to the second setting value and less than the third setting value, and the average calorie intake ratio is greater than the second setting value, the preset initial health level is reduced by the set health level as the current health level of the user's own body; wherein, in this case, the lowest value of the current health level of the user's own body is limited to the preset second lowest health level; if the single calorie intake ratio is greater than the third setting value, and the average calorie intake ratio is greater than the second setting value, the preset initial health level is reduced by the set health level as the current health level of the user's own body; wherein, in this case, the lowest value of the current health level of the user's own body is limited to the preset lowest health level; The control unit is further configured to determine, based on the drug image of the drug storage space, the average drug inventory used by the user of the refrigerator for the drugs stored in the drug storage space within the previous n first set time periods, and determine the remaining drug inventory ratio of the drug storage space within the previous second set time period or when drugs are stored in or taken out of the drug storage space; further, based on at least one of the average drug inventory used, the remaining drug inventory ratio, the current health level of the user's own body, and a preset initial drug inventory level, determine the current drug inventory level of the drugs stored in the drug storage space; wherein , the control unit determines the current drug stock level of the drugs stored in the drug storage space according to at least one of the average used drug stock, the remaining drug stock ratio, the current health level of the user's own body, and the preset initial drug stock level, including: if the remaining drug stock ratio is equal to the second set value, then the current drug stock level of the drugs stored in the drug storage space is determined to be the preset minimum drug stock level; if the remaining drug stock ratio is greater than the second set value and less than the third set value, the current health level of the user's own body is less than the preset second highest health level, and the average used drug stock is less than the set If the remaining drug stock ratio is greater than the second set value and less than the third set value, the current health level of the user's own body is less than the preset second highest health level, and the average used drug stock is less than or equal to the set stock, then the preset initial drug stock level is reduced by the set drug stock level as the current drug stock level of the drugs stored in the drug storage space; wherein, in this case, the minimum value of the current drug stock level of the drugs stored in the drug storage space is limited to the preset second lowest drug stock level; if the remaining drug stock ratio is greater than the second set value and less than the third set value, the current health level of the user's own body is less than the preset second highest health level, and the average used drug stock is less than or equal to the set stock, then the preset initial drug stock level is reduced by the set drug stock level as the current drug stock level of the drugs stored in the drug storage space. Stock level; wherein, in this case, the lowest value of the current stock level of the drugs stored in the drug storage space is limited to the preset second highest stock level of the drugs; if the remaining drug stock ratio is greater than 0 and less than the second set value, the current health level of the user's own body is less than the preset second highest health level, and the average used drug stock is less than the set stock, then the preset initial drug stock level is increased by the set drug stock level as the current drug stock level of the drugs stored in the drug storage space; wherein, in this case, the highest value of the current drug stock level of the drugs stored in the drug storage space is limited to the preset second highest drug stock level;If the remaining drug inventory ratio is greater than 0 and less than the second set value, the current health level of the user's own body is less than the preset second highest health level, and the average used drug inventory is greater than or equal to the set inventory, then the preset initial drug inventory level is increased by the set drug inventory level as the current drug inventory level of the drugs stored in the drug storage space; wherein, in this case, the maximum value of the current drug inventory level of the drugs stored in the drug storage space is limited to the preset maximum drug inventory level; The control unit is further configured to determine a current warning level for warning the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space according to at least one of the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space; The control unit is further configured to issue an early warning of the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space according to the current early warning level.
7. The refrigerator control device according to claim 6, characterized in that: The control unit determines, based on the food image of the food storage space, an average calorie intake ratio of the user of the refrigerator to the food stored in the food storage space in the previous n first set time periods, and determines a single calorie intake ratio of the user of the refrigerator to the food stored in the food storage space in the previous n first set time periods, including: According to the food image of the food storage space, the food stored in the food storage space is classified into a first calorie food and a second calorie food; the calorie of the first calorie food is higher than the calorie of the second calorie food; At every first set time period, the total amount of the first calorie food and the second calorie food taken out from the food stored in the food storage space by the user of the refrigerator is determined, and the ratio of the first calorie food to the total amount of food is determined as the calorie intake ratio of the user to the food stored in the food storage space in the single first set time period, recorded as a single calorie intake ratio, thereby obtaining the single calorie intake ratio of the food stored in the food storage space in the previous nth first set time period; Every n first set time periods, the average value of the n single calorie intake ratios is determined as the average value of the calorie intake ratios of the user for the food stored in the food storage space within the n first set time periods, recorded as the average calorie intake ratio, to obtain the average calorie intake ratio of the food stored in the food storage space within the previous n first set time periods.
8. The refrigerator control device according to claim 6 or 7, characterized in that: The control unit determines, based on the medicine image of the medicine storage space, an average amount of medicine used by the user of the refrigerator in the previous n first set time periods for the medicines stored in the medicine storage space, and determines a remaining medicine stock ratio of the medicine storage space in the previous second set time period or when medicines are stored in or taken out of the medicine storage space, including: Determining the drug stock of the drug stored in the drug storage space according to the drug image of the drug storage space; At every first set time period, determine the drug stock amount taken out by the user from the drug storage space, and record it as a single drug stock amount; Every n first set time periods, determine the average of the n single used drug stock amounts, as the average of the used drug stock amounts of the drugs stored in the drug storage space by the user within the n first set time periods, and record it as the average used drug stock amount; At every second set time period, or when drugs are stored in or taken out of the drug storage space, determine the ratio of the current drug inventory of the drugs stored in the drug storage space to the total drug inventory that can be stored in the drug storage space, as the ratio of the remaining drug inventory in the drug storage space to the total drug inventory, recorded as the remaining drug inventory ratio; the second set time period is less than the first set time period.
9. The refrigerator control device according to claim 6 or 7, characterized in that: The control unit determines, based on at least one of the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space, a current warning level for warning the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space, including: If the current health level of the user's own body is a preset second-highest health level, or the current drug stock level of the drugs stored in the drug storage space is a preset second-lowest drug stock level, then determine to report the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space every first set time period; If the current health level of the user's own body is a preset second-lowest health level, or the current drug inventory level of the drugs stored in the drug storage space is a preset second-highest drug inventory level, it is determined to report the current health level of the user's own body and the current drug inventory level of the drugs stored in the drug storage space every third set time period; the third set time period is less than the first set time period and greater than the second set time period; If the current health level of the user's own body is the preset lowest health level, or the current drug inventory level of the drugs stored in the drug storage space is the preset highest drug inventory level, it is determined to report the current health level of the user's own body and the current drug inventory level of the drugs stored in the drug storage space every second set time period.
10. The refrigerator control device according to claim 8, characterized in that: The control unit determines, based on at least one of the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space, a current warning level for warning the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space, including: If the current health level of the user's own body is a preset second-highest health level, or the current drug stock level of the drugs stored in the drug storage space is a preset second-lowest drug stock level, then determine to report the current health level of the user's own body and the current drug stock level of the drugs stored in the drug storage space every first set time period; If the current health level of the user's own body is a preset second-lowest health level, or the current drug inventory level of the drugs stored in the drug storage space is a preset second-highest drug inventory level, it is determined to report the current health level of the user's own body and the current drug inventory level of the drugs stored in the drug storage space every third set time period; the third set time period is less than the first set time period and greater than the second set time period; If the current health level of the user's own body is the preset lowest health level, or the current drug inventory level of the drugs stored in the drug storage space is the preset highest drug inventory level, it is determined to report the current health level of the user's own body and the current drug inventory level of the drugs stored in the drug storage space every second set time period.
11. A refrigerator, characterized in that: include: A control device for a refrigerator as claimed in any one of claims 6 to 10.
12. A storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the refrigerator control method according to any one of claims 1 to 5.
