KR20110035828A - Mobile rfid device and data communication method thereof - Google Patents

Mobile rfid device and data communication method thereof Download PDF

Info

Publication number
KR20110035828A
KR20110035828A KR1020100038594A KR20100038594A KR20110035828A KR 20110035828 A KR20110035828 A KR 20110035828A KR 1020100038594 A KR1020100038594 A KR 1020100038594A KR 20100038594 A KR20100038594 A KR 20100038594A KR 20110035828 A KR20110035828 A KR 20110035828A
Authority
KR
South Korea
Prior art keywords
command
response
communication terminal
mobile communication
read
Prior art date
Application number
KR1020100038594A
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 US12/859,799 priority Critical patent/US20110074555A1/en
Publication of KR20110035828A publication Critical patent/KR20110035828A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/70Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
    • H04B5/77Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for interrogation
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0083Formatting with frames or packets; Protocol or part of protocol for error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords

Landscapes

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

Abstract

PURPOSE: A mobile RFID(Radio Frequency IDentification) device and a data communication method thereof are provided to reduce the errors of a command or response received and transmitted between a mobile communication terminal unit and an RFID reader. CONSTITUTION: A mobile communication terminal(111) provides a command, and an mRFID(mobile RFID) reader unit(112) provides the mobile communication terminal with the response for the command provided from the mobile communication terminal. The mobile communication terminal and the mRFID reader unit respectively include a CRC circuit for inspecting whether or not there is an error in a protocol message of the command or response. The mobile communication terminal unit retransmits the command to the mRFID reader unit according to the inspection result.

Description

모바일 무선주파수인식 장치 및 그것의 데이터 통신 방법{Mobile RFID device and data communication method thereof}Mobile radio frequency recognition device and data communication method thereof

본 발명은 모바일 전자 장치에 관한 것으로, 더욱 상세하게는 RFID 기술을 이용하는 모바일 무선주파인식 장치(이하, 모바일 RFID 장치라 함) 및 그것의 데이터 통신 방법에 관한 것이다.The present invention relates to a mobile electronic device, and more particularly, to a mobile radio frequency identification device (hereinafter, referred to as a mobile RFID device) using RFID technology and a data communication method thereof.

RFID(Radio Frequency IDentification, 무선주파수인식) 기술은 무선 주파수를 사용하여 고유한 식별 정보를 가지고 있는 태그로부터 비접촉식으로 정보를 독출하거나 기록할 수 있는 기술이다. RFID 기술은 태그가 부착된 물건이나 동물, 사람 등을 인식·추적·관리할 수 있다. 이러한 RFID 기술은 고유한 식별 정보를 지니고 물건이나 동물 등에 부착되는 복수의 태그(electronic tag 또는 transponder; 이하 ‘태그’라 한다)와 상기 태그가 가지고 있는 정보를 읽거나 쓰기 위한 RFID 리더(RFID Reader 또는 Interrogator: 이하 RFID 리더부라 함)로 구성된다. RFID (Radio Frequency IDentification) technology is a technology that can read or record information in a non-contact manner from a tag having unique identification information using radio frequency. RFID technology can recognize, track, and manage tagged objects, animals, and people. Such RFID technology has a plurality of tags (electronic tags or transponders) (hereinafter referred to as 'tags') attached to an object or animal with unique identification information and RFID readers for reading or writing information contained in the tags. Interrogator (hereinafter referred to as RFID reader).

본 발명의 목적은 이동통신 단말부와 RFID 리더부 사이에 주고 받는 명령이나 응답의 오류를 줄일 수 있는 모바일 RFID 장치 및 그것의 데이터 통신 방법을 제공하는 데 있다.Disclosure of Invention An object of the present invention is to provide a mobile RFID device and a data communication method thereof capable of reducing errors in commands and responses transmitted and received between a mobile communication terminal and an RFID reader.

본 발명의 실시 예에 따른 모바일 RFID 장치의 데이터 통신 방법은, 이동통신 단말부가 mRFID 리더부로 명령(command)을 제공하는 단계; 상기 mRFID 리더부가 명령에 대한 응답(response)을 상기 이동통신 단말부로 제공하는 단계; 및 상기 명령 또는 상기 응답의 프로토콜 메시지에 에러가 있는지를 검사하고, 검사 결과에 따라 상기 이동통신 단말부가 상기 mRFID 리더부로 상기 명령(command)을 재전송하는 단계를 포함한다.A data communication method of a mobile RFID device according to an embodiment of the present invention, the mobile communication terminal unit providing a command (command) to the mRFID reader unit; Providing, by the mRFID reader unit, a response to a command to the mobile communication terminal unit; And checking whether there is an error in the protocol message of the command or the response, and retransmitting the command to the mRFID reader unit according to a test result.

실시 예로서, 상기 명령과 응답에는 프로토콜 메시지의 에러를 검사하기 위한 CRC 필드가 포함된다. 상기 CRC 필드는 프로토콜 메시지의 엔드마크 필드 다음에 위치한다. 상기 명령을 재전송하는 수는 K(K는 자연수)번으로 제한될 수 있다.In an embodiment, the command and response include a CRC field for checking an error of a protocol message. The CRC field is located after the endmark field of the protocol message. The number of retransmissions of the command may be limited to K (K is a natural number).

본 발명의 실시 예에 따른 모바일 RFID 장치는 명령(command)을 제공하는 이동통신 단말부; 및 상기 이동통신 단말부로부터 제공된 명령에 대한 응답(response)을 상기 이동통신 단말부로 제공하는 mRFID 리더부를 포함한다. 여기에서, 상기 이동통신 단말부 및 상기 mRFID 리더부는 상기 명령 또는 상기 응답의 프로토콜 메시지에 에러가 있는지를 검사하기 위한 CRC 회로를 포함한다. 상기 이동통신 단말부는 에러 검사 결과에 따라 상기 mRFID 리더부로 상기 명령(command)을 재전송할 수 있다.Mobile RFID device according to an embodiment of the present invention comprises a mobile communication terminal for providing a command (command); And an mRFID reader unit for providing a response to a command provided from the mobile communication terminal unit to the mobile communication terminal unit. Here, the mobile communication terminal unit and the mRFID reader unit includes a CRC circuit for checking whether there is an error in the protocol message of the command or the response. The mobile communication terminal may retransmit the command to the mRFID reader according to the error check result.

실시 예로서, 상기 명령과 응답에는 프로토콜 메시지의 에러를 검사하기 위한 CRC 필드가 포함된다. In an embodiment, the command and response include a CRC field for checking an error of a protocol message.

다른 실시 예로서, 상기 명령은 셋 보안 키 명령이고, 상기 셋 보안 키 명령에는 ESN, 폰 번호, 사용자 지정 키에 대한 정보가 포함될 수 있다. 상기 명령은 셋 주파수 모드 명령이고, 상기 셋 주파수 모드 명령에는 주파수 호핑 모드, LbT 모드, 또는 특정 주파수 사용에 대한 정보가 포함될 수 있다. 상기 명령은 셋 MAC 제어 명령이고, 상기 셋 MAC 제어 명령에는 MAC(Medium Access Control) 사용 여부에 대한 정보가 포함될 수 있다. 상기 명령은 시작 자동 읽기 명령이고, 상기 시작 자동 읽기 명령에는 읽을 수 있는 태그의 최대 수, 태깅 최대 지속 시간, 반복 사이클에 대한 정보가 포함될 수 있다.In another embodiment, the command is a set security key command, and the set security key command may include information about an ESN, a phone number, and a user-specified key. The command is a set frequency mode command, and the set frequency mode command may include information about a frequency hopping mode, an LbT mode, or a specific frequency use. The command is a set MAC control command, and the set MAC control command may include information on whether to use medium access control (MAC). The command is a start auto read command, and the start auto read command may include information about a maximum number of tags that can be read, a tag maximum duration, and a repetition cycle.

본 발명에 의하면, 명령이나 응답의 에러로 인한 모바일 RFID 장치의 오동작을 방지할 수 있다.According to the present invention, malfunction of the mobile RFID device due to an error in a command or a response can be prevented.

도 1은 본 발명의 실시 예에 따른 모바일 RFID 장치를 보여주는 블록도이다.
도 2 및 도 3은 도 1에 도시된 명령과 응답의 프로토콜 메시지 구조를 보여준다.
도 4 및 도 5는 도 3에 도시된 명령과 응답의 페이로드 타입을 보여준다.
도 6은 도 1에 도시된 모바일 RFID 장치의 동작 방법을 설명하기 위한 순서도이다.
도 7 내지 도 9는 셋 보안 키(set security key) 명령과 응답을 예시적으로 보여준다.
도 10 및 도 11은 셋 주파수 모드(set frequency mode) 명령과 응답을 예시적으로 보여준다.
도 12 및 도 13은 셋 MAC 제어(set MAC control) 명령과 응답을 예시적으로 보여준다.
도 14 내지 도 16은 시작 자동 읽기(start automatic read) 명령과 응답을 예시적으로 보여준다.
도 17 내지 도 22는 시작 자동 읽기2(start automatic read2) 명령과 응답을 예시적으로 보여준다.
도 23 및 도 24는 중단 자동 읽기2(stop automatic read2) 명령과 응답을 예시적으로 보여준다.
도 25 내지 도 28은 시작 자동 읽기3(start automatic read3) 명령과 응답을 예시적으로 보여준다.
도 29 및 도 30은 중단 자동 읽기3(stop automatic read3) 명령과 응답을 예시적으로 보여준다.
도 31 및 도 32는 읽기 타입 C TID(read type C TID) 명령과 응답을 예시적으로 보여준다.
도 33 및 도 34는 이동통신 단말부와 mRFID 리더부 사이의 데이터 통신 방법을 설명하기 위한 흐름도이다.
1 is a block diagram illustrating a mobile RFID device according to an embodiment of the present invention.
2 and 3 show the protocol message structure of the command and response shown in FIG.
4 and 5 show the payload type of the command and response shown in FIG.
FIG. 6 is a flowchart illustrating a method of operating the mobile RFID device shown in FIG. 1.
7 through 9 show set security key commands and responses by way of example.
10 and 11 exemplarily show a set frequency mode command and response.
12 and 13 exemplarily show a set MAC control command and response.
14-16 illustrate a start automatic read command and response by way of example.
17 to 22 exemplarily illustrate a start automatic read2 command and a response.
23 and 24 exemplarily show a stop automatic read2 command and response.
25 to 28 exemplarily illustrate a start automatic read 3 command and a response.
29 and 30 exemplarily show a stop automatic read 3 command and response.
31 and 32 exemplarily illustrate a read type C TID command and a response.
33 and 34 are flowcharts illustrating a data communication method between a mobile communication terminal unit and an mRFID reader unit.

이하, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 정도로 상세히 설명하기 위하여, 본 발명의 실시 예 또는 적용 예를 첨부된 도면을 참조하여 설명하기로 한다.
DETAILED DESCRIPTION Hereinafter, exemplary embodiments or application examples of the present invention will be described with reference to the accompanying drawings so that those skilled in the art may easily implement the technical idea of the present invention. Shall be.

Ⅰ. 모바일 RFID 장치(Mobile RFID Device)Ⅰ. Mobile RFID Device

도 1은 본 발명의 실시 예에 따른 모바일 RFID 장치를 보여주는 블록도이다. 도 1을 참조하면, 모바일 RFID 장치(100)는 모바일 RFID 폰(110, 이하 mRFID 폰이라 함)과 복수의 태그(121~12N)를 포함한다. 여기에서, 모바일 RFID 장치(100)는 mRFID 폰(110) 이외에, RFID 기술을 이용하는 PDA, PMP 또는 노트북 등과 같은 다른 전자 기기도 사용할 있다.1 is a block diagram illustrating a mobile RFID device according to an embodiment of the present invention. Referring to FIG. 1, the mobile RFID device 100 includes a mobile RFID phone 110 (hereinafter referred to as mRFID phone) and a plurality of tags 121 to 12N. In addition to the mRFID phone 110, the mobile RFID device 100 may also use other electronic devices such as a PDA, a PMP, a notebook computer, or the like using RFID technology.

도 1을 참조하면, mRFID 폰(110)은 이동통신 단말부(111) 및 모바일 RFID 리더부(112, 이하 mRFID 리더부라 함)를 포함한다. 이동통신 단말부(111)는 UART, I2C, SPI 등과 같은 하드웨어 인터페이스를 통해 mRFID 리더부(112)와 연결될 수 있다. 이동통신 단말부(111)는 mRFID 리더부(112)로 명령(command)을 제공하고, mRFID 리더부(112)로부터 응답(response)을 받는다. 이동통신 단말부(111)와 mRFID 리더부(112) 사이에 주고받는 명령과 응답은 규약으로 정의되어 있다.Referring to FIG. 1, the mRFID phone 110 includes a mobile communication terminal 111 and a mobile RFID reader 112 (hereinafter referred to as mRFID reader). The mobile communication terminal 111 may be connected to the mRFID reader 112 through a hardware interface such as UART, I2C, SPI, or the like. The mobile communication terminal 111 provides a command to the mRFID reader 112 and receives a response from the mRFID reader 112. Commands and responses transmitted and received between the mobile communication terminal 111 and the mRFID reader 112 are defined by the protocol.

mRFID 리더부(112)는 다양한 RFID/USN용 무선설비 주파수 대역 중 UHF(860-960MHz) 대역을 사용하여, 복수의 태그(121~12N)와 통신할 수 있다. 한편, mRFID 리더부(112)는 UHF(860-960MHz) 대역과 HF(13.56MHz) 대역을 겸용해서 사용할 수도 있다. mRFID 리더부(112)는 FH(Frequency Hopping) 혹은 LbT(Listen before Talk)과 같은 주파수 점유 방식을 사용할 수 있다.  The mRFID reader unit 112 may communicate with the plurality of tags 121-12N by using the UHF (860-960 MHz) band among various radio frequency bands for RFID / USN. On the other hand, the mRFID reader unit 112 can also be used in combination with the UHF (860-960 MHz) band and the HF (13.56 MHz) band. The mRFID reader 112 may use a frequency occupation scheme such as frequency hopping (FH) or listen before talk (LbT).

