KR101131461B1 - Method for matcing active rfid reader of simple reader protocol - Google Patents

Method for matcing active rfid reader of simple reader protocol Download PDF

Info

Publication number
KR101131461B1
KR101131461B1 KR1020110004411A KR20110004411A KR101131461B1 KR 101131461 B1 KR101131461 B1 KR 101131461B1 KR 1020110004411 A KR1020110004411 A KR 1020110004411A KR 20110004411 A KR20110004411 A KR 20110004411A KR 101131461 B1 KR101131461 B1 KR 101131461B1
Authority
KR
South Korea
Prior art keywords
code
tag
reader
command
srp
Prior art date
Application number
KR1020110004411A
Other languages
Korean (ko)
Inventor
김택현
Original Assignee
엘지히다찌 주식회사
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 엘지히다찌 주식회사 filed Critical 엘지히다찌 주식회사
Priority to KR1020110004411A priority Critical patent/KR101131461B1/en
Application granted granted Critical
Publication of KR101131461B1 publication Critical patent/KR101131461B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/40Near-field transmission systems, e.g. inductive or capacitive transmission systems characterised by components specially adapted for near-field transmission
    • H04B5/48Transceivers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10118Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves the sensing being preceded by at least one preliminary step
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10297Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves arrangements for handling protocols designed for non-contact record carriers such as RFIDs NFCs, e.g. ISO/IEC 14443 and 18092

Landscapes

  • Engineering & Computer Science (AREA)
  • Toxicology (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • General Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Near-Field Transmission Systems (AREA)

Abstract

PURPOSE: An active RFID reader method of SRP is provided to manage an active tag in an EPC(Electronic Product Code) system by giving an EPC in a user memory area of an active tag. CONSTITUTION: A data pointer of an operation code and a memory bank which is included in a command is received from middleware in an SRP(Simple Reader Protocol). An OP code about an active tag searches for a data point on a table(S20). A command message writing the OP code is transmitted to the active tag(S30). The OP code of a passive tag searches for the OP code on the table(S50).

Description

SRP의 능동형 RFID 리더 정합 방법{method for matcing active RFID reader of simple reader protocol}Method for mating active RFID reader of simple reader protocol

본 발명은 SRP의 능동형 RFID 리더 정합 방법에 관한 것으로, 특히 수동형 태그에 대해 미들웨어와 리더 사이에서 적용되는 SRP(Simple Reader Protocol)에 따른 OP 코드와 수동형 태그의 메모리를 구분하여 구성하는 메모리 뱅크의 종류 및 해당 메모리 뱅크의 시작 주소인 데이터 포인터를 리더와 능동형 태그 사이에서 적용되는 다수의 OP 코드에 매핑시키는 방식에 의해 SRP를 사용하여 능동형 태그에 대한 데이터의 수집과 기록을 수행하는 SRP의 능동형 RFID 리더 정합 방법에 관한 것이다.The present invention relates to an active RFID reader matching method of SRP, and more particularly, a type of memory bank that divides the OP code and the passive tag memory according to the Simple Reader Protocol (SRP) applied between the middleware and the reader for the passive tag. And an SRF active RFID reader that collects and records data for an active tag by using the SRP by mapping a data pointer, which is a start address of the corresponding memory bank, to a plurality of OP codes applied between the reader and the active tag. It is about a matching method.

잘 알려진 바와 같이, RFID(Radio-Frequency IDentification) 기술이란 전파를 이용해 먼 거리에서 정보를 인식하는 기술을 말하는데, 여기에는 RFID 태그(이하 간단히 '태그'라고도 한다)와 RFID 리더(이하 간단히 '리더'라고도 한다)가 필요하다. 태그는 안테나와 집적 회로로 이루어지는데, 집적 회로 안에 정보를 기록하고 안테나를 통해 리더에게 정보를 송신한다. 이 정보는 태그가 부착된 대상을 식별하는데 이용된다.As is well known, RFID (Radio-Frequency IDentification) technology refers to a technology that uses radio waves to recognize information over long distances, including RFID tags (hereinafter simply referred to as 'tags') and RFID readers (hereinafter simply referred to as 'leaders'). Is called). The tag consists of an antenna and an integrated circuit, which records information in the integrated circuit and transmits the information to the reader via the antenna. This information is used to identify the tagged object.

이러한 RFID를 사용하는 동력으로 분류하면 다음과 같다. 오직 리더의 동력만으로 태그 칩의 정보를 읽고 통신하는 RFID를 수동형(Passive) RFID라 하고, 태그에 건전지가 내장되어 있어 칩의 정보를 읽는 데는 그 동력을 사용하고 통신에는 리더의 동력을 사용하는 RFID를 반수동형(Semi-passive) RFID라 하며, 칩의 정보를 읽고 그 정보를 통신하는데 모두 태그의 동력을 사용하는 RFID를 능동형(Active) RFID라 한다.The classification into the power using the RFID is as follows. RFID that reads and communicates the information of the tag chip only by the power of the reader is called passive RFID. RFID is used to read the information of the chip and the power of the reader is used for communication. Is called semi-passive RFID, and RFID that uses the power of tag to read information of chip and communicate the information is called active RFID.

RFID를 동력 대신 통신에 사용하는 전파의 주파수로 구분하기도 하는데, 낮은 주파수, 예를 들어 120~140㎑를 이용하는 RFID를 LFID(Low-Frequency IDentification)라 하고, 이 보다 높은 주파수인 13.56㎒를 사용하는 RFID를 HFID(High-Frequency IDentification)라 하며, 이 보다 한층 높은 주파수인 868~956㎒를 사용하는 RFID를 UHFID(UltraHigh-Frequency IDentification)라 한다.RFID is also classified into the frequency of radio waves used for communication instead of power. RFID, which uses a low frequency, for example, 120 to 140 kHz, is called low-frequency identification (LFID), and uses a higher frequency of 13.56 MHz. RFID is called High-Frequency IDentification (HFID), and RFID that uses a higher frequency of 868 to 956 MHz is called UHFID (Ultra High-Frequency IDentification).

한편, RFID 시스템에서 리더 프로토콜은 미들웨어가 RFID 리더에게 명령을 내려 태그의 정보를 수집하는데 사용되는데, 이 과정에서 RFID 리더는 태그 정보를 수집하기 위해 태그와의 사이에 표준 에어 인터페이스(air interface)를 사용한다.In the RFID system, a reader protocol is used by a middleware to command a RFID reader to collect tag information. In this process, the RFID reader establishes a standard air interface with the tag to collect tag information. use.

그런데, 능동형 RFID 태그에 접근하기 위한 에어 인터페이스가 수동형 RFID 태그의 에어 인터페이스와 다르기 때문에 두 개의 서로 다른 에어 인터페이스에 접근하기 위한 리더 프로토콜도 당연히 달라져야 한다. 하지만 현재는 수동형 RFID 에어 인터페이스에 맞게 설계된 SRP(Simple Reader Protocol)만 제안되어 있을 뿐 능동형 RFID 태그에 명령하거나 이를 제어하기 위해 설계된 리더 프로토콜과 미들웨어는 전무한 실정이다.However, since the air interface for accessing the active RFID tag is different from the air interface of the passive RFID tag, the reader protocol for accessing two different air interfaces must also be changed. However, at present, only a simple reader protocol (SRP) designed for a passive RFID air interface is proposed, and there are no reader protocols and middleware designed to command or control an active RFID tag.

