KR101189805B1 - method for recognizing radio Frequency identification tag reader and apparatus thereof - Google Patents

method for recognizing radio Frequency identification tag reader and apparatus thereof Download PDF

Info

Publication number
KR101189805B1
KR101189805B1 KR1020090043245A KR20090043245A KR101189805B1 KR 101189805 B1 KR101189805 B1 KR 101189805B1 KR 1020090043245 A KR1020090043245 A KR 1020090043245A KR 20090043245 A KR20090043245 A KR 20090043245A KR 101189805 B1 KR101189805 B1 KR 101189805B1
Authority
KR
South Korea
Prior art keywords
rfid reader
message
request message
address
service
Prior art date
Application number
KR1020090043245A
Other languages
Korean (ko)
Other versions
KR20100065049A (en
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 US12/625,228 priority Critical patent/US8334755B2/en
Publication of KR20100065049A publication Critical patent/KR20100065049A/en
Application granted granted Critical
Publication of KR101189805B1 publication Critical patent/KR101189805B1/en

Links

Images

Classifications

    • H04B5/77
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types

Abstract

본 발명은 무선주파수 식별 태그 리더의 인식 방법 및 그 장치에 관한 것이다. The present invention relates to a method and apparatus for recognizing a radio frequency identification tag reader.

복수의 무선 주파수 식별 태그(Radio Frequency Identification: 이하, RFID 라고 명명함) 리더들의 프로토콜 주소를 회득하기 위하여, 생성 시간을 나타내는 타임스탬프를 포함하는 요청 메시지를 생성하여 전송하고, 복수의 RFID 리더들 중 하나의 RFID 리더로부터 상기 요청 메시지에 대한 응답 메시지를 수신한다. 응답 메시지에 포함된 타임스탬프가 설정 조건을 만족하는 경우에, 응답 메시지로부터 RFID 리더의 하드웨어 주소 및 프로토콜 주소를 추출한다. In order to acquire protocol addresses of a plurality of Radio Frequency Identification tags (RFID) readers, a request message including a timestamp indicating a generation time is generated and transmitted, and among the plurality of RFID readers. A response message to the request message is received from one RFID reader. When the time stamp included in the response message satisfies the setting condition, the hardware address and the protocol address of the RFID reader are extracted from the response message.

무선주파수식별태그, RFID, RFID미들웨어, 프로토콜주소, RARP Radio Frequency Identification Tag, RFID, RFID Middleware, Protocol Address, RARP

Description

무선 주파수 식별 태그 리더의 인식 방법 및 그 장치{method for recognizing radio Frequency identification tag reader and apparatus thereof}Method for recognizing radio frequency identification tag reader and apparatus

본 발명은 인식 방법 및 시스템에 관한 것으로 더욱 상세하게 말하자면, 무선 주파수 식별(Radio Frequency Identification: 이하, RFID 라고 명명함) 태그 리더를 인식하는 방법 및 그 장치에 관한 것이다. The present invention relates to a recognition method and system, and more particularly, to a method and apparatus for recognizing a radio frequency identification (hereinafter referred to as RFID) tag reader.

본 발명은 지식 경제부의 IT 성장 동력 기술 개발 사업의 일환으로 수행한 연구로부터 도출된 것이다[과제관리번호:2006-S-022-03, 과제명: USN 미들웨어 플렛폼 기술개발].The present invention is derived from a study conducted as part of the IT growth engine technology development project of the Ministry of Knowledge Economy [Task management number: 2006-S-022-03, task name: USN middleware platform technology development].

RFID 기술은 RFID 태그 데이터를 식별하고 수집하는 RFID 리더 기술을 비롯하여, RFID 리더가 수집한 태그 데이터를 전달받아 이벤트를 발생시키고 다양한 사용자 응용 솔루션을 제공하는 RFID 미들웨어 기술에 이르기까지, 다양한 수준의 소프트웨어 솔루션들이 있다. RFID technology ranges from RFID reader technology that identifies and collects RFID tag data, to RFID middleware technology that generates tag events collected by RFID readers to generate events and provide various user application solutions. There is.

RFID 리더를 관리하기 위해 사용되는 소프트웨어 기술은 주로 RFID 리더 어댑터 수준으로 제공되므로, 사용자는 직접 RFID 리더에 접근하여 소프트웨어 설치 및 운용을 수동으로 수행하였다. 즉, RFID 리더의 초기 설치 및 운용 시작 전의 제어가 수동으로 이루어진 후에, RFID 미들웨어로 수집된 RFID 태그 데이터를 처리하는 형식의 소프트웨어 기술이 주로 사용되었다.Since the software technology used to manage the RFID reader is mainly provided at the level of the RFID reader adapter, the user directly accesses the RFID reader and performs the software installation and operation manually. That is, after the initial control of the RFID reader and the control prior to the start of operation are performed manually, the software technology of the form of processing the RFID tag data collected by the RFID middleware is mainly used.

그러나, RFID 태그 기술이 고도화 되면서 RFID 태그의 물적 증가는 관리의 대상이 되는 RFID 리더의 물적 증가 또한 초래하게 된다. 이러한 경우에는 사용자가 모든 RFID 리더들을 수동으로 운용하는 것은 큰 문제점이 된다. 최근에 RFID 미들웨어 기술이 발전되면서 설치가 완료된 RFID 리더를 대상으로 미들웨어를 통한 제어를 실시하는 등의 제어 기술은 발전하였으나, RFID 리더의 초기 설치는 여전히 수동으로 이루어지고 있다. However, as the RFID tag technology is advanced, the physical increase of the RFID tag also causes the physical increase of the RFID reader to be managed. In this case, it is a big problem for the user to manually operate all the RFID readers. Recently, with the development of RFID middleware technology, the control technology such as controlling the middleware for the installed RFID reader has been developed. However, the initial installation of the RFID reader is still performed manually.

일반적으로 RFID 미들웨어가 제어할 수 있는 지역 망에 접속한 RFID 리더는 초기에 자신의 프로토콜 주소 즉, IP(internet protocol) 주소를 가지고 있지 않으므로, IP 분배 서버(예를 들어, DHCP 서버, RARP 서버 등)로부터 IP 주소를 할당 받아야 한다. 그러나 RFID 리더가 사용자의 개입이 없이 초기 설치를 마치기 위해서는 자동으로 자신의 IP 주소를 할당 받아야 하며, 이후 RFID 미들웨어와 RFID 리더가 통신하기 위해서는 결국, RFID 미들웨어가 RFID 리더가 어떤 IP 주소를 획득하였는지 알아야 한다.In general, an RFID reader connected to a local network that can be controlled by an RFID middleware does not initially have its own protocol address, that is, an IP (internet protocol) address. Thus, an IP distribution server (for example, a DHCP server or a RARP server) Must be assigned an IP address. However, the RFID reader must be assigned its own IP address automatically to complete the initial installation without user intervention.In order for the RFID middleware to communicate with the RFID reader afterwards, the RFID middleware must know what IP address the RFID reader obtained. do.

본 발명이 이루고자 하는 기술적 과제는, 사용자의 개입 없이 자동으로 RFID 리더를 인식할 수 있는 방법 및 장치를 제공하는 것이다. SUMMARY OF THE INVENTION The present invention has been made in an effort to provide a method and apparatus for automatically recognizing an RFID reader without user intervention.

또한 본 발명이 이루고자 하는 기술적 과제는 자동으로 인식된 RFID 리더에 대하여 서비스 구성 정보를 획득하는 방법 및 장치를 제공하는 것이다. Another object of the present invention is to provide a method and apparatus for obtaining service configuration information for an automatically recognized RFID reader.

본 발명의 특징에 따른 RFID 리더 인식 방법은, 프로토콜 주소를 이미 획득한 복수의 무선 주파수 식별 태그(Radio Frequency Identification: 이하, RFID 라고 명명함) 리더들을 인식하는 장치의 RFID 리더 인식 방법에 있어서, RFID 리더의 프로토콜 주소를 요청하며, 상기 장치의 하드웨어 주소와 프로토콜 주소를 포함하는 요청 메시지--상기 요청 메시지는 생성 시간을 나타내는 타임스탬프를 포함함--를 생성하는 단계; 상기 요청 메시지를 전송하는 단계; 상기 복수의 RFID 리더들 중 하나의 RFID 리더로부터 상기 요청 메시지에 대한 응답 메시지--상기 응답 메시지는 해당 RFID 리더의 하드웨어 주소 및 프로토콜 주소 그리고 상기 요청 메시지의 타임스탬프를 포함함--를 수신하는 단계; 상기 응답 메시지에 포함된 타임스탬프가 설정 조건을 만족하는 경우에, 상기 응답 메시지로부터 RFID 리더의 하드웨어 주소 및 프로토콜 주소를 추출하는 단계; 및 상기 추출된 RFID 리더의 하드웨어 주소에 상기 추출된 프로토콜 주소를 대응시켜 관리하는 단계를 포함한다. In a RFID reader recognition method according to an aspect of the present invention, RFID reader recognition method of a device for recognizing a plurality of radio frequency identification (RFID) readers having already obtained a protocol address, RFID Requesting a protocol address of a reader, generating a request message comprising a hardware address and a protocol address of the device, the request message comprising a timestamp indicating a creation time; Sending the request message; Receiving a response message to the request message from one of the plurality of RFID readers, the response message including a hardware address and a protocol address of the corresponding RFID reader and a timestamp of the request message. ; Extracting a hardware address and a protocol address of an RFID reader from the response message when the time stamp included in the response message satisfies a setting condition; And managing the extracted protocol address by mapping the extracted hardware address of the RFID reader.

본 발명의 다른 특징에 따른 RFID 리더 인식 장치는, 프로토콜 주소를 이미 획득한 복수의 무선 주파수 식별 태그(Radio Frequency Identification: 이하, RFID 라고 명명함) 리더들을 인식하는 장치에서, RFID 리더의 프로토콜 주소를 요청하며, 상기 장치의 하드웨어 주소와 프로토콜 주소를 포함하는 요청 메시지--상기 요청 메시지는 생성 시간을 나타내는 타임스탬프를 포함함--를 생성하는 요청 처리부; 상기 복수의 RFID 리더들 중 하나의 RFID 리더로부터 상기 요청 메시지에 대한 응답 메시지--상기 응답 메시지는 해당 RFID 리더의 하드웨어 주소 및 프로토콜 주소 그리고 상기 요청 메시지의 타임스탬프를 포함함--를 제공받아 처리하는 응답 처리부; 상기 요청 메시지를 생성하는데 필요한 타임스탬프를 포함하는 정보를 저장하는 메시지 테이블; 및 상기 RFID 리더의 하드웨어 주소 및 프로토콜 주소가 저장되는 주소 테이블을 포함한다. 여기서 상기 응답 처리부는, 상기 응답 메시지에 포함된 타임스탬프가 설정 조건을 만족하는 경우에, 상기 응답 메시지로부터 RFID 리더의 하드웨어 주소 및 프로토콜 주소를 추출하여 상기 주소 테이블에 저장한다. According to another aspect of the present invention, an RFID reader recognition apparatus includes a protocol address of an RFID reader in an apparatus for recognizing a plurality of Radio Frequency Identification (RFID) readers that have already obtained a protocol address. A request processing unit for generating a request message, wherein the request message comprises a hardware address and a protocol address of the device, the request message including a timestamp indicating a generation time; Receiving and processing a response message for the request message from one of the plurality of RFID readers, the response message including a hardware address and a protocol address of the corresponding RFID reader and a timestamp of the request message A response processor; A message table for storing information including a timestamp required to generate the request message; And an address table in which hardware addresses and protocol addresses of the RFID reader are stored. Here, when the time stamp included in the response message satisfies a setting condition, the response processor extracts a hardware address and a protocol address of the RFID reader from the response message and stores the extracted hardware address and protocol address in the address table.

본 발명의 실시 예에 따르면, 확장된 RARP(Reverse Address Resolution Protocol)에 따른 메시지를 이용하여 RFID 리더의 프로토콜 주소를 획득할 수 있으며, 동시에 해당 RFID 리더의 서비스 구성 정보를 발견하여 서비스의 송신자 및 수신자를 동적으로 결정할 수 있다. 특히 어떠한 사용자 조작이 없이도 RFID 리더 인식 장치가 RFID 리더를 자동으로 인식하여, RFID 리더가 플러그 앤 플레이(Plug-n--Play) 방식으로 동작하는 RFID 리더 환경을 만들 수 있다. 따라서, 대량의 RFID 리더를 초기화하고 운용하는데 큰 편의를 제공할 수 있다. According to an embodiment of the present invention, a protocol address of an RFID reader can be obtained using a message based on an extended reverse address resolution protocol (RARP), and at the same time, service sender and receiver of the service are found by discovering service configuration information of the corresponding RFID reader. Can be determined dynamically. In particular, the RFID reader recognition apparatus automatically recognizes the RFID reader without any user manipulation, thereby creating an RFID reader environment in which the RFID reader operates in a plug-n-play manner. Therefore, it can provide a great convenience to initialize and operate a large amount of RFID reader.

또한 본 발명의 실시 예에 따른 확장된 RARP 메시지는 기존의 ARP나 RARP를 수행하는 엔진을 변동하지 않고 부가적인 모듈에 의하여 생성될 수 있으므로, 장치의 구현이 매우 용이하다. In addition, the extended RARP message according to an embodiment of the present invention can be generated by an additional module without changing the existing ARP or the engine that performs RARP, it is very easy to implement the device.

아래에서는 첨부한 도면을 참고로 하여 본 발명의 실시 예에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시 예에 한정되지 않는다. 그리고 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily carry out the present invention. As those skilled in the art would realize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention. In the drawings, parts irrelevant to the description are omitted in order to clearly describe the present invention, and like reference numerals designate like parts throughout the specification.

명세서 전체에서, 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다. 또한, 명세서에 기재된 "…부" 등의 용어는 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어나 소프트웨어 또는 하드웨어 및 소프트웨어의 결합으로 구현될 수 있다. Throughout the specification, when a part is said to "include" a certain component, it means that it can further include other components, without excluding other components unless specifically stated otherwise. Also, the term "part" or the like, as described in the specification, means a unit for processing at least one function or operation, and may be implemented by hardware, software, or a combination of hardware and software.

이제 첨부한 도면을 참조하여 본 발명의 실시 예에 대하여 설명한다.Embodiments of the present invention will now be described with reference to the accompanying drawings.

도 1은 본 발명의 실시 예에 따른 RFID 리더 인식 장치의 네트워크 연결 상태를 나타낸 예시도이며, 도 2는 본 발명의 실시 예에 따른 RFID 리더 인식 장치의 구조도이다. 1 is an exemplary view illustrating a network connection state of an RFID reader recognition apparatus according to an embodiment of the present invention, and FIG. 2 is a structural diagram of an RFID reader recognition apparatus according to an embodiment of the present invention.

첨부한 도 1에 도시되어 있듯이, 본 발명의 실시 예에 따른 RFID 리더 인식 장치(10)는 RFID 리더(21,22,…2N, N=1, 2, 3, …, 설명의 편의상 "20"를 부여함)들과 통신하며, RFID 리더(20)들은 사물에 부착되어 센서로서의 기능을 수행하며 고유한 RFID 태그 식별자를 포함하는 RFID 태그들의 정보를 수신한다. 또한 RFID 리더 인식 장치(10)는 인식된 RFID 리더(20)의 서비스 구성 정보를 획득한다. As shown in FIG. 1, the RFID reader recognizing apparatus 10 according to the embodiment of the present invention uses the RFID reader 21, 22,..., 2N, N = 1, 2, 3,... And RFID readers 20 are attached to a thing to function as a sensor and receive information of RFID tags including a unique RFID tag identifier. In addition, the RFID reader recognition apparatus 10 obtains service configuration information of the recognized RFID reader 20.

이러한 RFID 리더 인식 장치(10)는 응용 서비스를 제공하는 서비스 서버(30)와 관리 대상이 되는 RFID 리더(20) 사이에서, 각각의 RFID 리더로부터 제공되는 데이터를 처리하고 서비스 서버(30)에서 제공되는 응용 서비스에 따라 RFID 리더(20)들을 제어하는 기능을 수행하는, RFID 미들웨어 시스템(100)에 포함되는 형태로 구성되어, RFID 미들웨어 시스템(100)이 사용자의 개입 없이 RFID 리더들을 인식할 수 있도록 한다. 본 발명의 실시 예에서는 RFID 리더를 인식한다는 것은 RFID 리더와 통신하기 위하여 RFID 리더의 IP 주소를 획득하는 것을 나타낸다. The RFID reader recognition apparatus 10 processes data provided from each RFID reader and provides the service server 30 between the service server 30 providing the application service and the RFID reader 20 to be managed. It is configured in a form included in the RFID middleware system 100, which performs the function of controlling the RFID readers 20 according to the application service, so that the RFID middleware system 100 can recognize the RFID readers without user intervention. do. In an embodiment of the present invention, recognizing an RFID reader indicates obtaining an IP address of the RFID reader in order to communicate with the RFID reader.

첨부한 도 2에 도시되어 있듯이, 본 발명의 실시 예에 따른 RFID 리더 인식 장치는 송신부(11), 수신부(12), 처리 제어부(13), 요청 처리부(14), 응답 처리부(15) 그리고 멀티플렉서(16)를 포함하며, 이외에도, 주소 테이블(17), 메시지 테이블(18)을 더 포함한다. As shown in FIG. 2, the RFID reader recognizing apparatus according to the embodiment of the present invention includes a transmitter 11, a receiver 12, a processing controller 13, a request processor 14, a response processor 15, and a multiplexer. And, in addition to the above, further includes an address table 17 and a message table 18.

메시지 테이블(18)은 데이터를 생성하기 위해 필요한 정보를 저장하고 있으며, 구체적으로 시간을 나타내는 타임스탬프(TimeStamp)와 새로이 인식되는 RFID 리더의 탐색 프로토콜(discovery protocol)이 사용할 포트를 나타내는 탐색 포트(Discovery Port)에 대한 정보가 저장되어 있다. The message table 18 stores information necessary for generating data, and specifically, a time stamp indicating a time and a discovery port indicating a port to be used by a discovery protocol of a newly recognized RFID reader. Port information is stored.

주소 테이블(17)에는 송신자와 수신자의 주소 관련 정보가 저장되어 있다. 예를 들어, 송신자 하드웨어 주소(Sha), 송신자 프로토콜 주소(Spa), 수신자 하드웨어 주소(Rha), 수신자 프로토콜 주소(Rpa) 등의 정보가 저장되어 있다. The address table 17 stores address related information of the sender and the receiver. For example, information such as a sender hardware address Sha, a sender protocol address Spa, a receiver hardware address Rha, and a receiver protocol address Rpa is stored.

처리 제어부(13)는 요청 처리부(14)와 응답 처리부(15)와 연계하여 본 발명의 실시 예에 따른 RFID 리더 인식 동작을 수행하며, 파서(parser)로서의 기능을 수행한다. 구체적으로 수신부(12)를 통하여 수신되는 메시지로부터 데이터(오퍼레이션, 타임스탬프, 송신자 하드웨어 주소, 송신자 프로토콜 주소, 수신자 하드웨어 주소, 수신자 프로토콜 주소 등)을 추출하여 메시지의 오퍼레이션에 따라 요청 처리부(14)나 응답 처리부(15)로 제공한다. The processing control unit 13 performs an RFID reader recognition operation according to an embodiment of the present invention in connection with the request processing unit 14 and the response processing unit 15, and performs a function as a parser. Specifically, data (operation, time stamp, sender hardware address, sender protocol address, receiver hardware address, receiver protocol address, etc.) is extracted from the message received through the receiver 12, and the request processor 14 or It is provided to the response processor 15.

요청 처리부(14)는 처리 제어부(13)로부터 파싱된 요청 메시지를 처리하여 대응하는 응답 메시지를 생성하도록 멀티플렉서(16)에게 요구한다. The request processing unit 14 requests the multiplexer 16 to process the request message parsed from the processing control unit 13 to generate a corresponding response message.

응답 처리부(15)는 수신된 메시지에 대한 처리를 수행하며, 구체적으로 응답 메시지에 포함되어 있는 송신자 하드웨어 주소, 송신자 프로토콜 주소를 추출하여 해당 RFID 리더를 인식하고, 추출된 주소를 주소 테이블(17)에 저장하여 관리한다. The response processor 15 processes the received message, specifically extracts a sender hardware address and a sender protocol address included in the response message, recognizes the corresponding RFID reader, and extracts the extracted address from the address table 17. Store in and manage.

이러한 구조로 이루어지는 본 발명의 실시 예에 따른 RFID 리더 인식 장치(10)는 RFID 리더를 인식하기 위하여 RARP(Reverse Address Resolution Protocol)에 따라 메시지를 송수신하여 소정 RFID 리더로부터 프로토콜 주소(IP 주소)를 획득한다. The RFID reader recognizing apparatus 10 according to the embodiment of the present invention having such a structure acquires a protocol address (IP address) from a predetermined RFID reader by transmitting and receiving a message according to a reverse address resolution protocol (RARP) to recognize an RFID reader. do.

본 발명의 실시 예에 따른 요청 메시지와 응답 메시지는 RARP 프로토콜에 따른 메시지이며, 기존 RARP 메시지에 비하여 확장된 형태의 메시지들이며, 도 3과 같은 구조로 이루어진다.The request message and the response message according to an embodiment of the present invention are messages according to the RARP protocol, and are messages of an extended form as compared to the existing RARP message, and have a structure as shown in FIG. 3.

도 3은 본 발명의 실시 예에 따라 송수신되는 메시지들의 구조를 나타낸 도이다. 3 is a diagram illustrating a structure of messages transmitted and received according to an embodiment of the present invention.

본 발명의 실시 예에 따른 메시지는 송신자 하드웨어 주소, 송신자 프로토콜 주소, 수신자 하드웨어 주소, 수신자 프로토콜 주소, 타임스탬프 그리고 탐색 포트 를 포함한다. 구체적으로 도 3에서와 같이, 네트워크 유형을 정의하는 하드웨어 타입 필드(F1), 프로토콜을 정의하는 프로토콜 타입 필드(F2), 물리 주소인 하드웨어 주소의 바이트 단위 길이를 나타내는 하드웨어 길이 필드(F3), 논리 주소인 프로토콜 주소의 바이트 단위 길이를 나타내는 프로토콜 길이 필드(F4), 패킷 유형이 요청 또는 응답인지를 나타내는 오퍼레이션 필드(F5), 송신자 하드웨어 주소를 나타내는 송신자 하드웨어 주소 필드(F6), 송신자 탐색 포트를 나타내는 제1 탐색 포트 필드(F7), 송신자 프로토콜 주소를 나타내는 송신자 프로토콜 주소 필드(F8), 제1 타임스탬프 필드(F9), 수신자 하드웨어 주소를 나타내는 수신자 하드웨어 주소 필드(F10), 수신자 탐색 포트를 나타내는 제2 탐색 포트 필드(F11), 수신자 프로토콜 주소를 나타내는 수신자 프로토콜 주소 필드(F12) 그리고 제2 타임 스탬프 필드(F13)를 포함한다. 여기서, 제1 및 제2 탐색 포트 필드(F7, F11)는 RFID 리더에 대한 인식이 이루어진 다음에, RFID 리더 인식 장치(10)와 RFID 리더(20) 사이의 서비스 발견을 위한 부가적인 프로토콜을 사용할 때, 잘 알려진 서비스 포트를 사용하지 않는 경우에 통신을 위한 포트를 정의하기 위하여 사용된다. A message according to an embodiment of the present invention includes a sender hardware address, a sender protocol address, a receiver hardware address, a receiver protocol address, a time stamp, and a search port. Specifically, as shown in FIG. 3, a hardware type field F1 defining a network type, a protocol type field F2 defining a protocol, a hardware length field F3 indicating a length in bytes of a hardware address as a physical address, and a logic A protocol length field (F4) indicating the length in bytes of the protocol address that is an address, an operation field (F5) indicating whether the packet type is a request or a response, a sender hardware address field (F6) indicating the sender hardware address, and a sender search port A first search port field F7, a sender protocol address field F8 indicating the sender protocol address, a first timestamp field F9, a receiver hardware address field F10 indicating the receiver hardware address, a first indicating the receiver search port 2 Search port field (F11), Fill in recipient protocol address indicating recipient protocol address De F12 and a second time stamp field F13. Here, the first and second search port fields F7 and F11 may use additional protocols for service discovery between the RFID reader recognition device 10 and the RFID reader 20 after the RFID reader is recognized. When it does not use well-known service port, it is used to define port for communication.

위에 기술된 바와 같이, 본 발명의 실시 예에 따른 메시지는 제1 및 제2 탐색 포트 필드(F7, F11) 그리고 제1 및 제2 타임스탬프 필드(F9, F13)를 포함하기 때문에, 기존의 RARP 메시지에 비하여 확장된 형태임을 알 수 있다. 이하에서는 설명의 편의를 위하여 제1 및 제2 탐색 포트 필드(F7, F11)를 "탐색 포트 필드" 그리고 제1 및 제2 타임스탬프 필드(F9, F13)를 "타임스탬프 필드"라고 명명한다. As described above, since the message according to the embodiment of the present invention includes the first and second search port fields F7 and F11 and the first and second timestamp fields F9 and F13, the existing RARP It can be seen that it is an extended form compared to the message. Hereinafter, for convenience of description, the first and second search port fields F7 and F11 are referred to as "search port fields" and the first and second timestamp fields F9 and F13 as "timestamp fields".

다음에는 본 발명의 제1 실시 예에 따른 RFID 리더 인식 방법에 대하여 설명 한다. Next, an RFID reader recognition method according to the first embodiment of the present invention will be described.

도 4는 본 발명의 제1 실시 예에 따른 RFID 리더 인식 방법의 흐름도이다. 4 is a flowchart illustrating a RFID reader recognition method according to a first embodiment of the present invention.

먼저, RFID 리더 인식 장치(10)는 RFID 리더(20)에게 IP 주소를 요청하기 위한 요청 메시지를 생성한다(S100). First, the RFID reader recognition apparatus 10 generates a request message for requesting an IP address to the RFID reader 20 (S100).

구체적으로, 오퍼레이션 필드(F5)에 패킷 유형이 요청임을 나타내는 값 "5"을 기재하고, 송신자 하드웨어 주소 필드(F6)에 RFID 리더 인식 장치의 하드웨어 주소를 기재하며, 송신자 프로토콜 주소 필드(F8)에 RFID 리더 인식 장치의 프로토콜 주소를 기록한다. 그리고 수신자 하드웨어 주소 필드(F10)에 브로드캐스트 주소(0xFFFFFFFFFFFF)를 기록하고, 수신자 프로토콜 주소 필드(F12)는 비워 놓는다. 그리고 RFID 리더 인식 장치(10)는 탐색 서버가 되고자 하는 경우, 탐색 포트 필드(F7)에 서비스 서버(30)의 서비스 포트 번호를 기재한다. 또한 타임스탬프 필드(F9)에 RFID 리더 인식 장치(10)의 현재 시간을 기재한다. Specifically, a value " 5 " indicating that the packet type is a request is written in the operation field F5, the hardware address of the RFID reader recognition device is written in the sender hardware address field F6, and the sender protocol address field F8. Record the protocol address of the RFID reader recognition device. The broadcast address (0xFFFFFFFFFFFF) is recorded in the receiver hardware address field F10, and the receiver protocol address field F12 is empty. When the RFID reader recognizing apparatus 10 intends to become a search server, the RFID reader recognition apparatus 10 writes the service port number of the service server 30 in the search port field F7. In addition, the current time of the RFID reader recognition apparatus 10 is described in the time stamp field F9.

이와 같이 다수의 정보를 포함하는 요청 메시지를 생성한 다음, 생성된 요청메시지를 브로드캐스트한다(S110). As such, after generating a request message including a plurality of information, the generated request message is broadcasted (S110).

위에 기술된 바와 같이 RFID 리더 인식 장치(10)로부터 요청 메시지가 브로드캐스트됨에 따라 특정화되지 않은 RFID 리더(20)들이 요청 메시지를 수신하게 되며(S120), 이후 요청 메시지를 수신한 임의 RFID 리더(20)가 응답 메시지를 생성하여 RFID 리더 인식 장치(10)로 전송하게 된다. 즉, 임의 RFID 리더(20)는 요청 메시지에 대한 응답으로 자신의 프로토콜 주소를 RFID 리더 인식 장치(10)에게 제공하기 위한 응답 메시지를 생성한다. 이 때 RFID 리더(20)는 자신이 가지고 있는 IP 주소를 잘 알려진 DHCP 서버를 이용하는 등의 방법으로 할당 받을 수 있다. 본 발명의 실시 예는 IP 주소를 이미 할당 받은 RFID 리더로부터 RFID 리더 인식 장치가 RFID 리더의 IP 주소를 획득하는 방법에 관한 것이므로, 여기서는 RFID 리더가 IP 주소를 할당 받는 방법에 대해서는 상세한 설명을 생략한다. As described above, as the request message is broadcast from the RFID reader recognition apparatus 10, unspecified RFID readers 20 receive the request message (S120), and any RFID reader 20 that receives the request message thereafter. ) Generates a response message and transmits the response message to the RFID reader recognition apparatus 10. That is, the arbitrary RFID reader 20 generates a response message for providing its protocol address to the RFID reader recognition device 10 in response to the request message. In this case, the RFID reader 20 may be assigned an IP address that it has by using a well-known DHCP server. Since an embodiment of the present invention relates to a method of obtaining an IP address of an RFID reader by an RFID reader recognition apparatus from an RFID reader that has already been assigned an IP address, a detailed description thereof will be omitted herein. .