계속해서 도 1을 참조하면, mRFID 폰(110)은 이동통신 단말부(111) 또는 mRFID 리더부(112) 내에 CRC 회로(101, 102)를 포함할 수 있다. 또한, mRFID 폰(110)은 이동통신 단말부(111)와 mRFID 리더부(112) 밖에, 별도의 CRC 회로(도시되지 않음)를 가질 수도 있다. 한편, mRFID 리더부(112)는 mRFID 폰(110)에 내장(도 1 참조)되거나, mRFID 폰(110)의 외부에 동글 타입(도시되지 않음)으로 연결될 수도 있다1, the mRFID phone 110 may include CRC circuits 101 and 102 in the mobile communication terminal 111 or the mRFID reader 112. In addition, the mRFID phone 110 may have a separate CRC circuit (not shown) outside the mobile communication terminal 111 and the mRFID reader 112. Meanwhile, the mRFID reader 112 may be built in the mRFID phone 110 (see FIG. 1) or may be connected to the outside of the mRFID phone 110 in a dongle type (not shown).

종래의 mRFID 폰은 휴대폰 배터리가 약할 때, 이동통신 단말부와 mRFID 리더부 사이에 잘못된 명령이나 응답을 주고 받을 수 있다. 잘못된 명령이나 응답은 mRFID 폰의 오동작을 유발할 수 있다. 본 발명의 실시 예에 따른 모바일 RFID 장치(100)는 CRC 회로(101, 102)를 포함함으로, 이동통신 단말부(111)와 mRFID 리더부(112) 사이의 명령(command)이나 응답(response)의 오류로 인한 오동작을 방지할 수 있다.The conventional mRFID phone may exchange an incorrect command or response between the mobile communication terminal and the mRFID reader when the cellular phone battery is weak. Incorrect commands or responses can cause mRFID phones to malfunction. Since the mobile RFID device 100 according to the embodiment of the present invention includes the CRC circuits 101 and 102, a command or a response between the mobile communication terminal 111 and the mRFID reader 112 is performed. Malfunctions caused by errors can be prevented.

도 2 및 도 3은 도 1에 도시된 mRFID 폰(110)의 명령(command)과 응답(response)의 프로토콜 메시지(protocol message)의 구조를 보여준다. 도 2는 CRC 회로를 사용하지 않는 경우의 프로토콜 메시지 구조이고, 도 3은 CRC 회로를 사용하는 경우의 프로토콜 메시지 구조이다. 도 3의 경우에는 프로토콜 메시지에, CRC 필드가 별도로 포함되어 있다. 도 3을 참조하면, 프로토콜 메시지는 프리앰블(preamble), 헤더(header), 페이로드(payload), 엔드마크(end mark), 그리고 CRC 필드를 포함한다. 2 and 3 show the structure of a protocol message of a command and a response of the mRFID phone 110 shown in FIG. 1. 2 is a protocol message structure when the CRC circuit is not used, and FIG. 3 is a protocol message structure when the CRC circuit is used. In the case of FIG. 3, the CRC field is separately included in the protocol message. Referring to FIG. 3, the protocol message includes a preamble, a header, a payload, an end mark, and a CRC field.

프리앰블과 엔드마크 필드는 프로토콜 메시지의 시작과 끝을 알려준다. 프리앰블과 엔드마크 필드는 각각 8 비트로 구성될 수 있다. 프리앰블 필드는 프로토콜 메시지의 맨 처음 부분에 위치한다. 그리고 엔드 마크 필드는 프로토콜 메시지의 맨 뒷 부분(도 2 참조) 또는 CRC 필드 앞 부분(도 3 참조)에 위치할 수 있다. 프리앰블과 엔드마크 필드는 일정한 값을 가질 수 있다. 예를 들면, 프리앰블 필드는 0xBB를 가지며, 엔드마크 필드의 경우에는 0x7E를 가질 수 있다. 여기에서, 0xNNNN는 16진수 표시법(hexadecimal notation)을 뜻한다.The preamble and endmark fields indicate the start and end of the protocol message. The preamble and the endmark field may consist of 8 bits each. The preamble field is located at the beginning of the protocol message. The end mark field may be located at the end of the protocol message (see FIG. 2) or at the front of the CRC field (see FIG. 3). The preamble and the endmark field may have a constant value. For example, the preamble field may have 0xBB, and in the case of an endmark field, it may have 0x7E. Here, 0xNNNN stands for hexadecimal notation.

계속해서 도 3을 참조하면, 헤더 필드는 메시지 타입(message type), 코드(code), 그리고 페이로드 길이(payload length) 필드로 구성된다. 메시지 타입 필드는 프로토콜 메시지가 명령(command), 응답(response), 또는 통지(notification) 중 어느 것인지를 나타내며, 총 8 비트로 구성된다. 코드 필드는 명령이나 응답의 종류를 구분하기 위한 정보를 포함한다. mRFID 리더부(도 1 참조, 112)가 처리해야 명령은 다양하며, 이에 대한 응답 또한 다양하다. 따라서 명령이나 응답의 종류에 따라 코드가 부여되면, mRFID 리더부(112)는 메시지 타입 필드와 코드 필드를 참조하여 이들을 구분할 수 있다. 페이로드 길이 필드는 헤더 필드 바로 뒤에 위치한 페이로드 필드의 길이를 나타내며, 16 비트로 구성된다.With continued reference to FIG. 3, the header field consists of a message type, code, and payload length field. The message type field indicates whether the protocol message is a command, a response, or a notification, and consists of a total of 8 bits. The code field contains information for identifying the type of command or response. Commands to be processed by the mRFID reader unit (see FIG. 1, 112) vary, and responses thereto also vary. Therefore, when codes are assigned according to the type of command or response, the mRFID reader 112 may distinguish them by referring to the message type field and the code field. The payload length field indicates the length of the payload field located immediately after the header field and is composed of 16 bits.

페이로드 필드는 다양한 형태의 데이터들이 저장되는 곳이다. 페이로드 필드는 명령(command)이나 응답(response)에 관련되는 아규먼트(argument)를 포함할 수 있다. 페이로드 필드에는 다양한 명령이나 응답에 적합하도록, 다양한 종류의 페이로드 타입이 사용될 수 있다. The payload field is where various types of data are stored. The payload field may include an argument related to a command or a response. In the payload field, various kinds of payload types may be used to fit various commands or responses.

프로토콜 메시지는 엔드마크 필드 다음에 CRC(Cyclic Redundancy Check) 필드를 포함할 수 있다. CRC 필드는 명령과 응답에 포함된 메시지 비트의 오류를 검증하는 데 사용된다. The protocol message may include a Cyclic Redundancy Check (CRC) field after the endmark field. The CRC field is used to verify errors in message bits included in commands and responses.

다시 도 1을 참조하면, mRFID 리더부(112)는 CRC 회로(102)를 이용하여, 명령(command)의 CRC 값을 계산하고, 명령에 포함된 체크섬(checksum) 또는 CRC 값이 유효(valid)한지를 검증할 수 있다. 만약 CRC 값이 유효하지 않으면, mRFID 리더부(112)는 명령을 버리거나(discard), 응답하지 않거나, 어떠한 액션도 취하지 않을 수 있다. 이 경우 mRFID 리더부(112)는 코드 필드와 결과 코드(result code, 예를 들면 0xFF)를 포함하는 응답(response)을 이동통신 단말부(도 1 참조, 111)로 보낼 수 있다. 이때 이동통신 단말부(111)는 명령(command)을 재전송할 수 있다.Referring back to FIG. 1, the mRFID reader 112 calculates a CRC value of a command using the CRC circuit 102, and checksums or CRC values included in the command are valid. Hanji can be verified. If the CRC value is not valid, the mRFID reader 112 may discard the command, stop responding, or take no action. In this case, the mRFID reader 112 may send a response including a code field and a result code (for example, 0xFF) to the mobile communication terminal (see FIG. 1). In this case, the mobile communication terminal 111 may retransmit a command.

마찬가지로, 이동통신 단말부(111)의 CRC 회로(도 1 참조, 101)는 응답(response)의 CRC 값을 계산하고, 응답에 포함된 체크섬(checksum) 또는 CRC 값이 유효(valid)한지를 검증할 수 있다. 만약 CRC 값이 유효하지 않으면, 이동통신 단말부(111)는 응답을 버리거나, 제한된 재전송 횟수 내에서 명령(command)을 재전송할 수 있다.Similarly, the CRC circuit (see FIG. 1, 101) of the mobile communication terminal 111 calculates the CRC value of the response and verifies whether the checksum or CRC value included in the response is valid. can do. If the CRC value is not valid, the mobile communication terminal 111 may discard the response or retransmit the command within a limited number of retransmissions.

CRC 값은 여러 가지 방법으로 계산할 수 있다. 예를 들면, 16 비트 CRC 값(CRC-16)은 메시지 타입부터 엔드마크 필드까지의 모든 메시지 비트를 이용하여 계산될 수 있다. 예를 들어, CRC 값은 아래 수학식 1과 같은 다항식(polynomial)을 사용하여 계산할 수 있다.CRC values can be calculated in several ways. For example, a 16 bit CRC value (CRC-16) may be calculated using all message bits from the message type to the endmark field. For example, the CRC value may be calculated using a polynomial such as Equation 1 below.

Figure pat00001
Figure pat00001

CRC 회로(101, 102) 내의 16-비트 레지스터(도시되지 않음)에는, CRC 값이 0xFFFF로 프리로드(preload)될 수 있다. CRC 값은 반전되고, 엔드마크 필드 다음에 추가되고, 전송될 수 있다. CRC 값은 최상위 바이트(most significant byte)가 먼저 전송될 수 있다. 그리고 각 바이트의 최상위 비트(most significant bit)가 먼저 전송될 수 있다.In a 16-bit register (not shown) in the CRC circuits 101 and 102, the CRC value may be preloaded to 0xFFFF. The CRC value may be inverted, added after the endmark field, and transmitted. The CRC value may be transmitted with the most significant byte first. The most significant bit of each byte may be transmitted first.

도 4는 Type A부터 Type AC까지의 다양한 페이로드 타입을 예시적으로 보여준다. 도 4 및 도 5에 도시된 바와 같이, 페이로드 타입 A~AC는 각각 고유의 필드를 포함한다. 4 exemplarily shows various payload types from Type A to Type AC. As shown in Figs. 4 and 5, payload types A to AC each include their own fields.

도 4를 참조하면, 페이로드 타입 A는 8 비트 아규먼트로 구성된다. 페이로드 타입 B는 가변 크기의 아규먼트로 구성된다. 페이로드 타입 C는 8 비트의 변조 인덱스(modulation index), 바이트 마스크(byte mask), 그리고 어드레스(address)로 구성된다. 페이로드 타입 W는 32 비트 액세스 패스워드, 16 비트 UII 길이(unique item identifier length), 가변 크기의 UII, 그리고 24 비트 락 데이터(lock data)로 구성된다.Referring to FIG. 4, payload type A consists of 8 bit arguments. Payload type B consists of arguments of variable size. Payload type C consists of an 8-bit modulation index, a byte mask, and an address. Payload type W consists of a 32 bit access password, a 16 bit UII length (unique item identifier length), a variable size UII, and 24 bit lock data.

도 5를 참조하면, 페이로드 타입 Y는 8 비트 아규먼트(Arg1)와 가변 크기의 아규먼트(Arg2)로 구성된다. 페이로드 타입 Z는 8 비트의 아규먼트1~3 (Arg1~Arg3)와 16 비트 아규먼트(Arg4)로 구성된다. 페이로드 타입 AA는 아규먼트1~21(Arg1~ Arg21)로 구성된다. 페이로드 타입 AA에서, 아규먼트1(Arg1)은 태그의 수를 의미하며, 하나의 메시지는 10개 이내의 태그를 가져야 한다. 페이로드 타입 AB는 아규먼트1~5(Arg1~ Arg5)로 구성된다. 아규먼트(Arg1~Arg5)는 읽을 최대 태그 수, 최대 태깅 시간, 읽기 사이클, 액세스 모드, 그리고 TID 시작 어드레스를 나타낸다. 페이로드 타입 AC는 아규먼트1~31(Arg1~ Arg31)로 구성된다. 아규먼트(Arg1~Arg31)는 읽을 최대 태그 수, PC, UII, 컨텐트 이름 등을 포함한다. Referring to FIG. 5, payload type Y is composed of an 8-bit argument Arg1 and a variable size argument Arg2. Payload type Z is composed of 8-bit arguments 1 to 3 (Arg1 to Arg3) and 16-bit arguments (Arg4). The payload type AA is composed of arguments 1 to 21 (Arg1 to Arg21). In payload type AA, argument 1 (Arg1) means the number of tags, and one message should have less than 10 tags. Payload type AB is composed of arguments 1 to 5 (Arg1 to Arg5). Arguments Arg1 to Arg5 indicate the maximum number of tags to read, the maximum tagging time, the read cycle, the access mode, and the TID start address. Payload type AC is composed of arguments 1 to 31 (Arg1 to Arg31). Arguments Arg1 to Arg31 include a maximum number of tags to be read, a PC, a UII, a content name, and the like.

도 6은 도 1에 도시된 모바일 RFID 장치(100)의 이동통신 단말부(111)와 mRFID 리더부(112) 사이의 통신 방법을 설명하기 위한 순서도이다. 도 1 및 도 6을 참조하여, 본 발명의 실시 예에 따른 모바일 RFID 장치(100)의 동작 방법이 설명된다.FIG. 6 is a flowchart illustrating a communication method between the mobile communication terminal 111 and the mRFID reader 112 of the mobile RFID device 100 shown in FIG. 1. 1 and 6, a method of operating the mobile RFID device 100 according to an embodiment of the present invention will be described.

S110 단계에서, 이동통신 단말부(111)는 사용자의 요청 등에 따라 mRFID 리더부(112)로 전원 켜짐 명령을 제공한다. mRFID 리더부(112)는 전원 켜짐 명령에 응답하여 전원이 켜진다(S115).In step S110, the mobile communication terminal 111 provides a power on command to the mRFID reader 112 according to a user's request. The mRFID reader 112 is powered on in response to the power on command (S115).

