WO2011036065A1 - Method for processing command by tag in radio frequency identification system and tag thereof - Google Patents

Method for processing command by tag in radio frequency identification system and tag thereof Download PDF

Info

Publication number
WO2011036065A1
WO2011036065A1 PCT/EP2010/063257 EP2010063257W WO2011036065A1 WO 2011036065 A1 WO2011036065 A1 WO 2011036065A1 EP 2010063257 W EP2010063257 W EP 2010063257W WO 2011036065 A1 WO2011036065 A1 WO 2011036065A1
Authority
WO
WIPO (PCT)
Prior art keywords
command
tag
reader
cyclic redundancy
redundancy check
Prior art date
Application number
PCT/EP2010/063257
Other languages
French (fr)
Inventor
Liang Zhang
Hui Li
Yong Yuan
Original Assignee
Siemens Aktiengesellschaft
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Siemens Aktiengesellschaft filed Critical Siemens Aktiengesellschaft
Publication of WO2011036065A1 publication Critical patent/WO2011036065A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/0723Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips the record carrier comprising an arrangement for non-contact communication, e.g. wireless communication circuits on transponder cards, non-contact smart cards or RFIDs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0008General problems related to the reading of electronic memory record carriers, independent of its reading method, e.g. power transfer

Abstract

The present invention provides a tag and its method for processing a command. The method comprises: receiving by the tag a command from a reader and carrying out a cyclic redundancy check on the received command; if the received command passes the cyclic redundancy check, then an operation corresponding to the received command is executed and a response is fed back to the reader; otherwise, the received command is discarded and a response about the failure of the cyclic redundancy check is fed back to the reader. By way of the tag of the present invention and its method for processing a command, even in the case that the CRC check on the command sent from the reader to the tag is a failure, the reader can still receive a response from the tag about the failure of the CRC check within 20 ms of sending out the command, so as to stop sending a continuous wave (CW) in advance and to send a new command to the tag in advance without having to wait for as long as 20 ms, therefore the present invention can improve the processing efficiency and the performance of the whole RFID system.

Description

