KR20120001714A - Ic card - Google Patents

Ic card Download PDF

Info

Publication number
KR20120001714A
KR20120001714A KR1020110124085A KR20110124085A KR20120001714A KR 20120001714 A KR20120001714 A KR 20120001714A KR 1020110124085 A KR1020110124085 A KR 1020110124085A KR 20110124085 A KR20110124085 A KR 20110124085A KR 20120001714 A KR20120001714 A KR 20120001714A
Authority
KR
South Korea
Prior art keywords
usb
card
descriptor
terminal
information
Prior art date
Application number
KR1020110124085A
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 KR1020110124085A priority Critical patent/KR20120001714A/en
Publication of KR20120001714A publication Critical patent/KR20120001714A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/077Constructional details, e.g. mounting of circuits in the carrier
    • G06K19/07743External electrical contacts

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Systems (AREA)

Abstract

PURPOSE: An IC card of a PNP mode is provided to automatically omit a USB apparatus setting process of a terminal and to automatically recognize PNP mode through USB driving storage information. CONSTITUTION: A memory(115) stores USB(Universal Serial Bus) drive information. The USB drive information enables a terminal to recognizes an IC card as a USB device and processes USB communication with the IC card. A processor(110) executes an application for supplying USB drive information to the terminal. An input/output interface(105) outputs a PnP(Plug and Play) signal through the signall connection of the reset signal.

Description

아이씨 카드{IC Card}IC Card {IC Card}

본 발명은, 신호접점(D+)와 신호접점(D-)를 구비한 입출력 인터페이스를 통해 단말과 통신하는 IC카드에 있어서, 상기 단말이 IC카드를 USB(Universal Serial Bus)장치로 인식하여 상기 IC카드와 USB통신을 처리하기 위한 USB 구동 정보를 저장하는 메모리 및 상기 신호접점(D+)와 신호접점(D-) 중 적어도 하나를 통해 상기 USB 구동 저장정보를 상기 단말로 제공하는 애플리케이션을 실행하는 프로세서를 구비하는 아이씨 카드에 관한 것이다.
The present invention relates to an IC card for communicating with a terminal through an input / output interface having a signal contact (D +) and a signal contact (D−), wherein the terminal recognizes the IC card as a universal serial bus (USB) device and executes the IC. A memory for storing USB drive information for processing USB communication with a card and a processor for executing an application for providing the USB drive storage information to the terminal through at least one of the signal contact (D +) and the signal contact (D-). It relates to an IC card having a.

범용 직렬 통신(Universal Serial Bus; USB)은 규격이 서로 다른 주변 기기(예컨대, 키보드, 마우스, 프린터, 모뎀, 스피커 등)를 개인용 컴퓨터에 접속하기 위한 인터페이스의 공동화를 목적으로 미국의 인텔(Intel), 마이크로소프트(Microsoft), DEC(Digital Equipment Corporation), IBM(International Business Machine) 및 컴팩(Compaq)과 캐나다의 노텔(Nortel), 그리고 일본의 NEC(Nippon Electric Company)사 등에 의해 제안된 직렬 범용 버스로서, 서로 다른 규격의 주변 기기를 범용적으로 최대 127개까지 호스트 컴퓨터에 연결할 수 있는 특장점을 포함하고 있다.
Universal Serial Bus (USB) is an Intel technology united by the United States for the purpose of sharing the interface for connecting different types of peripherals (such as keyboards, mice, printers, modems, speakers, etc.) to personal computers. , Serial universal bus proposed by Microsoft, Digital Equipment Corporation (DEC), International Business Machine (IBM) and Compaq and Nortel of Canada, Nippon Electric Company (NEC) of Japan It includes features that allow up to 127 universally connected peripheral devices of different specifications.