S120 단계에서, 이동통신 단말부(111)는 mRFID 리더부(112)로 보낼 명령(command)을 구성한다. 여기에서, 명령(command)은 도 2에서 설명한 프로토콜 메시지 구조를 갖는다. 명령(command)에는 리더 제어/관리, 태그 읽기, 태그 쓰기, 태그 lock/unlock, 태그 지우기, 부가 기능 등에 관한 것들이 포함될 수 있다.In step S120, the mobile communication terminal 111 configures a command to be sent to the mRFID reader 112. Here, the command has the protocol message structure described in FIG. Commands may include things like reader control / management, tag reading, tag writing, tag lock / unlock, tag erasing, and additional functions.

S130 단계에서, 이동통신 단말부(111)는 명령(command)에 CRC 필드를 추가한다. CRC 필드는 도 3에서 설명한 바와 같이 엔드마크 필드 다음에 추가될 수 있다. S140 단계에서, 이동통신 단말부(111)는 CRC 필드를 포함하는 명령(command+CRC)을 mRFID 리더부(112)로 송신한다.In step S130, the mobile communication terminal 111 adds a CRC field to the command (command). The CRC field may be added after the endmark field as described in FIG. 3. In step S140, the mobile communication terminal 111 transmits a command (command + CRC) including a CRC field to the mRFID reader 112.

S141 단계에서, mRFID 리더부(112)는 이동통신 단말부(111)로부터 명령(command)을 입력받고, CRC 검사를 수행한다. mRFID 리더부(112)는 CRC 에러가 있는지 여부를 판단한다. In step S141, the mRFID reader 112 receives a command from the mobile communication terminal 111 and performs a CRC check. The mRFID reader 112 determines whether there is a CRC error.

CRC 에러가 없는 경우에는 S142 단계가 수행된다. S142 단계에서, mRFID 리더부(112)는 이동통신 단말부(111)로부터 입력받은 명령을 수행한다. S143 단계에서, mRFID 리더부(112)는 명령 수행에 따른 응답(이하, CMD_응답이라 함)을 구성한다. mRFID 리더부(112)는 CMD_응답에 CRC 필드를 추가한다. CRC 필드는 도 3에서 설명한 바와 같이 엔드마크 필드 다음에 추가될 수 있다. S145 단계에서, mRFID 리더부(112)는 CRC 필드를 포함하는 CRC_응답(CMD_response+CRC)을 이동통신 단말부(111)로 송신한다.If there is no CRC error, step S142 is performed. In step S142, the mRFID reader 112 performs a command received from the mobile communication terminal 111. In step S143, the mRFID reader unit 112 constructs a response (hereinafter referred to as CMD_response) according to the command execution. The mRFID reader 112 adds a CRC field to the CMD_Response. The CRC field may be added after the endmark field as described in FIG. 3. In step S145, the mRFID reader unit 112 transmits a CRC_response (CMD_response + CRC) including a CRC field to the mobile communication terminal unit 111.

S141 단계에서, CRC 에러가 있는 경우에는 S144 단계가 수행된다. S144 단계에서, mRFID 리더부(112)는 CRC 에러에 따른 응답(이하, ERR_응답이라 함)을 구성한다. mRFID 리더부(112)는 ERR_응답에 CRC 필드를 추가한다. S145 단계에서, mRFID 리더부(112)는 CRC 필드를 포함하는 ERR_응답(ERR_response+CRC)을 이동통신 단말부(111)로 송신한다.In step S141, if there is a CRC error, step S144 is performed. In step S144, the mRFID reader 112 configures a response (hereinafter referred to as ERR_response) according to the CRC error. The mRFID reader 112 adds a CRC field to the ERR_response. In step S145, the mRFID reader unit 112 transmits an ERR_response (ERR_response + CRC) including a CRC field to the mobile communication terminal unit 111.

S150 단계에서, 이동통신 단말부(111)는 mRFID 리더부(112)로부터 응답(ERR_응답 또는 CMD_응답)을 입력받고, CRC 검사를 수행한다. 이동통신 단말부(111)는 mRFID 리더부(112)로부터 입력받은 응답(ERR_응답+CRC 또는 CMD_응답+CRC)에 CRC 에러가 있는지 여부를 판단한다. In step S150, the mobile communication terminal 111 receives a response (ERR_response or CMD_response) from the mRFID reader 112 and performs a CRC check. The mobile communication terminal 111 determines whether there is a CRC error in the response (ERR_response + CRC or CMD_response + CRC) received from the mRFID reader 112.

CRC 에러가 없는 경우(즉, ERR_응답+CRC 또는 CMD_응답+CRC에 에러가 없는 경우)에는 S160 단계가 수행된다. S160 단계에서, 이동통신 단말부(111)는 mRFID 리더부(112)로부터 입력받은 응답이 ERR_응답인지를 판단한다. ERR_응답이 아니면, 즉 CMD_응답이면 결과를 저장한다(S180). S150 단계에서 CRC 에러가 있거나, S160 단계에서 ERR_응답인 경우에, 명령(command)을 재송신하는 과정(S170 단계 및 S140 단계)이 수행된다.If there is no CRC error (that is, there is no error in ERR_Response + CRC or CMD_Response + CRC), step S160 is performed. In step S160, the mobile communication terminal 111 determines whether the response received from the mRFID reader 112 is an ERR_ response. If it is not the ERR_ response, that is, the CMD_ response, the result is stored (S180). If there is a CRC error in step S150 or ERR_response in step S160, a process of sending a command (steps S170 and S140) is performed.

S170 단계에서, 명령 재송신 수가 최대 재송신 수보다 작거나 같은지를 판단한다. 이동통신 단말부(111)는 최대 재송신 수를 미리 저장하며, 재송신되는 명령의 수를 카운트한다. 재송신 수가 최대 재송신 수보다 작거나 같으면, CRC 필드를 포함하는 명령을 재송신한다(S140). 만약 재송신 수가 최대 재송신 수보다 크면, 결과를 저장한다(S180). In step S170, it is determined whether the number of command retransmissions is less than or equal to the maximum number of retransmissions. The mobile communication terminal 111 stores the maximum retransmission number in advance and counts the number of retransmission commands. If the number of retransmissions is less than or equal to the maximum number of retransmissions, the command including the CRC field is retransmitted (S140). If the number of retransmissions is greater than the maximum number of retransmissions, the result is stored (S180).

S190 단계에서, 이동통신 단말부(111)는 사용자 요청 등에 따라 mRFID 리더부(112)로 전원 꺼짐 명령을 제공한다. mRFID 리더부(112)는 전원 꺼짐 명령에 응답하여 전원을 끈다(S195).In step S190, the mobile communication terminal 111 provides a power off command to the mRFID reader 112 in response to a user request. The mRFID reader 112 turns off the power in response to the power off command (S195).

다시 도 1을 참조하면, 본 발명의 실시 예에 따른 모바일 RFID 장치(100)는 CRC 회로(101, 102) 및 CRC 필드를 이용하여, 명령(command)이나 응답(response)의 오류를 검사(check)할 수 있다. 본 발명에 의하면, 명령이나 응답의 오류로 인한 모바일 RFID 장치(100)의 오동작을 방지할 수 있다.Referring back to FIG. 1, the mobile RFID device 100 according to an embodiment of the present invention checks an error of a command or a response by using the CRC circuits 101 and 102 and the CRC field. )can do. According to the present invention, a malfunction of the mobile RFID device 100 due to an error in a command or a response can be prevented.

이하에서는 도 1에 도시된 이동통신 단말부(111)와 mRFID 리더부(112) 사이에 주고 받는 명령(command)과 응답(response)의 다양한 실시 예들이 설명된다. 명령과 응답의 프로토콜 메시지에는 CRC 필드가 포함될 수 있다.
Hereinafter, various embodiments of a command and a response between the mobile communication terminal 111 and the mRFID reader 112 shown in FIG. 1 will be described. The protocol message of the command and response may include a CRC field.

Ⅱ. 명령과 응답의 실시 예II. Examples of Commands and Responses

1. Set Security Key1.Set Security Key

도 7 내지 도 9는 셋 보안 키(set security key) 명령과 응답을 예시적으로 보여준다. 도 7 내지 도 9를 참조하면, 셋 보안 키 명령과 응답에는 엔드마크 필드 다음에, CRC 필드가 포함될 수 있다. CRC 필드의 값은 예시적으로 0xNNNN으로 표시되어 있다.7 through 9 show set security key commands and responses by way of example. 7 to 9, the set security key command and response may include an CRC field after the endmark field. The value of the CRC field is exemplarily indicated by 0xNNNN.

도 7 및 도 8을 참조하면, 셋 보안 키 명령은 ISO 18000-6 Type C 규약에 관련되며, 보안 키를 세트하거나 패스워드를 액세스하는 데 사용된다. 셋 보안 키 명령은 메시지 타입(message type), 코드(code), 페이로드 길이(payload length), 그리고 아규먼트(arguement)를 포함한다. 메시지 타입은 명령을 가리키는 0x00으로 표현된다. 코드는 셋 보안 키(set security key)를 가리키는 0x18로 표현된다. 페이로드 타입은 페이로드 타입 Y(도 5 참조)에 의해 표현될 수 있다. 7 and 8, the set security key command relates to the ISO 18000-6 Type C protocol and is used to set a security key or access a password. Set security key commands include a message type, code, payload length, and arguments. The message type is represented by 0x00 indicating the command. The code is represented by 0x18, which indicates a set security key. The payload type may be represented by payload type Y (see FIG. 5).

아규먼트는 태그로 보내질 8 비트 선택 보안 모드(SelSeM)와 32 비트 보안 키 값(SeKey, 도 7 참조) 또는 액세스 패스워드(도 8 참조)로 구성된다. 도 7을 참조하면, 선택 보안 모드(SelSeM) 값은 데이터 보안 모드가 디스에이블(디폴트)인 경우에는 0x00으로 표현된다. 그리고 데이터 보안 모드가 인에이블인 경우에는 0x01로 표현된다. 도 7에서는 선택 보안 모드(SelSeM)는 0x01로 표현되어 있다.The argument consists of an 8-bit select security mode (SelSeM) to be sent to the tag and a 32-bit security key value (SeKey, see FIG. 7) or an access password (see FIG. 8). Referring to FIG. 7, the selection security mode (SelSeM) value is represented by 0x00 when the data security mode is disabled (default). If the data security mode is enabled, it is represented by 0x01. In FIG. 7, the selection security mode SelSeM is represented by 0x01.

도 8을 참조하면, 선택 보안 모드(SelSeM) 값은 보안 모드가 디스에이블인 동안에, 태그의 예비 메모리 뱅크(reserved memory bank)를 위한 패스워드를 액세스하는 경우에는 0x10로 표현된다. 보안 모드가 인에이블인 동안에, 태그의 패스워드를 액세스하는 경우에는 0x11로 표현된다. 도 8에서는 선택 보안 모드(SelSeM)는 0x01로 표현되어 있다.Referring to FIG. 8, the Select Secure Mode (SelSeM) value is expressed as 0 × 10 when accessing a password for a reserved memory bank of a tag while the secure mode is disabled. While the security mode is enabled, it is represented by 0x11 when accessing the tag's password. In FIG. 8, the selection security mode SelSeM is represented by 0x01.

도 7에서, 보안 키 값(SeKey)은 ESN(Electronic Serial Number), 전화 번호(phone number), 그리고 사용자 정의 키(user defined key)일 수 있다. 도 7을 참조하면, 보안 키(SeKey)는 0x80202180로 표현되어 있다. 도 8을 참조하면, 액세스 패스워드는 0x12345678로 표현되어 있다.In FIG. 7, the security key value SeKey may be an electronic serial number (ESN), a phone number, and a user defined key. Referring to FIG. 7, a security key SeKey is represented by 0x80202180. Referring to Fig. 8, the access password is represented by 0x12345678.

도 9는 셋 보안 키 명령에 대한 응답 프로토콜 메시지의 구조를 예시적으로 보여준다. 셋 보안 키 명령에 대한 응답은 메시지 타입(message type), 코드(code), 페이로드 길이(payload length), 그리고 아규먼트(arguement)를 포함한다. 메시지 타입은 응답을 가리키는 0x01로 표현된다. 코드는 성공(success)의 경우에는 0x18로 표현되고, 실패(failure)의 경우에는 0xFF로 표현된다. 페이로드 타입은 페이로드 타입 A(도 4 참조)에 의해 표현될 수 있다. 9 exemplarily shows a structure of a response protocol message for a set security key command. The response to the set security key command includes a message type, code, payload length, and arguments. The message type is represented by 0x01 indicating the response. The code is represented by 0x18 in case of success and 0xFF in case of failure. The payload type may be represented by payload type A (see FIG. 4).

아규먼트는 셋 보안 키 명령에 성공한 경우에는 결과 코드(result code) 0x00으로 표현되고, 셋 보안 키 명령에 실패한 경우에는 결과 코드 0x21로 표현된다. 지원되지 않는 명령(not supported command)인 경우에, 아규먼트는 0x17로 표현된다. 도 9에는 코드는 0x18, 아규먼트는 0x00으로 표현되어 있다.
The argument is represented by the result code 0x00 if the set security key command is successful, and the result code 0x21 if the set security key command fails. In the case of a not supported command, the argument is represented by 0x17. In FIG. 9, the code is represented by 0x18 and the argument is represented by 0x00.

2. Set Frequency Mode2. Set Frequency Mode

도 10 및 도 11은 셋 주파수 모드(set frequency mode) 명령과 응답을 예시적으로 보여준다. 도 10 및 도 11을 참조하면, 셋 주파수 모드 명령과 응답에는 엔드마크 필드 다음에, CRC 필드가 포함될 수 있다. 셋 주파수 모드 명령은 주파수 모드를 세트하거나 특별 주파수(special frequency)를 세트하는 데 사용된다. 10 and 11 exemplarily show a set frequency mode command and response. 10 and 11, the set frequency mode command and response may include an CRC field after the endmark field. The set frequency mode command is used to set a frequency mode or set a special frequency.

