Summary of the invention
It is one of at least to solve the above problems, the embodiment of the invention provides a kind of food materials update methods, comprising: obtain theOne label and/or the second label information, wherein first label is removably attachable to the first food materials, second label is removableInvest the second food materials with unloading, first label and the second label respectively have the mark of unique identification identity;First markLabel are pre-arranged to characterize the parameter of the attribute of the corresponding food materials, and second label is to characterize the corresponding food materialsAttribute parameter be user's custom parameter;Corresponding relationship is set for the label and food materials, and updates food materials inventory.Pass throughThis method can be realized and label is used repeatedly, and also can realize multiplicity according to the information of user demand customized identification food materialsHelping digestion material management.
Preferably, the parameter of the attribute of the corresponding food materials includes food materials type or food materials title.
Preferably, described to include for the label and food materials setting corresponding relationship, when the label is the second label, rootLabel described in input information matches according to user and food materials information.
It preferably, further include judging whether there is newly-increased label in the label information before updating food materials inventory;IfWhen having newly-increased label, then judge whether the corresponding food materials of the newly-increased label are newly-increased food materials, when if it is newly-increased food materials, are updatedFood materials inventory.
Preferably, whether judge has newly-increased label in the label information include judging whether the label is obtaining thisIn food materials inventory before secondary label information.
Preferably, judge that the corresponding food materials of the newly-increased label whether be newly-increased food materials include judge apart from last time updateWhether the time interval of label information is not more than preset time;If being not more than preset time, it is determined that the label is correspondingFood materials are not newly-increased food materials and/or user are reminded to confirm whether the food materials are newly-increased food materials.
Preferably, the time interval for updating label information apart from last time includes the last deletion label letter of distanceThe time interval of breath.
Preferably, the preset time is 24 hours.
Preferably, the prompting user confirm the food materials whether be newly-increased food materials further include be new when receiving confirmationWhen increasing the feedback signal of food materials, food materials inventory is added in the corresponding food materials of the label and current time information;Alternatively, when receivingTo deny be the feedback signal of newly-increased food materials when, the temporal information that is put into of the corresponding food materials of the label and last registration is addedFood materials inventory.
When preferably, if it is newly-increased food materials, updating food materials inventory includes, and obtains the newly-increased food from food materials content data baseThe corresponding food materials information of material, and it is stored in food materials inventory.
It further include multiple being respectively attached to store up the embodiment of the invention also provides a kind of storage equipment, including label readerThe detachable label of storage, the multiple label include the first label and/or the second label;Wherein the first label to characterizeThe parameter of the attribute of appended storage object is pre-arranged;The parameter of the attribute to characterize the storage object of second labelFor custom parameter.
The parameter of the attribute of the appended storage object of the characterization includes food materials type or food materials title.
Compared with prior art, technical solution of the present invention has at least the following advantages:
By using the first label of detection and/or the second label information, and for label, food materials pass corresponding with label is setSystem, can not only realize identification and manage the purpose of food materials, reuse label, also can be realized and customize according to the needs of usersLabel information, surveillance tag correspond to the information such as the shelf-life of food materials, storage condition.
Specific embodiment
As shown in Figure 1, the embodiment of the invention discloses a kind of food materials update methods, comprising:
S101 obtains the first label and/or the second label information, wherein first label is removably attachable to the first foodMaterial, second label are removably attachable to the second food materials, and first label and the second label respectively have unique identification bodyThe mark of part;The parameter of attribute of first label to characterize the corresponding food materials is pre-arranged, second labelThe parameter of attribute to characterize the corresponding food materials is user's custom parameter.
Specifically, label information can be read by label reader.The label is for identifying different types of food materials, such as meatClass, fish etc., label are can be detached from the food materials of its mark and reuse.The parameter of the attribute of corresponding food materials includes food materialsType or food materials title.
S102 is that corresponding relationship is arranged in the label and food materials, and updates food materials inventory.
Specifically, further including judging whether there is newly-increased label in the label information before updating food materials inventory;IfWhen having newly-increased label, then judge whether the corresponding food materials of the newly-increased label are newly-increased food materials, when if it is newly-increased food materials, are updatedFood materials inventory.
Newly-increased label is determined whether according to the food materials inventory of the system before obtaining this label information.If label is believedWithout newly-increased label in breath, and the food materials entry in food materials inventory is more than this tag entry obtained, then from food materials inventoryDelete the extra entry in the part.
If there is increasing label newly, then when judging whether the time interval for updating label information apart from last time is not more than defaultBetween, such as 24 hours;If being not more than preset time, it is determined that the corresponding food materials of the label are not that newly-increased food materials optionally lead toPrompting user confirmation is crossed to judge whether the food materials are newly-increased food materials.Wherein, the time of label information was updated apart from last timeInterval includes the last time interval for deleting the label information of distance.
It further, is to increase the feedback letter of food materials newly when receiving confirmation when reminding user to determine whether to increase food materials newlyNumber when, match the corresponding food materials information of the label, the label and current resting period, and food materials inventory is added;Alternatively,When receive deny be the feedback signal of newly-increased food materials when, match the corresponding food materials information of the label, the label and onSecondary record is put into the time, and food materials inventory is added.
By the above method, food materials update can be effectively managed, so that food materials do not repeat typing, the food materials of taking-up canIt timely deletes, can also accurately identify the same food materials etc. being placed again into.
Aforementioned label includes two types, and one is predefined labels, and one is customized labels.Wherein predefined labelRefer to and be prefixed the parameter of each label in the database when leaving the factory, such as the type of food materials that each label is characterizedOr title.Customized label is exactly the opposite, when using the label for the first time, is not defined its parameter in the database,Namely corresponding value be it is empty, and the value can be carried out as needed in use by user it is customized.In addition, predefinedAnd have the image, text or color that can be used for distinguishing label on customized label.The label can be RFID label tag.It is customizedLabel can the user-friendly special food materials of the tag identifier, the food not having in especially preset food materials content data baseMaterial.
Fig. 2 discloses a kind of storage equipment 20, including label reader 201 and multiple is respectively attached to the removable of storage objectLabel 202 is unloaded, the multiple label includes the first label and/or the second label;Wherein the first label to characterize appended storageThe parameter of the attribute of storage is pre-arranged;The parameter of the attribute to characterize the storage object of second label is to make by oneselfAdopted parameter.Wherein, the parameter of the attribute of the appended storage object of characterization includes food materials type or food materials title.First label is predeterminedAdopted label, the second label are customized labels.The storage equipment can be refrigerator, refrigerator-freezer etc..
Below by taking refrigerator as an example, the workflow of the program is specifically described.
Such as Fig. 3, realizes that the system 30 of the program includes refrigerator 20 ', the entity tag 202 with touch screen, network in refrigeratorIn the case where further include mobile terminal 301, such as mobile phone, plate etc. with particular functional application (APP).Wherein, precedingStating refrigerator includes storeroom, label reader 201 (Fig. 3 is not shown) and touch screen for reading label.The system is also wrappedServer 302 is included, for storing and processing the data etc. of reader reading.Wherein server 302 includes that storage reader is readThe temporary table of data, the food materials list for storing refrigerator food materials information etc..Wherein entity tag 202 is put into refrigerator to identifyFood materials can be attached to label on food materials when food materials are put into refrigerator, and label is detachable and can be used repeatedly.
The detailed process that above system realizes that food materials update is as follows, referring to Fig. 4-6:
After food materials with label are put into refrigerator storeroom, refrigerator label reader reads label information, such as in refrigeratorAfter door is closed, starting reader reads information, and generates one and store this temporary table for reading information.Wherein label hasBe it is predefined, some need user is customized;And these labels be all removably be attached to food materials surface or packaging on, andIt and is reusable.
For predefined label, corresponding parameter that refer to system in the database be each tag definition, such as shouldThe corresponding food materials type of label, food materials title etc..In specific application, optionally, five kinds are predefined in systems and is commonly usedThe tag types of food materials, including fish, Pork, chicken class, boiled dumpling class, sausage class.It can lead in labels outer surface accordinglyCross text or image with characterize label to the food materials type or title that identify, facilitate user to reuse.
Such as Fig. 4, when label information entrained by reader detects food materials, need to update menu list.Specifically, ginsengAccording to Fig. 6, system reads from this and reads a record in temporary table formed, and judges whether the record is new record, i.e.,New record is judged whether there is by comparing this temporary table and the current set of menu list, that is, whether detects new markLabel.Wherein a record includes at least one of following field: food materials type, food materials title, tag identity mark etc..
If there is new record, further judge whether food materials corresponding to the new record are before using again heavy after a partThe food materials of refrigerator are newly put into, that is, judge whether the label for identifying the food materials is arrived by system detection again within a certain period of time;If so,The data of corresponding record before the food materials are associated with this record then, particularly at least originate the storage before the food materialsThis record is added in the information such as time, quality guarantee period, and food materials list is added in this record after association.Alternatively, in order to moreAdd and accurately judge the food materials, user can be reminded to be confirmed whether former food materials or increase newly by touch screen or interface of mobile terminalFood materials.User can be by interface feedback information, and system updates food materials according to different judging results after the feedback for receiving userList.
If the label is detected except certain time again, the food materials for being defaulted as the tag identifier are new foodsMaterial, then the record addition food materials list by this record with the information association in food materials content data base and after being associated with.ItsIt is middle that associated content is needed to include at least food materials type, title, recommendation quality guarantee period, recommendation menu etc..Preferably, above-mentioned certainTime can be the last 24 hours or other times for deleting the same label information of distance.Above-mentioned food materials content-dataLibrary is information of the common food materials of major part preset in system server, including food materials title, shelf-life etc., when being stored in refrigeratorWhen food materials, system matches the corresponding informance in food materials content data base by label information, to realize the typing of food materials inventoryDelete etc..
For example, refrigerator detects label a after one piece of flesh of fish for carrying label a is put into refrigerator by user, if the fishMeat is the food materials being newly put into, and system by the data input food materials inventory of the flesh of fish and label a and can be presented on terminal.If the fishMeat is put into again after user has used a part, and system first determines whether small to the time being reentered into after the flesh of fish takes outIn preset time, then obtains and be associated with the information such as the storage initial time before the food materials, quality guarantee period, and typing food materials are clearIt is single.
If reading next record in temporary table by judging to determine that this record is not new record.OrPerson, after taking out food materials from refrigerator, comparison temporary table and food materials inventory, if it find that in temporary table without record entry orRecord in person's temporary table is less than food materials inventory, then extra entry is deleted from food materials inventory.
For customized label, refers to that the label does not define the food materials information that it is specifically identified in the database, needUser maintenance or the customized parameter.The appearance of the label can be distinguished by different color or number.Work as system detectionTo the type label, it can be inputted by touch screen or interface of mobile terminal or the corresponding food materials type of selection label or title etc. are believedBreath, to maintain the information of the label in systems.Typing, deletion, the update of food materials information etc. for the tag identifierProcess flow of the process with aforementioned predefined label.
Updated food materials list can be presented by refrigerator touch screen or mobile terminal, such as Fig. 5, and user can be related by clickingEntry checks attribute of corresponding food materials, such as Store time, quality guarantee period, storage location etc..
The information of preset various food in food materials content data base, including Store time, the quality guarantee period, recommending recipes, push awayRecommend storage condition etc..System calculates the remaining storage time of the food materials according to the Store time and quality guarantee period of corresponding food materials, andUser is reminded to handle food materials in time when closing on the shelf-life.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is canIt is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storageMedium may include: ROM, RAM, disk or CD etc..
Although present disclosure is as above, present invention is not limited to this.Anyone skilled in the art are not departing from thisIt in the spirit and scope of invention, can make various changes or modifications, therefore protection scope of the present invention should be with claim instituteSubject to the range of restriction.