KR20090041790A - Method and apparatus for providing simultaneously plural application interfaces in smart card - Google Patents

Method and apparatus for providing simultaneously plural application interfaces in smart card Download PDF

Info

Publication number
KR20090041790A
KR20090041790A KR1020070107460A KR20070107460A KR20090041790A KR 20090041790 A KR20090041790 A KR 20090041790A KR 1020070107460 A KR1020070107460 A KR 1020070107460A KR 20070107460 A KR20070107460 A KR 20070107460A KR 20090041790 A KR20090041790 A KR 20090041790A
Authority
KR
South Korea
Prior art keywords
application
identification code
smart card
proximity communication
apdu
Prior art date
Application number
KR1020070107460A
Other languages
Korean (ko)
Other versions
KR100926364B1 (en
Inventor
나준채
김경태
Original Assignee
주식회사 케이티프리텔
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 케이티프리텔 filed Critical 주식회사 케이티프리텔
Priority to KR1020070107460A priority Critical patent/KR100926364B1/en
Publication of KR20090041790A publication Critical patent/KR20090041790A/en
Application granted granted Critical
Publication of KR100926364B1 publication Critical patent/KR100926364B1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B42BOOKBINDING; ALBUMS; FILES; SPECIAL PRINTED MATTER
    • B42DBOOKS; BOOK COVERS; LOOSE LEAVES; PRINTED MATTER CHARACTERISED BY IDENTIFICATION OR SECURITY FEATURES; PRINTED MATTER OF SPECIAL FORMAT OR STYLE NOT OTHERWISE PROVIDED FOR; DEVICES FOR USE THEREWITH AND NOT OTHERWISE PROVIDED FOR; MOVABLE-STRIP WRITING OR READING APPARATUS
    • B42D25/00Information-bearing cards or sheet-like structures characterised by identification or security features; Manufacture thereof
    • B42D25/30Identification or security features, e.g. for preventing forgery
    • B42D25/305Associated digital information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0003Automatic card files incorporating selecting, conveying and possibly reading and/or writing operations
    • G06K17/0012Automatic card files incorporating selecting, conveying and possibly reading and/or writing operations with more than one selection steps, e.g. selection of a record carrier from a selected compartment of a compartmented storage
    • 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/07749Constructional details, e.g. mounting of circuits in the carrier the record carrier being capable of non-contact communication, e.g. constructional details of the antenna of a non-contact smart card
    • 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/0004Hybrid readers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10237Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves the reader and the record carrier being capable of selectively switching between reader and record carrier appearance, e.g. in near field communication [NFC] devices where the NFC device may function as an RFID reader or as an RFID tag
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F7/00Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus
    • G07F7/08Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means
    • G07F7/10Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means together with a coded signal, e.g. in the form of personal identification information, like personal identification number [PIN] or biometric data
    • G07F7/1008Active credit-cards provided with means to personalise their use, e.g. with PIN-introduction/comparison system

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Toxicology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Telephone Function (AREA)

Abstract

A method for offering a plurality of application interfaces at the same time in a smart card and an apparatus therefor are provided to distinguish an application interface in a card operating system by converting the application identification code of an APDU in the smart card without changing the existing near field communication module. By using the change of a driving voltage applied to a smart card, the connection of a near field communication module is determined(S610). In case the near field communication module is connected, the application identification code value of an APDU(Application Protocol Data Unit) received from the near field communication module is converted into a pre-defined application identification code value correspondingly to an RF(Radio Frequency) interface(S640). By using the converted application identification code value, an application interface type is discriminated and then the received APDU is processed(S650).

Description

스마트 카드에서의 복수의 응용 인터페이스 동시 제공 방법 및 장치{Method and Apparatus for Providing Simultaneously Plural Application Interfaces in Smart Card} Method and Apparatus for Simultaneously Providing Simultaneously Plural Application Interfaces in Smart Card

본 발명은 스마트 카드에 관한 것으로서, 좀 더 상세하게는, 하나의 스마트 카드에서 USB 인터페이스와 RF 인터페이스를 동시에 제공하는 것이 가능한 스마트 카드에서의 복수의 응용 인터페이스 제공 방법 및 그 장치에 관한 것이다. The present invention relates to a smart card, and more particularly, to a method and apparatus for providing a plurality of application interfaces in a smart card capable of simultaneously providing a USB interface and an RF interface in one smart card.

3세대 이동 통신 시장에서 스마트 카드의 사용이 기본 사양 중의 하나로 결정되면서 각 이동 통신사마다 자사의 USIM(Universal Subscriber Identity Module) 카드 사양 정의 및 USIM 카드를 이용한 서비스 개선에 대한 연구가 활발히 진행되고 있다.As the use of smart cards is one of the basic specifications in the third generation mobile telecommunications market, each mobile carrier is actively researching the definition of its Universal Subscriber Identity Module (USIM) card specification and improving service using the USIM card.

종래에는 국내 이동 통신 시장은 CDMA기술을 기반으로 하는 동기식 IS-95망을 주류를 이루었으나, 최근에는 광대역 코드 분할 다중 접속(WCDMA:Wideband Code Division Multiple Access) 방식을 근간으로 하는 UMTS(Universal Mobile Telecommunication System) 서비스가 상용화되고 있는 있는 실정이다.Conventionally, the domestic mobile communication market has been mainstream in synchronous IS-95 network based on CDMA technology, but recently, Universal Mobile Telecommunication (UMTS) based on Wideband Code Division Multiple Access (WCDMA) method. System) service is being commercialized.

특히, 최근에는 다양한 가입자의 욕구를 충족시키기 위해. 가입자 인증 카드는 오픈 플랫폼의 하나인 자바 카드로 개발되고 있으며. 개별적인 부가가치서비스들을 각각의 자바카드 애플릿으로 개발하여, 가입자의 요구에 따라 개인화(Personalized)된 부가가치서비스를 유연하게 제공할 수 있다.In particular, in recent years to meet the needs of various subscribers. Subscriber authentication cards are being developed with Java Card, one of the open platforms. Individual value-added services can be developed into each Java Card applet, providing flexibility in providing personalized value-added services according to subscribers' needs.

즉, USIM 카드는 대용량, 다기능의 스마트 카드 기능을 갖추고 있어 통신 기능, 글로벌 로밍 기능 및 신용카드, 뱅킹, 증권거래, 멤버십, 결재 등 다양한 부가 서비스 기능을 통합적으로 제공할 수 있다.In other words, the USIM card has a large capacity, multi-function smart card function, and can provide various functions such as communication function, global roaming function, and various additional service functions such as credit card, banking, stock trading, membership, and payment.

또한, 최근에는 하나의 스마트 카드에서 다양한 응용 인터페이스를 제공하기 위한 노력이 활발히 진행되고 있다.In recent years, efforts have been actively made to provide various application interfaces in one smart card.

하지만, 현재까지 하나의 스마트 카드에서USB 인터페이스와 RF 인터페이스를 동시에 지원할 수 있는 효과적인 방법이 제공되지 못하는 문제점이 있다.However, to date, there is a problem in that an effective method for simultaneously supporting a USB interface and an RF interface is not provided in one smart card.

상기와 같은 종래 기술의 문제점을 해결하기 위한 본 발명의 목적은 하나의 스마트카드에서 복수의 응용 인터페이스를 동시에 제공하는 방법 및 장치를 제공하는 것이다.An object of the present invention for solving the problems of the prior art as described above is to provide a method and apparatus for simultaneously providing a plurality of application interfaces in one smart card.