Description
Method for processing command by tag in radio frequency identification system and tag thereof
Technical field
The present invention relates to the technical field of radio frequency identification (RFID) and, particularly, to a method for processing by a tag a command from a reader in an RFID system and a tag for implementing the method.
Background art
In recent years, RFID technology has gained more and more attention. Since hundreds of targets can be identified instantly by way of RFID technology, RFID technology can be applied in a variety of situations such as logistics and production sites. However, no matter in which application situation it is used, its processing efficiency is always one of the important criteria for evaluating the system performance of an RFID system.
According to the provisions of the protocol "EPC Radio- Frequency Identity Protocols Class-1 Generation-2 UHF RFID Protocol for Communications at 860MHz-960MHz Version 1.0.9" established by the worldwide EPC organization, EPC global, in an RFID system, when the distance between a tag and a reader is within the reading range of the reader, the reader will initiate a process to identify the tag. After the reader has successfully completed the identification of the tag, the tag will enter an Open or a Secure state, then the reader may send a command to the tag in the Open/Secure state, instructing the tag to perform a corresponding operation. For example, the reader can send a Write command, a Kill command, a Lock command, a BlockWrite command or a BlockErase command to the tag in the Open/Secure state, to instruct the tag to perform a corresponding Write, Kill, Lock, BlockWrite or BlockErase operation. Accordingly, after the tag in the Open/Secure state has received the command from the reader, the tag will first carry out a cyclic redundancy check (CRC) on the received command, and, if the CRC check is successful, then it performs the operation corresponding to the received command and feeds back to the reader a response to inform the reader of the processing result of the received command; otherwise, if the check is failed, the tag discards the received command, and then continues waiting for a new command from the reader. At the same time, the reader, after having sent a command, will further send a continuous-wave (CW) to the tag in the Open/Secure state, so as to provide the tag with the energy required for performing the corresponding operation, and at the same time wait for the response from the tag. According to the provisions of the protocol, the longest time period for the reader to wait for the response from the tag is 20 milliseconds (ms) , that is, if the reader receives a response from the tag within 20 ms after sending a command, it will stop sending the CW after having received the response from the tag; otherwise, if no response from the tag is received within 20 ms after sending the command, it will immediately stop sending the CW. After having stopped sending the CW, the reader can go on to send a new command to the tag in the Open/Secure state. For ease of description, the time period from the moment when the reader sends out a command to the moment when the reader receives a response from the tag can be referred to as the tag's response time TREPLY. It can be found by statistics that, if both the reader and the tag operate at the highest transmission rate, TREPLY is approximately 2.8 ms, which is far less than 20 ms; while even if the reader and the tag both have the lowest transmission rate, TREPLY is approximately 18 ms, which is still less than 20 ms .
It can be seen from the above-described execution process that, if the tag in the Open/Secure state fails in the CRC check of the received command, the tag will discard the received command without feeding back any response to the reader. Therefore, in this case the reader needs to send the CW continuously for 20 ms, that is to say, in this case the reader has to wait for at least 20 ms before it can send a new command to the tag. Since in normal circumstances the response time of a tag is far less than 20 ms, it leads to an excessively long waiting time period for the reader in the case that the CRC check of the command sent from the reader to the tag fails, and this significantly affects the processing efficiency of the RFID system.
The object of the invention is to solve the above-mentioned problem. The embodiments of the present invention provide a method for processing a command by a tag and a tag for implementing the method, so as to improve the processing efficiency and performance of the whole RFID system.
The method for processing a command by a tag described in the embodiments of the present invention comprises:
receiving a command from a reader and carrying out a cyclic redundancy check on the received command;
if the received command passes the cyclic redundancy check, performing an operation corresponding to the received command and feeding back a response to the reader; otherwise, discarding the received command and feeding back to the reader a response about the failure of the cyclic redundancy check.
In this case, the above-mentioned command is a command for revising data or a flag in the tag, comprising a write command, a kill command, a lock command, a BlockWrite command and a BlockErase command.
The above-mentioned command further comprises predefining a response to the failure of the cyclic redundancy check.
Alternatively, the above-mentioned command further comprises: predefining an error code for identifying the failure of the cyclic redundancy check; in this case said feeding back to the reader the response about the failure of the cyclic redundancy check comprises: generating the error code for identifying the failure of the cyclic redundancy check; and feeding back a tag error response carrying the generated error code to the reader.
The tag as described in the embodiments of the present invention comprises:
a command receiving unit for receiving a command from a reader;
a cyclic redundancy checking unit for carrying out the cyclic redundancy check on the received command;
a command performing and responding unit, for performing an operation corresponding to the received command and feeding back to the reader a response in the case that the cyclic redundancy check on the received command is passed; and
a cyclic redundancy check failure responding unit, for discarding the received command and feeding back to the reader a response about the failure of the cyclic redundancy check in the case that the cyclic redundancy check on the received command fails.
In this case, said cyclic redundancy check failure responding unit comprises:
an error code generating module, for generating an error code for identifying the failure of the cyclic redundancy check; and
a tag error responding module, for feeding back to the reader a tag error response carrying the generated error code.
By way of the method and the tag in the embodiments of the present invention, even in the case that a CRC check on the command sent from the reader to the tag fails, the reader can still receive a response from the tag about the failure of the cyclic redundancy check within 20 ms of sending the command, the reader can thereby detect the failure of the cyclic redundancy check on the command to the tag as early as possible, stop sending a continuous wave (CW) in advance and send a new command to the tag in advance without having to wait for a time period as long as 20 ms, thus improving the processing efficiency and the performance of the whole RFID system.
Brief description of the accompanying drawings
Fig. 1 is a flowchart of the method for processing a command by a tag according to the embodiments of the present invention; and
Fig. 2 is an internal structural diagram of the tag described in the embodiments of the present invention.
Exemplary embodiments
In order to make the objects, technical solutions and advantages of the present invention more clear, the present invention will be described in detail hereinbelow in conjunction with the accompanying drawings and particular embodiments .
The embodiments of the present invention provide a method for processing a command from a reader by a tag. In the embodiments, the tag is a tag in an Open/Secure state. The implementation process of the method for processing by the tag a command from the reader according to the embodiments of the present invention is shown in Fig.l, which mainly comprises:
Step 101: receiving a command from a reader, and carrying out a CRC check on the received command.
In this embodiment, said command from the reader can be a command for revising the data or a flag in the tag, such as Write, Kill, Lock, BlockWrite or BlockErase and so on.
Step 102: if the CRC check on the received command is passed, perform step 103; otherwise perform step 104. Step 103: perform an operation corresponding to the received command and feed back a response to the reader.
According to the provisions of the RFID protocol, after successfully performing the operation corresponding to the received command, a tag will feed back a response to the reader to inform the reader of the success in performing the operation. Even if the operation corresponding to the received command is not performed successfully, the tag will still feed back to the reader a tag-error reply carrying an error code, informing the reader the reasons for the failure.
Step 104: discard the received command, and feed back to the reader a response about the failure of the cyclic redundancy check.
In this step, a new message can be predefined between the reader and the tag as said response about the failure of the cyclic redundancy check. The newly defined message can adopt any user-defined format.
Of course, in order to minimize changes the existing RFID systems as much as possible, said response about the failure of the cyclic redundancy check fed-back from the tag to the reader can adopt the format of a tag-error reply provided in the existing RFID protocol, that is, it can include a 1-bit header, an 8-bit error code, a 16-bit RN and a 16-bit CRC-16 check code. Then in this step, when the received command is discarded, it will further generate an error code for identifying the failure of the cyclic redundancy check, and feed back to the reader the tag-error response carrying the generated error code. At the moment, there are 5 error codes already defined in the RFID protocol, which are respectively: 00000000 , 00000011 , 00000100 , 00001011 and 00001111. Therefore, in this embodiment, the tag and the reader need to predefine an error code for identifying the failure of the cyclic redundancy check, and the predefined error code for identifying the failure of the cyclic redundancy check should be different from the error codes already defined in the existing RFID protocol, for example, any 8 bits other than the above mentioned 5 error codes, such as 11111111, can be chosen as the error code for identifying the CRC check error. Or alternatively, the tag can carry any error code in said response about the failure of the cyclic redundancy check without having to consider whether the reader can identify the error code, as long as the purpose of informing the reader to stop sending the CW and terminate waiting for response can be achieved.
In this way, even in the case that the CRC check on the command sent from the reader to the tag fails, the reader can still receive from the tag a response about the failure of the cyclic redundancy check within 20 ms of sending the command. Therefore, by using the method as described in this embodiment, the reader can detect the failure of a CRC check on the command to the tag as early as possible, stop sending the continuous wave (CW) in advance and send a new command to the tag in advance without having to wait for a time period as long as 20 ms, thus improving the processing efficiency and the performance of the whole RFID system.
In addition to the above-mentioned method for processing a command, the embodiment of the present invention also provides a tag for implementing the above-mentioned method. The internal structure of the tag described in the embodiment of the present invention is shown in Fig. 2, which mainly comprises:
a command receiving unit for receiving a command from a reader;
a cyclic redundancy checking unit for carrying out a cyclic redundancy check on the received command;
a command performing and responding unit, for performing an operation corresponding to the received command and feeding back a response to the reader in the case that the cyclic redundancy check on the received command is passed; and a cyclic redundancy check failure responding unit, for discarding the received command and feeding back to the reader a response about the failure of the cyclic redundancy check in the case that the cyclic redundancy check on the received command fails.
In this case, said cyclic redundancy check failure responding unit comprises:
an error code generating module, for generating an error code for identifying the failure of the cyclic redundancy check; and
a tag error responding module, for feeding back a tag error response carrying the generated error code to the reader.
It is found from statistics that the time period for a response about the failure of the cyclic redundancy check to transmit from the tag to the reader is far less than 20 ms, for example, if both the reader and the tag operate at the highest transmission rate, the time period for the response to transmit from the tag to the reader is merely approximately 0.1 ms, and even if both the reader and the tag have only the lowest transmission rate, the time period for the failure of the cyclic redundancy check response to transmit from the tag to the reader is still merely about 1.5 ms . Therefore, in the case that the CRC check on the command sent from the reader to the tag fails, the time spent by the reader in sending the CW can be reduced significantly, and the processing efficiency and performance of the RFID system can be improved substantially.
By way of example, assuming that the signalling from the reader to the tag adopts pulse-interval encoding (PIE) , the transmission rate of the tag is from 40 kbps to 640 kbps . It is found from statistics that, when the transmission rate of the tag is 640 kbps, by using the method described in the embodiments of the present invention, the time period for the RFID system to process a command which fails a cyclic redundancy check will be reduced to 15% of the original time period, and even if the transmission rate of the tag is merely 40 kbps, the processing time will still be reduced by half, therefore the processing efficiency of the RFID system is considerably improved.
What are described above are merely preferred embodiments of the present invention, they are not intended to limit the present invention, and all modifications, equivalent replacements, improvements and so on within the spirit and principle of the present invention should be covered in the protective scope of the present invention.

