CN108982782B - Food deterioration detection method and device, mobile terminal and storage medium - Google Patents
Food deterioration detection method and device, mobile terminal and storage medium Download PDFInfo
- Publication number
- CN108982782B CN108982782B CN201810669047.5A CN201810669047A CN108982782B CN 108982782 B CN108982782 B CN 108982782B CN 201810669047 A CN201810669047 A CN 201810669047A CN 108982782 B CN108982782 B CN 108982782B
- Authority
- CN
- China
- Prior art keywords
- deterioration
- food
- current
- detected
- value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000006866 deterioration Effects 0.000 title claims abstract description 272
- 235000013305 food Nutrition 0.000 title claims abstract description 239
- 238000001514 detection method Methods 0.000 title claims abstract description 42
- 238000000034 method Methods 0.000 claims abstract description 18
- 238000004590 computer program Methods 0.000 claims description 9
- 239000003086 colorant Substances 0.000 claims description 6
- 238000004887 air purification Methods 0.000 claims description 5
- 230000001737 promoting effect Effects 0.000 claims description 4
- 230000008786 sensory perception of smell Effects 0.000 abstract description 6
- 239000007789 gas Substances 0.000 description 44
- 238000003384 imaging method Methods 0.000 description 9
- 230000007797 corrosion Effects 0.000 description 4
- 238000005260 corrosion Methods 0.000 description 4
- QGZKDVFQNNGYKY-UHFFFAOYSA-N Ammonia Chemical compound N QGZKDVFQNNGYKY-UHFFFAOYSA-N 0.000 description 3
- 238000004140 cleaning Methods 0.000 description 3
- 239000002699 waste material Substances 0.000 description 3
- VGGSQFUCUMXWEO-UHFFFAOYSA-N Ethene Chemical compound C=C VGGSQFUCUMXWEO-UHFFFAOYSA-N 0.000 description 2
- 239000005977 Ethylene Substances 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 229910021529 ammonia Inorganic materials 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N33/00—Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
- G01N33/02—Food
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F25—REFRIGERATION OR COOLING; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS; MANUFACTURE OR STORAGE OF ICE; LIQUEFACTION SOLIDIFICATION OF GASES
- F25D—REFRIGERATORS; COLD ROOMS; ICE-BOXES; COOLING OR FREEZING APPARATUS NOT OTHERWISE PROVIDED FOR
- F25D29/00—Arrangement or mounting of control or safety devices
- F25D29/003—Arrangement or mounting of control or safety devices for movable devices
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/17—Systems in which incident light is modified in accordance with the properties of the material investigated
- G01N21/25—Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F25—REFRIGERATION OR COOLING; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS; MANUFACTURE OR STORAGE OF ICE; LIQUEFACTION SOLIDIFICATION OF GASES
- F25D—REFRIGERATORS; COLD ROOMS; ICE-BOXES; COOLING OR FREEZING APPARATUS NOT OTHERWISE PROVIDED FOR
- F25D2500/00—Problems to be solved
- F25D2500/04—Calculation of parameters
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F25—REFRIGERATION OR COOLING; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS; MANUFACTURE OR STORAGE OF ICE; LIQUEFACTION SOLIDIFICATION OF GASES
- F25D—REFRIGERATORS; COLD ROOMS; ICE-BOXES; COOLING OR FREEZING APPARATUS NOT OTHERWISE PROVIDED FOR
- F25D2500/00—Problems to be solved
- F25D2500/06—Stock management
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- General Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- Food Science & Technology (AREA)
- Pathology (AREA)
- Immunology (AREA)
- Analytical Chemistry (AREA)
- Biochemistry (AREA)
- Mechanical Engineering (AREA)
- Combustion & Propulsion (AREA)
- General Engineering & Computer Science (AREA)
- Thermal Sciences (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Medicinal Chemistry (AREA)
- Cold Air Circulating Systems And Constructional Details In Refrigerators (AREA)
Abstract
The invention provides a food deterioration detection method, a device, a mobile terminal and a storage medium, wherein the method comprises the following steps: acquiring current quality parameters of food to be detected in the refrigerator, wherein the current quality parameters comprise at least one of odor parameters, weight parameters or image parameters; according to the current quality parameters, performing deterioration judgment on the food to be detected to obtain a current deterioration grade, wherein the current deterioration grade is used for describing the deterioration degree of the food to be detected; when the current deterioration grade is larger than the deterioration grade threshold value, a deterioration alarm is sent, deterioration judgment of food to be detected is automatically carried out through acquisition of current quality parameters, and then the food deterioration detection is not required to be actively carried out through olfaction or vision of a user, so that the detection efficiency is effectively improved, detection errors caused by subjective judgment of the user are prevented, the user experience is improved, and in addition, deterioration prompt can be timely carried out on the user through the design of the deterioration alarm, and the user experience is further improved.
Description
Technical Field
The invention relates to the technical field of food detection, in particular to a food deterioration detection method and device, a mobile terminal and a storage medium.
Background
The refrigerator has been invented for decades, the storage space of the existing refrigerator is larger and larger, the storage function is more and more, and when a user uses the refrigerator, a plurality of fresh foods are stored in the refrigerator. This is accompanied by the problem that many users often forget the shelf life of various foods placed in the refrigerator, and often wait until it is found that severe spoilage of foods is found, that is, late, and cannot eat them. Not only is the spoiled food discarded and wasted, but also the gases such as ethylene and ammonia emitted by the spoiled food accelerate the spoilage of other foods in the cabin, thus causing more waste.
The existing food deterioration detection method judges whether food is deteriorated or not through subjective olfaction judgment and visual judgment of a user, and further leads to complicated operation of the user due to the fact that the user needs to actively judge whether the food is deteriorated, and user experience is reduced.
Disclosure of Invention
In view of the above, an object of the embodiments of the present invention is to provide a food deterioration detection method, device, mobile terminal, and storage medium for automatically determining the deterioration of food.
In a first aspect, the present invention provides a method for detecting food deterioration, the method comprising:
acquiring current quality parameters of food to be detected in the refrigerator, wherein the current quality parameters comprise at least one of odor parameters, weight parameters or image parameters;
according to the current quality parameters, performing deterioration judgment on the food to be detected to obtain a current deterioration grade, wherein the current deterioration grade is used for describing the deterioration degree of the food to be detected;
and when the current deterioration grade is greater than the deterioration grade threshold value, giving out a deterioration alarm.
According to the food deterioration detection method, deterioration judgment of the food to be detected is automatically carried out through acquisition of the current quality parameters, so that the food deterioration detection is not required to be actively carried out through olfaction or vision of a user, the detection efficiency is effectively improved, the detection error caused by subjective judgment of the user is prevented, the user experience is improved, and the deterioration prompt can be timely carried out on the user through the design of deterioration alarm, so that the user experience is further improved.
Further, the step of determining the deterioration of the food to be detected according to the current quality parameters comprises:
acquiring a current gas concentration value of the odor parameter in the current quality parameters;
when the current gas concentration value is judged not to be in the preset concentration value range, marking the food to be detected as slightly deteriorated, wherein the deterioration grade of the slight deterioration is larger than the deterioration grade threshold value;
obtaining a current weight value of the weight parameter in the current quality parameter;
when the current weight value is judged not to be in the preset weight value range, the deterioration mark of the food to be detected is promoted, and the mild deterioration is promoted to be moderate deterioration;
acquiring a current RGB value of the image parameter in the current quality parameter, wherein the current RGB value is an average value of image colors in a preset area in the image parameter;
and when the current RGB value is judged not to be in the preset RGB value range, the deterioration mark of the food to be detected is promoted, and the moderate deterioration is severe deterioration after being promoted.
Further, the step of issuing a deterioration alarm comprises:
respectively acquiring food information and the current deterioration grade of the food to be detected, and displaying the food information and the current deterioration grade on the refrigerator, wherein the food information comprises a food name and food position information, and the food position information is a position coordinate of the food to be detected in the refrigerator;
and acquiring a target mobile phone number stored locally, and sending the current deterioration grade and the food information to the target mobile phone number in a short message mode.
Further, after the step of issuing a deterioration alarm, the method further comprises;
when the food to be detected is judged to be cleaned, acquiring smell information in the refrigerator, and judging whether harmful gas exists in the smell information;
and if so, carrying out air purification treatment on the refrigerator.
Further, the step of determining the deterioration of the food to be detected according to the current quality parameters further includes:
obtaining a current concentration difference value between a current gas concentration value and the preset concentration value range, and directly marking the food to be detected as the severe deterioration when judging that the absolute value of the current concentration difference value is greater than a concentration threshold value;
obtaining a current weight difference value between the current weight value and the preset weight value range, and directly marking the food to be detected as the severe deterioration when judging that the absolute value of the current weight difference value is greater than a weight threshold value;
and acquiring a current color difference value between the current RGB value and the preset RGB value range, and directly marking the food to be detected as the severe deterioration when the absolute value of the current color difference value is judged to be larger than a color threshold value.
In a second aspect, the present invention provides a food deterioration detection apparatus, comprising:
the system comprises an acquisition module, a detection module and a processing module, wherein the acquisition module is used for acquiring current quality parameters of food to be detected in the refrigerator, and the current quality parameters comprise at least one of odor parameters, weight parameters or image parameters;
the judging module is used for judging the deterioration of the food to be detected according to the current quality parameters to obtain a current deterioration grade, and the current deterioration grade is used for describing the deterioration degree of the food to be detected;
and the alarm module is used for giving out deterioration alarm when the current deterioration grade is greater than the deterioration grade threshold value.
Above-mentioned food detection device that deteriorates, through it is right to acquire the module current quality parameter, the effectual assurance the decision module is right treat the rotten accuracy of judging of food, and then need not the initiative of user and carry out food rotten detection through sense of smell or vision, the effectual detection efficiency that has improved, and prevented because the detection mistake that the subjective judgement of user leads to has improved user experience, and pass through the design that deterioration reported to the police and sent among the alarm module, can be timely go on rotten suggestion to the user, further improved user's experience.
Further, the determination module includes:
the first acquisition unit is used for acquiring the current gas concentration value of the odor parameter in the current quality parameter;
the first marking module is used for marking the food to be detected as slightly deteriorated according to the acquisition result of the first acquisition unit when the current gas concentration value is judged not to be within the preset concentration value range, and the deterioration grade of the slight deterioration is larger than the deterioration grade threshold value;
a second obtaining unit, configured to obtain a current weight value of the weight parameter in the current quality parameter;
the second marking unit is used for promoting the deterioration mark of the food to be detected when the current weight value is judged not to be within the preset weight value range according to the acquisition result of the second acquisition unit, and the mild deterioration is moderate deterioration after being promoted;
a third obtaining unit, configured to obtain a current RGB value of the image parameter in the current quality parameter, where the current RGB value is an average value of image colors in a preset region in the image parameter;
and the third marking unit is used for promoting the deterioration mark of the food to be detected when the current RGB value is judged not to be in the preset RGB value range according to the acquisition result of the third acquisition unit, and the moderate deterioration is severe deterioration after being promoted.
Further, the alarm module includes:
the display unit is used for respectively acquiring food information and the current deterioration grade of the food to be detected, and displaying the food information and the current deterioration grade on the refrigerator, wherein the food information comprises food names and food position information, and the food position information is position coordinates of the food to be detected in the refrigerator;
and the short message sending unit is used for acquiring a locally stored target mobile phone number and sending the current deterioration grade and the food information to the target mobile phone number in a short message mode.
In a third aspect, the present invention provides a mobile terminal, comprising a memory for storing a computer program and a processor for executing the computer program to make the mobile terminal execute the above-mentioned food deterioration detection method.
In a fourth aspect, the present invention provides a storage medium having stored thereon a computer program for use in the above-described mobile terminal.
Drawings
FIG. 1 is a flow chart of a method for detecting deterioration of food according to a first embodiment of the present invention;
FIG. 2 is a flow chart of a method for detecting deterioration of food according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a food deterioration detection apparatus according to a third embodiment of the present invention.
Detailed Description
In order to facilitate a better understanding of the invention, the invention will be further explained below with reference to the accompanying drawings of embodiments. Embodiments of the present invention are shown in the drawings, but the present invention is not limited to the preferred embodiments described above. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
The embodiment of the invention aims to provide a food deterioration detection method which is applied to the deterioration judgment of food in a refrigerator. In particular, when a user uses a refrigerator, a large number of fresh foods are generally stored in the refrigerator. This is accompanied by the problem that many users often forget the shelf life of various foods placed in the refrigerator, and often wait until it is found that severe spoilage of foods is found, that is, late, and cannot eat them. The spoilage waste of the spoiled food is caused, meanwhile, the spoilage of other foods in the cabin is accelerated by gases such as ethylene and ammonia gas emitted by the spoiled food, and the greater waste is caused.
In order to solve the technical problems of the existing food deterioration detection method, the embodiment of the invention aims to automatically acquire the current quality parameters of the food to be detected, judge whether the food to be detected is deteriorated or not based on the analysis of the current quality parameters, and send out a deterioration alarm to prompt a user when the food to be detected is judged to be deteriorated, so that the subjective judgment of the user on the deterioration of the food is not needed, and the user experience is effectively improved.
Referring to fig. 1, a flowchart of a food deterioration detection method according to a first embodiment of the present invention includes steps S10 to S30.
Step S10, acquiring the current quality parameters of the food to be detected in the refrigerator;
the current quality parameters comprise at least one of odor parameters, weight parameters or image parameters, and the odor, weight or color of the food can be changed in the deterioration process, so that whether the food is deteriorated or not is judged through the change of the odor parameters, the weight parameters or the image parameters, and further, the user does not need to actively judge the smell or vision of the food, so that the user experience is improved.
Specifically, in this embodiment, the odor parameters are acquired through the VOC gas detection module to ensure accuracy of the odor parameters, the weight parameters are acquired through the weight sensor, and the image parameters are acquired by shooting images through the camera.
Step S20, performing deterioration judgment on the food to be detected according to the current quality parameters to obtain a current deterioration grade, wherein the current deterioration grade is used for describing the deterioration degree of the food to be detected;
specifically, in this embodiment, the obtained current quality parameter is compared with a locally stored deterioration parameter table to determine the deterioration level, and various parameter information of various types of food after deterioration, such as a gas concentration change generated after the food is deteriorated, a weight change of the food, or a color change of the food due to corrosion, is stored in the deterioration parameter table in advance.
Step S30, when the current deterioration grade is larger than the deterioration grade threshold value, a deterioration alarm is sent out;
in the embodiment, the current deterioration grade is used for describing the deterioration degree of the food to be detected, so whether deterioration alarm is performed or not is judged according to the current deterioration grade and the deterioration grade threshold, and the deterioration grade threshold is a deterioration degree parameter preset by a user.
Specifically, the deterioration alarm in this embodiment may be sent based on a mobile phone short message, that is, when it is determined that the current deterioration level is greater than the deterioration level threshold, a short message is sent to a target mobile phone number pre-stored by the user, so as to prompt the user that the food to be detected in the refrigerator is deteriorated.
Preferably, in the present embodiment, the food is judged to have four grades, i.e., no deterioration, light deterioration, moderate deterioration, and severe deterioration (rotting), wherein:
slight deterioration to gas concentration: normal standard concentration < voc concentration < X%, weight: between a and b, imaging: degree of color image variation;
moderate deterioration is gas concentration: x% < voc concentration < Y%, weight: c-d, imaging: degree of color image variation;
severe deterioration is gas concentration: voc concentration > Y%, weight: e to f, imaging: degree of color image variation;
in the above description, the normal standard concentration, X%, Y%, a, b, c, d, e, f and the degree of color image change are all set by the user in advance, and in addition, different alarms can be given through different deterioration degrees of the food to be detected in the embodiment, so that the user can conveniently and intuitively know the deterioration state of the food to be detected.
In the embodiment, the current quality parameters are acquired to automatically perform deterioration judgment of the food to be detected, so that the deterioration of the food is detected without the initiative of a user through smell or vision, the detection efficiency is effectively improved, the detection error caused by subjective judgment of the user is prevented, the user experience is improved, and through the design of deterioration alarm, deterioration prompt can be timely performed on the user, and the user experience is further improved.
Referring to fig. 2, a flowchart of a food deterioration detection method according to a second embodiment of the present invention is shown, the method including steps S11 to S81.
Step S11, acquiring the current quality parameters of the food to be detected in the refrigerator;
the current quality parameters comprise at least one of odor parameters, weight parameters or image parameters, and the odor, weight or color of the food can be changed in the deterioration process, so that whether the food is deteriorated or not is judged through the change of the odor parameters, the weight parameters or the image parameters, and further, the user does not need to actively judge the smell or vision of the food, so that the user experience is improved.
Specifically, in this embodiment, the odor parameters are acquired through a VOC gas detection module to ensure accuracy of the odor parameters, the weight parameters are acquired through a weight sensor, and the image parameters are acquired through image shooting through a camera;
step S21, obtaining a current gas concentration value of the odor parameter in the current quality parameters, and marking the food to be detected as slightly deteriorated when the current gas concentration value is judged not to be in a preset concentration value range;
in the embodiment, the deterioration grade of the mild deterioration is greater than the deterioration grade threshold, the deterioration mark of the food to be detected is marked and stored in a numerical marking mode, that is, the marking value of the deterioration grade threshold is 0, and the numerical mark corresponding to the mild deterioration is 1, so that the subsequent expression of the deterioration degree of the food to be detected is effectively facilitated, and a user can visually know the deterioration degree of the food to be detected;
specifically, in this embodiment, the obtained current quality parameter is compared with a locally stored deterioration parameter table to determine the deterioration level, and various parameter information of various types of food after deterioration, such as a gas concentration change generated after the food is deteriorated, a weight change of the food, or a color change of the food due to corrosion, is stored in the deterioration parameter table in advance.
In addition, it should be noted that, when it is determined in step S21 that the current gas concentration value is within the preset concentration value range, the deterioration flag of the food to be detected is 0, and no deterioration occurs.
Step S31, obtaining the current weight value of the weight parameter in the current quality parameter, and when the current weight value is judged not to be in the preset weight value range, improving the deterioration mark of the food to be detected;
wherein the mild deterioration is improved to be moderate deterioration, and the numerical value corresponding to the moderate deterioration is marked as 2;
specifically, when the current gas concentration value is not within the preset concentration value range in the step S21 and the current weight value is not within the preset weight value range in the step S31, the deterioration flag of the food to be detected is adjusted to 2, that is, the food to be detected is moderately deteriorated;
when the current gas concentration value is judged to be in the preset concentration value range in the step S21 and the current weight value is judged to be not in the preset weight value range in the step S31, the deterioration mark of the food to be detected is adjusted to 1, namely the food to be detected is slightly deteriorated;
and when the current gas concentration value is judged to be in the preset concentration value range in the step S21 and the current weight value is judged to be in the preset weight value range in the step S31, the deterioration mark of the food to be detected is 0.
Step S41, acquiring the current RGB value of the image parameter in the current quality parameter, and when judging that the current RGB value is not in the range of the preset RGB value, improving the deterioration mark of the food to be detected;
the current RGB value is the average value of image colors in a preset area in the image parameters, the moderate metamorphism is severe metamorphism after being promoted, and the sign of the severe metamorphism is a numerical value 3;
specifically, when the step S21 determines that the current gas concentration value is not within the preset concentration value range, the step S31 determines that the current weight value is not within the preset weight value range, and the step S41 determines that the current RGB value is not within the preset RGB value range, the deterioration flag of the food to be detected is adjusted to 3, that is, the food to be detected is severely deteriorated;
when the current gas concentration value is judged to be in the preset concentration value range in the step S21, the current weight value is judged not to be in the preset weight value range in the step S31, and the current RGB value is judged not to be in the preset RGB value range in the step S41, the deterioration flag of the food to be detected is adjusted to 2, that is, the food to be detected is moderately deteriorated;
when the step S21 determines that the current gas concentration value is not within the preset concentration value range, the step S31 determines that the current weight value is within the preset weight value range, and the step S41 determines that the current RGB value is not within the preset RGB value range, the deterioration flag of the food to be detected is adjusted to 2, that is, the food to be detected is moderately deteriorated;
it is understood that when only one of the steps S21, S31 and S41 determines that the value to be determined is within the preset range, the food to be detected is slightly deteriorated.
In addition, in the present embodiment, the food is judged on four grades, i.e., no deterioration, light deterioration, moderate deterioration, and severe deterioration (rotting), respectively, wherein:
slight deterioration to gas concentration: normal standard concentration < voc concentration < X%, weight: between a and b, imaging: degree of color image variation;
moderate deterioration is gas concentration: x% < voc concentration < Y%, weight: c-d, imaging: degree of color image variation;
severe deterioration is gas concentration: voc concentration > Y%, weight: e to f, imaging: degree of color image variation;
in the above description, the normal standard density, X%, Y%, a, b, c, d, e, f, and the degree of color image change are set by the user in advance.
Preferably, the steps between step S21 and step S41 further include:
obtaining a current concentration difference value between a current gas concentration value and the preset concentration value range, and directly marking the food to be detected as the severe deterioration when judging that the absolute value of the current concentration difference value is greater than a concentration threshold value;
obtaining a current weight difference value between the current weight value and the preset weight value range, and directly marking the food to be detected as the severe deterioration when judging that the absolute value of the current weight difference value is greater than a weight threshold value;
and acquiring a current color difference value between the current RGB value and the preset RGB value range, and directly marking the food to be detected as the severe deterioration when the absolute value of the current color difference value is judged to be larger than a color threshold value.
Step S51, acquiring the marked current deterioration grade of the food to be detected, and acquiring the food information of the food to be detected when the current deterioration grade is larger than a deterioration grade threshold value;
the food information comprises food names and food position information, and the food position information is position coordinates of the food to be detected in the refrigerator.
Step S61, displaying the food information and the current quality change grade on the refrigerator, acquiring a locally stored target mobile phone number, and sending the current quality change grade and the food information to the target mobile phone number in a short message manner;
specifically, through will food information with the current qualitative change grade is in the design that shows is carried out on the refrigerator, and then can be audio-visual through showing that the characters suggestion user corresponds regional food and has taken place rotten, made things convenient for the user to the understanding of food state, improved user experience, and give target cell-phone number through sending the SMS in this embodiment to make timely warning user right correspond food in the refrigerator and clear up.
Preferably, in this embodiment, the food to be detected is further subjected to image shooting through the camera, and the shot image is displayed on the refrigerator, so that the user can visually check the corrosion state of the food to be detected.
Step S71, when the food to be detected is judged to be cleaned, the odor information in the refrigerator is obtained, and whether harmful gas exists in the odor information is judged;
the method comprises the following steps of shooting a picture by a camera to judge whether a user finishes cleaning the food to be detected, and preferably judging whether the cleaning of the food to be detected is finished or not by judging whether a cleaning finishing instruction aiming at the food to be detected is received or not in the step. Specifically, whether harmful gas is generated in the refrigerator due to deterioration of the food to be detected is judged through acquisition of the smell information.
When it is determined in step S71 that there is harmful gas in the smell information, step S81 is performed.
Step S81, performing air purification processing on the refrigerator;
when the step S71 judges that harmful gas exists in the refrigerator, the air purification treatment of the refrigerator is controlled to be started to prevent the harmful gas from corroding or invading other foods.
Preferably, in this embodiment, after the refrigerator is purified, if the presence of the odor or the harmful gas is detected, the standard concentration value of the air in the refrigerator is reset (generally, the standard concentration is influenced possibly because the size of the fresh food area of the refrigerator or the use time of the refrigerator is related).
In the embodiment, whether the food to be detected is deteriorated or not is automatically judged according to three dimensions of gas concentration, weight change range and shot food change condition, so that the food deterioration detection through olfaction or vision actively performed by a user is not needed, the detection efficiency is effectively improved, the detection error caused by subjective judgment of the user is prevented, the user experience is improved, in addition, through the design of deterioration alarm, the synchronous internet is connected and interacted with a mobile phone, the food material condition in a refrigerator can also be known, the deterioration prompt can be timely performed on the user, and the user experience is further improved.
Referring to fig. 3, a schematic structural diagram of a food deterioration detection apparatus according to a third embodiment of the present invention includes:
the obtaining module 10 is configured to obtain a current quality parameter of food to be detected in the refrigerator, where the current quality parameter includes at least one of an odor parameter, a weight parameter, or an image parameter, and the current quality parameter includes at least one of an odor parameter, a weight parameter, or an image parameter.
Specifically, in this embodiment, the odor parameters are acquired through the VOC gas detection module to ensure accuracy of the odor parameters, the weight parameters are acquired through the weight sensor, and the image parameters are acquired by shooting images through the camera.
The determining module 20 is configured to perform deterioration determination on the food to be detected according to the current quality parameter to obtain a current deterioration level, where the current deterioration level is used to describe a deterioration degree of the food to be detected, specifically, in this embodiment, the obtained current quality parameter is compared with a locally stored deterioration parameter table to determine the deterioration level, and various parameter information after deterioration of various types of food is stored in the deterioration parameter table in advance, for example, a gas concentration change generated after deterioration of the food, a change in weight of the food, or a color change caused by corrosion of the food itself.
The alarm module 30 is configured to issue a deterioration alarm when the current deterioration level is greater than a deterioration level threshold, wherein the current deterioration level is used to describe a deterioration degree of the food to be detected, so that in this embodiment, whether the deterioration alarm is performed is determined according to the current deterioration level and the deterioration level threshold, and the deterioration level threshold is a deterioration degree parameter preset by a user.
Specifically, the deterioration alarm in this embodiment may be sent based on a mobile phone short message, that is, when it is determined that the current deterioration level is greater than the deterioration level threshold, a short message is sent to a target mobile phone number pre-stored by the user, so as to prompt the user that the food to be detected in the refrigerator is deteriorated.
Preferably, in the present embodiment, the food is judged to have four grades, i.e., no deterioration, light deterioration, moderate deterioration, and severe deterioration (rotting), wherein:
slight deterioration to gas concentration: normal standard concentration < voc concentration < X%, weight: between a and b, imaging: degree of color image variation;
moderate deterioration is gas concentration: x% < voc concentration < Y%, weight: c-d, imaging: degree of color image variation;
severe deterioration is gas concentration: voc concentration > Y%, weight: e to f, imaging: degree of color image variation;
in the above description, the normal standard concentration, X%, Y%, a, b, c, d, e, f and the degree of color image change are all set by the user in advance, and in addition, different alarms can be given through different deterioration degrees of the food to be detected in the embodiment, so that the user can conveniently and intuitively know the deterioration state of the food to be detected.
The judging module 40 is used for acquiring the smell information in the refrigerator after the food to be detected is judged to be cleaned, and judging whether harmful gas exists in the smell information; and if so, carrying out air purification treatment on the refrigerator.
Further, the determination module 20 includes:
a first obtaining unit 21, configured to obtain a current gas concentration value of the odor parameter in the current quality parameters;
the first marking module 22 is configured to mark the food to be detected as slightly rotten according to the acquisition result of the first acquiring unit 21 when it is determined that the current gas concentration value is not within a preset concentration value range, where a deterioration level of the slightly rotten food is greater than the deterioration level threshold;
a second obtaining unit 23, configured to obtain a current weight value of the weight parameter in the current quality parameter;
the second marking unit 24 is configured to, according to the obtaining result of the second obtaining unit 23, raise the deterioration mark of the food to be detected when it is determined that the current weight value is not within the preset weight value range, where the mild deterioration is moderate deterioration after being raised;
a third obtaining unit 25, configured to obtain a current RGB value of the image parameter in the current quality parameter, where the current RGB value is an average value of image colors in a preset region in the image parameter;
and a third marking unit 26, configured to, according to an acquisition result of the third acquiring unit 25, raise a deterioration mark of the food to be detected when it is determined that the current RGB value is not within the preset RGB value range, where the moderate deterioration is severe deterioration after being raised.
The fourth marking unit 27 is configured to obtain a current concentration difference value between the current gas concentration value and the preset concentration value range, and directly mark the food to be detected as the severe deterioration when it is determined that an absolute value of the current concentration difference value is greater than a concentration threshold;
a fifth marking unit 28, configured to obtain a current weight difference between the current weight value and the preset weight value range, and directly mark the food to be detected as the severe deterioration when it is determined that an absolute value of the current weight difference is greater than a weight threshold;
and a sixth marking unit 29, configured to obtain a current color difference between the current RGB value and the preset RGB value range, and directly mark the food to be detected as the severe deterioration when it is determined that the absolute value of the current color difference is greater than a color threshold.
Further, the alarm module 30 includes:
the display unit 31 is configured to obtain food information and the current deterioration grade of the food to be detected, and display the food information and the current deterioration grade on the refrigerator, where the food information includes a food name and food position information, and the food position information is a position coordinate of the food to be detected in the refrigerator;
and the short message sending unit 32 is used for acquiring a locally stored target mobile phone number and sending the current deterioration grade and the food information to the target mobile phone number in a short message mode.
Above-mentioned food deterioration detection device 100, through it is right to acquire module 10 current quality parameter, the effectual assurance judge module 20 to wait the rotten accuracy of judging of food, and then need not the initiative of user and carry out food rotten detection through sense of smell or vision, the effectual detection efficiency that has improved, and prevented because the detection error that the subjective judgement of user leads to has improved user experience, and through the design that deterioration reported to the police and sent in alarm module 30, can be timely go on rotten suggestion to the user, further improved user's experience.
The embodiment also provides a mobile terminal, which comprises a memory and a processor, wherein the memory is used for storing a computer program, and the processor runs the computer program to enable the mobile terminal to execute the food deterioration detection method.
The present embodiment also provides a storage medium on which a computer program used in the above-mentioned mobile terminal is stored, which when executed, includes the steps of:
acquiring current quality parameters of food to be detected in the refrigerator, wherein the current quality parameters comprise at least one of odor parameters, weight parameters or image parameters;
according to the current quality parameters, performing deterioration judgment on the food to be detected to obtain a current deterioration grade, wherein the current deterioration grade is used for describing the deterioration degree of the food to be detected;
and when the current deterioration grade is greater than the deterioration grade threshold value, giving out a deterioration alarm. The storage medium, such as: ROM/RAM, magnetic disk, optical disk, etc.
The above-described embodiments describe the technical principles of the present invention, and these descriptions are only for the purpose of explaining the principles of the present invention and are not to be construed as limiting the scope of the present invention in any way. Based on the explanations herein, those skilled in the art will be able to conceive of other embodiments of the present invention without inventive effort, which would fall within the scope of the present invention.
Claims (8)
1. A method for detecting deterioration of a food product, the method comprising:
acquiring current quality parameters of food to be detected in the refrigerator, wherein the current quality parameters comprise odor parameters, weight parameters and image parameters;
the food to be detected is subjected to deterioration judgment according to the current quality parameter to obtain a current deterioration grade, the current deterioration grade is used for describing the deterioration degree of the food to be detected, the obtained current quality parameter is compared with a locally stored deterioration parameter table to judge the deterioration grade, various parameter information of various foods after deterioration is stored in the deterioration parameter table in advance, and the method specifically comprises the following steps:
acquiring a current gas concentration value of the odor parameter in the current quality parameters;
when the current gas concentration value is judged not to be in the preset concentration value range, marking the food to be detected as slightly deteriorated, wherein the deterioration grade of the slight deterioration is larger than the deterioration grade threshold value;
obtaining a current weight value of the weight parameter in the current quality parameter;
when the current weight value is judged not to be in the preset weight value range, the deterioration mark of the food to be detected is promoted, and the mild deterioration is promoted to be moderate deterioration;
acquiring a current RGB value of the image parameter in the current quality parameter, wherein the current RGB value is an average value of image colors in a preset area in the image parameter;
when the current RGB value is judged not to be in the preset RGB value range, the deterioration mark of the food to be detected is promoted, and the moderate deterioration is severe deterioration after being promoted;
and when the current deterioration grade is greater than the deterioration grade threshold value, giving out a deterioration alarm.
2. The method of claim 1, wherein the step of issuing a deterioration alarm comprises:
respectively acquiring food information and the current deterioration grade of the food to be detected, and displaying the food information and the current deterioration grade on the refrigerator, wherein the food information comprises a food name and food position information, and the food position information is a position coordinate of the food to be detected in the refrigerator;
and acquiring a target mobile phone number stored locally, and sending the current deterioration grade and the food information to the target mobile phone number in a short message mode.
3. The method of detecting deterioration of a food product of claim 1, wherein after said step of issuing a deterioration alarm, said method further comprises;
when the food to be detected is judged to be cleaned, acquiring smell information in the refrigerator, and judging whether harmful gas exists in the smell information;
and if so, carrying out air purification treatment on the refrigerator.
4. The method for detecting deterioration of food according to claim 2, wherein said step of determining deterioration of said food to be detected based on said current quality parameter further comprises:
obtaining a current concentration difference value between a current gas concentration value and the preset concentration value range, and directly marking the food to be detected as the severe deterioration when judging that the absolute value of the current concentration difference value is greater than a concentration threshold value;
obtaining a current weight difference value between the current weight value and the preset weight value range, and directly marking the food to be detected as the severe deterioration when judging that the absolute value of the current weight difference value is greater than a weight threshold value;
and acquiring a current color difference value between the current RGB value and the preset RGB value range, and directly marking the food to be detected as the severe deterioration when the absolute value of the current color difference value is judged to be larger than a color threshold value.
5. A food spoilage detection device, comprising:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring current quality parameters of food to be detected in the refrigerator, and the current quality parameters comprise odor parameters, weight parameters and image parameters;
the judging module is used for judging the deterioration of the food to be detected according to the current quality parameter to obtain a current deterioration grade, the current deterioration grade is used for describing the deterioration degree of the food to be detected, the obtained current quality parameter is compared with a locally stored deterioration parameter table to judge the deterioration grade, various parameter information of various foods after deterioration is stored in the deterioration parameter table in advance, and the judging module comprises:
the first acquisition unit is used for acquiring the current gas concentration value of the odor parameter in the current quality parameter;
the first marking module is used for marking the food to be detected as slightly deteriorated according to the acquisition result of the first acquisition unit when the current gas concentration value is judged not to be within the preset concentration value range, and the deterioration grade of the slight deterioration is larger than the deterioration grade threshold value;
a second obtaining unit, configured to obtain a current weight value of the weight parameter in the current quality parameter;
the second marking unit is used for promoting the deterioration mark of the food to be detected when the current weight value is judged not to be within the preset weight value range according to the acquisition result of the second acquisition unit, and the mild deterioration is moderate deterioration after being promoted;
a third obtaining unit, configured to obtain a current RGB value of the image parameter in the current quality parameter, where the current RGB value is an average value of image colors in a preset region in the image parameter;
the third marking unit is used for promoting the deterioration marking of the food to be detected when the current RGB value is judged not to be in the preset RGB value range according to the acquisition result of the third acquisition unit, and the moderate deterioration is severe deterioration after being promoted;
and the alarm module is used for giving out deterioration alarm when the current deterioration grade is greater than the deterioration grade threshold value.
6. The food spoilage detection apparatus of claim 5, wherein the alarm module comprises:
the display unit is used for respectively acquiring food information and the current deterioration grade of the food to be detected, and displaying the food information and the current deterioration grade on the refrigerator, wherein the food information comprises a food name and food position information, and the food position information is a position coordinate of the food to be detected in the refrigerator;
and the short message sending unit is used for acquiring a locally stored target mobile phone number and sending the current deterioration grade and the food information to the target mobile phone number in a short message mode.
7. A mobile terminal, characterized in that it comprises a memory for storing a computer program and a processor for running the computer program to make the mobile terminal execute the food deterioration detecting method according to any one of claims 1 to 4.
8. A storage medium characterized in that it stores a computer program for use in a mobile terminal according to claim 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810669047.5A CN108982782B (en) | 2018-06-26 | 2018-06-26 | Food deterioration detection method and device, mobile terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810669047.5A CN108982782B (en) | 2018-06-26 | 2018-06-26 | Food deterioration detection method and device, mobile terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108982782A CN108982782A (en) | 2018-12-11 |
CN108982782B true CN108982782B (en) | 2021-03-02 |
Family
ID=64538285
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810669047.5A Active CN108982782B (en) | 2018-06-26 | 2018-06-26 | Food deterioration detection method and device, mobile terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108982782B (en) |
Families Citing this family (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109780810A (en) * | 2018-12-24 | 2019-05-21 | 珠海格力电器股份有限公司 | Food condition determining method and device, storage medium and refrigerator |
CN109668852B (en) * | 2018-12-25 | 2021-11-02 | Oppo广东移动通信有限公司 | Electronic equipment, information pushing method and related product |
CN109974387B (en) * | 2019-03-07 | 2020-11-20 | 青岛海尔电冰箱有限公司 | Illumination control method for refrigerator compartment and refrigerator |
CN112016358A (en) * | 2019-05-30 | 2020-12-01 | 青岛海尔电冰箱有限公司 | Method for determining freshness of food materials in refrigerator and computer storage medium |
CN112016578A (en) * | 2019-05-30 | 2020-12-01 | 青岛海尔电冰箱有限公司 | Method and device for determining freshness grade of food materials in refrigerator |
CN110531687A (en) * | 2019-09-30 | 2019-12-03 | 震惶科技(成都)有限公司 | A kind of fresh-keeping mould group tele-control system based on Internet of Things |
CN111000448A (en) * | 2019-12-02 | 2020-04-14 | 珠海格力电器股份有限公司 | Food deterioration detection method and cooking utensil |
CN111310586A (en) * | 2020-01-19 | 2020-06-19 | 合肥美的电冰箱有限公司 | Management method and management device for food in refrigerator and refrigerator |
CN111260860B (en) * | 2020-01-21 | 2021-12-07 | 江西光正金属设备集团有限公司 | Summer waterproof express delivery cabinet that prevents fruit to drench and rot |
CN113156067A (en) * | 2020-01-22 | 2021-07-23 | 青岛海尔电冰箱有限公司 | Refrigerator dish management method, refrigerator and storage medium |
CN111709913B (en) * | 2020-05-21 | 2023-04-18 | 四川虹美智能科技有限公司 | Method, device and system for detecting deteriorated food in refrigerator |
CN112179038A (en) * | 2020-09-02 | 2021-01-05 | 四川虹美智能科技有限公司 | Intelligent refrigerator and food management method thereof |
CN112629143B (en) * | 2020-12-04 | 2022-04-29 | 佛山市顺德区北滘威利厨用设备有限公司 | Refrigerator control method and refrigerator using same |
CN114486758A (en) * | 2022-01-24 | 2022-05-13 | 北京工商大学 | Residual food storage container with safety detection function and use method thereof |
CN115327052A (en) * | 2022-08-15 | 2022-11-11 | 广州市晨康贸易发展有限公司 | Fresh-keeping state detection method and system for transported fruits and vegetables |
CN116147278A (en) * | 2023-01-03 | 2023-05-23 | 珠海格力电器股份有限公司 | Method and device for monitoring freshness preservation of food materials in refrigerator and refrigerator |
CN116294417A (en) * | 2023-04-11 | 2023-06-23 | 长虹美菱股份有限公司 | Fresh-keeping testing method for refrigerator |
CN116228772B (en) * | 2023-05-09 | 2023-07-21 | 聊城市检验检测中心 | Quick detection method and system for fresh food spoilage area |
CN116911698B (en) * | 2023-09-14 | 2023-12-12 | 通渭县食品药品检验检测中心 | Food and drug detection system |
CN117252523B (en) * | 2023-11-17 | 2024-01-30 | 山东海鲲数控设备有限公司 | Production line monitoring system and method |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103134267B (en) * | 2013-03-13 | 2015-08-19 | 合肥美菱股份有限公司 | A kind of refrigerator and detection method thereof with food smell measuring ability |
CN103530989A (en) * | 2013-10-29 | 2014-01-22 | 江苏物联网研究发展中心 | Alarm device for preventing food from deteriorating |
CN103823030B (en) * | 2014-02-25 | 2015-09-16 | 四川长虹电器股份有限公司 | A kind of method and refrigerator detecting food spoilage |
CN105444511B (en) * | 2014-08-29 | 2018-04-10 | 酷派软件技术(深圳)有限公司 | A kind of intelligent temperature control method of refrigerator, device and refrigerator |
CN105279929A (en) * | 2015-10-30 | 2016-01-27 | 小米科技有限责任公司 | Method, device and terminal for prompting deteriorating items |
CN105513052B (en) * | 2015-11-26 | 2018-01-12 | 四川长虹电器股份有限公司 | Food storage and rotten information find out system and method in a kind of refrigerator |
CN106091559B (en) * | 2016-08-04 | 2018-06-08 | 合肥微纳传感技术有限公司 | A kind of intelligence food storage device, storage method and the refrigerator using the device |
CN106568294B (en) * | 2016-10-14 | 2019-05-03 | 青岛海尔特种电冰箱有限公司 | The control method and refrigerator of refrigerator |
CN106766662B (en) * | 2017-01-19 | 2019-12-27 | Tcl家用电器(合肥)有限公司 | Method and system for monitoring and managing food materials in refrigerator |
CN107314609B (en) * | 2017-06-28 | 2020-07-28 | 青岛海尔智能技术研发有限公司 | Food freshness detection method and device, refrigerator and detection system |
CN107450467A (en) * | 2017-09-28 | 2017-12-08 | 杭州纳戒科技有限公司 | Box for material circulation monitoring system and logistics monitoring system |
-
2018
- 2018-06-26 CN CN201810669047.5A patent/CN108982782B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN108982782A (en) | 2018-12-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108982782B (en) | Food deterioration detection method and device, mobile terminal and storage medium | |
CN112348773B (en) | Screen defect detection method and device and electronic equipment | |
CN110987938B (en) | Automatic visual detection method and device for display screen | |
JP4705090B2 (en) | Smoke sensing device and method | |
US11783599B2 (en) | Distracted-driving monitoring method, system and electronic device | |
CN114383865A (en) | Machine monitoring | |
JP6714008B2 (en) | Inspection device and inspection system | |
US11227249B2 (en) | Method of providing feedback data indicating quality of food processing performed by an operator | |
US20200031284A1 (en) | Trailer Cargo Monitoring Apparatus for a Vehicle | |
CN112344486B (en) | Air purification method, device, equipment and computer readable storage medium | |
CN111126165A (en) | Black smoke vehicle detection method and device and electronic equipment | |
EP3547299A3 (en) | Display device, display system, mobile object, display-brightness control method, and carrier means storing program code | |
CN111311598A (en) | Multi-view-angle-based fastener surface defect detection method and device | |
CN109780810A (en) | Food condition determining method and device, storage medium and refrigerator | |
US20230096532A1 (en) | Machine learning system, learning data collection method and storage medium | |
CN113724240A (en) | Refrigerator caster detection method, system and device based on visual identification | |
CN110928305A (en) | Patrol method and system for railway passenger station patrol robot | |
CN110441714B (en) | Method and device for detecting indicator light and computer readable storage medium | |
US20140071298A1 (en) | Blemish detection sytem and method | |
CN117079212A (en) | Smoke detection method and device, electronic equipment and storage medium | |
CN106792163B (en) | Method and device for detecting video playing state | |
CN113124433A (en) | Range hood control method and device, range hood and storage medium | |
CN111753791A (en) | Detection method and detection equipment | |
CN110103979B (en) | Fatigue driving alarm processing method and device and electronic equipment | |
US11284010B2 (en) | Apparatus and method for exposure estimation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200311 Address after: 510530 Guangdong city of Guangzhou province YUNPU Whampoa district four Road No. 6 Applicant after: Guangzhou Shiyuan Electronic Technology Company Limited Address before: 510530 Guangdong city of Guangzhou province YUNPU Whampoa district four Road No. 6 Applicant before: Guangzhou Shiyuan Electronic Technology Company Limited Applicant before: GUANGZHOU RUIXIN ELECTRONICS Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |