Background technology
In recent years, RFID (radio-frequency (RF) identification) application is more and more extensive.RFID not only can replace bar code general at present, the plurality of application scenes such as the antitheft and industrial military affairs of the storehouse management in logistic storage, identification, communications and transportation, food medical treatment, the care of animal, gate inhibition can also be applied to, and, RFID goes for environmental baseline application scenarios severe especially, so bring more facility to the life of people.
Typical rfid system is generally made up of two parts, i.e. label (tag) and reader (reader).Label is the data carrier of rfid system, and each label has unique identification information and label ID.Label can be attached on destination object, to identify destination object.The main task of reader is the response returned to transmitted tag read command signal, reception label, and decoding identifies, then, by decoded information transmission to background host computer, processes for background host computer.
Wherein a kind of method of prior art adopts to carry out tag recognition without time slot without the ALOHA anticollision recognition methods stopping the reading of many labels.In the method, reader sends to the label in compass of competency and activates (wake-up) order, and all labels receiving this wake-up order are activated, and postback the label ID of self to reader, if reader receives 1 label ID, then identify this label; If do not receive label ID, then illustrate without discernible label in compass of competency, terminate to identify; If receive multiple label ID, then continue to identify.Introduce below in reader identifying, the response flow process of label:
As shown in Figure 1, label tag1, tag2 and tag3 is after receiving the wake-up order of reader (shown in Fig. 1 bend frame), label ID is postbacked to reader, label postbacks in label ID process, label ID transmits the width means of duration by black surround in figure, and in the application scenarios of a tag recognition, the transmission duration of label ID is generally identical.When shown in Fig. 1, in the stage 1, label ID has been postbacked after having 3 labels to receive wake-up order, after this, each label produces a random number, according to the random number produced, obtain a random time intervals (response spacing, blank spaces length between the black surround corresponding by label each in Fig. 1 represents), after waiting for this response spacing, again carry out postbacking of label ID; No matter whether label is identified, after postbacking, each label produces a response spacing all at random, after this response spacing, once more postbacks label ID later at every turn, so repeatedly, until reader sends stop order.
In the identifying of label, if the label ID of each label postbacks collide, then the reader not label that collides of identifiable design, if there be postbacking of the label ID of label not collide with other label, then this label can successfully be identified.Introduce the collision of the label in this identification process below in conjunction with Fig. 1 and be identified situation, in the stage 1, because each label is all postback label ID according to wake-up order, so the call duration time section that each label postbacks label ID overlaps completely, tag1, full collision is there is (if two labels call duration time section of postbacking label ID is completely overlapping, namely as the equal (t of initial time of two tag responses in tag2 and tag3 in the stage 1
s1=t
s2) time, then claim these two labels to postback in process in this time and full collision occurs; And if only have a part in ID overlapping, namely when the initial time of two tag responses satisfies condition t
s1-t
iD< t
s2< t
s1+ t
iD, and t
s2≠ t
s1(t
iDfor label ID transmits duration) time, then claim these two labels to postback generating portion collision in process in this time.), tag1, tag2 and tag3 is after having transmitted the label ID of self, produce a response spacing all at random, in FIG, the response spacing of tag3 is the shortest, the response time of tag2 is the longest, the response time of tag1 is placed in the middle, the response situation of formation stages 2: in the stage 2, the call duration time section postbacking label ID of tag2 postbacks label ID call duration time section without any overlapping with tag1's and tag3, now tag2 can successfully be identified, and the label ID call duration time section that postbacks of tag1 and tag3 overlaps, namely tag1 and tag3 postbacks in process at this and there occurs local collision, tag1 and tag3 postbacks in process at this, can not be identified.According to description above, composition graphs 1 is known, at stage 3, tag1, tag2 and tag3 local collision between two; The stage 4, tag1 respectively with tag2 and tag3 local collision, and there is full collision in tag2 and tag3.
To in the research and practice process of prior art, inventor finds that prior art exists following problem:
In prior art, when label postbacks label ID to reader at every turn, all need to trigger randomizer and produce random number, random number according to producing produces response spacing at random, the operation next time postbacking label ID to reader is carried out after wait acknowledge spacing, now trigger again randomizer and produce random number, and only when all labels are all identified, label just stops sending label ID to reader, so the number of times that label produces random number is many, and call at every turn randomizer module produce random number all can consume certain label energy, this is for adopting without time slot without for the passive label stopped in the ALOHA anticollision recognition methods of many labels reading, the energy consumption of label is very high.
Summary of the invention
Embodiments provide a kind of radiofrequency signal identification, answer method and system, label and reader, to reduce the energy consumption of label in answering.
Embodiments provide a kind of radio-frequency signal answering method, comprising:
Receive activation command;
Tag identification information is postbacked according to described activation command, and the random response spacing producing tag identification information and postback;
Carry out tag identification information according to described response spacing to postback.
The embodiment of the present invention additionally provides a kind of radiofrequency signal recognition methods, comprising:
Activation command is sent to the label in compass of competency, described activation command postbacks tag identification information for triggering the label receiving this order, and the random response spacing producing tag identification information and postback, carry out tag identification information according to described response spacing and postback;
Receive the tag identification information that the label in compass of competency postbacks, label is identified;
If identification situation meets replacement condition, then again send activation command to the label in compass of competency.
The embodiment of the present invention additionally provides a kind of label, comprising:
Receiving element, for receiving control command;
Response spacing generation unit, for the activation command that receiving element receives, random generation replys spacing;
Transmitting element, for the activation command received according to described receiving element, postbacks tag indicator information; Carry out tag identification information according to described response spacing to postback.
The embodiment of the present invention additionally provides a kind of reader, comprising:
Transmitting element, for sending control command;
Recognition unit, for receiving the tag identification information that the label that is activated postbacks, and identifies label according to the tag identification information received; The described label be activated is the label receiving the activation command that described transmitting element sends;
Control module, for when the identification situation of described recognition unit meets replacement condition, controls described transmitting element and resends activation command.
The embodiment of the present invention additionally provides a kind of radiofrequency signal recognition system, comprising:
Reader, send activation command for the label to compass of competency, the label ID according to the tag return in compass of competency identifies label, if when identification situation meets replacement condition, then again sends activation command to the label in compass of competency;
Label, for according to the activation command received, postbacks label ID, and produces response spacing at random according to activation command, carry out label ID postback according to described response spacing.
Above technical scheme can be found out, label in the embodiment of the present invention carries out postbacking of tag identification information according to the activation command of reader and replys the generation of spacing, each activation command for a label only a random generation once reply spacing, need not postback after tag indicator information at every turn and produce a response spacing all at random, save and produce response spacing and the energy consumption brought at random.
Embodiment
The embodiment of the present invention provides a kind of radio-frequency signal answering method, can reduce the energy consumption of label in answering.
In the answering of the embodiment of the present invention, label produces random number according to wake-up command triggers, namely an a wake-up order only generation random number is being received, this random number is utilized to produce response spacing, after this after postbacking label ID at every turn, all wait for this response spacing, carry out label ID next time and postback operation, stop order or another wake-up order until receive.
Refer to Fig. 2, be the process flow diagram of embodiment of the present invention radio-frequency signal answering method, comprise step:
Step 201, label receive the activation command of reader; Step 202, postback the identification information of label according to described activation command, and produce response spacing at random according to described activation command;
Consult the stage 1 of Fig. 3, after label receives the wake-up order of reader, label ID is postbacked to reader, in this stage, label just sends self label ID after receiving wake-up order, can think that the label receiving wake-up order sends the label ID of self simultaneously, when the label ID transmission duration of each label is identical, then if response situation is as shown in the stage 1 of Fig. 3.
It is to be noted, whether the transmission duration that the embodiment of the present invention does not limit label ID is equal, by reading herein, be to be understood that, label ID transmits whether duration is equal does not affect the technical matters that will solve embodiment provided by the invention, namely in an embodiment of the present invention, assuming that the equal generality not losing the embodiment of the present invention of the transmission duration of each label ID.
For convenience of description, hereafter transmit for the label ID of each label that duration is equal is described.
In the stage 1, each label sends label ID simultaneously, and the call duration time section postbacking label ID is completely overlapping, and in this stage, full collision occurs for tag1, tag2 and tag3.In the prior art, the ID of label each time of label postbacks along with the generation of a random number, the response spacing of label is determined according to the random number produced, and in embodiments of the present invention, each label produces random number according to the wake-up order received, produce according to random number and reply spacing accordingly, and store this response spacing in order to calling, regenerate new response spacing until receive new wake-up order and refresh original response spacing.As shown in Figure 3, the response spacing that the random number that produces according to wake-up order of tag1 is corresponding is T1; The response spacing that tag2 is corresponding according to the random number that wake-up order produces is T2; The response spacing that tag3 is corresponding according to the random number that wake-up order produces is T3.
Step 203, to reply by described response spacing;
Each label postbacks in process at follow-up label ID, after having postbacked label ID at every turn, waits for and the response spacing that this label produces according to wake-up order then again postbacks label ID.As shown in Figure 3, tag1, tag2 and tag3 is receiving after wake-up order postbacks label ID, wait for the random response spacing T1 produced respectively, again carry out label ID after T2 and T3 to postback, after this, tag1, after postbacking label ID, all waits for that the response spacing of T1 is carried out label ID next time and postbacked at every turn.The situation of tag2 and tag3 is similar.Repeat step 202 and 203 until receive termination order or new wake-up order.
As shown in Figure 3, in stage 2, tag1, tag2 and tag3 generating portion collision between two, all can not be identified; The stage 3, tag1 respectively with tag2 and tag3 local collision, all can not be identified; In stage 4, tag1 and the collision of tag3 generating portion, can not be identified, tag2, in response (namely the postbacking label ID) process in this stage, collides with it without other label, can by reader identification.As long as can see that the random response spacing produced is not just the same (colliding completely), each label can be identified separately because of the accumulation of replying pitch difference each other after after a while.
In an embodiment of the present invention, because the generation of random number in passive label is by wake-up command triggers, instead of postback label ID at every turn all will with the generation of a random number, so the energy consumption of label can be reduced to a great extent.
Without in the recognition methods of time slot open-ended ALOHA anticollision, label is in passive response status, label receives the order of reader, then the action responded is carried out according to the order of reader, the action of label is simple, and the communication between reader is also simple, the identification of label depends on reader command, in view of this, for effectively controlling to carry out the label of replying with the radio-frequency signal answering method that the embodiment of the present invention proposes, the embodiment of the present invention proposes a kind of radiofrequency signal and knows method for distinguishing, as shown in Figure 4, comprises
Step 401, reader send activation command to the label in compass of competency;
When reader starts to identify, first activation command is sent to the label in compass of competency, label in compass of competency is according to activation command, label ID is postbacked to reader, and produce response spacing at random according to activation command, after this, the response spacing all produced at random by this is replied, until receive new activation command or stop order.
Step 402, reader receive the label ID that the label in compass of competency postbacks, and identify label;
As the label ID receiving a label and postback, namely certain label ID to postback in process not with other labels ID postback collide time, this label of reader identification; As the label ID receiving multiple label and postback, namely this multiple label label ID postback collide in process time, reader can not identify these labels.
If correct identification label failed by step 403 reader within the schedule time or predetermined wrap count, then again send activation command to the label in compass of competency;
Postback in process at label, random challenge time and label ID transmit the integral multiple of duration Dou Shi minimum time unit t, the described schedule time can transmit duration according to label ID and response spacing is determined, now analyze two label As, the response situation of B, to choose reference as the described schedule time:
Considering that label ID transmits duration is k × t (k is natural number), and two label As, during the first time label ID of B after first time produces random challenge spacing replys, there is the time-interleaving of (k-1) × t, suppose that the response spacing of A is N × t (N is natural number), the response spacing of B is (N+1) × t, then consider from response times, A and B does not then collide through k-1 response respectively again; Consider from the time, reader, after transmission activation command [(k-1) × k+k × N] × t, correctly can identify A, after transmission activation command [(k-1) × k+k × (N+1)] × t, correctly can identify B.
And in the first time label ID of A and B after first time produces random challenge spacing replys, if the time-interleaving occurred is less than (k-1) × t, then only need less label ID reply number of times and less time just can not collide, be correctly validated, reader sends after activation command [(k-1) × k+k × N] × t so can be chosen at, if still fail correct identification label, then again send activation command to the label in compass of competency; In like manner, if in one period of schedule time after upper once correct identification label, fail correct identification label, reader also can send activation command to the label in compass of competency again, to adjust the response spacing of each label, be beneficial to the identification of label.
Certainly, choosing of the schedule time can be self-defined by above-mentioned rule by user, also can by systemic presupposition, the setting of this schedule time reflects Wrong control grade desired in tag recognition, namely correct identification label is not had in the schedule time, just think the response spacing that label produces according to activation command improper (response spacing produce mistake), resend activation command, label is made to regenerate response spacing, thus according to Preset Time, answering is adjusted, control errorlevel.
In addition, also can according to the repeating transmission of predetermined wrap count control wake-up order.Wrap count is the number of times of the poll of reader definition, and the time span of each poll is dynamic change, along with the increase of number of tags or can reduce change size, and enough residue label transmits its label ID.As shown in Figure 3, each stage is a corresponding poll respectively, and in this four-stage, reader receives the label ID that label postbacks continuously.Reader can know the length of each poll, thus can add up the number of times of poll.If all do not have label to be correctly validated in certain wrap count, then can retransmit activation command, answering is adjusted.Therefore, a predetermined wrap count can be set to the repeating transmission of control wake-up order, answering be adjusted, is beneficial to the identification of label.
Equally, this predetermined wrap count also can be self-defined or preset by system as required by user.
The radiofrequency signal recognition methods that the embodiment of the present invention proposes, the activation command label triggered in compass of competency is utilized to produce the interval time of label ID reply at random, adjusted by the identification of activation command to label, because passive label needs to call randomizer when producing random challenge spacing, this will expend certain energy, and in the method proposed at the present embodiment, label in reader compass of competency all random after need not carrying out label ID reply at every turn produces response spacing, saves label energy consumption.
The embodiment of the present invention additionally provides a kind of label, and as shown in Figure 5, this label comprises:
Receiving element 501, for receiving control command;
Receiving element 501 receives the control command of reader, and control command comprises activation command, stops order etc.
Response spacing generation unit 502, for the activation command received according to receiving element 501, random generation replys spacing;
The receiving element of label often receives an activation command, and response spacing generation unit 502 just random generation once replys spacing.
Transmitting element 503, for the activation command received according to described receiving element, postbacks label ID; Carry out tag identification information according to described response spacing to postback.
The activation command that the reader that transmitting element 503 receives according to receiving element 501 sends, postback label ID, namely the transmitting element 503 of label is started by the activation command of reader to postback label ID's, and after every secondary label ID postbacks end, wait for the response spacing that described response spacing generation unit 502 produces at random according to activation command, the label ID carried out next time postbacks.
Further, above-mentioned transmitting element 503 can comprise:
Performance element, for postbacking label ID;
Trigger element, activation command for receiving according to described receiving element 501 triggers described performance element and postbacks label ID, and postback after label ID terminates at described performance element, wait for the response spacing that described response spacing generation unit 502 produces, trigger described performance element and again carry out label ID and postback.
Further, above-mentioned trigger element can comprise:
Enable unit, for after described receiving element 501 receives activation command, makes enable signal effective, after described receiving element receives termination order, makes described enable signal invalid;
Timing unit, in the effective situation of described enable signal, opens clocking capability, and when described enable signal is invalid, close clocking capability, described clocking capability is: postback after label ID terminates at described performance element, start reclocking;
Command unit, for the activation command received according to described receiving element 501, performance element described in instruction carries out label ID and to postback or when the response spacing that described timing unit timing produces to described response spacing generation unit 502, performance element described in instruction carries out label ID and postbacks.
In an embodiment of the present invention, label produces random number by wake-up command triggers, instead of postback label ID at every turn all will with the generation of a random number, so the energy consumption of label can be reduced to a great extent.
The embodiment of the present invention additionally provides a kind of reader, and as shown in Figure 6, this reader comprises:
Transmitting element 601, for sending control command;
In tag recognition process, transmitting element 601 sends wake-up order to the label in compass of competency, and the label ID carrying out the aforesaid embodiment of the present invention to activate the label receiving wake-up order postbacks process; Send to the label in compass of competency and stop order, to stop identifying.
Recognition unit 602, for receiving the label ID that the label that is activated postbacks, and identifies label according to the label ID received; The described label be activated is the label receiving the wake-up order that described transmitting element 601 sends;
Control module 603, for when the identification situation of described recognition unit 602 meets replacement condition, controls described transmitting element 601 and resends activation command.
Described reader also can comprise:
Setup unit 604, for determining the schedule time according to the response spacing of tag identification information transmission duration and label, or presets the described schedule time;
Accordingly, described control module 603 comprises:
Whether judging unit, have label to be correctly validated for judging within the described schedule time;
Reset cell, for judging to be correctly validated without label within the described schedule time at described judging unit, described in instruction, transmitting element resends activation command.
Or described reader also can comprise:
Setup unit 604, for setting predetermined wrap count;
Accordingly, described control module 603 comprises:
Whether judging unit, have label to be correctly validated for judging in described predetermined wrap count;
Reset cell, for judging at described judging unit to be correctly validated without label in described predetermined wrap count, described in instruction, transmitting element resends activation command.
The reader that the embodiment of the present invention provides, the activation command label triggered in compass of competency is utilized to produce the interval time of label ID reply at random, adjusted by the identification of activation command to label, because passive label needs to expend certain energy when producing random challenge spacing, and in the method proposed at the present embodiment, label in reader compass of competency all random after need not carrying out label ID reply at every turn produces response spacing, saves label energy consumption.
The embodiment of the present invention additionally provides a kind of recognition system of radiofrequency signal, and as shown in Figure 7, this system comprises:
Reader 70, activation command is sent for the label to compass of competency, label ID according to the tag return in compass of competency identifies label, if when identification situation meets replacement condition, then again sends activation command to the label in compass of competency;
Label 71, for according to the activation command received, postbacks label ID, and produces response spacing at random according to activation command, carry out label ID postback according to described response spacing.
In the radiofrequency signal recognition system that the embodiment of the present invention provides, the response spacing that label 71 postbacks according to the activation command generation label ID of reader 70, every secondary label ID postbacks and waits for that this response spacing postbacks next time later, instead of often secondary label ID produces response spacing after postbacking at random, avoid and trigger in answering at an activation command, label produces the problem of random number for more than 71 time, thus reduces the energy consumption of label 71.
A kind of radiofrequency signal identification provided the embodiment of the present invention above, answer method and system, label and reader are described in detail, for one of ordinary skill in the art, according to the thought of the embodiment of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.