CN103123681A - Communication method based on radio frequency identification system - Google Patents
Communication method based on radio frequency identification system Download PDFInfo
- Publication number
- CN103123681A CN103123681A CN2011103708051A CN201110370805A CN103123681A CN 103123681 A CN103123681 A CN 103123681A CN 2011103708051 A CN2011103708051 A CN 2011103708051A CN 201110370805 A CN201110370805 A CN 201110370805A CN 103123681 A CN103123681 A CN 103123681A
- Authority
- CN
- China
- Prior art keywords
- frame
- time slot
- reader
- cycle
- random number
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title abstract 4
- 238000005265 energy consumption Methods 0.000 abstract 1
Images
Classifications
-
- Y02B60/50—
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a communication method, a device and a system based on radio frequency identification system. The communication method, device and system are used for achieving both-way communication between an electronic tag and a reader in the radio frequency identification system, saving battery energy consumption of an active electronic tag, and guaranteeing communication stability between the electronic tag and the reader. The method includes steps of receiving data frames sent by the reader during a current inventory cycle, analyzing the data frames and extracting a frame number from a pre-set field, calculating a required waiting time of the current inventory cycle entering a channel idle state based on the extracted frame number, choosing a slot time from slot times contained in the current inventory cycle while determining the reader is in the channel idle state, and sending a message to the reader based on the chosen slot time. The invention discloses a communication device based on radio frequency identification system and a communication system based on radio frequency identification at the same time.
Description
Technical field
The present invention relates to field of radio frequency identification, relate in particular to a kind of communication means based on radio-frequency recognition system, Apparatus and system.
Background technology
At present, be used widely at intelligent transportation field take radio-frequency (RF) identification (Radio Frequency Identification, RFID) technology as the application system of core.The RFID technology is to utilize radiofrequency signal based on the Space Coupling transport property, realizes the automatic identification to object contactlessly.Rfid system generally comprises reader and electronic tag two parts, and wherein reader is the equipment of reading electronic labels information.Reader carries out data transmit-receive take the cycle of checking as unit, namely check and comprised transmission data and two stages of receive data in the cycle for one, different according to application scenarios, not identical in the number of a number of checking the transmission Frame that comprises in the cycle and time slot yet.
Take the path identifying system of highway as example, rfid system is comprised of road side base station (special-purpose reader), track card reader and electronic tag three parts.In the expressway access, by the track card reader, electronic tag is carried out the initialization information setting; On highway, electronic tag and road side base station carry out information interaction, and preserve necessary routing information; At expressway exit, respond with on the routing information that electronic tag will have been stored by the track card reader carries out and carry out the data processing.Yet, communicating by letter between road side base station and electronic tag is unidirectional, namely only issue routing information by road side base station to electronic tag, along with the continuous variation of the market demand and the development of RFID technology, realize that the two-way communication between road side base station and electronic tag becomes inevitable trend.
In the communication system based on the time-division, if realize the two-way communication between road side base station and electronic tag, need to carry out channel idle detects, namely determine road side base station in current free time section of checking in the cycle, select time slot that the information of electronic tag is sent to road side base station with section between at one's leisure.Traditional method is based on signal intensity indication (the Received Signal Strength Indication that receives, RSSI) carrying out channel idle detects, be the intensity (being RSSI) of the carrier signal of electronic tag Real-Time Monitoring reception, during lower than setting threshold, determine that channel is in idle condition at definite RSSI.The method also is not suitable for active electronic label, at first, RSSI is detected the radio circuit that needs electronic tag be in all the time the radio frequency reception state, and is larger to the energy consumption of electronic tag battery; Secondly, RSSI is detected the interference that easily is subject to external environment, affect the accuracy of testing result, can reduce simultaneously the stability of rfid system communication.
Summary of the invention
The invention provides a kind of communication means based on radio-frequency recognition system, Apparatus and system, in order to realize the two-way communication between electronic tag and reader in radio-frequency recognition system, and the energy content of battery consumption of saving active electronic label, guarantee the stability of communicating by letter between electronic tag and reader.
The concrete technical scheme that the embodiment of the present invention provides is as follows:
A kind of communication means based on radio-frequency recognition system comprises:
Receive reader at the current Frame that sends in the cycle of checking;
Resolve described Frame and extract frame number from predetermined field, the frame number described current cycle of checking of calculating based on extraction enters the duration that channel clear need be waited for, and when definite described reader is channel clear, select a time slot the time slot that comprises from the described current cycle of checking;
Send message based on the time slot of selecting to described reader.
Receive reader current check the Frame that sends in the cycle before, comprising: the form of the Frame that default reader sends, preset the frame number of described Frame in the predetermined field in Frame.
The frame number described current cycle of checking of calculating based on extraction enters the duration that channel clear need be waited for, comprise: check the T.T. that in the cycle, transmission takies according to current, send the time that the individual data frame takies, and from the frame number that the predetermined field of described Frame is extracted, calculate and enter the time that channel clear need be waited for.
When definite described reader is channel clear, select a time slot the time slot that comprises from the described current cycle of checking, comprise: determine the current number of time slot that is in channel clear in the cycle of checking, and generate random number according to described number of time slot, select time slot corresponding to described random number.
When generating random number according to described number of time slot, comprising: determine according to described number of time slot the bit number that random number takies, and the described random number of initialization; Judgement is caught number of times and whether is reached the bit number that random number takies, if do not reach the bit number that random number takies, with the random number bit that moves to left, start timer and based on low-frequency clock, high frequency clock caught, with the value of the lowest bit position of the data of the catching value as the lowest bit position of described random number, and will catch number of times and add after 1 judgement again and catch number of times and whether reach this special number that random number takies; If reach this special number that random number takies, select time slot corresponding to described random number.
A kind of communicator based on radio-frequency recognition system comprises:
Radio frequency chip be used for receiving reader at the current Frame that sends in the cycle of checking, and the time slot of selecting based on central processing unit sends message to reader;
Central processing unit, be used for resolving the Frame that radio frequency chip receives, and extract frame number from predetermined field, the frame number described current cycle of checking of calculating based on extraction enters the duration that channel clear need be waited for, and when definite described reader is channel clear, select a time slot the time slot that comprises from the described current cycle of checking.
Radio frequency chip receive reader current check the Frame that sends in the cycle before, the form of the Frame that default reader sends presets the frame number of described Frame in the predetermined field in Frame.
Central processing unit enters based on the frame number described current cycle of checking of calculating of extracting the duration that channel clear need be waited for, be specially: check the T.T. that in the cycle, transmission takies according to current, send the time that the individual data frame takies, and from the frame number that the predetermined field of described Frame is extracted, calculate and enter the time that channel clear need be waited for.
When central processing unit is channel clear at definite described reader, select a time slot the time slot that comprises from the described current cycle of checking, be specially: determine the current number of time slot that is in channel clear in the cycle of checking, and generate random number according to described number of time slot, select time slot corresponding to described random number.
Central processing unit generates random number according to described number of time slot, is specially: determine according to described number of time slot this special number that random number takies, and the described random number of initialization; Judgement is caught number of times and whether is reached the bit number that random number takies, if do not reach this special number that random number takies, random number is moved to left one this special, start timer and based on low-frequency clock, high frequency clock caught, with value of minimum this special position of the data of catching value as minimum this special position of described random number, and will catch number of times and add after 1 judgement again and catch number of times and whether reach this special number that random number takies; If reach the bit number that random number takies, select time slot corresponding to described random number.
A kind of communication system based on radio-frequency (RF) identification comprises:
Reader is used for sending Frame to electronic tag, and receives the message that electronic tag sends;
Electronic tag, be used for receiving reader at the current Frame that sends in the cycle of checking, resolve described Frame and extract frame number from predetermined field, the frame number described current cycle of checking of calculating based on extraction enters the duration that channel clear need be waited for, when definite described reader is channel clear, select a time slot the time slot that comprises from the described current cycle of checking, and send message based on the time slot of selecting to described reader.
based on technique scheme, in the embodiment of the present invention, electronic tag receive reader current check the Frame that sends in the cycle after, resolve this Frame and extract frame number from predetermined field, enter based on the frame number current cycle of checking of calculating of extracting the duration that channel clear need be waited for again, and after waiting for this duration, when determining that reader is channel clear, select time slot to send message to reader, thereby realized the two-way communication between electronic tag and reader, and, can not increase active electronic label to the consumption of the energy content of battery, guaranteed the stability of communicating by letter between electronic tag and reader, also need not to change the original hardware configuration of radio-frequency (RF) communication system, realize simple.
Description of drawings
Fig. 1 is radio-frequency recognition system Organization Chart in the embodiment of the present invention;
Fig. 2 is the structural representation of electronic tag in the embodiment of the present invention;
Fig. 3 is based on the communication means process flow diagram of radio-frequency recognition system in the embodiment of the present invention;
Fig. 4 is reader counting cycle composition schematic diagram in the embodiment of the present invention;
Fig. 5 is the form schematic diagram of the Frame that in the embodiment of the present invention, reader occurs.
Embodiment
In order to realize the two-way communication between electronic tag and reader in radio-frequency (RF) identification (RFID) system, and the energy content of battery consumption of saving active electronic label, the stability of communicating by letter between assurance electronic tag and reader, the embodiment of the present invention provides a kind of communication means based on radio-frequency recognition system, Apparatus and system.The method is: electronic tag receives reader at the current Frame that sends in the cycle of checking, resolve this Frame and extract frame number from predetermined field, the frame number current cycle of checking of calculating based on extraction enters the duration that channel clear need be waited for, and when definite reader is channel clear, select a time slot the time slot that comprises from the current cycle of checking, send message based on the time slot of selecting to reader.
Below in conjunction with accompanying drawing, the preferred embodiment of the invention is elaborated.
As shown in Figure 1, in the embodiment of the present invention, radio-frequency recognition system mainly contains reader 101 and electronic tag 102 forms, wherein,
Reader 101 is used for sending Frame to electronic tag 102, and receives the message that electronic tag 102 sends;
As shown in Figure 2, electronic tag 102 mainly comprises central processing unit 201, radio frequency chip 202, battery and peripheral circuit 203 thereof and antenna 204.In the embodiment of the present invention, radio frequency chip 202 receives reader by antenna 204 and sends central processing unit 201 at the current Frame that sends in the cycle of checking, and the time slot of selecting based on central processing unit 201 sends message by antenna 204 to reader; Central processing unit 201 resolution data frames also extract frame number from predetermined field, the frame number current cycle of checking of calculating based on extraction enters the duration that channel clear need be waited for, when definite reader is channel clear, select a time slot the time slot that comprises from the current cycle of checking, radio frequency chip 202 sends message by antenna 204 to reader based on the time slot of selecting.Wherein, battery and peripheral circuit 203 thereof are used for to central processing unit 201 power supplies.
Based on the said system framework, as shown in Figure 3, in the embodiment of the present invention, the method detailed flow process that communicates based on radio-frequency recognition system is as follows:
Step 301: receive reader at the current Frame that sends in the cycle of checking.
As shown in Figure 4, according to the difference of application scenarios, the number that of reader checks the number of the Frame that comprises in the cycle and time slot is not identical yet, in the embodiment of the present invention, sets a cycle of checking and comprises N Frame and N
sIndividual time slot.In the embodiment of the present invention, electronic tag receive reader current check the Frame that sends in the cycle before, needing the configuration electronic tag be the timing wake-up pattern, namely for the required parameter of electronic tag configuration timing wake-up pattern, for example, sleep time and wake duration up.
Preferably, in electronic tag, by radio frequency chip receive reader current check the Frame that sends in the cycle before, be the timing wake-up pattern by central processing unit configuration radio frequency chip, and send control command by central processing unit to radio frequency chip, make radio frequency chip be in the timing wake-up state, to receive reader at the current Frame that sends in the cycle of checking under this timing wake-up state.
Wherein, after electronic tag enters the timing wake-up state at every turn, be recorded in the time of the Frame that receives first the reader transmission under this timing wake-up state.
Step 302: the resolution data frame also extracts frame number from predetermined field, the frame number current cycle of checking of calculating based on extraction enters the duration that channel clear need be waited for, and when definite reader is channel clear, select a time slot the time slot that comprises from the current cycle of checking.
In the embodiment of the present invention, the form of the Frame that the definition reader sends after the raw information field is frame originating point information and reader information, increases new field as shown in Figure 5, to preserve the frame number of current data frame in the field of this increase.Preferably, the field of increase is 2 bytes.
Wherein, resolution data frame and after predetermined field is extracted frame number, calculating the current cycle of checking enters the duration that channel clear need be waited for, be specially: check the T.T. that the cycle transmission takies according to current, send the time that the individual data frame takies, and from the frame number that the predetermined field of Frame is extracted, calculate the time that channel idle need be waited for.
Defining the current cycle of checking, to send the T.T. take be T
q, the time that transmission individual data frame takies is T
f, the time that receives first the Frame of reader transmission is T
r, the frame number that extracts from the predetermined field of Frame is N
f, calculate and enter the zero-time T of channel clear
iFormula as follows: T
i=T
r+ T
q-N
f* T
f, further can calculate and enter the time Δ T that channel clear need be waited for
iFor: Δ T
i=T
i-T
r=T
q-N
f* T
f
In the embodiment of the present invention, in electronic tag, sending according to the current cycle of checking the T.T. that takies by central processing unit is T
q, the time that transmission individual data frame takies is T
f, and the frame number that extracts from the predetermined field of Frame is N
f, calculate and enter the time Δ T that channel clear need be waited for
i, and according to this Δ T
iThe timer of central processing unit inside is set, and this moment, radio frequency chip was in dormant state, the timer of Real-Time Monitoring central processing unit inside, and reach the time of setting at timer after, determine to enter current idle condition of checking the cycle.
Wherein, when definite reader is channel clear, carry out Slot selection, in the embodiment of the present invention, determine the current number of time slot that is in channel clear in the cycle of checking, and generate random number according to this number of time slot, select time slot corresponding to this random number.
If one is checked the number of time slot that comprises in the cycle is N
s, wherein, the time of each Time Slot Occupancy is T
s, electronic tag sends the zero-time T of message to reader
uFor: T
u=T
i+ random (0~N
s) * T
s
Preferably, check the number of time slot that comprises in the cycle according to one, when generating a random number, can catch the generation random number to high frequency clock based on the low-frequency clock of central processing unit inside.Be specially, check the bit number that the number of time slot that comprises in the cycle determines that random number takies according to one, and this random number of initialization; Then judge whether catch number of times reaches this special number that random number takies, if do not reach this special number that random number takies, random number is moved to left one this special, start timer and based on low-frequency clock, high frequency clock caught, with value of minimum this special position of the data of catching value as the lowest bit position of random number, and will catch number of times and add after 1 judgement again and catch number of times and whether reach the bit number that random number takies; If reach the bit number that random number takies, select the time slot corresponding with this random number to send message to reader.
For example, check the number of time slot N that comprises in the cycle for one
sBe 7, this special number of taking of random number is 3, and random number is initialized as zero; It is zero degree that number of times is caught in judgement, the bit that random number moved to left starts timer and also based on low-frequency clock, high frequency clock is caught, if minimum this special position of the data of catching is 1, minimum this special position with random number is 1, and will catch number of times and add 1 (catching number of times is 1); Judge that again catching number of times is 1, random number is moved to left one this special, start timer and also based on low-frequency clock, high frequency clock is caught, if minimum this special position of the data of catching is 0, minimum this special position with random number is 0, and will catch number of times and add 1 (catching number of times is 2); It is 2 that number of times is caught in judgement, random number is moved to left one this special, start timer and also based on low-frequency clock, high frequency clock is caught, if minimum this special position of the data of catching is 1, the lowest bit position with random number is 1, and will catch number of times and add 1 (catching number of times is 3); To catch number of times be 3 in judgement, reached this special number that random number takies, and generates random number, and random number is shown 101 with binary form, is 5, sends information since the 5th time slot to reader.
Step 303: send message to reader based on the time slot of selecting.
In practical application, can after generating random number R andom, calculate stand-by period Δ T according to this random number
s, and be Δ T according to the timer of waiting time configuration central processing unit inside
s, waiting for Δ T
sThe flourishing message of the backward reader of duration.
based on technique scheme, in the embodiment of the present invention, by increase field in the Frame of reader, and place the frame number of Frame in the field that increases, electronic tag receive reader current check the Frame that sends in the cycle after, resolve this Frame and extract frame number from predetermined field, enter based on the frame number current cycle of checking of calculating of extracting the duration that channel clear need be waited for again, and after waiting for this duration, when determining that reader is channel clear, select time slot to send message to reader, thereby realized the two-way communication between electronic tag and reader, and, can not increase active electronic label to the consumption of the energy content of battery, guaranteed the stability of communicating by letter between electronic tag and reader.In addition, the technical scheme that the embodiment of the present invention provides does not need to change the original hardware configuration of radio-frequency (RF) communication system, realizes simple.
Obviously, those skilled in the art can carry out various changes and modification and not break away from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of claim of the present invention and equivalent technologies thereof, the present invention also is intended to comprise these changes and modification interior.
Claims (9)
1. the communication means based on radio-frequency recognition system, is characterized in that, comprising:
Receive reader at the current Frame that sends in the cycle of checking;
Resolve described Frame and extract frame number from predetermined field, the frame number described current cycle of checking of calculating based on extraction enters the duration that channel clear need be waited for, and when definite described reader is channel clear, select a time slot the time slot that comprises from the described current cycle of checking;
Send message based on the time slot of selecting to described reader.
2. the method for claim 1, is characterized in that, receive reader current check the Frame that sends in the cycle before, comprising:
Preset the form of the Frame of reader transmission, preset the frame number of described Frame in the predetermined field in Frame.
3. method as claimed in claim 2, is characterized in that, calculates the described current cycle of checking based on the frame number that extracts and enter the duration that channel clear need be waited for, comprising:
Check the T.T. that in the cycle, transmission takies according to current, send the time that the individual data frame takies, and from the frame number that the predetermined field of described Frame is extracted, calculate and enter the time that channel clear need be waited for.
4. as claim 1,2 or 3 described methods, it is characterized in that, when definite described reader is channel clear, select a time slot the time slot that comprises from the described current cycle of checking, comprising:
Determine the current number of time slot that is in channel clear in the cycle of checking, and generate random number according to described number of time slot, select time slot corresponding to described random number.
5. method as claimed in claim 4, is characterized in that, when generating random number according to described number of time slot, comprising:
Determine according to described number of time slot the bit number that random number takies, and the described random number of initialization;
Judgement is caught number of times and whether is reached this special number that random number takies, if do not reach the bit number that random number takies, with the random number bit that moves to left, start timer and based on low-frequency clock, high frequency clock caught, with value of minimum this special position of the data of catching value as minimum this special position of described random number, and will catch number of times and add after 1 judgement again and catch number of times and whether reach the bit number that random number takies;
If reach this special number that random number takies, select time slot corresponding to described random number.
6. the communicator based on radio-frequency recognition system, is characterized in that, comprising:
Radio frequency chip be used for receiving reader at the current Frame that sends in the cycle of checking, and the time slot of selecting based on central processing unit sends message to reader;
Central processing unit, be used for resolving the Frame that radio frequency chip receives, and extract frame number from predetermined field, the frame number described current cycle of checking of calculating based on extraction enters the duration that channel clear need be waited for, and when definite described reader is channel clear, select a time slot the time slot that comprises from the described current cycle of checking.
7. device as claimed in claim 6, it is characterized in that, radio frequency chip receive reader current check the Frame that sends in the cycle before, the form of the Frame that default reader sends presets the frame number of described Frame in the predetermined field in Frame.
8. device as claimed in claim 7, is characterized in that, central processing unit enters based on the frame number described current cycle of checking of calculating of extracting the duration that channel clear need be waited for, is specially:
Check the T.T. that in the cycle, transmission takies according to current, send the time that the individual data frame takies, and from the frame number that the predetermined field of described Frame is extracted, calculate and enter the time that channel clear need be waited for.
9. as claim 6,7 or 8 described devices, it is characterized in that, when central processing unit is channel clear at definite described reader, select a time slot the time slot that comprises from the described current cycle of checking, be specially:
Determine the current number of time slot that is in channel clear in the cycle of checking, and generate random number according to described number of time slot, select time slot corresponding to described random number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103708051A CN103123681A (en) | 2011-11-21 | 2011-11-21 | Communication method based on radio frequency identification system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103708051A CN103123681A (en) | 2011-11-21 | 2011-11-21 | Communication method based on radio frequency identification system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103123681A true CN103123681A (en) | 2013-05-29 |
Family
ID=48454656
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011103708051A Pending CN103123681A (en) | 2011-11-21 | 2011-11-21 | Communication method based on radio frequency identification system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103123681A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130043982A1 (en) * | 2010-02-01 | 2013-02-21 | France Telecom | Method of identifying and authenticating a radio tag by a reader |
-
2011
- 2011-11-21 CN CN2011103708051A patent/CN103123681A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130043982A1 (en) * | 2010-02-01 | 2013-02-21 | France Telecom | Method of identifying and authenticating a radio tag by a reader |
US9332430B2 (en) * | 2010-02-01 | 2016-05-03 | France Telecom | Method of identifying and authenticating a radio tag by a reader |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103093170B (en) | A kind of electronic tag knows method for distinguishing and device fast | |
CN108806227A (en) | A kind of NB-IOT water meters and processing method | |
CN208673514U (en) | A kind of NB-IOT water meter | |
CN204842244U (en) | Automatic sorting device based on RFID | |
CN104598962B (en) | A kind of active passive type dual-band chip and RFID system | |
CN101807937A (en) | Method for communication between vehicular radio-frequency identification card and wireless base station | |
CN101630374B (en) | SIM card with radio frequency identification function and power-saving method thereof | |
CN102998557A (en) | Onboard unit in ETC (electronic toll collection) system, and system and method for testing onboard unit | |
US20110090063A1 (en) | Apparatus and method using histogram-based techniques for avoiding overpolling | |
CN101236594A (en) | Rapid response long distance recognition radio frequency label | |
CN107862231B (en) | System for preventing electronic tag from being awakened by mistake | |
CN101662289B (en) | Passive ultrahigh-frequency radio-frequency identification chip decoder and decoding method | |
CN112232463A (en) | Low-power-consumption RFID read-write system and method | |
CN102831364B (en) | A kind of wakeup signal matching method, device and label | |
CN207868814U (en) | A kind of battery control circuit and equipment | |
CN201341134Y (en) | Vehicle radio frequency identification wireless base station and radio frequency communication system | |
CN103679255A (en) | Dual-frequency tag device and dual-frequency tag identification positioning system | |
CN205247416U (en) | Reader -writer | |
CN105426949B (en) | A kind of low-power consumption timing wake-up method and apparatus | |
CN105476194A (en) | Electronic school badge based on RFID (radio frequency identification) technology and having step counting function as well as control method of electronic school badge | |
CN102737207B (en) | Communication method based on radio frequency identification system, apparatus and system thereof | |
CN103123681A (en) | Communication method based on radio frequency identification system | |
CN105743826B (en) | A kind of Miller subcarrier coding/decoding method | |
CN101655922A (en) | Passive ultrahigh frequency radio frequency identification chip backscatter link frequency generation circuit and method | |
CN101996303B (en) | Method and device for controlling communication distance in radio frequency SIM (Subscriber Identity Module) card communication system by applying magnetic induction |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130529 |