본 발명의 다른 목적은 기존 근접통신모듈의 변경 없이 스마트카드 내부적으로 APDU의 응용식별코드를 변환함으로써, 카드운용체제에서 응용 인터페이스를 식별하는 것이 가능한 스마트카드를 제공하는 것이다.Another object of the present invention is to provide a smart card capable of identifying the application interface in the card operating system by converting the application identification code of the APDU internally without changing the existing proximity communication module.

본 발명의 다른 목적들은 이하의 실시예에 대한 설명을 통해 쉽게 이해될 수 있을 것이다.Other objects of the present invention will be readily understood through the following description of the embodiments.

본 발명의 일 실시예에 따르면, 스마트 카드에서 복수의 응용 인터페이스를 동시 제공하는 방법이 개시된다.According to an embodiment of the present invention, a method for simultaneously providing a plurality of application interfaces in a smart card is disclosed.

본 발명의 일 실시예에 따른 스마트 카드에서 복수의 응용 인터페이스를 동시 제공하는 방법은 상기 스마트 카드에 인가되는 동작 전압의 변화를 이용하여 근접통신모듈의 연결 여부를 판단하는 근접통신모듈 연결 확인 단계; 상기 판단 결과, 상기 근접통신모듈이 연결된 경우, 상기 근접통신 모듈로부터 수신된 APDU(Application Protocol Data Unit)의 응용식별코드 값을 RF 인터페이스에 상응하여 미리 정의된 응용식별코드 값으로 변환하는 응용식별코드 변환 단계; 및 상기 변환된 응용식별코드를 이용하여 응용 인터페이스 타입을 식별하여 상기 수신된APDU를 처리하는 데이터 처리 단계를 포함하는 것을 특징으로 한다.A method of simultaneously providing a plurality of application interfaces in a smart card according to an embodiment of the present invention includes: determining whether to connect a proximity communication module by using a change in an operating voltage applied to the smart card; As a result of the determination, when the proximity communication module is connected, the application identification code for converting the application identification code value of the APDU (Application Protocol Data Unit) received from the proximity communication module to a predefined application identification code value corresponding to the RF interface Conversion step; And a data processing step of identifying the application interface type using the converted application identification code to process the received APDU.

본 발명의 다른 일 실시예에 따르면, 스마트 카드에서의 복수 응용 인터페이스 동시 제공 장치가 개시된다.According to another embodiment of the present invention, an apparatus for simultaneously providing a plurality of application interfaces in a smart card is disclosed.

스마트 카드에 인가되는 동작 전압의 변화에 따라 근접통신모듈의 연결을 감지하고, 상기 근접통신모듈 및 카드운용체제로부터 수신되는 APDU의 응용식별코드를 변환하는 근접통신처리부; 및A proximity communication processor for detecting a connection of a proximity communication module according to a change in an operating voltage applied to a smart card and converting an application identification code of an APDU received from the proximity communication module and a card operating system; And

상기 APDU의 응용식별코드를 이용하여 응용 인터페이스 타입을 식별하고, 해 당 응용 인터페이스를 통해 수신된 APDU를 처리하는 카드운용체체를 포함할 수 있다.An application interface type may be identified using the application identification code of the APDU, and may include a card management body for processing the APDU received through the application interface.

본 발명은 하나의 스마트카드에서 복수의 응용 인터페이스를 동시에 제공하는 방법 및 장치를 제공하는 장점이 있다.The present invention has the advantage of providing a method and apparatus for simultaneously providing a plurality of application interfaces in one smart card.

또한, 본 발명은 기존 근접통신모듈의 변경 없이 스마트카드 내부적으로 APDU의 응용식별코드를 변환함으로써, 카드운용체제에서 응용 인터페이스를 식별하는 것이 가능한 스마트카드를 제공하는 장점이 있다.In addition, the present invention has the advantage of providing a smart card capable of identifying the application interface in the card operating system by converting the application identification code of the APDU internally without changing the existing proximity communication module.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.As the invention allows for various changes and numerous embodiments, particular embodiments will be illustrated in the drawings and described in detail in the written description. However, this is not intended to limit the present invention to specific embodiments, it should be understood to include all modifications, equivalents, and substitutes included in the spirit and scope of the present invention.

제1, 제2, 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다. The terms first, second, etc. may be used to describe various components, but the components should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another. For example, without departing from the scope of the present invention, the first component may be referred to as the second component, and similarly, the second component may also be referred to as the first component.

및/또는 이라는 용어는 복수의 관련된 기재된 항목들의 조합 또는 복수의 관련된 기재된 항목들 중의 어느 항목을 포함한다. 본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. The term and / or includes a combination of a plurality of related items or any item of a plurality of related items. The terminology used herein is for the purpose of describing particular example embodiments only and is not intended to be limiting of the present invention. Singular expressions include plural expressions unless the context clearly indicates otherwise.

본 출원에서, "포함하는" 또는 "탑재된" "장착된" 등의 용어는 명세서 상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다. In this application, the terms "comprising" or "mounted" and "mounted" are intended to indicate that there is a feature, number, step, action, component, part, or combination thereof described on the specification, one Or other features or numbers, steps, operations, components, parts or combinations thereof in any way should not be excluded in advance.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art. Terms such as those defined in the commonly used dictionaries should be construed as having meanings consistent with the meanings in the context of the related art, and shall not be construed in ideal or excessively formal meanings unless expressly defined in this application. Do not.

전술한 것 외의 다른 측면, 특징, 이점이 이하의 도면, 특허청구범위 및 발명의 상세한 설명으로부터 명확해질 것이다.Other aspects, features, and advantages other than those described above will become apparent from the following drawings, claims, and detailed description of the invention.

이하에서, 본 발명에 따른 스마트 카드에서의 복수의 응용 인터페이스 동시 제공 방법 및 장치에 관한 바람직한 실시예를 도면을 참조하여 상세하게 설명하기로 한다.Hereinafter, a preferred embodiment of a method and apparatus for simultaneously providing a plurality of application interfaces in a smart card according to the present invention will be described in detail with reference to the drawings.

도 1은 종래 기술에 따른 터미널과 스마트카드사이의 통신 메커니즘을 설명하기 위한 도면이다.1 is a view for explaining the communication mechanism between the terminal and the smart card according to the prior art.

도 1에 도시된 바와 같이, 종래 기술에 따른 터미널과 스마트 카드 사이의 통신은 ISO 7816 표준에 정의된 구문을 이용한 요구/응답 형태의 반이중 모드(Half duplex mode) 통신 방식을 따른다. 일반적으로, ISO 7816 표준에 정의된 전송 방식은 시리얼(Serial) 양방향 전송 라인을 사용한 저속-예를 들면, 9.6kbps-의 데이터 통신을 지원한다.As shown in Fig. 1, communication between a terminal and a smart card according to the prior art follows a half duplex mode communication method in the form of request / response using a syntax defined in the ISO 7816 standard. In general, the transmission scheme defined in the ISO 7816 standard supports low-speed data communication, eg, 9.6 kbps, using serial bidirectional transmission lines.

ISO 7816 표준에서는 2가지 전송 프로토콜을 제공한다.The ISO 7816 standard provides two transport protocols.

