[go: up one dir, main page]

CN101281587B - RFID reading method and answering method - Google Patents

RFID reading method and answering method Download PDF

Info

Publication number
CN101281587B
CN101281587B CN2007101453649A CN200710145364A CN101281587B CN 101281587 B CN101281587 B CN 101281587B CN 2007101453649 A CN2007101453649 A CN 2007101453649A CN 200710145364 A CN200710145364 A CN 200710145364A CN 101281587 B CN101281587 B CN 101281587B
Authority
CN
China
Prior art keywords
code
orthogonal
command
response
query
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
Application number
CN2007101453649A
Other languages
Chinese (zh)
Other versions
CN101281587A (en
Inventor
王必胜
张其善
杨东凯
邸金山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beihang University
Original Assignee
Beihang University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beihang University filed Critical Beihang University
Priority to CN2007101453649A priority Critical patent/CN101281587B/en
Publication of CN101281587A publication Critical patent/CN101281587A/en
Application granted granted Critical
Publication of CN101281587B publication Critical patent/CN101281587B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

本发明涉及一种射频识别阅读方法和应答方法,尤其适用于提高射频识别技术的防碰撞性能。该阅读方法包括:发送包含正交循环码的查询命令;产生一组正交解扩码对接收到的应答信号解扩处理得到应答标识;发送确认命令;发送再查询或查询调整命令并继续接收应答信号。该应答方法包括:接收含有正交循环码的查询命令;根据正交循环码产生正交扩频码,对应答标识进行扩频调制,产生应答信号;发送应答信号;等待接收确认命令进入确认状态或接收查询调整命令执行后续识别步骤。本发明采用码分和时分相结合的方法,在同一时隙内可以识别出多个应答信号,并且可以有效防止碰撞干扰,减少识别响应耗时,实现安全可靠、且效率较高的射频识别。

The invention relates to a radio frequency identification reading method and a response method, and is especially suitable for improving the anti-collision performance of the radio frequency identification technology. The reading method includes: sending a query command including an orthogonal cyclic code; generating a group of orthogonal despreading codes to despread the received response signal to obtain a response identifier; sending a confirmation command; sending a re-query or query adjustment command and continuing to receive answer signal. The response method includes: receiving a query command containing an orthogonal cyclic code; generating an orthogonal spread spectrum code according to the orthogonal cyclic code, performing spread spectrum modulation on the response identifier to generate a response signal; sending a response signal; waiting for the confirmation command to enter the confirmation state Or receive a query adjustment command to perform subsequent identification steps. The invention adopts the method of combining code division and time division, can identify a plurality of response signals in the same time slot, can effectively prevent collision interference, reduce the time consumption of identification response, and realize safe, reliable and efficient radio frequency identification.

Description

射频识别阅读方法和应答方法 RFID reading method and answering method

技术领域technical field

本发明涉及一种射频识别阅读方法和应答方法,尤其适用于一种能提高射频识别技术防碰撞性能的射频识别阅读方法和应答方法。The invention relates to a radio frequency identification reading method and a response method, and is especially suitable for a radio frequency identification reading method and a response method capable of improving the anti-collision performance of the radio frequency identification technology.

背景技术Background technique

射频识别(Radio Frequency Identification,以下简称RFID)技术是一种利用无线电反向散射传输,实现物件的非接触式自动识别(Auto-ID)的技术。近年来,在许多业务领域中,如生产过程管理、供应链管理、物流和运输、分销、零售、交通运输控制等系统中得到了广泛的应用。在这种发展趋势下,RFID技术的目标是扩展应答器提供的数据量,广泛地提供关于个人、动物、物体及货物的信息。Radio Frequency Identification (Radio Frequency Identification, hereinafter referred to as RFID) technology is a technology that uses radio backscatter transmission to realize non-contact automatic identification (Auto-ID) of objects. In recent years, it has been widely used in many business fields, such as production process management, supply chain management, logistics and transportation, distribution, retail, transportation control and other systems. Under this development trend, the goal of RFID technology is to expand the amount of data provided by transponders and provide information on individuals, animals, objects and goods extensively.

RFID系统通常由应答器和阅读器两个基本装置组成。应答器是RFID系统中的数据载体,阅读器通过发射天线发送一定频率的射频信号,当应答器进入发射天线工作区域时获得能量而激活,将自身编码等信息通过反向散射的无线电信号发送给阅读器,阅读器对接收信号进行解调和解码后,将应答器编码等数据通过接口与控制计算机进行数据交换,同时执行来自应用系统软件发来的命令,实现相应的应用功能。An RFID system usually consists of two basic devices, a transponder and a reader. The transponder is the data carrier in the RFID system. The reader sends a radio frequency signal of a certain frequency through the transmitting antenna. When the transponder enters the working area of the transmitting antenna, it obtains energy and activates, and sends information such as its own code through the backscattered radio signal to the reader. Reader, after the reader demodulates and decodes the received signal, it exchanges the transponder code and other data with the control computer through the interface, and at the same time executes the command sent from the application system software to realize the corresponding application function.

阅读器在对应答器进行射频识别过程中,在阅读器的天线辐射场内有许多个应答器时,应答器之间会发生碰撞,即多个应答器同时发送信号时,会争用信道,信号之间会互相干扰。这种情况在仓库进出口统计系统中的具体表现形式是:多个带有标识的商品被同一阅读器同时查询。解决这类碰撞问题涉及到防碰撞技术,防碰撞技术设计的优劣很大程度上将影响射频识别系统的性能。现有技术中解决防碰撞问题的方法通常采用树搜索和碰撞随机退避技术来实现。在需要读取的应答器的数目较大时,这些技术响应时间相对较长,实时性较差。对于在物品的数目很大且读取时间有限的情况下,单纯采用树搜索或者碰撞随机退避技术的RFID防碰撞方法就不能满足要求。另一方面,随着RFID应用的不断深入,应答器中携带的信息也会越来越多,阅读器与应答器之间的数据通信量也越来越大,信息安全要求也越来越高。因此,需要一种高效率、快速识别且信息安全性好的RFID防碰撞技术。When the reader performs radio frequency identification on the transponder, when there are many transponders in the antenna radiation field of the reader, the transponders will collide, that is, when multiple transponders send signals at the same time, they will compete for the channel. Signals interfere with each other. The specific manifestation of this situation in the warehouse import and export statistics system is: multiple marked commodities are queried by the same reader at the same time. Solving this type of collision problem involves anti-collision technology, and the design of anti-collision technology will largely affect the performance of the radio frequency identification system. The methods to solve the anti-collision problem in the prior art usually adopt tree search and collision random backoff technology to realize. When the number of transponders to be read is large, the response time of these technologies is relatively long and the real-time performance is poor. For the case where the number of items is large and the reading time is limited, the RFID anti-collision method simply using tree search or collision random backoff technology cannot meet the requirements. On the other hand, with the continuous deepening of RFID applications, more and more information will be carried in the transponder, the data communication volume between the reader and the transponder will also increase, and the information security requirements will become higher and higher. . Therefore, there is a need for an RFID anti-collision technology with high efficiency, fast identification and good information security.

发明内容Contents of the invention

本发明的目的是克服现有技术中的缺陷,提供一种射频识别阅读方法和识别方法,在射频识别过程中有效避免碰撞干扰,且实现高效率的迅速识别。The purpose of the present invention is to overcome the defects in the prior art and provide a radio frequency identification reading method and identification method, which can effectively avoid collision interference during the radio frequency identification process and realize rapid identification with high efficiency.

为实现上述目的,提供了一种射频识别阅读方法,包括如下步骤:In order to achieve the above purpose, a radio frequency identification reading method is provided, including the following steps:

步骤1、阅读器将码长为M的正交循环码作为当前正交循环码设置在查询命令的参数中,根据码长M确定移位值N,该移位值N为小于该码长M的非负整数,并将移位值N设置在所述查询命令的参数中,发送该查询命令;其中,M是正整数;Step 1. The reader sets the orthogonal cyclic code with code length M as the current orthogonal cyclic code in the parameter of the query command, and determines the shift value N according to the code length M, and the shift value N is less than the code length M is a non-negative integer, and the shift value N is set in the parameter of the query command, and the query command is sent; wherein, M is a positive integer;

步骤2、阅读器根据当前正交循环码和移位值N产生正交解扩码;Step 2, the reader generates an orthogonal despreading code according to the current orthogonal cyclic code and the shift value N;

步骤3、阅读器利用该正交解扩码对已接收的一个或一个以上应答信号解扩处理,得到应答标识;Step 3. The reader uses the orthogonal despreading code to despread the received one or more response signals to obtain a response identifier;

步骤4、阅读器发送包含该应答标识的确认命令;Step 4, the reader sends a confirmation command including the response identifier;

步骤5、阅读器判断当前帧是否结束,若是,则执行步骤6;Step 5. The reader judges whether the current frame is over, and if so, executes Step 6;

步骤6、阅读器重新确定当前正交循环码和/或重新确定移位值N,并将其设置在所述查询调整命令的参数中,发送所述查询调整命令,并执行步骤12。Step 6. The reader re-determines the current orthogonal cyclic code and/or re-determines the shift value N, and sets it in the parameter of the query adjustment command, sends the query adjustment command, and executes step 12.

阅读器通过执行上述步骤,向应答器发送正交循环码和当前帧的帧长参数,可以在同一时隙内收到多个应答信号,并同时识别出未发生碰撞的多个应答器,确认了已识别的应答器之后,利用查询调整命令启动下一帧的识别,对在上一帧中因应答信号发生碰撞而未识别到的应答器再次进行识别,有效的解决了信号碰撞的问题。By performing the above steps, the reader sends the orthogonal cyclic code and the frame length parameter of the current frame to the transponder, and can receive multiple response signals in the same time slot, and at the same time identify multiple transponders that have not collided, and confirm After identifying the identified transponders, use the query adjustment command to start the identification of the next frame, and then identify the transponders that were not identified due to the collision of the response signals in the previous frame, which effectively solves the problem of signal collisions.

本实现上述目的,还提供了一种射频识别应答方法,包括如下步骤:This realizes above-mentioned object, also provides a kind of radio frequency identification answering method, comprises the following steps:

步骤1′、应答器接收包含码长为M的正交循环码的查询命令;其中,M是正整数,判断所述查询命令中是否包含移位值N,若否,则根据码长M确定移位值N等于M-1,其中,N是非负整数;Step 1', the responder receives a query command containing an orthogonal cyclic code with a code length of M; wherein, M is a positive integer, and judges whether the query command contains a shift value N, if not, then determines the shift value according to the code length M The bit value N is equal to M-1, where N is a non-negative integer;

步骤2′、应答器根据正交循环码产生正交扩频码,采用正交扩频码对应答标识进行扩频调制,产生应答信号;Step 2', the transponder generates an orthogonal spread spectrum code according to the orthogonal cyclic code, and uses the orthogonal spread spectrum code to perform spread spectrum modulation on the response identifier to generate a response signal;

步骤3′、应答器发送该应答信号;Step 3', the transponder sends the response signal;

步骤4′、应答器判断是否接收到确认命令,若是,则进入确认状态,否则执行步骤5′;Step 4', the responder judges whether the confirmation command is received, if so, enters the confirmation state, otherwise executes step 5';

步骤5′、应答器判断是否接收到查询调整命令,若是,则执行下一帧的识别。Step 5', the transponder judges whether the query adjustment command is received, and if so, performs identification of the next frame.

应答器通过执行上述步骤,将阅读器发送的正交循环码循环移位生成扩频码,对自身的应答标识进行扩频,发送之后若没有接到确认命令,则进入等待仲裁状态,等待启动下一时隙查询的命令,若应答器已发送应答信号而未接收到确认命令,则可能是因为发生碰撞而没有被阅读器识别出来,则应答器等待接收查询调整命令,启动下一帧的识别。By performing the above steps, the transponder cyclically shifts the orthogonal cyclic code sent by the reader to generate a spreading code, and spreads its own response identifier. If no confirmation command is received after sending, it will enter the waiting arbitration state and wait for the start For the query command of the next time slot, if the transponder has sent a response signal but has not received the confirmation command, it may be due to a collision and has not been recognized by the reader, then the transponder waits for the query adjustment command to start the identification of the next frame .

由以上技术方案可知,本发明是采用码分与时分相结合的技术手段,实现RFI D系统高效率、快速识别的防碰撞方法。该方法的硬件复杂程度和成本开销处于允许的范围内,但防碰撞性能大大提高,同时,利用了时分与码分各自的优点,扩频码的利用率高,抗干扰性能强,具有一定的保密性及抗多径干扰能力等优势,克服了射频识别技术防碰撞方法响应时间长的技术问题。It can be seen from the above technical solutions that the present invention adopts the technical means of combining code division and time division to realize the anti-collision method of RFID system with high efficiency and rapid identification. The hardware complexity and cost overhead of this method are within the allowable range, but the anti-collision performance is greatly improved. The advantages of confidentiality and anti-multipath interference ability overcome the technical problem of long response time of the anti-collision method of radio frequency identification technology.

因此,本发明具有以下优点:Therefore, the present invention has the following advantages:

1、实现了多个RFID射频识别应答器的并行识别,比单纯的基于“时隙ALOHA”帧的防碰撞方法减少了识别时间,可实现大量的RFID应答器的快速识别。1. The parallel identification of multiple RFID transponders is realized, which reduces the identification time compared with the simple anti-collision method based on the "time slot ALOHA" frame, and can realize the rapid identification of a large number of RFID transponders.

2、在同一个时隙中采用码分复用方式,可以同时识别出多个应答信号,且具有抗干扰性强,信噪比高,保密性较好,抗多径干扰能力强的优势。2. Using code division multiplexing in the same time slot, multiple response signals can be identified at the same time, and it has the advantages of strong anti-interference, high signal-to-noise ratio, good confidentiality, and strong anti-multipath interference ability.

3、由于采用了正交循环码的自循环正交原理产生扩频序列,使得应答器及阅读设备的制造成本处在允许范围内,且便于采用国内外主流的芯片技术实现。3. Due to the use of the self-circulating orthogonal principle of the orthogonal cyclic code to generate the spread spectrum sequence, the manufacturing cost of the transponder and the reading device is within the allowable range, and it is easy to implement using mainstream chip technology at home and abroad.

下面通过具体实施例并结合附图对本发明做进一步的详细描述。The present invention will be described in further detail below through specific embodiments and in conjunction with the accompanying drawings.

附图说明Description of drawings

图1A所示为执行本发明射频识别阅读方法具体实施例一的阅读器的结构示意图。FIG. 1A is a schematic structural diagram of a reader implementing Embodiment 1 of the radio frequency identification reading method of the present invention.

图1B所示为执行本发明射频识别应答方法具体实施例一的应答器的结构示意图。FIG. 1B is a schematic structural diagram of a transponder implementing Embodiment 1 of the radio frequency identification response method of the present invention.

图2为本发明射频识别阅读方法具体实施例一的流程图。FIG. 2 is a flow chart of Embodiment 1 of the radio frequency identification reading method of the present invention.

图3为本发明射频识别阅读方法具体实施例二的部分流程图。FIG. 3 is a partial flow chart of Embodiment 2 of the radio frequency identification reading method of the present invention.

图4为本发明射频识别应答方法具体实施例一的流程图。FIG. 4 is a flow chart of Embodiment 1 of the radio frequency identification response method of the present invention.

具体实施方式Detailed ways

本发明的基本思想是:所有应答器接收来自阅读器发送的具有一定长度的正交循环码和当前帧的帧长参数,每个应答器根据该正交循环码随机移相得到自己的正交扩频码,并根据该当前帧的帧长参数随机产生自己的帧时隙参数。该正交循环码的长度由阅读器根据射频场内应答器数量估计情况来控制,从而既保证每帧的碰撞识别,又降低了识别响应的耗时。应答器在对于阅读器的超高频信号进行二相键控或幅值键控等调制方式进行反射调制传送数据时,采用各自生成的正交扩频码序列对应答器需要发送的数据进行调制发送。阅读器在阅读识别时,本地产生所有移相得到的正交循环码序列,在接收到应答器发送的应答信号后,利用正交循环码序列优良的自相关性及互相关性能进行解扩处理,并根据解扩处理结果对应答器进行射频识别。本发明的射频识别阅读方法和应答方法均是基于采用“时隙ALOHA”帧接入的射频识别系统来实现的,“时隙ALOHA”协议规定,信道按时隙划分,每个时隙正好传送一个分组,数据分组到达后,必须等到下一个时隙才开始传送,分组间一旦发生碰撞将是百分之百的重叠,应答器在发送应答信号之前,首先会根据当前帧的帧长参数随机生成一个帧时隙参数,在帧时隙参数等于零时,发送应答信号,若帧时隙参数不等于零,则等待阅读器发送的再查询命令,接收到再查询命令之后,将帧时隙参数减1,直至帧时隙参数为零时再发送应答信号,即应答器会在当前帧的某个时隙中发送应答信号。上述的查询命令和查询调整命令的参数中通常包含帧长参数,即要启动查询的帧的帧长参数,可以为固定值,也可以根据具体情况重新设定。下面通过具体实施例详细说明本发明射频识别阅读方法和应答方法。The basic idea of the present invention is: all transponders receive the orthogonal cyclic code with a certain length and the frame length parameter of the current frame sent by the reader, and each transponder obtains its own orthogonal cyclic code by random phase shifting according to the orthogonal cyclic code. spread spectrum code, and randomly generate its own frame time slot parameters according to the frame length parameters of the current frame. The length of the orthogonal cyclic code is controlled by the reader according to the estimation of the number of transponders in the radio frequency field, so as to ensure the collision recognition of each frame and reduce the time consumption of recognition response. When the transponder performs reflection modulation on the UHF signal of the reader to transmit data by means of two-phase keying or amplitude keying, the data to be sent by the transponder is modulated by the respective generated orthogonal spread spectrum code sequences send. When reading and identifying, the reader locally generates all phase-shifted orthogonal cyclic code sequences, and after receiving the response signal sent by the transponder, uses the excellent autocorrelation and cross-correlation performance of the orthogonal cyclic code sequences to perform despreading processing , and perform radio frequency identification on the transponder according to the result of the despreading process. Both the radio frequency identification reading method and the response method of the present invention are realized based on the radio frequency identification system that adopts "time slot ALOHA" frame access. The "time slot ALOHA" protocol stipulates that channels are divided by time slots, and each time slot just transmits Packet, after the data packet arrives, it must wait until the next time slot to start transmitting. Once a collision occurs between the packets, it will be 100% overlapped. Before sending the response signal, the responder will first randomly generate a frame according to the frame length parameter of the current frame. Slot parameter, when the frame time slot parameter is equal to zero, send a response signal, if the frame time slot parameter is not equal to zero, wait for the re-query command sent by the reader, after receiving the re-query command, reduce the frame time slot parameter by 1 until the frame time slot parameter The response signal is sent when the time slot parameter is zero, that is, the responder will send a response signal in a certain time slot of the current frame. The parameters of the above query command and query adjustment command usually include a frame length parameter, that is, a frame length parameter of the frame to start query, which can be a fixed value or can be reset according to specific conditions. The radio frequency identification reading method and answering method of the present invention will be described in detail below through specific embodiments.

如图2所示为本发明射频识别阅读方法具体实施例一的流程图,实施例一中阅读器的结构示意图如图1A所示,实施例一的射频识别阅读方法具体包括如下步骤:As shown in Figure 2, it is a flowchart of a specific embodiment 1 of the radio frequency identification reading method of the present invention. The structural diagram of the reader in the first embodiment is shown in Figure 1A. The radio frequency identification reading method of the first embodiment specifically includes the following steps:

步骤110、将码长为M的正交循环码作为当前正交循环码设置在查询(以下称Query)命令的参数中,根据码长M确定移位值N,该移位值N为小于码长M的非负整数,即0≤N<M,而后发送该Query命令;其中,M是整数;Step 110, the orthogonal cyclic code that code length is M is set in the parameter of inquiry (hereinafter referred to as Query) order as current orthogonal cyclic code, determines shift value N according to code length M, and this shift value N is less than code A non-negative integer of length M, that is, 0≤N<M, and then send the Query command; where M is an integer;

步骤120、根据该当前正交循环码和移位值N产生正交解扩码;Step 120, generating an orthogonal despreading code according to the current orthogonal cyclic code and the shift value N;

步骤130、利用正交解扩码对已接收的一个或一个以上应答信号解扩处理,得到应答标识;Step 130, using an orthogonal despreading code to despread one or more received response signals to obtain a response identifier;

步骤140、发送包含应答标识的确认(以下称Ack)命令;Step 140, sending an acknowledgment (hereinafter referred to as Ack) command that includes the response identifier;

步骤150、判断当前帧是否结束,若是,则执行步骤160;Step 150, judging whether the current frame ends, if so, then execute step 160;

步骤160、发送查询调整(以下称AdjustQuery)命令,执行下一帧的识别。Step 160 , sending a query adjustment (hereinafter referred to as AdjustQuery) command to perform identification of the next frame.

实施例一中阅读器所采用的射频识别阅读方法,即阅读器工作状态机制,是一个循环的过程。The radio frequency identification reading method adopted by the reader in Embodiment 1, that is, the working state mechanism of the reader, is a cyclic process.

上述步骤110中,该Query命令的参数中包含有当前帧的帧长参数和码长为M的正交循环码。该正交循环码可以为预先设定好的一个正交循环码,适用于同时存在于射频场中的应答器数量较少的情况。其优选的另一种实施方式为预先设定好一组正交循环码,作为正交循环码集存储在阅读器中,在上述步骤110之前,还包括阅读器在正交循环码集中选定一个正交循环码的步骤,这种实施方式适应于射频场中应答器数量较大,需更换正交循环码的情况。上述正交循环码的码长为M,M的取值范围可以是8到128,可以选定不同码长的正交循环码,所以在阅读器正交循环码集中应包含多组不同位数的正交循环码。在进行第一次射频识别,无法估计射频场内应答器数量的时候,可以首先设定一个初值,如本实施例中将M值设定为32,阅读器将该M位正交循环码包含在阅读器Query命令的参数中发送,以启动一轮的射频识别。Query命令中所包含的当前帧的帧长参数以L表示,L的取值范围是2的K次幂,通常K的取值范围是4至9,本实施例中当前帧帧长初值设定为64。在步骤110中确定的移位值N是小于码长M的非负整数,初始值默认设置为M-1。In the above step 110, the parameters of the Query command include the frame length parameter of the current frame and an orthogonal cyclic code with a code length of M. The orthogonal cyclic code may be a pre-set orthogonal cyclic code, which is suitable for a situation where the number of transponders simultaneously existing in the radio frequency field is small. Another preferred embodiment is to pre-set a group of orthogonal cyclic codes and store them in the reader as an orthogonal cyclic code set. Before the above step 110, the reader also includes selecting A step of an orthogonal cyclic code, this embodiment is suitable for a situation where the number of transponders in the radio frequency field is relatively large and the orthogonal cyclic code needs to be replaced. The code length of the above-mentioned orthogonal cyclic code is M, and the value range of M can be 8 to 128, and the orthogonal cyclic code of different code length can be selected, so the orthogonal cyclic code set of the reader should contain multiple groups of different digits Orthogonal cyclic codes. When performing the first radio frequency identification and the number of transponders in the radio frequency field cannot be estimated, an initial value can be set first. For example, in this embodiment, the M value is set to 32, and the reader uses the M-bit orthogonal cyclic code Included in the parameters of the reader's Query command to start a round of RFID. The frame length parameter of the current frame included in the Query command is represented by L, and the value range of L is the K power of 2, and the value range of K is usually 4 to 9. In this embodiment, the frame length initial value of the current frame is set to Set to 64. The shift value N determined in step 110 is a non-negative integer smaller than the code length M, and the initial value is set to M-1 by default.

上述步骤120中,根据正交循环码和移位值N产生正交解扩码的步骤具体为:将M位的正交循环码进行N+1次循环移位,产生N+1个正交解扩码。In the above step 120, the step of generating the orthogonal despreading code according to the orthogonal cyclic code and the shift value N is specifically: performing N+1 cyclic shifts on the M-bit orthogonal cyclic code to generate N+1 orthogonal Despreading code.

上述步骤130中,若阅读器未接收到新的应答信号,说明射频识别范围内没有未识别的应答器,则该阅读流程结束,等待进入下一个射频识别阅读流程。若存在已接收到来识别的应答信号,则首先进行必要的处理,如载波解调的步骤,此为本领域技术人员的公知常识,不再赘述。该未识别的应答信号可以在产生正交扩频码前接收,也可以在其后接收,而后对应答信号进行解扩处理,解扩处理的具体实施方式是:采用N+1个正交解扩码对应答信号解扩处理,获得解扩结果;对该解扩结果进行数据解码,得到应答标识。In the above step 130, if the reader does not receive a new response signal, it means that there is no unidentified transponder within the radio frequency identification range, then the reading process ends, and it waits to enter the next radio frequency identification reading process. If there is an acknowledgment signal that has been received and identified, necessary processing, such as the step of carrier demodulation, is performed first, which is common knowledge of those skilled in the art and will not be repeated here. The unidentified response signal can be received before or after the generation of the orthogonal spreading code, and then the response signal is despread. The specific implementation of the despread process is: using N+1 orthogonal solutions The spreading code despreads the response signal to obtain a despreading result; data decoding is performed on the despreading result to obtain a response identifier.

此时,若没有发生碰撞,即没有两个或两个以上的应答器产生了同样的正交循环扩频码,并在同一个时隙内发送使用同样扩频码扩频调制的应答信号,阅读器就能识别所有的应答器的应答标识数据,若发生了碰撞,即有两个或两个以上的应答器产生了同样的正交循环扩频码,并在同一时隙内发送了扩频调制的应答信号,则由于正交循环码良好的自相关性和互相关性,阅读器仍然能够识别出其它所有未发生碰撞的应答器的标识数据。上述对解扩结果进行数据解码的步骤为对应答标识进行的其他数据调制所执行的解调步骤,例如密勒(以下称miller)数据解调。得到的应答标识,即为应答器的ID数据。At this time, if there is no collision, that is, no two or more transponders generate the same orthogonal cyclic spreading code, and send a response signal modulated with the same spreading code in the same time slot, The reader can identify the response identification data of all transponders. If a collision occurs, two or more transponders generate the same orthogonal cyclic spreading code and transmit the spreading code in the same time slot. If the frequency modulated response signal is used, the reader can still identify the identification data of all other transponders that have not collided due to the good autocorrelation and cross-correlation of the orthogonal cyclic code. The above-mentioned step of decoding the data of the despreading result is a demodulation step performed on other data modulations performed on the response identifier, such as Miller (hereinafter referred to as miller) data demodulation. The obtained response identifier is the ID data of the responder.

在步骤140中,阅读器对于所有已经识别的应答器逐一发送Ack命令,Ack命令中包含回应应答器的应答标识数据。In step 140, the reader sends an Ack command to all identified transponders one by one, and the Ack command includes response identification data of the responding transponders.

在上述实施例中,识别出应答器并进行确认之后,阅读器还可以进一步执行步骤1450,即获取采用应答信号的对应正交扩频码扩频调制的应用数据。可以通过以下步骤实现上述步骤1450:In the above embodiment, after the transponder is identified and confirmed, the reader may further perform step 1450, that is, acquire the application data spread-modulated by the corresponding orthogonal spreading code of the response signal. The above step 1450 can be realized through the following steps:

步骤1450a、阅读器发送不包含应答标识的读取(以下称Read)命令;Step 1450a, the reader sends a read (hereinafter referred to as Read) command that does not contain a response identifier;

步骤1450b、阅读器获取采用应答信号的对应正交扩频码扩频调制的应用数据。In step 1450b, the reader acquires the application data spread-modulated by the corresponding orthogonal spread-spectrum code of the response signal.

阅读器发送的Read命令参数中可以不包含指定应答器的应答标识数据,用于读取所有处于确认状态的应答器的应用数据,这种情况称为并行读取,Read命令参数中也可以包含指定应答器的应答标识数据,此时用于读取处于确认状态且与Read命令参数中应答标识数据相符的应答器的应用数据,阅读器改变参数中的应答标识数据就可以逐一读取不同的应答器数据,这种情况称为串行读取。应答器在收到读取命令之后,均采用前面发送应答标识时所采用的扩频码对应用数据进行扩频调制而后发送给阅读器。而后阅读器即可采用已产生的解扩码对应用数据进行解扩,并且进行后续的处理,或者发送给相应的计算机或控制装置。The Read command parameter sent by the reader may not contain the response identification data of the specified transponder, which is used to read the application data of all transponders in the confirmed state. This situation is called parallel reading, and the Read command parameter can also contain Specify the response identification data of the transponder. At this time, it is used to read the application data of the transponder that is in the confirmation state and matches the response identification data in the Read command parameter. The reader can read different response identification data one by one by changing the response identification data in the parameter. Transponder data, this case is called serial read. After the transponder receives the read command, it uses the spread spectrum code used when sending the response identifier to perform spread spectrum modulation on the application data and then sends it to the reader. Then the reader can use the generated despreading code to despread the application data, and perform subsequent processing, or send it to a corresponding computer or control device.

完成了一个时隙的识别确认之后,在步骤150中,阅读器判断当前帧是否结束,若未结束,则发送再查询(以下称ReQuery)命令,并执行步骤130,未识别到的应答器在下一时隙中继续进行识别;若当前帧已结束,但还存在因应答信号发生碰撞而未识别到的应答器,阅读器则发送包含下一帧的帧长参数的AdjustQuery命令,并执行步骤160,进入下一帧的识别,即应答器根据下一帧的帧长参数生成帧时隙参数,该帧长参数可以不变,也可以是更新的帧长参数,而后重复一个帧内的数据发送,继续执行步骤130,阅读器可接收在上一帧中发生碰撞的应答器再次发送的应答信号,直到所有应答器全部识别完。After completing the identification and confirmation of a time slot, in step 150, the reader judges whether the current frame ends, if not, then sends a re-inquiry (hereinafter referred to as ReQuery) command, and executes step 130, the unrecognized transponder is in the following Continue to identify in one time slot; if the current frame has ended, but there are still transponders that have not been identified because of the collision of the response signal, the reader then sends an AdjustQuery command that includes the frame length parameter of the next frame, and executes step 160, Enter the identification of the next frame, that is, the transponder generates the frame time slot parameter according to the frame length parameter of the next frame. The frame length parameter can be unchanged, or it can be an updated frame length parameter, and then repeat the data transmission in one frame. Continuing to execute step 130, the reader may receive the response signal sent again by the transponder that collided in the previous frame, until all transponders are identified.

上述射频识别阅读方法实施例一是基于时分和码分技术相结合的阅读方法,通过采用自相关性能和互相关性能良好的正交循环码作为扩频调制的原型码,可实现一个时隙内多个RFID应答器的并行识别,比单纯的基于“时隙ALOHA”帧的防碰撞方法减少了识别时间,可实现大量的RFID应答器的快速识别,在同一个时隙中采用码分复用方式,具有抗干扰性强,信噪比高,保密性较好,抗多径干扰能力强的优势,由于采用了正交循环码的自循环正交原理产生扩频序列,使得阅读设备的制造成本处在允许范围内,便于采用国内外主流的芯片技术实现。The first embodiment of the above-mentioned radio frequency identification reading method is a reading method based on the combination of time division and code division technology. By using an orthogonal cyclic code with good autocorrelation performance and cross-correlation performance as the prototype code of spread spectrum modulation, a time slot can be realized. The parallel identification of multiple RFID transponders reduces the identification time compared to the simple anti-collision method based on the "time slot ALOHA" frame, and can realize the rapid identification of a large number of RFID transponders, using code division multiplexing in the same time slot The method has the advantages of strong anti-interference, high signal-to-noise ratio, good confidentiality, and strong anti-multipath interference ability. Due to the use of the self-circulating orthogonal principle of the orthogonal cyclic code to generate the spread spectrum sequence, the manufacturing of the reading device The cost is within the allowable range, and it is easy to realize by adopting mainstream chip technology at home and abroad.

如图3所示为本发明射频识别阅读方法具体实施例二的部分流程图,具体包括如下步骤:As shown in Figure 3, it is a partial flow chart of the second embodiment of the radio frequency identification reading method of the present invention, which specifically includes the following steps:

步骤101、将码长为M的正交循环码和当前帧的帧长参数设置在Query命令的参数中,根据码长M确定移位值N,该移位值N为小于码长M的任意非负整数,将移位值N设置于Query命令的参数中,而后发送Query命令;Step 101, the orthogonal cyclic code that code length is M and the frame length parameter of current frame are set in the parameter of Query command, determine displacement value N according to code length M, and this displacement value N is less than code length M arbitrary Non-negative integer, set the shift value N in the parameter of the Query command, and then send the Query command;

步骤102、根据该正交循环码和移位值N产生正交解扩码;Step 102, generating an orthogonal despreading code according to the orthogonal cyclic code and the shift value N;

步骤103、利用正交解扩码对已接收的一个或一个以上应答信号解扩处理,得到应答标识;Step 103, using an orthogonal despreading code to despread one or more received response signals to obtain a response identifier;

步骤104、发送包含应答标识的Ack命令;Step 104, sending an Ack command including the response identifier;

步骤105、判断当前帧是否结束,若是,则执行步骤106;Step 105, judging whether the current frame ends, if so, then execute step 106;

步骤106、从正交循环码集中选定新的正交循环码,并从新确定移位值N,更新当前的正交循环码和移位值,并将其设置在AdjustQuery命令的参数中,而后发送包含新的正交循环码和移位值N的AdjustQuery命令,并执行步骤102。Step 106, select a new orthogonal cyclic code from the set of orthogonal cyclic codes, and re-determine the shift value N, update the current orthogonal cyclic code and the shift value, and set it in the parameters of the AdjustQuery command, and then Send the AdjustQuery command including the new orthogonal cyclic code and the shift value N, and execute step 102 .

上述实施例中可以首先计算未识别的应答器的数量,而后根据计算结果重新确定需更新的移位值N和正交循环码的码长M,Query命令和AdjustQuery命令参数中的帧长参数也可以根据计算结果进行确定。计算未识别出的应答器的数量,可以根据当前帧中接收到的应答信号数量和能识别出的应答标识数量,据此估算应答信号的碰撞率,进而估算未识别的应答器的数量。例如,在接收到的应答信号数量较多,但是能识别的应答标识数量较少时,可估算出碰撞率较高,即未识别出的应答器较多。或者根据当前帧的空时隙率估算是否还有尚未识别的应答器。若未识别的应答器数量较多,可以相应增加下一帧的帧长,可以增加正交循环码的码长M,还可以增加移位值N,若未识别应答器数量已较少,可以减少下一帧的帧长,可以减少正交循环码的码长M,还可以减少移位值N,从而减少执行一次帧识别的响应时间。帧长参数、正交循环码码长M和移位值N,可以同时调整这三个参数,也可以任意组合调整上述三个参数,根据具体情况来确定。In the above embodiment, the number of unidentified transponders can be calculated at first, and then the shift value N to be updated and the code length M of the orthogonal cyclic code can be re-determined according to the calculation result, and the frame length parameter in the Query command and the AdjustQuery command parameter is also It can be determined according to the calculation result. To calculate the number of unidentified transponders, the collision rate of the response signals can be estimated according to the number of response signals received in the current frame and the number of identifiable response identifiers, and then the number of unidentified transponders can be estimated. For example, when the number of received response signals is large but the number of identifiable response identifiers is small, it can be estimated that the collision rate is relatively high, that is, there are many unrecognized transponders. Or estimate whether there are unidentified transponders according to the empty slot ratio of the current frame. If the number of unrecognized transponders is large, the frame length of the next frame can be increased accordingly, the code length M of the orthogonal cyclic code can be increased, and the shift value N can also be increased. If the number of unidentified transponders is already small, you can Reducing the frame length of the next frame can reduce the code length M of the orthogonal cyclic code, and can also reduce the shift value N, thereby reducing the response time for performing a frame recognition. The frame length parameter, the code length M of the orthogonal cyclic code, and the shift value N can be adjusted at the same time, or can be adjusted in any combination, and determined according to specific conditions.

在本实施例中,阅读器发送AdjustQuery命令相当于又启动了下一帧的识别,所以可以选定一个新的正交循环码,将上一帧中采用的正交循环码更新。选取新的正交循环码也可以进一步根据未识别出的应答器数量的估算结果设定新正交循环码的长度。阅读器中可以预先按照码长位数存储多种长度的正交循环码集,若未识别的应答器数量较多,则可以选择长度较大的正交循环码,能够产生较多的正交扩频码,供应答器使用,若未识别应答器数量已较少,则可以选择长度较小的正交循环码,则阅读器在解扩时,不必产生过多的正交扩频码,也不必执行过多的解扩处理,可以减小解扩响应时间。通过对正交循环码位数的控制,同样可以减少识别的响应时间。In this embodiment, sending the AdjustQuery command by the reader is equivalent to starting the identification of the next frame, so a new orthogonal cyclic code can be selected to update the orthogonal cyclic code used in the previous frame. Selecting a new orthogonal cyclic code may further set the length of the new orthogonal cyclic code according to the estimation result of the number of unidentified transponders. The reader can store orthogonal cyclic code sets of various lengths in advance according to the number of code length digits. If there are a large number of unidentified transponders, the orthogonal cyclic code with a larger length can be selected to generate more orthogonal codes. Spreading codes are used by transponders. If the number of unidentified transponders is small, you can choose an orthogonal cyclic code with a smaller length, so that the reader does not need to generate too many orthogonal spreading codes when despreading. It is also unnecessary to perform excessive despreading processing, and the despreading response time can be reduced. By controlling the number of orthogonal cyclic codes, the response time of recognition can also be reduced.

本发明阅读方法实施例二,阅读器利用上述AdjustQuery命令,根据射频场内尚未识别应答器数量的多少来即时调整正交循环码的码长、“时隙ALOHA”帧的帧长参数和移位值N,从而根据情况改变数据传输速率及每帧工作时隙数,最终调整了总的识别时间,适合不同的特定应用场合。Embodiment 2 of the reading method of the present invention, the reader uses the above-mentioned AdjustQuery command to instantly adjust the code length of the orthogonal cyclic code, the frame length parameter and the shift of the "time slot ALOHA" frame according to the number of unidentified transponders in the radio frequency field Value N, so as to change the data transmission rate and the number of working time slots per frame according to the situation, and finally adjust the total recognition time, suitable for different specific applications.

如图4所示为本发明射频识别应答方法具体实施例一的流程图,主要为已实现“时隙ALOHA”帧接入的射频识别系统中的应答器所采用的应答方法,应答器的结构示意图如图1B所示,该方法具体包括如下步骤:As shown in Figure 4, it is a flowchart of a specific embodiment of the radio frequency identification response method of the present invention, mainly the response method adopted by the transponder in the radio frequency identification system that has realized the "time slot ALOHA" frame access, and the structure of the transponder The schematic diagram is shown in Figure 1B, and the method specifically includes the following steps:

步骤210、接收包含码长为M的正交循环码的Query命令;其中,M是正整数;Step 210, receiving a Query command comprising an orthogonal cyclic code with a code length of M; wherein, M is a positive integer;

步骤220、根据正交循环码产生正交扩频码,采用正交扩频码对应答标识进行扩频调制,产生应答信号;Step 220: Generate an orthogonal spread spectrum code according to the orthogonal cyclic code, and use the orthogonal spread spectrum code to perform spread spectrum modulation on the response identifier to generate a response signal;

步骤230、发送该应答信号;Step 230, sending the response signal;

步骤240、判断是否接收到Ack命令,若是,则进入确认状态,否则执行步骤250;Step 240, judging whether the Ack command is received, if so, enter the confirmation state, otherwise execute step 250;

步骤250、判断是否接收到AdjustQuery命令,若是,则执行下一帧的识别Step 250, judge whether to receive the AdjustQuery command, if so, then perform the identification of the next frame

上述步骤210中,查询命令中可以不包含移位值N,则应答器根据正交循环码的码长M默认移位值N等于M-1,或者应答器可以判断查询命令中是否包含移位值N,若没有移位值N,则根据正交循环码的码长M默认移位值N等于M-1,否则采用该移位值N。In the above step 210, the query command may not include the shift value N, and the responder defaults the shift value N to M-1 according to the code length M of the orthogonal cyclic code, or the responder may determine whether the query command includes a shift value Value N, if there is no shift value N, the default shift value N is equal to M-1 according to the code length M of the orthogonal cyclic code, otherwise the shift value N is adopted.

上述步骤220中,应答器根据接收到的正交循环码产生正交扩频码的具体实现方式是:应答器根据移位值N确定移位偏移量RN_m,该移位偏移量RN_m为小于或等于移位值N的非负整数,将接收到的M位正交循环码作为原型扩频码,移动RN_m位,产生应答器自己的正交扩频码。或者应答器也可以随机产生一个整数对正交循环码进行移位,得到扩频码。In the above-mentioned step 220, the specific implementation of the transponder generating the orthogonal spread spectrum code according to the received orthogonal cyclic code is: the transponder determines the shift offset RN_m according to the shift value N, and the shift offset RN_m is A non-negative integer less than or equal to the shift value N, using the received M-bit orthogonal cyclic code as a prototype spreading code, and shifting RN_m bits to generate the transponder's own orthogonal spreading code. Alternatively, the responder can also randomly generate an integer to shift the orthogonal cyclic code to obtain the spreading code.

另外,在步骤220中应答器对应答标识进行扩频调制之前还可进一步包括对应答标识进行密勒编码调制的步骤,而后应答器再对调制后的应答标识进行扩频调制,产生应答信号,先对应答标识进行密勒编码调制的目的是使得数据成为有利于碰撞检测的双极性码。In addition, in step 220, before the transponder performs spread-spectrum modulation on the response identifier, it may further include the step of performing Miller code modulation on the response identifier, and then the responder performs spread-spectrum modulation on the modulated response identifier to generate a response signal, The purpose of first performing Miller code modulation on the response mark is to make the data a bipolar code that is beneficial to collision detection.

上述步骤230发送该应答信号的步骤,在已实现“时隙ALOHA”的射频识别系统中,Query命令和AdjustQuery命令均包括所启动查询帧的帧长参数,具体实现方式是:The step of sending the response signal in the above-mentioned step 230, in the radio frequency identification system that has realized "time slot ALOHA", both the Query command and the AdjustQuery command include the frame length parameter of the started query frame, and the specific implementation method is:

步骤230a、根据当前帧的帧长参数产生帧时隙参数;Step 230a, generating frame time slot parameters according to the frame length parameters of the current frame;

步骤230b、判断帧时隙参数是否等于0,若是,则执行步骤230d,否则执行步骤230c;Step 230b, judge whether the frame time slot parameter is equal to 0, if so, then execute step 230d, otherwise execute step 230c;

步骤230c、判断是否收到Requery命令,若是,则将帧时隙参数减1,并执行步骤230b,否则执行步骤250;Step 230c, judge whether to receive Requery command, if so, then frame time slot parameter is subtracted 1, and execute step 230b, otherwise execute step 250;

步骤230d、发送应答信号。Step 230d, sending a response signal.

上述帧时隙参数为“时隙ALOHA”帧时隙随机数,帧时隙参数大小在(0,L-1)范围内,其中L代表“时隙ALOHA”协议的一帧长,即Query命令参数和AdujustQuery命令中包含的帧长参数,帧时隙参数用于在ALOHA协议的一帧中随机选择一时隙用于发送数据。上述步骤230c中,ReQuery命令即为启动再次查询的命令,应答器接收到该命令后,即调整应答器的发送状态,将帧时隙参数减1,并继续判断是否满足在当前时隙发送应答信号。The above-mentioned frame time slot parameter is the random number of the "time slot ALOHA" frame time slot, and the size of the frame time slot parameter is in the range of (0, L-1), wherein L represents the frame length of the "time slot ALOHA" protocol, that is, the Query command parameter and the frame length parameter included in the AdjustQuery command, and the frame time slot parameter is used to randomly select a time slot in a frame of the ALOHA protocol for sending data. In the above step 230c, the ReQuery command is the command to start the query again. After the responder receives the command, it adjusts the sending state of the responder, reduces the frame time slot parameter by 1, and continues to judge whether it is satisfied to send the response in the current time slot. Signal.

上述步骤230中,应答器发送应答信号的过程中,还对应答信号进行必要的处理,如载波调制,以便发送,此为本领域技术人员的公知常识,在此不再赘述。In the above step 230, during the process of sending the response signal, the transponder also performs necessary processing on the response signal, such as carrier modulation, for transmission. This is common knowledge of those skilled in the art and will not be repeated here.

上述步骤240中,应答器进入确认状态后,表示已成功被阅读器识别,可以不再接受防碰撞的识别,而进行后续的数据交换,所以可包括如下步骤:In the above step 240, after the transponder enters the confirmation state, it means that it has been successfully recognized by the reader, and it can no longer accept the anti-collision recognition, and perform subsequent data exchange, so the following steps can be included:

步骤240a、应答器接收Read命令,判断是否包含应答标识,若是,则执行步骤240b,否则执行步骤240c;Step 240a, the responder receives the Read command, and judges whether the response identifier is included, and if so, executes step 240b, otherwise executes step 240c;

步骤240b、应答器判断该应答标识是否与自身的应答标识一致,若是,则执行步骤240c;Step 240b, the responder judges whether the response identifier is consistent with its own response identifier, and if so, executes step 240c;

步骤240c、应答器采用已产生的正交扩频码调制自身需要发送的应用数据,而后发送。In step 240c, the transponder uses the generated orthogonal spread spectrum code to modulate the application data to be sent, and then sends it.

上述步骤250中,AdjustQuery命令作为启动再次查询的命令,包含下一帧的帧长参数,可调整应答器的发送状态,即调整当前帧的帧长参数,从新生成帧时隙参数,进行下一帧的识别,即继续执行步骤230。但是,若应答器进入等待状态后,未接收到AdjustQuery命令,则始终处于等待状态,可能会收到新一轮射频识别的Query命令,包含正交循环码和当前帧的帧长参数,则应答器进入了新一轮的射频识别中。In the above-mentioned step 250, the AdjustQuery command is used as a command to start querying again, and includes the frame length parameter of the next frame, which can adjust the sending state of the transponder, that is, adjust the frame length parameter of the current frame, regenerate the frame time slot parameter, and perform the next step. Frame identification, ie continue to execute step 230 . However, if the transponder enters the waiting state and does not receive the AdjustQuery command, it will always be in the waiting state, and may receive a new round of RFID Query commands, including the orthogonal cyclic code and the frame length parameter of the current frame, then reply The device has entered a new round of radio frequency identification.

本发明射频识别应答方法具体实施例一的优点是通过采用自相关性能和互相关性能良好的正交循环码作为扩频调制的原型码,实现了多个RFID射频识别应答器的并行识别,比单纯的基于“时隙ALOHA”帧的防碰撞方法减少了识别时间,可实现大量的RFID应答器的快速识别,由于本发明采用了正交循环码的自循环正交原理产生扩频序列,使得应答器的制造成本处在允许范围内,便于采用国内外主流的芯片技术实现。并且,本发明应答方法根据接收到的AdjustQuery命令,更新了当前帧的帧长,可以适应识别情况,调整了应答器循环等待随机确定的时隙而发送数据的时间。The advantage of the first embodiment of the radio frequency identification response method of the present invention is that by using an orthogonal cyclic code with good autocorrelation performance and cross correlation performance as the prototype code of the spread spectrum modulation, the parallel identification of multiple RFID radio frequency identification transponders is realized. The simple anti-collision method based on the "time slot ALOHA" frame reduces the identification time and can realize the rapid identification of a large number of RFID transponders. Since the present invention adopts the self-circulation orthogonal principle of the orthogonal cyclic code to generate the spread spectrum sequence, the The manufacturing cost of the transponder is within the allowable range, which is easy to realize by adopting mainstream chip technology at home and abroad. Moreover, the response method of the present invention updates the frame length of the current frame according to the received AdjustQuery command, can adapt to the identification situation, and adjusts the time for the responder to wait for a randomly determined time slot cyclically to send data.

本发明射频识别应答方法具体实施例二,与应答方法实施例一的流程大致相同,区别在于步骤250具体为:应答器判断是否收到参数中包含新正交循环码、下一帧的帧长参数和移位值N的AdjustQuery命令,若是,则以该新正交循环码和移位值N更新之前采用的正交循环码和移位值N,以下一帧的帧长参数更新当前帧的帧长参数,并执行步骤220,重新产生移位偏移量RN_m,从产生新的正交扩频码,若没有包含新的正交循环码和移位值N,则直接执行步骤230,应用原有的正交扩频码,扩频调制应答标识,而后发送,进入下一帧的识别。上述AdjustQuery命令参数中可以包含正交循环码、移位值N和帧长参数的任意组合,应答器根据该参数中的数据更新当前所采用的正交循环码和/或移位值N和/或帧长参数。The second embodiment of the radio frequency identification response method of the present invention is roughly the same as the first embodiment of the response method, the difference is that step 250 is specifically: the responder judges whether the received parameters include the new orthogonal cyclic code and the frame length of the next frame parameter and shift value N of the AdjustQuery command, if so, update the previously adopted orthogonal cyclic code and shift value N with the new orthogonal cyclic code and shift value N, and update the current frame with the frame length parameter of the next frame Frame length parameter, and execute step 220, regenerate shift offset RN_m, from generating new orthogonal spread spectrum code, if not including new orthogonal cyclic code and shift value N, then directly execute step 230, apply The original orthogonal spread spectrum code, spread spectrum modulates the response identifier, and then sends it to enter the identification of the next frame. The parameters of the above AdjustQuery command may contain any combination of orthogonal cyclic code, shift value N and frame length parameters, and the responder updates the current orthogonal cyclic code and/or shift value N and/or or the frame length parameter.

上述实施例的优点在于:应答器所接收的AdjustQuery命令中不仅包含帧长参数,还包含新的正交循环码和移位值N,该正交循环码的长度是阅读器根据具体情况进行设定的,能够调整整个识别过程的耗时。The advantage of the above embodiment is that: the AdjustQuery command received by the transponder not only includes the frame length parameter, but also includes a new orthogonal cyclic code and a shift value N, and the length of the orthogonal cyclic code is set by the reader according to specific conditions. Certainly, the time consumption of the whole recognition process can be adjusted.

最后所应说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention without limitation. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be The scheme shall be modified or equivalently replaced without departing from the spirit and scope of the technical scheme of the present invention.

Claims (7)

1.一种射频识别阅读方法,包括如下步骤:1. A radio frequency identification reading method, comprising the steps of: 步骤11、阅读器将码长为M的正交循环码作为当前正交循环码设置在查询命令的参数中,根据码长M确定移位值N,所述移位值N为小于所述码长M的非负整数,并将移位值N设置在所述查询命令的参数中,发送所述查询命令;其中,M是正整数;Step 11, the reader sets the orthogonal cyclic code with code length M as the current orthogonal cyclic code in the parameter of the query command, and determines the shift value N according to the code length M, and the shift value N is less than the code length A non-negative integer of length M, and the shift value N is set in the parameter of the query command, and the query command is sent; wherein, M is a positive integer; 步骤12、阅读器根据所述当前正交循环码和所述移位值N产生正交解扩码;Step 12, the reader generates an orthogonal despreading code according to the current orthogonal cyclic code and the shift value N; 步骤13、阅读器利用所述正交解扩码对已接收的一个或一个以上应答信号解扩处理,得到应答标识;Step 13, the reader uses the orthogonal despreading code to despread the received one or more response signals to obtain a response identifier; 步骤14、阅读器发送包含所述应答标识的确认命令;Step 14, the reader sends an acknowledgment command including the response identifier; 步骤15、阅读器判断当前帧是否结束,若是,则执行步骤16;Step 15, the reader judges whether the current frame is over, and if so, executes step 16; 步骤16、阅读器重新确定当前正交循环码和/或重新确定移位值N,并将其设置在所述查询调整命令的参数中,发送所述查询调整命令,并执行步骤12。Step 16, the reader re-determines the current orthogonal cyclic code and/or re-determines the shift value N, and sets it in the parameter of the query adjustment command, sends the query adjustment command, and executes step 12. 2.根据权利要求1所述的射频识别阅读方法,其特征在于:所述确定移位值N的步骤具体为:阅读器计算未识别出的应答器的数量,根据计算结果确定移位值N;或者确定移位值N等于M-1。2. The radio frequency identification reading method according to claim 1, characterized in that: the step of determining the shift value N is specifically: the reader calculates the number of unidentified transponders, and determines the shift value N according to the calculation result ; Or determine that the shift value N is equal to M-1. 3.根据权利要求1所述的射频识别的阅读方法,其特征在于,还包括:阅读器计算未识别出的应答器的数量,并根据计算结果确定所述正交循环码的码长M,从正交循环码集中选定正交循环码。3. The reading method of radio frequency identification according to claim 1, is characterized in that, also comprises: the reader calculates the quantity of unrecognized transponders, and determines the code length M of described orthogonal cyclic code according to calculation result, Orthogonal cyclic codes are selected from the set of orthogonal cyclic codes. 4.根据权利要求1所述的射频识别阅读方法,其特征在于:还包括阅读器计算未识别出的应答器的数量,并根据计算结果重新确定查询命令或查询调整命令参数中的帧长参数。4. The radio frequency identification reading method according to claim 1, characterized in that: the reader also calculates the number of unidentified transponders, and re-determines the frame length parameter in the query command or query adjustment command parameter according to the calculation result . 5.一种射频识别应答方法,包括如下步骤:5. A radio frequency identification answering method, comprising the steps of: 步骤21、应答器接收包含码长为M的正交循环码的查询命令,其中,M是正整数,判断所述查询命令中是否包含移位值N,若否,则根据码长M确定移位值N等于M-1,其中,N是非负整数;Step 21, the responder receives an inquiry command containing an orthogonal cyclic code with a code length of M, wherein M is a positive integer, and judges whether the inquiry command includes a shift value N, if not, then determines the shift according to the code length M The value N is equal to M-1, where N is a non-negative integer; 步骤22、应答器根据所述正交循环码产生正交扩频码,采用正交扩频码对应答标识进行扩频调制,产生应答信号;Step 22, the transponder generates an orthogonal spread spectrum code according to the orthogonal cyclic code, and uses the orthogonal spread spectrum code to perform spread spectrum modulation on the response identifier to generate a response signal; 步骤23、应答器发送所述应答信号;Step 23, the responder sends the response signal; 步骤24、应答器判断是否接收到确认命令,若是,则进入确认状态,否则执行步骤25;Step 24, the transponder judges whether the confirmation command is received, if so, enters the confirmation state, otherwise executes step 25; 步骤25、应答器判断是否接收到查询调整命令,若是,则执行下一帧的识别。Step 25, the transponder judges whether the query adjustment command is received, and if so, executes identification of the next frame. 6.根据权利要求5所述的射频识别应答方法,其特征在于:所述步骤25中执行下一帧的识别具体为:应答器判断所述查询调整命令中是否包含正交循环码和/或移位值N,若是,则以所述查询调整命令中的正交循环码和/或移位值N更新当前使用的正交循环码和/或移位值N,并执行步骤22,若均未包含,则执行步骤23。6. The radio frequency identification response method according to claim 5, characterized in that: performing the identification of the next frame in the step 25 is specifically: the responder judges whether the query adjustment command includes an orthogonal cyclic code and/or Shift value N, if so, update the currently used orthogonal cyclic code and/or shift value N with the orthogonal cyclic code and/or shift value N in the query adjustment command, and perform step 22, if both If not, go to step 23. 7.根据权利要求5所述的射频识别应答方法,其特征在于:所述步骤25还包括:应答器根据查询调整命令的参数中的帧长参数更新当前帧的帧长参数。7. The radio frequency identification response method according to claim 5, wherein the step 25 further comprises: the responder updates the frame length parameter of the current frame according to the frame length parameter in the parameters of the query adjustment command.
CN2007101453649A 2007-07-26 2007-09-11 RFID reading method and answering method Expired - Fee Related CN101281587B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101453649A CN101281587B (en) 2007-07-26 2007-09-11 RFID reading method and answering method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN200710119567 2007-07-26
CN200710119567.0 2007-07-26
CN2007101453649A CN101281587B (en) 2007-07-26 2007-09-11 RFID reading method and answering method

Publications (2)

Publication Number Publication Date
CN101281587A CN101281587A (en) 2008-10-08
CN101281587B true CN101281587B (en) 2010-06-09

Family

ID=40014048

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101453649A Expired - Fee Related CN101281587B (en) 2007-07-26 2007-09-11 RFID reading method and answering method

Country Status (1)

Country Link
CN (1) CN101281587B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2954550A1 (en) * 2009-12-23 2011-06-24 Commissariat Energie Atomique PROTECTION METHOD IN CONTACTLESS RADIO FREQUENCY COMMUNICATION
CN102254130B (en) * 2010-05-21 2013-12-18 刘礼白 Direct sequence spread spectrum-based radio frequency identification parallel response time domain dispersion method
CN103577784B (en) * 2013-11-25 2016-07-06 电子科技大学 Active RFID reader collision-proof method and system based on multi-radio
CN104753835B (en) * 2015-01-23 2019-05-31 北京信息科技大学 A kind of channel parameter estimation implementation method of the fragment adjustment of the more receiving antennas of reader
CN106503603B (en) * 2016-11-08 2019-03-29 湖南大学 A kind of more reader RFID system fast tag recognition methods divided based on time slot
CN111127712B (en) * 2019-12-26 2022-04-29 重庆集诚汽车电子有限责任公司 Intelligent key automatic learning method based on PEPS controller
CN112001460B (en) * 2020-07-16 2022-04-01 中国科学院微电子研究所 Signal processing method and device and RFID system
CN118119020A (en) * 2022-11-30 2024-05-31 华为技术有限公司 A communication method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1776705A (en) * 2005-11-29 2006-05-24 东南大学 A Method of Improving Throughput of Radio Frequency Identification System
CN1928884A (en) * 2006-09-22 2007-03-14 东南大学 Multi-address switch-in anti-collision method implemented in circuit shift method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1776705A (en) * 2005-11-29 2006-05-24 东南大学 A Method of Improving Throughput of Radio Frequency Identification System
CN1928884A (en) * 2006-09-22 2007-03-14 东南大学 Multi-address switch-in anti-collision method implemented in circuit shift method

Also Published As

Publication number Publication date
CN101281587A (en) 2008-10-08

Similar Documents

Publication Publication Date Title
CN101281587B (en) RFID reading method and answering method
US8754749B2 (en) RFID tags with CDMA communication capabilities
CN104683988B (en) Wireless communication device
CN103514464A (en) RFID multi-label read-write identification method and device based on multiple channels
US20060290508A1 (en) Reader, tags, radio frequency identification (RFID) system, and method thereof
CN103500348B (en) Enhanced RFID communication method
CN103577784B (en) Active RFID reader collision-proof method and system based on multi-radio
WO2009117604A1 (en) Range extension and multiple access in modulated backscatter systems
CN103117770A (en) Multi-label anticollision method in RFID (radio frequency identification) system
CN100524335C (en) Multi-address switch-in anti-collision method implemented in circuit shift method
US8767699B2 (en) Apparatus and method for transmitting packet data in wireless sensor network
CN105447430B (en) A kind of label and the method using the HARN protocol identifications label
CN105117744B (en) A kind of method that self-organized network communication is carried out using ultrahigh frequency radio frequency identification (RFID) reader
CN100498818C (en) Radio frequency recognition system parallel recognition method
US20100201492A1 (en) RFID communication method and system
Wang et al. Fast anti-collision algorithms in rfid systems
US20020114307A1 (en) Method and configuration for wireless information transmission and information system for a machine exhibiting a multiplicity of sensors and/or actuators
Shakiba et al. Fitted dynamic framed slotted ALOHA anti-collision algorithm in RFID systems
Maselli et al. Dynamic tag estimation for optimizing tree slotted aloha in RFID networks
CN104853356A (en) NFC (Near Field Communication) system intelligent recognition method
CN103605945B (en) Active RFID collision-proof method based on DSSS
Liang et al. Using dynamic slots collision tracking tree technique towards an efficient tag anti-collision algorithm in RFID systems
Leonardo et al. p-Persistent CSMA as a collision resolution protocol for active RFID environments
WO2022193189A1 (en) Signal transmission method and apparatus
Lee et al. An enhanced dynamic framed slotted ALOHA anti-collision algorithm

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100609

Termination date: 20110911