도 10을 참조하면, 셋 주파수 모드 명령은 메시지 타입(message type), 코드(code), 페이로드 길이(payload length), 그리고 아규먼트(arguement)를 포함한다. 메시지 타입(msg type)은 명령을 가리키는 0x00으로 표현된다. 코드(code)는 셋 주파수 모드(set frequency mode)를 가리키는 0x19로 표현된다. 페이로드 타입은 페이로드 타입 O(도 4 참조, 도시되지 않음)에 의해 표현될 수 있다. 페이로드 타입 O는 8 비트 아규먼트(Arg1)와 8, 16, 24, 또는 32 비트 아규먼트(Arg2)로 구성된다. Referring to FIG. 10, the set frequency mode command includes a message type, a code, a payload length, and an argument. The message type (msg type) is represented by 0x00 indicating the command. Code is represented by 0x19 indicating the set frequency mode. The payload type may be represented by payload type O (see FIG. 4, not shown). Payload type O consists of an 8 bit argument Arg1 and an 8, 16, 24, or 32 bit argument Arg2.

도 10을 참조하면, 아규먼트는 8 비트 Arg1(SelFM)과 24 비트 Arg2로 구성된다. Arg1은 선택 주파수 모드(SelFM)를 나타낸다. 예를 들면, Arg1은 선택 주파수 모드(SelFM)가 주파수 호핑 모드(frequency hopping mode)인 경우에는 0x00으로 표현되고(디폴트), LbT 모드인 경우에는 0x01로 표현되며, 특별 주파수인 경우에는 0x02로 표현된다. 도 10에는 0x02로 표현되어 있다. 그리고 Arg2는 Arg1이 0x01이면 LbT 드레솔드(dBm unit)를 정의하고, Arg1이 0x02이면 주파수(kHz unit)를 정의한다. 도 10에서는, 주파수(frequency)가 0x0E0A3D(920.125MHz)로 표현되어 있다. Referring to FIG. 10, the argument consists of 8-bit Arg1 (SelFM) and 24-bit Arg2. Arg1 represents the selected frequency mode (SelFM). For example, Arg1 is expressed as 0x00 when the selected frequency mode (SelFM) is in frequency hopping mode (default), 0x01 when in the LbT mode, and 0x02 when in a special frequency. do. It is represented by 0x02 in FIG. Arg2 defines an LbT dress (dBm unit) when Arg1 is 0x01, and defines a frequency (kHz unit) when Arg1 is 0x02. In FIG. 10, the frequency is represented by 0x0E0A3D (920.125 MHz).

도 11은 셋 주파수 모드 명령에 대한 응답 프로토콜 메시지의 구조를 예시적으로 보여준다. 셋 주파수 모드 명령에 대한 응답은 메시지 타입(message type), 코드(code), 페이로드 길이(payload length), 그리고 아규먼트(arguement)를 포함한다. 메시지 타입은 응답을 가리키는 0x01로 표현된다. 코드는 성공(success)의 경우에는 0x19로 표현되고, 실패(failure)의 경우에는 0xFF로 표현된다. 페이로드 타입은 페이로드 타입 A(도 4 참조)에 의해 표현될 수 있다. 11 exemplarily shows a structure of a response protocol message for a set frequency mode command. The response to the set frequency mode command includes a message type, a code, a payload length, and an argument. The message type is represented by 0x01 indicating the response. The code is represented by 0x19 in case of success and 0xFF in case of failure. The payload type may be represented by payload type A (see FIG. 4).

아규먼트(Arg)는 성공의 경우에 결과 코드(result code) 0x00으로 표현되고, 실패의 경우에는 결과 코드 0x22로 표현된다. 지원되지 않는 명령(not supported command)인 경우에, 아규먼트는 0x17로 표현된다.
Argument Arg is represented by result code 0x00 in case of success and result code 0x22 in case of failure. In the case of a not supported command, the argument is represented by 0x17.

3. Set MAC Control3.Set MAC Control

도 12 및 도 13은 셋 MAC 제어(set MAC control) 명령과 응답을 예시적으로 보여준다. 도 12 및 도 13을 참조하면, 셋 MAC 제어 명령과 응답에는 엔드마크 필드 다음에, CRC 필드가 포함될 수 있다.12 and 13 exemplarily show a set MAC control command and response. 12 and 13, the set MAC control command and response may include an CRC field after the endmark field.

도 12는 셋 MAC 제어 명령을 위한 프로토콜 메시지의 구조를 예시적으로 보여준다. 셋 MAC 제어 명령은 특히 ISO/IEC 29143에 관련된, MAC(Medium Access Control)을 세트하는 데 사용된다. 셋 MAC 제어 명령은 메시지 타입(message type), 코드(code), 페이로드 길이(payload length), 그리고 아규먼트(arguement)를 포함한다. 메시지 타입(msg type)은 명령을 가리키는 0x00으로 표현된다. 코드(code)는 셋 MAC 제어(set MAC control)를 가리키는 0x1A로 표현된다. 페이로드 타입은 페이로드 타입 O(도 4 참조, 도시되지 않음)에 의해 표현될 수 있다. 12 exemplarily shows a structure of a protocol message for a set MAC control command. The set MAC control command is used to set a medium access control (MAC), particularly related to ISO / IEC 29143. The set MAC control command includes a message type, a code, a payload length, and an argument. The message type (msg type) is represented by 0x00 indicating the command. The code is represented by 0x1A indicating set MAC control. The payload type may be represented by payload type O (see FIG. 4, not shown).

아규먼트는 8 비트 Arg1(EnMAC)과 8 비트 Arg2로 구성된다. Arg1은 MAC 기능(EnMAC)을 인에이블하거나 디스에이블하는 데 사용된다. 예를 들면, Arg1은 MAC 기능을 인에이블하는 경우에는 0x00으로 표현되고(디폴트), MAC 기능을 디스에이블하는 경우에는 0x01로 표현된다. 도 12에서, EnMAC는 0x00으로 표시되어 있다. The argument consists of 8-bit Arg1 (EnMAC) and 8-bit Arg2. Arg1 is used to enable or disable the MAC function (EnMAC). For example, Arg1 is represented by 0x00 when enabling the MAC function (default) and 0x01 when disabling the MAC function. In FIG. 12, EnMAC is indicated as 0x00.

그리고 Arg2의 MSB 4 비트는 0x0(0%)에서 0xA(100%, default)의 범위를 갖는, interference interrogator의 amplitude threshold를 나타내는 데 사용된다. Arg2의 LSB 4 비트는 0x0에서 0xF(default=0x7)의 범위를 갖는, collision count의 평균 드레솔드를 나타내는 데 사용된다. 도 12에서는 EnMAC은 0x00이고, interference interrogator의 amplitude threshold가 0xA이며, collision count의 평균 드레솔드가 0x7인 경우의 프로토콜 메시지가 도시되어 있다.The MSB 4 bits of Arg2 are used to represent the amplitude threshold of the interference interrogator, ranging from 0x0 (0%) to 0xA (100%, default). The LSB 4 bits of Arg2 are used to represent the average threshold of collision count, ranging from 0x0 to 0xF (default = 0x7). FIG. 12 shows a protocol message when EnMAC is 0x00, amplitude threshold of interference interrogator is 0xA, and average threshold of collision count is 0x7.

도 13은 셋 MAC 제어 명령에 대한 응답 프로토콜 메시지의 구조를 예시적으로 보여준다. 셋 MAC 제어 명령에 대한 응답은 메시지 타입(message type), 코드(code), 페이로드 길이(payload length), 그리고 아규먼트(arguement)를 포함한다. 메시지 타입은 응답을 가리키는 0x01로 표현된다. 코드는 성공(success)의 경우에는 0x1A로 표현되고, 실패(failure)의 경우에는 0xFF로 표현된다. 페이로드 타입은 페이로드 타입 A(도 4 참조)에 의해 표현될 수 있다. 13 exemplarily shows a structure of a response protocol message for a set MAC control command. The response to the set MAC control command includes a message type, a code, a payload length, and an argument. The message type is represented by 0x01 indicating the response. The code is represented by 0x1A in case of success and 0xFF in case of failure. The payload type may be represented by payload type A (see FIG. 4).

아규먼트(Arg)는 성공의 경우에 결과 코드(result code) 0x00으로 표현되고, 실패의 경우에는 결과 코드 0x23으로 표현된다. 지원되지 않는 명령(not supported command)인 경우에, 아규먼트는 0x17로 표현된다.
Argument Arg is represented by result code 0x00 in case of success and result code 0x23 in case of failure. In the case of a not supported command, the argument is represented by 0x17.

4. Start Automatic Read4.Start Automatic Read

도 14 내지 도 16은 시작 자동 읽기(start automatic read) 명령과 응답을 예시적으로 보여준다. 도 14 내지 도 16을 참조하면, 시작 자동 읽기 명령과 응답에는 엔드마크 필드 다음에, CRC 필드가 포함될 수 있다.14-16 illustrate a start automatic read command and response by way of example. 14 to 16, a start automatic read command and a response may include a CRC field after an endmark field.

도 14는 시작 자동 읽기 명령을 위한 프로토콜 메시지의 구조를 예시적으로 보여준다. 시작 자동 읽기 명령은 자동 태그 읽기 동작을 시작하는 데 사용된다. 시작 자동 읽기 명령은 메시지 타입(message type), 코드(code), 페이로드 길이(payload length), 그리고 아규먼트(arguement)를 포함한다. 메시지 타입(msg type)은 명령을 가리키는 0x00으로 표현된다. 코드(code)는 시작 자동 읽기를 가리키는 0x27로 표현된다. 페이로드 타입은 페이로드 타입 O(Arg2는 16 비트)로 표현될 수 있다. 14 exemplarily shows a structure of a protocol message for a start auto read command. The start auto read command is used to start the auto tag read operation. The start auto-read command includes a message type, code, payload length, and arguments. The message type (msg type) is represented by 0x00 indicating the command. The code is represented by 0x27, indicating the start auto read. The payload type may be represented by payload type O (Arg2 is 16 bits).

아규먼트는 8 비트 명령 코드(SelCode)와 16 비트 반복 사이클(RC; repeat cycle)로 구성된다. 8 비트 명령 코드(SelCode)는 자동 읽기 동작을 수행하기 위한 것이다. 명령 코드의 범위는 0x21부터 0x26이며, 이외의 값에 대해서는 자동 읽기 동작이 수행되지 않는다. 읽기 사이클(read cycle)의 수는 태그의 인벤토리 라운드(inventory round)의 수와 같다. 그리고 반복 사이클(RC)은 읽기 사이클의 반복 횟수를 나타낸다. 도 14에서는 명령 코드(SelCode)가 0x26이고, 반복 사이클(RC)이 0x0064인 경우의 프로토콜 메시지가 도시되어 있다.The argument consists of an 8-bit command code (SelCode) and a 16-bit repeat cycle (RC). The 8 bit command code (SelCode) is for performing an automatic read operation. The range of command code is 0x21 to 0x26, and the auto read operation is not performed for other values. The number of read cycles is equal to the number of inventory rounds for the tag. The repetition cycle RC indicates the number of repetitions of the read cycle. In FIG. 14, a protocol message when the instruction code SelCode is 0x26 and the repetition cycle RC is 0x0064 is illustrated.

도 15는 시작 자동 읽기 명령에 대한 응답 프로토콜 메시지의 구조를 예시적으로 보여준다. 시작 자동 읽기 명령에 대한 응답은 메시지 타입(message type), 코드(code), 페이로드 길이(payload length), 그리고 아규먼트(arguement)를 포함한다. 메시지 타입은 응답을 가리키는 0x01로 표현된다. 코드는 성공(success)의 경우에는 0x27로 표현되고, 실패(failure)의 경우에는 0xFF로 표현된다. 페이로드 타입은 페이로드 타입 A(도 4 참조)에 의해 표현될 수 있다. 15 exemplarily shows a structure of a response protocol message for a start auto read command. The response to the start auto-read command includes the message type, code, payload length, and arguments. The message type is represented by 0x01 indicating the response. The code is represented by 0x27 in the case of success and 0xFF in the case of failure. The payload type may be represented by payload type A (see FIG. 4).

아규먼트(Arg)는 성공의 경우에 결과 코드(result code) 0x00으로 표현되고, 실패의 경우에는 결과 코드 0xOA로 표현된다. 그리고 아규먼트(Arg)는 명령 코드(SelCode)가 0x21~0x26의 범위가 아닌 경우에, 결과 코드 0x0E로 표현된다. 또한, 아규먼트(Arg)는 반복 사이클(RC)이 '0'이 아닌 경우에, 결과 코드 0x0E로 표현된다. 그리고 아규면트(Arg)는 자동 읽기 동작이 수행되고 있는 경우에, 결과 코드 0x0B로 표현된다. Argument Arg is represented by result code 0x00 in case of success and result code 0xOA in case of failure. The argument Arg is expressed as a result code 0x0E when the command code SelCode is not in the range of 0x21 to 0x26. Also, the argument Arg is represented by the result code 0x0E when the repetition cycle RC is not '0'. And the argument Arg is represented by result code 0x0B when the automatic read operation is being performed.

도 16은 자동 읽기 동작이 완료된 것을 알리는 통지 프로토콜 메시지(notification protocol message)의 구조를 예시적으로 보여준다. 태그로부터 읽은 데이터가 전달되는 경우에, 통지 프로토콜 메시지는 명령 코드 0x21~0x26에 대응하는 응답과 일치한다. 16 exemplarily shows a structure of a notification protocol message informing that the automatic read operation is completed. When data read from the tag is delivered, the notification protocol message matches the response corresponding to command codes 0x21-0x26.

통지 메시지(notification message)는 메시지 타입(message type), 코드(code), 페이로드 길이(payload length), 그리고 아규먼트(arguement)를 포함한다. 메시지 타입(msg type)은 통지(notification)를 가리키는 0x02로 표현된다. 코드(code)는 시작 자동 읽기 명령에 사용된 코드와 일치한다. 태그로부터 읽은 데이터가 전달되는 경우에, 페이로드 타입은 명령 코드 0x21~0x26에 대응하는 응답과 일치한다. 자동 읽기 동작이 미리 정의된 횟수만큼 수행되어 자동 읽기 동작이 완료된 경우에, 페이로드 타입은 페이로드 타입 A(도 4 참조)로 표현된다. A notification message includes a message type, a code, a payload length, and arguments. The message type (msg type) is represented by 0x02 indicating a notification. The code matches the code used in the start auto-read command. When data read from a tag is passed, the payload type matches the response corresponding to command codes 0x21-0x26. When the auto read operation is completed a predetermined number of times and the auto read operation is completed, the payload type is represented as payload type A (see FIG. 4).