그 중 하나인 T=0 프로토콜은 ISO 7816에서 초기부터 사용된 전송 프로토콜로서 비동기 반이중 바이트 전송 방식을 따른다. One of them, the T = 0 protocol, is a transmission protocol used in the early days of ISO 7816 and follows the asynchronous half-duplex byte transmission scheme.

나머지 T=1 프로토콜은 블록 전송 프로토콜이라고 하며 바이트 전송 프로토콜에 비해 보안성이 다소 개선될 수 있는 여지가 있다. GSM의 11.11 SIM(Subscriber Identification Module)에서 T=0 프로토콜을 채택한 이래 차세대 신용카드 EMV에서는 T=0, T=1 양 프로토콜을 채택하고 있다. The remaining T = 1 protocols are called block transfer protocols, and there is room for some improvement in security compared to byte transfer protocols. Since adopting T = 0 protocol in GSM's 11.11 Subscriber Identification Module (SIM), next-generation credit card EMVs have adopted both T = 0 and T = 1 protocols.

도 1을 참조하면, 명령(Command)는 터미널에 의해 개시되며, 스마트 카드에 내장된 카드 운용 체제(Card OS)는 터미널로부터 수신된 명령을 해석하여, 스마트 카드에 저장된 데이터의 상태를 갱신하고, 수신된 명령에 대한 응답(Respond)를 터미널에 전송한다.Referring to FIG. 1, a command is initiated by a terminal, and a card operating system (Card OS) embedded in a smart card interprets a command received from the terminal to update a state of data stored in the smart card. Sends a response to the received command to the terminal.

ISO 7816-7에서는 종래의 APDU(Application Protocol Data Unit)을 이용하여 터미널과 스마트 카드 사이에 송수신되는 명령 메시지(Command Message)와 응답 메시지를 제공한다. ISO 7816-7 provides a command message and a response message transmitted and received between a terminal and a smart card using a conventional application protocol data unit (APDU).

현재, 3GPP Release7을 목표로 제정 중인 터미널과 스마트 카드사이의 고속 통신 인터페이스는 기존 ISO 7816의 Serial 인터페이스뿐만 아니라 IC-USB 고속 통신 인터페이스, RF를 위한 SWP 인터페이스를 포함한다.Currently, the high speed communication interface between the terminal and the smart card, which is currently being targeted for 3GPP Release 7, includes the IC-USB high speed communication interface and the SWP interface for RF as well as the existing ISO 7816 serial interface.

기존의 USIM-여기서, USIM은 스마트 카드의 하나의 형태로서 일반적으로 3세대 비동기 무선접속방식인 WCDMA를 지원하는 단말에 장착되는 가입자 인증 모듈을 의미함-은 접촉식(Contact type)과 비접촉식(Contactless type)을 동시에 지원하기 위해서는 서로 다른 모뎀(Modem)을 사용하고, 각 타입 별 논리 채널(Logical)을 분리하여 서비스를 제공하였다.Conventional USIM, where USIM is a form of smart card, generally means a subscriber authentication module mounted on a terminal supporting WCDMA, which is a third-generation asynchronous wireless access method, which is a contact type and a contactless type. In order to simultaneously support different types of modems, different modems are used, and logical channels for each type are separated to provide services.

이하의 설명에서는 하나의 스마트카드에서 접촉식과 비접촉식 서비스를 모두 지원하는 스마트카드를 '하이브리드 스마트카드(Hybrid Smart Card)'라 명하기로 한다.In the following description, a smart card that supports both contact and contactless services in one smart card will be referred to as a 'hybrid smart card'.

하지만, 현재까지 하이브리드 스마트카드에서 비접촉식-즉, RF 인터페이스 방식-에 대한 처리 방법이 명확히 정해지지 않은 상태이다.However, until now, the method of handling contactless-that is, the RF interface method in a hybrid smart card has not been clearly determined.

도 2는 ISO 7816에 정의된 APDU 명령 메시지 구조이다.2 is an APDU command message structure defined in ISO 7816.

도 2에 도시된 바와 같이, APDU 명령 메시지는 크게 헤더(Header, 210)과 몸체(Body, 220)로 구성된다.As shown in FIG. 2, the APDU command message is mainly composed of a header 210 and a body 220.

헤더(410)는 클래스(Class, 211), 명령 코드(Instruction Code, 212), 파라메터(Parameter, 213)로 구성될 수 있다.The header 410 may be composed of a class 211, an instruction code 212, and a parameter 213.

여기서, 파라메터(213)는 P1(214) 및 P2(215)로 구성되며, P1(214)와 P2(215)는 명령 코드(412)의 기준 주소 정보를 가리킨다.Here, the parameter 213 is composed of P1 214 and P2 215, and P1 214 and P2 215 indicate reference address information of the command code 412.

클래스(211)는 ISO 명령어, 전용 명령어, 암호화 등의 명령어 집합을 식별하기 위한 클래스 바이트가 기록되는 영역이며, ISO 7816-4에 자세하게 서술되어 있다.Class 211 is an area in which class bytes for identifying an instruction set, such as ISO instructions, dedicated instructions, encryption, and the like, are recorded and described in detail in ISO 7816-4.

또한, 클래스(211)는 1바이트(Byte)의 길이를 가지며, 하위 2 비트(Bits)는 스마트 카드에 탑재되는 다양한 응용 프로그램을 식별하기 위한 용도로 사용될 수 있다. In addition, the class 211 has a length of 1 byte, and the lower two bits (bits) may be used for identifying various application programs mounted on a smart card.

명령 코드(212)는 클래스 필드(211)과 조합하여 명령 타입을 식별하기 위한 코드로서, 유효 명령 코드의 LSB는 항상 0이며, MSB는 6이나 9가 될 수 없다. 그 이유는 스마트카드 제조업체가 내부적으로 사용하는 값이므로 그에 따른 충돌을 피하기 위해서이다. The instruction code 212 is a code for identifying the instruction type in combination with the class field 211. The LSB of the valid instruction code is always 0, and the MSB cannot be 6 or 9. The reason is that the value is used internally by the smart card manufacturer to avoid the conflict.

몸체(220)는 가변 길이를 가지며, 명령 메시지에 포함된 데이터의 길이를 가리키는 Lc(Length of Command data, 221), 스마트 카드의 해당 주소 영역에 기록될 데이터를 가리키는 DATA(222) 및 스마트 카드로부터 수신될 응답 메시지의 크기를 지시하는 Le(Length of Expected response data, 223)으로 구성된다.The body 220 has a variable length and includes a length of command data (Lc) 221 indicating a length of data included in a command message, a data 222 indicating data to be recorded in a corresponding address area of the smart card, and a smart card. It consists of Le (Length of Expected response data, 223) indicating the size of response message to be received.

이하에서는 APDU 명령 메시지의 다양한 구조를 간단히 설명하기로 한다.Hereinafter, various structures of the APDU command message will be briefly described.

제 1구조는 전송이나 수신 데이터를 요구하지 않는 명령 메시지로서, 클래스(211), 명령 코드(212), P1(214), P2(215)로 구성된다.The first structure is a command message that does not require transmission or reception data, and is composed of a class 211, a command code 212, a P1 214, and a P2 215.

제 2구조는 터미널에서 스마트 카드로 전송할 데이터를 포함하는 명령 메시지로서. 클래스(211), 명령 코드(212), P1(214), P2(215), Lc(221), DATA(422)로 구성된다.The second structure is a command message containing data to be sent from the terminal to the smart card. Class 211, command code 212, P1 (214), P2 (215), Lc (221), DATA (422).