보다 구체적으로 설명하면, RFID 리더(20)는 수신한 요청 메시지의 오퍼레이션 필드(F5)에 기록된 값이 "5"인지를 판단하여 프로토콜 주소를 요청하는 메시지임을 확인한다(S130). 오퍼레이션 필드(F5)에 기록된 값이 "5"가 아닌 경우에는 수신한 메시지를 삭제한다(S140). In more detail, the RFID reader 20 determines whether the value recorded in the operation field F5 of the received request message is “5” and requests the protocol address (S130). If the value recorded in the operation field F5 is not "5", the received message is deleted (S140).

오퍼레이션 필드(F5)에 기록된 값이 "5"인 경우, 수신된 요청 메시지의 송신자 하드웨어 주소 필드(F6) 및 송신자 프로토콜 주소 필드(F8)로부터 각각 RFID 리더 인식 장치(10)의 하드웨어 주소와 프로토콜 주소를 획득하고(S150), 이를 토대로 하기와 같이 응답 메시지를 생성한다(S160). If the value recorded in the operation field F5 is "5", the hardware address and protocol of the RFID reader recognition apparatus 10 are respectively obtained from the sender hardware address field F6 and the sender protocol address field F8 of the received request message. An address is obtained (S150), and a response message is generated based on this (S160).