IC카드는 중앙처리장치와 다양한 메모리 소자들을 내장하여 각종 디지털 정보를 저장 및 연산 처리할 수 있는 소정의 IC칩을 구비한 0.76mm 두께의 카드로서, ISO/IEC 7816 규격을 참조하면 카드 크기에 따라 가로세로 86.6*54(mm)의 ID-1 또는 66*33(mm)의 ID-00 또는 25*15(mm)의 ID-000 등이 있으며, 상기 IC카드에 구비되는 IC칩은 적어도 하나 이상의 프로세서(예컨대 CPU(Central Processing Unit)/MPU(Micro Processing Unit), 및/또는 암호화 연산을 위한 코프로세서(Coprocessor))와 메모리(예컨대, ROM(Read Only Memory), RAM(Random Access Memory), EEPROM(Electrically Erasable and Programmable Read Only Memory)) 및 상기 프로세서와 메모리를 연결하는 적어도 하나 이상의 버스(BUS) 등으로 구성되며, HID(Human Interface Device)가 생략된 소형 컴퓨터의 역할을 수행한다.
The IC card is a 0.76mm thick card with a predetermined IC chip that can store and compute various digital information by embedding the central processing unit and various memory elements. Refer to the ISO / IEC 7816 standard. ID-00 of 86.6 * 54 (mm) or ID-00 of 66 * 33 (mm) or ID-000 of 25 * 15 (mm), and the like. Processors (e.g., Central Processing Unit (CPU) / Micro Processing Unit (MPU), and / or coprocessors for cryptographic operations) and memory (e.g., Read Only Memory (ROM), Random Access Memory (RAM), EEPROM (Electrically Erasable and Programmable Read Only Memory) and at least one bus (BUS) that connects the processor and the memory, etc., and functions as a small computer without a Human Interface Device (HID).

단말(예컨대, 데스크탑(Desktop) 컴퓨터 및/또는 노트북(Notebook) 및/또는 포켓PC 및/또는 매킨토시 등)에서 상기 IC카드로 소정의 정보 또는 데이터를 입출력하기 위해서는 상기 단말이 상기 IC카드에 구비된 범용 직렬 통신 기능을 자동으로 인식하는 플러그 앤 플레이가 지원되어야 하는데, 반이중 통신 방식을 채택하는 IC카드에서는 프로토콜 스펙 상 플러그 앤 플레이를 제공할 수 없는 문제점을 내포하고 있다.
In order to input and output predetermined information or data from the terminal (e.g., a desktop computer and / or notebook and / or pocket PC and / or Macintosh) to the IC card, the terminal is provided in the IC card. Plug and play, which automatically recognizes the universal serial communication function, should be supported. IC cards adopting the half-duplex communication method cannot provide plug and play in the protocol specification.

본 발명의 목적은, 신호접점(D+)와 신호접점(D-)를 구비한 입출력 인터페이스를 통해 단말과 통신하는 IC카드에 있어서, 상기 단말이 IC카드를 USB(Universal Serial Bus)장치로 인식하여 상기 IC카드와 USB통신을 처리하기 위한 USB 구동 정보를 저장하는 메모리 및 상기 신호접점(D+)와 신호접점(D-) 중 적어도 하나를 통해 상기 USB 구동 저장정보를 상기 단말로 제공하는 애플리케이션을 실행하는 프로세서를 구비하는 아이씨 카드를 제공함에 있다.
SUMMARY OF THE INVENTION An object of the present invention is an IC card for communicating with a terminal through an input / output interface having a signal contact (D +) and a signal contact (D-), wherein the terminal recognizes the IC card as a universal serial bus (USB) device. Runs an application that provides the USB drive storage information to the terminal through at least one of a memory for storing USB drive information for processing USB communication with the IC card and the signal contact (D +) and signal contact (D-). An IC card having a processor is provided.

본 발명에 따른 아이씨 카드는, 신호접점(D+)와 신호접점(D-)를 구비한 입출력 인터페이스를 통해 단말과 통신하는 IC카드에 있어서, 상기 단말이 IC카드를 USB(Universal Serial Bus)장치로 인식하여 상기 IC카드와 USB통신을 처리하기 위한 USB 구동 정보를 저장하는 메모리 및 상기 신호접점(D+)와 신호접점(D-) 중 적어도 하나를 통해 상기 USB 구동 저장정보를 상기 단말로 제공하는 애플리케이션을 실행하는 프로세서를 구비하는 것을 특징으로 한다.
An IC card according to the present invention is an IC card for communicating with a terminal through an input / output interface having a signal contact (D +) and a signal contact (D−), wherein the terminal transmits the IC card to a universal serial bus (USB) device. An application that recognizes and stores the USB drive information for processing the USB communication with the IC card and provides the USB drive storage information to the terminal through at least one of the signal contact D + and the signal contact D-. Characterized in that it comprises a processor for executing.

본 발명에 따른 아이씨 카드에 있어서, 상기 입출력 인터페이스는, 리셋신호에 의해 신호접점(D+)와 신호접점(D-) 중 적어도 하나를 통해 플러그 앤 플레이(Plug and Play; PnP) 신호를 상기 단말로 출력하는 것을 특징으로 한다.
In the IC card according to the present invention, the input / output interface transmits a Plug and Play (PnP) signal to the terminal through at least one of a signal contact (D +) and a signal contact (D−) by a reset signal. It is characterized by outputting.

본 발명에 따르면, IC카드에서 범용 직렬 통신을 통해 상기 단말에 접속 시, 상기 단말에서 별도의 범용 직렬 통신 장치 설정 과정을 생략하고, 상기 USB 구동 저장정보를 통해 플러그 앤 플레이(Plug and Play; PnP) 방식으로 상기 IC카드를 자동으로 인식 및 구동하는 이점이 있다.
According to the present invention, when the IC card is connected to the terminal through universal serial communication, a separate universal serial communication device setting process is omitted in the terminal, and Plug and Play (PnP) through the USB drive storage information. There is an advantage of automatically recognizing and driving the IC card.

도1은 본 발명에 따른 USB 구동 저장정보를 구비한 IC카드의 바람직한 기능구성을 도시한 도면이다.
도2는 본 발명의 바람직한 실시 방법에 따라 USB 구동 저장정보를 저장하는 IC카드의 파일구조를 도시한 도면이다.
도3은 본 발명의 일 실시 방법에 따라 USB 구동 저장정보에 포함되는 디바이스 디스크립터 요소파일의 바람직한 구조를 도시한 도면이다.
도4는 본 발명의 일 실시 방법에 따른 USB 디바이스 클래스를 예시한 도면이다.
도5는 본 발명의 일 실시 방법에 따른 디바이스 디스크립터와 문자열 디스크립터의 구조를 도시한 도면이다.
도6은 본 발명의 일 실시 방법에 따라 USB 구동 저장정보에 포함되는 컨피규레이션 디스크립터 요소파일의 바람직한 구조를 도시한 도면이다.
도7은 본 발명의 일 실시 방법에 따라 컨피규레이션 디스크립터의 내부 구성을 도시한 도면이다.
도8은 본 발명의 일 실시 방법에 따라 USB 구동 저장정보에 포함되는 인터페이스 디스크립터 요소파일의 바람직한 구조를 도시한 도면이다.
도9는 본 발명의 일 실시 방법에 따라 USB 구동 저장정보에 포함되는 엔드포인트 디스크립터 요소파일의 바람직한 구조를 도시한 도면이다.
도10은 본 발명의 일 실시 방법에 따라 IC카드에 구비된 USB 구동 저장정보에 포함된 USB 디스크립터를 이용하여 단말에서 USB 드라이버를 생성하는 바람직한 과정을 도시한 도면이다.
1 is a diagram showing a preferred functional configuration of an IC card with USB drive storage information according to the present invention.
Fig. 2 is a diagram showing the file structure of an IC card for storing USB drive storage information according to a preferred embodiment of the present invention.
3 is a diagram showing a preferred structure of a device descriptor element file included in USB drive storage information according to an embodiment of the present invention.
4 is a diagram illustrating a USB device class according to an embodiment of the present invention.
5 is a diagram illustrating the structure of a device descriptor and a string descriptor according to an embodiment of the present invention.
FIG. 6 is a diagram showing a preferred structure of a configuration descriptor element file included in USB drive storage information according to one embodiment of the present invention.
7 is a diagram illustrating an internal configuration of a configuration descriptor according to an embodiment of the present invention.
FIG. 8 is a diagram showing a preferred structure of an interface descriptor element file included in USB drive storage information according to an embodiment of the present invention.
9 is a diagram showing a preferred structure of an endpoint descriptor element file included in USB drive storage information according to an embodiment of the present invention.
FIG. 10 is a diagram illustrating a preferred process of generating a USB driver in a terminal using a USB descriptor included in USB drive storage information included in an IC card according to an exemplary embodiment of the present invention.

이하 첨부된 도면과 설명을 참조하여 본 발명의 바람직한 실시예에 대한 동작 원리를 상세히 설명한다. 다만, 하기에 도시되는 도면과 후술되는 설명은 본 발명의 특징을 효과적으로 설명하기 위한 여러 가지 방법 중에서 바람직한 실시 방법에 대한 것이며, 본 발명이 하기의 도면과 설명만으로 한정되는 것은 아니다. 또한, 하기에서 본 발명을 설명함에 있어 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다. 그리고 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로서, 이는 사용자, 운용자의 의도 또는 관례 등에 따라 달라질 수 있다. 그러므로 그 정의는 본 명에서 전반에 걸친 내용을 토대로 내려져야 할 것이다.
Hereinafter, with reference to the accompanying drawings and description will be described in detail the operating principle of the preferred embodiment of the present invention. However, the drawings and the following description shown below are for the preferred method among various methods for effectively explaining the features of the present invention, the present invention is not limited only to the drawings and description below. In the following description of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear. In addition, terms to be described below are terms defined in consideration of functions in the present invention, which may vary according to a user's or operator's intention or custom. Therefore, the definition should be based on the contents throughout the present title.

또한, 이하 실시되는 본 발명의 바람직한 실시예는 본 발명을 이루는 기술적 구성요소를 효율적으로 설명하기 위해 각각의 시스템 기능구성에 기 구비되어 있거나, 또는 본 발명이 속하는 기술분야에서 통상적으로 구비되는 시스템 기능구성은 가능한 생략하고, 본 발명을 위해 추가적으로 구비되어야 하는 기능구성을 위주로 설명한다. 만약 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자라면, 하기에 도시하지 않고 생략된 기능구성 중에서 종래에 기 사용되고 있는 구성요소의 기능을 용이하게 이해할 수 있을 것이며, 또한 상기와 같이 생략된 구성요소와 본 발명을 위해 추가된 구성요소 사이의 관계도 명백하게 이해할 수 있을 것이다.
It is to be understood that both the foregoing general description and the following detailed description of the present invention are exemplary and explanatory and are intended to provide further explanation of the invention as claimed. The configuration is omitted as much as possible, and a functional configuration that should be additionally provided for the present invention is mainly described. Those skilled in the art will readily understand the functions of components that have been used in the prior art among the functional configurations that are not shown in the following description, The relationship between the elements and the components added for the present invention will also be clearly understood.

또한, 이하 실시되는 바람직한 실시예는 본 발명을 이루는 기술적 구성요소를 효율적으로 설명하기 위해 ISO/IEC 7816 규격을 따르는 접촉식 IC카드를 기반으로 설명하지만, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자라면, 본 실시예에서 설명되는 기능 구성을 기반으로 ISO/IEC 14443 규격을 따르는 비접촉식 IC카드 및/또는 별도의 접촉식 IC칩과 비접촉식 IC칩이 구비된 하이브리드 카드 및/또는 하나의 IC칩을 접촉식 및 비접촉식으로 공유하는 콤비카드 등에도 적용될 수 있음을 용이하게 이해할 수 있을 것이다.
In addition, the preferred embodiment to be described below is based on a contact IC card in accordance with the ISO / IEC 7816 standard in order to efficiently describe the technical components constituting the present invention, but the common knowledge in the technical field to which the present invention belongs If a person possesses, a hybrid card and / or one IC chip provided with a contactless IC card and / or a separate contact IC chip and a contactless IC chip conforming to the ISO / IEC 14443 standard based on the functional configuration described in this embodiment It will be readily understood that the present invention can be applied to a combination card such as contact and contactless sharing.

또한, 이하 실시되는 바람직한 실시예는 본 발명을 이루는 기술적 구성요소를 효율적으로 설명하기 위해 USB 기능이 구비된 상기 IC카드와 연결되는 단말을 마이크로소프트사의 윈도우 계열의 운영체제가 탑재된 경우를 통해 설명하는데, 이것은 대부분의 단말에 탑재되는 운영체제가 윈도우 계열이기 때문에 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 본 발명의 기술적 사상을 효율적으로 설명하기 위한 것일 뿐, 상기 단말에 탑재되는 운영체제가 마이크로소프트사의 윈도우 계열로 한정되는 것은 결코 아님은 명백할 것이다.
In addition, the preferred embodiment to be described below is to describe the terminal connected to the IC card with a USB function in order to efficiently describe the technical components constituting the present invention through the case that the operating system of the Microsoft Windows series This is only for efficiently explaining the technical idea of the present invention to a person skilled in the art because the operating system mounted on most terminals is a Windows series, and the operating system mounted on the terminal is micro Obviously, it's not limited to Soft's Windows line.

도면1은 본 발명에 따른 USB 구동 저장정보(120)를 구비한 IC카드(100)의 바람직한 기능구성을 도시한 도면이다.
1 is a diagram showing a preferred functional configuration of an IC card 100 having USB drive storage information 120 according to the present invention.

ISO/IEC 7816 및/또는 ISO/IEC 14443 등을 포함하는 규격을 참조하면, IC카드(100)의 IC칩은 전원 공급(VCC), 리셋 신호(RST), 클럭 신호(CLK), 플러스 신호(D+), 접지(GND), 프로그래밍 전원 공급(VPP), 입출력(I/O) 및/또는 마이너스 신호(D-) 등과 같은 접촉점을 통해 USB 포트가 구비된 단말과 통신(예컨대, IC카드(100) 관련 명령 또는 데이터 교환 등)하는 입출력 인터페이스(105)와, CPU(Central Process Unit), MPU(Micro Process Unit), 및/또는 코프로세서(Coprocessor) 등을 포함하는 적어도 하나 이상의 연산 소자로 이루어진 프로세서부(110)와, ROM(Read Only Memory), RAM(Random Access Memory), EEPROM(Electrically Erasable and Programmable Read Only Memory), FM(Flash Memory) 등을 포함하는 적어도 하나 이상의 메모리 소자로 이루어진 메모리부(115)로 이루어져 있으며, 특히 상기 메모리 소자 중에서 적어도 하나 이상의 메모리 소자(예컨대, ROM)에는 IC카드(100) 내부 자원을 관리하고 운영하는 칩 운영 체제(Chip Operating System; COS)가 저장되는데, 상기 입출력 인터페이스(105)의 전원 공급(VCC) 접촉점을 통해 단말로부터 소정의 전원이 공급되는 경우 상기 메모리부(115)에 저장된 COS가 소정의 실행 메모리로 로딩되어 상기 IC칩의 전반적인 동작을 제어하고, 상기 클럭 신호(CLK) 접점의 클럭주파수(예컨대, 3.57MHz 또는 4.9MHz)를 기반으로 APDU(Application Protocol Data Unit)를 통해 상기 IC칩과 단말 사이의 정보 또는 데이터 교환을 제어한다.
Referring to the standards including ISO / IEC 7816 and / or ISO / IEC 14443, the IC chip of the IC card 100 may include a power supply (VCC), a reset signal (RST), a clock signal (CLK), and a plus signal ( Communication with a terminal equipped with a USB port via a contact point such as D +, ground (GND), programming power supply (VPP), input / output (I / O) and / or minus signal (D-), etc. (eg IC card 100 A processor comprising an input / output interface 105 for exchanging related instructions or data, and at least one computing element including a central process unit (CPU), a micro process unit (MPU), a coprocessor, or the like. A memory unit including a unit 110 and at least one memory device including a read only memory (ROM), a random access memory (RAM), an electrically erasable and programmable read only memory (EEPROM), a flash memory (FM), and the like ( 115), in particular at least one memo of the memory elements A device (eg, a ROM) stores a Chip Operating System (COS) that manages and operates an internal resource of the IC card 100, which is stored from a terminal through a power supply (VCC) contact point of the input / output interface 105. When a predetermined power is supplied, the COS stored in the memory unit 115 is loaded into a predetermined execution memory to control the overall operation of the IC chip, and the clock frequency of the clock signal CLK contact (for example, 3.57 MHz or 4.9MHz) to control the exchange of information or data between the IC chip and the terminal through the Application Protocol Data Unit (APDU).

본 발명에 따르면, 상기 IC칩의 메모리부(115)에는 단말에서 USB를 통해 IC카드(100)를 자동으로 구동(Plug & Play; P&P)하기 위한 USB 구동 저장정보(120)가 저장되는 것을 특징으로 하며, 상기 USB 구동 저장정보(120)는 단말로 제공되어 판독 및/또는 사용되어지는 소정의 USB 구동정보에 해당하는 데이터 셋트를 저장하는 데이터 저장부(130)와, 상기 프로세서부(110)의 연산 기능과 COS가 제공하는 명령어 셋트에 의해 구동 또는 실행되어 동작하는 프로그램 루틴(예컨대, 자바카드(Javacard)의 경우 자바 애플릿(JAVA Applet))으로서 상기 COS의 명령어 셋트와 상호 작용하는 명령호출코드와 프로세서부(110)에 의해 연산 처리되는 실행코드를 포함하여 이루어진 애플리케이션에 해당하는 처리부(125)가 구비되는 것을 특징으로 한다.
According to the present invention, the memory unit 115 of the IC chip is stored in the USB drive storage information 120 for automatically driving (Plug &Play; P & P) the IC card 100 via the USB in the terminal The USB drive storage information 120 is a data storage unit 130 for storing a data set corresponding to a predetermined USB drive information that is provided to the terminal to be read and / or used, and the processor unit 110 A program routine (e.g., a Java applet in the case of Javacard) that is driven or executed by a command function provided by the COS and an operation function of the command. And a processing unit 125 corresponding to an application including an execution code which is arithmetic processed by the processor unit 110.

특히, 상기 처리부(125)는 상기 단말로부터 제공되는 소정의 명령(Command)을 판독하거나, 또는 상기 IC칩 내에 미리 정의된 USB 루틴에 의해, 상기 메모리부(115)에 저장된 USB 구동정보를 독출하여 상기 입출력 인터페이스(105)의 입출력 접점(I/O) 및/또는 플러스 신호(D+) 접점 및/또는 마이너스 신호(D-) 접점을 통해 단말로 제공하는 것을 특징으로 한다.
In particular, the processing unit 125 reads a predetermined command provided from the terminal, or reads the USB driving information stored in the memory unit 115 by a USB routine predefined in the IC chip. The terminal may be provided to the terminal through the input / output contact I / O and / or the plus signal D + and / or the minus signal D− of the input / output interface 105.

본 발명의 바람직한 실시 방법에 따르면, 상기 IC칩의 메모리부(115)는 ISO/IEC 10202에 기반하는 보안구조를 포함하여 이루어지는데, 이에 따르면 상기 메모리부(115)는 CSN(Chip Serial Number)와 같은 비밀정보가 저장되는 보호영역과, COS 제어 영역, 사용자 애플리케이션 영역, 읽기/쓰기 접근 영역, 애플리케이션 프로그램 영역, 및 FAT(File Allocation Table) 관리 영역 등으로 이루어지며, 본 발명을 위한 USB 구동 저장정보(120)는 상기 보호영역과 COS 제어 영역을 제외한 영역에 저장되는 것이 바람직하다.
According to a preferred embodiment of the present invention, the memory unit 115 of the IC chip includes a security structure based on ISO / IEC 10202. Accordingly, the memory unit 115 may include a chip serial number (CSN) It consists of a protected area where the same secret information is stored, a COS control area, a user application area, a read / write access area, an application program area, and a FAT (File Allocation Table) management area, and the like. 120 is preferably stored in an area excluding the protection area and the COS control area.

또한, ISO/IEC 7816 및/또는 ISO/IEC 14443 ICC 규격에 따르면, 상기 메모리부(115)는 루트 파일(Root File)에 해당하는 하나의 마스터 파일(Master File; MF)과, 상기 마스터 파일 하위에 적어도 하나 이상의 저장정보에 대한 기능 정보를 포함하는 ATR(Answer To Reset)과, 각각의 ICC 저장 정보에 대응하는 적어도 하나 이상의 전용 파일(Dedicate File; DF)과, 그리고 상기 전용 파일 하위에 배치되며 스마트 카드 서비스를 위한 실질적인 정보 및/또는 데이터가 포함된 요소 파일(Element File; EF)로 이루어진 파일 구조를 포함하고 있는데, 본 발명을 위한 USB 구동 저장정보(120)도 상기와 같은 파일 구조를 포함하여 이루어진다.
In addition, according to the ISO / IEC 7816 and / or ISO / IEC 14443 ICC standard, the memory unit 115 includes one master file (MF) corresponding to a root file and a lower subordinate to the master file. An ATR (Aswer To Reset) including function information on at least one stored information, at least one dedicated file corresponding to each ICC stored information, and a dedicated file (DF) corresponding to each ICC stored information, and disposed below the dedicated file. It includes a file structure consisting of an element file (EF) containing the actual information and / or data for the smart card service, the USB drive storage information 120 for the present invention also includes such a file structure It is done by

도면2는 본 발명의 바람직한 실시 방법에 따라 USB 구동 저장정보(120)를 저장하는 IC카드(100)의 파일구조를 도시한 도면이다.
2 is a view showing the file structure of the IC card 100 for storing the USB drive storage information 120 according to a preferred embodiment of the present invention.

보다 상세하게 본 도면2는 신용카드 저장정보(0200), 직불카드 저장정보(0300), 금융공동망 저장정보(F100), 전자화폐 저장정보(F200), 서명용 인증서(F300), 및 키분배용 인증서(F400)가 저장되어 있는 금융 IC칩 파일 구조에 단말에서 USB 기능이 구비된 IC카드(100)를 자동으로 인식 및 구동하기 위한 USB 구동 저장정보(120)를 저장하는 경우에 대한 것이다.
In more detail, Figure 2 shows credit card storage information (0200), debit card storage information (0300), financial common network storage information (F100), electronic money storage information (F200), signing certificate (F300), and key distribution In the case of storing the USB drive storage information 120 for automatically recognizing and driving the IC card 100 having a USB function in the terminal in the financial IC chip file structure in which the certificate F400 is stored.

본 발명이 속하는 기술분야에서 통상의 지식을 가진 자라면, 본 도면2에 도시된 금융 IC칩 파일 구조 중에서 종래 구성요소의 기능과 특징은 이미 이해하고 있을 것이므로 이에 대한 설명은 생략한다. 또한, 본 도면2에 도시된 USB 구동 저장정보(120)의 구성은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 USB 구동 저장정보(120)의 파일 구조를 효율적으로 설명하기 위한 것으로서, 이에 의해 본 발명의 기술적 사상이 한정되지 않으며, 본 발명을 실시하는 당업자에 의해 용이하게 변경되어 사용될 수 있음은 명백하다.
Those skilled in the art to which the present invention pertains, since the functions and features of the conventional components of the financial IC chip file structure shown in Figure 2 will already be understood, the description thereof will be omitted. In addition, the configuration of the USB drive storage information 120 shown in FIG. 2 is for efficiently explaining the file structure of the USB drive storage information 120 to those of ordinary skill in the art, Accordingly, the technical spirit of the present invention is not limited, and it is apparent that the present invention can be easily changed and used by those skilled in the art.

예컨대, 본 발명의 다른 실시 방법에 따르면, 본 도면2에 도시된 USB 구동 저장정보(120)에 포함된 USB 구동정보는 IC칩 내에서 소정의 리셋 신호에 응답하는 ATR 내에 구비되어도 무방하며, 이는 본 발명을 실시하는 당업자에 의해 용이하게 변경될 수 있음은 명백하다. 또한, 본 도면2에 도시된 USB 구동 저장정보(120)는 하나의 전용파일과 적어도 하나 이상의 요소파일로 이루어지는데, 본 발명의 다른 실시 방법에 따르면 전용파일 없이 적어도 하나 이상의 요소파일로 이루어져도 무방하다. 또한, 본 도면2에 도시된 USB 구동 저장정보(120)를 이루는 요소파일에 소정의 USB 구동정보가 직접 저장되는데, IC칩의 저장용량을 효율적으로 사용하기 위하여 네트워크 상의 저장매체에 USB 구동정보가 저장되고, 상기 IC칩에는 상기 단말이 상기 저장매체에 접근하기 위한 소정의 네트워크 주소정보(예컨대, USB 구동정보가 저장된 저장매체에 대한 URL(Uniform Resource Loactor) 정보)가 저장되어도 무방할 것이다.
For example, according to another exemplary embodiment of the present invention, the USB drive information included in the USB drive storage information 120 shown in FIG. 2 may be provided in the ATR in response to a predetermined reset signal in the IC chip. It is obvious that the present invention can be easily changed by those skilled in the art. In addition, the USB drive storage information 120 shown in FIG. 2 is composed of one dedicated file and at least one element file. According to another embodiment of the present invention, the USB drive storage information 120 may include at least one element file without a dedicated file. Do. In addition, predetermined USB drive information is directly stored in an element file constituting the USB drive storage information 120 shown in FIG. 2, and USB drive information is stored in a storage medium on a network in order to efficiently use the storage capacity of the IC chip. The IC chip may store predetermined network address information (eg, URL (Uniform Resource Loactor) information about a storage medium storing USB driving information) for the terminal to access the storage medium.

본 발명의 바람직한 실시 방법을 따르는 도면2를 참조하면, 상기 USB 구동 저장정보(120)는 마스터 파일의 하위에 배치되며 USB 구동 저장정보(120)에 대한 고유한 식별 정보 내지 특성 정보를 포함하는 USB 구동 전용파일(F500)과, 상기 전용파일 하위에 배치되며 상기 단말에서 상기 USB 기능이 구비된 상기 IC칩을 자동으로 인식 및 구동정보를 로드하기 위한 USB 디스크립터 정보를 저장하는 USB 디스크립터 관련 요소파일(200)(F501~F504) 및 상기 USB 기능이 구비된 IC카드(100)로 소정의 정보 또는 데이터를 입출력하여 IC카드(100) 사용자에게 소정의 카드 서비스를 제공하는 USB 애플리케이션 정보를 저장하는 USB 애플리케이션 요소파일(225)(F505)을 포함하여 이루어진다.
Referring to FIG. 2 according to a preferred embodiment of the present invention, the USB drive storage information 120 is disposed below the master file and includes unique identification information or characteristic information about the USB drive storage information 120. USB descriptor-related element file for storing the drive-dedicated file (F500) and USB descriptor information for automatically recognizing the IC chip equipped with the USB function and loading the drive information under the dedicated file (F500). 200) (F501 ~ F504) and the USB application for storing the USB application information for providing a predetermined card service to the user of the IC card 100 by inputting and outputting predetermined information or data to the IC card 100 having the USB function Element file 225 (F505).

USB 디스크립터 요소파일(200)은 적어도 하나 이상의 디바이스 디스크립터(Device Descriptor) 요소파일(205)(F501) 및/또는 컨피규레이션 디스크립터(Configuration Descriptor) 요소파일(210)(F502) 및/또는 인터페이스 디스크립터(Interface Descriptor) 요소파일(215)(F503) 및/또는 엔드포인트 디스크립터(Endpoint Descriptor) 요소파일(220)(F504) 포함하여 이루어지며, 상기 디바이스 디스크립터 요소파일(205)은 상기 단말에서 상기 IC카드(100)를 소정의 장치 객체(Device object)로 인식하기 위한 소정의 디스크립터 정보를 포함하여 이루어지며, 컴피규레이션 디스크립터 요소파일(210)은 상기 장치 객체에 대한 상세한 디스크립터 정보를 포함하여 이루어지며, 엔드포인트 디스크립터 요소파일(220)은 상기 IC카드(100)에 구비된 USB 엔드포인트에 대한 디스크립터 정보를 포함하여 이루어지며, 인터페이스 디스크립터 요소파일(215)은 상기 적어도 하나 이상의 엔드포인트 디스크립터를 기능별로 분류한 디스크립터 정보를 포함하여 이루어진다.
The USB descriptor element file 200 may include at least one device descriptor element file 205 (F501) and / or a configuration descriptor element file 210 (F502) and / or an interface descriptor. ) Element file 215 (F503) and / or Endpoint Descriptor element file 220 (F504), the device descriptor element file 205 is the IC card 100 in the terminal; Includes predetermined descriptor information for recognizing a predetermined device object, and the configuration descriptor element file 210 includes detailed descriptor information for the device object. The element file 220 includes descriptor information about a USB endpoint provided in the IC card 100, Interface element descriptor file 215 is composed, including a descriptor information classifying the at least one endpoint descriptor for each function.

USB 애플리케이션 요소파일(225)은 상기 단말에서 상기 USB 기능이 구비된 IC카드(100)가 자동으로 인식 및 구동되는 경우, 상기 IC카드(100)와 연동하여 소정의 카드 서비스(예컨대, 결제 서비스, 사용자 인증 서비스 등)를 제공하기 위한 소정의 USB용 카드 애플리케이션에 대한 정보를 저장하는 요소 파일로서, 상기 단말에 구비되어 있는 다수의 파일 중에서 USB용 카드 애플리케이션에 해당하는 파일 정보(예컨대, 파일 이름)를 포함하여 이루어지거나, 또는 상기 USB용 카드 애플리케이션을 네트워크 상의 저장매체로부터 다운로드하여 상기 단말에 설치하기 위한 소정의 네트워크 주소정보를 포함하여 이루어진다.
The USB application element file 225 is linked with the IC card 100 when the IC card 100 equipped with the USB function is automatically recognized and driven in the terminal, and a predetermined card service (eg, payment service, An element file that stores information on a predetermined USB card application for providing a user authentication service, etc., and file information (for example, a file name) corresponding to the USB card application among a plurality of files included in the terminal. It is made, including, or comprises a predetermined network address information for downloading the USB card application from the storage medium on the network to install in the terminal.

이하 마이크로소프트사의 윈도우 계열의 운영체제와 플러그 앤 플레이를 지원하는 BIOS가 구비된 단말에서 상기 IC카드(100)를 자동으로 인식 및 구동하기 위해 상기 IC카드(100)에 구비되는 USB 구동 저장정보(120)에 포함되는 디바이스 디스크립터, 컨피규레이션 디스크립터, 인터페이스(105) 디스크립터, 및 엔드포인트 디스크립터를 포함하는 요소파일의 바람직한 구조를 설명한다.
Hereinafter, the USB drive storage information 120 provided in the IC card 100 to automatically recognize and drive the IC card 100 in a terminal equipped with a Microsoft Windows-based operating system and a BIOS supporting plug and play. Next, a preferred structure of an element file including a device descriptor, a configuration descriptor, an interface 105 descriptor, and an endpoint descriptor included in FIG. 9 is described.

그러나, USB 구동 저장정보(120)에 포함되는 USB 디스크립터(200)가 이후 도시 및 설명되는 경우로 한정되는 것은 아니며, USB 스펙의 변경 또는 버전업에 따라 변경될 수 있음은 명백할 것이다. 또한, 본 발명이 속하는 기술 분야에서 WDM(Windows Driver Model)에 대한 지식을 득한 개발자라면 마이크로소프트사에서 제공되는 DDK(Device Development Kit)를 참조하여 후술되는 스크립터의 각 항목을 보다 상세하게 이해할 수 있을 것이므로, 이에 대한 자세한 설명은 생략하며, 상기 USB 디스크립터를 IC카드(100) USB 구동 저장정보(120)로서 구비하기 위해 필요한 기술적 사항만을 기술한다.
However, the USB descriptor 200 included in the USB drive storage information 120 is not limited to the case shown and described below, and it will be apparent that the USB specification may be changed according to the change or the upgrade of the USB specification. In addition, if the developer has acquired knowledge of the Windows Driver Model (WDM) in the technical field to which the present invention belongs, each item of the scripter described below will be described in more detail with reference to the DDK (Device Development Kit) provided by Microsoft. Therefore, detailed description thereof will be omitted, and only the technical matters necessary for providing the USB descriptor as the IC card 100 and the USB drive storage information 120 will be described.

도면3은 본 발명의 일 실시 방법에 따라 USB 구동 저장정보(120)에 포함되는 디바이스 디스크립터 요소파일(205)의 바람직한 구조를 도시한 도면이다.
FIG. 3 is a diagram showing a preferred structure of the device descriptor element file 205 included in the USB drive storage information 120 according to one embodiment of the present invention.

본 발명의 바람직한 실시 방법을 따르는 도면3을 참조하여 디바이스 디스크립터 요소파일(205)의 구성을 간략하게 설명하면, 디바이스 디스크립터의 “bLength” 항목은 디바이스 디스크립터 구조체의 크기로서, 상기 디바이스 디스크립터가 장치 제조사마다 다르게 정의되거나 또는 향후 버전업에 따라 변경되는 경우에도 호환되도록 하기 위해 해당 디스크립터 구조체의 크기를 미리 정의하며, “bDescriptorType” 항목은 상기 디스크립터가 디바이스 디스크립터에 해당함을 지정하는 플래그(USB_DEVICE_DESCRIPTOR_TYPE)를 정의한다. 상기 “bLength”와 “bDescriptorType”은 모든 USB 디스크립터에 공통적으로 포함되며, 이에 의해 다수의 USB 디스크립터 중에서 특정의 디스크립터를 독출할 수 있다.
Referring to FIG. 3 according to the preferred embodiment of the present invention, the configuration of the device descriptor element file 205 will be briefly described. The “bLength” item of the device descriptor is the size of the device descriptor structure, and the device descriptor is used for each device manufacturer. The size of the descriptor structure is defined in advance in order to be compatible even if it is defined differently or changed in future version upgrade, and the “bDescriptorType” item defines a flag (USB_DEVICE_DESCRIPTOR_TYPE) indicating that the descriptor corresponds to the device descriptor. The “bLength” and “bDescriptorType” are commonly included in all USB descriptors, thereby reading a specific descriptor from among a plurality of USB descriptors.

상기 디바이스 디스크립터의 “bcdUSB” 항목은 상기 디스크립터가 지원하는 USB 스펙 번호로서 BCD(Binary Coded Decimal) 포맷으로 저장되며, ‘0x0100’의 값을 갖고 있다면 1.00 버전을 의미한다. “bDeviceClass” 및/또는 “bDeviceSubClass” 항목은 USB 장치를 지정하는 디바이스 클래스로서 USB 기능이 구비된 상기 IC카드(100)를 USB 공인 기관에 등록했거나 기존 범용 디바이스에 해당된다면 이 부분에 ‘0’이 아닌 다른 값이 들어간다. 각 디바이스 클래스의 값은 적당한 간격을 두고 떨어져 있으며 두 값의 사이에서 해당 디바이스의 범주에 가까운 값을 갖는다. 만약 어느 곳에 속하지 않는 디바이스인 경우에는 제작사가 임의로 만든 것이므로 0xFF값을 할당하게 된다. “bDeviceSubClass”는 분할된 디바이스의 클래스 값으로서 “bDeviceClass”의 영향을 받으며, 만약 상기 디바이스 클래스의 “bDeviceClass”가 ‘0xFF’라면 “bDeviceSubClass”도 0xFF가 된다. 현재 지원하는 디바이스 클래스는 도면4에 도시하였다.
The “bcdUSB” item of the device descriptor is a USB specification number supported by the descriptor and is stored in a binary coded decimal (BCD) format. If the value is '0x0100', it means version 1.00. The “bDeviceClass” and / or “bDeviceSubClass” item is a device class that designates a USB device. If the IC card 100 equipped with the USB function is registered with a USB accredited authority or corresponds to an existing general purpose device, “0” appears in this section. A value other than The values for each device class are spaced at reasonable intervals, with values close to the category of the device in question. If the device does not belong anywhere, it is made by the manufacturer and assigned a value of 0xFF. “BDeviceSubClass” is a class value of a divided device, and is affected by “bDeviceClass”. If “bDeviceClass” of the device class is “0xFF”, “bDeviceSubClass” is also 0xFF. Currently supported device classes are shown in FIG.

또한, 디바이스 디스크립터의 “bDeviceProtocol” 항목은 USB 기능을 제공하는 상기 IC카드(100)가 사용하는 프로토콜 번호를 지정하며, “bMaxPacketSize0” 항목은 엔드포인트 ‘0’의 최대 패킷 크기를 지정하며, ‘8’, ‘16’, ‘32’, ‘64’ 비트로 한정된다. 또한, “idVendor” 항목 또는 “idProduct” 항목은 벤더 ID 또는 제품 ID를 지정하며, “bcdDevice” 항목은 BCD 형태의 장치 배포번호를 지정한다. 또한, “iManufacturer” 또는 “iProduct” 또는 “iSerialNumber” 항목은 제조사 또는 제품 또는 일련번호를 포함하는 문자열 디스크립터의 인덱스를 가리키며, 상기 문자열 디스크립터의 크기는 첫째 바이트에 명시되며 타입 지정 바이트 부분을 다음에 유니코드 문자열이 자리잡고 있다.
In addition, the “bDeviceProtocol” item of the device descriptor designates the protocol number used by the IC card 100 that provides the USB function, and the “bMaxPacketSize0” item designates the maximum packet size of the endpoint '0' and '8'. Limited to ',' 16 ',' 32 ', and' 64 'bits. Also, the “idVendor” or “idProduct” item specifies a vendor ID or product ID, and the “bcdDevice” item specifies a device distribution number in the form of a BCD. In addition, the item “iManufacturer” or “iProduct” or “iSerialNumber” points to the index of the string descriptor containing the manufacturer or product or serial number, the size of the string descriptor being specified in the first byte, followed by the type specification byte part. The code string is in place.

도면4는 본 발명의 일 실시 방법에 따른 USB 디바이스 클래스를 예시한 도면이다.
4 is a diagram illustrating a USB device class according to an embodiment of the present invention.

보다 상세하게 도면4는 USB 스펙 상 현재 지원되는 USB 디바이스 클래스를 예시한 것으로서, 현재 USB 기능이 구비된 IC카드(100)를 지정하는 USB 디바이스 클래스는 정의되어 있지 않으므로 “USB_DEVICE_CLASS_VENDOR_SPECIFIC”로 설정되는 것이 바람직하며, 향 후 상기 IC카드(100)가 지원되는 경우 해당 USB 디바이스 클래스 값을 갖게 될 것이다.
In more detail, Figure 4 illustrates the USB device class currently supported in the USB specification, and since the USB device class designating the IC card 100 having the USB function is not defined at present, it is preferably set to “USB_DEVICE_CLASS_VENDOR_SPECIFIC”. In the future, if the IC card 100 is supported, it will have a corresponding USB device class value.

도면5는 본 발명의 일 실시 방법에 따른 디바이스 디스크립터와 문자열 디스크립터의 구조를 도시한 도면이다.
5 is a diagram illustrating the structure of a device descriptor and a string descriptor according to an embodiment of the present invention.

도면5를 참조하면, 디바이스 디스크립터에서 “iManufacturer” 항목 또는 “iProduct” 항목 또는 “iSerialNumber” 항목에 대응하는 소정의 문자열 디스크립터는 메모리 구조 상 상기 디바이스 디스크립터 다음에 위치하며, “bLength” 항목과 “bDescriptorType” 항목을 포함하며, 상기 iManufacturer/iProduct/iSerialNumber의 인덱스 값에 대응하는 유니코드 형태의 문자열을 포함하여 이루어진다.
Referring to FIG. 5, a predetermined string descriptor corresponding to an “iManufacturer” item, an “iProduct” item, or an “iSerialNumber” item in a device descriptor is positioned after the device descriptor in a memory structure, and includes a “bLength” item and a “bDescriptorType”). It includes an item, and includes a string in Unicode format corresponding to the index value of iManufacturer / iProduct / iSerialNumber.

도면6은 본 발명의 일 실시 방법에 따라 USB 구동 저장정보(120)에 포함되는 컨피규레이션 디스크립터 요소파일(210)의 바람직한 구조를 도시한 도면이다.
FIG. 6 is a diagram showing a preferred structure of the configuration descriptor element file 210 included in the USB drive storage information 120 according to one embodiment of the present invention.

본 발명의 바람직한 실시 방법을 따르는 도면6을 참조하여 컨피규레이션 디스크립터 요소파일(210)의 구성을 간략하게 설명하면, 컨피규레이션 디스크립터는 상기 도면3에 도시된 디바이스 디스크립터와 마찬가지로 단일 디스크립터로서 “bLength” 항목과 “bDescriptorType” 항목을 포함하여 이루어지며, 2바이트 크기의 “wTotalLength”를 더 포함하고 있다.
Referring to FIG. 6 according to the preferred embodiment of the present invention, the configuration descriptor element file 210 will be briefly described. The configuration descriptor is the same as the device descriptor shown in FIG. bDescriptorType ”item is included, and“ wTotalLength ”of 2 bytes is further included.

본 발명의 바람직한 실시 방법에 따르면, 컨피규레이션 디스크립터는 도면7과 같이 내부적으로 적어도 하나 이상의 인터페이스(105) 디스크립터와 엔드포인트 디스크립터를 포함하여 이루어질 수 있는데, 내부 디스크립터 수에 따라 그 크기는 유동적으로 변한다. 따라서 “bLength” 항목은 컨피규레이션 디스크립터 크기만 나타내며, wTotalLength 항목은 하부 디스크립터를 포함한 전체 크기를 나타낸다.
According to a preferred embodiment of the present invention, the configuration descriptor may include at least one interface 105 descriptor and an endpoint descriptor internally as shown in FIG. 7, the size of which varies fluidly according to the number of internal descriptors. Thus, the “bLength” item only represents the configuration descriptor size and the wTotalLength item represents the total size including the lower descriptor.

또한, 컨피규레이션 디스크립터의 “bNumInterfaces” 컨피규레이션 디스크립터에서 지원하는 인터페이스(105) 번호를 지정하며, “bConfigurationValue” 또는 “iConfiguration”는 컨피규레이션 값과 인덱스를 지정한다. 또한, “bmAttributes” 또는 “MaxPower”는 전원 관리 방법과 최대 전력 소비량을 지정하는데, 전원 관리 방법은 버스(BUS)로부터 전원을 인가하는 방법(D7), 자가 전원을 이용하는 방법(D6), 또는 리모트 웨이크업(Remote Wakeup)을 이용하는 방법(D5) 중에서 선택된다.
It also specifies the interface 105 number supported by the "bNumInterfaces" configuration descriptor in the configuration descriptor, and "bConfigurationValue" or "iConfiguration" specifies the configuration value and index. In addition, “bmAttributes” or “MaxPower” specifies the power management method and the maximum power consumption. The power management method is a method of applying power from a bus (D7), using a self-powered method (D6), or a remote. It is selected from the method D5 using a remote wakeup.

도면8은 본 발명의 일 실시 방법에 따라 USB 구동 저장정보(120)에 포함되는 인터페이스 디스크립터 요소파일(215)의 바람직한 구조를 도시한 도면이다.
8 is a diagram showing a preferred structure of the interface descriptor element file 215 included in the USB drive storage information 120 according to one embodiment of the present invention.

본 발명의 바람직한 실시 방법을 따르는 도면8을 참조하여 인터페이스 디스크립터 요소파일(215)의 구성을 간략하게 설명하면, 인터페이스 디스크립터는 엔드포인트를 기능별로 분류하여 모은 디스크립터로서 하나의 컨피규레이션 디스크립터는 적어도 하나 이상의 인터페이스 디스크립터를 가질 수 있으며 각 인터페이스 디스크립터는 컨피규레이션 디스크립터를 통해서만 정의되며, 상기 도면3의 디바이스 디스크립터 또는 도면6의 컨피규레이션 디스크립터와 마찬가지로 “bLength” 항목과 “bDescriptorType” 항목을 포함하여 이루어진다.
Briefly describing the configuration of the interface descriptor element file 215 with reference to FIG. 8 according to a preferred embodiment of the present invention, an interface descriptor is a descriptor that is classified by function of an endpoint, and one configuration descriptor includes at least one interface. It may have a descriptor, and each interface descriptor is defined only through a configuration descriptor, and includes a “bLength” item and a “bDescriptorType” item as well as the device descriptor of FIG. 3 or the configuration descriptor of FIG. 6.

상기 인터페이스 디스크립터의 “bInterfaceNumber” 항목은 디스크립터에서 확인할 수 있는 인터페이스의 수를 지정하고, “bAlternateSetting” 항목은 USB에 공개되어 있는 인터페이스 번호를 지정하고, “bNumEndpoints” 항목은 디스크립터에 사용된 엔드포인트의 수를 지정하고, “bInterfaceClass” 또는 “bIntefaceSubClass” 항목은 인터페이스 클래스 코드 또는 인터페이스 서브 클래스 코드를 지정하고, “bInterfaceProtocol” 항목은 해당 인터페이스에서 허용하는 명령 프로토콜을 지정하고, “iInterface” 항목은 인터페이스에 대해 설명하는 문자열의 인덱스를 지정한다.
The “bInterfaceNumber” item of the interface descriptor specifies the number of interfaces that can be found in the descriptor, the “bAlternateSetting” item specifies the interface number that is open to the USB, and the “bNumEndpoints” item specifies the number of endpoints used in the descriptor. , The “bInterfaceClass” or “bIntefaceSubClass” entry specifies the interface class code or interface subclass code, the “bInterfaceProtocol” entry specifies the command protocol allowed by that interface, and the “iInterface” entry describes the interface. Specifies the index of the string to do.

도면9는 본 발명의 일 실시 방법에 따라 USB 구동 저장정보(120)에 포함되는 엔드포인트 디스크립터 요소파일(220)의 바람직한 구조를 도시한 도면이다.
9 is a diagram showing a preferred structure of the endpoint descriptor element file 220 included in the USB drive storage information 120 according to one embodiment of the present invention.

본 발명의 바람직한 실시 방법을 따르는 도면8을 참조하여 엔드포인트 디스크립터 요소파일(220)의 구성을 간략하게 설명하면, 엔드포인트 디스크립터는 디바이스가 호스트(=단말)와 실제 값을 주고받는 논리 포트에 해당하는 엔드포인트에 대한 디스크립터로서, 상기 USB 기능이 구비된 IC카드(100)가 플러그 앤 플레이 방식으로 상기 단말에 자동으로 인식 및 구동되기 위해서는 최소한 하나의 엔드포인트(예컨대, 엔드포인트0 또는 ep0)를 포함해야 하며, 상기 인터페이스(105) 디스크립터와 마찬가지로 컨피규레이션 디스크립터를 통해서만 정의되며, 상기 도면3의 디바이스 디스크립터 또는 도면6의 컨피규레이션 디스크립터 또는 도면8의 인터페이스(105) 디스크립터와 마찬가지로 “bLength” 항목과 “bDescriptorType” 항목을 포함하여 이루어진다.
Briefly describing the configuration of the endpoint descriptor element file 220 with reference to FIG. 8 according to a preferred embodiment of the present invention, an endpoint descriptor corresponds to a logical port through which a device exchanges actual values with a host (= terminal). As a descriptor for an endpoint, the IC card 100 having the USB function is configured to select at least one endpoint (eg, endpoint 0 or ep0) in order to be automatically recognized and driven by the terminal in a plug and play manner. Like the interface 105 descriptor, it is defined only through a configuration descriptor. Like the device descriptor of FIG. 3 or the configuration descriptor of FIG. 6 or the interface 105 descriptor of FIG. 8, the item “bLength” and “bDescriptorType” Including the item.

상기 엔드포인트 디스크립터의 “bEndpointAddress” 항목은 엔드포인트의 주소로서 실제 주소값이 아니라 0부터 시작하는 일련번호로서 ‘비트0’부터 ‘비트3’은 엔드포인트 번호를 할당하고, ‘비트4’부터 ‘비트6’은 현재 사용하지 않고 예약(‘0’으로 설정됨)된 상태이며, ‘비트’이 ‘0’이며 “OUT”을 위한 엔드포인트이고 ‘1’이면 “IN”을 위한 엔드포인트임을 지정한다.
The “bEndpointAddress” item of the endpoint descriptor is an address of the endpoint, not a real address value, but a zero-based serial number. 'Bit 0' through 'bit 3' assign an endpoint number, and 'bit 4' through ' Bit 6 'is currently unused and reserved (set to' 0 '), where' bit 'is'0', the endpoint for “OUT”, and '1' specifies the endpoint for “IN” do.

또한, 상기 엔드포인트 디스크립터의 “bmAttributes” 항목은 해당 엔드포인트로부터 단말로 데이터를 전송하는 전송 방식으로서 ‘00’은 컨트롤(Control) 방식, ‘01’은 아이소크로노스(Isochronous) 방식, ‘10’은 벌크(Bulk) 방식 및 ‘11’은 인터럽트(Interrupt) 방식을 지정한다. 상기 전송방식 중에서 컨트롤 방식은 상기 단말에서 상기 IC카드(100)를 제어하기 위한 명령를 송수신하는 전송 방식이고, 아이소크로노스 방식은 송수신 데이터의 무결성을 보장하지 않는 대신 고속으로 데이터 송수신을 위한 전송 방식이고(본 발명에서는 아이소크로노스 전송 방식은 사용하지 않는 것이 바람직함), 벌크 방식은 송수신 데이터의 무결성을 보장하는 전송 방식이고, 인터럽트 방식은 단말 내에서 폴링(Polling)을 통해 IC카드(100)의 상태를 주기적으로 확인하기 위한 전송 방식이다. 본 발명의 바람직한 실시 방법에 따르면, USB 기능이 구비된 IC카드(100)에서는 “bmAttributes” 항목을 통해 설정되는 전송 방식은 컨트롤 방식 및/또는 벌크 방식 및/또는 인터럽트 방식 중에서 적어도 하나가 선택되는 것이 바람직하다.
In addition, the "bmAttributes" item of the endpoint descriptor is a transmission method for transmitting data from the endpoint to the terminal, '00' is a control method, '01' isochronous method, '10' is Bulk method and '11' designate the interrupt method. In the transmission method, the control method is a transmission method for transmitting and receiving a command for controlling the IC card 100 in the terminal, and the isochronos method is a transmission method for data transmission and reception at high speed instead of guaranteeing the integrity of transmission and reception data ( In the present invention, it is preferable that the isochronous transmission method is not used), the bulk method is a transmission method that guarantees the integrity of the transmission and reception data, and the interrupt method is configured to poll the state of the IC card 100 through polling in the terminal. Transmission method to check periodically. According to a preferred embodiment of the present invention, in the IC card 100 having a USB function, at least one of a control method and / or a bulk method and / or an interrupt method is selected as the transmission method set through the “bmAttributes” item. desirable.

또한, 상기 엔드포인트 디스크립터의 “wMaxPacketSize” 항목은 해당 엔드포인트가 다룰 수 있는 패킷의 최대 크기를 지정하고, “bInterval” 항목은 상기 전송 방식이 인터럽트 방식으로 설정되는 경우 폴링 간격을 지정한다.
In addition, the “wMaxPacketSize” item of the endpoint descriptor designates a maximum size of a packet that the endpoint can handle, and the “bInterval” item designates a polling interval when the transmission method is set as an interrupt method.

도면10은 본 발명의 일 실시 방법에 따라 IC카드(100)에 구비된 USB 구동 저장정보(120)에 포함된 USB 디스크립터를 이용하여 단말에서 USB 드라이버를 생성하는 바람직한 과정을 도시한 도면이다.
10 is a view showing a preferred process for generating a USB driver in the terminal using the USB descriptor included in the USB drive storage information 120 included in the IC card 100 according to an embodiment of the present invention.

보다 상세하게 본 도면10은 직렬 범용 통신을 통해 상기 IC카드(100)에 구비된 IC칩으로 유효한 전원을 인가 및 상기 IC칩을 리셋 시키는 기능이 구비되어 있는 단말에서, 상기 IC칩에 구비된 USB 구동 저장정보(120)에 포함된 적어도 하나 이상의 USB 디스크립터(예컨대, 디바이스 디스크립터 및/또는 컨피규레이션 디스크립터 및/또는 인터페이스(105) 디스크립터 및/또는 엔드포인트 디스크립터)를 독출 및 판독하여, 상기 IC카드(100)를 자동으로 인식 및 구동하기 위한 상기 IC카드(100)용 USB 드라이버를 생성하는 바람직한 과정에 대한 것이다.
In more detail, FIG. 10 illustrates a USB provided to the IC chip in a terminal having a function of applying effective power to the IC chip included in the IC card 100 and resetting the IC chip through serial universal communication. Read and read at least one or more USB descriptors (eg, device descriptors and / or configuration descriptors and / or interface 105 descriptors and / or endpoint descriptors) included in the driving storage information 120 to read the IC card 100. ) Is a preferred process for generating a USB driver for the IC card 100 to automatically recognize and drive.

