A kind of control method and device of RFID reader identification electronic tag
Technical field
The present invention relates to RFID wireless communication technology fields, more particularly to a kind of identification electronic tag control of RFID reader
Method and device.
Background technology
In recent years, radio frequency identification (English:Radio Frequency Identification, abbreviation:RFID) technology is made
For a kind of automatic identification technology, at home and abroad developed rapidly, REID has that reading rate is fast, sphere of action
The advantages that wide, it is widely used in every field.
RFID is made up of electronic tag, read write line and application system three parts, and wherein read write line transmits data to electronics
Label, and electronic tag is then sent out data by FM0 (spacing encodes between two-phase) or Miller (delay modullation code) coded system
Read write line is sent to, read write line technology of the prior art label echo in the less environment of radio interference uses code efficiency
Higher FM0 is encoded to obtain higher tag recognition efficiency;And label echo is then in radio interference is compared with complex environment
Tag recognition success rate is improved using into the relatively low Miller coded systems of code efficiency.Can not be certainly using the technology read write line
The dynamic change for adapting to radio working environment, can not take into account the requirement of tag recognition success rate and recognition speed, especially wireless
The tag identification speed of read write line can be substantially reduced in the complex application environment of electrical interference, in answering for multi-tag movement identification
With occasion, read write line application performance critical constraints.
The content of the invention
The purpose of the present invention is exactly to solve the application environment of existing multi-tag movement identification, and read write line can not fit automatically
The change of radio working environment is answered, the requirement technical problem of tag recognition success rate and recognition speed can not be taken into account, the present invention
A kind of automatic change for adapting to radio working environment is provided, improves the control method of identification electronic tag efficiency.The present invention's
Concrete technical scheme is as follows:
A kind of control method of RFID reader identification electronic tag, the described method comprises the following steps:
Send first and take inventory instruction, the coded system of the echo of electronic tag is configured to FM0 codings;
The echo for the FM0 codings that electronic tag is sent is received, and identifies the mark of taking inventory in echo, identification echo is FM0
Whole electronic tags of coding take inventory mark after, generate trigger signal;
Second is sent according to trigger signal and takes inventory instruction, and electronic tag echo coding is configured to Miller codings;
The echo for the Miller codings that electronic tag is sent is received, and identifies the mark of taking inventory in echo, identification echo is compiled
Code takes inventory mark for whole electronic tags of Miller codings.
Further, before instruction is taken inventory in the transmission first, methods described also includes:Launch single carrier to electronics mark
Label so that electric on electronic tag.
Further, it is described to receive the echo for the FM0 codings that electronic tag is sent, and identify in echo and take inventory mark,
Identification echo be FM0 coding whole electronic tags take inventory mark after, generating the specific method of trigger signal includes:
The echo for the FM0 codings that electronic tag is sent is received, and identifies in echo and takes inventory mark, by identified electronics
The mark of taking inventory of label is set to identification state and is not repeated that instruction is taken inventory in response first;
Continue transmission first and take inventory instruction, the coded system of unidentified electronic tag echo is configured to FM0 codings;
Continue to the echo of the FM0 codings of electronic tag transmission;And identify in echo and take inventory mark, by identified
The mark of taking inventory of electronic tag is set to identification state;
Identification echo coded system for FM0 coding whole electronic tags take inventory mark after, generate trigger signal.
Further, it is described to receive the echo for the Miller codings that electronic tag is sent, and identify in echo and take inventory mark
Know, the specific method for taking inventory mark that identification echo is encoded to whole electronic tags of Miller codings includes:
The echo for the Miller codings that electronic tag is sent is received, and identifies in echo and takes inventory mark, by identified
The mark of taking inventory of electronic tag is set to identification state and is not repeated that instruction is taken inventory in response second;
Continue transmission second and take inventory instruction, the coded system of unidentified electronic tag echo is configured into Miller compiles
Code;
Continue to the echo of the Miller codings of electronic tag transmission;And identify in echo and take inventory mark, it will know
The mark of taking inventory of other electronic tag is set to identification state;
The coded system of identification echo takes inventory mark for whole electronic tags of Miller codings.
Further, methods described also includes:Using EPC C1G2 or GB/T 29768-2013 air interface specifications.
A kind of control device of RFID reader identification electronic tag, it includes:
Sending module, instruction is taken inventory for sending first;
Receiving module, for receiving the echo of FM0 codings;
Identification module, for identify echo for FM0 coding whole electronic tags take inventory mark after, generation triggering letter
Number;
Control module, instruction is taken inventory for controlling the sending module to send second according to trigger signal;
The receiving module, it is additionally operable to receive the echo of Miller codings;
The identification module, be additionally operable to the electronic tag that identification echo Miller is encoded takes inventory mark.
Further, the identification module is additionally operable to be set to and identified shape the mark of taking inventory of identified electronic tag
State.
Further comprise starting module, the starting module is used to launch single carrier to electronic tag so that the electronics
It is electric on label.
Under conditions of identical modulation rate, FM0 coded systems have the characteristics of high traffic rate, anti-interference difference,
Miller coded systems then have the characteristics of low traffic rate, strong interference immunity.
The characteristics of present invention combines two kinds of coded systems is simultaneously advised according to EPC C1G2 and GB/T 29768-2013 air interfaces
Model characteristic is managed to the mark of taking inventory of electronic tag, and it is dry quickly to recognize part confrontation using FM0 coded systems first
Disturb the relatively low electronic tag of performance requirement;Identified electronic tag is ensured not using the flag management mechanism of taking inventory of electronic tag
Duplicate responses read write line takes inventory instruction;Finally higher electronics is required interference free performance using Miller code identifications are remaining
Label;Using the method, the average recognition time of Single Electron label is effectively reduced, and ensure that being identified as electronic tag
Power.
The embodiment of the present invention has reached the requirement for having taken into account tag recognition success rate and recognition speed, may be such that RFID read-write
Device adapts to different radio working environment automatically, effectively improves the Advantageous effect of the efficiency of RFID reader identification electronic tag
Fruit.
Brief description of the drawings
Fig. 1 is the step flow chart for the control method that a kind of 1 RFID reader of the embodiment of the present invention identifies electronic tag.
Fig. 2 is the schematic diagram for the control method that a kind of 1 RFID reader of the embodiment of the present invention identifies electronic tag.
Fig. 3 is the block diagram for the control device that a kind of 2 RFID reader of the embodiment of the present invention identifies electronic tag.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, not
For limiting the present invention.
Embodiment 1
Refer to shown in Fig. 1 and Fig. 2.
The present invention provides a kind of control method of RFID reader identification electronic tag, the described method comprises the following steps:
S1:Launch single carrier to electronic tag so that electric on electronic tag.
S2:Send first and take inventory instruction, the coded system of the echo of electronic tag is configured to FM0 codings.
S3:The echo of the FM0 codings of electronic tag transmission is received, identifies in echo and takes inventory mark.
If S31:Recognize echo and take inventory mark for the electronic tag of FM0 codings;By the disk of identified electronic tag
Deposit mark and be set to identification state, the mark of taking inventory of identification state is not repeated that instruction is taken inventory in response first;Continue step S4;
It should be noted that according to EPC C1G2 and GB/T 29768-2013 air interface specification characteristics to electronic tag
Mark of taking inventory be managed.
If S32:If the unidentified mark of taking inventory to electronic tag, that is, the coded system for identifying echo is the complete of FM0 codings
Portion's electronic tag take inventory mark after, generate trigger signal;Continue step S5;
S4:Continue transmission first and take inventory instruction, the coded system of the echo of unidentified electronic tag is configured into FM0 compiles
Code;Return to step S3;
It is understood that identification object be multiple electronic tags, according to FM0 code communication speed it is high the characteristics of, institute
State read write line and send the first deposit instruction, the echo coding of electronic tag is configured to FM0 codings;The multiple electronic tag is simultaneously
Non-once can all receive described first and take inventory instruction, or the electronic tag receives described first and takes inventory instruction,
But and instruction is taken inventory in not all response first, for example, the electronic tag that radio interference is big, just can not respond described first and take inventory
Instruction, the read write line can only receive the echo that the coded system that a part of electronic tag is sent is FM0 codings, the read-write
Mark is taken inventory in device identification echo, as long as the read write line, which has been recognized in FM0 coded echos, takes inventory mark, then the reading
Write device and continue to send described first and take inventory instruction, the FM0 coded echos of electronic tag transmission are continued to, until FM0 codings
Mark of taking inventory in echo is all identified as identification state, and the read write line identification takes inventory mark less than in echo, now,
Identify that echo takes inventory mark for whole electronic tags of FM0 codings, it is understood that be, it is smaller by radio interference
Electronic tag will all quickly identification complete.
S5:Second is sent according to trigger signal and takes inventory instruction, and electronic tag echo coding is configured to Miller codings.
It is understood that after the completion of by the less electronic tag of radio interference all quick identification, according to Miller
Coding has the characteristics of strong interference immunity, and the read write line sends second to the electronic tag and takes inventory instruction, is FM0 by echo
The echo coding of unidentified electronic tag outside the electronic tag of coding is configured to Miller codings.
S6:The echo for the Miller codings that electronic tag is sent is received, and identifies in echo and takes inventory mark.
If S61:The electronic tag recognized takes inventory mark;The mark of taking inventory of identified electronic tag is set to and known
Other state is simultaneously not repeated that instruction is taken inventory in response second;Continue step S7;
If S62:If the unidentified mark of taking inventory to electronic tag, that is, the coded system for identifying echo is Miller codings
Whole electronic tags take inventory mark, terminate flow.
S7:Send second and take inventory instruction, unidentified electronic tag echo coding is configured to Miller codings;Return to step
Rapid S6.
Encoded it is understood that the read write line receives the coded system that a part of electronic tag is sent for Miller
Echo, mark is taken inventory in read write line identification echo, as long as the read write line has been recognized in Miller coded echos
Take inventory mark, then the read write line, which continues to send described second, takes inventory instruction, continues to the Miller of electronic tag transmission
Echo, the mark of taking inventory in the echo of Miller codings are all set to identification state, and the read write line identification is less than in echo
Take inventory mark, now, that is, identified that echo takes inventory mark for whole electronic tags of Miller codings, it is understood that
For by the larger electronic tag of radio interference will all accurately identification be completed.
The characteristics of embodiment of the present invention encodes according to FM0 codings with the Miller, first using FM0 coded systems
It is quick to recognize the part electronic tag relatively low to interference free performance requirement;Flag management mechanism is taken inventory using electronic tag
Ensure that duplicate responses read write line does not take inventory instruction to identified electronic tag;Finally use the remaining confrontation of Miller code identifications
Jamming performance requires higher electronic tag, effectively reduces the average recognition time of Single Electron label, and ensure that electronics
The recognition success rate of label.Reach and both ensured that recognition rate in turn ensure that recognition efficiency, and all exhaustive identifies multiple electricity
The advantageous effects of subtab.
Embodiment 2
Refer to shown in Fig. 3, referring to shown in Fig. 2.
The present invention provides a kind of control device of RFID reader identification electronic tag, and the control device includes receiving mould
Block, identification module, sending module and control module;
The control module controls the sending module to send first and takes inventory instruction, and by the coding of the echo of electronic tag
Mode is configured to FM0 codings;The echo that the coded system that the receiving module is used to receive electronic tag transmission is FM0;It is described
Mark is taken inventory in echo of the identification module for identifying FM0 codings, and identified is taken inventory into mark and is set to identification state
And it is not repeated that instruction is taken inventory in response first, it is to be understood that when taking inventory in the echo that the coded system received is FM0
Mark is all identified as identification state, i.e., described identification module identification echo coded system is whole electronics marks of FM0 codings
After that signs takes inventory mark, trigger signal is generated;The control module controls the sending module to send according to the trigger signal
Second deposit instruction, and echo coded system is configured to Miller codings;The receiving module is additionally operable to receive electronic tag
The echo of the Miller codings of transmission;Mark is taken inventory in echo of the identification module for identifying Miller codings, and will
Identified takes inventory mark and is set to identification state, and the mark of taking inventory of the identification state no longer responds described second and takes inventory finger
Order, it is to be understood that when the mark of taking inventory in the echo for the Miller codings that the identification module recognizes all is set to
Identification state, i.e., described identification module identification echo take inventory mark for whole electronic tags of Miller codings.
Further comprise starting module, the control module controls the starting module to be used to launch single carrier to electronics mark
Label so that electric on the electronic tag.
The control device uses EPC C1G2 or GB/T 29768-2013 air interface specifications.
It should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention and it is unrestricted, although with reference to preferable
The present invention is described in detail embodiment, it will be understood by those within the art that, can be to the technology of the present invention
Scheme is modified or equivalent substitution, and without departing from the spirit and scope of technical solution of the present invention, it all should cover in this hair
Among bright right.