제 3구조는 터미널이 데이터를 스마트 카드에 전송하지 않지만, 데이터 회신 응답을 스마트 카드에 요구하는 명령 메시지로서, 클래스(211), 명령 코드(212), P1(214), P2(215), Le(223)로 구성된다.The third structure is a command message for which the terminal does not transmit data to the smart card, but requests a data reply response to the smart card. Class 211, command code 212, P1 214, P2 215, Le 223.

마지막, 제 4구조는 터미널이 데이터를 스마트 카드에 전송함과 동시에 데이터 회신 응답을 스마트 카드에 요구하는 명령 메시지로서, 클래스(211), 명령 코드(212), P1(214), P2(215), Lc(221), DATA(222), Le(223)로 구성된다.Lastly, the fourth structure is a command message for requesting a data reply response to the smart card at the same time that the terminal transmits data to the smart card. Class 211, command code 212, P1 214, P2 215 , Lc 221, DATA 222, and Le 223.

상기한 바와 같이, 클래스(211), 명령 코드(212), P1(214) 및 P2(215) 정보는 APDU 명령 메시지에 반드시 포함되어야 하는 필수 구성 요소이다.As noted above, class 211, command code 212, P1 214 and P2 215 information are essential components that must be included in the APDU command message.

도 3은 ISO 7816-2에 정의된 스마트카드 핀 할당 구조 및 기능을 설명하기 위한 도면이다.3 is a view for explaining the smart card pin assignment structure and function defined in ISO 7816-2.

도 3에 도시된 바와 같이, ISO 7816 part 2는 전기적 접촉면의 배열 및 위치를 정의하고 있다. 즉, 스마트 카드의 금속 접촉의 목적, 위치 및 전기적 특성을 정의한다. As shown in FIG. 3, ISO 7816 part 2 defines the arrangement and location of the electrical contact surfaces. That is, define the purpose, location and electrical characteristics of the metal contact of the smart card.

ISO 7816 part 2에 정의된 스마트 카드는 총 8핀(Pin)으로 구성되며, 각 핀의 배열은 도면 번호 300에 도시된 바와 같다.The smart card defined in ISO 7816 part 2 consists of 8 pins in total, and the arrangement of each pin is as shown in reference numeral 300.

이하의 설명에서는 각 핀의 기능을 상세히 설명하기로 한다.In the following description, the function of each pin will be described in detail.

C1(Vcc, 310)은 전력선을 통해 스마트 카드상의 마이크로프로세서(microprocessor) 칩에 동작 파워를 제공하는 핀이다.C1 (Vcc, 310) is a pin that provides operating power to a microprocessor chip on a smart card via a power line.

C2(RST, 320)는 소정의 리셋(reset) 라인을 통해 스마트 카드와 통신하는 장치로부터 소정의 리셋 신호를 수신하는 핀으로서, 스마트 카드상의 마이크로프로세서(microprocessor)-즉, 카드운용체제-는 C2(320)를 통해 리셋 신호를 수신하면 일련의 리셋 명령을 수행을 시작한다.C2 (RST) 320 is a pin that receives a predetermined reset signal from a device that communicates with a smart card via a predetermined reset line. The microprocessor on the smart card, i.e., the card operating system, is C2. Upon receiving the reset signal through 320, a series of reset commands is started.

C3(CLK, 330)는 클락(Clock) 신호 라인을 통해 스마트 카드의 마이크로프로세서 칩에 클락 신호를 제공하는 핀이다. 여기서, 클락 신호는 스마트 카드의 동작 속도 및 스마트 카드와 외부 인터페이스 장치-예를 들면, 이동 단말과 같은 터미널- 사이의 데이터 통신을 위한 공통 프레임워크(Framework)를 제공할 수 있다.C3 (CLK) 330 is a pin that provides a clock signal to the microprocessor chip of the smart card through the clock signal line. Here, the clock signal may provide a common framework for the communication speed of the smart card and data communication between the smart card and an external interface device such as a terminal such as a mobile terminal.

C5(GND, 310)는 외부 인터페이스 장치와 스마트카드사이의 공통 전기적 접지 기능을 제공하는 핀이다.C5 (GND, 310) is a pin that provides a common electrical grounding function between the external interface device and the smart card.

C6(Vpp, 360)는 최초 생산된 스마트 카드의 EEPROM(Electrically- Erasable Programmable Read-Only Memory)을 프로그래밍하기 위해 사용되는 프로그래밍 전력을 제공하는 핀이다.C6 (Vpp, 360) is a pin that provides the programming power used to program the EEPROM (Electrically-Erasable Programmable Read-Only Memory) of the first smart card.

특히, EEPROM 프로그래밍 전압을 제공하는 C6(360)는 초기에 많이 사용되었으나, 최근 반도체 기술의 발달에 따라 사용되지 않는 추세이다.In particular, C6 360, which provides the EEPROM programming voltage, was used a lot in the early days, but is not used due to the recent development of semiconductor technology.

C7(I/O, 370)은 스마트 카드 리더(Reader)와 스마트 카드 사이의 ISO 7816 규격 기반의 반이중(Half-duplex) 통신 채널을 제공하기 위한 입출력 핀이다.The C7 (I / O) 370 is an input / output pin for providing a half-duplex communication channel based on the ISO 7816 standard between the smart card reader and the smart card.

C4(Reserved for Future Use: RFU, 340) 및 C8(Reserved for Future Use : RFU, 380)은 미래의 사용을 위해 예약된 핀으로서, 아직 특별한 기능이 정의되지 않은 핀이다.C4 (Reserved for Future Use (RFU) 340) and C8 (Reserved for Future Use (RFU) 380) are reserved pins for future use and are pins for which no special functionality has yet been defined.

도 4는 본 발명의 일 실시예에 따른 스마트 카드의 구조이다.4 is a structure of a smart card according to an embodiment of the present invention.

좀 더 상세하게, 도 4는 기존 USIM 인터페이스와 RF 인터페이스를 동시에 지원 가능한 스마트 카드의 핀 배열을 설명하기 위한 도면이다.In more detail, FIG. 4 is a diagram for describing pin assignment of a smart card capable of simultaneously supporting an existing USIM interface and an RF interface.

