AU2011253949B2 - Truncation, compression and encryption of RFID tag communications - Google Patents

Truncation, compression and encryption of RFID tag communications Download PDF

Info

Publication number
AU2011253949B2
AU2011253949B2 AU2011253949A AU2011253949A AU2011253949B2 AU 2011253949 B2 AU2011253949 B2 AU 2011253949B2 AU 2011253949 A AU2011253949 A AU 2011253949A AU 2011253949 A AU2011253949 A AU 2011253949A AU 2011253949 B2 AU2011253949 B2 AU 2011253949B2
Authority
AU
Australia
Prior art keywords
tag
bits
data
command
rfid
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.)
Active
Application number
AU2011253949A
Other versions
AU2011253949A1 (en
Inventor
Anne Schuessler
Frederick Schuessler
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.)
Symbol Technologies LLC
Original Assignee
Symbol Technologies LLC
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
Priority claimed from AU2006297266A external-priority patent/AU2006297266A1/en
Application filed by Symbol Technologies LLC filed Critical Symbol Technologies LLC
Priority to AU2011253949A priority Critical patent/AU2011253949B2/en
Publication of AU2011253949A1 publication Critical patent/AU2011253949A1/en
Application granted granted Critical
Publication of AU2011253949B2 publication Critical patent/AU2011253949B2/en
Assigned to SYMBOL TECHNOLOGIES, LLC. reassignment SYMBOL TECHNOLOGIES, LLC. Request to Amend Deed and Register Assignors: SYMBOL TECHNOLOGIES, INC.
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

TRUNCATION, COMPRESSION, AND ENCRYPTION OF RFID TAG COMMUNICATIONS Methods, systems, and apparatuses for RFID tags, RFID readers, communications s algorithms, and RFID-related applications are described herein. In an aspect of the invention, an RFID tag is capable of storing data, receiving a signal from a reader, determining a response taking into account the tag mode and the data, and transmitting a response to the reader. The data includes a first plurality of bits and a second plurality of bits. The tag mode may be set by a current or a prior command by the reader. Depending to on the tag mode, the response may be complete, or the second plurality of bits may be truncated, compressed, or encrypted. In an aspect of the invention, the response includes an implicit indication of whether the response is complete, truncated, encrypted, or compressed.; In another aspect of the invention, a command from the reader indicates how many bits should be truncated, compressed, or encrypted.

Description