도면10을 참조하면, 단말은 직렬 범용 통신을 통해 USB 기능이 구비된 IC카드(100)의 IC칩으로 유효한 전원(예컨대, 클래스 A의 5V 또는 클래스 B의 3V)을 인가하고, 상기 IC칩으로부터 유효한 ATR일 리턴되는지 확인한다(1000).
Referring to FIG. 10, the terminal applies a valid power supply (for example, 5V of class A or 3V of class B) to the IC chip of the IC card 100 equipped with the USB function through serial universal communication, and from the IC chip. Check whether a valid ATR is returned (1000).

본 발명의 바람직한 실시 방법에 따르면, 상기 IC칩으로부터 리턴되는 ATR에는 상기 IC칩에 상기 USB 기능이 구비(예컨대, USB 구동 저장정보(120)가 저장)되어 있는지 판독할 수 있는 소정의 정보가 포함되어 있는 것이 바람직하며, 및/또는 상기 ATR 신호가 상기 단말에서 플러그 앤 플레이 기능을 활성화시키는 소정의 신호 패턴을 포함하여 이루어지는 것이 바람직하다.
According to a preferred embodiment of the present invention, the ATR returned from the IC chip includes predetermined information for reading whether the IC chip has the USB function (for example, the USB drive storage information 120 is stored). And / or the ATR signal preferably comprises a predetermined signal pattern for activating a plug and play function at the terminal.

