A kind of control method of rfid interrogator identification electronic tag and device
Technical field
The present invention relates to RFID wireless communication technology field, particularly relate to a kind of rfid interrogator identification electronic tag control method and device.
Background technology
In recent years, radio-frequency (RF) identification is (English: Radio Frequency Identification, abbreviation: RFID) technology is as a kind of automatic identification technology, at home and abroad obtain and develop rapidly, REID has the advantages such as reading rate is fast, reach is wide, is widely used in every field.
RFID by electronic tag, read write line and application system three part form, wherein data are sent to electronic tag by read write line, data are then sent to read write line by FM0 (between two-phase spacing coding) or Miller (delay modullation code) coded system by electronic tag, and read write line technology of the prior art label echo in the environment that radio interference is less uses code efficiency higher FM0 coding to obtain higher tag recognition efficiency; The Miller coded system that label echo then adopts into code efficiency lower in radio interference is compared with complex environment improves tag recognition success ratio.Adopt this technology read write line automatically cannot adapt to the change of radio working environment, the requirement of tag recognition success ratio and recognition speed cannot be taken into account, especially the tag identification speed of read write line obviously can be reduced in the comparatively complicated applied environment of radio interference, the application scenario of identification is moved, read write line application performance critical constraints at many labels.
Summary of the invention
Object of the present invention is exactly move the applied environment of identification to solve existing many labels, read write line cannot adapt to the change of radio working environment automatically, the requirement technical matters of tag recognition success ratio and recognition speed cannot be taken into account, the invention provides a kind of change of automatic adaptation radio working environment, improve the control method identifying electronic tag efficiency.Concrete technical scheme of the present invention is as follows:
A control method for rfid interrogator identification electronic tag, said method comprising the steps of:
Send first and take inventory instruction, the coded system of the echo of electronic tag is configured to FM0 coding;
Receive the echo of the FM0 coding that electronic tag sends, and identify and take inventory mark in echo, identify echo be whole electronic tags of FM0 coding take inventory mark after, generate trigger pip;
Send second according to trigger pip and take inventory instruction, electronic tag echo coding is configured to Miller coding;
Receive the echo of the Miller coding that electronic tag sends, and identify and take inventory mark in echo, what identify that echo is encoded to whole electronic tags of Miller coding takes inventory mark.
Further, before instruction is taken inventory in described transmission first, described method also comprises: launch single carrier to electronic tag, electronic tag is powered on.
Further, the echo of the FM0 coding that described reception electronic tag sends, and identify and take inventory mark in echo, identify echo be whole electronic tags of FM0 coding take inventory mark after, the concrete grammar generating trigger pip comprises:
Receive the echo of the FM0 coding that electronic tag sends, and identify and take inventory mark in echo, by the electronic tag identified take inventory mark be set to status recognition and no longer duplicate responses first take inventory instruction;
Continue transmission first and take inventory instruction, the coded system of Unidentified electronic tag echo is configured to FM0 coding;
Continue the echo receiving the FM0 coding that electronic tag sends; And identify and take inventory mark in echo, the mark of taking inventory of the electronic tag identified is set to status recognition;
Identify the coded system of echo be whole electronic tags of FM0 coding take inventory mark after, generate trigger pip.
Further, the echo of the Miller coding that described reception electronic tag sends, and identify and take inventory mark in echo, identifies that the concrete grammar taking inventory mark that echo is encoded to whole electronic tags of Miller coding comprises:
Receive the echo of the Miller coding that electronic tag sends, and identify and take inventory mark in echo, by the electronic tag identified take inventory mark be set to status recognition and no longer duplicate responses second take inventory instruction;
Continue transmission second and take inventory instruction, the coded system of Unidentified electronic tag echo is configured to Miller coding;
Continue the echo receiving the Miller coding that electronic tag sends; And identify and take inventory mark in echo, the mark of taking inventory of the electronic tag identified is set to status recognition;
Identify the coded system of echo be whole electronic tags of Miller coding take inventory mark.
Further, described method also comprises: adopt EPC C1G2 or GB/T 29768-2013 air interface specification.
A control device for rfid interrogator identification electronic tag, it comprises:
Described sending module, takes inventory instruction for sending first;
Described receiver module, for receiving the echo of FM0 coding;
Described identification module, for identify echo be FM0 coding whole electronic tags take inventory mark after, generate trigger pip;
Described control module, takes inventory instruction for controlling described sending module transmission second according to trigger pip;
Described receiver module, also for receiving the echo of Miller coding;
Described identification module, also takes inventory mark for what identify the electronic tag that echo Miller encodes.
Further, described identification module is also for being set to status recognition by the mark of taking inventory of the electronic tag identified.
Comprise startup module further, described startup module, for launching single carrier to electronic tag, makes described electronic tag power on.
Under the condition of identical modulation rate, FM0 coded system has the advantages that traffic rate is high, anti-interference is poor, and Miller coded system then has that traffic rate is low, the feature of strong interference immunity.
The present invention in conjunction with two kinds of coded systems feature and according to EPC C1G2 and GB/T 29768-2013 air interface specification characteristic, the mark of taking inventory to electronic tag manages, first adopt FM0 coded system to recognize the part electronic tag lower to interference free performance requirement fast; Adopt electronic tag take inventory electronic tag that flag management mechanism identified not duplicate responses read write line take inventory instruction; What finally adopt Miller code identification to be left requires higher electronic tag to interference free performance; Adopt the method, effectively reduce the average recognition time of Single Electron label, and ensure that the recognition success rate of electronic tag.
The embodiment of the present invention reaches the requirement having taken into account tag recognition success ratio and recognition speed, and rfid interrogator can be made automatically to adapt to different radio working environment, effectively improves the Advantageous Effects of the efficiency of rfid interrogator identification electronic tag.
Accompanying drawing explanation
Fig. 1 is the flow chart of steps of the control method of the embodiment of the present invention 1 one kinds of rfid interrogator identification electronic tags.
Fig. 2 is the schematic diagram of the control method of the embodiment of the present invention 1 one kinds of rfid interrogator identification electronic tags.
Fig. 3 is the block diagram of the control device of the embodiment of the present invention 2 one kinds of rfid interrogator identification electronic tags.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not used for limiting the present invention.
Embodiment 1
Refer to shown in Fig. 1 and Fig. 2.
The invention provides a kind of control method of rfid interrogator identification electronic tag, said method comprising the steps of:
S1: launch single carrier to electronic tag, electronic tag is powered on.
S2: send first and take inventory instruction, is configured to FM0 coding by the coded system of the echo of electronic tag.
S3: the echo receiving the FM0 coding that electronic tag sends, identifies and takes inventory mark in echo.
If S31: recognize echo be FM0 coding electronic tag take inventory mark; The mark of taking inventory of the electronic tag identified is set to status recognition, and taking inventory of status recognition identifies no longer duplicate responses first and takes inventory instruction; Continue step S4;
It should be noted that, according to EPC C1G2 and GB/T 29768-2013 air interface specification characteristic, the mark of taking inventory to electronic tag manages.
If S32: take inventory mark if unidentified to electronic tag, namely identify the coded system of echo be whole electronic tags of FM0 coding take inventory mark after, generate trigger pip; Continue step S5;
S4: continue transmission first and take inventory instruction, is configured to FM0 coding by the coded system of the echo of Unidentified electronic tag; Return step S3;
Be understandable that, identification to as if multiple electronic tag, the feature high according to FM0 code communication speed, described read write line sends the first deposit instruction, and the echo of electronic tag coding is configured to FM0 coding, described multiple electronic tag non-once all can receive described first takes inventory instruction, or described electronic tag receives described first and takes inventory instruction, but and instruction is taken inventory in not all response first, such as, the electronic tag that radio interference is large, just can not respond described first and take inventory instruction, the coded system that described read write line can only receive the transmission of a part of electronic tag is the echo that FM0 encodes, mark is taken inventory in described read write line identification echo, as long as described read write line has recognized and has taken inventory mark in FM0 coded echo, then described read write line continuation sends described first and takes inventory instruction, continue the FM0 coded echo receiving electronic tag transmission, until the mark of taking inventory in the echo of FM0 coding is all designated status recognition, described read write line identification is less than taking inventory mark in echo, now, namely identified echo be FM0 coding whole electronic tags take inventory mark, also can be understood as, the electronic tag less by radio interference will all identify fast.
S5: send second according to trigger pip and take inventory instruction, is configured to Miller coding by electronic tag echo coding.
Be understandable that, after all having identified fast by the electronic tag that radio interference is less, there is according to Miller coding the feature of strong interference immunity, described read write line sends second to described electronic tag and takes inventory instruction, by echo be FM0 coding electronic tag outside the echo coding of Unidentified electronic tag be configured to Miller coding.
S6: the echo receiving the Miller coding that electronic tag sends, and identify and take inventory mark in echo.
If S61: the electronic tag recognized take inventory mark; By the electronic tag identified take inventory mark be set to status recognition and no longer duplicate responses second take inventory instruction; Continue step S7;
If S62: take inventory mark if unidentified to electronic tag, namely identify the coded system of echo be whole electronic tags of Miller coding take inventory mark, process ends.
S7: send second and take inventory instruction, is configured to Miller coding by Unidentified electronic tag echo coding; Return step S6.
Be understandable that, the coded system that described read write line receives the transmission of a part of electronic tag is the echo that Miller encodes, mark is taken inventory in described read write line identification echo, as long as described read write line has recognized and has taken inventory mark in Miller coded echo, then described read write line continuation sends described second and takes inventory instruction, continue the Miller echo receiving electronic tag transmission, mark of taking inventory in the echo of Miller coding is all set to status recognition, described read write line identification is less than taking inventory mark in echo, now, namely identified echo be Miller coding whole electronic tags take inventory mark, also can be understood as, the electronic tag larger by radio interference will all identify accurately.
The feature that the embodiment of the present invention is encoded with described Miller according to described FM0 coding, first adopts FM0 coded system to recognize the part electronic tag lower to interference free performance requirement fast; Adopt electronic tag take inventory electronic tag that flag management mechanism identified not duplicate responses read write line take inventory instruction; What finally adopt Miller code identification to be left requires higher electronic tag to interference free performance, effectively reduces the average recognition time of Single Electron label, and ensure that the recognition success rate of electronic tag.Reach and both ensure that recognition rate in turn ensure that recognition efficiency, and all without omitting the Advantageous Effects identifying multiple electronic tag.
Embodiment 2
Refer to shown in Fig. 3, please again consult shown in Fig. 2.
The invention provides a kind of control device of rfid interrogator identification electronic tag, described control device comprises receiver module, identification module, sending module and control module;
Described control module controls described sending module transmission first and takes inventory instruction, and the coded system of the echo of electronic tag is configured to FM0 coding; Described receiver module is the echo of FM0 for receiving the coded system of electronic tag transmission; Described identification module takes inventory mark for identifying in the echo that FM0 encodes, and by identified take inventory mark be set to status recognition and no longer duplicate responses first take inventory instruction, be understandable that, when the coded system received is that mark of taking inventory in the echo of FM0 is all designated status recognition, namely described identification module identification echo coded system be FM0 coding whole electronic tags take inventory mark after, generate trigger pip; Described control module controls described sending module according to described trigger pip and sends the second deposit instruction, and echo coded system is configured to Miller coding; Described receiver module is also for receiving the echo of the Miller coding that electronic tag sends; Described identification module takes inventory mark for identifying in the echo that Miller encodes, and the mark of taking inventory identified is set to status recognition, the mark of taking inventory of described status recognition no longer responds described second and takes inventory instruction, be understandable that, mark of taking inventory in the echo of the Miller coding recognized when described identification module is all set to status recognition, namely described identification module identification echo be whole electronic tags of Miller coding take inventory mark.
Comprise startup module further, described control module controls described startup module for launching single carrier to electronic tag, and described electronic tag is powered on.
Described control device adopts EPC C1G2 or GB/T 29768-2013 air interface specification.
It should be noted that, above embodiment is only in order to illustrate technical scheme of the present invention and unrestricted, although with reference to preferred embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that, can modify to technical scheme of the present invention or equivalent replacement, and not departing from the spirit and scope of technical solution of the present invention, it all should be encompassed in the middle of right of the present invention.