도 4에 도시된 C1(410), C2(420), C3(430), C5(450) 및 C7(470)은 각각 상기한 도 3에 도시된 C1(310), C2(320), C3(330), C5(350) 및 C7(370)과 기능 및 전기적 특성이 동일하므로 본 도면의 설명에서는 해당 핀에 대한 설명을 생략하기로 한다.C1 410, C2 420, C3 430, C5 450, and C7 470 shown in FIG. 4 are respectively C1 310, C2 320, and C3 ( 330, C5 350, and C7 370 have the same function and electrical characteristics, and thus description of the corresponding pins will be omitted in the description of this drawing.

본 실시예에 따른 C4(USB+, 440) 및 C8(USB-, 480)은 IC-USB의 고속 통신 인터페이스를 제공하는 핀으로 사용될 수 있다.C4 (USB +, 440) and C8 (USB-, 480) according to the present embodiment may be used as pins for providing a high speed communication interface of IC-USB.

특히, C6(460)는 스마트 카드와 NFC 모듈(490) 사이의 전이중화(Full Duplex) 방식의 단선 프로토콜(Single Wire Protocol : SWP)을 제공하기 위한 핀으로 사용된다.In particular, the C6 460 is used as a pin for providing a full duplex single wire protocol (SWP) between the smart card and the NFC module 490.

스마트 카드(400)는 NFC 모듈(490)이 스마트 카드(400)에 장착되는 경우, C1(410)과 C5(450)을 통해 NFC 모듈(490)의 전압과 접지(Ground) 수단을 제공한다.The smart card 400 provides a voltage and ground means of the NFC module 490 through the C1 410 and the C5 450 when the NFC module 490 is mounted to the smart card 400.

일반적으로, 무선으로 스마트 카드상에 정보를 전달하는 기술로는 OTA(Over-The_Air) 방식이 사용되고 있다. 특히, OTA 기술은 무선을 통해 USIM에 신용 카드 및 교통 카드를 발급하는 용도 등으로 사용될 수 있다.In general, an over-the-air (OTA) method is used as a technology for wirelessly transmitting information on a smart card. In particular, the OTA technology may be used for issuing credit cards and transportation cards to the USIM via wireless.

반면, NFC는 기존의 13.56MHz RFID 기술을 기반으로 하여 ISO 18092에 정의된 능동형 근접 통신 방식이다. 예를 들면, NFC는 OTA를 통해 발급 받은 카드를 이용하여 결재를 하는 경우 사용되는 근접 통신 기술이다. 특히, NFC는 현재 모바일 결제에서 사용되고 있는 RF방식보다 인식 범위가 넓다는 장점을 가지고 있으며, 결제를 위해 휴대폰을 결제용 단말기에 접촉시켜야만 인식이 가능했던 종래와는 달리 옆으로 스치기만 해도 결제가 가능한 특징이 있다.본 발명에 따른 NFC 모듈(490)이 스마트 카드와 일체형으로 구성되거나, 착탈식으로 구성될 수 있음을 주의해야 한다.NFC, on the other hand, is an active proximity communication scheme defined in ISO 18092 based on existing 13.56MHz RFID technology. For example, NFC is a proximity communication technology used when making a payment using a card issued through OTA. In particular, NFC has the advantage that the recognition range is wider than the RF method currently used in mobile payments, and unlike the conventional method that can be recognized only by touching the mobile phone to the payment terminal for payment, payment is possible only by touching the side. It should be noted that the NFC module 490 according to the present invention may be configured integrally with the smart card or may be removable.

도 5는 본 발명의 일 실시예에 따른 스마트카드의 핀 배열 및 인터페이스 구조이다.5 is a pin arrangement and interface structure of a smart card according to an embodiment of the present invention.

도 5에 도시된 바와 같이, 본 발명의 일 실시예에 따른 스마트 카드는 터미널 기저대역처리부-예를 들면, 이동 통신 단말기에 구비된 모뎀(Mobile Station Modem:MSM)-로부터 동작 전압(Vcc), 리셋(Reset), 클락(Clock) 및 접지(Ground) 등의 신호를 각각 C1(541), C2(542), C3(543) 및 C5(545)를 통해 제공받는다.As shown in FIG. 5, a smart card according to an embodiment of the present invention includes an operating voltage Vcc from a terminal baseband processor, for example, a mobile station modem (MSM) provided in a mobile communication terminal. Signals such as Reset, Clock, and Ground are received through C1 541, C2 542, C3 543, and C5 545, respectively.

또한, 스마트 카드는 터미널기저대역처리부(550)와 C7(547)을 통해 ISO 7816 규격 기반의 반이중(Half-duplex) 통신 채널을 제공한다.The smart card also provides a half-duplex communication channel based on the ISO 7816 standard through the terminal baseband processor 550 and the C7 547.

본 발명에 따른 스마트 카드는 NFC모듈(530)과 C6(546)를 통해 SWP 방식의 무선 통신 인터페이스를 제공할 수 있다.The smart card according to the present invention may provide a SWP type wireless communication interface through the NFC module 530 and the C6 546.

NFC모듈(530)은 터미널기저대역처리부(550)로부터 동작에 필요한 전압 및 접지 신호를 제공받을 수 있다.The NFC module 530 may receive a voltage and a ground signal for operation from the terminal baseband processor 550.

특히, 본 발명의 일 실시예에 따라 스마트 카드에 구비되는 근접통신처리부(520)는 동작 전압의 변화-예를 들면, Vcc가 Max에서 Min으로 떨어질 때-를 통해 NFC모듈(530)이 연결되었음을 인지할 수 있다. In particular, the proximity communication processor 520 provided in the smart card according to an embodiment of the present invention is that the NFC module 530 is connected through a change in operating voltage, for example, when Vcc drops from Max to Min. It can be recognized.

이때, 근접통신처리부(520)는 NFC모듈(530)이 연결되었음을 알리는 소정의 제어 신호-예를 들면, 근접 통신 모듈 연결 이벤트-를 카드운용체제(510)에 전송하는 것이 바람직하다.In this case, the proximity communication processor 520 preferably transmits a predetermined control signal indicating that the NFC module 530 is connected, for example, a proximity communication module connection event, to the card operating system 510.

카드운용체제(510)는 근접 통신 모듈이 연결되었음을 알리는 제어 신호를 수신하는 경우에만, 근접통신처리부(520)로 처리된 APDU를 전송할 수 있다.The card operating system 510 may transmit the processed APDU to the proximity communication processor 520 only when receiving a control signal indicating that the proximity communication module is connected.

또한, 근접통신처리부(520)는 동작 전압의 변화를 통해 NFC모듈(530)의 연결이 해제되었음을 감지할 수 있으며, 감지 결과를 소정의 제어 신호-예를 들면, 근접 통신 연결 해제 이벤트-를 카드운용체제(510)에 송신할 수 있다.In addition, the proximity communication processor 520 may detect that the connection of the NFC module 530 is released through the change of the operating voltage, and detects a predetermined control signal, for example, a proximity communication disconnect event. It can transmit to the operating system (510).

상기한 도2를 참조하면, APDU의 헤더(210)는 클래스(211) 필드를 포함하며, 클래스(211) 필드의 LSB(Least Significant Bit) 2비트-이하, "응용식별코드"이라 함-는 응용 인터페이스를 구분하기 위한 용도로 사용될 수 있다. 여기서, 응용식별코드에 할당 가능한 값 중 00(0)부터 10(2)는 USB 인터페이스에서 입력되는 데이터에 대해 할당되는 값이다. Referring to FIG. 2, the header 210 of the APDU includes a class 211 field, and 2 bits of LSB (Least Significant Bit) of the class 211 field, hereinafter, referred to as an "application identification code". Can be used to identify application interfaces. Here, 00 (0) to 10 (2) of the values assignable to the application identification code are values assigned to the data input from the USB interface.

따라서, RF 인터페이스를 통해 입력되는 데이터에 대해서는 클래스(211) 필드의 응용식별코드에 11(3)을 할당함으로써, 카드운용체제(510)가 USB 인터페이스를 통해 입력되는 데이터와 RF 인터페이스를 통해 입력되는 데이터를 식별 가능하게 할 수 있다.Accordingly, by assigning 11 (3) to the application identification code of the class 211 field for data input through the RF interface, the card operating system 510 is inputted through the RF interface and the data input through the USB interface. Data can be identified.

하지만, 현재 상용화된 RF 인프라로부터 NFC모듈(530)을 통해 입력되는 클래스(211)의 응용식별코드는 USB 인터페이스를 위해 사용되는 값-예를 들면, 이진수'00' 내지 '10'-이 그대로 사용되므로, 카드운용체제(510)는 어느 응용 인터페이스를 통해 입력된 데이터인지를 식별할 수 없는 문제점이 있었다.However, the application identification code of the class 211 inputted through the NFC module 530 from a commercially available RF infrastructure is used as the value used for the USB interface, for example, binary '00' to '10'. Therefore, the card operating system 510 has a problem in that it is not possible to identify which data is input through the application interface.

상기한 문제점을 해결하기 위해, 기존 상용화된 NFC모듈(530)을 통해 입력되는 응용식별코드가 11(3)이 되도록 기존 NFC 방식을 변경할 수도 있으나, 이는 현실적으로 불가능한 문제점이 있다.In order to solve the above problems, the existing NFC method may be changed so that the application identification code input through the conventional commercialized NFC module 530 is 11 (3), but this is a practically impossible problem.

따라서, 본 발명에 일 실시예에 따른 근접통신처리부(520)는 동작 전압 변화를 통해 NFC모듈(530)의 연결을 감지한 경우, C6(546)으로부터 입력되는 APDU의 응용식별코드를 11(3)로 변환하고, 응용식별코드가 변환된 ADPU를 카드운용체제(510)에 전달할 수 있다.Therefore, when the proximity communication processor 520 according to an embodiment of the present invention detects the connection of the NFC module 530 through a change in operating voltage, the application identification code of the APDU input from the C6 546 is 11 (3). ) And the ADPU with the application identification code converted to the card operating system 510.