본 발명은 전술한 문제점을 해결하기 위해 안출된 것으로서, 수동형 태그에 대해 미들웨어와 리더 사이에서 적용되는 SRP(Simple Reader Protocol)에 따른 OP 코드와 수동형 태그의 메모리를 구분하여 구성하는 메모리 뱅크의 종류 및 해당 메모리 뱅크의 시작 주소인 데이터 포인터를 리더와 능동형 태그 사이에서 적용되는 다수의 OP 코드에 매핑시키는 방식에 의해 SRP를 사용하여 능동형 태그에 대한 데이터의 수집과 기록을 수행하는 SRP의 능동형 RFID 리더 정합 방법을 제공함을 목적으로 한다.SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problem, and the type of memory bank that divides the OP code and the passive tag memory according to the Simple Reader Protocol (SRP) applied between the middleware and the reader for the passive tag, and Matching SRP's active RFID readers using SRP to collect and record data for active tags by mapping the data pointer, the start address of the corresponding memory bank, to a number of OP codes applied between the reader and active tags. The purpose is to provide a method.

전술한 목적을 달성하기 위한 본 발명의 SRP의 능동형 RFID 리더 정합 방법은 수동형 태그에 대해 미들웨어와 리더 사이에서 적용되는 SRP(Simple Reader Protocol)에 따른 OP 코드(Operation Code)와 수동형 태그의 메모리를 구분하여 구성하는 메모리 뱅크의 종류 및 해당 메모리 뱅크의 시작 주소인 데이터 포인터를 리더와 능동형 태그 사이에서 적용되는 다수의 OP 코드에 매핑시킨 테이블을 구비한 리더에 의해 수행되되, 미들웨어로부터의 SRP에 따른 명령에 포함된 OP 코드와 메모리 뱅크의 종류 및 데이터 포인터를 전달받는 (a) 단계; 상기 (a) 단계에서 전달받은 OP 코드와 메모리 뱅크의 종류 및 데이터 포인터를 상기 테이블에서 조회하여 능동형 태그에 대한 OP 코드를 확인한 후에 이렇게 확인된 OP 코드를 기입하여 작성한 커맨드 메시지를 능동형 태그로 전송하는 (c) 단계 및 능동형 태그로부터의 응답 메시지에 포함된 OP 코드를 상기 테이블에서 조회하여 대응되는 수동형 태그의 OP 코드를 확인한 후에 이렇게 확인된 OP 코드를 기입하여 SRP에 따른 응답 메시지를 작성한 후에 미들웨어로 전달하는 (d) 단계를 포함하여 이루어진다.The active RFID reader matching method of the SRP of the present invention for achieving the above object distinguishes the operation code (OP code) and the memory of the passive tag according to the Simple Reader Protocol (SRP) applied between the middleware and the reader for the passive tag The memory bank is configured by a reader having a table in which a type of memory bank and a data pointer, which is a start address of the memory bank, are mapped to a plurality of OP codes applied between the reader and the active tag, and according to the SRP from the middleware. (A) receiving an OP code and a memory bank type and a data pointer included in the OP code; After checking the OP code for the active tag by inquiring the OP code, the type of memory bank, and the data pointer transmitted in the step (a) in the table, transmitting the command message written by writing the confirmed OP code to the active tag. (c) Check the OP code included in the response message from the step and the active tag in the table above, check the OP code of the corresponding passive tag, and write the response code according to the SRP and write the response message according to the SRP. (D) delivering.

한편, 리더가 인벤토리 명령에 의해 유저 메모리 영역의 내용을 읽는 명령을 상기 커맨드 메시지에 담아서 능동형 태그에 전송하고, 능동형 태그로부터 전달받은 상기 유저 메모리 영역의 내용을 SRP에 따른 응답 메시지에 담아서 미들웨어로 전송하되, 능동형 태그의 상기 유저 메모리 영역에는 EPC 코드가 사전에 기록되어 있는 것을 특징으로 한다.On the other hand, the reader sends a command to read the contents of the user memory area by the inventory command in the command message to the active tag, and the contents of the user memory area received from the active tag in the response message according to the SRP to the middleware The EPC code may be recorded in advance in the user memory area of the active tag.

본 발명의 SRP의 능동형 RFID 리더 정합 방법에 따르면, 별도의 프로토콜을 개발하거나 사용하지 않고도 수동형 태그에 대해 미들웨어와 리더 사이에서 적용되는 SRP(Simple Reader Protocol)에 따른 OP 코드와 수동형 태그의 메모리를 구분하여 구성하는 메모리 뱅크의 종류 및 해당 메모리 뱅크의 시작 주소인 데이터 포인터를 리더와 능동형 태그 사이에서 적용되는 다수의 OP 코드에 매핑시키는 방식에 의해 SRP를 사용하여 능동형 태그에 대한 데이터의 수집과 기록을 수행할 수가 있다.According to the active RFID reader matching method of the SRP of the present invention, the OP code and the passive tag memory according to the SRP (Simple Reader Protocol) applied between the middleware and the reader for the passive tag without developing or using a separate protocol Data collection and recording of active tags by using SRP by mapping the type of memory bank and the data pointer, which is the start address of the corresponding memory bank, to a plurality of OP codes applied between the reader and active tags. You can do it.

나아가 이러한 방식에 의해 능동형 태그의 유저 메모리 영역에 EPC 코드를 부여하여 수집이 가능하도록 함으로써 능동형 태그를 EPC 코드 체계로 관리할 수가 있다.In this way, the active tag can be managed by the EPC code system by assigning an EPC code to the user memory area of the active tag to enable collection.

도 1은 ISO/IEC 18000-6C 및 EPC Class1 Gen2 규격의 태그 메모리 구조도.
도 2는 본 발명의 SRP의 능동형 RFID 리더 정합 방법을 설명하기 위한 흐름도.
1 is a tag memory structure diagram of ISO / IEC 18000-6C and EPC Class1 Gen2 standard.
2 is a flow chart for explaining an active RFID reader matching method of the SRP of the present invention.

이하에는 첨부한 도면을 참조하여 본 발명의 SRP의 능동형 RFID 리더 정합 방법의 바람직한 실시예에 대해 상세하게 설명한다.Hereinafter, with reference to the accompanying drawings will be described in detail a preferred embodiment of the active RFID reader matching method of the SRP of the present invention.

잘 알려진 바와 같이, 수동형 RFID 태그는 모든 정보가 논리적인 메모리 맵(logical memory map)에 저장되어 사용하는바, 도 1은 수동형 RFID 규격의 일종인 ISO/IEC 18000-6C 및 EPC Class1 Gen2 규격의 태그 메모리 구조도이다. 도 1에 도시한 바와 같이 ISO/IEC 18000-6C 및 EPC Class1 Gen2 규격의 태그는 전체 메모리 구조를 Bank00(RESERVED), Bank01(UII), Bank10(TID) 및 Bank11(USER)과 같은 4개로 구분하고 있다.As is well known, the passive RFID tag uses all information stored in a logical memory map. FIG. 1 is a tag of ISO / IEC 18000-6C and EPC Class1 Gen2 standard, which is a kind of passive RFID standard. Memory structure diagram. As shown in FIG. 1, the tag of ISO / IEC 18000-6C and EPC Class1 Gen2 standard divides the entire memory structure into four such as Bank00 (RESERVED), Bank01 (UII), Bank10 (TID), and Bank11 (USER). have.