S&F Ref: 849530D1 AUSTRALIA PATENTS ACT 1990 COMPLETE SPECIFICATION FOR A STANDARD PATENT Name and Address Symbol Technologies, Inc., of One Symbol Plaza, of Applicant: Holtsville, New York, 11742, United States of America Actual Inventor(s): Frederick Schuessler Anne Schuessler Address for Service: Spruson & Ferguson St Martins Tower Level 35 31 Market Street Sydney NSW 2000 (CCN 3710000177) Invention Title: Truncation, compression, and encryption of RFID tag communications The following statement is a full description of this invention, including the best method of performing it known to me/us: 5845c(5824552_1) TRUNCATION, COMPRESSION, AND ENCRYPTION OF RFID TAG COMMUNICATIONS BACKGROUND OF THE INVENTION Field of the Invention [0001] The invention relates to radio frequency identification (RFD)) technology, and in particular, to communications with RFID tags. Background Art [0002] Radio frequency identification (RFID) tags are electronic devices that may be affixed to items whose presence is to be detected and/or monitored. The presence of an RFID tag, and therefore the presence of the item to which the tag is affixed, may be checked and monitored wirelessly by devices known as "readers." Readers typically have one or more antennas transmitting radio frequency signals to which tags respond. Because the reader "interrogates" RFID tags, and receives signals back from the tags in response to the interrogation, the reader is sometimes termed as "reader interrogator" or simply "interrogator" or "reader." [00031 With the maturation of RFID technology, efficient communication between tags and readers has become a key enabler in supply chain management, especially in manufacturing, shipping, and retail industries, as well as in building security installations, healthcare facilities, libraries, airports, warehouses, etc. [0004] One of the most significant concerns of RFID system design is the optimization of tag throughput rates. The number of tags successfully processed per second has a direct impact on the feasibility of RFID in many applications. When interrogating a large population of tags, some of the most important parameters are the bit data rate of the tag-to-reader channel, the ability of the protocol to minimize collisions, and the amount of data to be transferred from each tag. For a given bit rate and protocol, an implementation that minimizes the amount of over-the-air data transfer will have a distinct competitive advantage. Some of the data transfer is "overhead" (polling, I - -2 acknowledging, select commands, etc), but a large percentage is a tag's "payload," such as the serialized EPC number in retail tags. Of that payload, a large and growing percentage is devoted to the serialization portion which is unique down to each actual item. Item-level uniqueness is one of RFID's major advantages over bar coding, and many new REID applications will undoubtedly make good use of this capability. Being able to track item-level uniqueness also raises both security and privacy issues. From an implementation standpoint, encryption resembles compression but without a decrease in size. [0005] However, many instances of current inventory practice tend to ignore serial numbers, and track only down to Stock Keeping Units (SKUs) or the equivalent. For this and many other current and future RFID applications, the serial number portion of each tag's identifier (sometimes called ID) is "thrown away," but the communication of this unused data from every tag within range of the reader still uses up a significant portion of the air interface bandwidth. [00061 For example, in current practice when 96-bit EPC Generation 2 (Gen 2) data specification tags are used for identifying individual cases on a pallet, each tag encodes a "sGTIN-96" identifier. For that identifier, almost 40% of the payload bits are devoted to the serial-number portion. The serial number portion is not needed in many inventory applications, and is discarded. This inefficiency may significantly worsen in future practice. In the near future, tags will use the full-capacity "sGTIN-198" version of the identifier. In this case, nearly 71% of the payload is devoted to serialization. [00071 In other applications, the serial number information is needed and thus is not discarded. However, the number of transmitted bits of serialization data defined in the Gen 2 protocol was optimized for simplicity, not speed. For example, the alphanumeric data in an sGTIN-198 identifier is represented and transmitted at seven bits per character. More complex but more bit-efficient encoding schemes are known in the art, such as the "ISO 646 Encodation Mode" of the EAN.UCC Composite symbology. This mode supports the full character set in the serial number, but it uses only needs four bits per decimal -3 digit, and seven bits per alphabetic character. More bits are needed only for the rarely-used punctuation characters. [00081 A need for reducing the transmitted payload is present. In the current EPC Gen 2 case, once a reader has transmitted a selection mask, so that, for example, only tags whose EPC begins with "11010" are allowed to reply, then the transmitted tag replies do not need to include the initial "11010" because the reader already knows that all valid replies will begin with the selected bit pattern. Thus, the EPC Gen 2 spec provides an explicit reader command to the tags to truncate their replies by leaving off the known leading portion of their identifier, thus reducing transmission times. The truncated reply still includes the CRC-16 as calculated over the entire ID, and the reader must prepend the known leading bits to the actually-transmitted bits in order to validate the transmission. [0009] Thus there exists a need to reduce the amount of bits transmitted by tags during RFID communications while still maintaining compatibility with RFID communications standards. BRIEF SUMMARY OF THE INVENTION [0010] Methods, systems, and apparatuses for RFID tags, RFID readers, communications algorithms, and RFID-related applications are described herein. [0011] In an aspect of the invention, an RFID tag is capable of storing data, receiving a signal from a reader, determining a response taking into account the tag mode and the data, and transmitting a response to the reader. The data includes a first plurality of bits and a second plurality of bits. The tag mode may be set by a current or a prior command by the reader. Depending on the tag mode, the response may be complete (i.e., an unaltered response), or the second plurality of bits may be altered, such as truncated, compressed, or encrypted. In an aspect of the invention, the response includes an implicit indication of whether the response is complete or altered. In another aspect of -4 the invention, a command from the reader indicates how many bits should be altered. [00121 In an aspect of the invention, the reader is capable of explicit commands to change tag mode, and the tag is capable of complying with the explicit commands. In another aspect of the invention, the reader is capable of implicit commands to change tag mode, and the tag is capable of complying with the implicit commands. [00131 In an aspect of the invention, the tag is capable of providing the complete or altered (e.g., truncated, compressed, or encrypted) responses to reader commands until it receives a signal having a command to change to another mode. In an aspect of the invention, the tag is capable of changing to another mode without any command to do so, such as in an implicit fashion. [0014] In an aspect of the invention, the tag passes compliance testing for a tag data standard. In another aspect of the invention, the reader passes compliance testing for a tag data standard. [0015] In another aspect of the invention, the tags contain logic which calculates the truncation, compression, or encryption as appropriate. In another aspect of the invention, these tags contain storage to store the altered response(s). [0016] In an aspect of the invention, a method is used by the tags to examine a received signal, determine whether to change tag mode, examine the stored data comprising a first and second pluralities of bits, and assemble a response based on the mode and the stored data. The response may be complete or altered depending on the tag mode. [00171 In an aspect of the invention, the method includes responding to an implicit command to change mode from the reader. In another aspect, the tag responds to an explicit command to change mode from the reader. In an aspect of the invention, the command (explicit or implicit) includes an indication of how many bits are altered in the tag response. In an aspect of the invention, the tag passes compliance testing for a tag data specification.
-5 [0018] In an aspect of the invention, a method is used by an RFID reader to communicate with a tag population. The method includes determining whether to set a tag mode with a command, assembling and transmitting the command signal, and receiving a response from the tag. In an aspect of the invention, the reader may send a command to tags to enter an alter mode, such as a compress, truncate, or normal mode. [00191 In an aspect of the invention, an application-layer module has an interface which couples the module to the reader. The interface receives tag responses from the reader, and analyzes the response to determine the tag mode. In an aspect of the invention, the tag mode is deemed normal for a tag which does not support the modes described herein. [00201 In an aspect of the invention, the application layer module analyzes a tag response with an explicit indication of tag mode. In another aspect of the invention, the application layer module analyzes a tag response with an implicit indication of tag mode. In an aspect of the invention, the application layer module completes at least a portion of the altered tag response. [00211 These and other objects, advantages and features will become readily apparent in view of the following detailed description of the invention. Note that the Summary and Abstract sections may set forth one or more, but not all exemplary embodiments of the present invention as contemplated by the inventor(s).
-6 BRIEF DESCRIPTION OF THE DRAWINGS/FIGURES [00221 The accompanying drawings, which are incorporated herein and form a part of the specification, illustrate the present invention and, together with the description, further serve to explain the principles.of the invention and to enable a person skilled in the pertinent art to make and use the invention. [00231 FIGs. 1 - 2 show exemplary environments where RFID readers communicate with a population of tags. [0024] FIGs. 3A - 3C show block diagrams of an RFID tag, according to exemplary embodiments of the present invention. [00251 FIGs. 4A - 4B show block diagrams of an RFID reader, according to exemplary embodiments of the present invention. [0026] FIG. 5 shows a flowchart for a RFID tag to examine a received reader signal, and assemble a response, according to exemplary embodiments of the present invention. [0027] FIG. 6. shows a flowchart for a RFID reader to assemble and transmit a signal to a RFID tag population, according to exemplary embodiments of the present invention. [00281 FIGs. 7A - 7B show flowcharts for an RFID tag (in two example modes) to assemble a response, according to exemplary embodiments of the present invention. [00291 The present invention will now be described with reference to the accompanying drawings. In the drawings, like reference numbers indicate identical or functionally similar elements. Additionally, the left-most digit(s) of a reference number identifies the drawing in which the reference number first appears. DETAILED DESCRIPTION OF THE INVENTION Introduction [00301 Methods, systems, and apparatuses for RFID tags and readers are described herein. In particular, methods, systems, and apparatuses for altered -7 tag responses, such as truncated, compressed, or encrypted tag responses, are described. According to embodiments of the present invention, readers are capable of sending, and tags are capable of complying with, explicit and/or implicit commands to alter the trailing characters in the tag response. [0031] References in the specification to "one embodiment," "an embodiment," "an example embodiment," etc., indicate that the embodiment described may include a particular feature, structure, or characteristic, but every embodiment may not necessarily include the particular feature, structure, or characteristic. Moreover, such phrases are not necessarily referring to the same embodiment. Further, when a particular feature, structure, or characteristic is described in connection with an embodiment, it is submitted that it is within the knowledge of one skilled in the art to effect such feature, structure, or characteristic in connection with other embodiments whether or not explicitly described. [0032] The features and benefits of this invention are applicable to any RFID system. However, some of the exemplary embodiments are described in the context of the EPC Generation 2 (Gen 2) specification. These descriptions are intended to aid a person skilled in the art in understanding aspects of the invention and do not limit the invention. In the Gen 2 specification example, some embodiments are described that use an explicit extension (a newly defined command), and other embodiments use an implicit extension (no new command). In both cases, at least the following three general problems are solved: [00331 (1) How the reader will command a tag to alter its transmission (e.g., to encrypt, compress and/or truncate its trailing bits) when responding. [0034] (2) How the tag will convey an altered (e.g., encrypted, compressed and/or truncated) version of the tag ID (and/or any other data payload) to the reader in an unambiguous way. [0035] (3) How the encrypted, compressed and/or truncated ID (and/or any other data payload) will be presented to the receiving application-layer software.
-8 [00361 Other embodiments may use both implicit and explicit commands. Embodiments of the invention implemented in the context of other current or future data specifications may also use either implicit, explicit, or both types of commands. Example RFID System Embodiment [0037] Before describing embodiments of the present invention in detail, it is helpful to describe an example RFID communications environment in which the invention may be implemented. FIG. 1 illustrates an environment 100 where RFITD tag readers 104 communicate with an exemplary population 120 of RFID tags 102. As shown in FIG. 1, the population 120 of tags includes seven tags 102a-102g. A population 120 may include any number of tags 102. [0038] Environment 100 includes any number of one or more readers 104. For example, environment 100 includes a first reader 104a and a second reader 104b. Readers I 04a and/or 104b may be requested by an external application to address the population of tags 120. Alternatively, reader 104a and/or reader 104b may have internal logic that initiates communication, or may have a trigger mechanism that an operator of a reader 104 uses to initiate communication. Readers 104a and 104b may also communicate with each other in a reader network. [0039] As shown in FIG. 1, reader 104a transmits an interrogation signal I 1Oa having a carrier frequency to the population of tags 120. Reader 104b transmits an interrogation signal 1 l0b having a carrier frequency to the population of tags 120. Readers 104a and 104b typically operate in one or more of the frequency bands allotted for this type of RF communication. For example, frequency bands of 902-928 MHz and 2400-2483.5 MHz have been defined for certain RFID applications by the Federal Communication Commission (FCC). [00401 Various types of tags 102 may be present in tag population 120 that transmit one or more response signals 111 to an interrogating reader 104, including by alternatively reflecting and absorbing portions of signal 110 -9 according to a time-based pattern or frequency. This technique for alternatively absorbing and reflecting signal 110 is referred to herein as backscatter modulation. Readers 104a and 104b receive and obtain data from response signals 111, such as an identification number of the responding tag 102. In the embodiments described herein, a reader may be capable of communicating with tags 102 according to any suitable communication protocol, including Class 0, Class 1, EPC Gen 2, other binary traversal protocols and slotted aloha protocols, any other protocols mentioned elsewhere herein, and future communication protocols. [00411 In an embodiment, tag population 120 is not composed of identical tags 102. For example, FIG. 2 shows an environment 200 with a population 220 of tags 102 and tags 202. Tags 202b, 202c, 202e, and 202f are enhanced tags. The other tags, 102a, 102g, and 102d are non-enhanced tags. Furthermore, FIG. 2 shows enhanced readers 204a and 204c and non enhanced readers 104b and 104d. Enhanced readers 204 are configured to take advantage of the features of the enhanced tags 202, yet also interoperate with the non-enhanced tags 102. In an embodiment, non-enhanced readers 104 communicate seamlessly with both enhanced tags 202 and non-enhanced tags 102, but are unable to take advantage of the enhanced features of enhanced tags 202. [00421 In an embodiment, a reader 204 sends a signal 210 which is received by tags of population 220. Signal 210 includes a command to tags 202 to alter the trailing digits, such as a command to truncate, compress, and/or encrypt the trailing digits. A response 111 from a non-enhanced tag 102 will not have any characters altered. Reader 204 will accept response 111 and process it appropriately. A response 211 from an enhanced tag 202 will have altered trailing characters, which reader 204 will accept and process appropriately. In embodiments, the command may be implicit or explicit. In an embodiment, the alter command includes an indication of the number of trailing characters to alter.
-10 [00431 For example, if signal 210 includes a truncate command, a response from an enhanced tag 202 will have truncated trailing characters as appropriate based on the command, and reader 204 will receive and process the response accordingly. Likewise, for compress or encrypt commands, the response 111 from a non-enhanced tag 102 will not be compressed or encrypted, and reader 204 will accept response 111 and process it appropriately. A response 211 from an enhanced tag 202 will have either compressed or encrypted trailing characters as appropriate based on the command. Reader 204 will receive and process the response appropriately. For alter commands, such as truncate, compress, and encrypt commands, embodiments allow for implicit and explicit commands. In embodiments, the commands include an indication of the number of trailing characters to be altered. [0044] In embodiments, reader 204 may send signal 210 to command tag 202 to generate a response 211 with compressed, truncated, or encrypted trailing characters, or with the normal or full amount of data. Other signals 210 may command tag 202 to enter and remain in a compressed, truncate, encrypted, or normal mode, until commanded to change mode. Other signals 210 may command tag to both respond and remain in the commanded mode. [0045] In an embodiment, signal 210 may contain an explicit command to tag 202. In another embodiment, a command may be implicit. Implicit commands use existing commands, command parameters, and or tag states in an existing communication protocol to generate enhanced commands to enhanced tags 202. Explicit commands are new commands introduced to an existing or planned protocol. For the sake of clarity, the term "command" is used to signify both or either implicit and explicit commands, unless otherwise indicated. Example RFID Tag Embodiments [00461 FIG. 3A shows an example embodiment of an enhanced tag 202. As shown in FIG. 3A, tag 202 includes a storage module 302, a transmitter 310, a -11 receiver 312, and a logic module 314. Receiver 312 receives signals 110 from in range readers 104 and signals 210 from in range readers 204. Storage module 302 stores data 304, which includes a first plurality of bits 306 and a second plurality of bits 308. Storage module 302 may store information (e.g., data and instructions) beyond data 304. Logic module 314 determines a response 211 to a received signal 210 or 110. Transmitter 310 transmits the response 211. [0047] FIGs. 3B and 3C show further embodiments of tag 202, similar to the embodiments of tag 202 shown in FIG 3A. As illustrated in FIG. 3B, in an embodiment, data 304 may include a compressed plurality of bits 316, which is a compressed version of second plurality of bits 308. As illustrated in FIG. 3C, data 304 may include an altered plurality of bits 318, which is an altered version of second plurality of bits 308. In embodiments, data 304 may also include both compressed plurality of bits 316 and altered plurality of bits 318. Data 304 may contain other information (e.g., data and instructions) beyond what is described herein. [00481 In an embodiment, tag 202 may be in one of several modes. Example modes include normal, trailing compress, trailing truncate, and trailing encrypt. Signals 210 may command tag 202 to enter one of the various modes for only one response 211 or for all further responses 211 until signal 210 contains a command to change mode again. If tag 202 is in normal mode, response 211 will include both first plurality of bits 306 and second plurality of bits 308. If tag 202 is in trailing truncate mode, response 211 will include first plurality of bits 306 and none of the second plurality of bits. If tag 202 is in trailing compress or trailing encrypt mode, response 211 will include the first plurality of bits 306 and an altered (e.g. compressed or encrypted) second plurality of bits. In embodiments, the altered second plurality of bits in response 211 may be read from storage module 202 (e.g., compressed plurality of bits 316 or altered plurality of bits 318 of FIG. 3C). In other embodiments, the altered second plurality of bits in response 211 may be calculated on demand by logic 314 from the second plurality of bits 308.
-12 [0049] Deciding whether to implement an embodiment capable of reading and/or calculating a response 211 is an engineering trade-off between tag 202 storage capacity and logic capability. In some tag 202 implementations, tag storage will be at a premium, and it may be best to store compressed data on the tag 202, at the cost of additional processing required to transmit the standard (i.e., expanded) version of the data. In other tag 202 implementations, however, there may already be sufficient storage available for the chosen data structure, and it may be more cost-effective to keep logic module 314 in the tag as simple as possible by encoding both the compressed and the uncompressed versions of the data and storing in tag storage module 302 when the tag is programmed. [00501 An additional advantage of this second approach is that the compaction/expansion processing capability can be resident in reader 204, not in the tag 202. Thus improved compaction methods can be defined and implemented without changing the implemented tag 202. Also, a compromise approach can be implemented: a tag 202 could be programmed with both a lightly-compressed version of the data (e.g., only implementing run-length encoding of padding bits), and a fully-compressed version of the data (e.g., multi-base compaction of the remaining non-padding data). In this scenario, logic in tag 202 may include the capability to expand the padding, but would not necessarily include the ability to decompress the fully-compressed data. This compromise can be useful, and may allow freeing up enough room in tag storage module 302 to support two versions of the data on the same tag 202. [00511 In an embodiment, the number of bits in the second plurality of bits 308 may be set in a command of signal 210. In an embodiment, the number of bits total between the first plurality of bits 306 plus the second plurality of bits 308 is a constant number, thus a signal 210 which commands a certain number of bits in the second plurality of bits 308 is also a command for a corresponding number of bits in the first plurality of bits 306. Thus, in an embodiment, a signal 210 not only may put tag 204 into a mode (e.g., truncate, - 13 compress, or encrypt), but also may command the tag how many trailing bits to truncate, compress, or encrypt. Example RFID Reader Embodiments [00521 Embodiments incorporating reader 204 are applicable to existing and future applications using RFID tags and readers. FIG. 4A shows an example embodiment of an enhanced reader 204. The enhanced reader includes a controller 402, a transmitter 406, and a receiver 404. Reader 204 communicates with tags in a tag population 220 by transmitting signals 210 via transmitter 406 and receiving tag responses 211 via receiver 404. Controller 402 accepts user inputs via a local user interface (not shown) or via a network (not shown). Controller 402 also outputs tag data to a user via the user interface (not shown) or via a network (not shown). Controller 402 may also communicate with a larger system via a network (not shown). Controller 402 may be implemented in hardware, software, firmware, or any combination thereof. [0053] In an embodiment, reader 204 accepts the user and/or system inputs and controller 402 determines a content for signal 210 based on the user or system input and the context of the situation. Reader 204 transmits signal 210 to the tag population 220. Reader 204 receives responses 211 from any enhanced tags 202 and responses 111 from any non-enhanced tags 102 in tag population 220. Controller 402 processes response 111 and/or 211 and may output tag data to the user or to a larger system. [0054] In an embodiment, controller 402 includes an application-layer module 408, as shown in FIG. 4B. In an embodiment, Application layer module 408 functions to insulate application software from the details of any truncation, compression, or encryption which may be occurring. Application-layer module 408 includes an interface 412 and a processor 410. Application-layer module 408 receives tag response data at interface 412 from reader 204. Interface 412 accepts tag data and formats it for processor 410. Processor 410 analyzes tag data and determines the mode of the sending tag 202. Processor - 14 410 processes the data to insulate application software. Application layer module 408 is further described below. Example RFID Reader and Tag Embodiment Methods [00551 The operation of reader 204 and tag 202 together is illustrated in FIGs. 5 and 6. FIG. 5 shows a flowchart 500 for a tag such as tag 202, according to an embodiment. Flowchart 500 is described as follows: [0056] In step 502, a tag examines a received signal. For example, as shown in FIG. 2, tag 202 may receive a signal 210 from a reader 204. [00571 In step 504, the tag interprets the signal and determines whether a change in mode has been commanded. In an embodiment, signal 210 may include an explicit command. In another embodiment, signal 210 may include an implicit command. If the tag determines that a change of mode has been commanded, then flowchart 500 proceeds to step 506. If the tag determines that no change of mode has been commanded, then flowchart 500 proceeds to step 508. [00581 In step 506, the tag sets the appropriate tag mode. Operation then proceeds to step 508. For example, the mode may be Trailing Truncate Mode (TTM), Trailing Compress Mode (TCM), Trailing Encrypt Mode (TEM), or other mode. [00591 In step 508, the tag examines at least some tag data. For example, the tag data may be data 304. [0060] In step 510, the tag assembles a response for transmission based on the current tag mode and contents of at least some tag data. [0061] In an embodiment, the tag mode is TTM. In such an embodiment, the response is a response 211, which includes a first plurality of bits 306 and does not include a second plurality of bits 308. In an embodiment, the current or a previous command determined the number of bits to be truncated, i.e. determined how many bits are in the first plurality of bits 306 and how many were in the second plurality of bits 308.
-15 [00621 In another embodiment, the tag mode is TCM. In such an embodiment, the response is a response 211 as assembled in step 510, and includes a first plurality of bits 306 and a compressed version of a second plurality of bits 308. In an embodiment, the compressed version of the second plurality of bits are calculated on demand by tag logic module 314. In another embodiment, a compressed version of the second plurality of bits 316 are stored in the tag storage module 302, and are assembled into response 211. In an embodiment, response 211 also includes an indication of the current tag mode. In yet another embodiment, the tag mode is Trailing Encrypt Mode (TEM), which is similar to TCM, except the second plurality of bits are encrypted instead of compressed. (0063] FIG. 6 shows a flowchart 600 for a reader, such as reader 204 according to an example embodiment. [00641 In step 602, a reader determines whether a change tag mode command is to be issued. This decision may be based on internal or external processing, or by operator input. If a change tag mode command is to be issued, operation proceeds to step 604. If a change tag mode command is not required, operation proceeds to step 606. [0065] In step 604, the contents of a signal having a set tag mode command are assembled for transmission. In an embodiment, the signal is a signal 211 and the command is an explicit command. In another embodiment, the signal is a signal 211 and the command is an implicit command. Whether explicit or implicit, the command may be configured to change mode to normal, TTM, TEM, or TCM, or may be any other command. After step 604, operation proceeds to step 606. [0066] In step 606, the contents of a signal without a set tag mode command are assembled for transmission. [0067] In step 608, regardless whether the signal was assembled in step 604 or 606, the signal is transmitted to a tag population. [0068] In step 610, at least one tag in the tag population receives the signal and transmits a response. Reader 204 receives at least one response.
-16 [00691 In step 612, reader 204 decodes the at least one response. In an embodiment, an application layer module 408 formats the response data for internal reader 204 applications and other external applications. Example RFID Reader and Tag Embodiments Illustrated in an Existing Data Specification [00701 The following embodiments are provided to illustrate embodiments of the invention and are not intended to be limiting. The general principles described are common to operation with any tag data specification, including EPC Generation 2 (Gen 2), and apply to other embodiments which operate in the context of other existing and future tag data specifications or protocols. [0071] For example, in an embodiment, changes to the existing EPC Generation 2 (Gen 2) specification are minimized. In this example, tag 202 does not enter an alternate protocol sequence to send shortened data. Thus, it enters a new tag mode instead of requiring a new Protocol State. When in Trailing-Truncation Mode (TTM), tag 202 communicates as a non-enhanced tag 102 or enhanced tag 202 in normal mode, except that when sending its EPC ID, it will truncate a trailing portion of its ID data. In other words, tag 202 in TTM will respond with the serialized portion of its PC/EPC/CRC-16 replies truncated. A tag 202 in Trailing Compression Mode (TCM) likewise responds with the serialized portion of its reply compressed, or if in Trailing Encryption Mode (TEM), with the serialized portion of its reply encrypted. [0072] Reader 204 may command tag 202 to enter TTM, TCM, TEM or normal mode through either an explicit command extension or an implicit command. In the Gen 2 specification, newly-defined explicit commands may be from one of four categories: Mandatory, Optional, Proprietary, or Custom. "Optional" commands are useful for explicitly extending the Gen 2 protocol in this example for the following reasons: [00731 (1) If implemented as Mandatory commands, then existing Gen 2 tags and readers may be rendered obsolete. [00741 (2) If implemented as Proprietary commands, then the new command may be in violation of the specification. The EPCglobal Specification for -17 RFID Air Interface: EPC Radio Frequency Identity Protocols Class-1 Generation 2 UHF RFID Conformance Requirements, version 1.0.2, February, 2005 (Gen 2 specification) Section 2.3.3 states proprietaryay commands are intended for manufacturing purposes and shall not be used in field-deployed RFID systems." [0075] (3) If implemented as Custom commands, then a benefit is negated by the necessity to obtain additional information from the tag. The Gen 2 specification section 2.3.4 states "[a]n Interrogator shall issue a custom command only after singulating a Tag and reading (or having prior knowledge of) the Tag manufacturer's identification in the Tag's TID memory. An Interrogator shall use a custom command only in accordance with the specifications of the Tag manufacturer identified in the TID." [00761 Therefore, in an example embodiment, the Gen 2 specification is extended with explicit Optional commands. The current EPC Gen 2 protocol has many to-be-defined command bit patterns (such as the entire range from 11001001 through 11011111 inclusive). The following considerations affect the definition of the new commands: [0077 (1) As mentioned above, the new commands may be declared as Optional, so that extant tags and readers are not rendered obsolete. A mix of enhanced tags 202 and non-enhanced tags 102 may then coexist, because a mix of truncated (or compressed or encrypted) and full replies can be reliably discriminated and correctly handled by both reader 204 and non-enhanced reader 104. Non-enhanced reader 104 can accept tag 202's truncated reply (in TTM) because it is in an already-defined Gen 2 format, as will be described below. When using enhanced readers 204, the negative impact of mixing non enhanced tags 102 in with enhanced tags 202 is that a given percentage of old tags will result in that same percentage of "long" replies rather than optimized non-serialized replies. This proportionally reduces the overall throughput and/or data security. [00781 (2) There is no catastrophic effect if one or more tags 202 fail to properly receive the mode-change command - these tags 202 may simply - 18 respond with full replies rather than optimized (or encrypted) replies. This is to ensure that there is no need for the reader 204 to confirm that all tags 202 received the command, nor a need to query tags for their current mode. [00791 (3) The tags 202 may be put into the TTM (or TEM, TCM or any other) mode before replying with PC/EPC/CRC-16. Since even the first Query command of a new inventory round may cause a tag 202 to reply immediately, it is advantageous to execute the mode change as a Select operation rather than as an Inventory or Access operation. [00801 (4) Currently, the Gen 2 specification only defines one Select Operation (the Select command, bit pattern 1010). Since pattern 1011 is currently reserved, it is a natural choice for an alternate, optional version of the Select command, with a definition identical to the existing Select command, except that it also puts tags into a new mode of operation. By extending the command one bit, two alternative commands 10110 and 10111 are created, which correspond to commands to enter TTM and TCM. Note that, in this embodiment, a series of 101 1X commands act the same as a series of standard Select commands, allowing the same union, intersection, and negation of selection criteria. Additional commands may be implemented by using the mask bits, by extending to include one or more additional bits, or by the use of the implicit command techniques described herein in combination with the explicit command. [0081] (5) In an embodiment, tag 202 stays in TTM, until it powers down or until a standard Select command (starting with 1010) is received. In other words, a standard Select command orders tag 202 to normal mode. [00821 However, this example explicit command may result in non-serialized tag IDs that may be incompatible with existing or proposed database structures. Thus another embodiment using implicit commands while supporting open system use does not require any changes to the Gen 2 specification. [0083] An implicit command is a variant of an existing command, or particular sequence of existing commands, that non-enhanced tags 102 may -19 either safely perform or ignore, but that enhanced tags 202 can interpret as a command to change tag mode. For an implicit command, the above considerations except (4) apply. Also, an additional consideration applies: the result should conform to existing standards to the extent that standard compliance and interoperability testing would fail to detect the extension. Enhancements that are not detectable by compliance testing are desirable because compliance testing provides a level of assurance that enhancements are fully compliant with all non-enhanced tags 102 and readers 104. A non compliant embodiment of enhanced tag 202 or reader 204 might not be as useful in some situations as a fully compliant tag 202 or reader 204. This is not mandatory but should be considered when deciding upon implementation details for a particular application. [00841 In an embodiment, enhanced tag 202 and enhanced reader 204 may not pass compliance testing. For example, in an embodiment, a variant of the Gen 2 Select command is defined by using a parameter value that is currently reserved for future use (such as a "Target" of "1 11" or a MemBank of "00"). This approach may or may not be acceptable to the standards community, and could be detected through compliance testing. [0085] In another embodiment, tag 202 and reader 204 will pass compliance testing. A variant of Select uses a combination of Length and Mask parameters that deliberately references a memory location that does not exist on non-enhanced tag 102 or enhanced tag 202, i.e. use a pointer parameter that is bigger than the memory space of any existing or anticipated tag. Enhanced tag 202 (as well as non-enhanced tag 102) complies with the Gen 2 specification by considering the Select to be non-matching. The Gen 2 specification does not prohibit commands that reference non-existent memory, so enhanced reader 204 is not non-conforming for issuing such a command. 100861 This command, with an Action of "001" (do nothing on non-matching Selects), would induce no response on non-enhanced tag 102. It would have no directly testable effect on enhanced tag 202. However, it would put enhanced tag 202 into TTM. To further minimize the chance of tag 202 from -20 receiving an errant implicit change mode command, a specific Mask pattern may also be defined. In an embodiment compliant with the Gen 2 specification, tag 202 ignores the command unless it includes this specific Mask pattern. In Gen 2, this Mask pattern can be as long as 256 bits, thus minimizing the possibility of an accidental TTM (or TEM, TCM or any other) command. In an embodiment, the Mask pattern also includes an indication of the number of trailing bits to truncate, compress or encrypt. [00871 In an embodiment compliant with the Gen 2 specification, tag 202 remains in TTM, TEM, or TCM mode after receiving the respective implicit command. Standard Select commands (supporting the normal union, intersection, and negation of selection criteria) do not place the tag into normal mode. An additional command is required to take tag 202 out of TTM, TEM, TCM or other mode and into normal mode. In an embodiment, the same implicit command (for TTM, TEM, or TCM) but with the l's complement of the specific Mask pattern places tag 202 in normal mode. In another embodiment, the 1's complement Mask pattern represents a command to another mode altogether. [00881 In another embodiment compliant with the Gen 2 specification, the implicit command is a "nonsensical" sequence of one or more Select commands. For example, the Gen 2 specification defines a Mask length of 0 to mean that all tags are considered matching; sending such a command with an action of "do nothing on a match" would not make sense. Another example would be to send a pair of Select commands in sequence, first with truncation enabled and then with it disabled. It is reasonably certain that such a sequence of commands exhibiting both features, repeated several times, would be an extremely unlikely occurrence from a non-extended reader, and thus could be used to command TTM (or TCM, TEM, normal, or any other mode) in tag 202. In an embodiment, no subsequent command is required to put tag 202 back in normal mode. In an embodiment, these commands use a "nonsensical" sequence of commands with a MemBank of "01" as the command to enter TTM (or TCM or TEM), and that same sequence using -21 MemBank "10" commands tag 202 to go to normal mode. In another embodiment, altering the MemBank command parameter commands tag 104 to transition to another mode altogether. [0089] In an embodiment, where tag 204 is compliant with the Gen 2 specification, once tag 204 is in TTM, TEM, or TCM (or any other mode), it is able to convey a trailing truncated or compressed version of the tag ID to reader 204 in an unambiguous way. In an embodiment, a new Header type is used to indicate whether the reply is compressed, truncated, or otherwise altered. Enhanced readers 204 can interpret the new header, but non-enhanced readers 104 would reject as an unsupported header type. [00901 In another embodiment, the "Length Bits" field in the Gen 2 Tag Data Standard can be used to convey the length of the shortened tag ID. In Gen 2 Tags, the actual number of bits in the ID is still determined from the Header. The Header indicates the format of the ID, e.g. sGTIN-96, GRAI-170. Gen 2 tags have an additional Length Bits field to indicate how many 16-bit words of the Tag's ID memory are actually filled with valid bits. For a completely encoded tag encoding an EPCgJobal-defined data structure such as an sGTIN, this is merely redundant information. However, if the Length Bits. indicate fewer valid words than are necessary to complete the data structure named in the header, then this implies a partially-encoded tag (such as a tag programmed in multiple stages, where perhaps the serialization portion has not yet been added). The Gen 2 specification defines the Length Bits field, but does not mention any application or use of a partially-encoded tag. In an embodiment, the Length Bits field is used to emulate the transmitted sGTIN 96 from an incomplete tag, even though tag 202 is in fact completely encoded. Thus non-enhanced readers 104 can read and handle the tag data as it does for an incomplete tag. In an embodiment, enhanced readers 204 will handle the tag as an incomplete tag, unless reader 204 is expecting a truncated or compressed response based on a previous command. [0091] In an embodiment, a tag 202 in TTM modifies its responses to indicate to reader 204 that the reply is truncated. For example, FIG. 7A shows a -22 flowchart 700 illustrating an embodiment of tag 202 in TTM, using the Gen 2 data specification, assembling a response to a valid "ACK[RN16] command from reader 204, illustrating the deviation from the standard, or normal mode, "PC/EPC/CRC- 16" reply. [00921 Flowchart 700 begins with step 702. In step 702, a tag determines an amount to truncate. In an embodiment, tag 202 in TTM mode truncates a specified number of trailing bits depending on the format of the tag data. For example, the serialized data may be truncated; thus, if the tag ID is SGTIN-96, tag 204 may lookup based on the ID type as indicated in the Header, and truncated to a length of 4 words instead of 6. In another embodiment, reader 204 commands tag 202 to TTM with a specified truncation length. Tag 202 has thus been told what the Length Bits field value will need to be. [0093] In step 704, the tag truncates the response. Since the Length Bits define a length in 16-bit words, the last word may include a few of the initial bits of the serial number that is now being truncated. Although these leftover bits can be unambiguously parsed-away by the application, in an embodiment, tag 202 replaces these leftover bits with all-zero bits when transmitting to better emulate the output from a partially-programmed tag. In another embodiment, these bits are left alone. [0094] In step 706, the tag indicates the amount truncated. In an embodiment, instead of transmitting the actual Length Bits of the un-truncated data, Tag. 202 will transmit a new Length Bits value reflecting the post-truncation length. In another embodiment, the Header value is modified to explicitly indicated truncation and the amount truncated. [00951 In step 708, the tag generates a new CRC. In an embodiment, the tag will recalculate the CRC-16 over the number of bits left after truncation (i.e. the number of bits indicated by the new Length Bits field). The input to the CRC calculation will be new Length Bits field and the all-zero version of the leftover bits. [0096] Similarly, FIG. 7B shows flowchart 750 illustrating an example embodiment of tag 202 in TCM; it will compress and modify its responses to -23 indicate to reader 204 that the reply is in fact compressed. A compressed, rather than absent (after truncation) serial number raises other compatibility issues when ensuring the TCM mode tag 202 response is not misinterpreted by either reader 204 or non-enhanced reader 104. [0097] Flowchart 750 begins with step 752. In step 752, a tag determines the amount to compress. In an embodiment, tag 202 in TCM mode compresses a specified number of trailing bits depending on the format of the tag data. For example, the serialized data may be compressed; thus, if the tag ID is SGTIN 96, tag 204 may lookup based on the ID type as indicated in the Header, and compress the message to a length of 4 words instead of 6. As discussed above, in an embodiment using the explicit command from reader 204, a new Header type is defined (e.g., a "SGTIN-96 Compressed" header value) for each mode (trailing compressed, truncated, encrypted, etc.). Reader 204 commands tag 202 to TCM with a specified compression length. Tag 202 has thus been told what the Length Bits field value will need to be. [00981 In step 754, the tag compresses the response using various compression algorithms as described elsewhere herein. Since the Length Bits define a length in 16-bit words, the last word may include the final bits of the serial number that is now being compressed. Although these leftover bits can be unambiguously parsed-away by the application, in an embodiment, the compression algorithm may specify a "padding" method so that an integral number of 16-bit Words can be transmitted. [0099] In step 756, the tag indicates the amount compressed. As discussed above, in an embodiment using an explicit command from reader 204, a new Header type is defined (e.g., a "SGTIN-96 Compressed" header value) for each mode (trailing compressed, truncated, encrypted, etc.). Reader 204 will recognize the header value and properly process the tag 202 response. Non enhanced reader 104 will reject the response as an unsupported header type. Similar to the truncation case, another embodiment using an implicit command uses the Length Bits field to identify when trailing bits have been compressed.
- 24 [001001 In an exemplary embodiment using the Gen 2 specification, some additional considerations raised by compression are: if compression fails to reduce the data length to the point where it can be reflected in the Length Bits field, then the tag should not compress the data (i.e. the tag should only use uncompressed data); the data should not be compressed to the point that the Length Bits indicate a non-serialized tag 202; and during production and before the tag 202 enters the supply chain, the use of compressed mode could result in an ambiguous situation where a compressed tag 202 is not distinguishable from a partially serialized tag. Compression should not be used in this last case. Once tag 202 enters the supply chain, a partial serial number no longer has a meaning and would be rejected by unaware systems, thus the ambiguity is resolved. [001011 In optional step 758, the tag may generate a new CRC. In an embodiment, the tag will recalculate the CRC-16 over the number of bits left after truncation (i.e. the number of bits indicated by the new Length Bits field). The input to the CRC calculation will be new Length Bits field and the all-zero version of the leftover bits. In another embodiment, the original CRC is used. A non-enhanced reader 104 will reject the response as transmission error, but a enhanced reader 204 can expand the data and re-check the CRC 16. In another embodiment, the CRC is modified. [001021 Optional step 758 addresses a potential issue: A non-enhanced reader 104 may "overhear" or receive a compressed response from tag 202 which was commanded by a reader 204. This may be permissible in an embodiment. In another embodiment, this is undesirable. To prevent non-enhanced reader 104 from overhearing a response elicited from tag 202 by reader 204, a response by tag 202 when in TCM should be defined to appear invalid to non-enhanced reader 104. This can be accomplished in many ways. For example: [001031 (a) calculate the CRC-16 for the compressed response, then alter it in a predefined manner, e.g., XOR it. Reader 204 will expect the altered (e.g., XORed) CRC-16, but non-enhanced reader 104 will reject the response.
- 25 [00104] (b) calculate the CRC-16 for the original (uncompressed) data. A non enhanced reader 104 will reject the response as transmission error, but a enhanced reader 204 can expand the data and re-check the CRC-16. [00105] For some hardware implementations, the first approach will require less time for the reader to validate the transmission of tag 202, and thus may be desirable. Example Application Layer Module Embodiments [00106] In an embodiment, controller 402 includes an application-layer module 408, as shown in FIG. 4B. In an embodiment, Application layer module 408 functions to insulate application software from the details of any truncation, compression, or encryption which may be occurring. Existing applications may not accept tag information that has been truncated, partially compressed, or encrypted. Some applications may require the RFID tag information to be fully recreated in its original form. Other applications may not use the part of the tag data which had been truncated, encrypted, or compressed. In these cases, application layer module 408 functions to ensure that application software is presented with tag data of the appropriate format and content. [00107] Application-layer module 408 includes an interface 412 and a processor 410. Application-layer module 408 receives tag response data at interface 412 from reader 204. In an embodiment, interface 412 receives data directly from receiver 404. In another embodiment, interface 412 receives tag data via controller 402. In yet another embodiment, interface 412 receives tag data indirectly. In an embodiment, the interface includes dedicated hardware for the application layer module. In another embodiment, the interface shares hardware with other components of the reader. [00108] Interface 412 accepts tag data and formats it for processor 410. Processor 410 need not be a discrete dedicated processor, i.e. processor 410 may actually be a processor in controller 402 that may also perform other functions, i.e. the application layer module shares a processor with other components of the reader 204. Processor 410 analyzes tag data and -26 determines the mode of the sending tag 202. In an embodiment, processor 410 may receive tag data from a non-enhanced tag 102. Processor 410 may be implemented in hardware, software, firmware, or any combination thereof. [00109] In an embodiment, tag response 211 includes an explicit indication of tag mode. Processor 410 interprets the explicit indication. In another embodiment, tag response data 211 includes an implicit indication of tag mode. Processor 410 interprets the implicit indication. [001101 Processor 410 may take any of several actions depending on tag mode. In an embodiment, if the tag mode is TTM, processor 410 fills in at least a portion of the truncated second plurality of bits 308. In another embodiment, processor 410 populates a data field indicating the second plurality of bits has been truncated, thus providing an indication to the user and/or the larger system the status of tag data. Processor 410 may do both: populate a data field and fill in at least a portion of the truncated second plurality of bits 308. [00111] Similarly, if the tag mode is TCM or TEM, in an embodiment, processor 410 may recreate at least a portion of the second plurality of bits 308. In another embodiment, processor 410 may populate a data field indicating that the second plurality of bits 308 has been compressed or encrypted, as appropriate, thus providing an indication to the user and/or the larger system the status of tag data. Processor 410 may do both: populate the data field and recreate at least a portion of the encrypted or compressed second plurality of bits 308. [00112] An embodiment of application layer module 408 and how it operates in relation to an existing specification is described to aid understanding of the basic principles which apply to any data standard. For example, the Gen 2 specification does not clearly define a use for the partially truncated tag 202 reply. Therefore the reply may be left as-is through the lower layers of the application interface. However, the data may need to be converted to a standard form at some point. [001131 Similarly, an implicit extension to the tag data specification can use a Length field to indicate compressed serialization. In systems where - 27 middleware layers are not designed specifically to reject partially-encoded tag replies, the bit-level reply is represented as-is, up through the lower layers of the application interface. For example, using a "shortened" sGTIN-96, for example, the EPCglobal Tag Data Standard describes how to convert an SGTIN-96 to two data items: an EAN.UCC GTIN-14, and a Serial Number. However, the EPCglobal decoding algorithm does not include an initial step of checking the Length Bits. However, at some point, the compressed data may be decompressed. [001141 In an embodiment of application layer module 408 capable of decoding standard and truncated tag data, the Length Bits are examined, and the resulting word length is compared to the bit length implied by the Header. For example, if the Length Bits indicate fewer bits than are needed to fully represent the data structure defined by the Header, then the ID has been compressed. If the Length Bits indicate exactly the number of words required to represent the non-serialized portion of the data structure, then the ID has been truncated. In another embodiment, the compressed or truncated serial number format has been assigned a unique header pattern, and this examination of the Length Bits maybe unnecessary. [00115] The GTIN-14 portion may be the only portion recreated from a truncated ID. The GTIN-14 can be assigned an Application Identifier (AI) of "01", and treated as a standard data item on its own. An application system may choose to go further, however, in distinguishing this TTM tag data from standard tag data. One way to do this, is to convert a received shortened ID to a barcode-emulation format. For instance, the data may be prefaced with "]C1O" to emulate a UCC/EAN-128 barcode carrying the non-serialized ID. [001161 Compressed responses 211 (from a tag 202 in TCM) are treated similarly in an embodiment implemented in the context of the Gen 2 specification. An implicit extension can utilize the length bits to indicate compressed serialization, utilizing the rules above to resolve ambiguities, as described below. Decompression of the compressed data to a standard form can be done in two stages: the data is first expanded to a standard sGTIN-96, -28 then later translated in a standard fashion to EAN.UCC data items such as AI (01) and AI(21). Alternately, the compressed bitwise data can be expanded and converted to standard data items during the same processing step. [001171 The EPCglobal decoding algorithm does not include an initial step of checking the Length Bits, however. An algorithm capable of decoding standard, truncated, and compressed tag data may first examine the Length Bits, and compare the resulting word length to the bit length implied by the Header. If the Length Bits indicate fewer 16-bit words than are needed to fully represent the data structure defined by the Header, but more words than would be needed to represent non-serialized data, then the ID has been compressed. Again, this restriction on the word length is only required in implicit-extension systems that need to discriminate between truncated and compressed tags. If instead the compressed-serial number format has been assigned a unique header pattern, then this examination of the Length bits may be unnecessary. Similarly, an encrypted format can be assigned a unique header pattern; alternately, if the Length Bits indicate more 16-bit words than are needed to fully represent (in standard form) the data structure defined by the Header, then the ID has been encrypted. Example Compression Embodiments [001181 In embodiments which compress the trailing bits in the tag 202 response, many known compaction techniques may be used. For example, some general-purpose compression techniques such as those based on the Limpel Ziv Welch (LZW) algorithms may be used even though they are seldom effective on very short messages (such as a 20-character serial number). An example of a compression method well suited for compressing shorter messages typical in today's RFID tags is a "multi-base" compaction technique, as disclosed in U.S. Pat. No. 6,196,466. [00119] A multi-base compaction technique improves the encoding of a random sequence of numbers and letters with a moderate cost in computation. It takes advantage of the observation that many kinds of data, such as - 29 alphanumeric data, can be classified into subsets of substantially different size (in this case, 10 digits vs 32 alpha/punctuation characters). It would be optimal to encode all of the digits at an average of about 3.3 bits per character, and all of the remaining characters at about 5 bits per character. Typical character-level encoding schemes do not reach these optima, because they need to provide for "latch" and "shift" patterns to handle the random mix between character classes. As disclosed in the patent cited above, an improved method is to provide an initial bit pattern serving as a "character map" for the remaining data to be encoded (where for example, each '0' represents a digit and each '1' represents an alpha character). Following the character map, all of the digits of the message can be aggregated into one large binary number (at the optimal rate of 3.3 bits per digit), then all the members of the other base can be similarly aggregated (in this case, as groups of 5 digits per character for simplicity). Given the constraints of computation in current low-cost RFID tags, it may be preferable to group the base- 10 data into groups of 10 digits, each being a near-optimal representation of 3 digits. If 1 or 2 digits remain after the last group of 3, then these are encoded less-optimally as 4 or 7 digits, respectively. Including the overhead of the character map itself, digits will be encoded using an average of 4.33 bits, and alpha/punctuation will be encoded at an average of 6 bits, a clear savings over the seven bits per character when not compressed. [001201 Of course, as RFID) tag hardware progresses in complexity and capacity, the potential size of the messages will also increase. LZW-based techniques may become more suitable as the message size grows. Specific implementations of embodiments will take this into account when selecting a particular compression method. [00121] Additional gains may be had by combining a general purpose compression method (multi-base, LZW, etc.) with an implementation dependent algorithm tailored to the specific characteristics of the particular RFID data standard. This may be described in the context of an existing RFID data standard. For example, the Gen 2 tag data specification uses a fixed- -30 length design. The serial number to be encoded is variable length (from I character up to 20). However, the number of tag bits devoted to serialization is fixed for a given tag format and non-serialized I) length. This typically causes significant runs of '0' bits to be added for padding, but the position of these padding bits depends on the specific data structure. For example: [00122] SGTIN-96 encodes 38 bits of serialization (including leading zero bits added as needed to total 38) [001231 SGTIN-198 encodes 140 bits of serialization (at seven bits per character, padded with trailing all-zero bit patterns as needed to total 140) [001241 SSCC-96 represents an 18-digit identifier (a company prefix plus as many digits of "serial reference" as needed to total 18 digits). The tag encoding of this data structure always ends with twenty-four '0' bits after the "serial reference". In addition, the "serial reference" portion (anywhere from 18 to 38 bits, depending on company prefix) may include a large number of leading zero bits, but these follow the MSB bits from a leading "extension digit" which may be non-zero. [00125] Since the data type in a Gen 2 embodiment is itself indicated in each tag via its Header bits, each compressed serialization may be encoded with a few bits for a zero-run-length indicator, instead of actually encoding the padded zero bits. The position of the run of zeros can be determined from the Header, using the rules set forth above. For example, the number of bits devoted to the run-length indicator is specified, and one of skill in the art will recognize that this choice will involve a cost/benefit tradeoff, considering both the complexity of decoding and the number of bits reserved for this purpose, versus the expected average length of the zero runs. As one example, a designer might choose to define the compressed serialization as starting with 5 bits when used in the 96 bit data structure (denoting from 0 to 31 contiguous '0' bits), but starting with 4 bits when used in an SGTIN-198 structure (denoting from 0 to 15 seven-bit patterns of all-zero bits). Further, suppressing the trailing 24 zero bits in an SSCC-96 would be assumed in the -31 compressed version, and would not need to be specifically indicated in the compressed bit pattern. [001261 For the SGTIN-96 and SSCC-96 data structures the remaining serialized data after the run-length encoding of the padded '0' bits is an efficient encodation of all-numeric data, and would not benefit from additional compaction techniques. However, this is not true of the SGTIN-198 data structure, even after suppressing the run-length-encoded all-zero patterns. The remaining characters would still be represented at seven bits per character, which is less than optimal for typical serial number data. Such data tends to consist primarily of digits (which optimally should require only about 3.3 bits per digit) mixed more-or-less randomly with uppercase Alpha characters and with the occasional '-' or '/' or similar separator (which all together should require about 5 bits per non-digit character). The seven-bit representation in the Gen 2 spec also accommodates rarely-used lowercase alpha and punctuation characters, but this capacity is wasted (resulting in wasted transmission bandwidth) in most situations. Thus, even after run-length encoding of the padding, the compressed version of the SGTIN-198 data structure will implement an additional compaction technique to further reduce transmission times. Many known compaction techniques could serve fairly well for this purpose, but the example multi-base compaction is particularly effective. [001271 An implementation of an embodiment will need to take similar consideration into account depending on the particulars of the data specification used. Embodiments using future data specifications will also involve similar considerations. Conclusion [001281 While various embodiments of the present invention have been described above, it should be understood that they have been presented by way of example only, and not limitation. It will be apparent to persons skilled in the relevant art that various changes in form and detail can be made therein -32 without departing from the spirit and scope of the invention. Thus, the breadth and scope of the present invention should not be limited by any of the above described exemplary embodiments, but should be defined only in accordance with the following claims and their equivalents.

Claims (19)

1. A radio frequency identification (RFID) system capable of distinguishing standard tag data and truncated tag data representing a serialized identifier, comprising: a processor receiving a tag reply, examining a bit length of the received reply, comparing a resulting word length to the bit length of the data structure implied by a received header of the tag reply, and determining that the serialized identifier has been truncated if the word length is less than what is indicated by the header of the tag.
2. The RFID system of Claim 1, wherein the processor further executes the step of: populating a data field indicating the serialized identifier has been truncated.
3. The RFID system of Claim 1, wherein the processor recreates a GTIN- 14 portion of the truncated identifier.
4. A radio frequency identification (RFID) tag system, comprising: a storage module storing information comprising data; wherein the stored data comprises a full serialized identifier; wherein the full serialized identifier comprises: a first plurality of bits comprising a non-serialized portion of the identifier containing a product Stock Keeping Unit (SKU); a second plurality of bits comprising a trailing serialized portion of the identifier that provides a unique item-level ID; a logic module executing instructions to: receive a first signal from an RFID reader comprising a command to enter one of a plurality of modes of tag operation; wherein the modes comprise a first mode wherein the tag transmits the second plurality of bits in a response to a reader signal, and a second mode wherein the tag omits some or all of the trailing serialization -34 portion of a transmission in response to said reader signal, and wherein the transmission does not include the second plurality of bits, wherein the command to enter the second mode comprises an indication of the number of bits in at least one of the first plurality of bits and the second plurality of bits; and said response comprises a calculated CRC that does not include the second plurality of bits.
5. The RFID tag system of claim 4, wherein the command indicates a value for an RFID tag's length bits field.
6. The RFID tag system of claim 4, wherein the command comprises a specific truncated length.
7. The RFID tag system of claim 4, wherein the logic module is configured to determine one of an altered and an unaltered version of the second plurality of bits based on the mode of tag operation.
8. The RFID tag system of claim 7, wherein the logic module further determines a number of bits in the second plurality of bits for the altered version based on the mode of tag operation.
9. The RFID tag system of claim 4, wherein the storage module comprises a plurality of versions of the second plurality of bits stored therein.
10. The RFID tag system of claim 4, wherein the logic module receives a command from an RFID reader to change the tag mode of operation and transmits an unaltered version of the data for the response based on the command.
11. The RFID tag system of claim 4, wherein the storage module is configured with storage capacity with room to store the unaltered version of the data and the altered version of the data based on the mode of tag operation. -35
12. The RFID tag system of claim 4, wherein the RFID tag comprises a Gen 2 RFID tag, and wherein the tag's response comprises a header to indicate whether the reply is compressed, truncated, or otherwise altered.
13. The RFID tag system of claim 4, wherein the first signal utilizes an Optional command in a Gen 2 protocol for communicating the mode of operation.
14. The RFID tag system of claim 4, wherein the response comprises one of an explicit indication and an implicit indication of the mode of tag operation.
15. The RFID tag system of claim 4, wherein the logic module detects an implicit command to change the tag mode of operation; and provide the unaltered version of the data for the response based on the implicit command.
16. The RFID tag system of claim 4, wherein the logic module replaces a plurality of the bits of a last 16-bit word of the response with all-zero bits when transmitting them, wherein said plurality of bits represent bits of the serial number that is now being truncated.
17. The RFID tag system of claim 4, wherein the logic module generates a new CRC based on the altered version of the data.
18. A radio frequency identification (RFID) reader sending a mode command to an RFID tag, the RFID tag storing an identifier, wherein the identifier comprises a first plurality of bits comprising a non-serialized portion containing a product Stock Keeping Unit (SKU) and a a second plurality of bits comprising a trailing serialized portion that provides a unique item-level ID, the RFID reader comprising: -36 a transmitter transmitting a first signal to a tag comprising a command to the tag to enter one of a plurality of modes of tag operation; wherein the modes comprise a first mode wherein a tag transmits the second plurality of bits in a response to a reader signal, and a second mode wherein the tag omits some or all of the trailing serialization portion of a transmission in response to said reader signal, and wherein the transmission does not include the second plurality of bits; and wherein the command to enter the second mode comprises an indication of a number of bits in at least one of the first plurality of bits and the second plurality of bits;
19. The RFID reader of claim 18, wherein the command indicates a value for an RFID tag's length bits field. Symbol Technologies, Inc. Patent Attorneys for the Applicant/Nominated Person SPRUSON & FERGUSON
AU2011253949A 2005-09-29 2011-12-09 Truncation, compression and encryption of RFID tag communications Active AU2011253949B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU2011253949A AU2011253949B2 (en) 2005-09-29 2011-12-09 Truncation, compression and encryption of RFID tag communications

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US60/721,574 2005-09-29
AU2006297266A AU2006297266A1 (en) 2005-09-29 2006-09-29 Truncation, compression, and encryption of RFID tag communications
AU2011253949A AU2011253949B2 (en) 2005-09-29 2011-12-09 Truncation, compression and encryption of RFID tag communications

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
AU2006297266A Division AU2006297266A1 (en) 2005-09-29 2006-09-29 Truncation, compression, and encryption of RFID tag communications

Publications (2)

Publication Number Publication Date
AU2011253949A1 AU2011253949A1 (en) 2012-01-12
AU2011253949B2 true AU2011253949B2 (en) 2013-11-21

Family

ID=49584842

Family Applications (1)

Application Number Title Priority Date Filing Date
AU2011253949A Active AU2011253949B2 (en) 2005-09-29 2011-12-09 Truncation, compression and encryption of RFID tag communications

Country Status (1)

Country Link
AU (1) AU2011253949B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6196466B1 (en) * 1998-06-09 2001-03-06 Symbol Technologies, Inc. Data compression method using multiple base number systems
US20040066279A1 (en) * 2002-10-02 2004-04-08 Hughes Michael A. RFID system and method including tag ID compression
US20050093679A1 (en) * 2003-10-31 2005-05-05 Zai Li-Cheng R. Method and system of using active RFID tags to provide a reliable and secure RFID system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6196466B1 (en) * 1998-06-09 2001-03-06 Symbol Technologies, Inc. Data compression method using multiple base number systems
US20040066279A1 (en) * 2002-10-02 2004-04-08 Hughes Michael A. RFID system and method including tag ID compression
US20050093679A1 (en) * 2003-10-31 2005-05-05 Zai Li-Cheng R. Method and system of using active RFID tags to provide a reliable and secure RFID system

Also Published As

Publication number Publication date
AU2011253949A1 (en) 2012-01-12

Similar Documents

Publication Publication Date Title
US8665073B2 (en) Truncation, compression, and encryption of RFID tag communications
EP1897026B1 (en) Apparatus and methods for optical representations of radio frequency indentification tag information
US7190257B2 (en) Data encoding in radio frequency identification transponders
US8154385B2 (en) Local processing of received RFID tag responses
US7009526B2 (en) RFID system and method including tag ID compression
EP2022275B1 (en) Data format for efficient encoding and access of multiple data items in rfid tags
KR100936893B1 (en) Method for identification of tags and anti-collision, and RFID tag using the same
US7009495B2 (en) System and method to identify multiple RFID tags
US8063800B2 (en) Efficient encoding and decoding of mixed data strings in RFID tags and other media
US7872582B1 (en) RFID tag chips and tags with alternative memory lock bits and methods
EP1977375A1 (en) Method of preventing collisions between rfid readers in rfid system
KR20060115689A (en) Scanning-based tag identification method in rfid systems
AU2011253949B2 (en) Truncation, compression and encryption of RFID tag communications
Ranasinghe et al. Networked RFID systems
CN110969036B (en) Method, device, equipment and storage medium for RFID label data output
Su et al. Data Integrity in RFID Systems

Legal Events

Date Code Title Description
FGA Letters patent sealed or granted (standard patent)
HB Alteration of name in register

Owner name: SYMBOL TECHNOLOGIES, LLC.

Free format text: FORMER NAME(S): SYMBOL TECHNOLOGIES, INC.