CN100501758C - A communication method between reader and tag in RFID system - Google Patents
A communication method between reader and tag in RFID system Download PDFInfo
- Publication number
- CN100501758C CN100501758C CNB2006100872265A CN200610087226A CN100501758C CN 100501758 C CN100501758 C CN 100501758C CN B2006100872265 A CNB2006100872265 A CN B2006100872265A CN 200610087226 A CN200610087226 A CN 200610087226A CN 100501758 C CN100501758 C CN 100501758C
- Authority
- CN
- China
- Prior art keywords
- reader
- label
- state
- tag
- instruction
- 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.)
- Expired - Fee Related
Links
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
Landscapes
- Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Near-Field Transmission Systems (AREA)
- Storage Device Security (AREA)
Abstract
Description
技术领域 technical field
本发明涉及无线射频识别技术领域,特别是一种RFID系统中阅读器与标签的通信方法。The invention relates to the technical field of radio frequency identification, in particular to a communication method between a reader and a tag in an RFID system.
背景技术 Background technique
在物品识别中,条码的使用非常普遍,因为它有很低的成本,然而却很受限制,比如受光线、污渍、遮挡物等的影响。RFID技术的出现完全克服了这些缺点,RFID可以识别单个非常具体的物体,也可以同时对多个物体进行识读。In item identification, the use of barcodes is very common because it has very low cost, but it is very limited, such as being affected by light, stains, occlusions, etc. The emergence of RFID technology completely overcomes these shortcomings. RFID can identify a single very specific object, and can also read multiple objects at the same time.
RFID系统可以由至少一个由阅读器和一个电子标签组成。阅读器和标签之间通过无线的方式进行通信。阅读器可以向标签发出询问信号并从标签读取相关信息。随着RFID技术的发展,标签从只读小存储量不断向可写大存储量发展。标签可以分为有源标签(active tag)和无源标签(passive tag),有源标签内部备有电源,可以主动与阅读器通信;无源标签内部无电源,从阅读器发给的电磁波中吸取电能,作为其工作的电源,并以背射的方式,将相关信息发送给阅读器,完成标签到阅读器的通信。An RFID system can consist of at least one reader and one electronic tag. The reader and the tag communicate wirelessly. The reader can send an interrogation signal to the tag and read relevant information from the tag. With the development of RFID technology, tags are constantly developing from read-only small storage to writable large storage. Tags can be divided into active tags and passive tags. Active tags have a power supply inside and can actively communicate with readers; passive tags have no power inside and are transmitted from electromagnetic waves sent by readers. It absorbs electric energy as the power source for its work, and sends relevant information to the reader in the way of back reflection, completing the communication from the tag to the reader.
目前,RFID技术正处在国际化标准形成的关键阶段,关于超高频(Ultra-high frequency,以下简称UHF)RFID空中接口的标准,国际上主要有两个规范:EPCglobal GEN2和ISO 18000-6。EPCglobal GEN2是非盈利性标准化组织—全球产品电子代码(Electronic Product Code,以下简称EPC)管理中心(简称EPCglobal)制定的第二代UHF空中接口标准(简称GEN2)。在GEN2中,阅读器与标签的通信过程中,就阅读器而言定义了三个过程:Select(选择)、Inventory(清点)、Access(访问),对应的标签状态为Ready(就绪)、Arbitrate(仲裁)、Reply(应答)、Acknowledged(确认)、Open(开放)、Secured(保护)、Killed(杀死),整个通信过程在这些操作和状态之间完成。GEN2的设计是围绕EPC码的读取,对于标签承载其它类型的信息及其交互考虑不够。阅读器的三个操作过程起到了简单易实现的作用,但相对来说,在功能机制上不够严密,比如,安全机制,有16位随机或伪随机数据(RN16)的验证过程,但从机制上没有充分的考虑,也没有技术升级的空间。在阅读器的操作过程与标签的状态的对应关系上不够明晰。在GEN2中没有考虑对于手持终端的节能问题。At present, RFID technology is in the critical stage of the formation of international standards. There are two main international standards for UHF (Ultra-high frequency, hereinafter referred to as UHF) RFID air interface standards: EPCglobal GEN2 and ISO 18000-6 . EPCglobal GEN2 is the second-generation UHF air interface standard (GEN2 for short) formulated by the Electronic Product Code (EPC) Management Center (EPCglobal), a non-profit standardization organization. In GEN2, in the communication process between the reader and the tag, three processes are defined for the reader: Select (selection), Inventory (inventory), Access (access), and the corresponding tag status is Ready (ready), Arbitrate (Arbitration), Reply (response), Acknowledged (confirmation), Open (open), Secured (protection), Killed (killing), the entire communication process is completed between these operations and states. The design of GEN2 is centered around the reading of EPC codes, and it does not take enough consideration of other types of information carried by tags and their interaction. The three operation processes of the reader play a simple and easy-to-implement role, but relatively speaking, the functional mechanism is not strict enough. For example, the security mechanism has a verification process of 16-bit random or pseudo-random data (RN16), but from the mechanism There is no sufficient consideration in terms of technology, and there is no room for technological upgrades. The corresponding relationship between the operation process of the reader and the state of the tag is not clear enough. In GEN2, the energy saving problem for handheld terminals is not considered.
发明内容 Contents of the invention
本发明正是针对这些问题是提出一种用于阅读器和多个标签之间的高效、安全的通信方法,使阅读器与标签之间的通信在框架和机制上更完善和强大,使标签的状态转移更灵活、与阅读器的操作过程对应更加明确,有利于全面提升RFID的性能。The present invention is aimed at these problems and proposes an efficient and safe communication method between a reader and multiple tags, so that the communication between the reader and the tags is more complete and powerful in terms of framework and mechanism, so that the tags The state transition of the system is more flexible, and the correspondence with the operation process of the reader is more clear, which is conducive to improving the performance of RFID in an all-round way.
鉴于上述,本发明的目的在于提供一种RFID系统中阅读器与标签之间的通信方法,在该方法中给出一种新的阅读器与标签之间通信的框架和新的功能机制,其包括如下步骤:In view of the above, the purpose of the present invention is to provide a communication method between a reader and a tag in an RFID system, in which a new framework and a new functional mechanism for communication between a reader and a tag are provided, which Including the following steps:
第一步,当标签进入有效的射频激活区,或者阅读器进入标签存在区后,阅读器发出检测信号,进行检测操作,以检测区域内是否有标签存在:In the first step, when the tag enters the effective radio frequency activation area, or the reader enters the tag presence area, the reader sends out a detection signal and performs a detection operation to detect whether there is a tag in the area:
当标签存在时,标签上电,同时发出响应信号,并进入就绪状态,执行第二步;When the tag exists, the tag is powered on, sends a response signal at the same time, and enters the ready state, and executes the second step;
如果没有响应就认为没有标签存在,阅读器不再进行其它操作;If there is no response, it is considered that there is no tag, and the reader will not perform other operations;
第二步,上述检测到的响应的标签根据阅读器发出的选择操作指令的参数改变相应标志位,所选标签转入选择状态;In the second step, the above-mentioned detected response tag changes the corresponding flag according to the parameters of the selection operation instruction sent by the reader, and the selected tag is transferred to the selection state;
第三步,阅读器对上述所选标签进行查询操作;In the third step, the reader performs query operations on the above selected tags;
第四步,上述所选标签对阅读器的查询操作指令进行响应,当有多个选择状态的标签同时在同一信道响应时,上述这些标签进入仲裁状态,利用仲裁的方法,将唯一标签在一个时刻接入阅读器,此时阅读器进行接入操作;In the fourth step, the above-mentioned selected tags respond to the query operation command of the reader. When multiple selected tags respond on the same channel at the same time, the above-mentioned tags enter the arbitration state, and use the arbitration method to place the unique tag in a Connect to the reader at all times, and the reader performs the access operation at this time;
第五步,当有唯一标签接入成功后,阅读器对标签进行鉴权操作,鉴权通过后,向标签发送带有密钥的指令,请求标签鉴权,此时标签处在鉴权状态,标签收到阅读器请求鉴权的指令后,对其进行鉴权,通过后标签转入开放状态;当阅读器与标签之间不需要鉴权时,省略此步,直接由第四步进入第六步;The fifth step, when a unique tag is successfully accessed, the reader performs an authentication operation on the tag. After the authentication is passed, it sends an instruction with a key to the tag to request tag authentication. At this time, the tag is in the authentication state , after the tag receives the instruction from the reader requesting authentication, it will authenticate it, and the tag will turn into an open state after passing; when the authentication between the reader and the tag is not required, this step is omitted, and the fourth step directly enters the second step. six steps;
第六步,当接入阅读器的标签进入开放状态后,阅读器对标签进行操作,包含读子操作、写子操作和“杀死”子操作;阅读器可以选择对标签的操作方式:The sixth step, when the tag connected to the reader enters the open state, the reader operates on the tag, including the read sub-operation, write sub-operation and "kill" sub-operation; the reader can choose the operation mode of the tag:
如果阅读器选择读操作,首先发送指令,标签对指令进行验证后,转入读状态,之后阅读器对标签进行读操作;这里读操作可以是多个不同读操作,通过读指令中不同权限的密钥区别,标签验证指令后,向阅读器发送阅读器需求的信息;If the reader selects the read operation, it first sends an instruction, and after the tag verifies the instruction, it enters the read state, and then the reader performs a read operation on the tag; here, the read operation can be multiple different read operations, through the different permissions in the read instruction Key difference, after the tag verifies the command, send the information required by the reader to the reader;
如果阅读器选择写操作,首先发送指令,标签对指令进行验证后,转入写状态,之后阅读器对标签进行写操作,这里写操作可以是多个不同的写操作,通过写指令中不同权限的密钥区别;If the reader selects the write operation, it first sends the command, and after the tag verifies the command, it enters the write state, and then the reader performs the write operation on the tag. Here, the write operation can be multiple different write operations, through different permissions in the write command key difference;
当阅读器选择对标签进行“杀死”操作时,阅读器发送带有密钥的指令,标签对指令进行验证后,转入杀死状态。When the reader chooses to "kill" the tag, the reader sends an instruction with a key, and after the tag verifies the instruction, it enters the killing state.
进一步地,上述第三步中阅读器对所选标签进行查询操作时,通过指令对所选标签进行初始化,并发起清点,清点是指选择标签到对标签的操作结束的整个过程。Further, when the reader performs an inquiry operation on the selected tag in the above third step, it initializes the selected tag through an instruction, and initiates an inventory. The inventory refers to the entire process from selecting the tag to the end of the operation on the tag.
进一步地,上述第五步中在鉴权成功时,阅读器首先读取标签的唯一标识码,作为身份标识。Further, in the fifth step above, when the authentication is successful, the reader first reads the unique identification code of the tag as an identification.
进一步地,上述第六步中标签在开放状态下,根据阅读器的不同操作指令,选择进入标签的读状态、写状态或杀死状态,除断电的情况,处于读状态和写状态的标签可以通过阅读器指令返回开放状态或直接进入杀死状态。Further, in the sixth step above, when the tag is in the open state, according to different operation instructions of the reader, select to enter the read state, write state or kill state of the tag, except for the case of power failure, the tag in the read state and write state Can return to the open state or go directly to the kill state through the reader command.
进一步地,上述第六步中标签在开放状态、读状态、写状态及杀死状态之间转移时,需通过阅读器指令中不同权限级别的密钥认证。Furthermore, in the sixth step above, when the tag is transferred between the open state, the read state, the write state and the killed state, it needs to pass the key authentication of different authority levels in the reader command.
进一步地,标签在杀死状态下不能再向其它任何状态转移。Furthermore, the tag cannot transfer to any other state in the killed state.
进一步地,标签处在任何一个状态下,当断电后,必须从就绪状态重新开始。Furthermore, if the tag is in any state, it must restart from the ready state when it is powered off.
进一步地,当标签在仲裁、鉴权和开放状态下出现错误时,自动转入就绪状态;当标签在读、写和杀死状态下出现错误时,自动转入开放状态。Further, when errors occur in the arbitration, authentication and open states, the tags automatically enter the ready state; when errors occur in the read, write, and kill states, the tags automatically enter the open states.
下面结合附图,对本发明的具体实施作进一步的详细说明。对于熟悉本技术领域的人员而言,从对本发明方法的详细说明中,本发明的上述和其他目的、特征和优点将显而易见。The specific implementation of the present invention will be further described in detail below in conjunction with the accompanying drawings. The above and other objects, features and advantages of the present invention will be apparent to those skilled in the art from the detailed description of the method of the present invention.
附图说明 Description of drawings
图1 本发明中阅读器的操作过程图。Fig. 1 is a diagram of the operation process of the reader in the present invention.
图2 本发明中标签的状态转移图。Fig. 2 State transition diagram of tags in the present invention.
图3 本发明中阅读器与标签的通信过程图。Fig. 3 is the communication process diagram between the reader and the tag in the present invention.
具体实施方式 Detailed ways
下面结合附图对本发明的具体实施作详细说明如下。The specific implementation of the present invention will be described in detail below in conjunction with the accompanying drawings.
如图1所示,本发明涉及到的阅读器的(逻辑)操作及其定义说明如下:As shown in Figure 1, the (logic) operation and definition thereof of the reader involved in the present invention are described as follows:
S0:检测(即Detection)S0: Detection (ie Detection)
当阅读器进入一个工作区域后,阅读器发出一个检测指令,用来检测区域内是否有标签存在。When the reader enters a working area, the reader sends out a detection command to detect whether there is a tag in the area.
S1:选择(即Selection)S1: Selection (ie Selection)
阅读器通过一定的指令对有效区域内的标签进行选择和分类。这里允许使用多个选择指令对标签进行多次选择,直至完成预定的选择任务。The reader selects and classifies the tags in the effective area through certain instructions. Here, it is allowed to use multiple selection commands to select tags multiple times until the predetermined selection task is completed.
S2:查询(即Query)S2: Query (ie Query)
阅读器对所选标签进行查询,在这里阅读器通过指令对所选标签进行初始化,并发起清点。这里的清点是指从被选择到对标签的操作结束的整个过程。The reader queries the selected tags, where the reader initializes the selected tags through instructions and initiates an inventory. The inventory here refers to the whole process from being selected to the end of the label operation.
S3:接入(即Access)S3: Access (ie Access)
如果有多个标签在同一信道进行响应,将发生碰撞,这时将采取一定的仲裁方法防止冲突,以保证唯一标签在一个时刻成功接入。If there are multiple tags responding on the same channel, a collision will occur. At this time, a certain arbitration method will be adopted to prevent the conflict, so as to ensure that the only tag is successfully connected at one time.
S4:鉴权(即Authentication)S4: Authentication (ie Authentication)
阅读器和标签双方通过一定的鉴权机制相互认证为合法身份后,阅读器与标签之间就建立了一条安全的通信链路。After the reader and the tag mutually authenticate as legal identities through a certain authentication mechanism, a secure communication link is established between the reader and the tag.
S5:操作(即Operation)S5: Operation (ie Operation)
阅读器对标签的操作包括S5R:读(Read)子操作,和S5W:写(Write)子操作和S5D:“杀死”子操作。The operation of the reader on the tag includes S5R: read (Read) sub-operation, and S5W: write (Write) sub-operation and S5D: "kill" sub-operation.
如图2所示,本发明涉及到的标签状态及其定义说明如下:As shown in Figure 2, the label states and their definitions involved in the present invention are described as follows:
S6:就绪(即Ready)S6: Ready (ie Ready)
就绪状态可以被看作一个等待状态,用以表示一个还没有接受阅读器任何读写操作,也还没有进入一个清点过程的已上电的标签的状态。在一个标签进入射频激活区后,除了杀死状态,掉电,就转入该状态。标签会一直保持该状态,直至它收到来自阅读器的选择指令。The ready state can be seen as a waiting state, which is used to represent the state of a tag that has not yet accepted any read or write operations from the reader, nor has it entered an inventory process. After a tag enters the radio frequency activation area, except for the killing state, it will enter this state when it is powered off. The tag remains in this state until it receives a selection command from the reader.
S7:选择(即Selection)S7: Selection (ie Selection)
在阅读器对标签进行清点之前,会对标签根据需求选择,当阅读器发出选择指令时,响应的标签自动转入选择状态,同时产生相应的选择标识,即改变相应的标志位,只有进入该状态的标签才会进入仲裁状态,响应后续的查询指令。Before the reader counts the tags, it will select the tags according to the requirements. When the reader sends out the selection command, the corresponding tag will automatically enter the selection state, and at the same time generate the corresponding selection mark, that is, change the corresponding flag bit. The tag in the state will enter the arbitration state and respond to subsequent query commands.
S8:仲裁(即Arbitration)S8: Arbitration (ie Arbitration)
仲裁状态是一个保持状态,用于表示那些参与到当前的清点过程,但还没有得到一个可用信道而唯一接入阅读器的标签。处于这个状态的标签可以接收阅读器发过来的各种用于实现仲裁的指令,直到成功接入时才离开这个状态,进入鉴权状态。The Arbitration state is a hold state for those Tags that are the only ones connected to the reader that are participating in the current inventory process but have not yet obtained an available channel. The tag in this state can receive various instructions sent by the reader to achieve arbitration, and it will not leave this state until it is successfully connected, and enter the authentication state.
S9:鉴权(即Authentication)S9: Authentication (ie Authentication)
当标签被成功接入后,除了掉电或是Dead状态,标签进入鉴权状态。在该状态下,标签响应阅读器发来的各种用于鉴权的指令,以保证双方的身份是合法的,才能建立安全的通信链路,使得后续的信息交互是安全的。When the tag is successfully connected, except for the power-off or Dead state, the tag enters the authentication state. In this state, the tag responds to various authentication instructions sent by the reader to ensure that the identities of both parties are legal, and only then can a secure communication link be established, making subsequent information interactions safe.
S10:开放(即Open)S10: open (that is, Open)
当标签和阅读器相互鉴权成功后,标签进入开放状态。在该状态下,标签根据阅读器的不同指令,选择进入读、写或杀死状态。除断电或杀死状态,处于读和写状态的标签可以通过阅读器指令返回开放状态。When the mutual authentication between the tag and the reader succeeds, the tag enters the open state. In this state, the tag chooses to enter the read, write or kill state according to different instructions from the reader. In addition to the power-off or kill state, tags in the read and write states can be returned to the open state by a reader command.
S11:读(即Read)S11: Read (ie Read)
当标签进入开放状态后,可以根据阅读器的指令进入该状态。在该状态下,阅读器有权读取标签的相关信息,对于不同区域的信息,需要用不同的指令,这些指令中带有不同读取权限的密钥。在该状态下,可以根据阅读器的不同指令转入写或杀死状态,或返回开放状态。When the tag enters the open state, it can enter this state according to the instruction of the reader. In this state, the reader has the right to read the relevant information of the tag. For information in different areas, different instructions are required, and these instructions contain keys with different read permissions. In this state, it can be transferred to write or kill state, or return to open state according to different instructions of the reader.
S12:写(即Write)S12: Write (ie Write)
当标签进入开放状态后,可根据阅读器指令进入该状态。在该状态下,阅读器有权对标签进行写操作。对于不同区域的写操作,需要不同指令,这些指令中带有不同写权限的密钥,以完成不同的写操作。在该状态下,标签可以根据不同的指令转入读和杀死)状态,或返回开放状态。When the tag enters the open state, it can enter this state according to the reader's instruction. In this state, the reader has the right to write to the tag. For write operations in different areas, different instructions are required, and these instructions contain keys with different write permissions to complete different write operations. In this state, the tag can turn into the read and kill) state, or return to the open state according to different instructions.
S13:杀死(即Dead)S13: Kill (i.e. Dead)
当标签进入开放状态后,可根据阅读器指令进入该状态。在该状态下,标签不再响应阅读器任何其它指令,可以称为是杀死状态。在该状态下,标签不能再向其它任何状态下转移。When the tag enters the open state, it can enter this state according to the reader's instruction. In this state, the tag no longer responds to any other instructions from the reader, which can be called a killed state. In this state, the tag cannot transfer to any other state.
如图3所示,本发明提供的阅读器与标签的通信方法的具体过程包括如下步骤:As shown in Figure 3, the specific process of the communication method between the reader and the tag provided by the present invention includes the following steps:
第一步 阅读器对所在工作区域进行检测,检测是否有标签存在The first step: the reader detects the working area and detects whether there is a label
当标签进入有效的射频激活区,或者阅读器进入标签存在区后,阅读器进行如图1中的SO:检测(Detection)操作:首先由阅读器发出检测信号,比如一个特定的连续载波,标签对其信号进行解调,并背射出一个特定的响应信号,确保阅读器能判别出标签的存在,即图3中S14至S15。当标签存在时,标签上电,同时发出响应信号,并进入如图2中S6:就绪(Ready)状态,即图3中S15至S16。When the tag enters the effective radio frequency activation area, or the reader enters the tag presence area, the reader performs the SO: Detection operation as shown in Figure 1: first, the reader sends out a detection signal, such as a specific continuous carrier, the tag The signal is demodulated, and a specific response signal is emitted back to ensure that the reader can identify the existence of the tag, that is, S14 to S15 in Figure 3. When the tag exists, the tag is powered on, sends a response signal at the same time, and enters the S6 in Figure 2: Ready (Ready) state, that is, S15 to S16 in Figure 3 .
第二步 阅读器对检测到的预通信标签进行选择Step 2: The reader selects the detected pre-communication tags
当检测到有标签存在时,对标签进行选择,即图3中S16至S17。此时阅读器进行图1中的S1:选择(Selection)操作。标签根据选择指令的参数改变相应标志位,并转入图2中的S7:选择(Selection)状态。更具体地说,在这里阅读器可以通过一个或多个选择指令对有效区域内的标签进行选择和分类。这个指令可以在指令中包含特定的信息,通过参数选择标签。这个指令中可以包含一个特定的序列,并指定与标签中存储的信息的特定部分进行逻辑运算,并以此结果来改变标签的部分标识,以达到选择的目的。比如在指令中包含信息序列101010,并用于选择标签的某段存储信息和它相同的标签。在具体应用中,比如,在仓库中,选择所有的某个指定厂商生产的某类食品,那么阅读器会根据这些特征所对应的编码特征,在指令中要求与之匹配,然后再标识这类物品,以便后续操作。When it is detected that there is a label, the label is selected, that is, S16 to S17 in FIG. 3 . At this time, the reader performs S1 in FIG. 1: selection (Selection) operation. The tag changes the corresponding flag bit according to the parameters of the selection command, and turns to S7 in Figure 2: Selection (Selection) state. More specifically, here the reader can select and classify the tags in the effective area through one or more selection instructions. This directive can include specific information in the directive, via parameter selection tags. This instruction can contain a specific sequence, and specify to perform logical operations with a specific part of the information stored in the tag, and use the result to change the part of the tag to achieve the purpose of selection. For example, an information sequence 101010 is included in the instruction, and it is used to select a certain segment of storage information of a label and the same label. In a specific application, for example, in a warehouse, select all a certain type of food produced by a specified manufacturer, then the reader will match it in the instruction according to the coding characteristics corresponding to these characteristics, and then identify this type of food. items for subsequent operations.
第三步 阅读器对所选标签进行查询Step 3: The reader queries the selected tag
阅读器对所选标签进行图1中的S2:查询(Query)操作,即图3中的S18至S19。并通过一定的指令对所选标签进行初始化,并开始清点标签。The reader performs S2 in FIG. 1: query (Query) operation on the selected tag, that is, S18 to S19 in FIG. 3 . And initialize the selected label through certain instructions, and start counting the labels.
第四步 标签接入阅读器The fourth step is to connect the tag to the reader
所选标签对阅读器的查询指令进行响应,当有多个标签同时在同一信道响应时,将发生冲突,在此,可以采用一定的仲裁方法,比如用ALOHA算法来避免冲突。此时标签处于图2中的S8:仲裁(Arbitration)状态。通过仲裁后,此时阅读器进行图1中的S3接入(Access)操作,将唯一的标签在一个时刻接入阅读器,即图3中S19至S20。The selected tag responds to the reader's query command. When multiple tags respond on the same channel at the same time, a conflict will occur. Here, a certain arbitration method can be used, such as the ALOHA algorithm to avoid conflicts. At this time, the tag is in the S8: Arbitration state in FIG. 2 . After the arbitration, at this time the reader performs the S3 access (Access) operation in Figure 1, and accesses the unique tag to the reader at one time, that is, S19 to S20 in Figure 3 .
第五步 阅读器和标签相互鉴权
当有唯一标签接入成功后,阅读器对标签进行鉴权,鉴权通过后,向标签发送带有密钥的指令,请求标签鉴权,即图3中S20至S21。此时,阅读器的操作为图1中的S4:鉴权(Authentication),标签处在图2中的S9:鉴权(Authentication)状态。标签收到请求鉴权的指令后,对其进行鉴权,通过后转入S10:开放(Open)状态,即图3中S21至S22。通过鉴权相互识别合法身份后,阅读器首先读取标签合法的唯一标识码,如唯一识别内码(Unique identifier,简称UID码)。更具体地说,比如标签可以首先发送一个带密钥的指令,在指令中同时包括一个随机数,当阅读器收到指令后,对密钥进行验证,验证通过后,返回收到的随机数。当双方通过一定的鉴权机制相互认证为合法身份后,阅读器与标签之间就建立了一条安全的通信链路。When a unique tag is successfully accessed, the reader authenticates the tag, and after passing the authentication, sends an instruction with a key to the tag to request tag authentication, namely S20 to S21 in Figure 3. At this time, the operation of the reader is S4: Authentication (Authentication) in FIG. 1 , and the tag is in S9: Authentication (Authentication) state in FIG. 2 . After the tag receives the instruction requesting authentication, it authenticates it, and then transfers to S10: Open state, that is, S21 to S22 in Fig. 3 . After mutual identification of legal identities through authentication, the reader first reads the legal unique identification code of the tag, such as the unique identifier (UID code for short). More specifically, for example, the tag can first send a command with a key, which includes a random number at the same time. When the reader receives the command, it verifies the key, and returns the received random number after the verification is passed. . When the two parties authenticate each other as legal identities through a certain authentication mechanism, a secure communication link is established between the reader and the tag.
第六步阅读器对标签进行读写The sixth step is that the reader reads and writes the tag
当标签进入S10:开放(Open)状态后,阅读器可以选择对标签的操作方式。如果选择图1中S5R:读(Read)操作,,首先发送指令,使标签转入图2中的S11:读(Read)状态,之后阅读器对标签进行读操作,这里读操作可以是多个不同读操作,通过读指令中不同权限的密钥区别,即图3中S22至S23。标签验证指令后,向阅读器发送阅读器需求的信息,即图3中S23至S24,比如,标签的EPC信息、用户信息等。如果阅读器选择图1中的S5W:写(Write)操作,首先发送指令,使标签转入图2中的S12:写(Write)状态,之后阅读器对标签进行写操作,这里写操作可以是多个不同的写操作,通过写指令中不同权限的密钥区别,即图3中S24至S25,比如,通过不同指令或参数可以改写EPC信息、用户信息等,对于一些重要信息的改写,需要指令中带有密钥。当阅读器选择图1中S5D:“杀死”(Dead)操作时,阅读器发送带有密钥的指令,标签对指令进行验证,并转入如图2中的S13:杀死(Dead)状态,此过程为图3中的S26至S27。这种操作会使标签不再响应任何指令。When the tag enters the S10: Open (Open) state, the reader can choose the operation mode for the tag. If you choose S5R in Figure 1: Read (Read) operation, first send an instruction to make the tag transfer to S11 in Figure 2: Read (Read) state, and then the reader performs a read operation on the tag, here the read operation can be multiple Different read operations are distinguished by keys with different permissions in the read command, that is, S22 to S23 in FIG. 3 . After the tag verifies the instruction, send the information required by the reader to the reader, that is, S23 to S24 in FIG. 3 , for example, EPC information of the tag, user information, etc. If the reader selects the S5W in Figure 1: Write (Write) operation, first send an instruction to make the tag transfer to the S12: Write (Write) state in Figure 2, and then the reader performs a write operation on the tag, where the write operation can be Multiple different write operations are distinguished by keys with different permissions in the write command, that is, S24 to S25 in Figure 3. For example, EPC information, user information, etc. can be rewritten through different commands or parameters. For rewriting some important information, you need The key is included in the command. When the reader selects the S5D in Figure 1: "Dead" operation, the reader sends an instruction with a key, the tag verifies the instruction, and transfers to S13 in Figure 2: Kill (Dead) State, this process is S26 to S27 in Fig. 3. This action will cause the tag to no longer respond to any commands.
另外,在开放(Open)状态下,标签可以根据阅读器指令选择进入读(Read)、写(Write)和杀死(Dead)状态中的任何一个,在读(Read)、写(Write)状态下,可以根据阅读器指令相互转换状态,或转入杀死(Dead)状态,或者返回开放(Open)状态。当进入杀死(Dead)状态后,标签不再转入其它状态。在一个特定的应用场合中,不是对所有的标签都必须进行读操作、或写操作、或同时进行读写操作,所以可以进行选择。比如,在超市或仓库的物品管理过程中,物品是通过附在其上的标签的唯一身份码(Identification,以下简称ID)去识别的,这个标签的ID是预定好,并是唯一的。对物品的管理过程,是以ID的管理为主线的,这样在基于RFID的管理系统中,后台的数据库会实时的对现有的物品进行监测,比如,当物品为新进物品时,必须读取它的物品信息,如名称、材料、大小、保质期、存放环境等等。当这个物品在长期存放后,比如,要调整它的价格,那么当与标签建立通信后,就可以直接进行写操作,改写价格信息存储区。当物品存放时间大于保质期后,直接对其进行“杀死”操作,而不需要再进入操作的其它状态。因为这些监测是在后台数据库中预先做好的。In addition, in the open (Open) state, the tag can choose to enter any one of the read (Read), write (Write) and kill (Dead) states according to the reader's instructions. , can switch states according to the instruction of the reader, or turn into the dead state, or return to the open state. After entering the Dead state, the tag will not transfer to other states. In a specific application, not all tags must be read, or written, or read and write at the same time, so a choice can be made. For example, in the item management process of a supermarket or a warehouse, the item is identified by the unique identification code (Identification, hereinafter referred to as ID) of the tag attached to it. The ID of this tag is predetermined and unique. The management process of items is based on ID management. In this way, in the RFID-based management system, the background database will monitor the existing items in real time. For example, when the item is a new item, it must be read. Get its item information, such as name, material, size, shelf life, storage environment and so on. When the item is stored for a long time, for example, its price needs to be adjusted, then after communication with the tag is established, the write operation can be directly performed to rewrite the price information storage area. When the storage time of the item is longer than the shelf life, the "kill" operation is directly performed on it without entering into other states of the operation. Because these monitoring are done in advance in the background database.
在本发明中,第五步在系统设计时可以不使用,即可以允许从第四步直接进入第六步。比如在工厂的生产线上,对产品的识别是不存在安全危险的,因此,为提高效率可以将其省略。但是如果是用于门禁系统,则要注重其系统的通信安全,保留第五步。In the present invention, the fifth step may not be used during system design, that is, it is allowed to directly enter the sixth step from the fourth step. For example, on the production line of a factory, there is no safety hazard for product identification, so it can be omitted to improve efficiency. But if it is used in the access control system, the communication security of the system should be paid attention to, and the fifth step should be reserved.
在本发明中,图2所示的状态为标签的一种逻辑状态,每个逻辑状态可能对应多个物理状态。比如在仲裁(Arbitration)状态中,根据对不同指令的响应,会产生多个物理响应状态。比如,在写(Write)状态下,根据写入的不同内容,会有不同的物理状态。标签处在任何一个状态下,当掉电后,必须从就绪(Ready)状态重新开始。当标签在仲裁(Arbitration)、鉴权(Authentication)和开放(Open)状态下出现错误,自动转入就绪(Ready)状态。当标签在读(Read)、写(Write)和杀死(Dead)状态下出现错误,自动转入开放(Open)状态。In the present invention, the state shown in FIG. 2 is a logical state of the tag, and each logical state may correspond to multiple physical states. For example, in the Arbitration state, multiple physical response states will be generated according to responses to different commands. For example, in the Write state, there will be different physical states according to different contents written. If the tag is in any state, it must restart from the Ready state when it is powered off. When an error occurs in the Arbitration, Authentication and Open states, the tag automatically turns to the Ready state. When the tag has an error in the read (Read), write (Write) and kill (Dead) states, it will automatically turn to the open (Open) state.
以上详细说明了本发明的实施方式,但这只是为了便于理解而举的形象化的实例,不应被视为是对本发明范围的限制。同样,任何所属技术领域的普通专业人员均可根据本发明的技术方案及其较佳实施例的描述,做出各种可能的等同改变或替换,但所有这些改变或替换都应属于本发明的权利要求的保护范围。The embodiments of the present invention have been described in detail above, but these are only vivid examples for easy understanding, and should not be regarded as limiting the scope of the present invention. Similarly, any ordinary professional in the technical field can make various possible equivalent changes or replacements according to the technical solution of the present invention and the description of its preferred embodiments, but all these changes or replacements should belong to the scope of the present invention. The scope of the claims.
Claims (7)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100872265A CN100501758C (en) | 2006-06-13 | 2006-06-13 | A communication method between reader and tag in RFID system |
PCT/CN2006/003740 WO2007147306A1 (en) | 2006-06-13 | 2006-12-30 | A communication method between reader and label in the rfid system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100872265A CN100501758C (en) | 2006-06-13 | 2006-06-13 | A communication method between reader and tag in RFID system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101089872A CN101089872A (en) | 2007-12-19 |
CN100501758C true CN100501758C (en) | 2009-06-17 |
Family
ID=38833057
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006100872265A Expired - Fee Related CN100501758C (en) | 2006-06-13 | 2006-06-13 | A communication method between reader and tag in RFID system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN100501758C (en) |
WO (1) | WO2007147306A1 (en) |
Families Citing this family (30)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101470795B (en) * | 2007-12-27 | 2012-04-25 | 华为技术有限公司 | Communication method and device in a radio frequency identification system |
TWI455037B (en) | 2008-09-12 | 2014-10-01 | Mstar Semiconductor Inc | Controlling method for rfid tag and rfid system thereof |
CN101685494B (en) * | 2008-09-25 | 2014-04-16 | 晨星软件研发(深圳)有限公司 | Control method of radio frequency identification tag and radio frequency identification system using same |
CN101751540B (en) * | 2008-12-09 | 2012-02-22 | 晨星软件研发(深圳)有限公司 | Method and system for co-processing tasks using radio frequency identification tags |
CN102043934B (en) * | 2009-10-12 | 2014-12-10 | 中兴通讯股份有限公司 | Radio frequency identification system and operating method thereof |
CN102081744A (en) * | 2009-11-30 | 2011-06-01 | 中兴通讯股份有限公司 | Path identification system and secure interaction method thereof |
CN103080949A (en) * | 2010-09-02 | 2013-05-01 | 北京智捷通科技发展有限公司 | Method and device for radio frequency identification(RFID) access control |
CN101976365B (en) * | 2010-11-05 | 2012-09-19 | 中国航天科工集团第二研究院七○六所 | Safe radio frequency identification system |
CN102122340A (en) * | 2010-11-16 | 2011-07-13 | 北京中电华大电子设计有限责任公司 | Method for preventing radio from being exposed in radio frequency identification system |
HK1145128A2 (en) * | 2010-11-25 | 2011-04-01 | 苏贵生 | Device and method for detecting water level, and device adapted for such method and container adapted for such device |
CN102087697B (en) * | 2011-02-25 | 2013-08-14 | 深圳市中兴长天信息技术有限公司 | Data transmission method of reader and wireless tags |
CN102129541B (en) * | 2011-03-01 | 2015-04-01 | 中国电子技术标准化研究所 | Radio frequency identification system, reader-writer, tag and communication method |
CN102169537B (en) * | 2011-04-07 | 2014-03-26 | 工业和信息化部电子工业标准化研究所 | Method for processing security information data received by electronic tag |
CN102682313B (en) * | 2011-06-10 | 2015-08-19 | 中国人民解放军国防科学技术大学 | The communication means of read write line and label in radio-frequency recognition system |
CN102314585A (en) * | 2011-07-22 | 2012-01-11 | 上海聚星仪器有限公司 | Method suitable for testing secure communication of radio frequency identification tag |
CN103164718B (en) * | 2011-12-13 | 2016-10-05 | 天津中兴智联科技有限公司 | RF identification exchange method and radio-frequency recognition system |
CN102510348A (en) * | 2011-12-27 | 2012-06-20 | 杭州电子科技大学 | Real-time self-adaptive detecting and processing method for radio frequency identification devices (RFID) super-concurrent signal |
CN103379487B (en) | 2012-04-11 | 2018-08-24 | 西安西电捷通无线网络通信股份有限公司 | Air-interface security method and apparatus |
CN104091184B (en) * | 2014-06-16 | 2017-09-15 | 上海实甲智能系统有限公司 | Electronic label detecting method and system |
CN106228211B (en) * | 2016-07-25 | 2020-06-19 | 吕永根 | Target searching system and searching method thereof |
CN106408673A (en) * | 2016-08-26 | 2017-02-15 | 天津七二通信广播股份有限公司 | Vehicle-mounted unit applied to path identification system and safe method of vehicle-mounted unit |
US10474938B2 (en) * | 2017-04-24 | 2019-11-12 | Flockstock Pty Ltd | Inventory management system |
CN108768464B (en) * | 2018-04-08 | 2021-06-22 | 深圳市盛路物联通讯技术有限公司 | Radio frequency data transmission method and system |
CN110334553B (en) * | 2019-05-08 | 2023-03-24 | 广东识芯微电子科技有限公司 | Link method for radio frequency identification sensing data and sensing label node |
CN112528688B (en) * | 2019-09-19 | 2023-08-15 | 浙江悦和科技有限公司 | Radio frequency tag control method, response method and device, storage medium, reader and radio frequency tag |
US11948031B2 (en) * | 2020-02-22 | 2024-04-02 | Nanjing University | Method and device for authenticating passive RFID tag |
CN113496127A (en) * | 2020-04-02 | 2021-10-12 | 太原理工大学 | Method, device and storage medium for performing selection and write operations on multiple CRFID tags |
WO2022036537A1 (en) * | 2020-08-18 | 2022-02-24 | Tridonic Gmbh & Co Kg | Data calibration method and driver |
CN120050659A (en) * | 2023-11-27 | 2025-05-27 | 华为技术有限公司 | Communication method and device |
CN118519969B (en) * | 2024-07-19 | 2024-10-18 | 济南泰格电子技术有限公司 | Digital storage management system and device for positioning type entity files |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5963134A (en) * | 1997-07-24 | 1999-10-05 | Checkpoint Systems, Inc. | Inventory system using articles with RFID tags |
WO2002021424A2 (en) * | 2000-09-05 | 2002-03-14 | Gap Inc. | System and method for using radio frequency identification in retail operations |
-
2006
- 2006-06-13 CN CNB2006100872265A patent/CN100501758C/en not_active Expired - Fee Related
- 2006-12-30 WO PCT/CN2006/003740 patent/WO2007147306A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2007147306A1 (en) | 2007-12-27 |
CN101089872A (en) | 2007-12-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100501758C (en) | A communication method between reader and tag in RFID system | |
US7872582B1 (en) | RFID tag chips and tags with alternative memory lock bits and methods | |
US7482929B2 (en) | Point-of-sale activation of consumer electronics | |
EP2030456B1 (en) | Rfid tag user memory indication | |
US20080129463A1 (en) | RFID tag including ROM, method of impeding an RFID tag from being killed, and method of manufacturing an RFID tag | |
CN101023434A (en) | Collision detection and avoidance scheme for contactless card payment systems | |
KR20120048003A (en) | Rfid portal system with rfid tags having various read ranges | |
CN103999111A (en) | Electronic price label system and method | |
US9407331B2 (en) | NFC device with configurable notifications | |
CN101438330A (en) | Method and system for setup of, and communication with, an RFID middleware server from an enterprise resource planning system server | |
CN114692790A (en) | A communication method and related equipment | |
US9405941B2 (en) | Simultaneous programming of selected tags | |
CN105809231A (en) | Multi-frequency multi-purpose electronic tag and using method thereof | |
CN115291576A (en) | An RFID modeling method for virtual simulation in warehouse logistics environment | |
CN101515333A (en) | Electronic tag system having bank status and controlling method thereof | |
US9824246B2 (en) | Radio frequency identification tag having input device | |
WO2012083632A1 (en) | Method and system for controlling access to radio frequency identification tag | |
CN102129541B (en) | Radio frequency identification system, reader-writer, tag and communication method | |
Zharinov et al. | Using RFID Techniques for a Universal Identification Device | |
TWI695323B (en) | Radio frequency identification reader | |
CN103632173B (en) | Access, access processing method and the device of label | |
CN102708393B (en) | Transponder, method and reader for monitoring access to application data in the transponder | |
US20150161421A1 (en) | Apparatus and method for controlling supply of power to radio frequency identification tag | |
JP2008021321A (en) | RFID tag and RFID tag system | |
CN101609512A (en) | General service disposal route and system based on radio-frequency (RF) identification |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C41 | Transfer of patent application or patent right or utility model | ||
TR01 | Transfer of patent right |
Effective date of registration: 20160909 Address after: 300308 Tianjin Airport Economic Zone, Binhai New Area seven East Road No. 2 Zhongxing Industrial Base Patentee after: ZTE INTELLIGENT IOT TECHNOLOGY Co.,Ltd. Address before: 518057 Nanshan District high tech Industrial Park, Guangdong, South Road, science and technology, ZTE building, legal department Patentee before: ZTE Corp. |
|
CP03 | Change of name, title or address |
Address after: Room 401, building 12, east area, airport business park, No. 80, Huanhe North Road, free trade zone (Airport Economic Zone), Binhai New Area, Tianjin 300000 Patentee after: Gaoxing Zhilian Technology Co.,Ltd. Address before: 300308, Zhongxing Industrial base, 2 East seven, Airport Economic Zone, Tianjin Binhai New Area Patentee before: ZTE INTELLIGENT IOT TECHNOLOGY Co.,Ltd. |
|
CP03 | Change of name, title or address | ||
CP01 | Change in the name or title of a patent holder |
Address after: Room 401, building 12, East Airport Business Park, 80 Huanhe North Road, Tianjin Binhai New Area pilot free trade zone (Airport Economic Zone) Patentee after: Zte Intelligent Iot Technology Co.,Ltd. Address before: Room 401, building 12, East Airport Business Park, 80 Huanhe North Road, Tianjin Binhai New Area pilot free trade zone (Airport Economic Zone) Patentee before: Gaoxing Zhilian Technology Co.,Ltd. |
|
CP01 | Change in the name or title of a patent holder | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090617 |
|
CF01 | Termination of patent right due to non-payment of annual fee |