여기에서 Bank00은 접근(access) 통제와 태그 불능화(kill)를 위한 패스워드 등을 저장하기 위한 예비(RESERVED) 영역이고 Bank01은 산업계에서 사용하기 위한 제품 ID 등의 정보가 인코딩되어 삽입되는 UII(Unique Item Identifier) 영역이다. Bank10은 태그의 고유 식별 번호가 저장되는 TID(Tag ID) 영역이고 Bank11은 사용자 정의에 의해 자유롭게 사용되는 유저 메모리(user memory) 영역이다.Bank00 is a reserved area for storing passwords for access control and tag killing, and Bank01 is a UII (Unique Item) in which information such as a product ID for use in industry is encoded and inserted. Identifier) field. Bank10 is a TID (Tag ID) area where a tag's unique identification number is stored, and Bank11 is a user memory area freely used by user definition.

한편, 수동형 RFID 리더는 태그 정보를 수집 또는 제어하기 위해 해당 태그 정보가 저장되어 있는 태그 메모리의 시작 번지(start address)를 입력함으로써 태그 정보에 접근한다. 이에 반해 능동형 RFID 태그는 OP(OPeration) 코드 형식으로 원하는 정보에 해당되는 명령(command)을 입력하여 태그 정보를 수집하도로 되어 있다. 또한 능동형 태그는 EPCglobal 코드 체계를 사용하지 않고 4바이트 형식의 태그 아이디(일련번호)를 사용하기 때문에 이러한 태그 아이디가 EPCglobal에서는 의미 없는 정보가 된다. 여기에서 EPCglobal은 RFID 관련 EPC(Electronic Product Code)의 표준화를 위해 2003년 관련 산업계를 중심으로 결성된 글로벌 표준화 단체이다.Meanwhile, the passive RFID reader accesses the tag information by inputting a start address of the tag memory in which the tag information is stored in order to collect or control the tag information. In contrast, active RFID tags may enter the command (command) corresponding to the desired information in OP (OP eration) code format is the tag information to the undercoating collected. In addition, since active tags use tag IDs (serial numbers) in 4-byte format instead of using the EPCglobal code system, these tag IDs become meaningless information in EPCglobal. EPCglobal is a global standardization organization formed around the industry in 2003 to standardize RFID related Electronic Product Code (EPC).

아래의 표 1은 SRP 프로토콜에서 사용하는 읽기(Read) 및 쓰기(Write) 명령의 메시지 형식이다.Table 1 below is the message format of read and write commands used in SRP protocol.

Message
Length
Message
Length
Message
ID
Message
ID
Operation
Code
Operation
Code
UII
Length
UII
Length
UIIUII Memory
Bank
Memory
Bank
Data
Pointer
Data
Pointer
Data
Length
Data
Length
Password
Length
Password
Length
PasswordPassword

위의 표 1에서 "Message Length"는 메시지의 길이로 무부호 정수형(Unsigned Short Integer)으로 표현되며, 해당 명령 메시지 전체의 길이를 바이트 단위로 표시한 값이다. "Message ID"는 메시지의 식별자로 무부호 정수형으로 표현되며, 1 또는 그 이상의 값을 갖는다. "Operation Code"는 명령어 코드로 예를 들어 읽기(Read) 명령은 0x52, 쓰기(Write) 명령은 0x57의 값을 갖는다.In Table 1 above, "Message Length" is the length of a message, which is expressed as an unsigned short integer. The length of the entire command message is expressed in bytes. "Message ID" is an identifier of a message, expressed as an unsigned integer, and has a value of 1 or more. "Operation Code" is a command code. For example, the read command has a value of 0x52 and the write command has a value of 0x57.

"UII Length"는 UII의 길이를 바이트 단위로 표시한 값으로 정수형으로 표현되며 0 에서 255 사이의 값을 갖는다. "UII"는 고유 아이템 식별자로 바이트 어레이(Byte Array)로 표현된다."UII Length" is a value representing the length of the UII in bytes, expressed as an integer, and has a value between 0 and 255. "UII" is represented by a byte array as a unique item identifier.

"Memory Bank"는 RFID 태그의 논리적인 블록을 지시하는 값으로 0에서 255 값을 갖는 무부호 정수형으로 표현된다. 예를 들어, ISO/IEC 18000-6C에 호환하는 RFID 태그의 경우 0에서 3까지의 값으로 표현되며, ISO/IEC 18000-6B에 호환하는 RFID 태그의 경우 0의 값으로 표현된다."Memory Bank" is a value indicating a logical block of an RFID tag and represented by an unsigned integer having a value of 0 to 255. For example, an RFID tag compliant with ISO / IEC 18000-6C is represented by a value from 0 to 3, and an RFID tag compliant with ISO / IEC 18000-6B is represented by a value of 0.

"Data Pointer"는 RFID 태그 메모리의 특정 영역의 시작점을 나타내는 포인터로서, Memory Bank의 시작점으로부터의 바이트 단위 위치를 표시한 값이고 무부호 정수형으로 표현된다."Data Pointer" is a pointer indicating the start point of a specific area of the RFID tag memory, indicating a byte position from the start point of the Memory Bank, and is represented by an unsigned integer type.

"Data Length"는 RFID 태그 메모리의 특정 영역을 구분하기 위한 값으로서 Data Pointer에서부터의 길이를 바이트 단위로 표시한 값이고 무부호 정수형으로 표현된다."Data Length" is a value for distinguishing a specific area of the RFID tag memory, representing the length from the Data Pointer in bytes, and expressed in an unsigned integer type.

"Password Length"는 읽기(Read) 명령을 수행하기 위해 필요한 Password의 길이를 바이트 단위로 표시한 값으로 0 에서 255 사이의 값을 갖는 무부호 정수형으로 표현된다."Password Length" represents the length of the password required to execute the read command in bytes and is represented by an unsigned integer having a value between 0 and 255.

"Password"는 RFID 태그 메모리의 특정 영역을 읽어 들이기 위해 필요한 암호 문자열로서 바이트 어레이로 표현된다."Password" is represented by an array of bytes as a password string necessary for reading a specific area of the RFID tag memory.

아래의 표 2는 SRP에서 사용하는 쓰기(Write) & 읽기(Read) 명령에 대한 응답 메시지이다.Table 2 below is a response message for the Write & Read command used in SRP.

Message
length
Message
length
Message
ID
Message
ID
Operation
Code
Operation
Code
Response
Code
Response
Code
Data
Length
Data
Length
Data Data

위의 표 2에서 "Message Length"는 메시지의 길이로 무부호 정수형으로 표현된다.In Table 2 above, "Message Length" is the length of a message expressed as an unsigned integer.

"Message ID"는 메시지 식별자로서 읽기(Read) 명령의 Message ID에서 사용된 값과 동일한 값을 가져야 하고, 무부호 정수형으로 표현된다."Message ID" should be the same as the value used in the Message ID of the Read command as a message identifier, and is represented by an unsigned integer type.

"Operation Code"는 명령어 코드로서 읽기(Read) 명령은 0x52, 쓰기(Write) 명령은 0x57의 값을 가져야 한다."Operation Code" is a command code. The read command should have a value of 0x52 and the write command of 0x57.

