CN101957923A - Method and reader for reading data from tags in radio frequency identification system - Google Patents
Method and reader for reading data from tags in radio frequency identification system Download PDFInfo
- Publication number
- CN101957923A CN101957923A CN2009101600596A CN200910160059A CN101957923A CN 101957923 A CN101957923 A CN 101957923A CN 2009101600596 A CN2009101600596 A CN 2009101600596A CN 200910160059 A CN200910160059 A CN 200910160059A CN 101957923 A CN101957923 A CN 101957923A
- Authority
- CN
- China
- Prior art keywords
- data
- label
- read
- epc
- code
- 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 claims abstract description 126
- 238000012937 correction Methods 0.000 claims abstract description 68
- 230000008569 process Effects 0.000 claims description 44
- 125000004122 cyclic group Chemical group 0.000 claims description 19
- 230000002708 enhancing effect Effects 0.000 claims 2
- 230000001105 regulatory effect Effects 0.000 claims 2
- 238000005728 strengthening Methods 0.000 claims 2
- 238000000151 deposition Methods 0.000 claims 1
- 238000001514 detection method Methods 0.000 abstract description 77
- 239000000047 product Substances 0.000 description 78
- 230000005540 biological transmission Effects 0.000 description 16
- 230000033590 base-excision repair Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 9
- 238000004519 manufacturing process Methods 0.000 description 9
- 238000012795 verification Methods 0.000 description 8
- 238000012790 confirmation Methods 0.000 description 6
- 238000012360 testing method Methods 0.000 description 6
- 238000004364 calculation method Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 230000006872 improvement Effects 0.000 description 5
- 230000008859 change Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000000052 comparative effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000010187 selection method Methods 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/0008—General problems related to the reading of electronic memory record carriers, independent of its reading method, e.g. power transfer
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/10009—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
- G06K7/10297—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves arrangements for handling protocols designed for non-contact record carriers such as RFIDs NFCs, e.g. ISO/IEC 14443 and 18092
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Health & Medical Sciences (AREA)
- Toxicology (AREA)
- Artificial Intelligence (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Electromagnetism (AREA)
- General Health & Medical Sciences (AREA)
- Computer Networks & Wireless Communication (AREA)
- Near-Field Transmission Systems (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
Abstract
本发明提出一种在射频识别系统中对标签中的数据进行读取的方法,所述射频识别系统包括一个以上读写器和一组标签,所述每个标签均包含一个数据和一组特征描述信息,在该方法中,首先第一读写器或者所述标签使用一个具有纠错和检错能力的编码,对所述特征描述信息进行编码并将所述编码写入所述标签;然后所述第一读写器或第二读写器对所述标签进行读取,接收到所述经编码后的特征描述信息,并通过所述编码对所述特征描述信息进行解码;最后,所述第一读写器或第二读写器根据解码后的特征描述信息对相应的数据进行读取。本发明通过对标签中的特征描述信息进行保护,从而有效地帮助读写器掌握标签的特征,更加准确地读取标签的存储数据。
The present invention proposes a method for reading data in tags in a radio frequency identification system, the radio frequency identification system includes more than one reader and a group of tags, and each tag contains a data and a set of characteristics Descriptive information, in this method, firstly, the first reader-writer or the tag uses a code with error correction and error detection capabilities to code the feature description information and write the code into the tag; then The first reader-writer or the second reader-writer reads the tag, receives the encoded feature description information, and decodes the feature description information through the encoding; finally, the The first reader-writer or the second reader-writer reads corresponding data according to the decoded feature description information. The invention protects the feature description information in the tag, thereby effectively helping the reader-writer to grasp the feature of the tag and read the storage data of the tag more accurately.
Description
技术领域technical field
本发明涉及射频识别(Radio Frequency Identification,简称RFID)技术,尤其涉及一种在射频识别系统中对标签数据进行读取的方法和实现该方法的读写器。The invention relates to radio frequency identification (Radio Frequency Identification, referred to as RFID) technology, in particular to a method for reading tag data in a radio frequency identification system and a reader/writer for realizing the method.
背景技术Background technique
最近,UHF无线射频识别(RFID)技术越来越受到关注。由于UHF RFID具有每秒识别数百个唯一对象的能力,其在物流相关场合中创造出了许多应用机会。随着新技术的快速发展,例如,近场UHF技术、电池辅助的无源标签等,UHF RFID也被视为制造应用场合(例如药品生产线操作)的潜在解决方案。由于UHF RFID符合全球通用的EPC C1G2标准(EPC Radio-Frequency Identity Protocols Class-1 Generation-2 UHF RFIDProtocol for Communications at 860MHz-960MHz),具有高速读/写等独特的优点,与制造应用场合中传统的HF频段解决方案相比可以获得更好的性能。Recently, UHF radio frequency identification (RFID) technology has received increasing attention. With the ability to identify hundreds of unique objects per second, UHF RFID creates many application opportunities in logistics-related situations. With the rapid development of new technologies, such as near-field UHF technology, battery-assisted passive tags, etc., UHF RFID is also considered as a potential solution for manufacturing applications such as pharmaceutical production line operations. Since UHF RFID conforms to the global EPC C1G2 standard (EPC Radio-Frequency Identity Protocols Class-1 Generation-2 UHF RFID Protocol for Communications at 860MHz-960MHz), it has unique advantages such as high-speed read/write, and is different from traditional Better performance can be achieved compared to HF band solutions.
然而,在制造应用场合中,标签读/写的可靠性对于生产线能否连续运行至关重要。对于这些应用场合,UHF RFID所面临的最大挑战是读/写操作的可靠性较差。对于所有的读/写操作,首要步骤是读出EPC C1G2标准中的电子产品代码(Electronic ProductCode:EPC)。可以说,EPC读取的可靠性将决定整个读/写程序的可靠性和速度。However, in manufacturing applications, the reliability of tag read/write is critical to the continuous operation of the production line. For these applications, the biggest challenge for UHF RFID is the poor reliability of read/write operations. For all read/write operations, the first step is to read the Electronic Product Code (Electronic ProductCode: EPC) in the EPC C1G2 standard. It can be said that the reliability of EPC reading will determine the reliability and speed of the entire read/write program.
通常,有三种情况可能会导致读取EPC失败,分别是:读写器读取RN16前缀超时、读写器读取EPC数据前缀超时和读写器对EPC数据进行CRC校验发生错误。如图1所示,读取EPC的过程可以分为两个阶段。首先,读写器(Reader)发送一个查询命令Query给标签(Tag),然后标签发送一个作为句柄的16位随机数或伪随机数据(RN16)给读写器。接下来,读写器发送一个带有有效句柄的ACK命令给标签,标签接收到该ACK命令后,反向散射其EPC数据。除了EPC代码之外,EPC数据还包括协议控制位(ProtocolControl;PC)和循环冗余校验位(Cyclic Redundancy Check;CRC)。若捕获RN16前缀或者EPC数据前缀失败,将分别导致RN16超时和EPC超时。另外,由于标签冲突而产生的无效句柄也可以导致EPC超时。除此之外,由于在EPC读取过程中读写器只使用CRC进行校验,EPC传输中某些错误的位将会导致读写器进行CRC校验时发生CRC错误、其至导致EPC接收失败。Generally, there are three situations that may cause the failure of reading EPC, namely: the timeout of the reader reading the RN16 prefix, the timeout of the reader reading the EPC data prefix, and the error of the CRC check of the EPC data by the reader. As shown in Figure 1, the process of reading the EPC can be divided into two stages. First, the reader (Reader) sends a query command Query to the tag (Tag), and then the tag sends a 16-bit random number or pseudo-random data (RN16) as a handle to the reader. Next, the reader sends an ACK command with a valid handle to the tag. After receiving the ACK command, the tag backscatters its EPC data. In addition to the EPC code, the EPC data also includes protocol control bits (ProtocolControl; PC) and cyclic redundancy check bits (Cyclic Redundancy Check; CRC). If the capture of RN16 prefix or EPC data prefix fails, it will cause RN16 timeout and EPC timeout respectively. In addition, invalid handles due to label conflicts can also cause EPC timeouts. In addition, since the reader only uses CRC for verification during the EPC reading process, some wrong bits in the EPC transmission will cause CRC errors when the reader performs CRC verification, and even cause the EPC to receive fail.
由于标签设计非常简单,一般不要求标签使用复杂的方法(例如,信源和信道编码)进行通信,以减少发生这三种情况的机会。在西门子公司的专利申请200810004983.0中,提出了一种“在射频识别系统中向被动式标签提供能量的方法和装置”,能够较好地解决前两种失败情况。然而在许多UHF RFID的应用场合,例如制造应用场合,由于标签的设计简单,大量的干扰将使读写器无法正确地接收EPC,导致读写器读取EPC数据时发生CRC错误。但是,对于许多对读/写速度有特殊要求的应用场合来说,EPC数据的接收效率和可靠性非常重要。Since the tag design is very simple, tags are generally not required to communicate using complex methods (eg, source and channel coding) to reduce the chances of these three situations occurring. In the patent application 200810004983.0 of Siemens AG, a "method and device for providing energy to passive tags in a radio frequency identification system" is proposed, which can better solve the first two failure situations. However, in many UHF RFID applications, such as manufacturing applications, due to the simple design of the tag, a large amount of interference will make the reader unable to receive EPC correctly, resulting in CRC errors when the reader reads EPC data. However, for many applications that have special requirements on read/write speed, the receiving efficiency and reliability of EPC data are very important.
现有技术中对读写器无法正确地接收EPC,导致读写器读取EPC数据时发生CRC错误这一问题具有一些解决方法。例如,在接收EPC数据的过程中,某些读写器(如ALR8800)在读取EPC数据时一旦发生错误,读写器可以重传确认命令ACK,以在EPC数据无法通过检测的情况下再次进行标签反向散射EPC数据。In the prior art, there are some solutions to the problem that the reader/writer cannot receive the EPC correctly, resulting in CRC errors when the reader/writer reads the EPC data. For example, in the process of receiving EPC data, once an error occurs when some readers (such as ALR8800) read EPC data, the reader can retransmit the acknowledgment command ACK, so that the EPC data cannot pass the test again. Perform label backscatter EPC data.
但是,如图2所示,由于信令的结束不理想,读写器很难检测到标签反向散射的传输结束。读写器只能依靠EPC数据中的协议控制位PC的第一个字节来确定EPC接收过程所要接收的位数(两个字节的PC数据中包含EPC代码、或者说EPC数据的长度)。图3显示了现有技术中通过重传确认命令ACK来获得EPC代码的基本流程图。However, as shown in Figure 2, due to the unsatisfactory end of the signaling, it is difficult for the reader to detect the end of the tag backscattered transmission. The reader can only rely on the first byte of the protocol control bit PC in the EPC data to determine the number of bits to be received during the EPC receiving process (the two-byte PC data contains the EPC code, or the length of the EPC data) . Fig. 3 shows a basic flowchart of obtaining an EPC code by retransmitting an acknowledgment command ACK in the prior art.
首先,读写器向标签发送查询命令Query。标签接收到查询命令Query后,返回给读写器一个16位的随机数RN16作为句柄。如果读写器没有接收到随机数RN16,则经过一段时间后读写器重新发送查询命令Query。First, the reader sends a query command Query to the tag. After receiving the query command Query, the tag returns a 16-bit random number RN16 as a handle to the reader. If the reader does not receive the random number RN16, the reader resends the query command Query after a period of time.
其次,读写器接收到标签发送的随机数RN16后,发送一个确认命令ACK给标签。标签接收到确认命令ACK后,向读写器返回电子产品代码EPC数据的前缀。如果读写器没有检测到该前缀,则经过一段时间后读写器重新发送查询命令Query。Secondly, after receiving the random number RN16 sent by the tag, the reader/writer sends an acknowledgment command ACK to the tag. After the tag receives the confirmation command ACK, it returns the prefix of the electronic product code EPC data to the reader. If the reader does not detect the prefix, the reader resends the query command Query after a period of time.
再次,读写器接收到协议控制位PC的第一个字节,并从中得到EPC代码的长度(由于协议控制位PC的长度固定、循环冗余校验CRC的长度固定,因此得到EPC代码的长度就得到了整个电子产品代码EPC数据的长度)。Again, the reader receives the first byte of the protocol control bit PC, and obtains the length of the EPC code therefrom (because the length of the protocol control bit PC is fixed and the length of the cyclic redundancy check CRC is fixed, the length of the EPC code is obtained length to get the length of the entire electronic product code EPC data).
然后,读写器将其要接收的数据位设置为EPC代码的长度加上32比特,并准备接收数据。Then, the reader sets the data bits to be received as the length of the EPC code plus 32 bits, and prepares to receive data.
在经过一段等待时间之后,读写器接收到了电子产品代码EPC数据的数据。随后,读写器对接收到的数据进行循环冗余校验CRC。如果校验通过,则读写器发送下一个查询命令QueryRep给标签;如果校验没有通过,则读写器重新发送确认命令ACK给标签并检测产品代码EPC数据的前缀。After a waiting period, the reader/writer receives the data of the electronic product code EPC data. Subsequently, the reader performs a cyclic redundancy check (CRC) on the received data. If the verification is passed, the reader sends the next query command QueryRep to the tag; if the verification fails, the reader resends the confirmation command ACK to the tag and detects the prefix of the product code EPC data.
如果读写器可以正确地检测到PC,则图3所示的过程可以解决CRC错误问题。但是,如果在接收PC的过程中出现某些错误,读写器将会错误地分析EPC长度。随后将浪费大量的时间用于发送下一个命令,如图4所示。图4上面的图表示EPC数据原有的长度,图4下面的图表示读写器未能正确接收PC,因此对EPC数据的长度产生误判。在最坏的情况下,浪费的时间可能长达(496+32-8)*0.025=13ms。而正常的EPC读取过程所需的时间只约2~3ms。另一方面,由于标签已因失去同步而超时,所以它不会对下一个命令做出响应。从而,PC的错误接收将在很大程度上影响整个系统的可靠性和效率。If the reader can detect the PC correctly, the process shown in Figure 3 can solve the CRC error problem. However, if some errors occur during receiving the PC, the reader will analyze the EPC length incorrectly. Then a lot of time will be wasted for sending the next command, as shown in Figure 4. The upper figure in Figure 4 shows the original length of the EPC data, and the lower figure in Figure 4 shows that the reader failed to receive the PC correctly, so it misjudged the length of the EPC data. In the worst case, the wasted time may be as long as (496+32-8)*0.025=13ms. The normal EPC reading process takes only about 2-3ms. On the other hand, the tag will not respond to the next command because it has timed out due to loss of synchronization. Thus, the wrong reception of the PC will affect the reliability and efficiency of the whole system to a great extent.
发明内容Contents of the invention
本发明的主要目的在于提供一种在射频识别系统中对标签中的数据进行读取的方法和实现该方法的读写器,能够在对标签读写的过程中对标签的特征描述信息进行保护,从而使得读写器正确地检测并接收特征描述信息,从而正确获得标签中的数据。The main purpose of the present invention is to provide a method for reading the data in the tag in the radio frequency identification system and a reader/writer for realizing the method, which can protect the feature description information of the tag during the process of reading and writing the tag , so that the reader/writer can correctly detect and receive the characteristic description information, so as to obtain the data in the tag correctly.
为实现上述目的,一种在射频识别系统中对标签中的数据进行读取的方法,所述射频识别系统包括一个以上读写器和一组标签,所述每个标签均包含一组数据和一组特征描述信息,该方法包含以下步骤:In order to achieve the above purpose, a method for reading data in a tag in a radio frequency identification system, the radio frequency identification system includes more than one reader and a group of tags, each tag contains a set of data and A set of feature description information, the method includes the following steps:
(1)第一读写器或者所述标签使用一个具有纠错和检错能力的编码,对所述特征描述信息进行编码并将所述编码写入所述标签;(1) The first reader-writer or the tag uses a code with error correction and error detection capabilities to code the feature description information and write the code into the tag;
(2)所述第一读写器或第二读写器对所述标签进行读取,接收到所述经编码后的特征描述信息,并通过所述编码对所述特征描述信息进行解码;(2) The first reader-writer or the second reader-writer reads the tag, receives the encoded feature description information, and decodes the feature description information through the encoding;
(3)所述第一读写器或第二读写器根据解码后的特征描述信息对相应的数据进行读取。(3) The first reader-writer or the second reader-writer reads corresponding data according to the decoded feature description information.
作为一个优选方案,所述步骤(1)中,所述具有纠错和检错能力的编码包括一个错误检测码(EDC)和一个错误校正码(ECC)。As a preferred solution, in the step (1), the code with error correction and error detection capabilities includes an error detection code (EDC) and an error correction code (ECC).
根据本发明的一个实施例,所述标签的数据为电子产品代码(EPC)数据区中的数据,所述标签的特征描述信息为协议控制位(PC),所述电子产品代码(EPC)数据区中的电子产品代码(EPC)的长度记录在所述协议控制位(PC)中,According to an embodiment of the present invention, the data of the tag is the data in the electronic product code (EPC) data area, the feature description information of the tag is the protocol control bit (PC), and the electronic product code (EPC) data The length of the electronic product code (EPC) in the zone is recorded in the protocol control bit (PC),
所述步骤(1)中,所述第一读写器使用所述错误检测码(EDC)和所述错误校正码(ECC)对所述协议控制位(PC)进行编码,并将所述编码写入所述标签电子产品代码(EPC)数据中;In the step (1), the first reader/writer uses the error detection code (EDC) and the error correction code (ECC) to encode the protocol control bit (PC), and encodes the encoded Write in the label electronic product code (EPC) data;
所述步骤(2)中,所述第一读写器或第二读写器对所述标签中的电子产品代码(EPC)数据进行读取,接收到所述编码后的协议控制位(PC),并将所述编码后的协议控制位(PC)进行解码;In the step (2), the first reader-writer or the second reader-writer reads the electronic product code (EPC) data in the label, and receives the encoded protocol control bit (PC ), and decode the encoded protocol control bit (PC);
所述步骤(3)中,所述第一读写器或第二读写器根据解码后的协议控制位(PC)将待接收的数据位进行设置并准备接收数据。In the step (3), the first reader-writer or the second reader-writer sets the data bit to be received according to the decoded protocol control bit (PC) and prepares to receive data.
作为本发明的一个优选方案,所述步骤(1)中包含以下步骤:As a preferred version of the present invention, the step (1) includes the following steps:
(11)将所述协议控制位(PC)所记录的长度设置为所述电子产品代码(EPC)、错误检测码(EDC)、错误校正码(ECC)的长度之和;(11) the recorded length of the protocol control bit (PC) is set to the sum of the lengths of the electronic product code (EPC), error detection code (EDC), and error correction code (ECC);
(12)在所述协议控制位(PC)的预留比特(RFU)上设置一个保护标识;(12) setting a protection flag on the reserved bit (RFU) of the protocol control bit (PC);
(13)为所述协议控制位(PC)计算所述错误检测码(EDC);(13) calculating the error detection code (EDC) for the protocol control bit (PC);
(14)为所述协议控制位(PC)与所述错误检测码(EDC)计算所述错误校正码(ECC);(14) calculating said error correction code (ECC) for said protocol control bit (PC) and said error detection code (EDC);
(15)将所述错误检测码(EDC)和所述错误校正码(ECC)存储到所述电子产品代码(EPC)的开始位置。(15) Storing the error detection code (EDC) and the error correction code (ECC) to the beginning of the electronic product code (EPC).
作为本发明的一个优选方案,所述步骤(2)中,所述第一读写器或第二读写器将所述编码后的协议控制位(PC)进行解码进一步包括:As a preferred solution of the present invention, in the step (2), the decoding of the encoded protocol control bit (PC) by the first reader-writer or the second reader-writer further includes:
所述第一读写器或第二读写器通过所述错误校正码(ECC)对所述协议控制位(PC)和所述错误检测码(EDC)进行错误检测和校正;The first reader-writer or the second reader-writer performs error detection and correction on the protocol control bit (PC) and the error detection code (EDC) through the error correction code (ECC);
所述第一读写器或第二读写器通过所述错误检测码(EDC)对所述协议控制位(PC)进行错误检测,以得到正确的电子产品代码(EPC)的长度。The first reader-writer or the second reader-writer performs error detection on the protocol control bit (PC) through the error detection code (EDC), so as to obtain the correct length of the electronic product code (EPC).
作为本发明的一个优选方案,若所述错误检测码(EDC)检测到所述协议控制位(PC)有错,则所述第一读写器或第二读写器将所述代接收的电子产品代码(EPC)的长度设置为前一个标签的电子产品代码(EPC)的长度。或者,若所述错误检测码(EDC)检测到所述协议控制位(PC)有错,则所述第一读写器或第二读写器将所述接收的电子产品代码(EPC)的长度设置为96比特。或者,若所述错误检测码(EDC)检测到所述协议控制位(PC)有错,则所述第一读写器或第二读写器首先等待读取最长所述电子产品代码(EPC)所需时间,随后启动一个新的标签读取过程,其中,最长所述电子产品代码(EPC)为496比特。As a preferred solution of the present invention, if the error detection code (EDC) detects that the protocol control bit (PC) is wrong, the first reader-writer or the second reader-writer sends the The length of the electronic product code (EPC) is set to the length of the previous label's electronic product code (EPC). Or, if the error detection code (EDC) detects that the protocol control bit (PC) has an error, then the first reader-writer or the second reader-writer sends the received electronic product code (EPC) The length is set to 96 bits. Or, if the error detection code (EDC) detects that the protocol control bit (PC) has an error, the first reader-writer or the second reader-writer first waits to read the longest electronic product code ( EPC), and then start a new tag reading process, wherein the longest electronic product code (EPC) is 496 bits.
作为本发明的一个优选方案,所述步骤(3)中,所述第一读写器或第二读写器将要接收的数据位设置为所述电子产品代码(EPC)的长度加上32比特。As a preferred solution of the present invention, in the step (3), the data bits to be received by the first reader-writer or the second reader-writer are set to the length of the electronic product code (EPC) plus 32 bits .
作为本发明的一个优选方案,如果所述电子产品代码(EPC)的长度发生变化,则所述第一读写器将所述错误检测码(EDC)和所述错误校正码(ECC)再次写入所述电子产品代码数据中。As a preferred solution of the present invention, if the length of the electronic product code (EPC) changes, the first reader-writer writes the error detection code (EDC) and the error correction code (ECC) again into the electronic product code data.
作为本发明的一个优选方案,所述步骤(1)之前,还包括以下步骤:所述第一读写器或第二读写器向处于其读写区域内的标签发出一个保护标签选择命令,选择在所述读写区域内预留比特(RFU)上设置有所述保护标识的标签。另外,所述步骤(3)之后还包括:所述第一读写器或第二读写器向处于其读写区域内的标签发出一个普通标签选择命令,选择在所述读写区域内预留比特(RFU)上没有设置所述保护标识的普通标签,并按照普通的读取步骤对所述没有设置所述保护标识的普通标签中的数据进行读取。As a preferred solution of the present invention, before the step (1), the following steps are also included: the first reader-writer or the second reader-writer sends a protection label selection command to the label in its read-write area, Selecting the label with the protection mark set on the reserved bits (RFU) in the read-write area. In addition, after the step (3), it also includes: the first reader-writer or the second reader-writer sends a general label selection command to the tags in the read-write area, and selects the pre-selected tags in the read-write area. The common label without the protection mark is set on the left bit (RFU), and the data in the common label without the protection mark is read according to the common reading steps.
作为本发明的一个优选方案,在所述步骤(1)之前还包括:在所述第一读写器或第二读写器中设置一个寄存器保护模式类别标识,所述寄存器处于第一保护模式时,继续所述步骤(1)。As a preferred solution of the present invention, before the step (1), it also includes: setting a register protection mode category identification in the first reader-writer or the second reader-writer, the register is in the first protection mode , continue to step (1).
作为本发明的一个优选方案,所述第一读写器或第二读写器选择等待接收RN16时段和等待接收电子产品代码(EPC)数据时段中的至少一个时段作为增强时段,所述读写器调节对发送信号的增益,使得在所述增强时段中的载波信号以增强的发送功率发送出去。As a preferred solution of the present invention, the first reader-writer or the second reader-writer selects at least one of the period of waiting to receive RN16 and the period of waiting to receive Electronic Product Code (EPC) data as the enhanced period, and the read-write The transmitter adjusts the gain of the transmission signal, so that the carrier signal in the enhancement period is transmitted with enhanced transmission power.
根据本发明的第二个实施例,所述标签的数据包括电子产品代码(EPC)数据区中的数据和用户数据区中的数据,所述标签的特征描述信息为协议控制位(PC),所述协议控制位(PC)标识所述用户数据区中是否有有效数据,According to the second embodiment of the present invention, the data of the tag includes data in the electronic product code (EPC) data area and data in the user data area, and the feature description information of the tag is a protocol control bit (PC), The protocol control bit (PC) identifies whether there is valid data in the user data area,
所述步骤(1)中,所述第一读写器使用所述错误检测码(EDC)和所述错误校正码(ECC)对所述协议控制位(PC)进行编码,并将所述编码写入所述标签电子产品代码(EPC)数据中;In the step (1), the first reader/writer uses the error detection code (EDC) and the error correction code (ECC) to encode the protocol control bit (PC), and encodes the encoded Write in the label electronic product code (EPC) data;
所述步骤(2)中,所述第一读写器或第二读写器对所述标签中的电子产品代码(EPC)数据进行读取,接收到所述编码后的协议控制位(PC),并将所述编码后的协议控制位(PC)进行解码;In the step (2), the first reader-writer or the second reader-writer reads the electronic product code (EPC) data in the label, and receives the encoded protocol control bit (PC ), and decode the encoded protocol control bit (PC);
所述步骤(3)中,所述第一读写器或第二读写器根据解码后的协议控制位(PC)决定是否发起数据读取命令,对所述用户数据区中的数据进行读取。In the step (3), the first reader-writer or the second reader-writer determines whether to initiate a data read command according to the decoded protocol control bit (PC), and reads the data in the user data area. Pick.
根据本发明的第二个实施例的一个优选方案,所述步骤(1)中包含以下步骤:According to a preferred solution of the second embodiment of the present invention, the step (1) includes the following steps:
(11)将所述协议控制位(PC)所记录的长度设置为所述电子产品代码(EPC)、错误检测码(EDC)、错误校正码(ECC)的长度之和;(11) the recorded length of the protocol control bit (PC) is set to the sum of the lengths of the electronic product code (EPC), error detection code (EDC), and error correction code (ECC);
(12)在所述协议控制位(PC)的预留比特(RFU)上设置一个保护标识;(12) setting a protection flag on the reserved bit (RFU) of the protocol control bit (PC);
(13)为所述协议控制位(PC)计算所述错误检测码(EDC);(13) calculating the error detection code (EDC) for the protocol control bit (PC);
(14)为所述协议控制位(PC)与所述错误检测码(EDC)计算所述错误校正码(ECC);(14) calculating said error correction code (ECC) for said protocol control bit (PC) and said error detection code (EDC);
(15)将所述错误检测码(EDC)和所述错误校正码(ECC)存储到所述电子产品代码(EPC)的开始位置。(15) Storing the error detection code (EDC) and the error correction code (ECC) to the beginning of the electronic product code (EPC).
根据本发明的第三个实施例,所述标签的数据包括电子产品代码(EPC)数据区中的数据和用户数据区中的数据,所述标签的特征描述信息为协议控制位(PC)和扩展协议控制位(XPC),所述扩展协议控制位(XPC)中标识所述标签被杀死后的可召回状态,According to a third embodiment of the present invention, the data of the tag includes data in the electronic product code (EPC) data area and data in the user data area, and the feature description information of the tag is the protocol control bit (PC) and Extended protocol control bit (XPC), which identifies the recallable state after the tag is killed, in the extended protocol control bit (XPC),
所述步骤(1)中,所述第一读写器使用所述错误检测码(EDC)和所述错误校正码(ECC)对所述协议控制位(PC)和所述扩展协议控制位(XPC)进行编码,并将所述编码写入所述标签中;In the step (1), the first reader-writer uses the error detection code (EDC) and the error correction code (ECC) to the protocol control bit (PC) and the extended protocol control bit ( XPC) is encoded, and the encoding is written in the label;
所述步骤(2)中,所述第一读写器或第二读写器对所述标签进行读取,接收到所述编码后的协议控制位(PC)和扩展协议控制位(XPC),并将所述编码后的协议控制位(PC)和扩展协议控制位(XPC)进行解码;In the step (2), the first reader-writer or the second reader-writer reads the tag, and receives the encoded protocol control bits (PC) and extended protocol control bits (XPC) , and decoding the encoded protocol control bit (PC) and extended protocol control bit (XPC);
所述步骤(3)中,所述第一读写器或第二读写器根据解码后的协议控制位(PC)和扩展协议控制位(XPC)决定标签的可召回状态。In the step (3), the first reader-writer or the second reader-writer determines the recallable state of the tag according to the decoded protocol control bits (PC) and extended protocol control bits (XPC).
根据本发明的第三个实施例的一个优选方案,所述步骤(1)中,所述第一读写器使用所述错误检测码(EDC)和所述错误校正码(ECC)对所述协议控制位(PC)和所述扩展协议控制位(XPC)进行编码,并将所述编码写入所述标签中包括以下步骤:According to a preferred solution of the third embodiment of the present invention, in the step (1), the first reader/writer uses the error detection code (EDC) and the error correction code (ECC) to The protocol control bit (PC) and the extended protocol control bit (XPC) are encoded, and writing the encoding into the label includes the following steps:
(11)将所述协议控制位(PC)所记录的长度设置为所述电子产品代码(EPC)、错误检测码(EDC)、错误校正码(ECC)的长度之和;(11) the recorded length of the protocol control bit (PC) is set to the sum of the lengths of the electronic product code (EPC), error detection code (EDC), and error correction code (ECC);
(12)在所述协议控制位(PC)的预留比特(RFU)上设置一个保护标识;(12) setting a protection flag on the reserved bit (RFU) of the protocol control bit (PC);
(13)为所述协议控制位(PC)计算所述错误检测码(EDC);(13) calculating the error detection code (EDC) for the protocol control bit (PC);
(14)为所述协议控制位(PC)与所述错误检测码(EDC)计算所述错误校正码(ECC);(14) calculating said error correction code (ECC) for said protocol control bit (PC) and said error detection code (EDC);
(15)将所述错误检测码(EDC)和所述错误校正码(ECC)存储到所述标签中。(15) Storing the error detection code (EDC) and the error correction code (ECC) in the tag.
根据本发明的第三个实施例的一个优选方案,所述步骤(15)中,将所述错误检测码(EDC)和所述错误校正码(ECC)存储到所述电子产品代码(EPC)的开始位置。或者,所述步骤(15)中,将所述错误检测码(EDC)和所述错误校正码(ECC)存储到所述扩展协议控制位(XPC)中。According to a preferred solution of the third embodiment of the present invention, in the step (15), the error detection code (EDC) and the error correction code (ECC) are stored in the electronic product code (EPC) the starting position of . Alternatively, in the step (15), the error detection code (EDC) and the error correction code (ECC) are stored in the extended protocol control bit (XPC).
本发明还提出了另外一种在射频识别系统中对标签中的数据进行读取的方法,所述射频识别系统包括一个以上读写器和一组标签,所述每个标签均包含电子产品代码(EPC)数据区中的数据,每个所述电子产品代码(EPC)数据包括协议控制位(PC)、电子产品代码(EPC)、循环冗余校验位(CRC),其特征在于,该方法包含以下步骤:The present invention also proposes another method for reading data in tags in a radio frequency identification system, the radio frequency identification system includes more than one reader and a group of tags, each tag contains an electronic product code (EPC) data in the data area, each of the electronic product code (EPC) data includes a protocol control bit (PC), an electronic product code (EPC), a cyclic redundancy check bit (CRC), it is characterized in that the The method includes the following steps:
(1)在读写器和与所述读写器相连的主机之间定义一个接口,通过所述接口所述主机将所述电子产品代码(EPC)的长度配置为一固定长度;(1) An interface is defined between the reader-writer and the host connected to the reader-writer, and the host configures the length of the electronic product code (EPC) as a fixed length through the interface;
(2)所述读写器在其寄存器中存储所述主机所配置的电子产品代码(EPC)的长度;(2) The reader stores the length of the electronic product code (EPC) configured by the host in its register;
(3)所述读写器对所述标签中的数据进行读取时,从该读写器的寄存器中获得所述标签的电子产品代码(EPC)的长度;(3) When the reader-writer reads the data in the label, obtain the length of the electronic product code (EPC) of the label from the register of the reader-writer;
(4)所述读写器将待接收的数据位进行设置并准备接收数据。(4) The reader/writer sets the data bits to be received and prepares to receive data.
根据另外一种方法的一个优选方案,所述步骤(4)中,所述读写器或第二读写器将要接收的数据位设置为所述电子产品代码(EPC)的长度加上32比特。According to a preferred solution of another method, in the step (4), the data bit to be received by the reader-writer or the second reader-writer is set to the length of the electronic product code (EPC) plus 32 bits .
根据另外一种方法的一个优选方案,在所述步骤(1)之前还包括:在所述读写器中设置一个寄存器保护模式类别标识,所述寄存器处于第二保护模式时,继续所述步骤(1)。According to a preferred solution of another method, before the step (1), it also includes: setting a register protection mode category identifier in the reader, and when the register is in the second protection mode, continue the step (1).
根据另外一种方法的一个优选方案,所述读写器选择等待接收RN16时段和等待接收电子产品代码(EPC)数据时段中的至少一个时段作为增强时段,所述读写器调节对发送信号的增益,使得在所述增强时段中的载波信号以增强的发送功率发送出去。According to a preferred solution of another method, the reader-writer selects at least one of the period of waiting to receive RN16 and the period of waiting to receive Electronic Product Code (EPC) data as the enhanced period, and the reader-writer adjusts the response to the transmitted signal. Gain, so that the carrier signal in the enhanced period is sent out with enhanced transmit power.
相应地,本发明提出了一种在射频识别系统中对标签中的数据进行读取的读写器,其特征在于,所述读写器包括:Correspondingly, the present invention proposes a reader/writer for reading data in tags in a radio frequency identification system, wherein the reader/writer includes:
编码单元,用于使用一个具有纠错和检错能力的编码对特征描述信息进行编码;An encoding unit, configured to encode feature description information using an encoding with error correction and error detection capabilities;
写入单元,用于将所述编码写入一个标签中;a writing unit, configured to write the code into a tag;
读取单元,用于对所述标签中的数据进行读取,接收到所述经编码后的特征描述信息;a reading unit, configured to read the data in the tag, and receive the encoded feature description information;
解码单元,用于通过所述编码对所述特征描述信息进行解码;a decoding unit, configured to decode the feature description information through the encoding;
接收单元,用于根据解码后的特征描述信息对相应的数据进行读取。The receiving unit is configured to read corresponding data according to the decoded feature description information.
作为本发明的一个优选方案,所述写入单元进一步包括:As a preferred solution of the present invention, the writing unit further includes:
设置单元,用于将所述标签中协议控制位(PC)的长度设置为电子产品代码(EPC)、错误检测码(EDC)、错误校正码(ECC)的长度之和,并在所述协议控制位(PC)的预留比特(RFU)上设置一个保护标识;The setting unit is used to set the length of the protocol control bit (PC) in the label to the sum of the lengths of the electronic product code (EPC), error detection code (EDC), and error correction code (ECC), and in the protocol A protection flag is set on the reserved bit (RFU) of the control bit (PC);
计算单元,用于为所述协议控制位(PC)计算所述错误检测码(EDC),并为所述协议控制位(PC)与所述错误检测码(EDC)计算所述错误校正码(ECC);a calculation unit, configured to calculate the error detection code (EDC) for the protocol control bit (PC), and calculate the error correction code (EDC) for the protocol control bit (PC) and the error detection code (EDC) ECC);
存储单元,用于将所述错误检测码(EDC)和所述错误校正码(ECC)存储到所述电子产品代码(EPC)的开始端。A storage unit for storing the error detection code (EDC) and the error correction code (ECC) at the beginning of the electronic product code (EPC).
作为本发明的一个优选方案,所述读写器还包括一个命令发出模块,用于向处于其读写区域内的标签发出一个保护标签选择命令,选择在所述读写区域内预留比特(RFU)上设置有所述保护标识的标签;或者向处于其读写区域内的标签发出一个普通标签选择命令,选择在所述读写区域内预留比特(RFU)上没有设置所述保护标识的普通标签,并按照普通的读取步骤对所述没有设置所述保护标识的普通标签中的数据进行读取。As a preferred solution of the present invention, the reader-writer also includes a command issuing module, which is used to send a protection label selection command to the tags in its read-write area, and selects the reserved bits in the read-write area ( RFU) is set with the label with the protection mark; or send a common label selection command to the label in its read-write area, and select the reserved bit (RFU) in the read-write area without setting the protection mark ordinary tags, and read the data in the ordinary tags without the protection mark according to the ordinary reading steps.
相应于另外一种在射频识别系统中对标签中的数据进行读取的方法,本发明还提出了一种读写器,所述读写器包括:Corresponding to another method for reading data in a tag in a radio frequency identification system, the present invention also proposes a reader-writer, which includes:
接口单元,用于在读写器和与所述读写器相连的主机之间定义一个接口,通过所述接口所述主机将所述电子产品代码(EPC)的长度配置为一固定长度;An interface unit, configured to define an interface between the reader-writer and the host computer connected to the reader-writer, through which the host computer configures the length of the electronic product code (EPC) as a fixed length;
存储单元,用于在所述读写器的寄存器中存储所述主机所配置的电子产品代码(EPC)的长度;a storage unit, configured to store the length of the electronic product code (EPC) configured by the host in the register of the reader;
读取单元,用于在对所述标签中的数据进行读取时,从该读写器的寄存中获得所述标签的电子产品代码(EPC)的长度;The reading unit is used to obtain the length of the electronic product code (EPC) of the tag from the storage of the reader when reading the data in the tag;
接收单元,用于将待接收的数据位进行设置并准备接收数据。The receiving unit is configured to set the data bits to be received and prepare to receive data.
采用本发明的在射频识别系统中对标签中的数据进行读取的方法和装置具有以下优点:The method and device for reading the data in the tag in the radio frequency identification system of the present invention have the following advantages:
首先,本发明通过对标签中的特征描述信息进行保护,从而有效地帮助读写器掌握标签的特征,更加准确地读取标签的存储数据。通过本发明所提供的方法,读写器可以在接收EPC位之前查找正确的EPC长度。读写器将与标签良好地同步,不会花费不必要的时间来等待标签响应,从而可以提高效率。另一方面,由于同步良好,读写器可以在正确的时间发送ACK命令,以再次请求EPC,这将极大地提高可靠性。Firstly, the present invention protects the feature description information in the tag, thereby effectively helping the reader to grasp the tag's feature and read the stored data of the tag more accurately. Through the method provided by the invention, the reader can find the correct EPC length before receiving the EPC bits. The reader will be well synchronized with the tag and will not spend unnecessary time waiting for the tag to respond, thus improving efficiency. On the other hand, due to the good synchronization, the reader can send the ACK command at the correct time to request the EPC again, which will greatly improve the reliability.
其次,读写器通过向标签提供能量,会很快地增加功率来捕获T2R前同步。本发明方法与上述向标签提供能量的方法相结合,可以进一步提高可靠性,而不会对其他设备产生较大的干扰。基于这两个优点,本发明所提供的方法非常适用于干扰较大且有多个读写器的场合,例如制造应用场合。Second, the reader rapidly increases power to capture the T2R preamble by supplying energy to the tag. Combining the method of the present invention with the above-mentioned method for supplying energy to the tag, the reliability can be further improved without causing great interference to other devices. Based on these two advantages, the method provided by the present invention is very suitable for occasions with large interference and multiple readers, such as manufacturing applications.
另外,本发明方法的实施只需对读写器略作修改,并且由于该方法完全符合EPCC1G2标准,所以可以在目前所使用的标签和读写器中方便地实施本发明方法,节省了成本。In addition, the implementation of the method of the present invention only needs to slightly modify the reader-writer, and because the method fully complies with the EPCC1G2 standard, the method of the present invention can be conveniently implemented in tags and reader-writers currently used, saving costs.
附图说明Description of drawings
下面结合附图对本发明的具体实施方式作进一步详细的描述,其中:The specific embodiment of the present invention is described in further detail below in conjunction with accompanying drawing, wherein:
图1给出了现有技术中读写器对标签进行读取的过程中可能发生的错误示意图;FIG. 1 shows a schematic diagram of errors that may occur during the process of reading a tag by a reader/writer in the prior art;
图2给出了现有技术中标签反向散射时信号的结束状态;Figure 2 shows the end state of the signal when the label backscatters in the prior art;
图3给出了现有技术中根据协议控制位PC的第一个字节来确定EPC数据长度的流程图;Fig. 3 has provided the flowchart of determining the EPC data length according to the first byte of the protocol control bit PC in the prior art;
图4给出了现有技术中对协议控制位PC的接收过程中出现某些错误而导致读写器错误地分析EPC长度的示意图;FIG. 4 shows a schematic diagram of the reader/writer erroneously analyzing the length of the EPC due to certain errors in the receiving process of the protocol control bit PC in the prior art;
图5给出了协议控制位及扩展协议控制位的示意图;Fig. 5 has provided the schematic diagram of protocol control bit and extended protocol control bit;
图6给出了读写器将一个错误检测码EDC和一个错误校正码ECC写入标签电子产品代码EPC数据后的电子产品代码EPC数据的结构;Figure 6 shows the structure of the electronic product code EPC data after the reader writes an error detection code EDC and an error correction code ECC into the tag electronic product code EPC data;
图7给出了在使用协议控制位的前5位来标识标签的EPC长度,或者在使用协议控制位的第6位来标识用户数据区中是否有有效数据时,图6中的一个具体的错误检测码EDC和一个具体的错误校正码ECC;Figure 7 shows when the first 5 bits of the protocol control bit are used to identify the EPC length of the label, or when the 6th bit of the protocol control bit is used to identify whether there is valid data in the user data area, a specific one in Figure 6 Error detection code EDC and a specific error correction code ECC;
图8给出了将受保护的电子产品代码EPC代码的长度写入协议控制位PC的过程;Figure 8 shows the process of writing the length of the protected electronic product code EPC code into the protocol control bit PC;
图9给出了读写器对协议控制位PC受保护的标签的读取过程;Figure 9 shows the reading process of the reader to the tag protected by the protocol control bit PC;
图10给出了在使用扩展协议控制位中的REC位来标识标签被杀死后的可召回状态时,图6中的一个具体的错误检测码EDC和一个具体的错误校正码ECC;Figure 10 shows a specific error detection code EDC and a specific error correction code ECC in Figure 6 when the REC bit in the extended protocol control bit is used to identify the recallable state after the tag is killed;
图11给出了在存在普通标签和协议控制位PC受到保护标签的情况下的标签分类查询示意图;Figure 11 provides a schematic diagram of label classification query under the condition that there are common labels and protocol control bit PC protected labels;
图12给出了读写器对协议控制位PC受保护的标签的读取过程和普通标签的读取过程;Figure 12 shows the reading process of the reader to the tag protected by the protocol control bit PC and the reading process of the ordinary tag;
图13给出了实施例三至实施例五中选择两个增强时段中的至少一个调节发送信号增益的示意图;FIG. 13 shows a schematic diagram of selecting at least one of the two enhancement periods in
图14给出了在读写器和与之相连的主机之间定义的接口的示意图;Figure 14 provides a schematic diagram of the interface defined between the reader and the host connected to it;
图15给出了读写器对固定产品代码位EPC的标签中的数据进行读取的过程;Figure 15 shows the process in which the reader reads the data in the label with the fixed product code bit EPC;
图16给出了测试中用于模拟有干扰源的真实制造应用场合的设置;Figure 16 shows the setup used in the test to simulate a real manufacturing application with interference sources;
图17给出了BER性能与干扰功率的对照关系图;Figure 17 shows the comparative relationship between BER performance and interference power;
图18给出了RN16超时的百分比与干扰功率的对照关系图;Figure 18 shows the relationship between the percentage of RN16 timeout and the interference power;
图19给出了读写过程中的时间区间Tinit和TEPCRetry;Figure 19 shows the time interval Tinit and TEPCRetry in the process of reading and writing;
图20给出了正常读取单个标签的时间和利用本发明方案读取单个标签的时间比较图,其中,BER范围为(1e-4到1e-2);Figure 20 shows a comparison chart between the time for reading a single tag normally and the time for reading a single tag using the solution of the present invention, wherein the BER range is (1e-4 to 1e-2);
图21给出了正常读取单个标签的时间和利用本发明方案读取单个标签的时间比较图,其中,BER范围为(1e-2到5e-2);Figure 21 shows a comparison chart between the time for reading a single tag normally and the time for reading a single tag using the solution of the present invention, wherein the BER range is (1e-2 to 5e-2);
图22给出了根据本发明的电子产品代码EPC代码固定的情况下对标签进行读取的方法和根据西门子公司专利申请200810004983.0中所记录的向标签提供能量的方法所得到的读取可靠性比较;Figure 22 shows the reading reliability comparison between the method of reading the tag and the method of supplying energy to the tag recorded in the Siemens patent application 200810004983.0 according to the present invention when the EPC code is fixed ;
图23给出了根据本发明的电子产品代码EPC代码固定的情况下对标签进行读取的方法和根据西门子公司专利申请200810004983.0中所记录的向标签提供能量的方法所得到的读取速率比较。Figure 23 shows the comparison of the reading rate obtained by the method of reading the tag under the condition that the EPC code of the present invention is fixed and the method of supplying energy to the tag recorded in Siemens patent application 200810004983.0.
具体实施方式Detailed ways
在射频识别系统中,标签里存储有数据。这些数据可以分为两类,一类数据是在射频识别系统中真正要使用的数据;另一类数据是对前面一类真正要使用的数据进行描述的数据,这些数据被称为标签的特征描述信息。更详细地说,标签中的全部数据被存储在三个区域(Bank)中,这三个区域分别为:标签标识符(TagID)区,电子产品代码(EPC)数据区,用户数据(User Memory)区。其中,标签的特征描述信息主要存储在电子产品代码数据区EPC的前端,而除去这些特征描述信息,剩下的位于所述三个区域中的数据就是射频识别系统中真正要使用的数据。In RFID systems, data is stored in the tags. These data can be divided into two categories. One type of data is the data that is actually used in the RFID system; the other type of data is the data that describes the data that is actually used in the previous type. These data are called the characteristics of the label. Description. In more detail, all data in the tag is stored in three areas (Bank), these three areas are: Tag ID (TagID) area, Electronic Product Code (EPC) data area, user data (User Memory) )district. Among them, the feature description information of the tag is mainly stored in the front end of the electronic product code data area EPC, and the remaining data in the three areas are the data to be used in the radio frequency identification system after removing the feature description information.
标签的特征描述信息主要是通过协议控制位PC和扩展协议控制位XPC(XPC是在最新的UHF RFID标准中定义的)进行定义的,如图5所示。在图5中,协议控制位PC由两个字节组成,其中各个比特的定义参见左下图。而扩展协议控制位XPC包含W1部分和W2部分,每一部分各由两个字节组成。目前已经对W1中的一些比特进行了定义,参见右下图,其中位0的比特为保留比特;而对W2部分则作为保留字节,目前没有对其中的任何比特进行定义。The feature description information of the tag is mainly defined by the protocol control bit PC and the extended protocol control bit XPC (XPC is defined in the latest UHF RFID standard), as shown in Figure 5. In Figure 5, the protocol control bit PC consists of two bytes, and the definition of each bit is shown in the lower left figure. The extended protocol control bit XPC includes a W1 part and a W2 part, and each part consists of two bytes. At present, some bits in W1 have been defined, see the figure on the lower right, in which bit 0 is a reserved bit; and the part of W2 is a reserved byte, and no bit is currently defined.
特征描述信息主要用来帮助读写器掌握标签的特征以便更有效的读取标签的存储数据。例如,协议控制位PC的前5个比特用来标识标签的电子产品代码数据区中EPC代码的长度,读写器可以根据这个信息设置EPC读取时的长度。再例如,协议控制位中的第6个比特可以用来标识标签的用户数据区User Memory里是否有有效数据,读写器可以根据这个信息决定是否发起数据读取命令。还有,扩展协议控制位中的REC位可以标识标签被杀死(Kill)后的可召回状态(Recommissioning),读写器可以根据这个信息决定标签的可召回状态,从而判断用户数据区的锁定情况以采取不同的策略读取数据。总之,这类特征描述信息对读写器读写标签的效率有很大的影响,如果在传输过程中发生错误可能导致整个读写过程失败,因此如何可靠的传输这些信息变得非常关键。The feature description information is mainly used to help the reader to grasp the characteristics of the tag so as to read the stored data of the tag more effectively. For example, the first 5 bits of the protocol control bit PC are used to identify the length of the EPC code in the electronic product code data area of the label, and the reader can set the length when reading the EPC according to this information. For another example, the sixth bit in the protocol control bit can be used to identify whether there is valid data in the user data area User Memory of the tag, and the reader can decide whether to initiate a data read command based on this information. In addition, the REC bit in the extended protocol control bit can identify the recallable state (Recommissioning) of the tag after being killed (Kill), and the reader can determine the recallable state of the tag based on this information, thereby judging the locking of the user data area Depending on the situation, different strategies are used to read data. In short, this kind of feature description information has a great impact on the efficiency of the reader to read and write tags. If an error occurs during the transmission process, the entire reading and writing process may fail. Therefore, how to reliably transmit this information becomes very critical.
本发明的核心思想就在于通过将这些特征描述信息进行保护,从而提高标签数据读取的可靠性,具体的方案中包含以下步骤:The core idea of the present invention is to improve the reliability of tag data reading by protecting these characteristic description information, and the specific scheme includes the following steps:
首先,第一读写器或者标签使用一个具有纠错和检错能力的编码,对特征描述信息进行编码并将编码写入标签。First, the first reader/writer or tag uses a code with error correction and error detection capabilities to code the feature description information and write the code into the tag.
其次,第一读写器或第二读写器对标签进行读取,接收到经编码后的特征描述信息,并通过编码对特征描述信息进行解码。Secondly, the first reader-writer or the second reader-writer reads the tag, receives the encoded feature description information, and decodes the feature description information through encoding.
最后,第一读写器或第二读写器根据解码后的特征描述信息对相应的数据进行读取。Finally, the first reader-writer or the second reader-writer reads corresponding data according to the decoded feature description information.
下面以由读写器和标签组成的射频识别系统为例来说明本发明的具体实施方式。The specific implementation of the present invention will be described below by taking a radio frequency identification system composed of a reader-writer and a tag as an example.
在射频识别系统中,读写器对标签读取的可靠性在很大程度上取决于读写器在对电子产品代码数据区的数据进行接收的过程中捕获RN16前缀、捕获EPC数据区中的数据(以下称为EPC数据)前缀和修正CRC错误的能力。EPC数据包括协议控制位PC、EPC代码以及循环冗余校验码CRC,而其中EPC代码的长度信息对于读写器了解EPC反向散射的结束来说非常重要,在以下的本发明的实施例一中将具体描述在读写器如何首先将EPC代码的长度信息进行保护,然后读写器接收受保护的EPC代码的长度信息,从而正确地对EPC数据进行接收。In the radio frequency identification system, the reliability of the reader to read the tag depends to a large extent on the reader's capture of the RN16 prefix and the EPC data area in the process of receiving the data in the electronic product code data area. Data (hereinafter referred to as EPC data) prefix and the ability to correct CRC errors. EPC data includes protocol control bit PC, EPC code and cyclic redundancy check code CRC, and wherein the length information of EPC code is very important for the reader to understand the end of EPC backscattering, in the following embodiments of the
本发明的实施例一的射频识别系统包括一个以上读写器和一组标签,其中每个标签均含有EPC数据,而EPC数据进一步包括协议控制位PC、EPC代码、循环冗余校验位CRC。其中,协议控制位PC的长度为16比特,EPC代码的长度可以在96至496比特之间变化,循环冗余校验位CRC的长度为16比特。EPC代码的长度记录在所述协议控制位PC中。The radio frequency identification system of
读写器在第一次对一个标签进行读取时,使用一个错误检测码(Error Detection Code;EDC)和一个错误校正码(Error Correction Code;ECC)对协议控制位PC进行编码,并将编码写入标签电子产品代码EPC数据区中。图6给出了写入编码后的EPC数据的结构。其中,最前面是协议控制位PC,其长度为16比特,为后续计算方便,此处记为N1比特。协议控制位PC通常用第一个字节中的五个比特来记录EPC代码的长度。除去上述五个比特之外,协议控制位PC还有一些预留比特(Reserved for Future Use;RFU),读写器用这些预留位RFU中的两个比特来设置一个保护标识,标识该标签的EPC代码的长度信息受到保护。在协议控制位PC之后是Npro比特的保护比特,包括一个错误检测码EDC和一个错误校正码ECC。所述N1比特与Npro比特之和记为Np比特。接下来是EPC代码,其长度在96比特至496比特之间,记为N2比特。最后是循环冗余校验位CRC,其长度为16比特。When the reader reads a tag for the first time, it uses an error detection code (Error Detection Code; EDC) and an error correction code (Error Correction Code; ECC) to encode the protocol control bit PC, and encode Write it into the EPC data area of the tag electronic product code. Figure 6 shows the structure of written encoded EPC data. Among them, the first is the protocol control bit PC, which has a length of 16 bits, which is recorded as N1 bits here for the convenience of subsequent calculations. The protocol control bit PC usually uses five bits in the first byte to record the length of the EPC code. In addition to the above five bits, the protocol control bit PC also has some reserved bits (Reserved for Future Use; RFU), and the reader uses two bits of these reserved bits RFU to set a protection flag to identify the tag's The length information of the EPC code is protected. After the protocol control bit PC is the protection bit of Npro bit, including an error detection code EDC and an error correction code ECC. The sum of the N1 bits and the Npro bits is recorded as Np bits. Next is the EPC code, whose length is between 96 bits and 496 bits, denoted as N2 bits. The last is the cyclic redundancy check bit CRC, whose length is 16 bits.
图7给出了图6中的一个具体的错误检测码EDC和一个具体的错误校正码ECC,其中错误检测码EDC选取5比特的循环冗余校验码CRC,错误校正码ECC选取BCH(31,21)码,其中21表示待编码长度为21比特,即16比特的协议控制位PC加上5比特的作为错误检测码的循环冗余校验码CRC;31表示编码后的BCH码长度为31比特,因此可以得知此处错误校正码ECC的长度为10比特(即31-16-5=10比特)。换句话说,此处错误检测码EDC和错误校正码ECC的长度之和为Npro=15比特(5+10=15比特)。Fig. 7 has provided a specific error detection code EDC and a specific error correction code ECC in Fig. 6, wherein the error detection code EDC selects the cyclic redundancy check code CRC of 5 bits, and the error correction code ECC selects BCH (31 , 21) code, wherein 21 represents that the coded length is 21 bits, that is, the protocol control bit PC of 16 bits adds the cyclic redundancy check code CRC as the error detection code of 5 bits; 31 represents that the coded BCH code length is 31 bits, so it can be seen that the length of the error correction code ECC here is 10 bits (that is, 31-16-5=10 bits). In other words, here the sum of the lengths of the error detection code EDC and the error correction code ECC is Npro=15 bits (5+10=15 bits).
图8给出了将受保护的EPC代码的长度写入协议控制位PC的过程,包含如下步骤:Figure 8 shows the process of writing the length of the protected EPC code into the protocol control bit PC, including the following steps:
首先,在开环应用中确定要改变EPC代码的长度(也就是改变整个EPC数据的长度)。此处所谓的开环应用,是指标签可能会在多个环节中使用,例如在加工、物流、分销商、零售商、用户等环节都会使用该标签。举例来说,对于一个分销商而言,它可能会接收从不同地方来的各种不同的标签,这些从不同地方接收的标签,其EPC代码的长度可能是不一样的。进而可以得知,对于上述环节中的每一个环节,从上一个环节接收的标签的EPC代码的长度都可能有所不同,因此需要对这些EPC代码的长度变化的标签进行保护。First, it is determined to change the length of the EPC code (that is, to change the length of the entire EPC data) in an open-loop application. The so-called open-loop application here means that the label may be used in multiple links, such as processing, logistics, distributors, retailers, users and other links. For example, for a distributor, it may receive various labels from different places, and the lengths of the EPC codes of these labels received from different places may be different. Furthermore, it can be known that for each of the above links, the length of the EPC code of the tag received from the previous link may be different, so it is necessary to protect the tags whose EPC code length changes.
其次,读写器将协议控制位PC所记录的长度设置为EPC代码、错误检测码EDC、错误校正码ECC的长度之和。也就是说,将错误检测码EDC、错误校正码ECC的长度当作EPC代码的一部分。Secondly, the reader sets the length recorded by the protocol control bit PC as the sum of the lengths of the EPC code, the error detection code EDC, and the error correction code ECC. That is, the lengths of the error detection code EDC and the error correction code ECC are regarded as a part of the EPC code.
再次,读写器在协议控制位PC的预留比特RFU上设置一个保护标识,标识该标签的EPC代码的长度信息受到保护。例如,可以利用16比特的协议控制位PC的最后两位作为保护标识。Again, the reader sets a protection flag on the reserved bit RFU of the protocol control bit PC, indicating that the length information of the EPC code of the tag is protected. For example, the last two bits of the 16-bit protocol control bit PC may be used as the protection identifier.
然后,读写器为协议控制位PC计算错误检测码EDC。该计算步骤为现有技术,此处不再赘述。Then, the reader calculates the error detection code EDC for the protocol control bit PC. This calculation step belongs to the prior art and will not be repeated here.
接着,读写器为协议控制位PC与错误检测码EDC计算错误校正码ECC。与上个步骤一样,该计算步骤为现有技术。Next, the reader/writer calculates the error correction code ECC for the protocol control bit PC and the error detection code EDC. Like the previous step, this calculation step is a prior art.
最后,将错误检测码EDC和错误校正码ECC存储到EPC代码的开始端,其位置如上述的图6和图7所示。此后读写器就可以开始进行正常的读取步骤。Finally, the error detection code EDC and the error correction code ECC are stored at the beginning of the EPC code, and their positions are shown in the above-mentioned Fig. 6 and Fig. 7 . After that, the reader can start the normal reading procedure.
读写器在第一次对标签进行读取时就进行上述步骤的操作,也就是说,经过上述步骤后,该标签的EPC代码的长度信息便受到了保护。如果EPC代码的长度发生变化,例如前面所述的在开环应用中应用场合发生了变化,则读写器需要再次将错误检测码EDC和错误校正码ECC写入电子产品代码EPC数据区中。When the reader/writer reads the tag for the first time, it performs the operation of the above steps, that is to say, after the above steps, the length information of the EPC code of the tag is protected. If the length of the EPC code changes, for example, the aforementioned open-loop application changes, the reader needs to write the error detection code EDC and error correction code ECC into the electronic product code EPC data area again.
上述写入过程是由一个读写器完成的,但是,这种写入过程并非必须由读写器完成,标签本身也可以完成上述编码的写入过程。The above-mentioned writing process is completed by a reader-writer, however, this writing process does not have to be completed by the reader-writer, and the tag itself can also complete the above-mentioned writing process of the code.
当上述写入错误检测码EDC和错误校正码ECC的读写器或者另外一个读写器对该标签中的电子产品代码EPC数据区中的数据进行读取时,进行读取的读写器通过解码就能够获得受到保护的协议控制位PC所记录的信息,也就获得了正确的EPC代码的长度。读写器对协议控制位PC受保护的标签的读取过程如图9所示。When the above-mentioned reader-writer who writes the error detection code EDC and the error-correction code ECC or another reader-writer reads the data in the electronic product code EPC data area in the label, the reader-writer who reads passes By decoding, the information recorded by the protected protocol control bit PC can be obtained, and the correct length of the EPC code can be obtained. Figure 9 shows the reading process of the reader to the tag protected by the protocol control bit PC.
首先,读写器向标签发送查询命令Query。标签接收到查询命令Query后,返回给读写器一个16位的随机数RN16作为句柄。如果读写器没有接收到随机数RN16,则经过一段时间后读写器重新发送查询命令Query。First, the reader sends a query command Query to the tag. After receiving the query command Query, the tag returns a 16-bit random number RN16 as a handle to the reader. If the reader does not receive the random number RN16, the reader resends the query command Query after a period of time.
其次,读写器接收到标签发送的随机数RN16后,发送一个确认命令ACK给标签。标签接收到确认命令ACK后,向读写器返回电子产品代码EPC数据的前缀。如果读写器没有检测到该前缀,则经过一段时间后读写器重新发送查询命令Query。Secondly, after receiving the random number RN16 sent by the tag, the reader/writer sends an acknowledgment command ACK to the tag. After the tag receives the confirmation command ACK, it returns the prefix of the electronic product code EPC data to the reader. If the reader does not detect the prefix, the reader resends the query command Query after a period of time.
再次,如果读写器检测到电子产品代码EPC数据的前缀,则读写器对标签中的电子产品代码EPC数据区中的数据进行读取,接收到协议控制位PC、错误检测码EDC、错误校正码ECC。Again, if the reader/writer detects the prefix of the electronic product code EPC data, the reader/writer reads the data in the electronic product code EPC data area of the label, and receives the protocol control bit PC, error detection code EDC, error Correction code ECC.
然后,读写器通过错误校正码ECC对协议控制位PC和错误检测码EDC进行错误检测和校正。也就是说,如果错误校正码ECC检测到协议控制位PC和错误检测码EDC中有错且有能力对该错误进行纠正,则错误校正码ECC将该错误进行纠正。Then, the reader uses the error correction code ECC to perform error detection and correction on the protocol control bit PC and the error detection code EDC. That is to say, if the error correction code ECC detects an error in the protocol control bit PC and the error detection code EDC and has the ability to correct the error, the error correction code ECC will correct the error.
接着,读写器通过错误检测码EDC对协议控制位PC进行错误检测。如果检测出协议控制位PC出错,则读写器可以采取以下三种方式之一进行处理:Next, the reader/writer performs error detection on the protocol control bit PC through the error detection code EDC. If an error is detected in the protocol control bit PC, the reader can take one of the following three ways to deal with it:
第一种,将待接收的EPC代码的长度设置为前一个标签的EPC代码的长度。这是假定该标签与前一个标签都属于同一种标签。The first one is to set the length of the EPC code to be received to the length of the EPC code of the previous tag. This is assuming that the tag is of the same kind as the previous tag.
第二种,将待接收的EPC代码的长度设置为96比特。96比特是EPCIn the second type, the length of the EPC code to be received is set to 96 bits. 96 bits are EPC
第三种,读写器首先等待读取最长所述EPC代码所需时间,这里最长所述EPC代码为496比特,随后启动一个新的标签读取过程,即读写器重新发送查询命令Query给标签。In the third type, the reader first waits for the time required to read the longest EPC code, where the longest EPC code is 496 bits, and then starts a new tag reading process, that is, the reader resends the query command Query to label.
读写器通过错误检测码EDC对协议控制位PC进行错误时,如果没有检测出协议控制位PC出错,意味着读写器得到了正确的EPC代码的长度;或者在上述检测出协议控制位PC出错的第一种和第二种处理方式之后,假设读写器得到了正确的EPC代码的长度。因此,读写器将其要接收的数据位设置为EPC代码的长度加上32比特,并准备接收数据。When the reader makes an error on the protocol control bit PC through the error detection code EDC, if no error is detected in the protocol control bit PC, it means that the reader has obtained the correct length of the EPC code; or the protocol control bit PC is detected above After the first and second error processing methods, it is assumed that the reader/writer has obtained the correct length of the EPC code. Therefore, the reader sets the data bits to be received as the length of the EPC code plus 32 bits, and prepares to receive data.
在经过一段等待时间之后,读写器接收到了电子产品代码EPC数据。随后,读写器对接收到的数据进行循环冗余校验CRC。如果校验通过,则读写器发送下一个查询命令QueryRep给标签,并将所接收到的EPC数据报告给与该读写器相连的主机。而这里报告给主机的EPC数据不包括错误校正码ECC和错误检测码EDC。如果校验没有通过,则读写器重新发送确认命令ACK给标签并检测产品代码EPC数据的前缀。After a waiting period, the reader receives the electronic product code EPC data. Subsequently, the reader performs a cyclic redundancy check (CRC) on the received data. If the verification is passed, the reader sends the next query command QueryRep to the tag, and reports the received EPC data to the host connected to the reader. However, the EPC data reported to the host does not include the error correction code ECC and the error detection code EDC. If the verification fails, the reader resends the confirmation command ACK to the tag and detects the prefix of the product code EPC data.
在本发明的实施例二中,保护协议控制位PC的第6个比特,该比特可以用来标识标签的用户数据区User Memory里是否有有效数据,读写器根据这个信息来决定是否发起数据读取命令。In the second embodiment of the present invention, the sixth bit of the protection protocol control bit PC can be used to identify whether there is valid data in the user data area User Memory of the tag, and the reader/writer decides whether to initiate data based on this information. Read command.
由于要保护的第6个比特与实施例一中要保护的用于记录EPC代码长度的前5个比特都位于协议控制位PC中,因此保护过程与实施例一中类似。其中,可以使用与实施例一中相同的错误检测码EDC和错误校正码ECC对协议控制位PC进行编码,并将编码写入标签电子产品代码EPC数据区中。所使用的错误检测码EDC和错误校正码ECC如图7中所示,使用错误检测码EDC和错误校正码ECC对协议控制位PC进行编码的步骤如图8所示。读写器对标签中的电子产品代码EPC数据进行读取,接收到编码后的协议控制位PC,并将编码后的协议控制位PC进行解码,其过程如图9所示。经过解码后,得到协议控制位PC,由该协议控制位的第6个比特决定是否发起数据读取命令,对所述用户数据区中的数据进行读取。Since the 6th bit to be protected and the first 5 bits to be protected for recording the length of the EPC code in the first embodiment are located in the protocol control bit PC, the protection process is similar to that in the first embodiment. Wherein, the same error detection code EDC and error correction code ECC as in the first embodiment can be used to encode the protocol control bit PC, and write the code into the EPC data area of the label electronic product code. The used error detection code EDC and error correction code ECC are shown in FIG. 7 , and the steps of using the error detection code EDC and error correction code ECC to encode the protocol control bit PC are shown in FIG. 8 . The reader/writer reads the electronic product code EPC data in the label, receives the encoded protocol control bit PC, and decodes the encoded protocol control bit PC. The process is shown in Figure 9. After decoding, the protocol control bit PC is obtained, and the sixth bit of the protocol control bit determines whether to initiate a data read command to read the data in the user data area.
在本发明的实施例三中,保护扩展协议位XPC的REC比特,该比特可以标识标签被杀死(Kill)后的可召回状态(Recommissioning),读写器可以根据这个信息决定标签的可召回状态,从而判断用户数据区的锁定情况以采取不同的策略读取数据。其保护过程与上述两个实施例类似,区别之处在于:In the third embodiment of the present invention, the REC bit of the extended protocol bit XPC is protected, which can identify the recallable state (Recommissioning) of the tag after being killed (Kill), and the reader can determine the recallable status of the tag based on this information Status, so as to judge the locking status of the user data area and adopt different strategies to read data. Its protection process is similar to the above two embodiments, the difference is:
首先,由于REC比特是存储在扩展协议位XPC的W1部分,因此在该实施例三中要保护的是协议控制位PC和扩展协议控制位XPC的W1部分,此时所使用的错误检测码EDC和错误校正码ECC与上两个不同。图10(a)给出了在使用扩展协议控制位中的REC位来标识标签被杀死后的可召回状态时,图6中的一个具体的错误检测码EDC和一个具体的错误校正码ECC。其中,错误检测码EDC选取5比特的循环冗余校验码CRC,错误校正码ECC选取BCH(63,39)码。First of all, since the REC bit is stored in the W1 part of the extended protocol bit XPC, what is to be protected in the third embodiment is the protocol control bit PC and the W1 part of the extended protocol control bit XPC, and the error detection code EDC used at this time and the error correction code ECC is different from the previous two. Figure 10(a) shows a specific error detection code EDC and a specific error correction code ECC in Figure 6 when the REC bit in the extended protocol control bit is used to identify the recallable state after the tag is killed . Among them, the error detection code EDC selects a 5-bit cyclic redundancy check code CRC, and the error correction code ECC selects a BCH (63, 39) code.
其次,使用错误检测码EDC和错误校正码ECC对协议控制位PC进行编码的步骤如图8所示,只是将图8中的协议控制位PC变为协议控制位PC和扩展协议控制位XPC的W1部分。另外,将错误检测码EDC和错误校正码ECC存储到标签中。与前两个实施例不同的是,此处编码可以存储在标签的不同地方,图10(b)和图10(c)分别给出了这两种存储方式。由于目前扩展协议控制位XPC的W2部分为保留部分,因此在图10(b)中将错误检测码EDC和错误校正码ECC存储到扩展协议控制位XPC的W2部分。而在图10(c)中则将错误检测码EDC和错误校正码ECC存储到EPC代码的开始位置。Secondly, the steps of encoding the protocol control bit PC using the error detection code EDC and the error correction code ECC are shown in Figure 8, only the protocol control bit PC in Figure 8 is changed to the protocol control bit PC and the extended protocol control bit XPC W1 part. In addition, an error detection code EDC and an error correction code ECC are stored in the tag. The difference from the previous two embodiments is that the codes here can be stored in different places of the label, and Fig. 10(b) and Fig. 10(c) respectively show these two storage methods. Since the W2 part of the extended protocol control bit XPC is currently reserved, the error detection code EDC and the error correction code ECC are stored in the W2 part of the extended protocol control bit XPC in FIG. 10( b ). However, in FIG. 10(c), the error detection code EDC and the error correction code ECC are stored at the beginning of the EPC code.
读写器对标签中的电子产品代码EPC数据进行读取,接收到编码后的协议控制位PC和扩展协议控制位XPC,并将编码后的协议控制位PC和扩展协议控制位XPC进行解码,其过程与图9类似。经过解码后,得到协议控制位PC和扩展协议控制位XPC,由扩展协议位XPC的REC比特决定标签的可召回状态,从而判断用户数据区的锁定情况以采取不同的策略读取数据。The reader reads the electronic product code EPC data in the label, receives the encoded protocol control bit PC and the extended protocol control bit XPC, and decodes the encoded protocol control bit PC and the extended protocol control bit XPC, The process is similar to that shown in Figure 9. After decoding, the protocol control bit PC and the extended protocol control bit XPC are obtained. The REC bit of the extended protocol bit XPC determines the recallable status of the label, thereby judging the locking status of the user data area and adopting different strategies to read data.
作为实施例一至实施例三的补充,在读写器的读写区域中,可能既存在协议控制位PC受到保护的标签,也存在协议控制位PC未受到保护的普通标签。图11给出了在存在普通标签和协议控制位PC受到保护标签的情况下的标签分类查询示意图。在这种情况下,读写器首先发送一个选择命令Select给其读写区域内的所有标签,选择那些预留比特RFU上设置有保护标识的标签。然后对于这些标签启动图9所示的协议控制位PC受保护的标签的读取过程。接着,读写器向其读写区域内的标签再发出一个选择命令Select,选择在读写区域内预留比特RFU上没有设置保护标识的普通标签,然后按照普通的读取步骤对所述没有设置所述保护标识的普通标签中的数据进行读取。As a supplement to
图12给出了上述所说的读写器对协议控制位PC受保护的标签的读取过程和普通标签的读取过程。Fig. 12 shows the reading process of the above-mentioned reader-writer on the tag whose protocol control bit PC is protected and the reading process of the common tag.
当然,读写器也可以先选择对普通标签中的数据进行读取,再选择对协议控制位PC受保护的标签中的数据进行读取。Of course, the reader can also choose to read the data in the ordinary tag first, and then choose to read the data in the tag whose protocol control bit PC is protected.
另外,在实施例一中,主要是针对在接收电子产品代码EPC数据的过程中,EPC数据中的任何一个比特在传输过程中发生错误而使得读写器发生CRC校验错误所解决的方案。在背景技术中已经提及,存在三种情况可能会导致读取EPC数据失败,分别是:读写器读取RN16前缀超时、读写器读取EPC数据前缀超时和读写器进行CRC校验发生错误。在西门子公司的专利申请200810004983.0中,已经提出了针对前两种情形提出了解决方案。为了进一步全面提高读写器对标签中的数据读取的可靠性,作为本发明的实施例一的一种改进方案,读写器在应用本发明的对EPC代码的长度进行保护的方案的同时,选择等待接收RN16时段作为增强时段,在增强时段中,读写器调节对发送信号的增益,使得在增强时段中的载波信号以增强的发送功率发送出去。In addition, in the first embodiment, the solution is mainly aimed at solving the problem that any bit in the EPC data has an error during transmission during the process of receiving the electronic product code EPC data, causing the reader to generate a CRC check error. As mentioned in the background technology, there are three situations that may cause failure to read EPC data, namely: the reader reads the RN16 prefix timeout, the reader reads the EPC data prefix timeout, and the reader performs CRC check An error occurred. In the patent application 200810004983.0 of Siemens AG, solutions for the first two situations have been proposed. In order to further comprehensively improve the reliability of the reader to read the data in the tag, as an improved solution of
作为本发明的实施例一的另一种改进方案,读写器在应用本发明的对EPC代码的长度进行保护的方案的同时,选择等待接收电子产品代码EPC数据时段作为增强时段,在增强时段中,读写器调节对发送信号的增益,使得在增强时段中的载波信号以增强的发送功率发送出去。As another improved solution of
作为本发明的实施例一的又一种改进方案,读写器在应用本发明的对EPC代码的长度进行保护的方案的同时,选择选择等待接收RN16时段、等待接收电子产品代码EPC数据时段这两个时段作为增强时段,在这两个增强时段中,读写器调节对发送信号的增益,使得在增强时段中的载波信号以增强的发送功率发送出去。图13给出了实施例三至实施例五中选择两个增强时段中的至少一个调节发送信号增益的示意图。As yet another improved solution of
上述实施例及其改进方案都是针对开环应用场合应用本发明的例子。但是除了开环应用,在很多情况下还存在闭环应用的情况。在闭环应用中,标签通常只在一个系统内部进行流通,例如,在一个加工过程中进行流通的标签。这类标签由于处于封闭的场合,通常不会进入到后续的流通环节,而且一般可以回收使用。对于这些闭环应用中的标签,标签的EPC代码是固定不变的。针对在闭环应用情况下可靠地读取EPC代码的目的,本发明提出了另外一种解决方案。The above embodiments and their improvements are all examples of applying the present invention to open-loop applications. But in addition to open-loop applications, there are also closed-loop applications in many cases. In closed-loop applications, labels typically only circulate within one system, for example, labels that circulate within a process. Because such labels are in a closed place, they usually do not enter the subsequent circulation, and they can generally be recycled. For tags in these closed-loop applications, the tag's EPC code is fixed. The present invention proposes another solution for the purpose of reliably reading EPC codes in closed-loop applications.
在本发明的实施例四中,射频识别系统包括一个以上读写器和一组标签,其中每个标签均包含电子产品代码EPC数据,而EPC数据进一步包括协议控制位PC、EPC代码、循环冗余校验位CRC。其中,协议控制位PC的长度为16比特,EPC代码的长度固定不变,可以固定为96至496比特之间的某一个比特,循环冗余校验位CRC的长度为16比特。EPC代码的长度记录在所述协议控制位PC中。In
根据本发明方案,首先,在读写器和与之相连的主机之间定义一个接口。主机将EPC代码的长度配置为一固定长度nEPC,然后通过该接口将产品代码位EPC的长度传递给读写器。According to the solution of the present invention, firstly, an interface is defined between the reader-writer and the host connected to it. The host configures the length of the EPC code as a fixed length n EPC , and then transmits the length of the product code bit EPC to the reader through the interface.
其次,读写器接收到产品代码位EPC的长度后,在其寄存器中存储该EPC代码的长度nEPC。图14给出了在读写器和与之相连的主机之间定义的接口的示意图。Secondly, after receiving the length of the product code bit EPC, the reader/writer stores the length n EPC of the EPC code in its register. Figure 14 shows a schematic diagram of the interface defined between the reader and the host connected to it.
进行了上述配置和存储后,读写器就可以对固定产品代码位EPC的标签中的数据进行读取。图15给出了读写器对固定产品代码位EPC的标签中的数据进行读取的过程。After the above configuration and storage, the reader can read the data in the label with the fixed product code bit EPC. Figure 15 shows the process that the reader reads the data in the label with the fixed product code bit EPC.
首先,读写器向标签发送查询命令Query。标签接收到查询命令Query后,返回给读写器一个16位的随机数RN16作为句柄。如果读写器没有接收到随机数RN16,则经过一段时间后读写器重新发送查询命令Query。First, the reader sends a query command Query to the tag. After receiving the query command Query, the tag returns a 16-bit random number RN16 as a handle to the reader. If the reader does not receive the random number RN16, the reader resends the query command Query after a period of time.
其次,读写器接收到标签发送的随机数RN16后,发送一个确认命令ACK给标签。标签接收到确认命令ACK后,向读写器返回电子产品代码EPC数据的前缀。如果读写器没有检测到该前缀,则经过一段时间后读写器重新发送查询命令Query。Secondly, after receiving the random number RN16 sent by the tag, the reader/writer sends an acknowledgment command ACK to the tag. After the tag receives the confirmation command ACK, it returns the prefix of the electronic product code EPC data to the reader. If the reader does not detect the prefix, the reader resends the query command Query after a period of time.
再次,如果读写器检测到电子产品代码EPC数据的前缀,则读写器从其寄存器中获得所存储的EPC代码的长度nEPC。也就是说,在本实施例中,尽管EPC代码的长度记录在所述协议控制位PC中,但在实际使用过程中,并非从协议控制位PC中获取EPC代码的长度信息,而是由读写器从其寄存器中得到EPC代码的长度信息,这样可以保证即使在读取EPC数据的过程中协议控制位PC中记录EPC代码长度信息的比特发生错误,也可以得到EPC代码的长度。Again, if the reader/writer detects the prefix of the electronic product code EPC data, the reader/writer obtains the length n EPC of the stored EPC code from its register. That is to say, in this embodiment, although the length of the EPC code is recorded in the protocol control bit PC, in actual use, the length information of the EPC code is not obtained from the protocol control bit PC, but read The writer obtains the length information of the EPC code from its register, so that it can be ensured that the length of the EPC code can be obtained even if an error occurs in the bit recording the EPC code length information in the protocol control bit PC during the process of reading the EPC data.
然后,读写器将其要接收的数据位设置为EPC代码的长度nEPC加上32比特,并准备接收数据。Then, the reader sets the data bits to be received as the length n EPC of the EPC code plus 32 bits, and prepares to receive data.
在经过一段等待时间之后,读写器接收到了电子产品代码EPC数据。随后,读写器对接收到的数据进行循环冗余校验CRC。如果校验通过,则读写器发送下一个查询命令QueryRep给标签,并将所接收到的EPC数据报告给与该读写器相连的主机。如果校验没有通过,则读写器重新发送确认命令ACK给标签并检测产品代码EPC数据的前缀。After a waiting period, the reader receives the electronic product code EPC data. Subsequently, the reader performs a cyclic redundancy check (CRC) on the received data. If the verification is passed, the reader sends the next query command QueryRep to the tag, and reports the received EPC data to the host connected to the reader. If the verification fails, the reader resends the confirmation command ACK to the tag and detects the prefix of the product code EPC data.
与实施例一的改进方案类似,实施例四也可以与西门子公司的专利申请200810004983.0相结合,进一步全面提高读写器对标签中的数据读取的可靠性。作为实施例四的一种改进方案,读写器在应用本发明的对EPC代码的长度固定的标签进行读取的方案的同时,选择等待接收RN16时段作为增强时段,在增强时段中,读写器调节对发送信号的增益,使得在增强时段中的载波信号以增强的发送功率发送出去。Similar to the improved solution of the first embodiment, the fourth embodiment can also be combined with Siemens' patent application 200810004983.0 to further comprehensively improve the reliability of the reader to read the data in the tag. As an improved solution of
作为实施例四的另一种改进方案,读写器在应用本发明的对EPC代码的长度固定的标签的同时,选择等待接收电子产品代码EPC数据时段作为增强时段,在增强时段中,读写器调节对发送信号的增益,使得在增强时段中的载波信号以增强的发送功率发送出去。As another improvement of
作为实施例四的又一种改进方案,读写器在应用本发明的对EPC代码的长度固定的标签的同时,选择选择等待接收RN16时段、等待接收电子产品代码EPC数据时段这两个时段作为增强时段,在这两个增强时段中,读写器调节对发送信号的增益,使得在增强时段中的载波信号以增强的发送功率发送出去。As yet another improvement of
如前所述,实施例一及其改进方案是在开环应用中对标签进行读取的方案,实施例四及其改进方案是在闭环应用中对标签进行读取的方案。事实上,读写器为了区别是对开环情况下的标签进行读取,还是对闭环情况下的标签进行读取,可以在该读写器上设置一个模式选择方式来用于区分开环和闭环的情况。当模式选择方式标识读写器使用第一种模式时,使用开环情况下对标签进行读取的方案,即对EPC代码的长度进行保护的方案。当模式选择方式标识读写器使用第二种模式时,使用闭环情况下对标签进行读取的方案,即在EPC代码的长度为固定的情况下对标签进行读取的方案。As mentioned above,
与本发明实施例一中对EPC代码的长度进行保护的方法相对应,本发明还提出一种在射频识别系统中对标签中的数据进行读取的读写器,该读写器包括:Corresponding to the method for protecting the length of the EPC code in
编码单元,用于使用一个具有纠错和检错能力的编码对特征描述信息进行编码;An encoding unit, configured to encode feature description information using an encoding with error correction and error detection capabilities;
写入单元,用于将所述编码写入一个标签中;a writing unit, configured to write the code into a tag;
读取单元,用于对所述标签中的数据进行读取,接收到所述经编码后的特征描述信息;a reading unit, configured to read the data in the tag, and receive the encoded feature description information;
解码单元,用于通过所述编码对所述特征描述信息进行解码;a decoding unit, configured to decode the feature description information through the encoding;
接收单元,用于根据解码后的特征描述信息对相应的数据进行读取。The receiving unit is configured to read corresponding data according to the decoded feature description information.
其中,所述写入单元进一步包括:Wherein, the writing unit further includes:
设置单元,用于将所述标签中协议控制位PC的长度设置为EPC代码、错误检测码EDC、错误校正码ECC的长度之和,并在所述协议控制位PC的预留比特RFU上设置一个保护标识;A setting unit, configured to set the length of the protocol control bit PC in the label to the sum of the lengths of the EPC code, the error detection code EDC, and the error correction code ECC, and set it on the reserved bit RFU of the protocol control bit PC a protection mark;
计算单元,用于为所述协议控制位PC计算所述错误检测码EDC,并为所述协议控制位PC与所述错误检测码EDC计算所述错误校正码ECC;a calculation unit, configured to calculate the error detection code EDC for the protocol control bit PC, and calculate the error correction code ECC for the protocol control bit PC and the error detection code EDC;
存储单元,用于将所述错误检测码EDC和所述错误校正码ECC存储到所述EPC代码的开始端。A storage unit for storing the error detection code EDC and the error correction code ECC at the beginning of the EPC code.
另外,读写器还包括一个命令发出模块,用于向处于其读写区域内的标签发出一个保护标签选择命令,选择在读写区域内预留比特RFU上设置有保护标识的标签,然后按照本发明中的对EPC代码的长度进行保护的方法对受保护的标签中的数据进行读取;或者向处于其读写区域内的标签发出一个普通标签选择命令,选择在读写区域内预留比特RFU上没有设置保护标识的普通标签,并按照普通的读取步骤对没有设置所述保护标识的普通标签中的数据进行读取。In addition, the reader also includes a command issuing module, which is used to send a protection label selection command to the label in its read-write area, select the label with a protection mark on the reserved bit RFU in the read-write area, and then follow the The method for protecting the length of the EPC code in the present invention reads the data in the protected tag; or sends an ordinary tag selection command to the tag in its read-write area, and selects the reserved tag in the read-write area The bit RFU has no protection mark on the normal tag, and reads the data in the normal tag without the protection mark according to the normal reading steps.
与本发明实施例四中EPC代码的长度为固定的情况下对标签进行读取的方法相对应,本发明提出另外一种在射频识别系统中对标签中的数据进行读取的读写器,所述读写器包括:Corresponding to the method of reading the tag when the length of the EPC code in
接口单元,用于在读写器和与所述读写器相连的主机之间定义一个接口,通过该接口主机将EPC代码的长度配置为一固定长度;An interface unit, configured to define an interface between the reader-writer and the host computer connected to the reader-writer, through which the host computer configures the length of the EPC code as a fixed length;
存储单元,用于在读写器的寄存器中存储主机所配置的EPC代码的长度;The storage unit is used to store the length of the EPC code configured by the host in the register of the reader;
读取单元,用于在对标签中的数据进行读取时,从该读写器的寄存中获得标签的EPC代码的长度;The reading unit is used to obtain the length of the EPC code of the tag from the storage of the reader when reading the data in the tag;
接收单元,用于将待接收的数据位进行设置并准备接收数据。The receiving unit is configured to set the data bits to be received and prepare to receive data.
为了进一步论证本发明所提供的方法的优点,进行了下列测试。这些测试都基于模拟有干扰源的真实制造应用场合。测试中进行的设置如图16所示。图16中的两个读写器均基于Indy R1000平台。在表1中显示了测试参数的设置。In order to further demonstrate the advantages of the method provided by the present invention, the following tests were carried out. These tests are based on simulating real manufacturing applications with interference sources. The setup made in the test is shown in Figure 16. The two readers in Figure 16 are based on the Indy R1000 platform. In Table 1 the test parameter settings are shown.
表1 测量参数设置Table 1 Measurement parameter settings
进行读取的读写器将按照表2所列的链路参数进行操作。A reading reader shall operate according to the link parameters listed in Table 2.
表2 进行读取的读写器的链路参数Table 2 Link parameters of the reader for reading
图17给出了BER性能与干扰功率的对照关系图。从图17我们可以看出,BER随着干扰功率的增加而快速增加。本发明方法通常在BER为0.1以下使用。图18给出了RN16超时的百分比与干扰功率的对照关系图。从图18中可见,在更大BER的区域中,已经有许多RN16超时的情况发生。Figure 17 shows the relationship between BER performance and interference power. From Figure 17 we can see that BER increases rapidly with the increase of interference power. The method of the present invention is generally used at a BER of 0.1 or less. Figure 18 shows the relationship between the RN16 timeout percentage and the interference power. It can be seen from Fig. 18 that there have been many RN16 timeouts in areas with larger BERs.
为了研究正常读写过程和本发明方法中对于单个标签的读取速度,将比较和模拟基于这两种读取方法中读取单个标签的时间。In order to study the reading speed of a single tag in the normal reading and writing process and the method of the present invention, the time to read a single tag based on these two reading methods will be compared and simulated.
对于正常的读取过程,可以使用方程式(1)来计算读取单个标签的时间。For the normal reading process, equation (1) can be used to calculate the time to read a single tag.
其中,Pb是BER;Pe是协议控制位PC+EPC代码+循环冗余校验位CRC16包传输的PER;PPC是协议控制位PC错误的概率;PEPC是电子产品代码EPC数据发生错误的概率;T是基于基本流程读取单个标签所使用的时间。公式(1)中对ACK重发的次数不做限制。Tinit和TEPCRetry是图19中在协议的不同阶段所使用的时间区间。Among them, P b is BER; P e is the PER of the protocol control bit PC+EPC code + cyclic redundancy check bit CRC16 packet transmission; P PC is the error probability of the protocol control bit PC; P EPC is the electronic product code EPC data occurrence Probability of error; T is the time it takes to read a single tag based on the underlying process. In formula (1), there is no limit to the number of ACK retransmissions. T init and T EPCRetry are time intervals used in different phases of the protocol in FIG. 19 .
对于本发明的通过保护协议控制位PC进而正确获得EPC代码的方案,以CRC-5、BCH(31,21)进行编码,可以使用公式(2)来计算通过本发明方案下读取单个标签的时间。For the solution of the present invention to correctly obtain the EPC code by protecting the protocol control bit PC, encode with CRC-5, BCH (31, 21), and formula (2) can be used to calculate the rate of reading a single tag under the solution of the present invention. time.
Pe=1-(1-PPC)(1-PEPC)P e =1-(1-P PC )(1-P EPC )
其中,NP是协议控制位PC的位数,其他部分的含义同公式(1)。Among them, NP is the number of protocol control bits PC, and the meanings of other parts are the same as formula (1).
将正常读取单个标签的时间和利用本发明方案读取单个标签的时间进行比较,结果如图20和图21所示。The time for reading a single tag normally and the time for reading a single tag using the solution of the present invention are compared, and the results are shown in Fig. 20 and Fig. 21 .
根据模拟结果,可以得出以下结论:当BER较小时,利用本发明方案读取标签的过程,其性能与正常过程的性能相似(由于使用冗余位,本发明方案比正常过程稍微差一点)。当BER较大时(BER>=1e-3),利用本发明方案读取标签的过程的优势非常显著。According to the simulation results, the following conclusions can be drawn: when the BER is small, the performance of the process of reading tags using the scheme of the present invention is similar to that of the normal process (due to the use of redundant bits, the scheme of the present invention is slightly worse than the normal process) . When the BER is large (BER>=1e-3), the advantages of the process of reading tags using the scheme of the present invention are very significant.
(例如,当BER=0.05时,利用本发明方案读取标签的过程可以节约一半以上的读取时间)。因此,本发明方案可以有效地解决读写器进行循环冗余校验CRC发生错误的问题。(For example, when BER=0.05, the process of reading tags using the solution of the present invention can save more than half of the reading time). Therefore, the solution of the present invention can effectively solve the problem that the reader/writer performs a cyclic redundancy check (CRC) error.
另外,为了评估本发明所提供的方法的整体性能,在Indy R1000平台上实施本发明的EPC代码固定的情况下对标签进行读取的方法和西门子公司专利申请200810004983.0中所记录的向标签提供能量的方法,或者实施所述方法的组合。具体为:(1)正常读取;In addition, in order to evaluate the overall performance of the method provided by the present invention, the method for reading the tag and the energy provided to the tag recorded in the Siemens patent application 200810004983.0 are implemented on the Indy R1000 platform when the EPC code of the present invention is fixed. method, or a combination of methods. Specifically: (1) Normal reading;
(2)采用本发明的EPC代码固定的情况下对标签进行读取;(3)采用本发明的EPC代码固定的情况下对标签进行读取,并且选择等待接收RN16时段作为增强时段向标签提供能量;(4)采用本发明的EPC代码固定的情况下对标签进行读取,并且选择等待接收电子产品代码EPC数据时段作为增强时段向标签提供能量;(5)采用本发明的EPC代码固定的情况下对标签进行读取,并且选择等待接收RN16时段、等待接收电子产品代码EPC数据时段这两个时段作为增强时段向标签提供能量。这五种方法的读取可靠性和读取速率的比较结果分别如图22和图23所示。从这两幅图中可以看出:(2) read the tag under the fixed situation of the EPC code of the present invention; (3) read the tag under the fixed situation of the EPC code of the present invention, and choose to wait to receive the RN16 period as the enhanced period to provide the tag with Energy; (4) under the fixed situation of adopting EPC code of the present invention, label is read, and selects to wait to receive electronic product code EPC data period to provide energy to label as enhanced period; (5) adopt EPC code of the present invention to fix In this case, the tag is read, and the two periods of waiting to receive RN16 and waiting to receive electronic product code EPC data are selected as the enhanced period to provide energy to the tag. The comparison results of read reliability and read rate of these five methods are shown in Fig. 22 and Fig. 23, respectively. From these two figures it can be seen that:
首先,由于减少了RN16超时、EPC超时和CRC错误,极大地提高了读写器读取标签数据的成功率。当干扰频率范围为-9dBm至-5dBm时,本发明所提供的方法中与正常读取的方法相比,读取1000次成功的比率约大于40%。尤其是,当干扰频率为-9dBm时,使用本发明所提供的方法读取1000次成功的比率约为90%,表明读取的可靠性非常高。而正常读取方法读取1000次成功的比率仅为50%。First, due to the reduction of RN16 timeout, EPC timeout and CRC errors, the success rate of the reader to read tag data is greatly improved. When the interference frequency ranges from -9dBm to -5dBm, compared with the normal reading method, the success ratio of reading 1000 times in the method provided by the present invention is greater than 40%. Especially, when the interference frequency is -9dBm, the success ratio of reading 1000 times using the method provided by the present invention is about 90%, indicating that the reliability of reading is very high. However, the normal reading method has only a 50% success rate of reading 1000 times.
其次,读写器对标签的读取可以达到更高的读取速度。如图23所示,当干扰频率范围为-5dBm至-9dBm时,本发明所提供的方法可以比正常读取方法多读取25个标签。尤其是,本发明所提供的方法的读取速度可以达到每秒100个标签,这可以满足大多数RFID应用的要求。Secondly, the reader can achieve a higher reading speed for reading tags. As shown in Fig. 23, when the interference frequency ranges from -5dBm to -9dBm, the method provided by the present invention can read 25 more tags than the normal reading method. In particular, the reading speed of the method provided by the present invention can reach 100 tags per second, which can meet the requirements of most RFID applications.
最后,本发明所提供的方法对其他设备会有少许干扰。原因是读写器只为获得更好的读取速度而在短时间内增加功率,但其功率会立即恢复正常水平。Finally, the method provided by the present invention will cause little interference to other devices. The reason is that the reader only increases power for a short time to get better read speed, but its power will immediately return to normal level.
综上所述,本发明所提供的对射频识别系统中标签的特征描述信息进行保护的方法可以达到更高的读取速度和更高的可靠性。根据测量结果,特别是在噪声环境下,采用本发明可以极大地提高标签的读取可靠性和速度。所以,这一方法非常适用于提高存在噪声环境的应用场合(例如,制造应用场合)中的读/写操作可靠性和效率。另一方面,这一方案的实施只需修改读写器固件即可,非常简便。并且,该方法完全符合EPC C1G2标准,因此可以在当前的标签和读写器中轻松地进行实施。To sum up, the method for protecting the feature description information of tags in the radio frequency identification system provided by the present invention can achieve higher reading speed and higher reliability. According to the measurement results, especially in the noise environment, the reading reliability and speed of the tag can be greatly improved by adopting the present invention. Therefore, this approach is well suited for improving the reliability and efficiency of read/write operations in applications where noisy environments exist, such as manufacturing applications. On the other hand, the implementation of this scheme only needs to modify the firmware of the reader, which is very simple. And, the method is fully compliant with the EPC C1G2 standard, so it can be easily implemented in current tags and readers.
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is only a preferred embodiment of the present invention, it should be pointed out that, for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications can also be made. It should be regarded as the protection scope of the present invention.
Claims (29)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101600596A CN101957923A (en) | 2009-07-20 | 2009-07-20 | Method and reader for reading data from tags in radio frequency identification system |
PCT/EP2010/060050 WO2011009768A2 (en) | 2009-07-20 | 2010-07-13 | A method and reader for reading tag data a radio frequency identification system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101600596A CN101957923A (en) | 2009-07-20 | 2009-07-20 | Method and reader for reading data from tags in radio frequency identification system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101957923A true CN101957923A (en) | 2011-01-26 |
Family
ID=43446616
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009101600596A Pending CN101957923A (en) | 2009-07-20 | 2009-07-20 | Method and reader for reading data from tags in radio frequency identification system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101957923A (en) |
WO (1) | WO2011009768A2 (en) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103226685A (en) * | 2013-05-10 | 2013-07-31 | 智坤(江苏)半导体有限公司 | Method for improving radio frequency identification (RFID) tag reading success rate |
CN103902940A (en) * | 2012-11-08 | 2014-07-02 | 冀京秋 | Integrated circuit identification self-verification |
CN104008354A (en) * | 2013-02-22 | 2014-08-27 | 中国科学院深圳先进技术研究院 | Card reader with novel reading label algorithm |
CN104616039A (en) * | 2015-01-23 | 2015-05-13 | 深圳市海云天科技股份有限公司 | Card sending method and card sending device for RFID label |
CN105302924A (en) * | 2015-12-09 | 2016-02-03 | 浪潮(北京)电子信息产业有限公司 | File management method and device |
CN106485291A (en) * | 2015-08-24 | 2017-03-08 | 瑞章科技有限公司 | Radio-frequency recognition system, label and read write line, and error correction method |
CN106998241A (en) * | 2016-01-22 | 2017-08-01 | 东芝泰格有限公司 | radio tag communication device |
CN107615703A (en) * | 2015-03-27 | 2018-01-19 | 沃纳冯布劳恩高等研究中心 | Protected storage is accessed by embedded RFID verification process based on challenge-response mechanism |
CN107944316A (en) * | 2017-10-16 | 2018-04-20 | 西北大学 | Multi-tag signal parallel coding/decoding method and system in a kind of backscattering agreement |
CN108415886A (en) * | 2018-03-07 | 2018-08-17 | 清华大学 | A kind of data label error correction method and device based on production process |
CN108734038A (en) * | 2017-04-14 | 2018-11-02 | 恩智浦有限公司 | Rfid integrated circuits |
CN110596313A (en) * | 2019-09-11 | 2019-12-20 | 青岛护适通医疗科技有限公司 | Urine wet detecting device |
CN111368948A (en) * | 2020-02-25 | 2020-07-03 | 成都睿畜电子科技有限公司 | Novel off-line encryption authentication method for UHF ear tag |
CN112215029A (en) * | 2020-10-15 | 2021-01-12 | 西安交通大学 | UHF passive tag real-time parallel decoding method, storage medium and device |
CN112579134A (en) * | 2020-12-31 | 2021-03-30 | 株洲菲斯罗克光电技术有限公司 | Circuit board upgrading method and system |
CN112839850A (en) * | 2018-09-18 | 2021-05-25 | 法伊韦利传送器意大利有限公司 | System for identifying the position along a train of electromechanical brake control devices associated with a railway vehicle |
CN115904798A (en) * | 2023-03-09 | 2023-04-04 | 苏州萨沙迈半导体有限公司 | Error correction and detection method and system of memory and controller |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102510555A (en) * | 2011-11-12 | 2012-06-20 | 宁波大榭招商国际码头有限公司 | Universal high-redundancy identification positioning system with hundred-percent identification rate |
CN104217364A (en) * | 2013-05-31 | 2014-12-17 | 成都勤智数码科技股份有限公司 | Efficient acquisition system of traffic management facility operation and maintenance basic data |
CN106303401B (en) * | 2015-05-12 | 2019-12-06 | 杭州海康威视数字技术股份有限公司 | Video monitoring method, equipment and system thereof and video monitoring method based on shopping mall |
DE112018000705T5 (en) | 2017-03-06 | 2019-11-14 | Cummins Filtration Ip, Inc. | DETECTION OF REAL FILTERS WITH A FILTER MONITORING SYSTEM |
JP6835689B2 (en) * | 2017-09-06 | 2021-02-24 | 富士通フロンテック株式会社 | RFID reader / writer device, error detection program and error detection method |
US11386279B2 (en) * | 2019-04-19 | 2022-07-12 | Nec Corporation | Efficient decoding of RFID tags based on relevant RN16 selection |
JP7654494B2 (en) * | 2021-07-13 | 2025-04-01 | 東芝テック株式会社 | Tag Reader |
CN114373246B (en) * | 2021-12-08 | 2024-05-03 | 中国人民解放军国防科技大学电子对抗学院 | RFID (radio frequency identification) timing loop system and method based on weak directional antenna and error correction |
CN115102582B (en) * | 2022-08-24 | 2023-01-24 | 北京智芯微电子科技有限公司 | Decoding method and device for RFID reader-writer, storage medium and RFID reader-writer |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0430291A2 (en) * | 1989-11-30 | 1991-06-05 | Sony Corporation | A data transfer system |
US6169474B1 (en) * | 1998-04-23 | 2001-01-02 | Micron Technology, Inc. | Method of communications in a backscatter system, interrogator, and backscatter communications system |
CN101114331A (en) * | 2007-08-06 | 2008-01-30 | 北京航空航天大学 | A Universal Reader-Writer Communication Protocol Based on EPC Reader-Writer Protocol |
CN101377820A (en) * | 2007-08-31 | 2009-03-04 | 西门子公司 | Method for searching label in radio frequency recognition system and reader-writer |
CN101441703A (en) * | 2008-10-08 | 2009-05-27 | 湖南大学 | Coding and decoding circuit of super high frequency radio frequency personal identification system |
-
2009
- 2009-07-20 CN CN2009101600596A patent/CN101957923A/en active Pending
-
2010
- 2010-07-13 WO PCT/EP2010/060050 patent/WO2011009768A2/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0430291A2 (en) * | 1989-11-30 | 1991-06-05 | Sony Corporation | A data transfer system |
US6169474B1 (en) * | 1998-04-23 | 2001-01-02 | Micron Technology, Inc. | Method of communications in a backscatter system, interrogator, and backscatter communications system |
CN101114331A (en) * | 2007-08-06 | 2008-01-30 | 北京航空航天大学 | A Universal Reader-Writer Communication Protocol Based on EPC Reader-Writer Protocol |
CN101377820A (en) * | 2007-08-31 | 2009-03-04 | 西门子公司 | Method for searching label in radio frequency recognition system and reader-writer |
CN101441703A (en) * | 2008-10-08 | 2009-05-27 | 湖南大学 | Coding and decoding circuit of super high frequency radio frequency personal identification system |
Cited By (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103902940A (en) * | 2012-11-08 | 2014-07-02 | 冀京秋 | Integrated circuit identification self-verification |
CN104008354A (en) * | 2013-02-22 | 2014-08-27 | 中国科学院深圳先进技术研究院 | Card reader with novel reading label algorithm |
CN104008354B (en) * | 2013-02-22 | 2017-11-07 | 中国科学院深圳先进技术研究院 | A kind of card reader with new reading labeling algorithm |
CN103226685A (en) * | 2013-05-10 | 2013-07-31 | 智坤(江苏)半导体有限公司 | Method for improving radio frequency identification (RFID) tag reading success rate |
CN104616039A (en) * | 2015-01-23 | 2015-05-13 | 深圳市海云天科技股份有限公司 | Card sending method and card sending device for RFID label |
CN104616039B (en) * | 2015-01-23 | 2018-03-27 | 深圳市海云天科技股份有限公司 | The hair fastener method and card-issuing device of a kind of RFID label tag |
CN107615703A (en) * | 2015-03-27 | 2018-01-19 | 沃纳冯布劳恩高等研究中心 | Protected storage is accessed by embedded RFID verification process based on challenge-response mechanism |
CN107615703B (en) * | 2015-03-27 | 2021-08-06 | 沃纳冯布劳恩高等研究中心 | Embedding protected memory access into RFID authentication process based on challenge-response mechanism |
US11075768B2 (en) | 2015-03-27 | 2021-07-27 | Centro De Pesquisas Avancadas Wernher Von Braun | Embedding protected memory access into a RFID authentication process based on a challenge-response mechanism |
CN106485291A (en) * | 2015-08-24 | 2017-03-08 | 瑞章科技有限公司 | Radio-frequency recognition system, label and read write line, and error correction method |
CN105302924A (en) * | 2015-12-09 | 2016-02-03 | 浪潮(北京)电子信息产业有限公司 | File management method and device |
CN106998241A (en) * | 2016-01-22 | 2017-08-01 | 东芝泰格有限公司 | radio tag communication device |
CN108734038A (en) * | 2017-04-14 | 2018-11-02 | 恩智浦有限公司 | Rfid integrated circuits |
CN108734038B (en) * | 2017-04-14 | 2023-11-10 | 恩智浦有限公司 | Integrated circuit for RFID tag |
CN107944316A (en) * | 2017-10-16 | 2018-04-20 | 西北大学 | Multi-tag signal parallel coding/decoding method and system in a kind of backscattering agreement |
CN107944316B (en) * | 2017-10-16 | 2019-08-02 | 西北大学 | Multi-tag signal parallel coding/decoding method and system in a kind of backscattering agreement |
CN108415886B (en) * | 2018-03-07 | 2019-04-05 | 清华大学 | A kind of data label error correction method and device based on production process |
CN108415886A (en) * | 2018-03-07 | 2018-08-17 | 清华大学 | A kind of data label error correction method and device based on production process |
CN112839850B (en) * | 2018-09-18 | 2024-05-10 | 法伊韦利传送器意大利有限公司 | Identification system for the position of an electromechanical brake control device associated with a railway vehicle along a train |
CN112839850A (en) * | 2018-09-18 | 2021-05-25 | 法伊韦利传送器意大利有限公司 | System for identifying the position along a train of electromechanical brake control devices associated with a railway vehicle |
CN110596313A (en) * | 2019-09-11 | 2019-12-20 | 青岛护适通医疗科技有限公司 | Urine wet detecting device |
CN111368948A (en) * | 2020-02-25 | 2020-07-03 | 成都睿畜电子科技有限公司 | Novel off-line encryption authentication method for UHF ear tag |
CN111368948B (en) * | 2020-02-25 | 2023-08-15 | 成都睿畜电子科技有限公司 | UHF ear tag off-line encryption authentication method |
CN112215029A (en) * | 2020-10-15 | 2021-01-12 | 西安交通大学 | UHF passive tag real-time parallel decoding method, storage medium and device |
CN112579134A (en) * | 2020-12-31 | 2021-03-30 | 株洲菲斯罗克光电技术有限公司 | Circuit board upgrading method and system |
CN115904798A (en) * | 2023-03-09 | 2023-04-04 | 苏州萨沙迈半导体有限公司 | Error correction and detection method and system of memory and controller |
Also Published As
Publication number | Publication date |
---|---|
WO2011009768A3 (en) | 2011-03-31 |
WO2011009768A2 (en) | 2011-01-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101957923A (en) | Method and reader for reading data from tags in radio frequency identification system | |
US7405660B2 (en) | Error recovery in RFID reader systems | |
CN101944171B (en) | Multi-tag identification method of RFID reader | |
CN102446280B (en) | A kind of method of verification msg, Apparatus and system | |
US8222997B2 (en) | Method of preventing collisions between RFID readers in RFID system | |
CN101159025B (en) | RFID tag reader and method | |
CN102609672A (en) | Anti-collision method of radio frequency identification (RFID) system | |
CN107516057A (en) | A tag anti-collision method and active radio frequency identification tag | |
CN103226685A (en) | Method for improving radio frequency identification (RFID) tag reading success rate | |
US20120068831A1 (en) | Wireless tag writing/reading apparatus and method by the same | |
CN100483438C (en) | Distant contactless IC card read/write implement and method therefor | |
US20210383082A1 (en) | Method and apparatus for code reading of ear tag | |
Deng et al. | Segmented Cyclic Redundancy Check: A Data Protection Scheme for Fast Reading RFID Tag's Memory | |
CN102332083B (en) | Information transmission methods and devices for radio frequency identification reader and tag | |
CN103679096A (en) | Optimized RFID anti-collision method | |
CN105743826B (en) | A kind of Miller subcarrier coding/decoding method | |
CN108108644A (en) | A kind of Paper Management System and its method of work based on RFID technique | |
US20120188060A1 (en) | Method and system for counting tags in radio frequency identification system | |
WO2021103116A1 (en) | Method, apparatus and device for reading data of rfid tag, and storage medium | |
CN115361096B (en) | RFID tag circuit and data transmission method based on RFID tag circuit | |
CN102110221B (en) | Method for realizing block-write function of ultrahigh-frequency passive RFID | |
CN104134052A (en) | RFID anti-collision method based on self-adaptive dividing mechanism | |
JP2012175629A (en) | Wireless tag decoding method | |
CN102034119A (en) | Tag and method for processing command by using same in RFID (radio frequency identification) system | |
CN120235169A (en) | Label reading method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20110126 |