Disclosure of Invention
In order to solve the problems in the prior art, the present invention aims to provide a food material storage method for a refrigerator, a refrigerator and a storage medium.
In order to achieve one of the above objects, an embodiment of the present invention provides a method for storing food materials in a refrigerator, including the following steps:
scanning food materials in a set area in the refrigerator to obtain spectral data;
analyzing the spectrum data to judge the type information of the food material;
acquiring weight information of the food material in the set area,
and judging whether the storage mode of the food material is reasonable or not according to the category information and the weight information.
As a further improvement of an embodiment of the present invention, the step of "judging whether the storage manner of the food material is reasonable according to the category information and the weight information" includes:
acquiring standard set weight corresponding to the category information;
and when the weight information is larger than the standard set weight, judging that the storage mode of the food material is unreasonable.
As a further improvement of an embodiment of the present invention, the step of "acquiring the standard set weight corresponding to the category information" includes:
determining a standard unit weight per unit area based on the category information;
and determining the standard set weight according to the standard unit weight and the area of the set area.
As a further improvement of an embodiment of the present invention, the method further comprises the steps of:
and when the weight information is greater than the standard set weight, increasing the refrigerating power of the refrigerator.
As a further improvement of an embodiment of the present invention, the method further comprises the steps of:
and when the storage mode of the food material is unreasonable, sending unreasonable information to a user side.
As a further improvement of an embodiment of the present invention, the step of "judging whether the storage manner of the food material is reasonable according to the category information and the weight information" includes:
and when the type information is a plurality of types, judging whether the food materials of the plurality of types are suitable to be stored together.
As a further improvement of an embodiment of the present invention, the step of "determining whether a plurality of types of the food materials are suitable to be stored together when the type information is a plurality of types" further includes:
when the variety information is multiple, acquiring suitable storage environment information of the food material of each variety;
and judging the difference between the plurality of pieces of information of the suitable storage environments, and judging that the information of the suitable storage environments are not suitable for storage together when the difference value of at least two pieces of information of the suitable storage environments is larger than a set value.
As a further improvement of an embodiment of the present invention, the step of "determining whether a plurality of types of the food materials are suitable to be stored together when the type information is a plurality of types" further includes:
when the variety information is multiple, acquiring an ethylene release amount and an ethylene environment growth value of the food material of each variety, and acquiring an ethylene release standard value and an ethylene environment growth standard value;
and when at least two food materials with the ethylene release amount larger than the standard ethylene release value and the ethylene environment growth value larger than the standard ethylene environment growth value are contained, judging that the food materials are not suitable for being stored together.
As a further improvement of an embodiment of the present invention, the step of "determining whether a plurality of types of the food materials are suitable to be stored together when the type information is a plurality of types" further includes:
when the type information is multiple, acquiring incompatible coexistence information, wherein the incompatible coexistence information comprises multiple groups of incompatible coexistence food material combination information;
and when the plurality of kinds of information completely cover any group of the food material combination information, judging that the food material combination information is not suitable for being stored together.
To achieve one of the above objects, an embodiment of the present invention provides a refrigerator, including a memory and a processor, where the memory stores a computer program executable on the processor, and further including:
the spectrum scanner is used for scanning the food materials in the set area of the refrigerator to obtain spectrum data;
the spectrum analysis module is used for analyzing the spectrum data and judging the type information of the food material;
the receiving module is used for acquiring weight information of food materials in the set area;
the processor can implement the steps of the food material storage method of the refrigerator when executing the computer program.
In order to achieve one of the above objects, an embodiment of the present invention provides a storage medium storing a computer program, wherein the computer program can implement the steps of the food material storage method of the refrigerator when being executed by a processor.
Compared with the prior art, the invention has the following beneficial effects: monitoring the storage of food, whether the mode of placing that detects food is suitable, whether spectral analysis and weight analysis are carried out to the setting region of placing of analysis food, can analyze whether too concentrated on food place, lead to avoiding the intermediate position high temperature, whether can analyze different food and suitably concentrate and place, prevent to bring not good influence to the growth inhibition or the promotion effect of food, perhaps lead to unsuitable concentrated the placing because of other reasons, because do not master the puzzlement of relevant knowledge when having solved the user and placing food, user's learning cost has been reduced, make the intelligent degree of refrigerator higher, satisfy the demand of intelligent family.
Detailed Description
The present invention will be described in detail below with reference to specific embodiments shown in the drawings. These embodiments are not intended to limit the present invention, and structural, methodological, or functional changes made by those skilled in the art according to these embodiments are included in the scope of the present invention.
An embodiment of the invention provides a food material storage method for a refrigerator, the refrigerator and a storage medium.
The food material storage method of the refrigerator in the embodiment comprises the following steps:
scanning food materials in a set area in the refrigerator to obtain spectral data;
analyzing the spectrum data to judge the type information of the food material;
acquiring weight information of the food material in the set area,
and judging whether the storage mode of the food material is reasonable or not according to the category information and the weight information.
The type of the food material is analyzed through the spectrum data, the rationality of storage is judged according to the weight of the food material, different food placing modes are different, for example, watermelon and apple are different, the weight number which can be placed in the same area is different, the weight is judged according to the type of the food to be more pertinent, for example, under the condition of the same weight, the watermelon is placed reasonably, and the apple is placed too densely and unreasonably.
The spectrum scanning can adopt near infrared spectrum or high spectrum, the analysis technology of the spectra is mature, information of hydrogen-containing groups such as C-O, O-H, N-H, S-H, P-H and the like is recorded, the detection on different groups is very accurate, the method is very suitable for detecting organic matters, and qualitative and quantitative identification can be carried out on food. And analyzing the spectral data according to the spectral mathematical model to obtain the type information of the food materials, and establishing the spectral mathematical modeling, wherein the establishing of the spectral mathematical modeling comprises a plurality of stages of scanning, identifying and collecting data, identifying background information of the food, measuring chemical values of various substances and components in the food, removing abnormal values, selecting a proper spectral region, selecting a proper algorithm and parameters to perform modeling, checking and calibrating a model and the like, so that the spectral data can accurately correspond to the type information of the food materials through the spectral information.
Further, the step of determining whether the storage mode of the food material is reasonable according to the type information and the weight information includes:
acquiring standard set weight corresponding to the category information;
and when the weight information is larger than the standard set weight, judging that the storage mode of the food material is unreasonable.
The standard set weight is the weight corresponding to the maximum placing number of the food materials kept at a certain distance, and when the actually placed weight information is heavier than the weight, the food materials are judged to be stored too densely, so that the storage mode is unreasonable.
Further, the step of "acquiring the standard set weight corresponding to the category information" includes:
determining a standard unit weight per unit area based on the category information;
and determining the standard set weight according to the standard unit weight and the area of the set area.
The standard unit weight of the unit area can be the weight of the food materials which can be placed in one square meter at a certain distance, the areas of the set areas of different refrigerators can be different, and the maximum weight of the food materials which can be placed in the set areas at a certain ventilation interval in the area can be judged by comparing the actual areas of the set areas, namely the standard set weight.
Further, the method also comprises the following steps:
and when the weight information is greater than the standard set weight, increasing the refrigerating power of the refrigerator.
When the weight is too large, the actual situation is that the food is stacked too much, the temperature of the central area is high, the temperature cannot be reduced all the time, and the food is easy to deteriorate, and under the condition that the weight is too large and the placing mode is not changed by a user, the refrigerating power of the refrigerator is increased, and the temperature of the central position can be reduced.
Further, the method also comprises the following steps:
and when the storage mode of the food material is unreasonable, sending unreasonable information to a user side.
The refrigerator is more convenient to send the result to the user after the refrigerator is analyzed, when the judgment result is unreasonable, the result is sent to the user side, the user side can be the mobile phone of the user, and the refrigerator uploads the determined information to be supplemented to the server and then the information is sent to the mobile phone of the user.
Further, the step of determining whether the storage mode of the food material is reasonable according to the type information and the weight information includes:
and when the type information is a plurality of types, judging whether the food materials of the plurality of types are suitable to be stored together.
As mentioned in the background art, different foods are put together to suppress or promote maturity, and when there are a plurality of detection types, different analyses are required depending on the conditions of the food materials.
Further, the step of determining whether a plurality of types of the food materials are suitable to be stored together when the type information is a plurality of types may further include:
when the variety information is multiple, acquiring suitable storage environment information of the food material of each variety;
and judging the difference between the plurality of pieces of information of the suitable storage environments, and judging that the information of the suitable storage environments are not suitable for storage together when the difference value of at least two pieces of information of the suitable storage environments is larger than a set value.
When the difference value of the two pieces of suitable storage environment information is larger than the set value, one piece of suitable storage temperature is higher, the other piece of suitable storage temperature is lower, or the ethylene amount and the humidity value are inconsistent in other aspects, and whether the food materials are suitable for being stored together can be further judged by accurately identifying the food materials through spectral analysis.
Further, the step of determining whether a plurality of types of the food materials are suitable to be stored together when the type information is a plurality of types may further include:
when the variety information is multiple, acquiring an ethylene release amount and an ethylene environment growth value of the food material of each variety, and acquiring an ethylene release standard value and an ethylene environment growth standard value;
when different types of food materials are put together for preservation, various possibilities exist in different aspects, for example, the food materials do not have the function of inhibiting or promoting the maturity, the ethylene release amount of different types of apples under the mature condition is different, for example, the ethylene release amount of red star apples is larger than that of Jona apples, when the mature speed of other fruits put together with the apples needs to be delayed, the red star apples are not suitable for being put together with other fruits, but the red star apples can be put together when the other fruits need to be promoted to be mature, at the moment, the variety of the apples can be further judged through spectral analysis, and whether the apples of the variety are suitable for being put together with other foods or not.
And when at least two food materials with the ethylene release amount larger than the standard ethylene release value and the ethylene environment growth value larger than the standard ethylene environment growth value are contained, judging that the food materials are not suitable for being stored together.
Further, the step of determining whether a plurality of types of the food materials are suitable to be stored together when the type information is a plurality of types may further include:
when the type information is multiple, acquiring incompatible coexistence information, wherein the incompatible coexistence information comprises multiple groups of incompatible coexistence food material combination information;
and when the plurality of kinds of information completely cover any group of the food material combination information, judging that the food material combination information is not suitable for being stored together.
Different edible materials are put together and probably produce not good influence, unsuitable coexistence information can cover the edible material combined information of the unsuitable coexistence of multiunit, for example the food such as egg and spring onions ginger that smell is big is put together not good, make the egg go bad easily in the gas pocket that strong smell got into the egg, this edible material combined information is egg and spring onions, and egg and ginger, after the position of putting of spectral analysis storage food, if discover behind a plurality of kinds of information included egg and spring onions or egg and ginger, then judge the mode of placing unreasonable, send the suggestion, this suggestion can be through pronunciation or through the display screen demonstration, tell the user and place better with what kind of suitable mode.
In addition, the refrigerator can be at every turn the refrigerator door open back and whether can concentrate to place and judge food, stop detecting after judging no problem, judge again until next time the refrigerator door is opened, be in under the closed condition all the time when the refrigerator door, the inside article of refrigerator can not produce the change, only can take place after the refrigerator door is opened, reduce like this and judge the number of times, energy-conservation and high-efficient.
After the type of the food material is detected through spectral analysis, the storage characteristic parameters which are consistent with the food are selected, the storage characteristic parameters can be stored in a control system, and the temperature and the humidity in the refrigerating chamber are adjusted according to the characteristics of the food in a targeted manner, so that the temperature and the humidity meet the storage requirement of the food material as much as possible.
Further, an embodiment of the present invention provides a refrigerator, including a memory 4 and a processor 3, where the memory 4 stores a computer program executable on the processor 3, and further includes:
the spectrum scanner 1 is used for scanning food materials in a set area of the refrigerator to obtain spectrum data;
the spectrum analysis module 2 is used for analyzing the spectrum data and judging the type information of the food materials;
the receiving module 5 is used for acquiring weight information of food materials in the set area;
when the processor 3 executes the computer program, any one of the steps of the food material storage method of the refrigerator described above can be implemented, that is, the steps of any one of the technical solutions of the food material storage method of the refrigerator described above can be implemented.
Further, an embodiment of the present invention provides a storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program can implement any one of the steps in the food material storage method for a refrigerator, that is, the steps in any one of the technical solutions in the food material storage method for a refrigerator.
Compared with the prior art, the embodiment has the following beneficial effects:
monitoring the storage of food, whether the mode of placing that detects food is suitable, whether spectral analysis and weight analysis are carried out to the setting region of placing of analysis food, can analyze whether too concentrated on food place, lead to avoiding the intermediate position high temperature, whether can analyze different food and suitably concentrate and place, prevent to bring not good influence to the growth inhibition or the promotion effect of food, perhaps lead to unsuitable concentrated the placing because of other reasons, because do not master the puzzlement of relevant knowledge when having solved the user and placing food, user's learning cost has been reduced, make the intelligent degree of refrigerator higher, satisfy the demand of intelligent family.
The detailed description set forth above is merely a specific description of possible embodiments of the present invention and is not intended to limit the scope of the invention, which is intended to include within the scope of the invention equivalent embodiments or modifications that do not depart from the technical spirit of the present invention.