KR101407272B1 - Smart card, mobile communication terminal using the same and method for channel setting thereof - Google Patents
Smart card, mobile communication terminal using the same and method for channel setting thereof Download PDFInfo
- Publication number
- KR101407272B1 KR101407272B1 KR1020080013923A KR20080013923A KR101407272B1 KR 101407272 B1 KR101407272 B1 KR 101407272B1 KR 1020080013923 A KR1020080013923 A KR 1020080013923A KR 20080013923 A KR20080013923 A KR 20080013923A KR 101407272 B1 KR101407272 B1 KR 101407272B1
- Authority
- KR
- South Korea
- Prior art keywords
- channel
- smart card
- unit
- request
- channels
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
- H04M1/72502—Cordless telephones with one base station connected to a single line
- H04M1/72505—Radio link set-up procedures
- H04M1/72508—Radio link set-up procedures using a control channel
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/66—Substation equipment, e.g. for use by subscribers with means for preventing unauthorised or fraudulent calling
- H04M1/667—Preventing unauthorised calls from a telephone set
- H04M1/67—Preventing unauthorised calls from a telephone set by electronic means
- H04M1/675—Preventing unauthorised calls from a telephone set by electronic means the user being required to insert a coded card, e.g. a smart card carrying an integrated circuit chip
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
- H04M1/72502—Cordless telephones with one base station connected to a single line
- H04M1/72505—Radio link set-up procedures
- H04M1/72511—Searching for available channels
Abstract
스마트 카드의 채널 리소스를 효율적으로 운용할 수 있는 이동 통신 단말기 및 그의 채널 설정 방법이 제공된다. 이동 통신 단말기는, 채널 설정 요청에 대해 채널을 할당 받으며, 할당된 채널을 통해 데이터 통신 프로세스를 수행한 후, 채널 해제 요청을 생성하는 단말 본체부, 및 채널 설정 요청에 응답하여 채널을 할당하고, 채널 해제 요청에 응답하여 할당된 채널을 해제하되, 채널 리소스의 부족 시 구비된 복수의 채널 중 가장 먼저 설정된 채널을 해제한 후, 해제된 채널을 새로 할당하는 스마트 카드부를 포함한다. 이동 통신 단말기의 채널 설정 방법은, 스마트 카드부가 채널 설정 요청에 응답하여 채널을 할당하되, 채널 리소스 부족 시 제공 가능한 복수의 채널 중 가장 먼저 설정된 채널을 해제한 후 해제된 채널을 새로 할당하는 단계, 할당된 채널을 통해 데이터 통신 프로세스가 이루어지는 단계, 스마트 카드부가 채널 해제 요청을 수신하는 단계, 및 스마트 카드가 채널 해제 요청에 상응하여 할당된 채널을 해제하는 단계를 포함한다.A mobile communication terminal capable of efficiently operating a channel resource of a smart card and a channel setting method thereof are provided. The mobile communication terminal includes a terminal body unit for receiving a channel setting request and performing a data communication process through the assigned channel and then generating a channel release request, And a smart card unit for releasing the allocated channel in response to the channel release request, releasing the first set channel among a plurality of channels provided when the channel resource is insufficient, and allocating a newly released channel. A method of setting a channel of a mobile communication terminal, the method comprising: allocating a channel in response to a smart card additional channel setting request, releasing a first set channel among a plurality of channels that can be provided when channel resources are insufficient, A data communication process is performed over the assigned channel, a smart card portion receives the channel release request, and the smart card releases the allocated channel corresponding to the channel release request.
이동 통신 단말기, 스마트 카드, 채널 리소스 Mobile communication terminal, smart card, channel resource
Description
본 발명은 스마트 카드, 이를 탑재한 이동 통신 단말기 및 그의 채널 설정 방법에 관한 것으로, 더욱 상세하게는, 채널 리소스를 효율적으로 운용할 수 있고, 채널 리소스의 확보를 통해 스마트 카드 상에 구축된 응용 애플릿의 올바른 동작을 보장할 수 있도록 하는 스마트 카드, 이를 탑재한 이동 통신 단말기 및 그의 채널 설정 방법에 관한 것이다.The present invention relates to a smart card, a mobile communication terminal equipped with the smart card, and a channel setting method thereof. More particularly, the present invention relates to a smart card, an application applet A mobile communication terminal equipped with the smart card, and a channel setting method thereof.
이동 통신 단말기는 1세대 아날로그 서비스를 시작으로 2세대, 2.5세대를 거쳐 SIM(Subscriber Identity Module), UIM(User Identity Module), USIM(Universal Subscriber Identity Module)과 같은 스마트 카드와 이동 통신 단말기가 결합한 형태의 3세대 서비스로 발전해 왔다.The mobile communication terminal is a type of a combination of a smart card and a mobile communication terminal such as a SIM (Subscriber Identity Module), a UIM (User Identity Module), and a USIM (Universal Subscriber Identity Module) Has been developed as a third-generation service.
전술한 바와 같이, SIM, UIM, USIM과 같은 스마트 카드는 사용자의 인증을 목적으로 이동 통신 단말기 사용자의 개인 정보(통신 사업자와 사용자 패스워드, 로밍 정보, 사용자의 개인 전화 번호 등)를 저장하는 모듈로서, 휴대가 간편하여 단말기 종류나 통신 사업자에 구애받지 않고 국제 로밍을 포함한 이동 전화와 전자 상거래 서비스를 활용할 수 있게 한다.As described above, a smart card such as a SIM, a UIM, and a USIM is a module for storing personal information of a user of the mobile communication terminal (such as a communication provider, a user password, roaming information, and a user's personal phone number) , Which makes it possible to utilize mobile phones and e-commerce services including international roaming regardless of the type of terminal or communication service provider.
또한, 스마트 카드는 강력한 보안 기능으로 이동 통신 단말기를 분실하거나 교체하였을 경우 개인 정보의 보호가 가능할 뿐만 아니라, 보안 등이 요구되는 지불 및 인증 기능을 제공함으로써 컨텐츠 유료 서비스의 구매 등 그 활용 범위가 매우 넓다.In addition, the smart card can protect personal information when the mobile communication terminal is lost or replaced due to a strong security function, and the payment and authentication function requiring security is provided, wide.
이동 통신 단말기에 탑재될 수 있는 스마트 카드의 일예로서, USIM 카드를 설명하면 다음과 같다.As an example of a smart card that can be installed in a mobile communication terminal, a USIM card will be described as follows.
USIM 카드는 스마트 카드의 일종으로 WCDMA 단말기에서 사용되는 데이터 및 정보의 저장, 연산 처리가 가능한 카드이다. 스마트 카드는 UICC(Universal Integrated Circuit Card)로 불리기도 하며 마이크로프로세서, 메모리, 카드 운영 체제, 보안 알고리즘 등을 내장하고 있어 자체 연산 처리 및 대용량 저장의 기능을 갖춘 COB (Chip On Board) 형태의 카드이다.The USIM card is a type of smart card that can store and process data and information used in WCDMA terminals. A smart card is a chip on board (COB) card that has a built-in microprocessor, memory, card operating system, and security algorithm, and is called a Universal Integrated Circuit Card (UICC) .
사용자는 이동 통신 단말기의 본체로부터 스마트 카드를 분리하여 다른 이동 통신 단말기에 삽입시킴으로써, 별도의 가입절차 없이 새로운 이동 통신 단말기를 이용하여 종래 서비스를 제공받을 수 있다.The user can separate the smart card from the main body of the mobile communication terminal and insert it into the other mobile communication terminal so that the conventional service can be provided using the new mobile communication terminal without a separate subscription procedure.
이러한 스마트 카드는 휴대가 편하고 이동이 쉽게 구성되어야 하는 특성상, 제공 가능한 채널 리소스가 기타 다른 장치에 비하여 매우 제한적이므로, 이동 통 신 단말기 또는 외부의 카드 리더기와 데이터 통신을 수행하는 과정에서 채널 리소스 확보가 어렵다는 문제점이 있다.Since the smart card is portable and easy to move, the available channel resources are very limited compared to other devices. Therefore, in the process of performing data communication with the mobile communication terminal or the external card reader, There is a problem that it is difficult.
또한, 이동 통신 단말기를 이용해 특정 서비스(예를 들면, 지불/결제 서비스)를 이용하고자 하는 경우, 스마트 카드 상에 서비스를 제공하기 위한 응용 애플릿(Applet)을 구현하게 되는데, 채널 리소스의 부족은 응용 애플릿의 오류를 유발할 수 있다.In addition, when a specific service (for example, payment / payment service) is to be used by using the mobile communication terminal, an applet for providing a service on a smart card is implemented. It can cause an applet error.
따라서, 본 발명이 이루고자 하는 기술적 과제는 채널 리소스를 효율적으로 운용하기 위한 스마트 카드, 이를 탑재한 이동 통신 단말기 및 그의 채널 설정 방법을 제공하는 것이다.SUMMARY OF THE INVENTION Accordingly, the present invention provides a smart card, a mobile communication terminal, and a channel setting method for efficiently operating channel resources.
본 발명이 이루고자 하는 다른 기술적 과제는 채널 리소스 확보를 통해 스마트 카드 상에 구축된 응용 애플릿의 올바른 동작을 보장할 수 있는 스마트 카드, 이를 탑재한 이동 통신 단말기 및 그의 채널 설정 방법을 제공하는 것이다.Another object of the present invention is to provide a smart card, a mobile communication terminal equipped with the smart card, and a channel setting method thereof, which can ensure correct operation of an application applet constructed on a smart card through channel resource reservation.
본 발명이 이루고자 하는 기술적 과제들은 이상에서 언급한 기술적 과제로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The technical objects to be achieved by the present invention are not limited to the technical matters mentioned above, and other technical subjects which are not mentioned can be clearly understood by those skilled in the art from the following description. There will be.
전술한 목적을 달성하기 위한 본 발명의 일 측면에 따른 이동 통신 단말기는, 채널 설정 요청을 생성하고, 상기 채널 설정 요청에 상응하여 채널을 할당 받으며, 상기 할당된 채널을 통해 데이터 통신 프로세스를 수행한 후, 상기 할당된 채널을 해제하기 위한 채널 해제 요청을 생성하는 단말 본체부; 및 상기 채널 설정 요청에 응답하여 채널을 할당하고, 상기 채널 해제 요청에 응답하여 상기 할당된 채널을 해제하되, 채널 리소스의 부족 시 구비된 복수의 채널 중 가장 먼저 설정된 채널을 해제한 후, 상기 해제된 채널을 새로 할당하는 스마트 카드부를 포함한다.According to an aspect of the present invention, there is provided a mobile communication terminal including a channel establishment request, a channel allocation request according to the channel establishment request, a data communication process through the allocated channel, A terminal body unit for generating a channel release request for releasing the allocated channel; And allocating a channel in response to the channel setting request, releasing the allocated channel in response to the channel release request, releasing the first channel among a plurality of channels provided when the channel resource is insufficient, And a smart card unit for allocating a new channel.
본 발명의 다른 측면에 따른 이동 통신 단말기는, 채널 설정 요청을 생성하고, 상기 채널 설정 요청에 상응하여 채널을 할당 받으며, 상기 할당된 채널을 통해 데이터 통신 프로세스를 수행한 후, 상기 할당된 채널을 해제하기 위한 채널 해제 요청을 생성하는 단말 본체부; 및 상기 채널 설정 요청에 응답하여 채널을 할당하고, 상기 채널 해제 요청에 응답하여 상기 할당된 채널을 해제하되, 데이터 교환 시점마다 구비된 복수의 채널에 대한 타임 스탬프를 갱신하고, 채널 리소스의 부족 시 상기 복수의 채널에 대한 타임 스탬프를 기준으로 해제될 채널을 선택하며, 상기 선택된 채널을 해제한 후 새로 할당하는 스마트 카드부를 포함한다.A mobile communication terminal according to another aspect of the present invention generates a channel setting request, allocates a channel according to the channel setting request, performs a data communication process through the allocated channel, A terminal body unit for generating a channel release request for releasing a channel; And allocating a channel in response to the channel setting request, releasing the allocated channel in response to the channel release request, updating a time stamp for a plurality of channels provided at each data exchange time, And a smart card unit for selecting a channel to be released based on the time stamps for the plurality of channels, and releasing the selected channel and assigning the selected channel to a new one.
또한, 본 발명의 일 측면에 따른 스마트 카드는, 채널이 할당될 때마다 설정 시각을 저장하는 채널 정보 데이터베이스; 외부로부터 채널 설정 요청 및 채널 해제 요청을 수신하는 인터페이스부; 상기 채널 설정 요청에 응답하여 복수의 채널 중 할당 가능한 채널이 있는지 여부를 조사하는 채널 관리부; 상기 채널 관리부의 조사 결과, 할당 가능한 채널이 있는 경우, 상기 채널 설정 요청에 상응하여 채널을 할당하는 제1 채널 할당부; 및 상기 채널 관리부의 조사 결과, 채널 리소스 부족으로 할당 가능한 채널이 없는 경우, 상기 채널 정보 데이터베이스를 검색하여 상기 복수의 채널 중 가장 먼저 설정된 채널을 해제하며, 상기 채널 설정 요청에 상응하여 상기 해제된 채널을 할당하는 제2 채널 할당부를 포함한다.According to an aspect of the present invention, there is provided a smart card including: a channel information database storing a set time each time a channel is allocated; An interface unit for receiving a channel setting request and a channel release request from outside; A channel management unit for checking whether there is an assignable channel among a plurality of channels in response to the channel setting request; A first channel assignment unit for assigning a channel according to the channel setting request when the channel management unit determines that there is an assignable channel; And when the channel management unit determines that there is no channel allocable due to lack of channel resources, it searches the channel information database to release the first channel among the plurality of channels, And a second channel allocation unit.
본 발명의 다른 측면에 따른 스마트 카드는, 통신 시 제공 가능한 복수의 채널에 대하여, 데이터 교환 시점마다 타임 스탬프를 갱신하는 채널 정보 데이터베이 스; 외부로부터 채널 설정 요청 및 채널 해제 요청을 수신하는 인터페이스부; 상기 채널 설정 요청에 응답하여 상기 복수의 채널 중 할당 가능한 채널이 있는지 여부를 조사하는 채널 관리부; 상기 채널 관리부의 조사 결과, 할당 가능한 채널이 있는 경우, 상기 채널 설정 요청에 상응하여 채널을 할당하는 제1 채널 할당부; 및 상기 채널 관리부의 조사 결과, 채널 리소스 부족으로 할당 가능한 채널이 없는 경우, 상기 채널 정보 데이터베이스를 검색하여 상기 복수의 채널 중 데이터 교환 시점이 가장 오래 전인 채널을 해제하며, 상기 채널 설정 요청에 상응하여 상기 해제된 채널을 할당하는 제2 채널 할당부를 포함한다.According to another aspect of the present invention, there is provided a smart card including: a channel information database for updating a time stamp for each of a plurality of channels that can be provided at the time of data exchange; An interface unit for receiving a channel setting request and a channel release request from outside; A channel manager for checking whether there is an assignable channel among the plurality of channels in response to the channel setting request; A first channel assignment unit for assigning a channel according to the channel setting request when the channel management unit determines that there is an assignable channel; And when the channel management unit determines that there is no channel that can be allocated due to lack of channel resources, it searches the channel information database to release a channel having the longest data exchange time among the plurality of channels, And a second channel assigning unit for assigning the released channel.
상술한 본 발명의 일 측면 및 다른 측면에 따른 스마트 카드에서, 인터페이스부는, 외부 장치와 무선 데이터 통신을 수행하기 위한 비접촉식 인터페이스부이거나, 외부 장치에 물리적으로 직접 접속되어 있는 접촉식 인터페이스부일 수 있다.In the smart card according to one aspect and another aspect of the present invention, the interface unit may be a contactless interface unit for performing wireless data communication with an external device, or a contact interface unit physically directly connected to an external device.
한편, 본 발명의 일 측면에 따른 이동 통신 단말기의 채널 설정 방법은, 스마트 카드부가 채널 설정 요청에 응답하여 채널을 할당하되, 채널 리소스 부족 시 제공 가능한 복수의 채널 중 가장 먼저 설정된 채널을 해제한 후 상기 해제된 채널을 새로 할당하는 단계; 상기 할당된 채널을 통해 데이터 통신 프로세스가 이루어지는 단계; 상기 데이터 통신 프로세스가 완료됨에 따라 상기 스마트 카드부가 채널 해제 요청을 수신하는 단계; 및 상기 스마트 카드가 상기 채널 해제 요청에 상응하여 상기 할당된 채널을 해제하는 단계를 포함한다.According to another aspect of the present invention, there is provided a method of setting a channel of a mobile communication terminal, the method comprising: allocating a channel in response to a request for setting a channel of a smart card; releasing a first channel among a plurality of channels, Assigning the released channel to a new channel; Performing a data communication process over the assigned channel; Receiving the smart card supplemental channel release request upon completion of the data communication process; And releasing the assigned channel corresponding to the channel release request by the smart card.
본 발명의 다른 측면에 따른 이동 통신 단말기의 채널 설정 방법은, 스마트 카드부가 채널 설정 요청에 응답하여 채널을 할당하되, 채널 리소스 부족 시 데이터 교환 시점마다 갱신되는 타임 스탬프를 기준으로 해제될 채널을 선택하여 상기 선택된 채널을 해제한 후 새로 할당하는 단계; 상기 할당된 채널을 통해 데이터 통신 프로세스가 이루어지는 단계; 상기 데이터 통신 프로세스가 완료됨에 따라 상기 스마트 카드부가 채널 해제 요청을 수신하는 단계; 및 상기 스마트 카드가 상기 채널 해제 요청에 상응하여 상기 할당된 채널을 해제하는 단계를 포함한다.According to another aspect of the present invention, there is provided a method of setting a channel of a mobile communication terminal, the method comprising: allocating a channel in response to a smart card attachment channel setting request, Releasing the selected channel and assigning it to the new channel; Performing a data communication process over the assigned channel; Receiving the smart card supplemental channel release request upon completion of the data communication process; And releasing the assigned channel corresponding to the channel release request by the smart card.
상기한 바와 같이 이루어진 본 발명에 따른 스마트 카드, 이를 탑재한 이동 통신 단말기 및 그의 채널 설정 방법은, 채널 리소스를 효율적으로 운용할 수 있으며, 채널 리소스 확보를 통해 스마트 카드 상에 구축된 응용 애플릿의 올바른 동작을 보장할 수 있다.The smart card according to the present invention, the mobile communication terminal equipped with the smart card, and the channel setting method according to the present invention can efficiently operate the channel resource and can prevent the application applet Operation can be ensured.
이하에서는, 본 발명의 바람직한 실시예들에 따른 스마트 카드가 탑재된 이동 통신 단말기에 대하여 첨부된 도 1 내지 도 5를 참조하여 상세히 설명한다.Hereinafter, a mobile communication terminal equipped with a smart card according to preferred embodiments of the present invention will be described in detail with reference to FIGS. 1 to 5 attached hereto.
도 1은 본 발명의 일 실시예에 따른 이동 통신 단말기의 구성도이다.1 is a configuration diagram of a mobile communication terminal according to an embodiment of the present invention.
도 1을 참조하면, 본 발명의 일 실시예에 따른 이동 통신 단말기는 단말 본체부(100)와 스마트 카드부(200)를 포함한다. 스마트 카드부(200)는 단말 본체부(100)나 외부의 카드 리더기(300)와의 사이에 형성되는 논리적 채널을 통해 데이 터 통신 프로세스를 수행하게 된다.Referring to FIG. 1, a mobile communication terminal according to an embodiment of the present invention includes a
먼저, 단말 본체부(100)의 세부 구성을 살펴보면 다음과 같다.First, the detailed configuration of the terminal
단말 본체부(100)는 단말 소프트웨어 계층(110), HAL(Handset Application Layer)(120), 단말/서비스 플랫폼(130), 응용 프로그램 계층(140)의 4계층을 포함한다.The
단말 소프트웨어 계층(110)은 간단한 단말기 운영 체제와 통신 기본 기능, 프로세서나 모뎀 등 이동 통신 서비스 및 무선 인터넷 서비스를 위한 여러 디바이스들을 제어하기 위한 각종 디바이스 드라이버를 포함하며, 제조사에 따라 기능이나 규모가 상이하다. 단말기 운영 체제로는 마이크로소프트사의 윈도우즈 CE, 심비안사의 심비안(Symbian) 등이 사용된다. 특히, 단말 소프트웨어 계층(110)에는, 스마트 카드부(200)를 운용하기 위한 스마트 카드 드라이버(111)가 구축된다.The
HAL(120)은 단말 소프트웨어 계층(110)과 단말/서비스 플랫폼(130)이 인터페이스(Interface) 되는 부분으로서, 단말기로의 포팅(Porting)을 담당하는 계층이다. 이러한 HAL(120)은 여러 종류의 단말기 운영 체제를 수용함으로써, 플랫폼 이식에 있어 하드웨어의 독립성을 지원한다. HAL(120)을 통해 단말기에 대한 추상화(Abstraction)가 이루어지고, 하드웨어 독립적으로 플랫폼이 구성된다.The HAL 120 is a layer that interfaces with the
단말/서비스 플랫폼(130)은 이동 통신 단말기의 어플리케이션 실행 환경을 표준화한 규격에 해당하는 단말 플랫폼과, 특정 서비스(예를 들면, 지불/결제 서비스)를 제공하기 위해 단말 플랫폼 상에 구축되는 서비스 플랫폼(예를 들면, 금융 서비스 플랫폼)을 포함하는 계층이다.The terminal /
이동 통신 단말기를 운영하기 위한 단말 플랫폼으로는, WIPI(Wireless Internet Platform for Interoperability), BREW(Binary Runtime Environment for Wireless), KMV(Kilobyte Virtual Machine) 등이 적용될 수 있다.Wireless Internet Platform for Interoperability (WIPI), Binary Runtime Environment for Wireless (BREW), and Kilobyte Virtual Machine (KMV) may be applied to the terminal platform for operating the mobile communication terminal.
WIPI 플랫폼은 단말기와 컨텐츠 개발에 대하여 독립적이고 개방되어 있는 성격을 가지므로, 개발자가 이동 통신 단말기의 종류와 무관하게 공통적으로 동작하는 어플리케이션을 작성하기 위해서는 WIPI 표준 규격을 따르면 된다.Since the WIPI platform is independent and open to the terminal and content development, the developer can follow the WIPI standard specification in order to create an application that operates in common regardless of the type of mobile communication terminal.
응용 프로그램 계층(140)은 사운드 플레이어(Sound Player), 맵 뷰어(Map Viewer), 게임(Game) 등 개발자에 의해 생성된 여러 어플리케이션들이 구현되는 계층이며, 각 어플리케이션은 이동 통신 단말기의 조작에 의해 실행될 수 있다. 특히, 응용 프로그램 계층(140)은 스마트 카드부(200)와 데이터 통신 프로세스를 수행하여 특정 서비스(예를 들면, 지불/결제 서비스)를 제공하기 위한 어플리케이션(141)(예를 들면, 지불/결제 어플리케이션)을 포함한다.The
단말 본체부(100)에는 사용자 인증을 목적으로 이동 통신 단말기 사용자의 개인 정보를 저장하는 스마트 카드부(200)가 장착된다. 개발자는 특정 서비스(예를 들면, 지불/결제 서비스, 교통 카드 서비스 등)를 제공하기 위해 스마트 카드부(200) 내에 애플릿(230)을 설치할 수 있다. 단말 본체부(100)의 어플리케이션(141)이나 외부의 카드 리더기(300)는 접촉/비접촉 인터페이스를 통해 스마트 카드부(200) 내의 애플릿(230)을 선택하여 원하는 서비스를 제공하게 된다. 이때, 스마트 카드부(200)가 제공하는 논리적인 채널을 통해 데이터 통신이 이루어진다.The
카드 리더기(300)는 단말 본체부(100)와 마찬가지로, 내부 어플리케이션(미 도시)의 요청이 있는 경우 스마트 카드부(200)와의 데이터 통신 프로세스를 수행하여 스마트 카드부(200)를 판독하고, 판독된 데이터를 이용해 특정 서비스(예를 들면, 지불/결제 서비스)를 제공한다.The
스마트 카드부(200)의 종류는 단말 플랫폼의 종류에 따라 달라질 수 있다. 예컨대, 단말 플랫폼이 WIPI 규격인 경우, 스마트 카드부(200)는 USIM 카드로 구축 가능하다.The type of the
스마트 카드부(200)는 접촉/비접촉 인터페이스를 통해 스마트 카드부(200) 내의 애플릿(230)이 단말 본체부(100)의 어플리케이션(141)이나 카드 리더기(300)와 통신할 수 있도록 최대 N개(N은 임의의 자연수)의 채널을 동시 제공할 수 있다. The
단말 본체부(100) 및 카드 리더기(300)는 데이터 통신 프로세스 시 채널 리소스를 확보하기 위한 채널 설정 요청을 생성하여 스마트 카드부(200)로 전송하며, 그에 상응하는 채널을 할당 받는다. 그리고, 할당된 채널을 통해 스마트 카드부(200)와 데이터 통신 프로세스를 수행한 후, 데이터 통신 프로세스가 완료되면 할당된 채널을 해제하기 위한 채널 해제 요청을 생성하여 스마트 카드부(200)로 전송한다. 스마트 카드부(200)는 채널 해제 요청을 받은 후, 설정된 채널을 종료 및 해제하여 채널 리소스를 확보한다.The
이러한 과정에서, 채널 해제 요청이 전송되기 전에 오류가 발생하여 채널이 종료되지 않을 경우, 스마트 카드부(200)는 해당 채널을 계속 유지하게 된다. 그리고, 이러한 오류가 쌓여 여러 채널이 해제되지 않으면, 스마트 카드부(200)가 더 이상 새로운 채널을 할당할 수가 없게 되어 카드 사용이 불가능해지는 상황이 발생 한다.In this process, if an error occurs before the channel release request is transmitted and the channel is not terminated, the
즉, 단말 본체부(100)의 어플리케이션(141)이나 카드 리더기(300)가 스마트 카드부(200) 내의 애플릿(230)을 선택하여 데이터를 주고 받은 후, 데이터 통신에 쓰인 채널 리소스를 종료(Close)하여 해당 어플리케이션(141)과 애플릿(230) 사이에 설정한 채널 리소스를 해제(Release)하여야 한다. 그런데, 어플리케이션(141)과 애플릿(230) 간 통신이 비정상적으로 종료되거나, 불순한 의도로 접근한 외부 디바이스에 의해 채널이 선택된 후 닫힘 동작이 수행되지 않는 등의 경우, 스마트 카드부(200)의 채널 리소스가 해제되지 않고 점유되는 경우가 발생할 수 있다.That is, the
이러한 경우, 스마트 카드부(200)에서 통신이 비정상적으로 종료되었을 때 이를 보정하기 위하여, 일부 채널의 비정상 종료를 가정하여 채널 리소스를 반환하고, 반환된 채널을 새로 할당할 수 있도록 한다.In this case, in order to correct the abnormal termination of the communication in the
스마트 카드부(200)의 동작을 보다 상세히 살피면 다음과 같다.The operation of the
스마트 카드부(200)는 단말 본체부(100)나 카드 리더기(300)로부터 전송되는 채널 설정 요청에 응답하여 채널을 할당하며, 데이터 통신 프로세스가 완료된 후 채널 해제 요청에 응답하여 할당된 채널을 해제한다.The
채널 설정 요청에 응답하여 채널을 할당하고자 할 때, 스마트 카드부(200)는 이전 데이터 통신 프로세스의 비정상 종료 여부를 감지하고, 감지 결과에 따라 채널을 할당한다. 보다 구체적으로, 스마트 카드부(200)는 채널 리소스가 부족할 때 자신이 제공할 수 있는 복수의 채널 중 가장 먼저 설정된 채널을 비정상 종료된 채널로 간주하여 해제한 후, 해제된 채널을 수신된 채널 설정 요청에 대해 새로 할당 하게 된다.When allocating a channel in response to a channel setting request, the
이와 같이, 스마트 카드부(200)는 어플리케이션에 할당되어 사용된 후 제대로 종료되지 않아 채널 리소스를 불필요하게 점유하고 있는 상태를 감지하여 채널 리소스가 부족해지는 상황을 막고, 애플릿(230)의 올바른 동작을 보장할 수 있다.In this manner, the
도 2는 본 발명의 일 실시예에 따른 스마트 카드부의 세부 구성도이며, 도 3은 도 2의 채널 정보 데이터베이스에 저장되는 데이터 구성을 예시한 도면이다.FIG. 2 is a detailed configuration diagram of a smart card unit according to an embodiment of the present invention, and FIG. 3 is a diagram illustrating a data structure stored in the channel information database of FIG.
먼저, 도 2를 참조하면, 스마트 카드부(200)는 데이터 통신 프로세스에 쓰이는 논리적 채널을 제공하기 위하여, 인터페이스부(211_1, 211_2), 채널 관리부(212), 제1 채널 할당부(213), 제2 채널 할당부(214), 채널 정보 데이터베이스(215)를 포함한다.2, the
인터페이스부(211_1, 211_2)는 단말 본체부(100)나 카드 리더기(300)로부터 전송되는 채널 설정 요청 및 채널 해제 요청을 수신한다. 여기서, 인터페이스부(211_1, 211_2)는 외부의 카드 리더기(300)와 무선 데이터 통신을 수행하기 위한 비접촉식 인터페이스부(211_2)일 수도 있으며, 단말 본체부(100)와 물리적으로 접속되어 직접 데이터 통신을 수행하는 접촉식 인터페이스부(211_1)일 수도 있다.The interface units 211_1 and 211_2 receive a channel setting request and a channel release request transmitted from the
채널 관리부(212)는 채널 설정 요청에 응답하여 스마트 카드부(200)가 제공하는 복수의 채널 중 할당 가능한 채널이 있는지 여부를 조사한다.In response to the channel setting request, the
제1 채널 할당부(213)는 채널 관리부(212)의 조사 결과, 할당 가능한 채널이 있는 경우, 채널 설정 요청에 상응하여 채널을 할당한다.The first
제2 채널 할당부(214)는 채널 관리부(212)의 조사 결과, 채널 리소스 부족으 로 할당 가능한 채널이 없는 경우, 제공 가능한 복수의 채널 중 비정상 종료된 채널의 존재를 가정하여 비정상 종료된 채널을 해제하며, 채널 설정 요청에 상응하여 해제된 채널을 새로 할당한다.If it is determined that there is no channel allocable due to lack of channel resources, the second
구체적으로, 제2 채널 할당부(214)는 채널 리소스가 모두 점유되어 할당 가능한 채널이 없는 경우, 채널 정보 데이터베이스(215)를 검색하여 복수의 채널 중 가장 먼저 설정된 채널, 즉, 가장 오래 전에 할당된 채널을 조사하고, 해당 채널이 이전 데이터 통신 프로세스에서 비정상 종료된 것으로 판단하여 해제한다. 그리고, 해제된 채널을 수신된 채널 설정 요청에 대한 채널로 새로 할당해 준다.Specifically, if the channel resources are all occupied and there is no assignable channel, the second
채널 정보 데이터베이스(215)는 단말 본체부(100)나 카드 리더기(300)로부터 새로운 채널 설정 요청이 들어와 채널을 설정할 때마다, 채널이 설정된 시각을 저장한다. 채널 정보 데이터베이스(215)에 저장되는 데이터는 도 3과 같은 형태로 구성될 수 있다.The
도 3을 참조하여 채널 정보 데이터베이스(215)의 구성과 스마트 카드부(200)의 채널 관리 규격을 예시적으로 설명하면 다음과 같다.The configuration of the
채널 정보 데이터베이스(215)에는 스마트 카드부(200)가 제공할 수 있는 논리적 채널들의 채널 번호, 각 채널의 활성화/비활성화 여부를 표시하는 상태, 각 채널을 할당 받은 디바이스(또는 어플리케이션)의 장치 번호, 각 채널이 설정된 설정 시각을 포함한다.The
스마트 카드부(200)는 최대 4개의 논리 채널을 지원하며, 0번 채널은 단말기 부팅(Booting) 시부터 종료 시까지 통신 기능을 위해 사용된다. 0번 채널은 단말기 부팅 시 매번 활성화되고, 이를 단말기 종료 시까지 계속 유지하며, 0번 채널은 항상 스마트 카드부(200) 내의 어플리케이션에서 사용 중이다. 그러므로, 금융 등의 특정 목적의 서비스와 관련하여 단말 본체부(100)의 어플리케이션(141)이나 카드 리더기(300)에서 스마트 카드부(200)를 읽어들이거나 종료시키고자 할 때에는, 스마트 카드부(200)를 활성화/비활성화시키는 대신 1번, 2번, 3번의 논리 채널을 할당/해제하여야 한다.The
스마트 카드부(200)는 채널 설정 요청에 대한 채널 리소스가 부족할 때, 채널 정보 데이터베이스(215)를 검색하여 각 채널의 설정 시각을 확인하고, 설정 시각을 기준으로 가장 먼저 설정된 채널, 즉, 가장 오래 전에 설정된 채널을 해제하여 새로 할당한다. 도 3의 경우에는, 0번 채널은 스마트 카드부(200)의 어플리케이션이 자체적으로 사용하고, 1번 채널이 2번, 3번 채널에 비해 설정된 지 가장 오래되었으므로, 채널 리소스 부족 시 1번 채널을 해제하여 새로 할당하게 된다.When the channel resource for the channel setting request is insufficient, the
도 4는 본 발명의 다른 실시예에 따른 스마트 카드부의 세부 구성도이며, 도 5는 도 4의 채널 정보 데이터베이스에 저장되는 데이터 구성을 예시한 도면이다.FIG. 4 is a detailed configuration diagram of a smart card unit according to another embodiment of the present invention, and FIG. 5 is a diagram illustrating a data structure stored in the channel information database of FIG.
도 4를 참조하면, 본 발명의 다른 실시예에 따른 스마트 카드부(200)는 인터페이스부(221_1, 221_2), 채널 관리부(222), 제1 채널 할당부(223), 제2 채널 할당부(224), 채널 정보 데이터베이스(225)를 포함한다.4, a
스마트 카드부(200)는 어플리케이션(141)으로부터 보내진 채널 설정 요청에 응답하여 채널을 할당하고, 데이터 통신 프로세스 완료 이후 보내지는 채널 해제 요청에 응답하여 할당된 채널을 해제한다.The
여기서, 본 발명의 다른 실시예에 따른 스마트 카드부(200)는, 데이터 교환 시점마다 복수의 채널에 대한 타임 스탬프(Timestamp)를 갱신하고, 채널 리소스가 부족할 때 복수의 채널에 대한 타임 스탬프를 기준으로 해제될 채널을 선택하며, 선택된 채널을 해제한 후 새로 할당한다.Here, the
채널 정보 데이터베이스(225)는 스마트 카드부(200)에서 제공 가능한 복수의 채널에 대하여, 데이터 교환 시점마다 타임 스탬프를 갱신하여 저장한다.The
채널 정보 데이터베이스(225)에 저장되는 데이터는 도 5와 같은 형태로 구성될 수 있다.The data stored in the
인터페이스부(221_1, 221_2)는 외부의 어플리케이션(141)으로부터 채널 설정 요청 및 채널 해제 요청을 수신한다. 일 실시예의 경우와 마찬가지로, 인터페이스부(221_1, 221_2)는 외부의 카드 리더기(300)와 무선 데이터 통신을 수행하기 위한 비접촉식 인터페이스부(221_2)일 수도 있고, 단말 본체부(100)와 물리적으로 접속되어 있는 접촉식 인터페이스부(221_1)일 수도 있다.The interface units 221_1 and 221_2 receive a channel setting request and a channel release request from an
채널 관리부(222)는 수신된 채널 설정 요청에 응답하여 스마트 카드부(200)가 제공하는 복수의 채널 중 할당 가능한 채널이 있는지 여부를 조사한다.In response to the received channel setting request, the
제1 채널 할당부(223)는 채널 관리부(222)의 조사 결과, 할당 가능한 채널이 있는 경우, 채널 설정 요청에 상응하여 채널을 할당한다.The first
제2 채널 할당부(224)는 채널 관리부(222)의 조사 결과, 채널 리소스 부족으로 할당 가능한 채널이 없는 경우, 채널 정보 데이터베이스(225)를 검색하여 복수의 채널 중 데이터 교환 시점이 가장 오래 전인 채널을 해제하며, 채널 설정 요청 에 상응하여 해제된 채널을 새로 할당하게 된다.The
단말 본체부(100)나 외부의 카드 리더기(300)는 일 실시예의 경우와 마찬가지로, 데이터 통신 프로세스를 위한 채널 설정 요청을 생성하여 스마트 카드부(200)로 전송하고, 채널 설정 요청에 상응하는 채널을 할당 받는다. 그리고, 할당된 채널을 통해 데이터 통신 프로세스를 수행한 후, 할당된 채널을 해제하기 위한 채널 해제 요청을 생성한다.The terminal
도 5를 참조하면, 채널 정보 데이터베이스(225)에는 스마트 카드부(200)가 제공할 수 있는 논리적 채널들의 채널 번호, 각 채널의 활성화/비활성화 여부를 표시하는 상태, 각 채널을 할당 받은 디바이스(또는 어플리케이션)의 장치 번호, 각 채널이 설정된 설정 시각, 각 채널의 데이터 교환 시점을 표시하는 타임 스탬프 등이 저장된다.5, the
도 5에서, 스마트 카드부(200)는 최대 4개의 논리 채널을 지원하며, 0번 채널은 부팅 시 활성화하여 스마트 카드부(200) 내의 어플리케이션에서 자체적으로 사용할 수 있도록 제어한다. 단말 본체부(100)나 카드 리더기(300)로부터 채널 할당/해제 요청이 수신되면, 스마트 카드부(200)는 0번 채널을 제외한 1번, 2번, 3번 채널을 할당/해제한다.In FIG. 5, the
스마트 카드부(200)는 데이터를 교환할 때마다 타임 스탬프를 갱신하면서 관리하고, 채널 리소스가 부족한 경우 채널 정보 데이터베이스(225)를 검색하여 채널별 타임 스탬프를 확인함으로써, 각 채널이 마지막으로 데이터를 교환한 시점을 조사한다. 그리고, 타임 스탬프를 기준으로, 데이터 교환 시점이 가장 오래된 채널을 해제하여 새로 할당한다.The
이러한 방식은 채널이 설정된 시각이 아니라 마지막으로 데이터가 교환된 시점을 기준으로 해제될 채널을 선택하므로, 단말 본체부(100)나 카드 리더기(300)가 스마트 카드부(200)에 채널을 설정해 놓고 오랜 시간 동안 대기하다가 데이터를 전송하는 서비스를 제공하고자 하는 경우 유용하게 적용할 수 있다.The
이하에서는, 본 발명의 바람직한 실시예들에 따른 스마트 카드가 탑재된 이동 통신 단말기의 채널 설정 방법에 대하여 첨부된 도 6 및 도 7을 참조하여 상세히 설명한다.Hereinafter, a channel setting method of a mobile communication terminal equipped with a smart card according to preferred embodiments of the present invention will be described in detail with reference to FIG. 6 and FIG.
도 6은 본 발명의 일 실시예에 따른 이동 통신 단말기의 채널 설정 방법을 나타낸 흐름도로서, 도 1 및 도 2의 구성을 기준으로 도시한 것이다. 설명의 편의상, 단말 본체부(100) 내 어플리케이션(141)과 스마트 카드부(200) 간에 통신이 이루어지는 경우를 가정하며, 스마트 카드 국제 표준인 ISO 7816을 예로 들어 설명한다.FIG. 6 is a flowchart illustrating a channel setting method of a mobile communication terminal according to an exemplary embodiment of the present invention, and is based on the configurations of FIG. 1 and FIG. 2. Referring to FIG. For convenience of explanation, it is assumed that communication is performed between the
먼저, S110 단계에서, 스마트 카드부(200)는 단말 본체부(100)로부터 전송되는 채널 설정 요청(MANAGE Channel(open)) 에 응답하여 채널을 할당하되, 채널 리소스 부족 시 일부 채널의 비정상 종료를 가정하여 해당 채널을 해제한 후 새로 할당한다. 이때, 스마트 카드부(200)는 지원 가능한 복수의 논리 채널들 중 가장 먼저 설정된 채널을 비정상 종료된 채널로 간주하여 해제하고, 해제된 채널을 수신된 채널 설정 요청에 대해 새로 할당한다.First, in step S110, the
즉, 스마트 카드부(200)가 지원 가능한 N개의 채널이 모두 사용 중에 있을 때, 새로운 채널 설정 요청(MANAGE Channel(open))이 들어오면, 전체 N개의 채널 중 비정상적으로 프로세스가 종료된 채널이 있다고 가정하고, 채널 설정된 지 가장 오래된 채널을 해제한 후, 해제된 채널을 새로운 채널 설정 요청(MANAGE Channel(open))에 할당하는 것이다.That is, when all of the N channels that can be supported by the
채널 리소스를 할당하기 위한 S110 단계는 S111 단계 내지 S119 단계로 세분화될 수 있다.Step S110 for allocating the channel resources may be subdivided into steps S111 to S119.
S111 단계에서, 스마트 카드부(200)는 지원 가능한 복수의 채널들이 각각 할당될 때마다 채널의 설정 시각을 채널 정보 데이터베이스(215)에 저장하면서 계속적으로 관리한다.In step S111, each time a plurality of supportable channels are allocated, the
스마트 카드부(200)는 데이터 통신을 위해 여러 개의 논리적인 채널을 제공할 수 있으므로, 장치 번호(devnum)에 따라 다른 채널을 할당해 주고, 장치 번호(devnum)와 그에 따른 채널 번호(Channel Number)의 매핑 테이블(Mapping table)을 채널 정보 데이터베이스(215)에 저장하고, 이를 관리하여 장치 번호(devnum)로 해당 채널의 제어가 가능하도록 한다.Since the
그리고, 채널 설정 요청(MANAGE Channel(open))이 들어올 때마다, 스마트 카드부(200)가 채널 정보 데이터베이스(215)에 해당 채널의 설정 시각을 저장한다.Each time a channel setting request (MANAGE CHANNEL (open)) is entered, the
S112_1 단계에서, 단말 본체부(100)의 어플리케이션(141)은 스마트 카드 드라이버(111)로 스마트 카드부(200)를 사용하기 위한 카드 오픈 명령(IC Card OPEN)을 전송한다.The
S112_2 단계에서, 스마트 카드 드라이버(111)는 카드 오픈 명령(IC Card OPEN)에 대한 채널 설정 요청(MANAGE Channel(open))을 생성하여 스마트 카드부(200)로 전송하고, 스마트 카드부(200)는 전송된 채널 설정 요청(MANAGE Channel(open))을 수신한다.In step S112_2, the
S113 단계에서, 채널 설정 요청(MANAGE Channel(open))이 수신되면, 스마트 카드부(200)는 그에 응답하여 현재 할당 가능한 채널이 있는지 여부를 조사한다.In step S113, when a channel setting request (MANAGE CHANNEL (open)) is received, the
할당 가능한 채널 리소스가 있는 경우, 채널 설정 요청에 대한 채널을 할당하기 위하여, 스마트 카드부(200)는 S115 단계로 진행하여 할당할 채널 번호(Channel Number)를 획득한다.If there is an assignable channel resource, the
채널 리소스가 모두 점유되어 채널 할당이 불가능한 경우, 스마트 카드부(200)는 S114 단계로 진행한다. S114 단계에서, 스마트 카드부(200)는 채널 정보 데이터베이스(215)를 검색하여 제공 가능한 복수의 채널 중 가장 먼저 할당된 채널을 확인하여 해제한다. 이후, S115 단계로 진행하여 해제된 채널 번호(Channel Number)를 획득함으로써, 채널 설정 요청(MANAGE Channel(open))에 대해 해제된 채널을 새로 할당한다.If all the channel resources are occupied and the channel can not be allocated, the
S116 단계에서, 스마트 카드부(200)는 S115 단계에서 얻어진 채널 번호(Channel Number)를 단말 본체부(100)의 스마트 카드 드라이버(111)로 전송한다.In step S116, the
S117 단계에서, 스마트 카드 드라이버(111)는 수신된 채널 번호(Channel Number)를 장치 번호(devnum)와 매핑시켜 매핑 테이블에 저장하고, 리셋 응답(ATR: Answer To Reset)과 함께 단말/서비스 플랫폼(130)으로 전달한다. 리셋 응답(ATR) 은 단말 본체부(100)의 리셋 신호에 대한 스마트 카드부(200)의 응답 신호이다.In step S117, the
S118 단계에서, 단말/서비스 플랫폼(130)은 장치 번호(devvnum)와 대응하는 장치 식별자(fd)를 리셋 응답(ATR)과 함께 카드 오픈 명령(IC Card OPEN)을 전송한 어플리케이션(141)으로 전달한다.In step S118, the terminal /
S119 단계에서, 단말 본체부(100)의 어플리케이션(141)은 카드 오픈 명령(IC Card OPEN)의 결과로 리셋 응답(ATR)과 함께 장치 식별자(fd)를 획득하게 된다.In step S119, the
이와 같이, 단말 본체부(100) 내 어플리케이션(141)에서 카드 오픈 명령(IC Card OPEN)이 전송되면, 스마트 카드 드라이버(111)는 채널 설정 요청(MANAGE Channel(open))을 이용하여 스마트 카드부(200)로부터 채널 번호(Channel Number)를 획득한다.When the
스마트 카드 드라이버(111)는 획득된 채널 번호(Channel Number)를 카드 오픈 명령(IC Card OPEN)의 결과로 반환할 장치 번호(devnum)와 매핑하여 매핑 테이블로 관리하며, 스마트 카드부(200)의 최초 활성화 시에 획득한 리셋 응답(ATR)과 함께 장치 번호(devnum)를 카드 오픈 명령(IC Card OPEN)의 결과로 반환한다.The
S120 단계에서, 할당된 채널을 통해, 단말 본체부(100)의 어플리케이션(141)과 스마트 카드부(200) 사이의 데이터 통신 프로세스가 이루어진다.In step S120, a data communication process is performed between the
단말 본체부(100)와 스마트 카드부(200) 사이의 통신에는 APDU(Application Protocol Data Unit) 명령이 사용된다.An APDU (Application Protocol Data Unit) command is used for communication between the
반환된 장치 번호(devnum)로 전달되는 APDU 명령은 매핑 테이블 상에 해당 장치 번호(devnum)와 매핑되어 있는 채널을 통해 스마트 카드부(200)로 전송된다. 이때, 0번 채널은 항상 스마트 카드부(200)의 어플리케이션에서 사용 중이기 때문에, 단말 본체부(100)의 어플리케이션(141)으로 0번 채널이 할당되는 경우는 발생하지 않는다.The APDU command transmitted to the returned device number (devnum) is transmitted to the
여기서, 단말 본체부(100)의 어플리케이션(141)은 통신 과정에서의 보안을 위해 MAC(Message Authentication Code)를 생성하여 APDU 명령과 함께 전송한다. 이때, 어플리케이션(141)이 APDU 헤더의 CLA(Class byte)에 포함된 채널 번호(Channel Number)를 00으로 변환하여 MAC를 계산한 후에 스마트 카드부(200)로 전송하면, 스마트 카드부(200)도 단말 본체부(100)의 어플리케이션(141)으로부터 전달받은 MAC를 검증할 때, CLA에 포함된 채널 번호(Channel Number)를 00으로 변환하여 검증한다.Here, the
S130 단계는 데이터 통신 프로세스가 완료된 후, 스마트 카드부(200)가 해당 장치 번호(devnum)에 할당된 채널을 해제하여 채널 리소스를 반환하도록 하는 단계이다. S130 단계는 S131 단계 및 S132 단계를 포함한다.In step S130, after the data communication process is completed, the
S131 단계에서, 어플리케이션(141)은 스마트 카드 드라이버(111)로 스마트 카드부(200)의 사용을 끝내기 위한 카드 종료 명령(IC Card CLOSE)을 전송한다. 카드 종료 명령(IC Card CLOSE)은 장치 번호(devnum)나 장치 식별자(fd) 등 스마트 카드부(200)의 종료에 필요한 정보들을 포함한다.In step S131, the
S132 단계에서, 스마트 카드 드라이버(111)는 카드 종료 명령(IC Card CLOSE)에 대한 채널 해제 요청(MANAGE Channel(close))을 생성하여 스마트 카드부(200)로 전송하고, 스마트 카드부(200)는 전송된 채널 해제 요청(MANAGE Channel(close))을 수신한다.In step S132, the
S140 단계에서, 스마트 카드부(200)는 채널 해제 요청(MANAGE Channel(close))에 응답하여 해당 장치 번호(devnum)에 할당되어 있는 채널 리소스를 해제한다.In step S140, the
여기서, 단말 본체부(100)의 스마트 카드 드라이버(111)는 어플리케이션(141)에서 카드 종료 요청(IC Card CLOSE)을 전송할 때 채널 해제 요청(MANAGE Channel(close))을 이용하여 넘겨받은 장치 번호(devnum)에 매핑되어 있는 채널을 해제하고, 종료한 장치 번호(devnum)를 어플리케이션(141)으로 반환한다. 어플리케이션(141)에서 0번 채널의 종료를 요청할 경우, 스마트 카드 드라이버(111)는 해당 APDU 명령을 스마트 카드부(200)로 전달하지 않고, 정상적으로 종료 처리된 것으로 응답한다.Here, the
상술한 데이터 통신 프로세스 및 명령-응답의 송수신은 단말 본체부(100)와 스마트 카드부(200)를 물리적으로 접속시키는 접촉식 채널을 통해 이루어질 수 있다. 도 6과 같은 채널 제어 방법은 카드 리더기(300)와 스마트 카드부(200) 사이에서도 적용될 수 있으며, 이러한 경우, 스마트 카드부(200)와 외부의 카드 리더기(300) 사이에 형성되는 비접촉식 채널을 통해 통신이 이루어질 수 있다.Transmission and reception of the above-described data communication process and command-response may be performed through a contact channel in which the terminal
도 7은 본 발명의 다른 실시예에 따른 이동 통신 단말기의 채널 설정 방법을 나타낸 데이터 흐름도로서, 도 4의 스마트 카드부(200)에서 일어나는 일련의 과정을 도시한 것이다.FIG. 7 is a data flow diagram illustrating a channel setting method of a mobile communication terminal according to another embodiment of the present invention, and shows a series of processes occurring in the
먼저, S210 단계에서, 스마트 카드부(200)는 단말 본체부(100)나 카드 리더 기(300)로부터 채널 설정 요청을 수신하고, 수신된 채널 설정 요청에 응답하여 채널을 할당한다. 채널 리소스 부족으로 할당 가능한 채널이 없는 경우에는, 채널 정보 데이터베이스(225)를 검색하여 데이터 교환 시점마다 갱신되는 타임 스탬프를 기준으로 해제될 채널을 선택하며, 선택된 채널을 해제한 후 새로 할당하게 된다.First, in step S210, the
채널 할당을 위한 S210 단계는 S211 단계 내지 S215 단계로 세분화될 수 있다.The step S210 for channel allocation may be subdivided into steps S211 to S215.
S211 단계에서, 스마트 카드부(200)는 제공 가능한 복수의 채널에 대하여 채널별 타임 스탬프를 채널 정보 데이터베이스(225)로 저장하여 관리한다. 각 채널이 최초 할당될 때에는, 해당 채널의 설정 시각이 채널 정보 데이터베이스(225)에 저장되며, 해당 채널을 통해 데이터 교환이 일어날 때마다, 즉, APDU 명령을 수신할 때마다, 해당 채널의 타임 스탬프가 갱신된다.In step S211, the
S212 단계에서, 스마트 카드부(200)는 단말 본체부(100)나 카드 리더기(300)로부터 전송되는 채널 설정 요청을 수신한다.In step S212, the
S213 단계에서, 스마트 카드부(200)는 수신된 채널 설정 요청에 응답하여 지원가능한 여러 개의 채널 중 현재 할당 가능한 채널이 있는지 여부를 조사한다.In step S213, the
할당 가능한 채널이 있는 경우, 스마트 카드부(200)는 S215 단계로 진행하여 채널 설정 요청에 대해 채널을 할당한다.If there is an assignable channel, the
할당 가능한 채널이 없는 경우, 스마트 카드부(200)는 S214 단계로 진행하여 채널 정보 데이터베이스(225)를 검색한다. 그리고, 채널 정보 데이터베이스(225)에 저장되어 있는 채널별 타임 스탬프를 기준으로 해제될 채널을 선택하여 선택된 채 널을 해제한 후, S215 단계로 진행하여 해제된 채널을 새로 할당한다. 여기서, 타임 스탬프는 데이터 교환 시점을 표시하는 것으로, 스마트 카드부(200)는 복수의 채널에 대한 타임 스탬프를 기준으로 전체 채널들 중 마지막으로 데이터를 교환한 시점이 가장 오래 전인 채널을 해제하여 그 채널을 새로운 채널 설정 요청에 대해 할당하게 된다.If there is no assignable channel, the
다음으로, S220 단계에서, 할당된 채널을 통해 스마트 카드부(200)와 단말 본체부(100), 또는 스마트 카드부(200)와 카드 리더기(300) 사이에서 데이터 통신 프로세스가 이루어진다. 이때, 스마트 카드부(200)는 할당된 채널을 통해 APDU 명령을 전송하여 그 응답을 수신하는 방식으로 데이터 통신을 수행하며, APDU 명령이 수신될 때마다 채널 정보 데이터베이스(225)에 저장된 채널별 타임 스탬프를 갱신한다.Next, in step S220, a data communication process is performed between the
S230 단계에서, 스마트 카드부(200)는 할당된 채널을 해제하여 채널 리소스를 확보한다.In step S230, the
S230 단계는 S231 단계 내지 S233 단계로 세분화될 수 있다.Step S230 may be subdivided into steps S231 to S233.
S231 단계에서, 스마트 카드부(200)는 데이터 통신 프로세스가 완료됨에 따라 단말 본체부(100)나 카드 리더기(300)로부터 채널 해제 요청이 전송되는지 여부를 판단한다.In step S231, the
채널 해제 요청이 수신되면, 스마트 카드부(200)는 그 응답으로 S233 단계로 진행하여 채널 설정 요청에 대해 할당되어 있던 채널을 해제한다.When the channel release request is received, the
채널 해제 요청이 일정 시간이 지나도 수신되지 않는 경우, S232 단계가 수 행될 수 있다.If the channel release request is not received after a predetermined time, step S232 may be performed.
스마트 카드부(200)는 마지막으로 데이터를 교환한 시점에서 채널이 해제될 때까지의 최대 허용 시간을 초나 분 단위로 미리 설정한 후, S232 단계에서 최대 허용 시간 동안 대기하게 된다. 여기서, 스마트 카드부(200)는 정해진 최대 허용 시간이 지나서도 데이터 교환이 없는 채널은 비정상 종료된 채널로 판단하여 해당 채널을 해제함으로써 채널 리소스를 확보할 수 있다.The
S233 단계에서, 스마트 카드부(200)는 채널 해제 요청에 응답하여 할당된 채널을 해제한다.In step S233, the
도 7의 실시예는, 채널 리소스 부족 시 채널의 설정 시각이 아닌 데이터 교환 시점을 기준으로 해제될 채널을 선택하므로, 채널을 할당받은 후, 간간히 데이터를 보내는 서비스에 유용하게 적용할 수 있다.In the embodiment of FIG. 7, when the channel resource is insufficient, the channel to be released is selected on the basis of the data exchange time instead of the channel setting time, so that it can be applied to a service for temporarily sending data after the channel is allocated.
또한, 최대 허용 시간을 임의로 지정한 후, 지정된 최대 허용 시간이 지나도록 데이터 교환이 없는 채널을 자동 해제하게 되면, 채널 리소스가 부족해지는 현상을 개선할 수 있다.In addition, if the maximum allowable time is arbitrarily set and then the channel with no data exchange is automatically released so that the specified maximum allowable time passes, the phenomenon that the channel resource becomes insufficient can be improved.
상술한 도 7의 과정들은 스마트 카드부(200)와 외부의 카드 리더기(300) 사이에 형성되는 비접촉식 채널을 통해 이루어질 수도 있고, 스마트 카드부(200)와 그 스마트 카드부(200)에 물리적으로 직접 접속되어 있는 단말 본체부(100) 사이에 형성되는 접촉식 채널을 통해 이루어질 수도 있다.7 may be performed through a non-contact channel formed between the
이상 첨부된 도면을 참조하여 본 발명의 실시예를 설명하였지만, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 본 발명이 그 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있을 것이다.While the present invention has been described in connection with what is presently considered to be practical exemplary embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, You will understand.
따라서, 이상에서 기술한 실시예들은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이므로, 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 하며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다.Therefore, it should be understood that the above-described embodiments are provided so that those skilled in the art can fully understand the scope of the present invention. Therefore, it should be understood that the embodiments are to be considered in all respects as illustrative and not restrictive, The invention is only defined by the scope of the claims.
본 발명은 스마트 카드가 탑재된 이동 통신 단말기 및 그의 채널 설정 방법에 유용하게 적용할 수 있다.The present invention can be applied to a mobile communication terminal equipped with a smart card and a channel setting method thereof.
또한, 본 발명은 데이터 통신 프로세스에서 채널 리소스를 효율적으로 운용할 수 있으며, 스마트 카드 상에 구축된 응용 애플릿의 올바른 동작을 보장할 수 있다.In addition, the present invention can efficiently operate channel resources in a data communication process, and can ensure correct operation of an application applet built on a smart card.
도 1은 본 발명의 일 실시예에 따른 이동 통신 단말기의 구성도.1 is a block diagram of a mobile communication terminal according to an embodiment of the present invention;
도 2는 본 발명의 일 실시예에 따른 스마트 카드부의 세부 구성도.2 is a detailed configuration diagram of a smart card unit according to an embodiment of the present invention;
도 3은 도 2의 채널 정보 데이터베이스에 저장되는 데이터 구성을 예시한 도면.FIG. 3 illustrates a data structure stored in the channel information database of FIG. 2; FIG.
도 4는 본 발명의 다른 실시예에 따른 스마트 카드부의 세부 구성도.4 is a detailed configuration diagram of a smart card unit according to another embodiment of the present invention;
도 5는 도 4의 채널 정보 데이터베이스에 저장되는 데이터 구성을 예시한 도면.FIG. 5 illustrates a data structure stored in the channel information database of FIG. 4; FIG.
도 6은 본 발명의 일 실시예에 따른 이동 통신 단말기의 채널 설정 방법을 나타낸 데이터 흐름도.6 is a data flow diagram illustrating a channel setting method of a mobile communication terminal according to an embodiment of the present invention.
도 7은 본 발명의 다른 실시예에 따른 이동 통신 단말기의 채널 설정 방법을 나타낸 데이터 흐름도.FIG. 7 is a data flow chart illustrating a channel setting method of a mobile communication terminal according to another embodiment of the present invention; FIG.
*** 도면의 주요 부분에 대한 부호의 설명 ***DESCRIPTION OF THE REFERENCE SYMBOLS
100: 단말 본체부 111: 스마트 카드 드라이버100: Terminal body unit 111: Smart card driver
141: 어플리케이션 200: 스마트 카드부141: Application 200: Smart card part
230: 애플릿 300: 카드 리더기230: Applet 300: Card reader
Claims (21)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080013923A KR101407272B1 (en) | 2008-02-15 | 2008-02-15 | Smart card, mobile communication terminal using the same and method for channel setting thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020080013923A KR101407272B1 (en) | 2008-02-15 | 2008-02-15 | Smart card, mobile communication terminal using the same and method for channel setting thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20090088565A KR20090088565A (en) | 2009-08-20 |
KR101407272B1 true KR101407272B1 (en) | 2014-06-13 |
Family
ID=41207145
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020080013923A KR101407272B1 (en) | 2008-02-15 | 2008-02-15 | Smart card, mobile communication terminal using the same and method for channel setting thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101407272B1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050053395A (en) * | 2003-12-02 | 2005-06-08 | 케이비 테크놀러지 (주) | Mobile phone with smart chip and applet install method to smart chip in mobile phone |
KR20050057563A (en) * | 2002-09-27 | 2005-06-16 | 노키아 코포레이션 | Wireless communication device providing a contactless interface for a smart card reader |
KR20050100136A (en) * | 2004-04-13 | 2005-10-18 | 에스케이 텔레콤주식회사 | Mobile terminal having smart-card |
KR100606208B1 (en) | 2004-11-09 | 2006-07-31 | 한국전자통신연구원 | A method for managing the Session Channel for Multi Session in Mobile Terminal |
-
2008
- 2008-02-15 KR KR1020080013923A patent/KR101407272B1/en active IP Right Grant
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050057563A (en) * | 2002-09-27 | 2005-06-16 | 노키아 코포레이션 | Wireless communication device providing a contactless interface for a smart card reader |
KR20050053395A (en) * | 2003-12-02 | 2005-06-08 | 케이비 테크놀러지 (주) | Mobile phone with smart chip and applet install method to smart chip in mobile phone |
KR20050100136A (en) * | 2004-04-13 | 2005-10-18 | 에스케이 텔레콤주식회사 | Mobile terminal having smart-card |
KR100606208B1 (en) | 2004-11-09 | 2006-07-31 | 한국전자통신연구원 | A method for managing the Session Channel for Multi Session in Mobile Terminal |
Also Published As
Publication number | Publication date |
---|---|
KR20090088565A (en) | 2009-08-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7801492B2 (en) | System and method for managing resources of portable module resources | |
CA2659826C (en) | Managing information relating to secure module applications | |
EP2333700A2 (en) | System and method for installing smart card applet | |
US9635549B2 (en) | Providing subscriber identity module function | |
KR100735341B1 (en) | Apparatus and method for improving speed of data reading from subscriber identity module | |
KR102571100B1 (en) | Terminal application activation method, apparatus and system | |
KR20060023401A (en) | Communication system and method for software upgrade of terminal and the terminal | |
US20090075698A1 (en) | Removable Card And A Mobile Wireless Communication Device | |
US6766177B2 (en) | Mobile phone | |
CN210666775U (en) | Tamper-resistant device for embedded universal integrated circuit card and electronic device | |
US20160266943A1 (en) | Enabling Multiple Secure Elements in a Card Computing Device | |
KR102045662B1 (en) | System and method for managing logical channels for accessing several virtual profiles within a secure element | |
KR101524818B1 (en) | Mobile terminal and method for operating a mobile terminal | |
CN110022536A (en) | Verification information processing method, communication equipment, business platform and storage medium | |
KR100625672B1 (en) | Method for wireless subscription transaction in mobile communication network | |
KR101407272B1 (en) | Smart card, mobile communication terminal using the same and method for channel setting thereof | |
EP3709687B1 (en) | Electronic device and method for managing an ic card with multiple sim profiles | |
KR101075638B1 (en) | METHOD FOR INTERFACING BETWEEN SIM(Subscriber Identification Module) CARD AND MOBILE TERMINAL | |
US11698994B2 (en) | Method for a first start-up operation of a secure element which is not fully customized | |
KR101015254B1 (en) | Location registration system using pseudo IMSI and method thereof | |
KR20080068996A (en) | Apparatus and method for loading using dynamic host configuration protocol control module in bsae station | |
KR100926364B1 (en) | Method and Apparatus for Providing Simultaneously Plural Application Interfaces in Smart Card | |
CN112333695A (en) | Method for binding operating system and SIM card, communication method, device, terminal and medium | |
US20020196786A1 (en) | Method and apparatus for data transmission | |
KR20010088045A (en) | Method for managing encryption key in mobile communication terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
N231 | Notification of change of applicant | ||
A201 | Request for examination | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20180530 Year of fee payment: 5 |
|
FPAY | Annual fee payment |
Payment date: 20190521 Year of fee payment: 6 |