만약 상기 IC칩으로부터 USB를 통해 유효한 ATR이 리턴된다면(1005), 상기 단말은 상기 리턴되는 ATR을 분석하여 상기 IC칩에 소정의 USB 구동 저장정보(120)가 포함되어 있는지 판단한다(1010).
If a valid ATR is returned from the IC chip through USB (1005), the terminal analyzes the returned ATR to determine whether the IC chip includes predetermined USB drive storage information 120 (1010).

만약 상기 ATR에 분석결과 상기 IC칩에 소정의 USB 구동 저장정보(120)가 포함되어 있다면(1015), 상기 단말은 직렬 범용 통신을 통해 상기 IC칩으로 USB 구동 저장정보(120)에 포함되어 있는 적어도 하나 이상의 USB 디스크립터(예컨대, 디바이스 디스크립터 및/또는 컨피규레이션 디스크립터 및/또는 인터페이스 디스크립터 및/또는 엔드포인트 디스크립터)를 순차적으로 요청하고(1020), 상기 IC칩은 상기 요청에 대응하는 해당 USB 디스크립터를 순차적으로 독출하여 상기 USB를 통해 상기 단말로 전송한다(1025).
If the analysis result in the ATR includes the predetermined USB drive storage information 120 in the IC chip (1015), the terminal is included in the USB drive storage information 120 to the IC chip through serial universal communication. Request (1020) at least one or more USB descriptors (e.g., device descriptors and / or configuration descriptors and / or interface descriptors and / or endpoint descriptors) sequentially, and the IC chip sequentially requests corresponding USB descriptors corresponding to the request. The readout is transmitted to the terminal through the USB (1025).