즉, 오퍼레이션 필드(F5)에 패킷 유형이 응답임을 나타내는 값 "6"을 기재하고, 송신자 하드웨어 주소 필드(F6)에 자신 즉, RFID 리더의 하드웨어 주소를 기재하며, 송신자 프로토콜 주소 필드(F8)에 RFID 리더의 프로토콜 주소를 기록한다. 그리고 수신자 하드웨어 주소 필드(F10)에 RFID 리더 인식 장치(10)의 하드웨어 주소를 기록하고, 수신자 프로토콜 주소 필드(F12)에 RFID 리더 인식 장치(10)의 프로토콜 주소를 기록한다. 그리고 수신된 요청 메시지의 탐색 포트 필드(F7)가 비어 있는 경우에, RFID 리더의 탐색 포트를 기록한다. 또한 타임스탬프 필드(F13)에 요청 메시지의 타임스탬프 필드에 기록되어 있던 시간을 기록한다. That is, in the operation field F5, the value " 6 " indicating that the packet type is a response is entered, and in the sender hardware address field F6, it describes itself, that is, the hardware address of the RFID reader, and in the sender protocol address field F8. Record the protocol address of the RFID reader. The hardware address of the RFID reader recognition apparatus 10 is recorded in the receiver hardware address field F10, and the protocol address of the RFID reader recognition apparatus 10 is recorded in the receiver protocol address field F12. When the search port field F7 of the received request message is empty, the search port of the RFID reader is recorded. In addition, the time stamp field F13 records the time recorded in the time stamp field of the request message.

이와 같이 다수의 정보를 포함하는 응답 메시지를 생성한 다음, RFID 리더(20)는 생성된 응답 메시지를 RFID 리더 인식 장치(10)로 전송한다(S170). After generating a response message including a plurality of information as described above, the RFID reader 20 transmits the generated response message to the RFID reader recognition apparatus 10 (S170).

RFID 리더 인식 장치(10)는 임의 RFID 리더(20)로부터 응답 메시지를 수신하면(S180), 먼저, 응답 메시지의 오퍼레이션 필드(F5)를 확인하여 패킷 유형이 응답 즉, 값이 "6"인지를 확인한다(S190). 응답 메시지의 오퍼레이션 필드(F5)가 "6"이 아닌 경우에는 수신된 응답 메시지를 삭제하고(S200), "6"인 경우에는 이후의 동작을 수행한다. When receiving the response message from the arbitrary RFID reader 20 (S180), the RFID reader recognition apparatus 10 first checks the operation field F5 of the response message to determine whether the packet type is the response, that is, the value "6". Check (S190). If the operation field F5 of the response message is not "6", the received response message is deleted (S200), and if it is "6", the following operation is performed.