Claims

Claims
1. A method for processing a command by a tag, comprising:
receiving a command from a reader, and carrying out a cyclic redundancy check on the received command;
if the received command passes the cyclic redundancy check, performing an operation corresponding to the received command and feeding back a response to the reader; otherwise, discarding the received command and feeding back to the reader a response about the failure of the cyclic redundancy check.
2. The method as claimed in claim 1, characterized in that said command is a command for revising data or a flag in the tag .
3. The method as claimed in claim 2, characterized in that said command for revising the data or the flag in the tag comprises: a write command, a kill command, a lock command, a BlockWrite command and a BlockErase command.
4. The method as claimed in claim 1, characterized in that it further comprises: predefining a response to the failure of the cyclic redundancy check.
5. The method as claimed in claim 1, characterized in that it further comprises: predefining an error code for identifying the failure of the cyclic redundancy check;
wherein said feeding back to the reader the response about the failure of the cyclic redundancy check comprises:
generating an error code for identifying the failure of the cyclic redundancy check; and
feeding back to the reader a tag error response carrying the error code thus generated.
6. The method as claimed in claim 1, characterized in that said feeding back to the reader the response about the failure of the cyclic redundancy check comprises: feeding back to the reader a tag error response carrying any error code.
7. A tag, comprising:
a command receiving unit for receiving a command from a reader;
a cyclic redundancy check unit for carrying out a cyclic redundancy check on the command received;
a command performing and responding unit, for performing an operation corresponding to the received command and feeding back to the reader a response in the case that the cyclic redundancy check on the received command is passed; and
a cyclic redundancy check failure responding unit, for discarding the received command and feeding back to the reader a response about the failure of the cyclic redundancy check in the case that the cyclic redundancy check on the received command fails.
8. The tag as claimed in claim 7, characterized in that said cyclic redundancy check failure responding unit comprises:
an error code generating module, for generating an error code for identifying the failure of the cyclic redundancy check;
a tag error responding module, for feeding back to the reader a tag error response carrying the generated error code.
PCT/EP2010/063257 2009-09-28 2010-09-09 Method for processing command by tag in radio frequency identification system and tag thereof WO2011036065A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910177246.5 2009-09-28
CN2009101772465A CN102034119A (en) 2009-09-28 2009-09-28 Tag and method for processing command by using same in RFID (radio frequency identification) system