태그로부터 읽은 데이터가 전달되는 경우에, 아규먼트는 명령 코드 0x21~0x26에 대응하는 응답과 일치한다. 자동 읽기 동작이 미리 정의된 횟수만큼 수행되어 자동 읽기 동작이 완료된 경우에, 아규먼트는 결과 코드 0x1F를 포함한다. 더 이상 읽을 태그가 없을 때, 아규먼트는 결과 코드 0x20을 포함한다.
When data read from a tag is passed, the arguments match the response corresponding to command codes 0x21-0x26. When the auto read operation is completed by a predetermined number of times and the auto read operation is completed, the argument includes the result code 0x1F. When there are no more tags to read, the argument contains result code 0x20.

5. Start Automatic Read25.Start Automatic Read2

도 17 내지 도 20은 시작 자동 읽기2(start automatic read2) 명령과 응답을 예시적으로 보여준다. 도 17 내지 도 20을 참조하면, 시작 자동 읽기2 명령과 응답에는 엔드마크 필드 다음에, CRC 필드가 포함될 수 있다.17 to 20 exemplarily illustrate a start automatic read2 command and a response. 17 to 20, the start auto-read2 command and response may include a CRC field after the endmark field.

도 17은 시작 자동 읽기2 명령을 위한 프로토콜 메시지의 구조를 예시적으로 보여준다. 시작 자동 읽기2 명령은 자동 읽기 동작으로 모든 타입의 태그를 읽는 데 사용된다. 특히, 이 명령에 대한 응답은 이동통신 단말부(도 1 참조, 111)로 동시에 최대 10개의 태그에 대한 ID를 보낼 수 있다.17 exemplarily shows a structure of a protocol message for a start auto-read2 command. The start auto read2 command is an auto read operation used to read all types of tags. In particular, the response to this command can send IDs for up to 10 tags simultaneously to the mobile communication terminal (see FIG. 1, 111).

시작 자동 읽기2 명령은 메시지 타입(message type), 코드(code), 페이로드 길이(payload length), 그리고 아규먼트(arguement)를 포함한다. 메시지 타입(msg type)은 명령을 가리키는 0x00으로 표현된다. 코드(code)는 시작 자동 읽기2를 가리키는 0x38로 표현된다. 페이로드 타입은 페이로드 타입 Z(도 5 참조)로 표현될 수 있다. The start auto-read2 command includes the message type, code, payload length, and arguments. The message type (msg type) is represented by 0x00 indicating the command. The code is represented by 0x38, which indicates the starting autoread2. The payload type may be represented by payload type Z (see FIG. 5).

아규먼트는 4개의 아규먼트 즉, 8 비트 태그 타입(TagType), 태그 읽기 최대 수(MTNU), 태그 읽기 최대 지속 시간(MTIME), 그리고 반복 사이클(RC; Repeat Cycle)로 구성된다. 태그 타입(TagType)은 타입 B 태그의 UID(unique identifier)를 읽는 경우에는 0x01로 표현되고, 타입 C 태그의 UII(unique item identifier) 뱅크를 읽는 경우에는 0x02로 표현되며, 모든 타입의 태그를 자동으로 읽는 경우에는 0xFF로 표현된다. The argument consists of four arguments: an 8-bit tag type (TagType), a maximum number of tag reads (MTNU), a maximum length of tag reads (MTIME), and a repeat cycle (RC). TagType is represented as 0x01 when reading the UID (unique identifier) of Type B tag, 0x02 when reading the UII (unique item identifier) bank of Type C tag, and all types of tags are automatically displayed. In case of reading with 0xFF.

태그 읽기 최대 수(MTNU)는 태그의 수에 관계없이 반복 사이클만큼 태깅하는 경우에는 0x00(default)으로 표현된다. 그리고 그 외의 값은 읽을 태그의 최대 수를 나타낸다. 태그 읽기 최대 지속 시간(MTIME)은 이 필드에 관계없이 반복 사이클만큼 태깅하는 경우에는 0x00으로 표현된다. 0x01~0xFE는 초 단위의 태깅 지속 시간을 나타낸다. OxFF는 중단 자동 읽기2(stop automatic read2) 명령 때까지 시간에 제한되지 않고 태깅하는 데 사용된다. 반복 사이클(RC)은 시작 자동 읽기 명령의 경우와 동일하며, 읽기 사이클의 반복 횟수를 나타낸다. MTNU, MTIME, RC 사이의 우선 순위는 MTNU > MTIME > RC 이다. MTMU는 우선 순위가 가장 높다. The maximum number of tag read MTNU is expressed as 0x00 (default) when tagging as many times as the repetition cycle regardless of the number of tags. The other values indicate the maximum number of tags to read. The maximum tag read duration (MTIME) is expressed as 0x00 when tagging by repeated cycles regardless of this field. 0x01 to 0xFE represents the tagging duration in seconds. OxFF is used for tagging without being time-limited until a stop automatic read2 command. The repetition cycle RC is the same as that of the start auto read command, and indicates the number of repetitions of the read cycle. The priority between MTNU, MTIME and RC is MTNU> MTIME> RC. MTMU has the highest priority.

도 17에서, 태그 타입(TagType)은 0x02이고, 읽을 태그의 최대 수(MTNU)는 0x03(3개의 태그)이고, 태그 읽기 최대 지속 시간(MTIME)은 0x0A(10초)이며, 반복 사이클(RC; Repeat Cycle)은 0x0F인 경우의 프로토콜 메시지가 도시되어 있다.In FIG. 17, the tag type TagType is 0x02, the maximum number of tags to read (MTNU) is 0x03 (3 tags), the maximum tag reading duration MTIME is 0x0A (10 seconds), and the repetition cycle (RC). Repeat Cycle) shows a protocol message when 0x0F.

한편, mRFID 리더부(도 1 참조, 112)로부터 이동통신 단말부(도 1 참조, 111)로 전달되는 메시지에는 두 가지 타입의 반응(response)과 한 가지 타입의 통지(notification)가 있다. 도 18 및 도 19는 응답의 예를 보여주고, 도 20은 통지(notification)의 예를 보여준다.On the other hand, there are two types of response and one type of notification in the message transmitted from the mRFID reader unit (see FIG. 1, 112) to the mobile communication terminal unit (see FIG. 1, 111). 18 and 19 show examples of responses, and FIG. 20 shows examples of notifications.

도 18은 RFID 리더부가 태깅을 성공한 경우의 시작 자동 읽기2 응답의 프로토콜 메시지의 구조를 보여준다. 시작 자동 읽기2 명령에 대한 응답은 메시지 타입(message type), 코드(code), 페이로드 길이(payload length), 그리고 아규먼트(arguement)를 포함한다. 메시지 타입은 응답을 가리키는 0x01로 표현된다. 코드는 성공(success)의 경우에는 0x38로 표현되고, 실패(failure)의 경우에는 0xFF로 표현된다. 페이로드 타입은 페이로드 타입 AA(도 5 참조)에 의해 표현될 수 있다. 18 shows the structure of the protocol message of the start auto read 2 response when the RFID reader succeeds in tagging. The response to the start auto-read2 command includes the message type, code, payload length, and arguments. The message type is represented by 0x01 indicating the response. The code is represented by 0x38 in case of success and 0xFF in case of failure. The payload type may be represented by payload type AA (see FIG. 5).

페이로드(payload)에서, 첫 번째 아규먼트(Arg1)인 TNUM은 응답 메시지에 포함되는 태그의 수를 나타낸다. 그러므로 응답 메시지의 크기는 TNUM에 달려있다. TNUM은 10보다 작다. 만약 RFID 리더부(112)가 10개 이상의 태그를 읽으면, RFID 리더부(112)는 10개의 태그마다 다시 응답 메시지를 보내야 한다. 예를 들면, RFID 리더부(112)가 35개의 태그를 읽으면, mRFID 리더부(112)는 이동통신 단말부(111)로 4번의 응답 메시지를 보내야 한다. In the payload, TNUM, the first argument Arg1, indicates the number of tags included in the response message. Therefore, the size of the response message depends on TNUM. TNUM is less than 10 If the RFID reader 112 reads ten or more tags, the RFID reader 112 must send a response message for every ten tags. For example, when the RFID reader 112 reads 35 tags, the mRFID reader 112 should send four response messages to the mobile communication terminal 111.

두 번째 아규먼트(Arg2)인 TTSZ는 8 비트로 구성된다. 8 비트 중에서 3 비트는 태그 타입을 나타내고 5 비트는 태그 바이트 크기를 나타낸다. 3 비트 태그 타입은 타입 B 태그인 경우에는 0x01로 나타내고, 타입 C 태그인 경우에는 0x02로 나타내며, 그 밖의 다른 값은 미래용(reserved for future)이다.The second argument Arg2, TTSZ, consists of 8 bits. Of the 8 bits, 3 bits indicate the tag type and 5 bits indicate the tag byte size. The 3 bit tag type is represented by 0x01 in the case of a type B tag, 0x02 in the case of a type C tag, and other values are reserved for future.

도 18에서, 태그의 수(TNUM)는 0x03이다. 태그 1의 타입과 크기(TTSZ)는 0x4E이고, 태그 1의 PC는 0x2000이며, 태그 1의 UII는 0x300000009800000000000001이다. 태그 2의 타입과 크기(TTSZ)는 0x4E이고, 태그 2의 PC는 0x2000이며, 태그 2의 UII는 0x300000009800000000000002이다. 태그 3의 타입과 크기(TTSZ)는 0x4E이고, 태그 3의 PC는 0x2000이며, 태그 3의 UII는 0x300000009800000000000003이다.In FIG. 18, the number TNUM of tags is 0x03. The type and size (TTSZ) of tag 1 is 0x4E, the PC of tag 1 is 0x2000, and the UII of tag 1 is 0x300000009800000000000001. The type and size (TTSZ) of tag 2 is 0x4E, the PC of tag 2 is 0x2000, and the UII of tag 2 is 0x300000009800000000000002. The type and size (TTSZ) of tag 3 is 0x4E, the PC of tag 3 is 0x2000, and the UII of tag 3 is 0x300000009800000000000003.

도 19는 mRFID 리더부가 태깅을 실패한 경우에, 시작 자동 읽기2 응답의 프로토콜 메시지의 구조를 보여준다. 도 19를 참조하면, 코드는 0xFF로 되어 있다. 아규먼트(Arg)는 무효한 파라미터(invalid parameter)인 경우에는 결과 코드 0x0E, 태그가 검출되지 않은 경우에는 결과 코드 0x15, 지원되지 않은 명령인 경우에는 결과 코드 0x17, 그리고 명령 실패(command failure)인 경우에는 결과 코드 0x24로 표현된다. 도 19에서, 아규먼트(Arg)는 0x24로 표현되어 있다.19 shows the structure of the protocol message of the start auto read 2 response when the mRFID reader fails in tagging. Referring to Fig. 19, the code is 0xFF. Arg is a result code 0x0E if it is an invalid parameter, a result code 0x15 if a tag is not detected, a result code 0x17 if an unsupported command, and a command failure Is represented by the result code 0x24. In Fig. 19, the argument Arg is represented by 0x24.

도 20은 자동 읽기2 동작이 완료된 것을 알리는 통지 프로토콜 메시지(notification protocol message)의 구조를 예시적으로 보여준다. 통지 메시지(notification message)는 시작 자동 읽기2 동작에 사용될 수 있다. 통지 메시지(notification message)는 메시지 타입(message type), 코드(code), 페이로드 길이(payload length), 그리고 아규먼트(arguement)를 포함한다. 20 exemplarily shows a structure of a notification protocol message informing that the automatic read 2 operation is completed. A notification message can be used for the start auto read2 operation. A notification message includes a message type, a code, a payload length, and arguments.

도 20을 참조하면, 메시지 타입(msg type)은 통지(notification)를 가리키는 0x02로 표현된다. 자동 읽기2 동작이 미리 정의된 조건으로 수행되어 자동 읽기 동작이 완료된 경우에, mRFID 리더부(112)는 결과 코드 0x1F를 포함하는 아규먼트(Arg)를 이동통신 단말부(111)로 보낸다. 더 이상 읽을 태그가 없는 경우에, 아규먼트는 결과 코드 0x20을 포함한다. 도 20에서, 아규먼트(Arg)는 0x1F로 표현되어 있다.Referring to FIG. 20, a message type (msg type) is represented by 0x02 indicating a notification. When the auto read operation is completed under the predefined condition and the auto read operation is completed, the mRFID reader 112 transmits an argument Arg including the result code 0x1F to the mobile communication terminal 111. If there are no more tags to read, the argument contains result code 0x20. In Fig. 20, the argument Arg is represented by 0x1F.

도 21은 시작 자동 읽기2 명령이 성공한 경우에, 이동통신 단말부(111)와 mRFID 리더부(112) 사이의 시작 자동 읽기2 동작을 설명하기 위한 흐름도이다. 도 21을 참조하면, 시작 자동 읽기2 동작은 다음과 같은 순서로 진행된다. FIG. 21 is a flowchart for explaining an operation of starting automatic reading 2 between the mobile communication terminal 111 and the mRFID reader 112 when the starting automatic reading 2 command is successful. Referring to FIG. 21, the start auto read 2 operation proceeds in the following order.