응답 메시지의 타임스탬프 필드(F13)에 기록된 값이, RFID 리더 인식 장치(10)가 마지막으로 생성하여 브로드캐스트 하였던 요청 메시지에 기록한 타임스탬프 값인 최종전송시간과 동일한지를 판단한다(S210). 응답 메시지의 타임스탬프 필드(F13)에 기록된 값 즉, 시간이 최종 전송 시간과 동일한 경우 해당 응답 메시지가 RFID 리더 인식 장치(10)가 마지막으로 생성하여 브로드캐스트 하였던 요청 메시지에 대한 응답인 것으로 확인한다. 반면, 응답 메시지의 타임스탬프 필드(F13)에 기록된 시간이 최종 전송 시간과 동일하지 않은 경우에는 해당 응답 메시지를 삭제한다. In operation S210, it is determined whether the value recorded in the time stamp field F13 of the response message is the same as the last transmission time, which is a time stamp value recorded in the request message that the RFID interrogator 10 last generated and broadcasted. If the value recorded in the time stamp field F13 of the response message, that is, the time is the same as the last transmission time, confirm that the response message is a response to the request message last generated and broadcast by the RFID reader recognition device 10. do. On the other hand, if the time recorded in the time stamp field F13 of the response message is not the same as the last transmission time, the corresponding response message is deleted.

다음, RFID 리더 인식 장치(10)는 응답 메시지의 수신자가 자신인지를 확인한다(S220). 즉, 응답 메시지의 수신자 하드웨어 주소 필드(F10)에 기록된 수신자 하드웨어 주소가 자신의 하드웨어 주소와 일치하고, 수신자 프로토콜 주소 필드(F12)에 기록된 수신자 프로토콜 주소가 자신의 프로토콜 주소와 일치한 경우, 응답 메시지의 수신자가 자신인 것으로 판단한다. Next, the RFID reader recognition apparatus 10 checks whether the receiver of the response message is itself (S220). That is, when the receiver hardware address recorded in the receiver hardware address field F10 of the response message matches its own hardware address, and the receiver protocol address recorded in the receiver protocol address field F12 matches its protocol address, It is determined that the receiver of the response message is himself.

이 경우 RFID 리더 인식 장치(10)는 응답 메시지로부터 송신자 하드웨어 주소와 송신자 프로토콜 주소를 각각 추출하여 해당 하드웨어 주소를 가지는RFID 리더(20)를 인식한다(S230). 즉, RFID 리더(20)의 프로토콜 주소를 획득한다. RFID 리더 인식 장치(10)는 주소 테이블(17)에 인식한 RFID 리더(20)의 하드웨어 주소에 대응하여 RFID 리더(20)의 프로토콜 주소를 대응시켜 저장하여 관리한다(S240). In this case, the RFID reader recognizing apparatus 10 extracts the sender hardware address and the sender protocol address from the response message, respectively, and recognizes the RFID reader 20 having the corresponding hardware address (S230). In other words, the protocol address of the RFID reader 20 is obtained. The RFID reader recognizing apparatus 10 corresponds to the hardware address of the RFID reader 20 recognized in the address table 17, stores and manages the corresponding protocol address of the RFID reader 20 (S240).

한편, RFID 리더 인식 장치(10)는 응답 메시지의 수신자 하드웨어 주소가 자신의 하드웨어 주소와 일치하지 않고, 수신자 프로토콜 주소가 자신의 프로토콜 주소와 일치하지 않는 경우, 수신자가 자신이 아닌 것으로 판단하여 응답 메시지를 삭제한다. Meanwhile, when the receiver hardware address of the response message does not match its own hardware address and the receiver protocol address does not match its own protocol address, the RFID reader recognizing apparatus 10 determines that the receiver is not the response message. Delete it.

위에 기술된 과정에서는 RFID 리더 인식 장치(10)가 마지막으로 브로드캐스트한 요청 메시지에 대한 응답 메시지만을 수신하여 이를 처리하는 것을 기술하였지만, 응답 메시지를 수신하기 이전에 보낸 요청 메시지들을 모두 처리하고자 한다면 위의 단계에서 응답 메시지의 타임스탬프 필드(F13)에 기록된 값이, 현재 시간보다 작은 경우 즉, 기록된 시간이 현재 시간보다 빠른 조건을 만족하면, 이후의 단계들을 수행하여 소정의 RFID 장치를 인식한다. In the above-described process, the RFID reader recognition apparatus 10 receives and processes only the response message for the last broadcast request message. However, if the RFID reader recognition apparatus 10 wants to process all the request messages sent before receiving the response message, If the value recorded in the time stamp field F13 of the response message is smaller than the current time, that is, if the recorded time satisfies a condition earlier than the current time, the subsequent steps are performed to recognize the predetermined RFID device. do.

다음에는 본 발명의 제2 실시 예에 따른 RFID 리더 인식 방법에 대하여 설명한다. Next, an RFID reader recognition method according to a second embodiment of the present invention will be described.

본 발명의 제2 실시 예에서는 링크 계층의 정보를 기반으로 인증이 이루어진 RFID 리더만을 인식하는 방법을 제공한다. 프로토콜 주소는 동적으로 변경 가능하지만, 네트워크 장비의 MAC (Medium Access Control) 주소는 유일하다. 따라서, MAC 주소는 네트워크 장비의 고유 식별값으로 사용할 수 있다. 본 발명의 제2 실시 예에서는 RFID 리더의 MAC 주소를 기반으로 RFID 리더를 인증하여, RFID 리더 인식 장치(10)의 제어 범위내의 네트워크에 접속하고자 하는 RFID 리더를 접속시점부터 식별하여 차단한다. 여기서 RFID 리더 인식 장치(10)가 제어하고자 하는 RFID 리더들의 MAC 주소 리스트를 얻는 방법으로, 당업계에서 사용될 수 있는 다양한 방법들이 사용될 수 있다. 예를 들어, RFID 리더 인식 장치(10)는 외부에 있는 인증 서버(예를 들어, RADIUS 서버 등)(도시하지 않음)로부터 RFID 리더들의 MAC 주소 리스트를 제공받을 수 있으며, 또는 사용자로부터 직접 제공 받을 수 있다. 이하의 인식 방법은 RFID 리더 인식 장치(10)가 RFID 리더들의 MAC 주소 리스트를 획득한 이후에 이루어진다.A second embodiment of the present invention provides a method of recognizing only an RFID reader authenticated based on information of a link layer. The protocol address can be changed dynamically, but the MAC (Medium Access Control) address of the network device is unique. Therefore, the MAC address can be used as a unique identification value of the network equipment. In the second embodiment of the present invention, the RFID reader is authenticated based on the MAC address of the RFID reader, and the RFID reader to be connected to the network within the control range of the RFID reader recognition apparatus 10 is identified and blocked from the time of connection. Here, as a method of obtaining the MAC address list of the RFID readers to be controlled by the RFID reader recognition apparatus 10, various methods that may be used in the art may be used. For example, the RFID reader recognition apparatus 10 may be provided with a list of MAC addresses of RFID readers from an external authentication server (eg, a RADIUS server, etc.) (not shown), or may be directly provided by a user. Can be. The following recognition method is performed after the RFID reader recognition apparatus 10 obtains the MAC address list of the RFID readers.

도 5는 본 발명의 제2 실시 예에 따른 RFID 리더 인식 방법의 흐름도이다. 5 is a flowchart illustrating a RFID reader recognition method according to a second embodiment of the present invention.

먼저, RFID 리더 인식 장치(10)는 RFID 리더(20)에게 IP 주소를 요청하기 위한 요청 메시지를 생성한다(S300). 제1 실시 예와 동일하게 오퍼레이션 필드(F5), 송신자 하드웨어 주소 필드(F6), 송신자 프로토콜 주소 필드(F8), 타임스탬프 필드(F9), 탐색 포트 필드(F7)에 해당 정보를 각각 기록하고, 제1 실시 예와는 달리, 수신자 하드웨어 주소 필드(F10)에 브로드캐스트 주소가 아니라, 프로토콜 주소를 알고자 하는 RFID 리더의 하드웨어 주소(즉, MAC 주소)를 기록하여, 인식하고자 하는 특정 RFID 리더(20)를 지정한다. First, the RFID reader recognition apparatus 10 generates a request message for requesting an IP address to the RFID reader 20 (S300). As in the first embodiment, corresponding information is recorded in the operation field F5, the sender hardware address field F6, the sender protocol address field F8, the timestamp field F9, and the search port field F7, respectively. Unlike the first embodiment, the hardware address (ie, MAC address) of the RFID reader for which the protocol address is to be known is recorded in the receiver hardware address field F10, not the broadcast address. 20).

이와 같이 다수의 정보를 포함하는 요청 메시지를 생성한 다음, 생성된 요청메시지 즉, 유니캐스트 요청 메시지를 해당 RFID 리더(20)로 전송한다(S310). After generating a request message including a plurality of information in this way, the generated request message, that is, the unicast request message is transmitted to the RFID reader 20 (S310).

위에 기술된 바와 같이 RFID 리더 인식 장치(10)로부터 전송된 요청 메시지는 해당 RFID 리더(20)로 수신된다. RFID 리더(20)는 제1 실시 예와 같이 수신된 요청 메시지에 대한 처리를 수행하고 RFID 리더 인식 장치(10)의 하드웨어 주소 및 프로토콜 주소를 추출하고(S320~S350), 자신의 프로토콜 주소를 RFID 리더 인식 장치(10)에게 제공하기 위한 응답 메시지를 생성하여 RFID 리더 인식 장치(10)로 전송한다(S360~S370). As described above, the request message transmitted from the RFID reader recognition apparatus 10 is received by the corresponding RFID reader 20. The RFID reader 20 performs processing on the received request message as in the first embodiment, extracts the hardware address and the protocol address of the RFID reader recognizing apparatus 10 (S320 to S350), and sets its protocol address to RFID. A response message for providing the reader recognition device 10 is generated and transmitted to the RFID reader recognition device 10 (S360 ˜ S370).

RFID 리더 인식 장치(10)는 RFID 리더(20)로부터 응답 메시지를 수신하면, 제1 실시 예와 동일하게, 응답 메시지의 오퍼레이션 필드(F5), 타임스탬프 필드(F13), 수신자 하드웨어 주소 필드(F10)에 기록된 정보를 토대로, 상기 응답 메시지가 자신이 전송한 요청 메시지에 대한 응답이고, 상기 응답 메시지의 수신자가 자신임을 확인한 다음에(S380~S420), 응답 메시지로부터 송신자 하드웨어 주소와 송신자 프로토콜 주소를 각각 추출하여 해당 하드웨어 주소를 가지는 RFID 리더(20)를 인식한다(S430~S440). 즉, RFID 리더(20)의 프로토콜 주소를 획득한다. RFID 리더 인식 장치(10)는 저장하고 있던 MAC 주소 리스트로부터 응답 메시지로부터 추출한 하드웨어 주소인 MAC 주소를 찾아서, 획득한 RFID 리더(20)의 프로토콜 주소를 매핑시켜, 주소 데이터블(17)에 저장하여 관리한다. Upon receiving the response message from the RFID reader 20, the RFID reader recognizing apparatus 10 receives the response field F5, the time stamp field F13, and the receiver hardware address field F10 in the same manner as in the first embodiment. After confirming that the response message is a response to the request message sent by the receiver and that the receiver of the response message is himself (S380 to S420), the sender hardware address and the sender protocol address are determined from the response message. Recognize the RFID reader 20 having a corresponding hardware address by extracting each (S430 to S440). In other words, the protocol address of the RFID reader 20 is obtained. The RFID reader recognizing apparatus 10 searches for the MAC address, which is a hardware address extracted from the response message, from the stored MAC address list, maps the obtained protocol address of the RFID reader 20, and stores the stored address in the address data table 17. Manage.