이때, 근접통신처리부(520)는 변환되기 이전의 해당 APUD의 응용식별코드-여기서, 응용식별코드는 00(0) 내지 10(2) 중 어느 하나임-를 소정의 기록 영역에 임시 저장하는 것이 바람직하다.At this time, the proximity communication processor 520 temporarily stores the application identification code of the corresponding APUD before conversion, wherein the application identification code is any one of 00 (0) to 10 (2) in a predetermined recording area. Do.

기존 NFC 통신 방식과의 호환성을 유지하기 위해, 본 발명의 바람직한 일 실시예에 따른 근접통신처리부(520)는 카드운용체제(510)로부터 수신된 APDU의 응용 식별코드를 임시 저장된 해당 응용식별코드로 변환하여 C6(546)를 통하여 NFC모듈(530)에 전달한다.In order to maintain compatibility with the existing NFC communication method, the proximity communication processor 520 according to an embodiment of the present invention is a temporary application stored in the application identification code of the APDU received from the card operating system 510 corresponding application identification code Transmit and transfer to the NFC module 530 through the C6 (546).

따라서, 본 발명에 따른 스마트 카드는 NFC모듈(530)에 투명하게 USB 인터페이스와 RF 인터페이스를 동시에 지원할 수 있다.Therefore, the smart card according to the present invention can simultaneously support the USB interface and the RF interface to the NFC module 530.

상기한 실시예에서는 RF 응용 인터페이스에 상응하는 응용식별코드를 이진수 '11'로 정의하여 사용하는 것으로 설명하고 있으나, 이는 하나의 실시예에 불가하며, 다른 응용 인터페이스에 상응하는 응용식별코드와 중복되지 않도록 정의될 수 있음을 주의해야 한다.In the above-described embodiment, the application identification code corresponding to the RF application interface has been described as being defined as binary '11', but this is not possible in one embodiment and is not duplicated with the application identification code corresponding to the other application interface. It should be noted that this may be defined.

도 6은 본 발명의 일 실시예에 따른 근접통신처리부에서 NFC모듈로부터 수신되는 APDU를 처리하는 절차를 도시한 순서도이다.6 is a flowchart illustrating a procedure of processing an APDU received from an NFC module in a proximity communication processor according to an embodiment of the present invention.

도 6에 도시된 바와 같이, 본 발명에 따른 근접통신처리부(520)는 NFC모듈(530)이 연결되었는지 여부를 판단한다(S610). 여기서, NFC모듈(530)의 연결 여부는 스마트 카드에 인가되는 동작 전압의 변화를 이용하여 판단할 수 있다.As shown in FIG. 6, the proximity communication processor 520 according to the present invention determines whether the NFC module 530 is connected (S610). Here, whether the NFC module 530 is connected may be determined using a change in the operating voltage applied to the smart card.

판단 결과, 만약, NFC모듈(530)이 연결된 경우, 근접통신처리부(520)는 C6(546)을 통해 NFC모듈(530)이 전송한 APDU 수신한다(S620).As a result of determination, if the NFC module 530 is connected, the proximity communication processor 520 receives the APDU transmitted by the NFC module 530 through the C6 (546) (S620).

근접통신처리부(520)는 수신된 APDU의 응용식별코드를 미리 정의된 소정의 기록 영역에 임시 저장하고(S630), 수신된 APDU의 응용식별코드를 미리 정의된 RF 인터페이스에 상응하는 응용식별코드-예를 들면, 이진수 11(3)-로 변환한다(S640).The proximity communication processor 520 temporarily stores the application identification code of the received APDU in a predetermined recording area (S630), and stores the application identification code of the received APDU corresponding to the predefined RF interface- For example, binary 11 (3)-is converted (S640).

근접통신처리부(520)는 변환된 APDU를 카드운용체제(510)에 전송한다(650).The proximity communication processor 520 transmits the converted APDU to the card operating system 510 (650).

본 발명의 다른 일 실시예에 따르면, 상기한 610 단계와 620 단계 사이에서, 근접통신처리부(520)는 NFC모듈(530)이 연결되었음을 지시하는 근접 통신 연결 이벤트 신호를 카드운용체제(510)에 송신할 수도 있다.According to another exemplary embodiment of the present invention, between steps 610 and 620, the proximity communication processor 520 sends a proximity communication connection event signal indicating that the NFC module 530 is connected to the card operating system 510. You can also send.

도 7은 본 발명의 일 실시예에 따른 근접통신처리부에서 카드운용체제로부터 수신되는 APDU를 처리하는 절차를 도시한 순서도이다.7 is a flowchart illustrating a procedure of processing an APDU received from a card operating system in a proximity communication processor according to an embodiment of the present invention.

도 7에 도시된 바와 같이, 근접통신처리부(520)는 카드운용체제(510)에 의해 처리된 APDU를 수신하면(S710), 수신된 APDU의 응용식별코드-여기서, 응용식별코드의 값은 이진수 11(3)으로 설정되어 있음-를 상기한 도6의 630 단계에서 임시 저장된 응용식별코드로 변환한다(S720).As shown in FIG. 7, when the proximity communication processor 520 receives the APDU processed by the card operating system 510 (S710), the application identification code of the received APDU, where the value of the application identification code is a binary number. 11 (3) is converted into an application identification code temporarily stored in step 630 of FIG. 6 (S720).

근접통신처리부(520)는 변환된 APDU를 C6(546)를 통해 NFC모듈(530)에 전송한다(S730).The proximity communication processor 520 transmits the converted APDU to the NFC module 530 through the C6 546 (S730).