상기와 같이 IC칩으로부터 적어도 하나 이상의 USB 디스크립터가 수신되면, 상기 단말은 상기 수신된 USB 디스크립터를 판독 및 상기 판독된 USB 디스크립터 정보를 이용하여 상기 IC카드(100)용 USB 드라이버를 생성하여 상기 단말에 구비된 저장매체에 저장하는데, 그 상세한 과정은 WDM에 따른다.
When at least one USB descriptor is received from the IC chip as described above, the terminal reads the received USB descriptor and generates a USB driver for the IC card 100 by using the read USB descriptor information. It is stored in the storage medium provided, the detailed process is in accordance with WDM.

100 : IC 카드 105 : 입출력 인터페이스
110 : 프로세서부 115 : 메모리부
120 : USB 구동 저장정보 125 : 처리부
130 : 데이터 저장부
100: IC card 105: input / output interface
110: processor unit 115: memory unit
120: USB drive storage information 125: processor
130: data storage unit

Claims (2)

신호접점(D+)와 신호접점(D-)를 구비한 입출력 인터페이스를 통해 단말과 통신하는 IC카드에 있어서,
상기 단말이 IC카드를 USB(Universal Serial Bus)장치로 인식하여 상기 IC카드와 USB통신을 처리하기 위한 USB 구동 정보를 저장하는 메모리; 및
상기 신호접점(D+)와 신호접점(D-) 중 적어도 하나를 통해 상기 USB 구동 저장정보를 상기 단말로 제공하는 애플리케이션을 실행하는 프로세서;를 구비하는 것을 특징으로 하는 IC카드.
An IC card for communicating with a terminal through an input / output interface having a signal contact D + and a signal contact D-,
A memory in which the terminal recognizes the IC card as a universal serial bus (USB) device and stores USB drive information for processing USB communication with the IC card; And
And a processor for executing an application for providing the USB drive storage information to the terminal through at least one of the signal contact (D +) and the signal contact (D-).
제 1항에 있어서, 상기 입출력 인터페이스는,
리셋신호에 의해 신호접점(D+)와 신호접점(D-) 중 적어도 하나를 통해 플러그 앤 플레이(Plug and Play; PnP) 신호를 상기 단말로 출력하는 것을 특징으로 하는 IC카드.
The method of claim 1, wherein the input and output interface,
And a plug and play (PnP) signal to the terminal through at least one of a signal contact (D +) and a signal contact (D−) by a reset signal.
KR1020110124085A 2011-11-25 2011-11-25 Ic card KR20120001714A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020110124085A KR20120001714A (en) 2011-11-25 2011-11-25 Ic card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020110124085A KR20120001714A (en) 2011-11-25 2011-11-25 Ic card

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020040079372A Division KR20060030562A (en) 2004-10-06 2004-10-06 Ic card with usb(universal serial bus) operating information