Publications (1)

Publication Number Publication Date
WO2011036065A1 true WO2011036065A1 (en) 2011-03-31

Family

ID=43382433

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/EP2010/063257 WO2011036065A1 (en) 2009-09-28 2010-09-09 Method for processing command by tag in radio frequency identification system and tag thereof

Country Status (2)

Country Link
CN (1) CN102034119A (en)
WO (1) WO2011036065A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10664398B2 (en) 2018-07-31 2020-05-26 International Business Machines Corporation Link-level cyclic redundancy check replay for non-blocking coherence flow

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109344147A (en) * 2018-09-26 2019-02-15 郑州云海信息技术有限公司 A kind of data managing method, device and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060022058A1 (en) * 2004-07-29 2006-02-02 Nec Electronics Corporation Semiconductor device for IC tag, IC tag and control method for IC tag for detecting and executing command from radio wave
US20060153579A1 (en) * 2005-01-13 2006-07-13 Xerox Corporation Replaceable unit monitor reader with auto polling capabilities
US20080211637A1 (en) * 2007-03-02 2008-09-04 John Stephen Smith Tiered radio frequency identification

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060022058A1 (en) * 2004-07-29 2006-02-02 Nec Electronics Corporation Semiconductor device for IC tag, IC tag and control method for IC tag for detecting and executing command from radio wave
US20060153579A1 (en) * 2005-01-13 2006-07-13 Xerox Corporation Replaceable unit monitor reader with auto polling capabilities
US20080211637A1 (en) * 2007-03-02 2008-09-04 John Stephen Smith Tiered radio frequency identification

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10664398B2 (en) 2018-07-31 2020-05-26 International Business Machines Corporation Link-level cyclic redundancy check replay for non-blocking coherence flow