상기한 본 발명의 바람직한 실시예는 예시의 목적을 위해 개시된 것이고, 본 발명에 대해 통상의 지식을 가진 당업자라면 본 발명의 사상과 범위 안에서 다양한 수정, 변경, 부가가 가능할 것이며, 이러한 수정, 변경 및 부가는 하기의 특허청구범위에 속하는 것으로 보아야 할 것이다.Preferred embodiments of the present invention described above are disclosed for purposes of illustration, and those skilled in the art will be able to make various modifications, changes, and additions within the spirit and scope of the present invention. Additions should be considered to be within the scope of the following claims.

도 1은 종래 기술에 따른 터미널과 스마트카드사이의 통신 메커니즘을 설명하기 위한 도면.1 is a view for explaining the communication mechanism between the terminal and the smart card according to the prior art.

도 2는 ISO 7816에 정의된 APDU 명령 메시지 구조.2 is an APDU command message structure defined in ISO 7816.

도 3은 ISO 7816-2에 정의된 스마트카드 핀 할당 구조 및 기능을 설명하기 위한 도면.3 is a view for explaining the smart card pin assignment structure and function defined in ISO 7816-2.

도 4는 본 발명의 일 실시예에 따른 스마트 카드의 구조.4 is a structure of a smart card according to an embodiment of the present invention.

도 5는 본 발명의 일 실시예에 따른 스마트카드의 핀 배열 및 인터페이스 구조.5 is a pin arrangement and interface structure of a smart card according to an embodiment of the present invention.

도 6은 본 발명의 일 실시예에 따른 근접통신처리부에서 NFC모듈로부터 수신되는 APDU를 처리하는 절차를 도시한 순서도.6 is a flowchart illustrating a procedure of processing an APDU received from an NFC module in a proximity communication processor according to an embodiment of the present invention.

도 7은 본 발명의 일 실시예에 따른 근접통신처리부에서 카드운용체제로부터 수신되는 APDU를 처리하는 절차를 도시한 순서도.7 is a flowchart illustrating a procedure of processing an APDU received from a card operating system in a proximity communication processor according to an embodiment of the present invention.

*주요 도면 부호* Key Drawing

210 : 헤더(Header)210: header

211 : 클래스 필드211: class field

510 : 카드운용체제510: Card operation system

520 : 근접통신처리부520: proximity communication processing unit

530 : NFC모듈530: NFC module

541:C1(VCC)541 C1 (VCC)

546: C6546: C6

550:터미널 기저대역처리부550: terminal baseband processing unit

560 : USB모듈560 USB module

Claims (15)

스마트 카드에서 복수의 응용 인터페이스를 동시 제공하는 방법에 있어서,In the method of simultaneously providing a plurality of application interfaces in the smart card, 상기 스마트 카드에 인가되는 동작 전압의 변화를 이용하여 근접통신모듈의 연결 여부를 판단하는 근접통신모듈 연결 확인 단계;A proximity communication module connection checking step of determining whether a proximity communication module is connected by using a change in an operating voltage applied to the smart card; 상기 판단 결과, 상기 근접통신모듈이 연결된 경우, 상기 근접통신 모듈로부터 수신된 APDU(Application Protocol Data Unit)의 응용식별코드 값을 RF 인터페이스에 상응하여 미리 정의된 응용식별코드 값으로 변환하는 응용식별코드 변환 단계; 및As a result of the determination, when the proximity communication module is connected, the application identification code for converting the application identification code value of the APDU (Application Protocol Data Unit) received from the proximity communication module to a predefined application identification code value corresponding to the RF interface Conversion step; And 상기 변환된 응용식별코드를 이용하여 응용 인터페이스 타입을 식별하여 상기 수신된APDU를 처리하는 데이터 처리 단계A data processing step of identifying the application interface type using the converted application identification code and processing the received APDU; 를 포함하는 스마트 카드에서의 복수 응용 인터페이스 동시 제공 방법.Simultaneously providing a plurality of application interfaces in the smart card comprising a. 제1항에 있어서,The method of claim 1, 상기 변환되기 이전의 응용식별코드 값을 임시 저장하는 단계를 더 포함하는 것을 특징으로 하는 스마트 카드에서의 복수 응용 인터페이스 동시 제공 방법..And temporarily storing the application identification code value before the conversion. 제2항에 있어서,The method of claim 2, 상기 스마트 카드 내부적으로 생성된APDU의 응용식별코드 값이 상기 임시 저장된 응용식별코드의 값으로 변환되어 상기 근접통신모듈에 전송되는 것을 특징으로 하는 스마트 카드에서의 복수 응용 인터페이스 동시 제공 방법.The application identification code value of the APDU generated internally in the smart card is converted into the value of the temporarily stored application identification code and transmitted to the proximity communication module, the method of providing multiple application interfaces at the same time. 제1항에 있어서,The method of claim 1, 상기 응용식별코드는 상기 APDU의 헤더에 정의된 클래스 바이트의 LSB(Least Significant Bit) 2비트인 것을 특징으로 하는 스마트 카드에서의 복수 응용 인터페이스 동시 제공 방법.The application identification code is a method of providing multiple application interfaces in a smart card, characterized in that the LSB (Least Significant Bit) 2 bits of the class byte defined in the header of the APDU. 제4항에 있어서,The method of claim 4, wherein 상기 RF 인터페이스에 상응하여 미리 정의된 응용식별코드의 값은 다른 응용 인터페이스에 상응하는 응용식별코드와 중복됨이 없이 정의되는 것을 특징으로 하는 스마트 카드에서의 복수 응용 인터페이스 동시 제공 방법.And a value of a predefined application identification code corresponding to the RF interface is defined without overlapping with an application identification code corresponding to another application interface. 제1항에 있어서,The method of claim 1, 상기 스마트 카드에 구비된 8개의 접촉 핀 중 C6를 통해 상기 근접통신모듈로의 통신 인터페이스를 제공하는 스마트 카드에서의 복수 응용 인터페이스 동시 제공 방법.Method of simultaneously providing a plurality of application interfaces in the smart card to provide a communication interface to the proximity communication module through the C6 of the eight contact pins provided in the smart card. 제1항에 있어서,The method of claim 1, 상기 응용 인터페이스 타입은 USB 인터페이스 및 RF 인터페이스를 포함하는 것을 특징으로 하는 스마트 카드에서의 복수 응용 인터페이스 동시 제공 방법.And the application interface type comprises a USB interface and an RF interface. 제1항에 있어서,The method of claim 1, 상기 동작 전압이 미리 정의된 최대 값에서 최소 값으로 떨어지는 경우, 상기 근접통신모듈이 상기 스마트카드에 연결된 것으로 판단하는 것을 특징으로 하는 스마트 카드에서의 복수 응용 인터페이스 동시 제공 방법.And determining that the proximity communication module is connected to the smart card when the operating voltage falls from a predefined maximum value to a minimum value. 스마트 카드에 인가되는 동작 전압의 변화에 따라 근접통신모듈의 연결을 감지하고, 상기 근접통신모듈 및 카드운용체제로부터 수신되는 APDU의 응용식별코드를 변환하는 근접통신처리부; 및A proximity communication processor for detecting a connection of a proximity communication module according to a change in an operating voltage applied to a smart card and converting an application identification code of an APDU received from the proximity communication module and a card operating system; And 상기 APDU의 응용식별코드를 이용하여 응용 인터페이스 타입을 식별하고, 해당 응용 인터페이스를 통해 수신된 APDU를 처리하는 카드운용체체Card management system that identifies the application interface type by using the application identification code of the APDU, and processes the APDU received through the application interface 를 포함하는 스마트 카드에서의 복수 응용 인터페이스 동시 제공 장치. Apparatus for providing multiple application interfaces simultaneously in a smart card comprising a. 제9항에 있어서,The method of claim 9, 상기 근접통신처리부는 상기 근접통신모듈이 연결된 경우, 상기 근접통신모듈로부터 수신된 APDU(Application Protocol Data Unit)의 응용식별코드 값을 RF 인터페이스에 상응하여 미리 정의된 응용식별코드 값으로 변환하고. 상기 변환된 APDU를 상기 카드운용체제에 전송하는 것을 특징으로 하는 스마트 카드에서의 복수 응용 인터페이스 동시 제공 장치. When the proximity communication module is connected, the proximity communication processor converts the application identification code value of the APDU (Application Protocol Data Unit) received from the proximity communication module into a predefined application identification code value corresponding to the RF interface. Apparatus for providing a plurality of application interfaces at the same time, characterized in that for transmitting the converted APDU to the card operating system. 제10항에 있어서,The method of claim 10, 상기 근접통신처리부는 상기 근접통신모듈로부터 수신된 APDU의 응용식별코드 값을 임시 저장하고, 상기 카드운용체제로부터 수신된 APDU의 응용식별코드 값을 상기 임시 저장된 응용식별코드 값으로 변환하여 상기 근접통신모듈에 전송하는 것을 특징으로 하는 스마트 카드에서의 복수 응용 인터페이스 동시 제공 장치. The proximity communication processor temporarily stores the application identification code value of the APDU received from the proximity communication module, converts the application identification code value of the APDU received from the card operating system into the temporary stored application identification code value, and performs the proximity communication. Apparatus for providing multiple application interfaces simultaneously in a smart card, characterized in that the transmission to the module. 제10항에 있어서,The method of claim 10, 상기 응용식별코드는 상기 APDU의 헤더에 정의된 클래스 바이트의 LSB(Least Significant Bit) 2비트인 것을 특징으로 하는 스마트 카드에서의 복수 응용 인터 페이스 제공 장치. The application identification code is a plurality of application interface providing apparatus in a smart card, characterized in that the LSB (Least Significant Bit) 2 bits of the class byte defined in the header of the APDU. 제12항에 있어서,The method of claim 12, 상기 RF 인터페이스에 상응하여 미리 정의된 응용식별코드의 값은 다른 응용 인터페이스에 상응하는 응용식별코드와 중복됨이 없이 정의되는 것을 특징으로 하는 스마트 카드에서의 복수 응용 인터페이스 동시 제공 장치. Apparatus for providing multiple application interfaces in a smart card, characterized in that the value of the application identification code predefined in accordance with the RF interface is defined without overlapping with the application identification code corresponding to the other application interface. 제9항에 있어서,The method of claim 9, 상기 근접통신처리부는 상기 동작 전압이 미리 정의된 최대 값에서 최소 값으로 떨어지는 경우, 상기 근접통신모듈이 상기 스마트카드에 연결된 것으로 판단하는 것을 특징으로 하는 스마트 카드에서의 복수 응용 인터페이스 동시 제공 장치.And the proximity communication processor determines that the proximity communication module is connected to the smart card when the operation voltage falls from a predefined maximum value to a minimum value. 제9항에 있어서,The method of claim 9, 상기 근접통신처리부는 상기 근접통신모듈의 연결 및 해제에 따른 소정의 제어 신호를 생성하여 상기 카드운용체제에 송신하는 것을 특징으로 하는 스마트 카드에서의 복수 응용 인터페이스 동시 제공 장치. And the proximity communication processor generates a predetermined control signal according to the connection and disconnection of the proximity communication module and transmits the predetermined control signal to the card operating system.
KR1020070107460A 2007-10-24 2007-10-24 Method and Apparatus for Providing Simultaneously Plural Application Interfaces in Smart Card KR100926364B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020070107460A KR100926364B1 (en) 2007-10-24 2007-10-24 Method and Apparatus for Providing Simultaneously Plural Application Interfaces in Smart Card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070107460A KR100926364B1 (en) 2007-10-24 2007-10-24 Method and Apparatus for Providing Simultaneously Plural Application Interfaces in Smart Card