1) 단계에서는 이동통신 단말부(111)로부터 mRFID 리더부(112)로 시작 자동 읽기2 명령이 제공된다. 2) 단계에서는 mRFID 리더부(112)와 태그 사이에 명령의 조건에 따라 인벤토리 라운드가 수행된다. 3) 단계에서는 mRFID 리더부(112)로부터 이동통신 단말부(111)로 태그 정보를 포함하는 시작 자동 읽기2 응답이 제공된다. 3) 단계에서 태그의 수가 10개보다 많은 경우에는, 시작 자동 읽기2 응답이 10개의 태그를 단위로 해서 반복하여 제공된다. 4) 단계에서는 태그 정보를 포함하는 시작 자동 읽기2 응답이 마지막으로 제공된다. 5) 단계에서는 mRFID 리더부(112)로부터 이동통신 단말부(111)로 시작 자동 읽기 2 동작이 완료되었음을 나타내는 통지(notification)가 제공된다.In the step 1), the start auto-read 2 command is provided from the mobile communication terminal 111 to the mRFID reader 112. In the step 2), the inventory round is performed between the mRFID reader 112 and the tag according to the condition of the command. In step 3), the start auto-read 2 response including the tag information is provided from the mRFID reader unit 112 to the mobile communication terminal unit 111. If the number of tags in step 3) is more than 10, the start auto read 2 response is repeatedly provided in units of 10 tags. In step 4), a start auto-read2 response containing tag information is finally provided. In step 5), a notification is provided from the mRFID reader unit 112 to the mobile communication terminal unit 111 indicating that the start auto-read 2 operation is completed.

도 22는 시작 자동 읽기2 명령이 실패한 경우에, 이동통신 단말부(111)와 mRFID 리더부(112) 사이의 시작 자동 읽기2 동작을 설명하기 위한 흐름도이다. FIG. 22 is a flowchart for explaining an operation of starting automatic reading 2 between the mobile communication terminal 111 and the mRFID reader 112 when the starting automatic reading 2 command fails.

도 22를 참조하면, 시작 자동 읽기2 동작은 다음과 같은 순서로 진행된다. 1) 단계에서는 이동통신 단말부(111)로부터 mRFID 리더부(112)로 시작 자동 읽기2 명령이 제공된다. 2) 단계에서는 이동통신 단말부(111)로부터 mRFID 리더부(112)로, 페이로드 타입 A(도 4 및 도 20 참조)에 의한 시작 자동 읽기2 응답이 제공된다.
Referring to FIG. 22, the start auto read 2 operation proceeds in the following order. In the step 1), the start auto-read 2 command is provided from the mobile communication terminal 111 to the mRFID reader 112. In step 2), the start auto-read2 response by payload type A (see FIGS. 4 and 20) is provided from the mobile communication terminal 111 to the mRFID reader 112.

6. Stop Automatic Read26.Stop Automatic Read2

도 23 및 도 24는 중단 자동 읽기2(stop automatic read2) 명령과 응답을 예시적으로 보여준다. 도 23 및 도 24를 참조하면, 중단 자동 읽기2 명령과 응답에는 엔드마크 필드 다음에, CRC 필드가 포함될 수 있다.23 and 24 exemplarily show a stop automatic read2 command and response. Referring to FIGS. 23 and 24, the stop auto-read2 command and response may include a CRC field after the endmark field.

도 23은 중단 자동 읽기2 명령을 위한 프로토콜 메시지의 구조를 예시적으로 보여준다. 중단 자동 읽기2 명령은 자동 읽기2 동작을 중단하는 데 사용된다. 중단 자동 읽기2 명령은, 메시지 타입(message type), 코드(code), 그리고 페이로드 길이(PL)는 포함하지만, 아규먼트는 포함하지 않는다. 메시지 타입(msg type)은 명령을 가리키는 0x00으로 표현된다. 코드(code)는 중단 자동 읽기2를 가리키는 0x39로 표현된다. 23 exemplarily shows a structure of a protocol message for an abort auto read2 command. Abort The autoread2 command is used to interrupt the autoread2 operation. The abort autoread2 command includes the message type, code, and payload length (PL) but no arguments. The message type (msg type) is represented by 0x00 indicating the command. The code is represented by 0x39, which indicates an interruption auto read2.

도 24는 RFID 리더부가 태깅을 성공한 경우에, 중단 자동 읽기2 응답의 프로토콜 메시지의 구조를 보여준다. 중단 자동 읽기2 명령에 대한 응답은 메시지 타입(message type), 코드(code), 페이로드 길이(payload length), 그리고 아규먼트(arguement)를 포함한다. 메시지 타입은 응답을 가리키는 0x01로 표현된다. 코드는 성공(success)의 경우에는 0x39로 표현되고, 실패(failure)의 경우에는 0xFF로 표현된다. 페이로드 타입은 페이로드 타입 A(도 4 참조)에 의해 표현될 수 있다. FIG. 24 shows the structure of a protocol message of aborted automatic read 2 response when the RFID reader unit succeeds in tagging. The response to the abort autoread2 command includes the message type, code, payload length, and arguments. The message type is represented by 0x01 indicating the response. The code is represented by 0x39 in the case of success and 0xFF in the case of failure. The payload type may be represented by payload type A (see FIG. 4).

아규먼트(Arg)는, 성공의 경우에는 0x00으로 표현되고, 캔낫 중단 자동 읽기(Connot Stop Automatic Read)의 경우에는 0x0C로 표현되며, 자동 읽기2 동작이 수행되지 않는 경우에는 0x0D로 표현된다. 도 24에서, 아규먼트(Arg)는 0x00으로 표현되어 있다.
The argument Arg is represented by 0x00 in case of success, 0x0C in case of Connot Stop Automatic Read, and 0x0D in case automatic read2 operation is not performed. In Fig. 24, the argument Arg is represented by 0x00.

7. Start Automatic Read37.Start Automatic Read3

도 25 내지 도 28은 시작 자동 읽기3(start automatic read3) 명령과 응답을 예시적으로 보여준다. 도 25 내지 도 28을 참조하면, 시작 자동 읽기3 명령과 응답에는 엔드마크 필드 다음에, CRC 필드가 포함될 수 있다.25 to 28 exemplarily illustrate a start automatic read 3 command and a response. 25 to 28, the start auto-read3 command and response may include a CRC field after the endmark field.

도 25는 시작 자동 읽기3 명령을 위한 프로토콜 메시지의 구조를 예시적으로 보여준다. 시작 자동 읽기3 명령은 자동 읽기 동작으로 타입 C 태그와 관련된, 태그의 UII와 사용자 메모리에 있는 특별 데이터(special data)를 읽는 데 사용된다. 특히, 이 명령에 대한 응답은 이동통신 단말부(도 1 참조, 111)로 최대 10개의 태그에 대한 정보를 동시에 보낼 수 있다.25 exemplarily shows a structure of a protocol message for a start auto-read3 command. The start auto-read3 command is an auto-read operation that is used to read the tag's UII and special data in user memory, associated with the Type C tag. In particular, the response to this command can simultaneously send information on up to 10 tags to the mobile communication terminal (see FIG. 1, 111).

시작 자동 읽기3 명령은 메시지 타입(message type), 코드(code), 페이로드 길이(payload length), 그리고 아규먼트(arguement)를 포함한다. 메시지 타입(msg type)은 명령을 가리키는 0x00으로 표현된다. 코드(code)는 시작 자동 읽기3를 가리키는 0x3A로 표현된다. 페이로드 타입은 페이로드 타입 AB(도 5 참조)로 표현될 수 있다. The start auto-read3 command includes a message type, code, payload length, and arguments. The message type (msg type) is represented by 0x00 indicating the command. The code is represented by 0x3A, which indicates the start auto read3. The payload type may be represented as payload type AB (see FIG. 5).

아규먼트(Arg1~Arg5)는 태그 읽기 최대 수(MTNU), 태그 읽기 최대 지속 시간(MTIME), 반복 사이클(RC), 메모리 액세스 모드(AM), 그리고 TID 메모리 시작 어드레스(TSA)로 구성된다. Arguments Arg1 to Arg5 include a maximum number of tag reads MTNU, a maximum number of tag read durations MTIME, an iteration cycle RC, a memory access mode AM, and a TID memory start address TSA.

태그 읽기 최대 수(MTNU)는 태그의 수에 관계없이 반복 사이클만큼 태깅하는 경우에는 0x00(default)으로 표현된다. 그리고 그 외의 값은 읽을 태그의 수를 나타낸다. The maximum number of tag read MTNU is expressed as 0x00 (default) when tagging as many times as the repetition cycle regardless of the number of tags. Other values indicate the number of tags to read.

태그 읽기 최대 지속 시간(MTIME)은 이 필드에 관계없이 반복 사이클만큼 태깅하는 경우에는 0x00으로 표현된다. 0x01~0xFE는 초 단위의 태깅 지속 시간을 나타낸다. OxFF는 중단 자동 읽기3(stop automatic read3) 명령 때까지 시간에 제한되지 않고 태깅하는 데 사용된다. The maximum tag read duration (MTIME) is expressed as 0x00 when tagging by repeated cycles regardless of this field. 0x01 to 0xFE represents the tagging duration in seconds. OxFF is used for tagging without being time-limited until a stop automatic read3 command.

반복 사이클(RC)은 시작 자동 읽기 명령의 경우와 동일하며, 읽기 사이클의 반복 횟수를 나타낸다. MTNU, MTIME, RC 사이의 우선 순위는 MTNU > MTIME > RC 이다. MTMU는 우선 순위가 가장 높다.The repetition cycle RC is the same as that of the start auto read command, and indicates the number of repetitions of the read cycle. The priority between MTNU, MTIME and RC is MTNU> MTIME> RC. MTMU has the highest priority.

메모리 액세스 모드(AM)는 8 비트로 구성되며, 인벤토리와 읽기를 분리해서 수행하는 간접 액세스 방법(indirect access method)인 경우에는 0x00으로 표현되고, mRFID 리더부(도 1 참조, 112)의 flex_query 명령을 사용하는 직접 액세스 방법(direct access method)인 경우에는 0x01로 표현되고, 자동 액세싱 방법(auto accessing method)인 경우에는 0x02로 표현되며, 그 밖의 값은 미래용(reserved for future)이다.Memory access mode (AM) is composed of 8 bits, in the case of an indirect access method (indirect access method) to perform separate inventory and read (expressed as 0x00), flex_query command of the mRFID reader unit (see Fig. 1, 112) In the case of the direct access method used, it is represented by 0x01, in the case of the auto accessing method, it is represented by 0x02, and other values are reserved for future.

TID 시작 어드레스(TSA)는 16 비트로 구성되며, TID 메모리 뱅크 내의 시작 어드레스를 나타낸다. TID 메모리의 시작 어드레스에 있는 32 비트 데이터는 사용자 메모리 뱅크에 있는 컨텐트 이름 필드(content name field)의 포인터를 포함한다. 그러므로 간접 메모리 액세스 방법에서, TSA는 사용자 메모리에 있는 컨텐트 이름(content name)의 위치를 찾는 데 필요하다. 그러나 직접 메모리 액세스 방법에서, TSA는 무시된다. The TID Start Address (TSA) consists of 16 bits and represents the start address in the TID memory bank. The 32 bit data at the start address of the TID memory contains a pointer to a content name field in the user memory bank. Therefore, in the indirect memory access method, the TSA is needed to locate the content name in user memory. However, in the direct memory access method, the TSA is ignored.

도 25에서는 읽을 태그의 최대 수(MTNU)는 0x03(3개의 태그)이고, 태그 읽기 최대 지속 시간(MTIME)은 0x0A(10초)이고, 반복 사이클(RC; Repeat Cycle)은 0x0F이고, 액세스 모드(AM)는 0x00(간접 액세스 모드)이며, TDI 시작 어드레스는 0x0300인 경우의 프로토콜 메시지가 도시되어 있다.In FIG. 25, the maximum number of tags to read (MTNU) is 0x03 (3 tags), the maximum tag reading duration (MTIME) is 0x0A (10 seconds), the repeat cycle (RC) is 0x0F, and access mode. (AM) is 0x00 (indirect access mode) and a protocol message is shown when the TDI start address is 0x0300.

한편, mRFID 리더부(112)로부터 이동통신 단말부(111)로 전달되는 메시지에는 두 가지 타입의 반응(response)과 한 가지 타입의 통지(notification)가 있다. 도 26 및 도 27은 응답의 예를 보여주고, 도 28은 통지(notification)의 예를 보여준다.On the other hand, there are two types of response and one type of notification in the message transmitted from the mRFID reader 112 to the mobile communication terminal 111. 26 and 27 show examples of responses, and FIG. 28 shows examples of notifications.

도 26은 mRFID 리더부(112)가 태깅을 성공한 경우에, 시작 자동 읽기3 응답의 프로토콜 메시지의 구조를 보여준다. 시작 자동 읽기3 명령에 대한 응답은 메시지 타입(message type), 코드(code), 페이로드 길이(payload length), 그리고 아규먼트(arguement)를 포함한다. 메시지 타입은 응답을 가리키는 0x01로 표현된다. 코드는 성공(success)의 경우에는 0x3A로 표현되고, 실패(failure)의 경우에는 0xFF로 표현된다. 페이로드 타입은 페이로드 타입 AC(도 5 참조)에 의해 표현될 수 있다. FIG. 26 shows the structure of the protocol message of the start auto-read 3 response when the mRFID reader 112 succeeds in tagging. The response to the start auto-read3 command includes the message type, code, payload length, and arguments. The message type is represented by 0x01 indicating the response. The code is represented by 0x3A in case of success and 0xFF in case of failure. The payload type may be represented by payload type AC (see FIG. 5).

페이로드(payload)에서, 첫 번째 아규먼트(Arg1)인 TNUM은 응답 메시지에 포함되는 태그의 수를 나타낸다. 그러므로 응답 메시지의 크기는 TNUM에 달려있다. TNUM은 10보다 작다. 만약 mRFID 리더부(112)가 10개 이상의 태그를 읽으면, 태그는 10개의 태그마다 다시 응답 메시지를 보내야 한다. 예를 들면, mRFID 리더부(112)가 35개의 태그를 읽으면, mRFID 리더부(112)는 이동통신 단말부(111)로 4번의 응답 메시지를 보내야 한다. In the payload, TNUM, the first argument Arg1, indicates the number of tags included in the response message. Therefore, the size of the response message depends on TNUM. TNUM is less than 10 If the mRFID reader 112 reads more than 10 tags, the tags must send a response message every 10 tags. For example, when the mRFID reader 112 reads 35 tags, the mRFID reader 112 must send four response messages to the mobile communication terminal 111.