이와 같은 과정을 통하여 RFID 리더 인식 장치(10)는 특정 RFID 리더(20)의 프로토콜 주소를 용이하게 획득할 수 있다. Through this process, the RFID reader recognition apparatus 10 may easily obtain a protocol address of a specific RFID reader 20.

이러한 제2 실시 예에 따르면, RFID 리더의 하드웨어 주소를 이용하여 프로토콜 주소를 요청하는 유니캐스트 요청 메시지를 전송함으로써, 브로드캐스트 요청 메시지 전송으로 인한 과도한 트래픽 발생 요소를 차단할 수 있으며, 별도의 인증 시스템과 연동하여 리더 인증 기능으로 이용할 수도 있다.According to this second embodiment, by transmitting a unicast request message requesting a protocol address using the hardware address of the RFID reader, it is possible to block excessive traffic generation factors due to the transmission of the broadcast request message, and a separate authentication system It can also be used as a reader authentication function.

한편, 위의 제1 및 제2 실시 예를 통하여 RFID 리더(20)의 프로토콜 주소를 획득하면, RFID 리더 인식 장치(10)는 RFID 리더(20)의 존재를 인식하고, RFID 리더(20)의 서비스 구성 정보를 얻어야 한다. 서비스 구성 정보는 RFID 리더를 제어할 수 있는 통신 프로토콜의 종류를 확인하여 RFID 리더와 RFID 리더 인식 장치간의 제어 채널을 구성하기 위해 필요한 정보이다. On the other hand, when obtaining the protocol address of the RFID reader 20 through the first and second embodiments above, the RFID reader recognition apparatus 10 recognizes the existence of the RFID reader 20, the You need to get the service configuration information. The service configuration information is information required for configuring a control channel between the RFID reader and the RFID reader recognizing apparatus by checking the type of communication protocol capable of controlling the RFID reader.

따라서, 본 발명의 실시 예에서는 위에 기술된 바와 같이 RFID 리더를 인식한 다음에 다음의 과정을 추가적으로 수행하여 인식한 RFID 리더의 서비스 정보를 획득한다. Therefore, in the embodiment of the present invention, after recognizing the RFID reader as described above, the following process is additionally performed to obtain service information of the recognized RFID reader.

도 6은 본 발명의 실시 예에 따른 RFID 리더 인식 방법에서, RFID 리더의 서비스 구성 정보를 획득하기 위하여 수행되는 과정을 나타낸 흐름도이다. 6 is a flowchart illustrating a process performed to obtain service configuration information of an RFID reader in an RFID reader recognition method according to an embodiment of the present invention.

서비스 구성 정보를 획득하는 과정에서 송신자와 수신자는 자동 인식 프로토콜에 의하여 결정된다. 즉, RFID 리더 인식 장치(10)가 요청 메시지의 탐색 포트 필드(F7)를 채워서 보낸 경우, RFID 리더(20)는 이를 감지하고 RFID 리더 인식 장치(10)의 탐색 포트만을 사용할 것인지 RFID 리더의 탐색 포트도 생성할 것인지를 결정한다. In the process of obtaining the service configuration information, the sender and the receiver are determined by an automatic recognition protocol. That is, when the RFID reader recognizing device 10 fills and sends the search port field F7 of the request message, the RFID reader 20 detects this and uses only the search port of the RFID reader recognizing device 10 to search for the RFID reader. Decide if you want to create a port as well.

RFID 리더가 RFID 리더 인식 장치의 탐색 포트만을 사용하기로 결정한다면, 서비스 구성 정보 발견을 위한 프로토콜의 송신자는 RFID 리더가 되고, 수신자는 RFID 리더 인식 장치(10)가 된다. 그러나, 이 경우 RFID 리더가 응답 메시지의 탐 색 포트 필드(F11)를 채워서 전송하면, RFID 리더는 RFID 리더 인식 장치의 서비스 포트를 사용하는 송신자의 역할과 RFID 리더 인식 장치가 RFID 리더의 포트를 사용하는 경우의 수신자 역할을 겸하게 된다. If the RFID reader decides to use only the search port of the RFID reader recognition device, the sender of the protocol for discovering service configuration information becomes the RFID reader, and the receiver becomes the RFID reader recognition device 10. However, in this case, when the RFID reader fills in the search port field F11 of the response message and transmits it, the RFID reader serves as a sender using the service port of the RFID reader reader and the RFID reader reader uses the port of the RFID reader. It also serves as the receiver of the case.

한편 RFID 리더 인식 장치(10)가 요청 메시지의 탐색 포트 필드(F7)를 채워서 보내지 않은 경우, RFID 리더는 반드시 응답 메시지의 탐색 포트 필드(F11)를 채워서 보내야 한다. 이 때, RFID 리더 인식 장치가 송신자가 되고 RFID 리더가 수신자가 된다. RFID 리더 인식 장치와 RFID 리더는 서비스 구성 정보 발견을 위한 프로세스를 각각 하나씩 독립적으로 사용할 수도 있다. On the other hand, when the RFID reader recognition apparatus 10 does not send the search port field F7 of the request message, the RFID reader must fill and send the search port field F11 of the response message. At this time, the RFID reader recognition apparatus becomes a transmitter and the RFID reader becomes a receiver. The RFID reader recognition apparatus and the RFID reader may independently use one process for discovering service configuration information.

위에 기술된 바와 같이, RFID 리더 인식 장치(10)로부터 전송된 요청 메시지에 포함된 탐색 포트 필드에 탐색 포트가 기록되어 있는지의 여부에 따라, 서비스 구성 정보 발견을 위한 송신자와 수신자가 구별되면, 송신자는 첨부한 도 6에서와 같이 탐색 요청 메시지를 생성하여 전송하며(S500), 이러한 탐색 요청 메시지를 수신한 수신자는 탐색 응답 메시지를 생성하여 전송한다(S510). 이후 탐색 응답 메시지를 수신한 송신자는 탐색 ACK(acknowledgement) 메시지를 생성하여 수신자에게 전송한다(S520). As described above, according to whether the search port is recorded in the search port field included in the request message transmitted from the RFID reader recognizing apparatus 10, if the sender and the receiver for the service configuration information are distinguished, the sender 6 generates and transmits a discovery request message as shown in FIG. 6 (S500), and the receiver receiving the discovery request message generates and transmits a discovery response message (S510). After receiving the discovery response message, the sender generates a discovery ACK (acknowledgement) message and transmits it to the receiver (S520).

이러한 과정을 통하여, RFID 리더 인식 장치(10)는 인식한 RFID 리더(20)의 서비스 구성 정보를 획득하게 된다. Through this process, the RFID reader recognition apparatus 10 acquires service configuration information of the recognized RFID reader 20.

위에 기술된 본 발명의 실시 예에 따른 서비스 구성 정보 발견 과정에서, 메시지는 UDP(user datagram protocol) 통신 채널을 통하여 송수신되며, UDP에 따른 메시지는 도 7에 도시된 바와 같다. In the process of discovering service configuration information according to an embodiment of the present invention described above, a message is transmitted and received through a user datagram protocol (UDP) communication channel, and a message according to UDP is illustrated in FIG. 7.

도 7은 UDP에 따른 기본적인 메시지의 구조를 나타낸 도이다. 7 is a diagram illustrating a basic message structure according to UDP.

첨부한 도 7에 도시되어 있듯이, UDP 메시지는 소스 프로토콜 주소 필드, 목적지 프로토콜 주소 필드, 소스 포트 주소 필드, 목적지 포트 주소 필드, 총 길이 필드, 체크섬(checksum) 필드, 데이터 필드를 포함한다. As shown in FIG. 7, the UDP message includes a source protocol address field, a destination protocol address field, a source port address field, a destination port address field, a total length field, a checksum field, and a data field.

본 발명의 실시 예에서는 이러한 구조로 이루어지는 UDP 메시지의 구조를 기본으로 하면서, 데이터 필드를 다양하게 구성하여 서로 다른 형태의 서비스 구성 정보 발견을 위한 메시지들을 생성한다. 이하에서는 서비스 구성 정보 발견을 위하여 사용되는 탐색 요청 메시지, 탐색 응답 메시지, 탐색 ACK 메시지를 통합하여 "탐색 메시지"라고 명명한다. In the embodiment of the present invention, based on the structure of a UDP message having such a structure, various data fields are configured to generate messages for discovering different types of service configuration information. Hereinafter, a search request message, a search response message, and a search ACK message that are used to discover service configuration information will be collectively referred to as a "search message".

본 발명의 실시 예에는 탐색 메시지를 복수의 메시지 구성 방식에 따라 복수 형태로 구성하며, 메시지 구성 방식은 서비스 구성 정보를 어떻게 전송하는지에 따라 복수개로 나뉘어질 수 있다. 서비스 구성 정보는 서비스를 구별하는 서비스 식별자(서비스 ID)와, 해당 서비스에 필요한 정보를 포함하는 서비스 값을 포함한다. According to an embodiment of the present invention, a discovery message may be configured in a plurality of forms according to a plurality of message construction schemes, and the message construction scheme may be divided into a plurality according to how the service configuration information is transmitted. The service configuration information includes a service identifier (service ID) for identifying a service and a service value including information required for the corresponding service.

그러나 메시지 구성 방식에 상관없이, 본 발명의 실시 예에 따른 복수 형태의 탐색 메시지들의 데이터 필드는 다음의 필드들을 공통으로 포함한다. However, regardless of how the message is constructed, the data fields of the plurality of types of discovery messages according to an embodiment of the present invention include the following fields in common.

● 메시지 타입 필드: 메시지의 타입을 나타내는 정수값을 포함하며, 정수값으로는 1, 2, 3이 사용되면, 각 값에 따라 해당 메시지가 탐색 요청 메시지, 탐색 응답 메시지, 그리고 탐색 ACK 메시지 중 하나임을 나타낸다(예를 들어, 탐색 요청 메시지(Discovery Request)=1, 탐색 응답 메시지(Discovery Response)=2, 탐색 ACK 메시지(Discovery Ack)=3).● Message type field: contains an integer value indicating the type of message. If 1, 2, or 3 is used as an integer value, the message is one of a search request message, a search response message, and a search ACK message according to each value. For example, discovery request message (Discovery Request) = 1, discovery response message (Discovery Response) = 2, discovery ACK message (Discovery Ack) = 3).

● 길이 필드: 메시지의 길이를 나타내며, 구체적으로 메시지 타입 필드에서 타임스탬프 필드까지의 길이를 나타낸다. 길이 필드에는 메시지 길이를 바이트 수로 나타내는 정수 값이 기록된다. ● Length field: indicates the length of the message, specifically, the length from the message type field to the timestamp field. In the Length field, an integer value representing the message length in bytes is recorded.

● 타임 스탬프 필드: 탐색 요청 메시지가 생성된 시간을 나타내며, 음(-)이 아닌 정수 값을 포함한다. 한 주기의 탐색 절차가 완료될 때까지 모든 메시지의 타임스탬프의 값은 동일하다. • Time Stamp Field: Indicates the time when the search request message was generated, and includes a non-negative integer value. All messages have the same timestamp value until one cycle of discovery is completed.

이러한 필드들을 공통으로 포함하면서, 다음과 같은 메시지 구성 방식들에 따라 본 발명의 실시 예에 따른 탐색 메시지의 데이터 필드가 다르게 구성된다. While including these fields in common, a data field of a discovery message according to an embodiment of the present invention is configured differently according to the following message construction methods.