Publications (2)

Publication Number Publication Date
KR20090041790A true KR20090041790A (en) 2009-04-29
KR100926364B1 KR100926364B1 (en) 2009-11-10

Family

ID=40764755

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070107460A KR100926364B1 (en) 2007-10-24 2007-10-24 Method and Apparatus for Providing Simultaneously Plural Application Interfaces in Smart Card

Country Status (1)

Country Link
KR (1) KR100926364B1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100426302B1 (en) * 2001-08-27 2004-04-08 한국전자통신연구원 Smart card included an usb interface function
JP4240990B2 (en) 2002-10-16 2009-03-18 大日本印刷株式会社 IC module circuit board
KR100489783B1 (en) * 2003-03-06 2005-05-16 송대석 Smart-card and the management method for optional applet
JP2006172271A (en) 2004-12-17 2006-06-29 Dainippon Printing Co Ltd Multi-application ic card, and program for ic card

Also Published As

Publication number Publication date
KR100926364B1 (en) 2009-11-10

Similar Documents

Publication Publication Date Title
US9420409B2 (en) Near field communication device
EP1536573B1 (en) Mobile terminal having smart card coupled with RFID tag and method for performing RFID function in such mobile terminal
JP5123857B2 (en) NFC reader with passive mode of operation with low power consumption
US8811896B2 (en) Non-volatile memory for contactless systems
JP4891253B2 (en) Shared IC card and wireless transceiver module for mobile communication equipment
EP1522955B1 (en) Mobile terminal circuit including an RFID tag and wireless identification method using the same
US8060673B2 (en) Smart card read/write control method based on USB interface and reader/writer thereof
US8606943B2 (en) Method for processing application commands from physical channels using a portable electronic device and corresponding device and system
US7337966B2 (en) Transmission interface
EP1528768A2 (en) Mobile communication terminal with RFID function and RFID programming method in the same
US20080076475A1 (en) Memory card and system including the same
CN101009505A (en) External device for mobile communication terminal and near field communication method using the same
JP6516133B2 (en) Communication device and communication system
KR20120011974A (en) Smart card supporting pluarlity of interfaces and interfacing method thereof
KR101081944B1 (en) Data communication method of mobile phone-smart card
US10931331B2 (en) Communication device and method
WO2010133469A1 (en) Device for conventional smart card allowing an electronic transaction through a network
EP1675418B1 (en) Method and apparatus for control of data synchronization between a user equipment and a user authentication card
KR100926364B1 (en) Method and Apparatus for Providing Simultaneously Plural Application Interfaces in Smart Card
KR100926369B1 (en) Method for using smart card
KR20110125758A (en) Data storing device for near field communication
CN101582112A (en) Smart card conversion device and use method thereof
KR100974663B1 (en) Slot device connecting mobile phone for operating smart card and method thereof
KR20090050749A (en) Communication module and method for smart card application service using it
KR20190075284A (en) Add-on SIM card for mobile communication device with it

Legal Events

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

Payment date: 20121101

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20131101

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20171101

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20181031

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20190903

Year of fee payment: 11