두 번째 아규먼트(Arg2)부터, 16 비트 PC, 96 비트 UII, 그리고 가변 컨텐트 이름(variable content name) 등이 표현된다. T1CN의 MSB 8 비트는 첫 번째 태그에 있는 컨텐트 이름의 길이를 포함하고, 다음 8 비트는 컨텐트 이름 캐릭터(content name characters)의 ASCII 코드 타입을 나타낸다. T1PC, T1UII, T1CN과 같은 아규먼트는 하나의 메시지 안에 10번 이내에서 반복될 수 있다.From the second argument Arg2, a 16 bit PC, a 96 bit UII, a variable content name, and the like are represented. The MSB 8 bits of T1CN contain the length of the content name in the first tag, and the next 8 bits represent the ASCII code type of content name characters. Arguments such as T1PC, T1UII, and T1CN can be repeated within 10 times in one message.

도 26을 참조하면, 태그의 수(TNUM)는 0x03이다. 태그 1의 PC(T1PC)는 0x2000이고, 태그 1의 UII(T1UII)는 0x300000009800000000000001이며, 태그 1의 컨텐트 이름(T1CN)은 0x05110000000002이다. 태그 2의 PC(T2PC)는 0x2000이고, 태그 2의 UII(T2UII)는 0x300000009800000000000002이며, 태그 2의 컨텐트 이름(T2CN)은 0x05110000000002이다. 태그 3의 PC(T3PC)는 0x2000이고, 태그 3의 UII(T3UII)는 0x300000009800000000000003이며, 태그 3의 컨텐트 이름(T3CN)은 0x05110000000002이다. Referring to FIG. 26, the number of tags (TNUM) is 0x03. The PC (T1PC) of tag 1 is 0x2000, the UII (T1UII) of tag 1 is 0x300000009800000000000001, and the content name (T1CN) of tag 1 is 0x05110000000002. The tag 2 PC (T2PC) is 0x2000, the tag 2 UII (T2UII) is 0x300000009800000000000002, and the tag 2 content name (T2CN) is 0x05110000000002. The tag 3 PC (T3PC) is 0x2000, the tag 3 UII (T3UII) is 0x300000009800000000000003, and the tag 3 content name (T3CN) is 0x05110000000002.

도 27은 mRFID 리더부(112)가 태깅을 실패한 경우에, 시작 자동 읽기3 응답의 프로토콜 메시지의 구조를 보여준다. 도 27을 참조하면, 코드는 0xFF로 되어 있다. 아규먼트(Arg)는, 무효한 파라미터(invalid parameter)인 경우에는 0x0E로 표현되고, 태그가 검출되지 않은 경우에는 0x15로 표현되고, 지원되지 않은 명령인 경우에는 결과 코드 0x17로 표현되며, 명령 실패(command failure)인 경우에는 0x25로 표현된다. 도 27에서, 아규먼트(Arg)는 0x25로 표현되어 있다.FIG. 27 shows the structure of the protocol message of the start auto read 3 response when the mRFID reader 112 fails in tagging. Referring to Fig. 27, the code is 0xFF. The argument Arg is represented by 0x0E if it is an invalid parameter, 0x15 if a tag is not detected, or as a result code 0x17 if an instruction is not supported. command failure) is expressed as 0x25. In Fig. 27, the argument Arg is represented by 0x25.

도 28은 자동 읽기3 동작이 완료된 것을 알리는 통지 프로토콜 메시지(notification protocol message)의 구조를 예시적으로 보여준다. 통지 메시지(notification message)는 시작 자동 읽기3 동작에 사용될 수 있다.FIG. 28 exemplarily shows a structure of a notification protocol message informing that the automatic read3 operation is completed. A notification message can be used for the start auto read3 operation.

통지 메시지(notification message)는 메시지 타입(message type), 코드(code), 페이로드 길이(payload length), 그리고 아규먼트(arguement)를 포함한다. 메시지 타입(msg type)은 통지(notification)를 가리키는 0x02로 표현된다. 아규먼트(Arg)는, 자동 읽기3 동작이 미리 정의된 조건으로 수행되어 자동 읽기 동작이 완료된 경우에 0x1F로 표현되고, 더 이상 읽을 태그가 없는 경우에 0x20로 표현된다. 도 28에서, 아규먼트(Arg)는 0x1F로 표현되어 있다.
A notification message includes a message type, a code, a payload length, and arguments. The message type (msg type) is represented by 0x02 indicating a notification. The argument Arg is expressed as 0x1F when the autoreading 3 operation is performed under a predefined condition and the autoreading operation is completed, and 0x20 when there is no tag to read. In Fig. 28, the argument Arg is represented by 0x1F.

8. Stop Automatic Read38.Stop Automatic Read3

도 29 및 도 30은 중단 자동 읽기3(stop automatic read3) 명령과 응답을 예시적으로 보여준다. 도 29 및 도 30을 참조하면, 중단 자동 읽기3 명령과 응답에는 엔드마크 필드 다음에, CRC 필드가 포함될 수 있다.29 and 30 exemplarily show a stop automatic read 3 command and response. 29 and 30, the abort automatic read3 command and response may include a CRC field after the endmark field.

도 29는 중단 자동 읽기3 명령을 위한 프로토콜 메시지의 구조를 예시적으로 보여준다. 중단 자동 읽기3 명령은 자동 읽기3 동작을 중단하는 데 사용된다. 중단 자동 읽기3 명령은 메시지 타입(message type), 코드(code), 그리고 페이로드 길이(PL)를 포함한다. 그러나 중단 자동 읽기3 명령은 아규먼트를 포함하지 않는다. 메시지 타입(msg type)은 명령을 가리키는 0x00으로 표현된다. 코드(code)는 중단 자동 읽기3을 가리키는 0x3B로 표현된다. 29 exemplarily shows a structure of a protocol message for an abort automatic read3 command. Abort The autoread3 command is used to interrupt the autoread3 operation. The stop auto-read3 command includes the message type, code, and payload length (PL). However, the abort autoread3 command does not include arguments. The message type (msg type) is represented by 0x00 indicating the command. The code is represented by 0x3B, which indicates an interruption auto read3.

도 30은 mRFID 리더부(112)가 태깅을 성공한 경우에, 중단 자동 읽기3 응답의 프로토콜 메시지의 구조를 보여준다. 중단 자동 읽기3 명령에 대한 응답은 메시지 타입(message type), 코드(code), 페이로드 길이(payload length), 그리고 아규먼트(arguement)를 포함한다. 메시지 타입은 응답을 가리키는 0x01로 표현된다. 코드는 성공(success)의 경우에는 0x3B로 표현되고, 실패(failure)의 경우에는 0xFF로 표현된다. 페이로드 타입은 페이로드 타입 A(도 4 참조)에 의해 표현될 수 있다. 30 shows the structure of a protocol message of an abort auto-read 3 response when the mRFID reader 112 succeeds in tagging. The response to the stop auto-read3 command includes the message type, code, payload length, and arguments. The message type is represented by 0x01 indicating the response. The code is represented by 0x3B in case of success and 0xFF in case of failure. The payload type may be represented by payload type A (see FIG. 4).

아규먼트(Arg)는, 성공의 경우에는 0x00로 표현되고, 캔낫 중단 자동 읽기3(Connot Stop Automatic Read3)의 경우에는 0x0C로 표현되며, 자동 읽기3 동작이 수행되지 않는 경우에는 0x0D로 표현된다. 도 30에서, 아규먼트(Arg)는 0x00으로 표현되어 있다.
The argument Arg is represented by 0x00 in case of success, 0x0C in case of Connot Stop Automatic Read3, and 0x0D in case automatic read3 operation is not performed. In Fig. 30, the argument Arg is represented by 0x00.

9. Read Type C TID9. Read Type C TID

도 31 및 도 32는 읽기 타입 C TID 명령과 응답을 예시적으로 보여준다. 도 31 및 도 32를 참조하면, 읽기 타입 C TID 명령과 응답에는 엔드마크 필드 다음에, CRC 필드가 포함될 수 있다.31 and 32 exemplarily illustrate a read type C TID command and a response. 31 and 32, a read type C TID command and response may include a CRC field after an endmark field.

도 31은 읽기 타입 C TID 명령을 위한 프로토콜 메시지의 구조를 예시적으로 보여준다. 읽기 타입 C TID 명령은 ISO/IEC 18000-6 타입 C 태그의 TID 메모리 뱅크 영역을 읽는 데 사용된다. TID 메모리 뱅크 영역은 시작 어드레스로부터 그것의 거리(length)를 통해 읽혀진다. 읽기 타입 C TID 명령을 위한 프로토콜 메시지가 쓰여질 때, UII 또는 TID 메모리 뱅크를 읽을 태그를 가리키는 UII Set을 필요로 한다. UII 또는 UII Set은 가변 길이를 갖는다. 반면에 다른 아규먼트는 고정 길이를 갖는다. 그러므로 페이로드 길이는 UII 도는 UII Set에 4를 더하면 된다.31 exemplarily shows a structure of a protocol message for a read type C TID command. Read Type C The TID instruction is used to read the TID memory bank area of an ISO / IEC 18000-6 type C tag. The TID memory bank area is read through its length from the start address. When a protocol message for a read type C TID instruction is written, it needs a UII or a UII Set that points to a tag to read the TID memory bank. UII or UII Set has a variable length. While other arguments have a fixed length. Therefore, payload length should be added to UII or UII Set.

읽기 타입 C TID 명령은 메시지 타입(message type), 코드(code), 페이로드 길이(payload length), 그리고 아규먼트(arguement)를 포함한다. 메시지 타입(msg type)은 명령을 가리키는 0x00으로 표현된다. 코드(code)는 읽기 타입 C TID를 가리키는 0x3C로 표현된다. 페이로드 타입은 페이로드 타입 J(도 4 참조, 도시되지 않음)에 의해 표현될 수 있다. 페이로드 타입 J는 가변 크기의 아규먼트1(Arg1), 16 비트 아규먼트2(Arg2), 그리고 16 비트 아규먼트3(Arg3)으로 구성된다.The read type C TID instruction includes a message type, code, payload length, and arguments. The message type (msg type) is represented by 0x00 indicating the command. The code is represented by 0x3C, which indicates a read type C TID. The payload type may be represented by payload type J (see FIG. 4, not shown). Payload type J consists of variable size argument 1 (Arg1), 16 bit argument 2 (Arg2) and 16 bit argument 3 (Arg3).

도 31을 참조하면, 아규먼트는 96 비트 UII 또는 UII Set, TID 메모리 뱅크 영역의 16 비트 시작 어드레스(TSA), 그리고 16 비트 길이(TDL; TID Data Length, 바이트 단위)를 포함한다. 도 31에서, UII는 0x30F4257BF4625F8000000002이고, TID 시작 어드레스는 0x0300이며, 길이는 4 바이트이다. Referring to FIG. 31, an argument includes a 96 bit UII or UII Set, a 16 bit start address (TSA) of a TID memory bank area, and a 16 bit length (TDL; TID Data Length, in bytes). In Fig. 31, the UII is 0x30F4257BF4625F8000000002, the TID start address is 0x0300, and the length is 4 bytes.

도 32는 읽기 타입 C TID 명령에 대한 응답 프로토콜 메시지의 구조를 예시적으로 보여준다. 읽기 타입 C TID 명령에 대한 응답은 메시지 타입(message type), 코드(code), 페이로드 길이(payload length), 그리고 아규먼트(arguement)를 포함한다. 32 exemplarily shows a structure of a response protocol message for a read type C TID command. The response to the read type C TID command includes the message type, code, payload length, and arguments.

메시지 타입은 응답을 가리키는 0x01로 표현된다. 코드는 성공(success)의 경우에는 0x3C로 표현되고, 실패(failure)의 경우에는 0xFF로 표현된다. 페이로드 타입은, 성공의 경우에는 페이로드 타입 G(도 4 참조, 도시되지 않음)로 표현되고, 실패나 태크가 검출되지 않거나 TID 데이터가 없는 경우에는 패이로드 타입 A(도 4 참조)로 표현될 수 있다. 페이로드 타입 G는 32 비트 아규먼트로 구성된다.The message type is represented by 0x01 indicating the response. The code is represented by 0x3C in case of success and 0xFF in case of failure. The payload type is represented by payload type G (see FIG. 4, not shown) in case of success, and by payload type A (see FIG. 4) when no failure or tag is detected or there is no TID data. Can be. Payload type G consists of 32 bit arguments.

아규먼트(Arg)는, 성공의 경우에는 TID 메모리 뱅크의 컨텐트를 포함하고, 태그가 검출되지 않은 경우에는 0x15를 포함하고, 읽기 실패의 경우에는 0x26을 포함하며, TID 데이터가 없는 경우에는 0x1C를 포함한다. 도 32에서, TID 메모리 뱅크의 컨텐트는 0x10000030이다.
The argument Arg contains the contents of the TID memory bank if successful, 0x15 if no tag is detected, 0x26 if the read fails, and 0x1C if there is no TID data. do. In Fig. 32, the content of the TID memory bank is 0x10000030.

Ⅲ. 명령과 응답의 적용 예III. Application examples of commands and responses

도 33은 이동통신 단말부(도 1 참조, 111)와 mRFID 리더부(도 1 참조, 112) 사이의 데이터 통신 방법을 설명하기 위한 흐름도이다. 도 33에서는 시작 자동 읽기(Start Automatic Read) 명령의 예를 보여준다. 도 33을 참조하면, mRFID 리더부(112)로부터 이동통신 단말부(111)로 제공되는 응답에는 CRC 필드가 포함되어 있지 않다. FIG. 33 is a flowchart illustrating a data communication method between a mobile communication terminal unit 111 (see FIG. 1) and an mRFID reader unit (see FIG. 1, 112). 33 shows an example of a Start Automatic Read command. Referring to FIG. 33, the CRC field is not included in the response provided from the mRFID reader 112 to the mobile communication terminal 111.

도 33에 도시된 방법에 의하면, 더 이상 읽을 태그가 없어도 사용자가 강제 종료하기 전까지는 지정한 횟수만큼 무조건 실행한 후에 동작을 멈춘다. 그리고 태그 한 개에 하나의 응답만 가능하여, 다량 태그 인식시 RFID 장치에 있는 프로세서의 부하가 커서 오동작을 유발할 수 있다. 그리고 데이터의 중복이 많아 시간이 오래 걸린다.According to the method shown in FIG. 33, even if there are no more tags to read, the operation is stopped after unconditionally executing the designated number of times until the user is forcibly terminated. In addition, since only one response is possible to one tag, a large load of a processor in the RFID device may cause a malfunction when a large number of tags are recognized. And because of the redundancy of data, it takes a long time.

