The method and system that food identifies automatically are carried out based on radio-frequency (RF) tagTechnical field
The invention belongs to technical field of RFID, carry out, particularly to a kind of, the method and system that food identifies automatically based on radio-frequency (RF) tag.
Background technology
Along with improving constantly of people's life, user is more and more higher to the requirement of food control, it is desirable to need not open refrigerator and just can check the food materials in refrigerator, and manage accordingly.
At present, occur in that a lot of refrigerator management software on the market, after binding refrigerator, it is possible to check food materials in software, but these softwares user must be manually entered food name, then preserve, whole process is loaded down with trivial details, it is necessary to user is first turned on refrigerator and writes down food content and title, then food content and title is inputted, the method inefficiency, not intelligence.If user can be allowed to input title without oneself, food is allowed automatically to identify, it is possible to bring great convenience to the life of user and health.
Summary of the invention
[solving the technical problem that]
It is an object of the invention to provide and a kind of carry out the method and system that food identifies automatically based on radio-frequency (RF) tag, the problem more complicated to solve current refrigerator management method.
[technical scheme]
The present invention is achieved by the following technical solutions.
Present invention firstly relates to a kind of carry out food based on radio-frequency (RF) tag and automatically know method for distinguishing, the method comprising the steps of:
A, the food bar code initialized in cloud server and food name, set up the corresponding relation between food bar code and food name;
B, various food are respectively provided with food radio-frequency (RF) tag, and wherein the food bar code in the food radio-frequency (RF) tag of different food products is different;
C, after refrigerator put into by food, refrigerator and food radio-frequency (RF) tag set up communication connection, and refrigerator obtains food bar code that the food labelling of food sends and sends this food bar code to cloud server;
D, cloud server obtain the food name of correspondence after receiving food bar code, send the food name of food bar code and correspondence to intelligent terminal, and intelligent terminal shows food name and food bar code.
As one preferred embodiment, the food radio-frequency (RF) tag in described step B is pasted onto food surface.
As another preferred embodiment, described intelligent terminal is smart mobile phone or panel computer.
The invention still further relates to and a kind of carry out the system that food identifies automatically based on radio-frequency (RF) tag, including cloud server, refrigerator and intelligent terminal, described cloud server internal memory contains food bar code and food name, between described food bar code and food name, there is one-to-one relationship, described refrigerator is configured to: after refrigerator put into by food, refrigerator sets up communication connection with food radio-frequency (RF) tag, refrigerator obtains the food bar code of the food labelling transmission of food and sends this food bar code to cloud server, described food is provided with food radio-frequency (RF) tag, wherein the food bar code in the food radio-frequency (RF) tag of different food products is different, described cloud server is configured to: obtain the food name of correspondence after receiving food bar code, the food name of food bar code and correspondence is sent to intelligent terminal, intelligent terminal shows food name and food bar code.
As one preferred embodiment, described food radio-frequency (RF) tag is pasted onto food surface.
As another preferred embodiment, described intelligent terminal is smart mobile phone or panel computer.
[beneficial effect]
The technical scheme that the present invention proposes has the advantages that
The present invention by arranging food radio-frequency (RF) tag on food, communication connection is set up between food and refrigerator, refrigerator can be quick, intelligent reading food labelling and food is identified automatically, therefore the present invention improve refrigerator management convenience, intelligence degree is higher.
Accompanying drawing explanation
The theory diagram carrying out the system that food identifies automatically based on radio-frequency (RF) tag that Fig. 1 provides for embodiments of the invention one.
Fig. 2 carries out food based on radio-frequency (RF) tag automatically know the flow chart of method for distinguishing for what embodiments of the invention two provided.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearly, the specific embodiment of the present invention will be carried out clear, complete description below.
Embodiment one
The theory diagram carrying out the system that food identifies automatically based on radio-frequency (RF) tag that Fig. 1 provides for the embodiment of the present invention one.As it is shown in figure 1, this system includes cloud server, refrigerator and intelligent terminal.
Cloud server internal memory contains food bar code and food name, has one-to-one relationship between described food bar code and food name.
Refrigerator is configured to: after refrigerator put into by food, refrigerator sets up communication connection with food radio-frequency (RF) tag, refrigerator obtains the food bar code of the food labelling transmission of food and sends this food bar code to cloud server, in the present embodiment, food is provided with food radio-frequency (RF) tag, wherein the food bar code in the food radio-frequency (RF) tag of different food products is different, and food radio-frequency (RF) tag is pasted onto food surface.
Cloud server is configured to: obtain the food name of correspondence after receiving food bar code, sends the food name of food bar code and correspondence to intelligent terminal, and intelligent terminal shows food name and food bar code.
In the present embodiment, intelligent terminal is smart mobile phone or panel computer.
What adopt that the system in embodiment one realizes carries out food based on radio-frequency (RF) tag and automatically knows method for distinguishing and be referred to following concrete grammar embodiment.
Embodiment two
Fig. 2 carries out food based on radio-frequency (RF) tag automatically know the flow chart of method for distinguishing for what the embodiment of the present invention two provided.As in figure 2 it is shown, the method comprises the following steps:
Step S1: initialize cloud server.
In step S1, initialize the food bar code in cloud server and food name, set up the corresponding relation between food bar code and food name.
Step S2: various food are respectively provided with food radio-frequency (RF) tag.
In step S2, various food are respectively provided with food radio-frequency (RF) tag, and wherein the food bar code in the food radio-frequency (RF) tag of different food products is different.In this step, food radio-frequency (RF) tag is pasted onto food surface, or by clamping food with the clip of food apparatus label.
Step S3: after refrigerator put into by food, refrigerator obtains the food bar code of the food labelling transmission of food and sends this food bar code to cloud server.
In step S3, after refrigerator put into by food, refrigerator sets up communication connection with food radio-frequency (RF) tag, and refrigerator obtains the food bar code of the food labelling transmission of food and sends this food bar code to cloud server.
Step S4: cloud server obtains corresponding food name after receiving food bar code and transmission displays to intelligent terminal.
In step S4, cloud server obtains the food name of correspondence after receiving food bar code, sends the food name of food bar code and correspondence to intelligent terminal, and intelligent terminal shows food name and food bar code.
As can be seen from the above embodiments, the embodiment of the present invention by arranging food radio-frequency (RF) tag on food, communication connection is set up between food and refrigerator, refrigerator can be quick, intelligent reading food labelling and food is identified automatically, therefore the present invention improves the convenience of refrigerator management, and intelligence degree is higher.
It is to be appreciated that the embodiment of foregoing description is a part of embodiment of the present invention, rather than whole embodiment, neither limitation of the present invention.Based on embodiments of the invention, the every other embodiment that those of ordinary skill in the art obtain under not paying creative work premise, broadly fall into protection scope of the present invention.