1) 고정된 길이로 서비스 구성 정보를 전달하는 제1 메시지 구성 방식1) A first message construction method of delivering service configuration information with a fixed length

2) 가변 길이로 서비스 구성 정보를 전달하는 제2 메시지 구성 방식2) a second message construction method for delivering service configuration information with variable length

3) 서비스 구성 정보에 대한 타입과 길이를 나타내는 필드를 서비스 구성 정보의 필드의 앞에 위치시켜 전달하는 제3 메시지 구성 방식--여기서 타입 필드는 서비스 구성 정보의 형식을 구별하며, 예를 들어 서비스 구성 정보가 정수인 경우 타입 필드는 "1"을 가지며, 서비스 구성 정보가 문자열인 경우 타입 필드는 "2"를 가진다. 그리고 길이 필드는 각 서비스 구성 정보의 길이를 나타내는 정수값이다. 3) The third message composition method of transmitting a field indicating the type and length of the service configuration information in front of the field of the service configuration information, where the type field distinguishes the format of the service configuration information, for example, the service configuration information. If the information is an integer, the type field has "1". If the service configuration information is a string, the type field has "2". The length field is an integer value indicating the length of each service configuration information.

4) 위의 1)과 2)의 방식을 함께 사용하여 서비스 구성 정보를 전달하는 경우에 사용되는 것으로, 고정된 길이의 서비스 구성 정보를 전달하면서, 해당 서비스 구성 정보가 고정 길이를 가지는 것인지를 나타내는 구분자인 인코딩 타입 필드를 포함하는 제4 메시지 구성 방식4) Used to deliver service configuration information by using the above methods 1) and 2), indicating whether the corresponding service configuration information has a fixed length while delivering fixed length service configuration information. A fourth message construction method including an encoding type field which is a delimiter

5) 위의 1)과 2)의 방식을 함께 사용하여 서비스 구성 정보를 전달하는 경우 에 사용되는 것으로, 가변 길이의 서비스 구성 정보를 전달하면서, 해당 서비스 구성 정보가 가변 길이를 가지는 것인지를 나타내는 구분자인 인코딩 타입 필드를 포함하는 제5 메시지 구성 방식5) Used to deliver service configuration information using the above methods 1) and 2). A delimiter indicating whether the corresponding service configuration information has a variable length while delivering a variable length of service configuration information. Fifth message construction method including an encoding type field

도 8 내지 도 12는 본 발명의 실시 예에 따른 메시지 구성 방식들을 토대로 서비스 구성 정보 발견을 위한 탐색 메시지의 구조를 나타낸 도들이다. 8 to 12 are diagrams illustrating a structure of a discovery message for discovering service configuration information based on message configuration schemes according to an embodiment of the present invention.

각 도에서, 서비스 구성 정보 중 서비스 식별자(ID)를 나타내는 서비스 ID 필드는 1 바이트의 정수값을 가지며, 또한 서비스 정보를 나타내는 서비스 값 필드는 2바이트의 정수 값을 가진다. In each figure, the service ID field indicating the service identifier (ID) in the service configuration information has an integer value of 1 byte, and the service value field indicating the service information has an integer value of 2 bytes.

도 8에, 제1 메시지 구성 방식에 따라 데이터 필드가 구성된 탐색 메시지가 도시되어 있으며, 고정 길이의 서비스 ID 필드 및 서비스 값 필드를 포함한다. 8, a discovery message in which a data field is configured according to the first message configuration method is illustrated, and includes a fixed length service ID field and a service value field.

도 9에, 제2 메시지 구성 방식에 따라 데이터 필드가 구성된 탐색 메시지가 도시되어 있으며, 가변 길이의 서비스 ID 필드 및 서비스 값 필드를 포함하며, 서비스 ID 필드의 길이를 나타내는 길이 필드, 서비스 값 필드의 길이를 나타내는 길이 필드를 포함한다. 길이 필드는 해당 정보의 바로 전에 위치된다. 9, a discovery message in which a data field is configured according to a second message configuration method is shown, and includes a service ID field and a service value field of variable length, and includes a length field indicating a length of a service ID field and a service value field. It includes a length field indicating the length. The length field is located just before the information.

도 10에, 제3 메시지 구성 방식에 따라 데이터 필드가 구성된 탐색 메시지가 도시되어 있으며, 서비스 ID 필드 및 서비스 값 필드를 포함하며, 서비스 ID 필드의 길이를 나타내는 길이 필드, 서비스 ID 필드의 형식을 나타내는 타입 필드, 서비스 값 필드의 길이를 나타내는 길이 필드, 그리고 서비스 값 필드의 형식을 나타내는 타입 필드를 포함한다. 타입 필드와 길이 필드는 해당 정보의 바로 전에 위치되며, 예를 들어, 타입 필드, 길이 필드, 서비스 ID 필드의 순으로 위치된다. 10, a navigation message in which a data field is configured according to a third message configuration method is illustrated, and includes a service ID field and a service value field, and indicates a length field indicating a length of a service ID field and a format of a service ID field. It includes a type field, a length field indicating the length of the service value field, and a type field indicating the format of the service value field. The type field and the length field are located immediately before the corresponding information, for example, in the order of the type field, the length field, and the service ID field.

도 11에, 제4 메시지 구성 방식에 따라 데이터 필드가 구성된 탐색 메시지가 도시되어 있으며, 서비스 ID 필드 및 서비스 값 필드를 포함하며, 해당 정보의 인코딩 타입을 나타내는 인코딩 타입 필드를 포함한다. 인코딩 타입 필드는 해당 정보의 바로 전에 위치된다. In FIG. 11, a discovery message in which a data field is configured according to a fourth message construction method is illustrated, and includes a service ID field and a service value field, and includes an encoding type field indicating an encoding type of corresponding information. The encoding type field is located immediately before the corresponding information.

도 12에, 제5 메시지 구성 방식에 따라 데이터 필드가 구성된 탐색 메시지가 도시되어 있으며, 서비스 ID 필드 및 서비스 값 필드를 포함하며, 해당 정보의 인코딩 타입을 나타내는 인코딩 타입 필드, 서비스 ID 필드의 길이를 나타내는 길이 필드, 서비스 ID 필드의 타입을 나타내는 타입 필드, 서비스 값 필드의 길이를 나타내는 길이 필드, 그리고 서비스 값 필드의 형식을 나타내는 타입 필드를 더 포함한다. 인코딩 타입 필드가 가장 먼저 위치되며, 타입 필드와 길이 필드는 해당 정보의 바로 전에 위치된다. 12, a discovery message in which a data field is configured according to a fifth message configuration method is illustrated, and includes a service ID field and a service value field, and includes an encoding type field indicating an encoding type of corresponding information and a length of a service ID field. It further includes a length field indicating, a type field indicating the type of the service ID field, a length field indicating the length of the service value field, and a type field indicating the format of the service value field. The encoding type field is placed first, and the type field and the length field are located immediately before the corresponding information.

위에 기술된 바와 같이 본 발명의 실시 예에서는 서비스 구성 정보를 서비스 식별자와 서비스 값의 쌍으로 구성하여, RFID 리더 인식 장치와 RFID 리더 사이의 모든 서비스 제어 프로토콜에 관련된 정보를 전달한다. As described above, in the embodiment of the present invention, the service configuration information is configured as a pair of service identifiers and service values, thereby transferring information related to all service control protocols between the RFID reader recognition device and the RFID reader.

한편, 본 발명의 실시 예에서, RFID 리더 인식 장치가 RFID 리더의 하기와 같은 서비스 정보를 발견하고자 할 때, 탐색 메시지의 데이터 필드는 도 13과 같이 구성할 수 있다. 도 13은 탐색 메시지의 데이터 필드의 구성 예를 나타낸 도이다. Meanwhile, in the embodiment of the present invention, when the RFID reader recognizing apparatus wants to discover the following service information of the RFID reader, the data field of the discovery message may be configured as shown in FIG. 13. 13 is a diagram illustrating an example of a configuration of a data field of a discovery message.

<RFID 리더 인식 장치가 찾고자 하는 RFID 리더의 서비스 정보><Service Information of RFID Reader to be Found by RFID Reader Recognition Device>

서비스 이름: EPCglobalRM1.0, 서비스 포트: 5000Service Name: EPCglobalRM1.0, Service Port: 5000

서비스 이름: EPCglobalRP1.0, 서비스 포트: 5001Service Name: EPCglobalRP1.0, Service Port: 5001

서비스 이름: EPCglobalLLRP1.0, 서비스 포트: 5002Service Name: EPCglobalLLRP1.0, Service Port: 5002

위에 기술된 바와 같은 서비스 구성 정보 발견 과정은 부가적인 UDP 서비스 프로세스 형태로 구현될 수 있으므로, 그 구현이 매우 용이하다. The service configuration information discovery process as described above can be implemented in the form of an additional UDP service process, so the implementation is very easy.

이러한 서비스 구성 정보 발견 과정을 수행하기 위하여, 본 발명의 실시 예에 따른 RFID 리더 인식 장치는 다음과 같은 구조로 이루어질 수 있다. In order to perform the service configuration information discovery process, the RFID reader recognition apparatus according to an embodiment of the present invention may have the following structure.

도 14는 본 발명의 다른 실시 예에 따른 RFID 리더 인식 장치의 다른 구조를 나타낸 도이다. 14 is a view showing another structure of the RFID reader recognition apparatus according to another embodiment of the present invention.

기본적으로는 도 2에 도시된 바와 같이, 송신부(11'), 수신부(12'), 처리 제어부(13'), 요청 처리부(14'), 응답 처리부(15'), 멀티플렉서(16'), 그리고 메시지 테이블(18')를 포함하며, 도 2에 도시된 장치와는 달리, 주소 테이블 대신에 서비스 테이블(17')을 포함하며, ACK 처리부(19)를 더 포함한다. Basically, as shown in FIG. 2, the transmitter 11 ', the receiver 12', the process controller 13 ', the request processor 14', the response processor 15 ', the multiplexer 16', And a message table 18 ', and unlike the apparatus shown in FIG. 2, it includes a service table 17' instead of an address table, and further includes an ACK processing unit 19.