"Response Code"는 응답 코드로서 바이트로 표현된다."Response Code" is expressed in bytes as a response code.

"Data Length"는 데이터의(Data)의 길이를 바이트 단위 값을 표현(Read 에만 포함)한 것으로서 무부호 정수형으로 표현된다."Data Length" represents the length of the data (byte) and expresses it as an unsigned integer.

"Data"는 Read 명령을 통해 RFID 태그 메모리에서 읽어 들인 데이터를 의미(Read 에만 포함)하며, 바이트 어레이로 표현된다."Data" means the data read from the RFID tag memory through the Read command (including only the read), and is expressed as a byte array.

이와 같이 SRP 프로토콜은 원하는 태그 정보를 얻기 위해 그에 해당하는 메모리 주소를 데이터 포인터에 입력하는 방식으로 이루어져서 수동형 RFID 태그에 적합하도록 구현되어 있다.As such, the SRP protocol is implemented by inputting a memory address corresponding to the data pointer to obtain desired tag information, thereby implementing a suitable RFID tag.

한편 능동형 RFID 시스템에서의 "Collection with Universal Data Block" 명령은 ISO/IEC 18000-7에서 사용하는 인벤토리(Inventory) 명령으로서, 태그 아이디와 아래의 표 3에 있는 항목 중에서 부가적으로 원하는 태그 정보(Universal Data Block)를 수집하는 명령이다.Meanwhile, the "Collection with Universal Data Block" command in the active RFID system is an inventory command used in ISO / IEC 18000-7, and additionally provides desired tag information (Universal) among the tag ID and the items in Table 3 below. Data Block) command.