도 34는 이동통신 단말부(도 1 참조, 111)와 mRFID 리더부(도 1 참조, 112) 사이의 데이터 통신 방법의 다른 예를 설명하기 위한 흐름도이다. 도 34에서는 시작 자동 읽기2(Start Automatic Read2) 명령의 예를 보여준다. 34 is a flowchart for explaining another example of the data communication method between the mobile communication terminal unit (see FIG. 1, 111) and the mRFID reader unit (see FIG. 1, 112). 34 shows an example of a Start Automatic Read 2 command.

도 34를 참조하면, mRFID 리더부(112)로부터 이동통신 단말부(111)로 제공되는 응답에는 CRC 필드가 포함되어 있다. 도 34에 도시된 방법에 의하면, 프로토콜 메시지 끝에 CRC 필드를 포함하기 때문에, 해당 메시지에 오류가 있는지 판단할 수 있다. 따라서 mRFID 리더부(112)로부터 응답으로 전달받은 태그 정보를 서버에 등록하거나 하는 심각한 오류를 사전에 방지할 수 있다.Referring to FIG. 34, the CRC field is included in the response provided from the mRFID reader 112 to the mobile communication terminal 111. According to the method illustrated in FIG. 34, since the CRC field is included at the end of the protocol message, it may be determined whether there is an error in the corresponding message. Therefore, it is possible to prevent a serious error such as registering the tag information received in response from the mRFID reader unit 112 to the server.

도 34를 참조하면, mRFID 리더부(112)로 자동 태그 읽기 명령을 보내기 전에, 이동통신 단말부(111)에서 mRFID 리더부(112)로 읽기 사이클(read cycle, 1 read cycle = 1 inventory round), 지연 시간(delay time, 읽기 사이클 간의 지연 시간) 등 파라미터를 설정한다. 그 다음에, mRFID 리더부(112)로부터 이동통신 단말부(111)로 ACK 응답을 보낸다.Referring to FIG. 34, a read cycle (read cycle, 1 read cycle = 1 inventory round) from the mobile communication terminal 111 to the mRFID reader 112 before sending an automatic tag read command to the mRFID reader 112. , Parameters such as delay time (delay time between read cycles). Then, the ACK response is sent from the mRFID reader 112 to the mobile communication terminal 111.

이동통신 단말부(111)로부터 mRFID 리더부(112)로 반복 사이클(repeat cycle, read cycle 반복 횟수), 태그 읽기 최대 지속 시간, 최대로 읽을 태그 수 등을 포함하는 시작 자동 읽기2 명령이 제공된다. mRFID 리더부(112)는 미리 정해진 조건(read cycle과 repeat cycle만큼 인벤토리 라운드를 수행, 설정된 최대시간 만큼 태그 읽기 수행, 설정된 최대 태그 수만큼 태그를 인식했는가)들 중 하나라도 만족하거나, 더 이상 읽을 태그가 없거나, 사용자가 강제 종료한다면 태그 읽기를 멈춘다. From the mobile communication terminal 111 to the mRFID reader 112, a start auto-read2 command including a repeat cycle (repeat cycle, read cycle repeat count), tag read maximum duration, maximum number of tags to read, and the like is provided. . The mRFID reader unit 112 satisfies any one of the predetermined conditions (read inventory and repeat cycle as many as the read cycle and repeat cycle, read the tag for the maximum time set, recognize the tag for the maximum number of tags set), or read any more If no tag is found or the user is forced to quit, the tag stops being read.

그리고 mRFID 리더부(112)는 태그를 읽는 동안에는 정해진 시간(예, 1초)간격으로 읽은 태그를 한꺼번에 하나의 메시지 속에 넣어서 이동통신 단말부(111)로 전달한다. 시작 자동 읽기2 동작이 멈추면 완료 응답을 이동통신 단말부(111)로 보낸다. 이는 종래의 정해진 횟수 동안 mRFID 리더부(112)가 인벤토리 라운드를 무조건 실행하는 비효율적인 방법을 개선한 것이다.In addition, the mRFID reader unit 112 reads the tag at a predetermined time interval (for example, one second) while reading the tag and transmits the tag to the mobile communication terminal unit 111 in one message at a time. When the start auto read 2 operation stops, a completion response is sent to the mobile communication terminal 111. This is an improvement of an inefficient method for the mRFID reader 112 to execute the inventory round unconditionally for a predetermined number of times.

도 34에 도시된 방법에 의하면, mRFID 리더부(112)가 인식할 수 있는 태그의 수가 적을 경우에 이동통신 단말부(111)와 mRFID 리더부(111)의 태그 인식 동작이 반복되는 것을 줄이고, 태그 인식 시간을 최소화할 수 있다. 예를 들면, 최대 읽을 수 있는 태그의 개수가 3개일 경우에, 이동통신 단말부(111)에 최대 태그 수(Max Tag count)를 3으로 설정하고, 3개의 태그가 인식되면 시작 자동 읽기2 동작이 자동으로 종료되도록 한다.According to the method illustrated in FIG. 34, when the number of tags that can be recognized by the mRFID reader unit 112 is small, the tag recognition operation of the mobile communication terminal 111 and the mRFID reader unit 111 is reduced. Tag recognition time can be minimized. For example, when the maximum number of tags that can be read is three, the maximum tag count is set to 3 in the mobile communication terminal 111, and when the three tags are recognized, the start auto read 2 operation is performed. Will be terminated automatically.

본 발명의 실시 예에 따른 모바일 RFID 장치는 명령이나 응답에 CRC 필드를 포함하여, 이동통신 단말부와 mRFID 리더부 사이에 주고받는 명령(command)이나 응답(response)의 오류를 검사(check)할 수 있다. 본 발명에 의하면, 명령이나 응답의 오류로 인한 모바일 RFID 장치(100)의 오동작을 방지할 수 있다.The mobile RFID device according to an embodiment of the present invention includes a CRC field in a command or response to check an error in a command or response transmitted and received between the mobile communication terminal and the mRFID reader. Can be. According to the present invention, a malfunction of the mobile RFID device 100 due to an error in a command or a response can be prevented.

한편, 본 발명의 상세한 설명에서는 구체적인 실시 예에 관하여 설명하였으나, 본 발명의 범위에서 벗어나지 않는 한도 내에서 여러 가지 변형이 가능함은 물론이다. 그러므로 본 발명의 범위는 상술한 실시예에 국한되어 정해져서는 안되며 후술하는 특허청구범위 뿐만 아니라 이 발명의 특허청구범위와 균등한 것들에 의해 정해져야 한다.Meanwhile, in the detailed description of the present invention, specific embodiments have been described, but various modifications are possible without departing from the scope of the present invention. Therefore, the scope of the present invention should not be limited to the above-described embodiments, but should be defined by the equivalents of the claims of the present invention as well as the following claims.

100; 모바일 RFID 장치
110; mRFID 폰
111; 이동통신 단말부
112; mRFID 리더부
101, 102; CRC 회로 121~12N; 태그
100; Mobile RFID device
110; mRFID Phone
111; Mobile communication terminal
112; mRFID reader
101, 102; CRC circuit 121-12N; tag

Claims (10)

모바일 RFID 장치의 데이터 통신 방법에 있어서:
이동통신 단말부가 mRFID 리더부로 명령(command)을 제공하고, 상기 mRFID 리더부로부터 명령에 대한 응답(response)을 제공받는 단계; 및
상기 명령 또는 상기 응답의 프로토콜 메시지에 에러가 있는지를 검사하고, 검사 결과에 따라 상기 mRFID 리더부로 상기 명령(command)을 재전송하는 단계를 포함하는 데이터 통신 방법.
In the data communication method of a mobile RFID device:
A mobile communication terminal providing a command to an mRFID reader, and receiving a response to the command from the mRFID reader; And
Checking whether there is an error in a protocol message of the command or the response, and resending the command to the mRFID reader unit according to a test result.
제 1 항에 있어서,
상기 명령과 응답에는 프로토콜 메시지의 에러를 검사하기 위한 CRC 필드가 포함되는 데이터 통신 방법.
The method of claim 1,
And the command and response include a CRC field for checking for errors in a protocol message.
제 2 항에 있어서,
상기 CRC 필드는 프로토콜 메시지의 엔드마크 필드 다음에 위치하는 데이터 통신 방법.
The method of claim 2,
Wherein the CRC field is located after an endmark field of a protocol message.
제 1 항에 있어서,
상기 명령을 재전송하는 수는 K(K는 자연수)번으로 제한되는 데이터 통신 방법.
The method of claim 1,
The number of retransmissions of the command is limited to K (K is a natural number).
명령(command)를 제공하는 이동통신 단말부; 및
상기 이동통신 단말부로부터 제공된 명령에 대한 응답(response)을 상기 이동통신 단말부로 제공하는 mRFID 리더부를 포함하되,
상기 이동통신 단말부 및 상기 mRFID 리더부는 상기 명령 또는 상기 응답의 프로토콜 메시지에 에러가 있는지를 검사하기 위한 CRC 회로를 포함하고,
상기 이동통신 단말부는 에러 검사 결과에 따라 상기 mRFID 리더부로 상기 명령(command)을 재전송하는 모바일 RFID 장치.
A mobile communication terminal unit providing a command; And
Including an mRFID reader for providing a response to the command provided from the mobile communication terminal to the mobile communication terminal,
The mobile communication terminal unit and the mRFID reader unit include a CRC circuit for checking whether there is an error in a protocol message of the command or the response;
And the mobile communication terminal retransmits the command to the mRFID reader according to an error check result.
제 5 항에 있어서,
상기 명령과 응답에는 프로토콜 메시지의 에러를 검사하기 위한 CRC 필드가 포함되는 모바일 RFID 장치.
The method of claim 5, wherein
And the command and response include a CRC field for checking an error of a protocol message.
제 6 항에 있어서,
상기 명령은 셋 보안 키 명령이고,
상기 셋 보안 키 명령에는 ESN, 폰 번호, 사용자 지정 키에 대한 정보가 포함되는 모바일 RFID 장치.
The method according to claim 6,
The command is a set security key command,
The set security key command includes information on an ESN, a phone number, and a user specified key.
제 6 항에 있어서,
상기 명령은 셋 주파수 모드 명령이고,
상기 셋 주파수 모드 명령에는 주파수 호핑 모드, LbT 모드, 또는 특정 주파수 사용에 대한 정보가 포함되는 모바일 RFID 장치.
The method according to claim 6,
The command is a set frequency mode command,
The set frequency mode command includes information on frequency hopping mode, LbT mode, or specific frequency usage.
제 6 항에 있어서,
상기 명령은 셋 MAC 제어 명령이고,
셋 MAC 제어 명령에는 MAC(Medium Access Control) 사용 여부에 대한 정보가 포함되는 모바일 RFID 장치.
The method according to claim 6,
The command is a set MAC control command,
The set MAC control command includes information on whether to use medium access control (MAC).
제 6 항에 있어서,
상기 명령은 시작 자동 읽기 명령이고,
상기 시작 자동 읽기 명령에는 읽을 수 있는 태그의 최대 수, 태깅 최대 지속 시간, 반복 사이클에 대한 정보가 포함되는 모바일 RFID 장치.
The method according to claim 6,
The command is a start auto read command,
And the start auto-read command includes information about the maximum number of tags that can be read, the maximum tagging duration, and the repetition cycle.
KR1020100038594A 2009-09-29 2010-04-26 Mobile rfid device and data communication method thereof KR20110035828A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US12/859,799 US20110074555A1 (en) 2009-09-29 2010-08-20 Mobile rfid device and data communication method thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20090092380 2009-09-29
KR1020090092380 2009-09-29

Publications (1)

Publication Number Publication Date
KR20110035828A true KR20110035828A (en) 2011-04-06

Family

ID=44044102

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100038594A KR20110035828A (en) 2009-09-29 2010-04-26 Mobile rfid device and data communication method thereof

Country Status (1)

Country Link
KR (1) KR20110035828A (en)

Similar Documents

Publication Publication Date Title
US8482389B2 (en) Reader control system
US7782204B2 (en) Wireless IC tag with counter, and information management system
WO2010022687A1 (en) Method and communication system for controlling communication distance of rf sim card with the aid of tag identification
US20100073138A1 (en) RFID tag communication system and RFID tag communication apparatus
US9697387B1 (en) Sequential encoding for RFID tags
Fernández-Caramés et al. A methodology for evaluating security in commercial RFID systems
US8436716B2 (en) Method of upgrading an operation program of a radio frequency identification system
US20150334284A1 (en) Portable terminal, imaging apparatus, communication system, communication method of portable terminal, communication method of imaging apparatus, and computer readable storage device
CN102044028A (en) Mobile payment realizing method and mobile payment system
CN113361293A (en) Card swiping method, card controller, electronic device and storage medium
US20100251261A1 (en) Method and Device for Automatically Selecting an Application That Can Be Implemented by Said Device
JP5061365B2 (en) Non-contact communication medium reading device and non-contact communication medium reading method
JP4575067B2 (en) IC tag semiconductor device, IC tag and IC tag control method
US10931331B2 (en) Communication device and method
US20110074555A1 (en) Mobile rfid device and data communication method thereof
US9542632B2 (en) IC card, portable electronic device, and reader/writer
CN116579365A (en) Antenna detection device, method and equipment of RFID (radio frequency identification) tag used by power grid
KR20110035828A (en) Mobile rfid device and data communication method thereof
JP2011022841A (en) Processing system for portable electronic apparatus, portable electronic apparatus, and processing apparatus for portable electronic apparatus
CN114697942A (en) Self-connection method, system, terminal equipment and storage medium
WO2021103117A1 (en) System for reading rfid tag data
US11909454B2 (en) Method for validating a transaction during a radio communication
JP6009854B2 (en) IC card, portable electronic device, and IC card control program
KR101485157B1 (en) Radio Frequency identification tag comprising an input unit
JP2012194698A (en) Portable electronic device, processing device for portable electronic device, and processing system of portable electronic device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application