Also Published As

Publication number Publication date
CN102034119A (en) 2011-04-27

Similar Documents

Publication Publication Date Title
US9659196B2 (en) Method, apparatus and system for verifying data
US8653947B2 (en) Radio frequency identification system and tag counting ending method for anti-collision thereof
US8310343B2 (en) Binary tree method for multi-tag anti-collision
KR20100011711A (en) Methods of identifying rfid tag for preventing rfid tag collision, rfid reader and rfid tag using the same
WO2011009768A2 (en) A method and reader for reading tag data a radio frequency identification system
US8120463B2 (en) RFID protocol for improved tag-reader communications integrity
US8963690B2 (en) Identification system
EP2329426B1 (en) Method for adjusting the transmission time of the carrier wave in an rfid reader and reader implementing the method
CN113645600A (en) Data transmission method, device, terminal and storage medium
WO2011036065A1 (en) Method for processing command by tag in radio frequency identification system and tag thereof
CN109740394B (en) Radio frequency identification anti-collision method
CN101470791B (en) Radio frequency signal recognition and response method and system, label and reading device
CN104778484A (en) Control method and device for electronic tag identification for RFID (radio frequency identification) reader
CN107506675B (en) Method for optimizing multi-label processing flow of RFID reader-writer
US11770156B2 (en) System and method for managing communication between contactless devices
US20120188060A1 (en) Method and system for counting tags in radio frequency identification system
CN101661547B (en) Method for writing data to tag in radio frequency identification system and device
US20080100433A1 (en) Method and Write/Read Station and Transponder of an RFID System for Data Transmission
CN117933277A (en) Label inventory method, device, node and storage medium
WO2023092945A1 (en) Communication method, node, device, communication system, and storage medium
CN112905521A (en) Dual-system data communication method, device, equipment and medium
CN116347407A (en) Processing method of passive RFID system, RFID tag and receiver
US9350407B1 (en) Interface chip and control method therefor
CN116596002A (en) RFID tag read-write permission authentication device, method and equipment for cable
CN116670679A (en) Communication method and communication device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10757582

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10757582

Country of ref document: EP

Kind code of ref document: A1