Publications (1)

Publication Number Publication Date
KR20120001714A true KR20120001714A (en) 2012-01-04

Family

ID=45609313

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020110124085A KR20120001714A (en) 2011-11-25 2011-11-25 Ic card

Country Status (1)

Country Link
KR (1) KR20120001714A (en)

Similar Documents

Publication Publication Date Title
EP1840788B1 (en) System and method for sensing biometric and non-biometric smart card devices
US8255930B2 (en) Method and system for dynamically switching between different device configurations
EP1643372B1 (en) USB device with secondary USB on-the-go function
EP1473664B1 (en) Smart card device as mass storage device
US20060255158A1 (en) Security card apparatus
US20120042103A1 (en) Smart card with self-detachment features and related methods
JP2003091704A (en) Storage unit with non-volatile memory and information processing device with freely detachable storage unit
US20050236491A1 (en) Smart card providing data mapping for multiple applications and related methods
CN100447700C (en) Multi-function portable device for electronic processors
US7904607B2 (en) Smart card with self-reconfiguration features and related methods
KR100426302B1 (en) Smart card included an usb interface function
KR20120001714A (en) Ic card
US8276188B2 (en) Systems and methods for managing storage devices
KR20060030562A (en) Ic card with usb(universal serial bus) operating information
CN100555938C (en) A kind of intelligent cipher key equipment and with the mutual method of host information
WO2002005203A1 (en) Ic card terminal device
KR101070295B1 (en) Devices
KR20110062621A (en) Openmarket contents download system using storage apparatus of smartcard and contents download offer method thereby
KR101070299B1 (en) Method for Processing Information
WO2006085300A2 (en) A security card apparatus
US20030149877A1 (en) Smart card with keypro function
Fort Smart card application development using Java Card Technology
KR20050114520A (en) Online and offline-usable prepaid usb token by using dual interface chip[is0 7816, 14443]
JP2005346378A (en) Secure device
Hansmann et al. What Makes the Smart Card “Smart”?

Legal Events

Date Code Title Description
A107 Divisional application of patent
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
AMND Amendment
J201 Request for trial against refusal decision
E902 Notification of reason for refusal
B601 Maintenance of original decision after re-examination before a trial
J301 Trial decision

Free format text: TRIAL DECISION FOR APPEAL AGAINST DECISION TO DECLINE REFUSAL REQUESTED 20121002

Effective date: 20140103