UDB
요소 타입 ID
UDB
Element type ID
설명Explanation 노트note
0x00 - 0x0A0x00-0x0A 예비(Reserved)Reserved 0x100x10 라우팅 코드(Routing Code) Routing Code 이 문서 내에서 정의된 라우팅 코드Routing Codes Defined Within This Document 0x110x11 유저 ID(User ID)User ID 이 문서 내에서 정의된 유저 IDUser IDs defined within this document 0x120x12 선택적 명령 리스트
(Optional Command List
Optional command list
(Optional Command List
이 태그 사에서 지원되는 선택적 명령을 위한 명령어 코드Command code for optional commands supported by this tag
0x130x13 메모리 사이즈
(Memory Size)
Memory size
(Memory Size)
이 태그에서 전체 및 이용 가능한 메모리Total and available memory in this tag
0x140x14 테이블 쿼리 사이즈
(Table Query Size)
Table query size
(Table Query Size)
이 태그 상에서 지원되는 테이블 쿼리 요소들의 전체 수Total number of table query elements supported on this tag
0x150x15 테이블 쿼리 결과
(Table Query Results)
Table query results
(Table Query Results)
이전에 실행된 테이블 쿼리에 대한 결과Results for previously run table queries
0x160x16 하드웨어 폴트 상태
(Hardware Fault Status)
Hardware fault status
(Hardware Fault Status)
태그 상태 워드에서 서비스 비트가 세트된 때 부가적인 정보를 제공하기 위한 하드웨어 리셋 카운트, 워치독 리셋 카운트 및 하드웨어 폴트 비트맵(로우 배터리 플래그를 포함)Hardware reset count, watchdog reset count, and hardware fault bitmap (includes low battery flag) to provide additional information when the service bit is set in the tag status word
0x17 - 0x7F0x17-0x7F 예비(Reserved)Reserved 이 요소는 미래의 태그 데이터 요소를 위해 예비된다.This element is reserved for future tag data elements. 0x80 - 0xFE0x80-0xFE 미래 확장
(Future extension)
Future expansion
(Future extension)
미래의 사용을 위해 예비됨Reserved for future use
0xFF0xFF 응용 요소
(Application Element)
Application element
(Application Element)
응용 확장(Application extensions) Application extensions

프로토콜 IDProtocol ID 패킷 옵션Packet options 패킷길이Packet length 세션 IDSession id 커맨드 코드Command code 커맨드 설명Command Description CRCCRC 0x400x40 1 바이트1 byte 1 바이트1 byte 2 바이트2 bytes 1 바이트1 byte N 바이트N bytes 2 바이트2 bytes

위의 표 4는 능동형 RFID에서 브로드캐스팅에 따른 리더-태그 커맨드 메시지 포맷을 나타낸다. 아래의 표 5는 능동형 RFID에서 피투피(peer to peer)에 따른 리더-태그 커맨드 메시지 포맷을 나타낸다.Table 4 above shows a reader-tag command message format according to broadcasting in active RFID. Table 5 below shows a leader-tag command message format according to peer to peer in active RFID.

프로토콜
ID
protocol
ID
패킷옵션Packet Option 패킷길이Packet length 태그제조
ID
Tag manufacturing
ID
태그
일련번호
tag
Serial Number
세션 IDSession id 커맨드 코드Command code 커맨드 설명Command Description CRCCRC
0x400x40 1 바이트1 byte 1 바이트1 byte 2 바이트2 bytes 4 바이트4 bytes 2 바이트2 bytes 1 바이트1 byte N 바이트N bytes 2 바이트2 bytes

프로토콜
ID
protocol
ID
태그상태Tag Status 패킷길이Packet length 세션 IDSession id 태그제조
ID
Tag manufacturing
ID
태그
일련번호
tag
Serial Number
커맨드 코드Command code 데이터data CRCCRC
0x400x40 2 바이트2 bytes 1 바이트1 byte 2 바이트2 bytes 2 바이트2 bytes 4 바이트4 bytes 1 바이트1 byte N 바이트N bytes 2 바이트2 bytes

프로토콜
ID
protocol
ID
태그상태Tag Status 패킷길이Packet length 세션 IDSession id 태그제조
ID
Tag manufacturing
ID
태그
일련번호
tag
Serial Number
커맨드 코드Command code 데이터data CRCCRC
0x400x40 2 바이트2 bytes 1 바이트1 byte 2 바이트2 bytes 2 바이트2 bytes 4 바이트4 bytes 1 바이트1 byte N 바이트N bytes 2 바이트2 bytes

위의 표 6은 능동형 RFID에서 브로드캐스트에 따른 태그-리더 응답 메시지 포맷이고, 위의 표 7은 능동형 RFID에서 피투피에 따른 태그-리더 응답 메시지 포맷이다.Table 6 above is a tag-reader response message format according to broadcast in active RFID, and Table 7 above is a tag-reader response message format according to P2P in active RFID.

위의 표 4 내지 표 7에서 프로토콜 ID(protocol ID)는 ISO/IEC 18000-7 규격의 프로토콜을 나타내는 고유 식별자로 0x40으로 고정되어 있다.In Table 4 to Table 7, the protocol ID (protocol ID) is a unique identifier indicating a protocol of the ISO / IEC 18000-7 standard is fixed to 0x40.

태그상태(tag status)는 응답 포맷, 태그 타입 및 알람과 하드웨어 오류 등과 같은 여러 상태를 나타낸다.Tag status represents various statuses such as response format, tag type and alarm and hardware error.

패킷길이(packet length)는 프로토콜 ID 필드로부터 CRC 필드까지를 포함하는 바이트 단위의 메시지 길이를 나타낸다.The packet length represents the message length in bytes including the protocol ID field and the CRC field.

세션 ID(session ID)는 특별 세션의 ID로서, 0x0001에서 0xFFFF 사이의 무부호 정수값이다, 세션 ID 0x00010은 예비되어 사용되지 않을 것이다.Session ID is the ID of a special session and is an unsigned integer value between 0x0001 and 0xFFFF. Session ID 0x00010 is reserved and will not be used.

태그제조 ID(tag manufacturer ID)는 제조사에 의해 할당된 고유 ID이다. 태그 일련번호(tag serial number)는 제조 과정에서 미리 정해진 태그의 고유 일련번호로서 수동형 태그에서 TID에 대응될 수 있다. 커맨드 코드(command code)는 리더로부터 수신한 명령 코드다.The tag manufacturer ID is a unique ID assigned by the manufacturer. The tag serial number is a unique serial number of a predetermined tag in the manufacturing process and may correspond to the TID in the passive tag. The command code is a command code received from the reader.

응답 데이터(response data)는 리더의 유효 커맨드에 대한 응답으로서 태그에 의해 반환된 데이터인바, 바이트 단위의 데이터 길이인 N 값은 커맨드에 따라 특수하게 주어진다, 에러가 감지된 경우에는 태그상태워드(tag status word) 내에 NACK 플래그가 세트될 것이다.The response data is the data returned by the tag as a response to the valid command of the reader. The N value, which is the data length in bytes, is given according to the command. If an error is detected, the tag status word (tag) NACK flag will be set in the status word).

커맨드 설명(command argument)은 추가 설명을 필요로 하는 커맨드에 대한 정의를 위해 커맨드와 함께 제공된다. 요구되는 설명의 내용과 길이는 각 커맨드에 따라 특수하게 정해진다.Command arguments are provided with the command to define commands that require further explanation. The content and length of the description required is specifically determined for each command.

CRC(cyclic redundancy check): 순환 잉여 검사로서, 에러 체크를 위해 주어진다.CRC (cyclic redundancy check): A cyclic redundancy check, given for error checking.

데이터(data)는 리더의 유효 브로드캐스트 커맨드에 대한 응답으로 태그에 의해 반환된 데이터로서, 바이트 단위의 데이터 길이인 N값은 커맨드에 따라 특수하게 주어진다. 태그가 무효인 커맨드를 수신하는 경우에는 리더로 어떠한 응답도 전송되지 않은 것이다.Data is data returned by the tag in response to a valid broadcast command of the reader, where N, the data length in bytes, is given specially according to the command. If the tag receives an invalid command, no response is sent to the reader.

아래의 표 8은 미들웨어와 리더 사이의 SRP에 따른 OP 코드 대 리더와 능동형 태그 사이에서 적용되는 OP 코드를 상호 매핑시킨 매핑 테이블이다.Table 8 below is a mapping table in which OP codes applied between SRP between middleware and readers and OP codes applied between readers and active tags are mutually mapped.

경우Occation SRP
(미들웨어 -> RFID 리더)
SRP
(Middleware-> RFID Reader)
ISO/IEC 18000-7
(RFID 리더 -> RFID 태그)
ISO / IEC 18000-7
(RFID Reader-> RFID Tag)
처리 방식Processing way
Operation CodeOperation Code 의미meaning CodeCode 의미meaning 1One 0x490x49 InventoryInventory 0x1F0x1F Collection with Universal Data BlockCollection with Universal Data Block 태그의 UserID 값을 수집하여 회신Collect and reply to tag's UserID value 22 0x520x52 ReadRead 0x600x60 Read MemoryRead Memory 사용자 메모리 조회User memory lookup 33 0x130x13 Read UserIDRead UserID 태그의 UserID 값을 수집하여 회신Collect and reply to tag's UserID value 44 0x090x09 Read Routing CodeRead Routing Code Routing Code 조회Routing Code Inquiry 55 0x0C0x0C Read Firmware VersionRead Firmware Version Firmware Version 조회Firmware Version Inquiry 66 0x0E0x0E Read Model NumberRead Model Number Model Number 조회Model Number Lookup 77 0x700x70 Read Universal Data BlockRead Universal Data Block Universal Data Block 조회Universal Data Block Inquiry 88 0x570x57 WriteWrite 0xE00xE0 Write MemoryWrite Memory 사용자 메모리(‘Bank11’) 기록User memory (‘Bank11’) history 99 0x930x93 Write UserIDWrite UserID 태그의 UserID 값(‘Bank01’)을 기록Record the tag's UserID value ("Bank01") 1010 0x890x89 Write Routing CodeWrite Routing Code Routing Code 기록Routing Code Record 1111 0x950x95 Set PasswordSet password Password 기록Password record 1212 0x4C0x4C LockLock 0x970x97 Set Password Protect ModeSet Password Protect Mode 데이터 변경 금지 설정Do not change data setting 1313 0x960x96 UnlockUnlock 데이터 변경 금지 설정 해제Turn off data change protection 1414 0x470x47 GetGet -- -- 리더의 속성 조회Property lookup of leader 1515 0x530x53 SetSet -- 리더의 속성 설정Set properties of the reader

위의 표 8에서 알 수 있는 바와 같이, SRP에서 인벤토리 명령은 0x49로 고정되어 있고 ISO/IEC 18000-7에서 이에 대응되는 Collection with Universal Data Block 역시 0x1F로 고정되어 있는바, 이 경우에는 두 명령을 일대일로 매핑시키면 별 문제가 없다. 그러나 SRP에서 읽기(Read) 명령은 0x52, 쓰기(Write) 명령은 0x57, 록(Lock) 명령은 0x4C로 고정되어 있는 반면에 ISO/IEC 18000-7에서는 이에 대응되는 명령이 다수 존재, 예를 들어 읽기(Read) 명령의 경우에 0x60은 User Memory Read 그리고 0x09는 Routing Code Read 등으로 세분되어 있다. 쓰기(Write) 명령의 경우에도 ISO/IEC 18000-7에서는 0xE0은 UserID Write, 0x89는 Routing Code Write 등으로 세분되어 있다. 따라서 미들웨어에서 SRP를 사용하여 능동형 태그의 각종 항목을 읽거나 쓰기 위해서는 더 많은 정보를 제공해야 하는바, 본 발명에서는 메모리 뱅크와 데이터 포인터를 차등 부여하여 이를 해결하고 있다.As shown in Table 8 above, the inventory command is fixed at 0x49 in SRP and the corresponding Collection with Universal Data Block in ISO / IEC 18000-7 is also fixed at 0x1F. One-to-one mapping is no problem. In SRP, however, the read command is fixed at 0x52, the write command is 0x57, and the lock command is 0x4C, whereas in ISO / IEC 18000-7 there are a number of commands that correspond to it. In case of Read command, 0x60 is subdivided into User Memory Read and 0x09 is Routing Code Read. In the case of the Write command, 0xE0 is divided into UserID Write and 0x89 is Routing Code Write in ISO / IEC 18000-7. Therefore, in order to read or write various items of an active tag using SRP in middleware, more information must be provided. In the present invention, the memory bank and data pointers are differentially solved.

도 2는 본 발명의 SRP의 능동형 RFID 리더 정합 방법을 설명하기 위한 흐름도이다. 도 2에 도시한 바와 같이, 본 발명의 SRP의 능동형 RFID 리더 정합 방법에 따르면 미들웨어(100)는 SRP를 사용하여 리더(200)에게 능동형 태그(300)로부터 데이터 수집하거나 능동형 태그(300)에 데이터를 기록할 것을 지시(단계 S10)한다.2 is a flowchart illustrating an active RFID reader matching method of the SRP of the present invention. As shown in FIG. 2, according to the active RFID reader matching method of the SRP of the present invention, the middleware 100 collects data from the active tag 300 to the reader 200 using the SRP or transmits data to the active tag 300. It is instructed to record (step S10).

아래의 표 9는 수동형 RFID 태그 메모리 구조에 대응되는 능동형 RFID 태그의 가상 메모리 구조를 보인 테이블인바, 도 8과 도 9의 테이블은 사전에 리더에 저장되어 있다.Table 9 below shows a virtual memory structure of the active RFID tag corresponding to the passive RFID tag memory structure. The tables of FIGS. 8 and 9 are previously stored in the reader.

Memory BankMemory bank Offset
(Start
Address)
Offset
(Start
Address)
Length (Byte)Length (Byte) Virtual Location (Bit)Virtual Location (Bit) 값 예제Value example 의미meaning
Bank11Bank11 0x000x00 NN 00h-1Fh 00 h -1 F h "20100101""20100101" Bank10Bank10 0x000x00 44 00h-1Fh 00 h -1 F h "LGH1"(0x4C474831)"LGH1" (0x4C474831) TIDTID Bank01Bank01 0x000x00 NN 00h-7Fh 00 h -7F h "350000001000001000000001""350000001000001000000001" UserIDUserID Bank00Bank00 0x0D0x0D NN 58h-97h 58 h -97 h "350000001000001000000001""350000001000001000000001" UDBUDB 0x0A0x0A NN 50h-57h 50 h -57 h "KOR"(0x4B4F52)"KOR" (0x4B4F52) Routing CodeRouting Code 0x060x06 44 30h-4Fh 30 h -4 F h "V0.1" (0x56302E31)"V0.1" (0x56302E31) Firmware VersionFirmware Version 0x040x04 22 20h-2Fh 20 h -2F h "T1" (0x5431)"T1" (0x5431) Model NumberModel Number 0x000x00 44 00h-1Fh 00 h -1 F h "1234" (0x01020304)"1234" (0x01020304) PasswordPassword

위의 표 9에 나타낸 바와 같이, 수동형 태그에서 사용자 메모리(User Memory) 영역은 Bank11에 대응되고 0x00을 시작 번지로 하여 총 8바이트가 할당된다. 따라서 미들웨어(100)가 SRP를 사용하여 능동형 태그(300)의 사용자 메모리를 읽고자 하는 경우에는 위의 표 1에서 OP 코드(Operation Code) 필드에 0x52를 기입하고, UII 길이(UII Length) 필드에 12를 기입하고, UII 필드에 96비트의 EPC 코드로 예를 들어 "350000001000001000000001"을 기입하며, 메모리 뱅크(Memory Bank) 필드에 3을 기입하고, 데이터 포인터(Data Pointer) 필드에 0x00을 기입하며, 데이터 길이(Data Length)에 해당 숫자를 기입하여 리더(200)로 전송하게 되는데, 이를 도표화하면 아래의 표 10과 같다. 여기에서, EPC 코드는 능등형 태그의 식별 정보로 사용되고 있다.As shown in Table 9 above, in the passive tag, the user memory area corresponds to Bank11 and a total of 8 bytes are allocated using 0x00 as a starting address. Therefore, when the middleware 100 wants to read the user memory of the active tag 300 using the SRP, 0x52 is written in the Operation Code field in Table 1 above, and the UII Length field is entered in the UII Length field. Write 12, write "350000001000001000000001" in 96-bit EPC code in the UII field, write 3 in the Memory Bank field, 0x00 in the Data Pointer field, A corresponding number is written in the data length and transmitted to the reader 200. The chart is shown in Table 10 below. Here, the EPC code is used as identification information of the ridge tag.

Message
Length
Message
Length
Message
ID
Message
ID
Operation
Code
Operation
Code
UII
Length
UII
Length
UIIUII Memory
Bank
Memory
Bank
Data
Pointer
Data
Pointer
Data
Length
Data
Length
Password
Length
Password
Length
PasswordPassword
데이터 길이에 따라 결정됨Depends on data length 임의 부여Random grant 0x520x52 1212 위의 EPC 코드EPC code above 33 0x000x00 해당 숫자The number 00 00000000

다시 도 2로 돌아가서, 리더(200)는 이러한 표 10의 내용에서 OP 코드를 확인하고, 이어서 메모리 뱅크 정보와 데이터 포인터를 확인한 후에 이를 표 8과 표 9에서 조회하여 미들웨어(100)로부터의 명령이 유저 메모리 영역의 내용을 읽어라"라는 것으로 확인(단계 S20)하고, 이어서 위의 표 5에서 커맨드 코드 필드에 0x60을 기입하고, 커맨드 설명에 UII 필드의 내용, 즉 "350000001000001000000001"을 기입하여 능동형 태그(300)로 전송(단계 S30)하게 된다. 이 과정에서 리더는 미들웨어로부터 전달받은 커맨드 메시지의 메시지 ID와 해당 EPC 코드를 매칭시켜 저장하고 있다가 추후 능동형 태그(300)로부터 응답이 오면 이러한 메시지 ID를 표 2의 메시지 ID 필드에 기재하여 미들웨어(100)로 전송하게 된다.2 again, the reader 200 checks the OP code in the contents of Table 10, and then checks the memory bank information and the data pointers, and inquires them in Tables 8 and 9 so that the command from the middleware 100 can be executed. Read the contents of the user memory area " In step S30, the reader matches and stores the message ID of the command message received from the middleware and the corresponding EPC code, and then sends the message ID when a response is received from the active tag 300 later. The message ID field of Table 2 is used to transmit the information to the middleware 100.

마찬가지 방법으로, UserID 읽기(Read) 명령, Routing Code 읽기(Read) 명령, Firmware Version 읽기(Read) 명령, Model Number 읽기(Read) 명령 및 UDB(Universal Data Block) 읽기(Read) 명령은 예를 들어 아래의 표 11과 같이 주어질 수 있다.Similarly, the Read UserID command, the Routing Code Read command, the Firmware Version Read command, the Model Number Read command, and the Universal Data Block (UDB) Read command are, for example, It can be given as Table 11 below.

읽기 명령의 종류
Type of read command
Message
Length
Message
Length
Message
ID
Message
ID
Operation
Code
Operation
Code
UII
Length
UII
Length
UIIUII Memory
Bank
Memory
Bank
Data
Pointer
Data
Pointer
Data
Length
Data
Length
Password
Length
Password
Length
PasswordPassword
UserIDUserID 데이터 길이에 따라
결정됨
According to the data length
Determined
임의
부여
option
grant
0x520x52 1212 위의 EPC 코드EPC code above 1One 0x000x00 1212 00 00000000
Routing
Code
Routing
Code
1212 00 0x0A0x0A 3
(KOR)
3
(KOR)
00 00000000
Firmware
Version
Firmware
Version
1212 00 0x060x06 4
(V0.1)
4
(V0.1)
00 00000000
Model
Number
Model
Number
1212 00 0x040x04 2
(T1)
2
(T1)
00 00000000
UDBUDB 1212 00 0x0D0x0D 88 00 00000000

한편, 인벤토리, 즉 Collection with Universal Data Block을 명령하면서 태그 아이디(일련번호) 이외에 표 3에 나타낸 다른 UDB 요소 중 하나, 예를 들어 능동형 태그(300)의 UserID 영역에 사전(제조시)에 기록된 EPC 코드 등을 추가로 수집할 수도 있는데, 이 경우에 위의 표 1에서 OP 코드(Operation Code) 필드에 0x49(표 8 참조)를 기입하고, 메모리 뱅크(Memory Bank) 필드에 0을 기입하고, 데이터 포인터(Data Pointer) 필드에 0x11(표 3 참조)을 기입하며, 데이터 길이(Data Length)에 "12"를 기입하여 리더(200)로 전송하게 된다. 그러면, 리더(200)는 OP 코드 필드를 확인하여 해당 명령이 인벤토리 명령인 것을 확인하고, 다시 메모리 뱅크(Memory Bank)와 데이터 포인터(Data Pointer) 필드를 확인하여 해당하는 UDB 요소, 즉 UserID를 확인하게 된다. 이후에 표 4 또는 표 5에서 커맨드 코드 필드에 0x1F(표 8 참조)를 기입하고, 커맨드 설명 필드에 0x11을 기입하여 커맨드 메시지 포맷을 완성한 후에 능동형 태그(300)로 전송하게 된다.Meanwhile, in addition to the tag ID (serial number) while instructing the inventory, that is, the Collection with Universal Data Block, one of the other UDB elements shown in Table 3, for example, is recorded in a dictionary (at the time of manufacture) in the UserID area of the active tag 300. In addition, in this case, 0x49 (see Table 8) in the Operation Code field in Table 1 above, 0 in the Memory Bank field, 0x11 (see Table 3) is written in the data pointer field, and “12” is written in the data length and transmitted to the reader 200. Then, the reader 200 checks the OP code field to confirm that the command is an inventory command, and again checks the memory bank and data pointer fields to identify the corresponding UDB element, that is, the UserID. Done. Subsequently, 0x1F (see Table 8) is written in the command code field in Table 4 or 5, and 0x11 is written in the command description field to complete the command message format, and then transmitted to the active tag 300.

다음으로, 능동형 태그(300)에서는 리더(200)로부터 위의 표 10에 나타낸 바와 같은 커맨드 메시지를 전달받은 경우에 표 6에 나타낸 응답 메시지 포맷의 커맨드 코드 필드에 표 8에 나타낸 해당 명령, 즉 0x11을 기입하고, 데이터 필드에 해당하는 정보, 즉 UserID 영역에 기록된 EPC 코드를 기입하여 리더(200)로 전송(단계 S40)하는데, 여기에서 당해 능동형 태그의 식별은 태그 아이디(일련번호)의해 수행될 수 있다.Next, in the active tag 300, when the command message as shown in Table 10 above is received from the reader 200, the corresponding command shown in Table 8 in the command code field of the response message format shown in Table 6, that is, 0x11. And the information corresponding to the data field, that is, the EPC code recorded in the UserID area, is written and transmitted to the reader 200 (step S40), where the identification of the active tag is performed by a tag ID (serial number). Can be.

이후 리더(200)에서는 전달받은 응답 메시지에 포함된 커맨드 코드를 표 8의 매핑 테이블에서 조회하여 해당하는 상응하는 SRP용 OP 코드로 변환하고, 이렇게 확인된 OP 코드와 데이터를 표 2에 나타낸 SRP 응답 메시지 포맷의 OP 코드 필드와 데이터 필드에 기입하여 미들웨어(100)에 전송(단계 S60)하게 된다.Then, the reader 200 converts the command code included in the received response message from the mapping table of Table 8 to the corresponding OP code for SRP, and converts the OP code and data thus identified into the SRP response shown in Table 2. The data is written to the OP code field and the data field of the message format and transmitted to the middleware 100 (step S60).

위의 표 11의 각 명령에 대해서도 미들웨어(100)에서는 전술한 바와 동일한 방식으로 리더(200)에 SRP에 따른 커맨드 메시지를 전달하는데, 이후 리더(200)에서는 여기에서 OP 코드 필드와 데이터 뱅크 및 데이터 포인터 필드를 확인하고, 이렇게 확인된 내용을 표 8 및 표 9에서 조회하여 능동형 태그(300)로 전달될 커맨드 메시지를 완성한 후에 능동형 태그(300)로 전송한다.For each command of Table 11 above, the middleware 100 delivers the command message according to the SRP to the reader 200 in the same manner as described above, and the reader 200 then stores the OP code field, data bank, and data. The pointer field is checked, and the checked contents are inquired in Tables 8 and 9 to complete the command message to be delivered to the active tag 300 and then transmitted to the active tag 300.

아래의 표 12는 위의 표 11의 명령에 대한 능동형 태그(300)로부터의 응답 메시지를 SRP 포맷으로 변환한 도표인바, 리더(200)에서는 능동형 태그(300)로부터의 응답 메시지에 포함된 OP 코드를 확인하고, 이렇게 확인된 OP 코드와 데이터의 길이 및 데이터를 기입하여 표 12의 SRP에 따른 응답 메시지 포맷을 완성한 후에 미들웨어(100)에 전송(단계 S60)하게 된다. 여기에서도 마찬가지로 해당 능동형 태그(300)의 식별은 미들웨어(100)가 SRP에 의해 작성한 커맨드 메시지의 메시지 ID에 의해 수행될 수 있다.Table 12 below is a diagram of the response message from the active tag 300 to the SRP format for the command of Table 11 above, in the reader 200, the OP code included in the response message from the active tag 300 After confirming, and writing the OP code and the data length and the data thus confirmed, the response message format according to the SRP of Table 12 is completed and then transmitted to the middleware 100 (step S60). Here too, the identification of the active tag 300 may be performed by the message ID of the command message written by the middleware 100 by the SRP.

응답answer Message
length
Message
length
Message
ID
Message
ID
Operation
Code
Operation
Code
Response
Code
Response
Code
Data
Length
Data
Length
Data Data
UserIDUserID 데이터 길이에 따라 결정됨Depends on data length 명령 메시지와 동일Same as command message 0x520x52 해당코드Code 1212 위의 EPC 코드EPC code above Routing CodeRouting Code 33 4B4F52(표 9 참조)4B4F52 (see Table 9) Firmware VersionFirmware Version 44 56302E31(표 9 참조)56302E31 (see Table 9) Model NumberModel Number 22 5432(표 9 참조)5432 (see Table 9)

마찬가지 방법으로 미들웨어(100)가 SRP를 사용하여 능동형 태그(300)의 사용자 메모리에 특정 데이터, 예를 들어 EPC 코드를 쓰고자 하는 경우에는 위의 표 1에서 OP 코드(Operation Code) 필드에 0x57을 기입하고, UII 길이(UII Length) 필드에 12를 기입하고, UII 필드에 96비트의 EPC 코드로 예를 들어 "350000001000001000000001"을 기입하며, 메모리 뱅크(Memory Bank) 필드에 3을 기입하고, 데이터 포인터(Data Pointer) 필드에 0x00을 기입하며, 데이터 길이(Data Length)에 "8"을 기입하여 리더(200)로 전달하게 되는데, 이와 그 외의 다른 쓰기 명령을 도표화하면 아래의 표 13과 같다.In the same manner, when the middleware 100 wants to write specific data, for example, an EPC code, to the user memory of the active tag 300 using SRP, 0x57 is entered in the Operation Code field in Table 1 above. Write, write 12 in the UII Length field, write "350000001000001000000001" in 96-bit EPC code in the UII field, write 3 in the Memory Bank field, and write the data pointer. 0x00 is written in the (Data Pointer) field and " 8 " is written in the data length, and the data is transmitted to the reader 200. Tables of other write commands are shown in Table 13 below.

쓰기 명령의 종류Type of write command Message
Length
Message
Length
Message
ID
Message
ID
Operation
Code
Operation
Code
UII
Length
UII
Length
UIIUII Memory
Bank
Memory
Bank
Data
Pointer
Data
Pointer
Data
Length
Data
Length
Password
Length
Password
Length
PasswordPassword
MemoryMemory 데이터 길이에 따라
결정됨
According to the data length
Determined
임의 부여Random grant 0x570x57 1212 위의 EPC
코드
EPC above
code
33 0x000x00 1212 00 00000000
UserIDUserID 1212 1One 0x000x00 1212 00 00000000 Routing
Code
Routing
Code
1212 00 0x0A0x0A 3
(KOR)
3
(KOR)
00 00000000
Firmware
Version
Firmware
Version
1212 00 0x060x06 4
(V0.1)
4
(V0.1)
00 00000000
Model
Number
Model
Number
1212 00 0x040x04 2
(T1)
2
(T1)
00 00000000
UDBUDB 1212 00 0x0D0x0D 88 00 00000000

본 발명은 전술한 실시예에 국한되지 않고 본 발명의 기술사상이 허용하는 범위 내에서 다양하게 변형하여 실시할 수가 있다.The present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the technical idea of the present invention.

100: 미들웨어, 200: RFID 리더,
300: 능동형 태그
100: middleware, 200: RFID reader,
300: active tag

Claims (2)

수동형 태그에 대해 미들웨어와 리더 사이에서 적용되는 SRP(Simple Reader Protocol)에 따른 OP 코드(Operation Code)와 수동형 태그의 메모리를 구분하여 구성하는 메모리 뱅크의 종류 및 해당 메모리 뱅크의 시작 주소인 데이터 포인터를 리더와 능동형 태그 사이에서 적용되는 다수의 OP 코드에 매핑시킨 테이블을 구비한 리더에 의해 수행되되,
미들웨어로부터의 SRP에 따른 명령에 포함된 OP 코드와 메모리 뱅크의 종류 및 데이터 포인터를 전달받는 (a) 단계;
상기 (a) 단계에서 전달받은 OP 코드와 메모리 뱅크의 종류 및 데이터 포인터를 상기 테이블에서 조회하여 능동형 태그에 대한 OP 코드를 확인한 후에 이렇게 확인된 OP 코드를 기입하여 작성한 커맨드 메시지를 능동형 태그로 전송하는 (c) 단계 및
능동형 태그로부터의 응답 메시지에 포함된 OP 코드를 상기 테이블에서 조회하여 대응되는 수동형 태그의 OP 코드를 확인한 후에 이렇게 확인된 OP 코드를 기입하여 SRP에 따른 응답 메시지를 작성한 후에 미들웨어로 전달하는 (d) 단계를 포함하여 이루어진 SRP의 능동형 RFID 리더 정합 방법.
For the passive tag, type of memory bank that divides the operation code (OP code) according to the Simple Reader Protocol (SRP) applied between middleware and the reader and the memory of the passive tag, and the data pointer which is the start address of the corresponding memory bank. Performed by a reader with a table mapped to multiple OP codes applied between the reader and the active tag,
(A) receiving an OP code, a memory bank type, and a data pointer included in an instruction according to the SRP from the middleware;
After checking the OP code for the active tag by inquiring the OP code, the type of memory bank, and the data pointer transmitted in the step (a) in the table, transmitting the command message written by writing the confirmed OP code to the active tag. (c) step and
(D) Inquiring the OP code included in the response message from the active tag in the table to confirm the OP code of the corresponding passive tag, write the OP code so confirmed, create a response message according to the SRP, and deliver it to the middleware (d) SRP active RFID reader matching method comprising the step.
제 1 항에 있어서,
리더가 인벤토리 명령에 의해 유저 메모리 영역의 내용을 읽는 명령을 상기 커맨드 메시지에 담아서 능동형 태그에 전송하고,
능동형 태그로부터 전달받은 상기 유저 메모리 영역의 내용을 SRP에 따른 응답 메시지에 담아서 미들웨어로 전송하되,
능동형 태그의 상기 유저 메모리 영역에는 EPC 코드가 사전에 기록되어 있는 것을 특징으로 하는 SRP의 능동형 RFID 리더 정합 방법.
The method of claim 1,
The reader sends the command to read the contents of the user memory area by the inventory command in the command message to the active tag,
Send the contents of the user memory area received from the active tag in the response message according to the SRP to the middleware,
And an EPC code is pre-recorded in the user memory area of the active tag.
KR1020110004411A 2011-01-17 2011-01-17 Method for matcing active rfid reader of simple reader protocol KR101131461B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020110004411A KR101131461B1 (en) 2011-01-17 2011-01-17 Method for matcing active rfid reader of simple reader protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020110004411A KR101131461B1 (en) 2011-01-17 2011-01-17 Method for matcing active rfid reader of simple reader protocol

Publications (1)

Publication Number Publication Date
KR101131461B1 true KR101131461B1 (en) 2012-03-30

Family

ID=46142960

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020110004411A KR101131461B1 (en) 2011-01-17 2011-01-17 Method for matcing active rfid reader of simple reader protocol

Country Status (1)

Country Link
KR (1) KR101131461B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100880883B1 (en) 2006-11-14 2009-01-30 포스데이타 주식회사 Business process management system and method in RFID middleware

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100880883B1 (en) 2006-11-14 2009-01-30 포스데이타 주식회사 Business process management system and method in RFID middleware

Similar Documents

Publication Publication Date Title
US8482389B2 (en) Reader control system
US20060187031A1 (en) Selecting RFID tags using memory-mapped parameters
EP2097838B1 (en) A method for storing data in a rfid transponder
US8044774B1 (en) RFID tag chips and tags able to be partially killed and methods
US9342776B2 (en) Method for storing data as well as transponder, a read/write-device, a computer readable medium including a program element and such a program element adapted to perform this method
US9208360B2 (en) RFID tag for RFID service and RFID service method thereof
JP6516133B2 (en) Communication device and communication system
US10931331B2 (en) Communication device and method
KR20090087427A (en) Rfid communication method
KR101131461B1 (en) Method for matcing active rfid reader of simple reader protocol
KR101112535B1 (en) Method for Authenticating RFID Readers by Using Flags in RFID Tag
CN114239629B (en) Anti-counterfeiting verification method of label, UHF handheld terminal and storage medium
JP2005208779A (en) Device, reading device, and id (identifier) communication system
KR20120051111A (en) Method for managing middle-ware mobile rfid environment

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20150306

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20160310

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20170310

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20180212

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20190320

Year of fee payment: 8