메시지 테이블(18')은 데이터를 생성하기 위해 필요한 정보를 저장하고 있으며, 구체적으로 시간을 나타내는 타임스탬프(TimeStamp)에 대한 정보가 저장되어 있다. The message table 18 'stores information necessary for generating data, and specifically, information on a time stamp indicating a time is stored.

서비스 테이블(17')에는 획득되는 서비스 ID와 서비스 값에 대한 정보가 저장된다. The service table 17 'stores information on the obtained service ID and service value.

처리 제어부(13')는 요청 처리부(14')와 응답 처리부(15') 그리고 ACK 처리부(19)와 연계하여 본 발명의 실시 예에 따른 인식이 이루어진 RFID 리더의 서비스 구성 정보를 발견하는 동작을 수행한다. The processing control unit 13 'is connected to the request processing unit 14', the response processing unit 15 'and the ACK processing unit 19 to discover service configuration information of the RFID reader which has been recognized according to an embodiment of the present invention. To perform.

구체적으로 수신부(12')를 통하여 수신되는 메시지로부터 데이터(여기서 데 이터는 메시지의 헤더와 패딩(padding)을 제거한 데이터 필드의 정보이다.)를 추출하여 요청 처리부(14') 또는 응답 처리부(15') 또는 ACK 처리부(19)로 제공한다. Specifically, data is extracted from the message received through the receiving unit 12 '(where data is information of a data field from which the header and padding of the message are removed) to extract the request processor 14' or the response processor 15. Or) to the ACK processing unit 19.

요청 처리부(14')는 요청 메시지를 수신한 경우 이를 처리하여 응답 메시지를 생성하고 생성된 응답 메시지를 송신부(11')로 전송하며, ACK 처리부(19)는 탐색 응답 메시지에 대한 ACK 처리를 수행한다. 응답 처리부(15')는 응답 메시지를 수신한 경우 이를 처리하여 ACK 메시지를 생성하고 생성된 ACK 메시지를 송신부(11')로 전송한다. When the request processor 14 'receives the request message, the request processor 14' processes the request message to generate a response message and transmits the generated response message to the transmitter 11 '. The ACK processor 19 performs an ACK process on the discovery response message. do. When the response processor 15 'receives the response message, the response processor 15' processes the response message to generate an ACK message and transmits the generated ACK message to the transmitter 11 '.

이러한 구조로 이루어지는 본 발명의 실시 예에 따른 RFID 리더 인식 장치는 위에 기술된 방법을 토대로 동작하며, 당업자라면 위의 방법을 토대로 RFID 리더 인식 장치의 동작을 구현할 수 있으므로, 여기서는 RFID 리더 인식 장치의 동작에 대한 상세한 설명을 생략한다. The RFID reader recognizing apparatus according to the embodiment of the present invention having such a structure operates based on the method described above, and a person skilled in the art can implement the operation of the RFID reader recognizing apparatus based on the above method. A detailed description of the description is omitted.

또한, 도 14에서 송신부(11'), 수신부(12'), 처리 제어부(13'), 요청 처리부(14'), 응답 처리부(15'), 멀티플렉서(16'), 메시지 테이블(18')은 도 2에 도시된 구성 요소와 동일할 수 있으며, 단지 서비스 구성 정보 발견을 위한 동작을 추가적으로 수행하는 형태로 구현될 수 있다. 물론 필요에 따라 도 2에 도시된 구성 요소와는 개별적인 요소로 구현될 수도 있다. In addition, in Fig. 14, the transmitter 11 ', the receiver 12', the processing controller 13 ', the request processor 14', the response processor 15 ', the multiplexer 16', and the message table 18 'are shown. 2 may be the same as the component illustrated in FIG. 2, and may be implemented only by additionally performing an operation for discovering service configuration information. Of course, if necessary, it may be implemented as a separate element from the component shown in FIG.

본 발명의 실시 예는 이상에서 설명한 장치 및/또는 방법을 통해서만 구현이 되는 것은 아니며, 본 발명의 실시예의 구성에 대응하는 기능을 실현하기 위한 프로그램, 그 프로그램이 기록된 기록 매체 등을 통해 구현될 수도 있으며, 이러한 구현은 앞서 설명한 실시예의 기재로부터 본 발명이 속하는 기술분야의 전문가라면 쉽게 구현할 수 있는 것이다.An embodiment of the present invention is not implemented only through the above-described apparatus and / or method, but may be implemented through a program for realizing a function corresponding to the configuration of the embodiment of the present invention, a recording medium on which the program is recorded, and the like. Such implementations may be readily implemented by those skilled in the art from the description of the above-described embodiments.

이상에서 본 발명의 실시 예에 대하여 상세하게 설명하였지만 본 발명의 권리범위는 이에 한정되는 것은 아니고 다음의 청구범위에서 정의하고 있는 본 발명의 기본 개념을 이용한 당업자의 여러 변형 및 개량 형태 또한 본 발명의 권리범위에 속하는 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, It belongs to the scope of right.

도 1은 본 발명의 실시 예에 따른 RFID 리더 인식 장치의 네트워크 연결 상태를 나타낸 예시도이다. 1 is an exemplary view showing a network connection state of an RFID reader recognition apparatus according to an embodiment of the present invention.

도 2는 본 발명의 실시 예에 따른 RFID 리더 인식 장치의 구조도이다. 2 is a structural diagram of an RFID reader recognition apparatus according to an embodiment of the present invention.

도 3은 본 발명의 실시 예에 따라 송수신되는 메시지들의 구조를 나타낸 도이다. 3 is a diagram illustrating a structure of messages transmitted and received according to an embodiment of the present invention.

도 4는 본 발명의 제1 실시 예에 따른 RFID 리더 인식 방법의 흐름도이다. 4 is a flowchart illustrating a RFID reader recognition method according to a first embodiment of the present invention.

도 5는 본 발명의 제2 실시 예에 따른 RFID 리더 인식 방법의 흐름도이다. 5 is a flowchart illustrating a RFID reader recognition method according to a second embodiment of the present invention.

도 6은 본 발명의 실시 예에 따른 RFID 리더 인식 방법에서, RFID 리더의 서비스 구성 정보를 획득하기 위하여 수행되는 과정을 나타낸 흐름도이다. 6 is a flowchart illustrating a process performed to obtain service configuration information of an RFID reader in an RFID reader recognition method according to an embodiment of the present invention.

도 7은 UDP에 따른 기본적인 메시지의 구조를 나타낸 도이다. 7 is a diagram illustrating a basic message structure according to UDP.

도 8 내지 도 12는 본 발명의 실시 예에 따른 메시지 구성 방식들을 토대로 서비스 구성 정보 발견을 위한 탐색 메시지의 구조를 나타낸 도들이다. 8 to 12 are diagrams illustrating a structure of a discovery message for discovering service configuration information based on message configuration schemes according to an embodiment of the present invention.

도 13은 탐색 메시지의 데이터 필드의 구성 예를 나타낸 도이다. 13 is a diagram illustrating an example of a configuration of a data field of a discovery message.

도 14는 본 발명의 다른 실시 예에 따른 RFID 리더 인식 장치의 구조도이다. 14 is a structural diagram of an RFID reader recognition apparatus according to another embodiment of the present invention.

Claims (14)

프로토콜 주소를 이미 획득한 복수의 무선 주파수 식별 태그(Radio Frequency Identification: 이하, RFID 라고 명명함) 리더들을 인식하는 장치의 RFID 리더 인식 방법에 있어서,In the RFID reader recognition method of a device for recognizing a plurality of Radio Frequency Identification (RFID) readers having already obtained a protocol address, RFID 리더의 프로토콜 주소를 요청하기 위한 요청 메시지를 생성하며, 상기 요청 메시지는 상기 장치의 하드웨어 주소와 프로토콜 주소, 그리고 상기 요청 메시지의 생성 시간을 나타내는 타임스탬프를 포함하는 단계;Generating a request message for requesting a protocol address of an RFID reader, the request message including a hardware address and a protocol address of the device and a timestamp indicating a generation time of the request message; 상기 요청 메시지를 전송하는 단계;Sending the request message; 상기 복수의 RFID 리더들 중 하나의 RFID 리더로부터 상기 요청 메시지에 대한 응답 메시지--상기 응답 메시지는 해당 RFID 리더의 하드웨어 주소 및 프로토콜 주소 그리고 상기 요청 메시지의 타임스탬프를 포함함--를 수신하는 단계; Receiving a response message to the request message from one of the plurality of RFID readers, the response message including a hardware address and a protocol address of the corresponding RFID reader and a timestamp of the request message. ; 상기 응답 메시지에 포함된 타임스탬프가 설정 조건을 만족하는 경우에, 상기 응답 메시지로부터 RFID 리더의 하드웨어 주소 및 프로토콜 주소를 추출하는 단계; 및Extracting a hardware address and a protocol address of an RFID reader from the response message when the time stamp included in the response message satisfies a setting condition; And 상기 추출된 RFID 리더의 하드웨어 주소에 상기 추출된 프로토콜 주소를 대응시켜 관리하는 단계Managing the extracted protocol address by mapping the hardware address of the extracted RFID reader to 를 포함하는, RFID 리더 인식 방법.Including, RFID reader recognition method. 제1항에 있어서The method of claim 1 상기 요청 메시지를 전송하는 단계는 상기 요청 메시지의 수신자 하드웨어 주소에 브로드캐스트 주소를 포함시켜 상기 요청 메시지를 브로드캐스팅하는, RFID 리더 인식 방법.And transmitting the request message includes broadcasting the request message by including a broadcast address in a receiver hardware address of the request message. 제1항에 있어서The method of claim 1 상기 복수의 RFID 리더들의 하드웨어 주소 리스트를 획득한 상태에서,In the state of acquiring the hardware address list of the plurality of RFID readers, 상기 요청 메시지를 전송하는 단계는 상기 요청 메시지에 인식하고자 하는 RFID 리더의 하드웨어 주소를 수신자 하드웨어 주소로 포함시켜, 상기 요청 메시지를 상기 인식하고자 하는 RFID 리더로 전송하는, RFID 리더 인식 방법.The transmitting of the request message includes the hardware address of the RFID reader to be recognized in the request message as a receiver hardware address, and transmits the request message to the RFID reader to be recognized. 제1항에 있어서The method of claim 1 상기 추출하는 단계는 The extracting step 상기 응답 메시지에 포함된 타임스탬프의 시간이 상기 장치가 마지막으로 요청 메시지를 생성한 시간과 동일한 경우, 상기 응답 메시지로부터 RFID 리더의 하드웨어 주소 및 프로토콜 주소를 추출하는, RFID 리더 인식 방법.And extracting a hardware address and a protocol address of the RFID reader from the response message when the time of the timestamp included in the response message is the same as the time when the device last generated the request message. 제1항에 있어서The method of claim 1 상기 추출하는 단계는 The extracting step 상기 응답 메시지에 포함된 타임스탬프의 시간이 상기 장치가 마지막으로 요청 메시지를 전송한 최종 전송 시간보다 빠른 경우, 상기 응답 메시지로부터 RFID 리더의 하드웨어 주소 및 프로토콜 주소를 추출하는, RFID 리더 인식 방법.And extracting the hardware address and the protocol address of the RFID reader from the response message when the timestamp of the timestamp included in the response message is earlier than the last transmission time when the device last transmitted the request message. 제1항에 있어서The method of claim 1 상기 요청 메시지 및 응답 메시지는 RFID 리더의 서비스 구성 정보를 획득하기 위한 포트를 나타내는 탐색 포트 필드를 더 포함하는, RFID 리더 인식 방법.The request message and response message further comprises a search port field indicating a port for obtaining service configuration information of the RFID reader. 제6항에 있어서The method of claim 6 상기 장치가 상기 요청 메시지의 탐색 포트 필드에 소정 포트에 대한 정보를 기록하여 전송하고, 상기 RFID 리더가 상기 탐색 포트를 사용하기로 한 경우,When the device records and transmits information about a predetermined port in the search port field of the request message, and the RFID reader decides to use the search port, 상기 장치가 상기 RFID 리더로부터 서비스 구성 정보 획득을 위한 탐색 요청 메시지를 수신하는 단계:Receiving, by the device, a search request message for obtaining service configuration information from the RFID reader: 상기 장치가 상기 탐색 요청 메시지에 응답으로, 서비스 식별자와 해당 서비스에 필요한 정보를 포함하는 서비스 값을 포함하는 탐색 응답 메시지를 전송하는 단계; 및Sending, by the device in response to the search request message, a search response message including a service identifier and a service value including information required for the service; And 상기 장치가 상기 RFID 리더로부터 탐색 ACK 메시지를 수신하는 단계The device receiving a discovery ACK message from the RFID reader 를 더 포함하는, RFID 리더 인식 방법.Further comprising, RFID reader recognition method. 제6항에 있어서The method of claim 6 상기 장치가 상기 요청 메시지의 탐색 포트 필드에 소정 포트에 대한 정보를 기록하지 않은 경우, 상기 장치가 상기 요청 메시지를 수신한 RFID 리더로부터 탐 색 포트 필드에 서비스 구성 정보 획득을 위한 포트가 기록되어 있는 응답 메시지를 수신하고,If the device does not record the information about the predetermined port in the search port field of the request message, the port for obtaining service configuration information is recorded in the search port field from the RFID reader which received the request message. Receive a response message, 상기 장치가 상기 RFID 리더의 서비스 구성 정보 획득을 위한 탐색 요청 메시지를 상기 RFID 리더로 전송하는 단계:Transmitting, by the device, a search request message for obtaining service configuration information of the RFID reader to the RFID reader: 상기 장치가 상기 RFID 리더로부터 탐색 요청 메시지에 대한 응답으로, 서비스 식별자와 해당 서비스에 필요한 정보를 포함하는 서비스 값을 포함하는 탐색 응답 메시지를 수신하는 단계; 및Receiving, by the device in response to a search request message from the RFID reader, a search response message including a service identifier and a service value including information required for the service; And 상기 장치가 상기 탐색 응답 메시지에 대한 탐색 ACK 메시지를 상기 RFID 리더로 전송하는 단계The device sending a discovery ACK message for the discovery response message to the RFID reader 를 더 포함하는, RFID 리더 인식 방법.Further comprising, RFID reader recognition method. 제7항 또는 제8항에 있어서The method according to claim 7 or 8 상기 탐색 응답 메시지, 탐색 요청 메시지, 탐색 ACK 메시지들은 복수의 메시지 구성 방식에 따라 복수 형태 중 하나인 데이터 필드를 포함하며,The search response message, the search request message, and the search ACK message include a data field having one of a plurality of forms according to a plurality of message construction methods. 상기 데이터 필드는 메시지의 타입을 나타내는 메시지 타입 필드, 메시지의 길이를 나타내는 메시지 길이 필드, 해당 메시지가 생성된 시간을 나타내는 타임 스탬프 필드를 포함하는, RFID 리더 인식 방법.The data field includes a message type field indicating a type of a message, a message length field indicating a length of a message, and a time stamp field indicating a time when a corresponding message is generated. 제9항에 있어서The method of claim 9 상기 복수의 메시지 구성 방식은, The plurality of message configuration method, 고정된 길이로 서비스 구성 정보를 전달하는 제1 메시지 구성 방식,A first message composition method of conveying service configuration information with a fixed length, 가변 길이로 서비스 구성 정보를 전달하는 제2 메시지 구성 방식,A second message composition method of conveying service configuration information with variable length, 서비스 구성 정보에 대한 타입과 길이를 나타내는 필드를 서비스 구성 정보의 필드의 앞에 위치시켜 전달하는 제3 메시지 구성 방식,A third message construction method of delivering a field indicating a type and a length of the service configuration information before the field of the service configuration information; 고정된 길이의 서비스 구성 정보를 전달하면서, 해당 서비스 구성 정보가 고정 길이를 가지는 것인지를 나타내는 구분자인 인코딩 타입 필드를 포함하는 제4 메시지 구성 방식,A fourth message composition method including an encoding type field which is a delimiter indicating whether the corresponding service configuration information has a fixed length while delivering the fixed length service configuration information; 가변 길이의 서비스 구성 정보를 전달하면서, 해당 서비스 구성 정보가 가변 길이를 가지는 것인지를 나타내는 구분자인 인코딩 타입 필드를 포함하는 제5 메시지 구성 방식A fifth message construction method including a encoding type field which is a delimiter indicating whether the corresponding service configuration information has a variable length while delivering a variable length of service configuration information 중 적어도 하나인, RFID 리더 인식 방법.At least one of RFID reader recognition method. 프로토콜 주소를 이미 획득한 복수의 무선 주파수 식별 태그(Radio Frequency Identification: 이하, RFID 라고 명명함) 리더들을 인식하는 장치에서,In a device that recognizes a plurality of Radio Frequency Identification (RFID) readers that have already obtained a protocol address, RFID 리더의 프로토콜 주소를 요청하는 요청 메시지-상기 요청 메시지는 상기 장치의 하드웨어 주소와 프로토콜 주소, 그리고 상기 요청 메시지의 생성 시간을 나타내는 타임스탬프를 포함함--를 생성하는 요청 처리부;A request processing unit for generating a request message requesting a protocol address of an RFID reader, wherein the request message includes a hardware address and a protocol address of the device, and a timestamp indicating a generation time of the request message; 상기 복수의 RFID 리더들 중 하나의 RFID 리더로부터 상기 요청 메시지에 대한 응답 메시지--상기 응답 메시지는 해당 RFID 리더의 하드웨어 주소 및 프로토콜 주소 그리고 상기 요청 메시지의 타임스탬프를 포함함--를 제공받아 처리하는 응답 처리부;Receiving and processing a response message for the request message from one of the plurality of RFID readers, the response message including a hardware address and a protocol address of the corresponding RFID reader and a timestamp of the request message A response processor; 상기 요청 메시지를 생성하는데 필요한 타임스탬프를 포함하는 정보를 저장하는 메시지 테이블; 및A message table for storing information including a timestamp required to generate the request message; And 상기 RFID 리더의 하드웨어 주소 및 프로토콜 주소가 저장되는 주소 테이블Address table that stores hardware address and protocol address of the RFID reader 을 포함하고,/ RTI &gt; 상기 응답 처리부는, 상기 응답 메시지에 포함된 타임스탬프가 설정 조건을 만족하는 경우에, 상기 응답 메시지로부터 RFID 리더의 하드웨어 주소 및 프로토콜 주소를 추출하여 상기 주소 테이블에 저장하는, RFID 리더 인식 장치.And the response processor extracts a hardware address and a protocol address of an RFID reader from the response message and stores it in the address table when the time stamp included in the response message satisfies a setting condition. 제11항에 있어서The method of claim 11, 상기 장치가 상기 요청 메시지의 탐색 포트 필드에 소정 포트에 대한 정보를 기록하여 전송하고, 상기 RFID 리더가 상기 탐색 포트를 사용하기로 한 경우,When the device records and transmits information about a predetermined port in the search port field of the request message, and the RFID reader decides to use the search port, 상기 응답 처리부는 상기 RFID 리더로부터 서비스 구성 정보 획득을 위한 탐색 요청 메시지를 수신하고, 이에 대한 서비스 식별자와 해당 서비스에 필요한 정보를 포함하는 서비스 값을 포함하는 탐색 응답 메시지를 전송하는, RFID 리더 인식 장치.The response processing unit receives a search request message for obtaining service configuration information from the RFID reader, and transmits a search response message including a service identifier for the service identifier and information necessary for the service, RFID reader recognition apparatus . 제11항에 있어서The method of claim 11, 상기 장치가 상기 요청 메시지의 탐색 포트 필드에 소정 포트에 대한 정보를 기록하지 않고, 상기 요청 메시지를 수신한 RFID 리더로부터 탐색 포트 필드에 서 비스 구성 정보 획득을 위한 포트가 기록되어 있는 응답 메시지를 수신한 경우,The device does not record information about a predetermined port in the search port field of the request message, and receives a response message in which a port for obtaining service configuration information is recorded in the search port field from the RFID reader receiving the request message. In one case, 상기 요청 처리부는 상기 RFID 리더의 서비스 구성 정보 획득을 위한 탐색 요청 메시지를 생성하여 상기 RFID 리더로 전송하며,The request processing unit generates a search request message for obtaining service configuration information of the RFID reader and transmits it to the RFID reader, 상기 장치는, 상기 RFID 리더로부터 탐색 요청 메시지에 대한 탐색 응답 메시지를 수신하면 탐색 ACK 메시지를 생성하는 ACK 처리부를 더 포함하는, RFID 리더 인식 장치.The apparatus further includes an ACK processing unit for generating a discovery ACK message upon receiving a discovery response message for the discovery request message from the RFID reader. 제12항 또는 제13항에 있어서The method according to claim 12 or 13 서비스 구성 정보인 서비스 식별자와 해당 서비스에 필요한 정보를 포함하는 서비스 값들이 저장되는 서비스 테이블을 더 포함하는, RFID 리더 인식 장치.And a service table in which service values including service identifiers, which are service configuration information, and information necessary for a corresponding service, are stored.
KR1020090043245A 2008-12-05 2009-05-18 method for recognizing radio Frequency identification tag reader and apparatus thereof KR101189805B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US12/625,228 US8334755B2 (en) 2008-12-05 2009-11-24 Method for recognizing radio frequency identification tag reader and apparatus thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020080123305 2008-12-05
KR20080123305 2008-12-05

Publications (2)

Publication Number Publication Date
KR20100065049A KR20100065049A (en) 2010-06-15
KR101189805B1 true KR101189805B1 (en) 2012-10-10

Family

ID=42364557

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090043245A KR101189805B1 (en) 2008-12-05 2009-05-18 method for recognizing radio Frequency identification tag reader and apparatus thereof

Country Status (1)

Country Link
KR (1) KR101189805B1 (en)

Also Published As

Publication number Publication date
KR20100065049A (en) 2010-06-15

Similar Documents

Publication Publication Date Title
US8334755B2 (en) Method for recognizing radio frequency identification tag reader and apparatus thereof
CN101542979B (en) MAC address overlap eliminating method, network device managing system, server, and information device
KR101130448B1 (en) Method for updating a table of correspondence between a logical address and an indentification number
US7720097B2 (en) Communication apparatus, communication method, communication program and recording medium
US20060069836A1 (en) Communication system and method for upgrade of user terminal software and user terminal upgraded by the same
JP2008172597A (en) Radio communication apparatus, radio communication system, digital radio-over-fiber communication method and program
JP2008154066A (en) Repeater, communication method, and communication program
CN101611608A (en) Be used for limiting node of broadcast domain of IP (Internet Protocol) network and the method and system that other nodes communicate
JP2002344475A (en) System and method for providing service to apparatus in home network and system and method being provided with service through home network
CN109729183A (en) Request processing method, device, equipment and storage medium
KR20120066915A (en) Method and system of providing remote access for device within home network
US7921218B2 (en) Method and system for generating a space signature
CN102598637B (en) Communications system
US7940760B2 (en) Method and apparatus for discovering component in at least one sub-network
CN108093390A (en) A kind of smart machine of feature based information finds method
CN113056759A (en) Method and system for network devices to obtain a trusted status representation of the status of a distributed ledger technology network
KR100533667B1 (en) Efficient home network management system and method
JP5091217B2 (en) Home device information collecting apparatus and home device information collecting method
KR101189805B1 (en) method for recognizing radio Frequency identification tag reader and apparatus thereof
KR100772879B1 (en) Apparatus, system and method for executing discovery in network
KR102435756B1 (en) Device group control system and method for controlling the same
CN109151086A (en) A kind of message forwarding method and the network equipment
JP2006020157A (en) Node information collecting device
JP4675842B2 (en) IP address management system, IP address management method and program
CN115150314B (en) Method and device for transmitting data packets across network domains, storage medium and electronic equipment

Legal Events

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

Payment date: 20151021

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20161004

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20171010

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20181205

Year of fee payment: 7