KR20070022737A - Information management device and information management method - Google Patents

Information management device and information management method Download PDF

Info

Publication number
KR20070022737A
KR20070022737A KR1020067026283A KR20067026283A KR20070022737A KR 20070022737 A KR20070022737 A KR 20070022737A KR 1020067026283 A KR1020067026283 A KR 1020067026283A KR 20067026283 A KR20067026283 A KR 20067026283A KR 20070022737 A KR20070022737 A KR 20070022737A
Authority
KR
South Korea
Prior art keywords
memory area
memory
card
area
size
Prior art date
Application number
KR1020067026283A
Other languages
Korean (ko)
Inventor
도시하루 다께무라
Original Assignee
소니 가부시끼 가이샤
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 소니 가부시끼 가이샤 filed Critical 소니 가부시끼 가이샤
Priority to KR1020067026283A priority Critical patent/KR20070022737A/en
Publication of KR20070022737A publication Critical patent/KR20070022737A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/062Securing storage systems
    • G06F3/0622Securing storage systems in relation to access
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0644Management of space entities, e.g. partitions, extents, pools
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/08Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers from or to individual record carriers, e.g. punched card, memory card, integrated circuit [IC] card or smart card

Abstract

IC 카드 내의 메모리 공간을 유효하게 활용한다. IC 카드 내의 메모리 공간을 일단 분할한 후, 분할된 메모리 영역을 해제하는 수속이나, 분할된 메모리 영역의 사이즈를 변경하는 수속, 분할된 메모리 영역에 할당된 식별 번호를 변경하는 수속을 설정한다. 사용 중인 메모리 영역에 영향을 주지 않고 불필요한 메모리 영역만 삭제할 수 있다. 또한, 반드시 메모리 사이즈를 사전에 확정시키지 않아도 운용 중에 변경할 수 있다. 또한, 분할 조작 후에 식별 번호가 조정 가능하기 때문에, 발행 조작 수순이 상이하여도 포맷을 일치시킬 수 있다. Make effective use of the memory space in the IC card. After dividing the memory space in the IC card, the procedure for releasing the divided memory area, the procedure for changing the size of the divided memory area, and the procedure for changing the identification number assigned to the divided memory area are set. Only unnecessary memory areas can be deleted without affecting the memory area being used. In addition, the memory size can be changed during operation without necessarily confirming in advance. In addition, since the identification number is adjustable after the dividing operation, the formats can be matched even if the issuing operation procedures are different.

카드 리더/라이터, IC 카드, 발행자용 통신 장치, 운용자용 통신 장치, 제조자용 통신 장치, 기억 영역 분할 등록 장치, 운용 파일 등록 장치, 카드 발행자, 카드 기억 영역 운용자, 장치 제조자, 카드 기억 영역 사용자 Card reader / writer, IC card, Issuer communication device, Operator communication device, Manufacturer communication device, Storage area division registration device, Operation file registration device, Card issuer, Card storage area operator, Device manufacturer, Card storage area user

Description

정보 관리 장치 및 정보 관리 방법{INFORMATION MANAGEMENT DEVICE AND INFORMATION MANAGEMENT METHOD}Information management device and information management method {INFORMATION MANAGEMENT DEVICE AND INFORMATION MANAGEMENT METHOD}

본 발명은, 비교적 대용량의 메모리 영역에 저장된 정보에의 액세스를 관리하는 정보 관리 장치 및 정보 관리 방법에 관한 것으로, 특히, 메모리 영역 상에 전자적인 가치 정보를 저장해서 전자 결제를 비롯한 안전한 정보의 교환을 행하는 정보 관리 장치 및 정보 관리 방법에 관한 것이다. BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information management apparatus and an information management method for managing access to information stored in a relatively large memory area. In particular, the electronic value information is stored on the memory area to exchange secure information including electronic payment. An information management apparatus and an information management method are provided.

더 상세히 설명하면, 본 발명은, 메모리 영역 상에 다양한 파일을 할당하여, 서비스 운용을 위한 정보를 관리하는 정보 관리 장치 및 정보 관리 방법에 관한 것으로, 특히, 서비스 운용에 일단 할당된 메모리 영역을 해방하거나 사이즈를 변경하거나 하는 정보 관리 장치 및 정보 관리 방법에 관한 것이다. More specifically, the present invention relates to an information management apparatus and an information management method for allocating various files on a memory area to manage information for service operation, and in particular, to release a memory area once allocated to service operation. The present invention relates to an information management apparatus and an information management method for changing the size.

IC 카드로 대표되는 비접촉·근접 통신 시스템은, 조작상의 간편함 때문에, 광범위하게 보급되고 있다. IC 카드의 일반적인 사용 방법은, 이용자가 IC 카드를 카드 리더/라이터를 꽂음으로써 행하여진다. 카드 리더/라이터측에서는 항상 IC 카드를 폴링하고 있고, 외부의 IC 카드를 발견함으로써, 양자간의 통신 동작이 개시된다. 예를 들면, 암증 코드나 그 밖의 개인 인증 정보, 전자 티켓 등의 가치 정보 등을 IC 카드에 저장해 둠으로써, 캐쉬 디스펜서나, 콘서트 회장의 출입구, 역의 개찰구 등에서, 입장자나 승차자의 인증 처리를 행할 수 있다.Non-contact and proximity communication systems typified by IC cards have become widespread because of their operational simplicity. The general usage of the IC card is performed by the user inserting the IC card into a card reader / writer. On the card reader / writer side, the IC card is always polled, and the communication operation between the two is started by finding an external IC card. For example, by storing the authentication code, other personal authentication information, and value information such as an electronic ticket on the IC card, the authentication process for the rider and the rider can be performed at the cash dispenser, the entrance of the concert venue, the ticket gate of the station, and the like. Can be.

최근에는, 미세화 기술의 향상과 더불어, 비교적 대용량의 메모리를 갖는 IC 카드가 출현하고 있다. 예를 들면, IC 카드 상에, 전자 결제를 행하기 위한 전자 화폐나, 특정한 콘서트 회장에 입장하기 위한 전자 티켓 등, 복수의 어플리케이션을 저장해 둠으로써, IC 카드를 다양한 용도로 적용시킬 수 있다. 여기에서 말하는 전자 화폐나 전자 티켓은, 이용자가 제공하는 자금에 따라서 발행되는 전자 데이터를 통해서 결제(전자 결제)되는 구조, 또는 이와 같은 전자 데이터 자체를 가리킨다. In recent years, with the improvement of the miniaturization technique, IC cards having a relatively large memory have emerged. For example, by storing a plurality of applications such as an electronic money for making electronic payments or an electronic ticket for entering a specific concert venue, the IC card can be used for various purposes. The electronic money and the electronic ticket referred to here refer to a structure in which payment (electronic payment) is made through electronic data issued in accordance with funds provided by the user, or such electronic data itself.

또한,IC 카드나 카드용 리더/라이터(카드 쓰기 및 읽기 장치)가 무선·비접촉 인터페이스의 이외에, 외부 기기와 접속하기 위한 유선 인터페이스를 구비하고, 휴대 전화기, PDA(Personal Digital Assistance)나 CE(Consumer Electronics) 기기, 퍼스널 컴퓨터 등의 각 기기에 내장하여 이용함으로써, 이들 기기에 IC 카드 및 카드 리더/라이터 중 어느 한쪽 또는 양쪽의 기능을 장비할 수 있다. 이와 같은 경우, IC 카드 기술을 범용성이 있는 쌍방향의 근접 통신 인터페이스로서 이용할 수 있다. In addition to the wireless / contactless interface, IC cards and card readers / writers (card writing and reading devices) have a wired interface for connecting to external devices, and include mobile phones, PDAs (Personal Digital Assistance) and CE (Consumer). By incorporating and using in each device, such as an electronic device, a personal computer, these devices can be equipped with the function of either or both of an IC card and a card reader / writer. In such a case, IC card technology can be used as a general purpose bidirectional proximity communication interface.

예를 들면, 컴퓨터나 정보 가전 기기와 같은 기기끼리로 근접 통신 시스템이 구성되는 경우에는, IC 카드를 이용한 비접촉 통신은 일대일로 행하여진다. 또한, 임의의 기기가 비접촉 IC 카드와 같은 기기 이외의 상대 디바이스와 통신하는 것도 가능하고, 이 경우에서는, 1개의 기기와 복수의 카드에서의 일대다의 통신을 행하는 어플리케이션도 생각된다. For example, in the case where the proximity communication system is constituted by devices such as computers and information home appliances, contactless communication using an IC card is performed one to one. It is also possible for any device to communicate with a counterpart device other than a device such as a contactless IC card. In this case, an application that performs one-to-many communication between one device and a plurality of cards is also conceivable.

또한, 전자 결제를 비롯한 외부와의 전자적인 가치 정보의 교환 등, IC 카드를 이용한 다양한 어플리케이션을, 정보 처리 단말기 상에서 실행할 수 있다. 예를 들면, 정보 처리 단말기 상의 키보드나 디스플레이 등의 유저 인터페이스를 이용하여 IC 카드에 대한 유저 인터랙션을 정보 처리 단말기 상에서 행할 수 있다. 또한,IC 카드가 휴대 전화기와 접속되어 있음으로써, IC 카드 내에 기억된 내용을 전화망 경유로 교환할 수도 있다. 또한, 휴대 전화기로부터 인터넷 접속해서 이용 대금을 IC 카드로 지불할 수 있다. In addition, various applications using the IC card, such as electronic payment and the exchange of electronic value information with the outside, can be executed on the information processing terminal. For example, the user interaction with the IC card can be performed on the information processing terminal using a user interface such as a keyboard or a display on the information processing terminal. In addition, since the IC card is connected to the cellular phone, the contents stored in the IC card can be exchanged via the telephone network. In addition, the IC card can be used for paying the price of Internet access from a cellular phone.

이와 같이, 임의의 서비스 제공원 사업자용의 파일 시스템을 IC 카드의 내장 메모리에 할당하고, 이 파일 시스템 내에서 해당 사업자에 의한 서비스 운용을 위한 정보(예를 들면, 유저의 식별·인증 정보나 나머지의 가치 정보, 사용 이력(로그) 등)를 관리함으로써, 종래의 프리페이드 카드나 점포마다의 서비스 카드로 치환되는, 비접촉·근접 통신을 기조로 한 유용한 서비스를 실현할 수 있다. In this way, a file system for any service provider is allocated to the internal memory of the IC card, and information for service operation by the service provider in the file system (for example, user identification / authentication information or the rest). By managing the value information, usage history (log), etc.), a useful service based on contactless and proximity communication, which is replaced by a conventional prepaid card or a service card for each store, can be realized.

종래, 서비스 제공원 사업자마다 IC 카드가 개별적으로 발행되어, 유저의 이용에 제공되었다. 이 때문에, 유저는, 이용하고자 하는 서비스마다 IC 카드를 갖추어, 휴대해야만 하였다. 이에 대하여, 비교적 대용량의 메모리 공간을 갖는 IC 카드에 의하면, 단일의 IC 카드의 내장 메모리에 복수의 서비스에 관한 정보를 기록할 만큼의 충분한 용량을 확보할 수 있다(예를 들면, 비특허 문헌 1을 참조). Conventionally, an IC card is issued individually for each service provider, and provided for use by a user. For this reason, the user had to carry and carry an IC card for every service to be used. On the other hand, according to the IC card having a relatively large memory space, it is possible to ensure a sufficient capacity for recording information on a plurality of services in the internal memory of a single IC card (for example, Non-Patent Document 1). See).

IC 카드 내의 메모리 영역은, 초기 상태에서는 IC 카드 발행자가 메모리 영역 전체를 관리하고 있다. IC 카드 발행자 이외의 서비스 제공원 사업자가 메모리 영역으로부터 새로운 파일 시스템을 분할하고, 각각의 파일 시스템에 서비스 운용 을 위한 어플리케이션에 할당한다. 파일 시스템의 분할은, 가상적인 IC 카드의 발행이다. 분할 조작을 반복함으로써, IC 카드 내의 메모리 영역은 복수의 파일 시스템이 공존하는 구조로 되어, 1매의 IC 카드로 멀티 어플리케이션 즉 다종 다양한 어플리케이션을 제공할 수 있다. In the initial state, the memory area in the IC card is managed by the IC card issuer. Service provider operators other than the IC card issuer divide the new file system from the memory area and assign each file system to an application for service operation. The division of the file system is the issuance of the virtual IC card. By repeating the division operation, the memory area in the IC card has a structure in which a plurality of file systems coexist, and it is possible to provide multi-applications, that is, various types of applications, with one IC card.

IC 카드는 원초적으로는 IC 카드 발행자의 관리하에 놓이지만, IC 카드 내의 메모리 공간을 분할하고, 분할한 메모리 영역마다 서비스를 할당함으로써, 1매의 IC 카드로 복수의 서비스를 운용할 수 있다. IC 카드의 메모리 분할은, 가상적인 IC 카드의 발행에 상당한다. Although the IC card is originally under the management of the IC card issuer, a plurality of services can be operated by one IC card by dividing the memory space in the IC card and allocating services for each divided memory area. Memory division of an IC card corresponds to issuance of a virtual IC card.

여기서, IC 카드 내의 메모리 분할에 관해서는, 분할된 메모리 영역의 사이즈는 분할 시에 결정되게 되어, 일단 분할한 메모리 영역을 삭제할 수 없는 등의 제약이 있다. Here, with regard to the memory division in the IC card, the size of the divided memory area is determined at the time of division, and there is a limitation such that the memory area once divided cannot be deleted.

이 때문에, 어떠한 이유에 의해 분할된 메모리 영역이 불필요해진 경우에도, 그 메모리 영역을 해방하여, 원래의 IC 카드 발행자에게 되돌린다고 하는 수속은 존재하지 않는다. 이 때문에, 불필요해진 메모리 영역을 다른 서비스에 재할당할 수 없어, 유한한 리소스가 쓸모없게 된다고 하는 문제가 있다. For this reason, even when the divided memory area becomes unnecessary for some reason, there is no procedure to release the memory area and return it to the original IC card issuer. For this reason, there is a problem in that unnecessary memory areas cannot be reallocated to other services, and the finite resources become useless.

혹은, 어떠한 이유에 의해 분할된 메모리 영역의 사이즈를 변경(확대 또는 축소)할 필요가 생긴 경우에도, 분할 조작 시에 설정한 사이즈를 변경한다고 하는 수속은 존재하지 않는다. 이 때문에, 등록 시에 할당한 영역이 서비스 운용 중에 부족하였다고 하여도, 그 메모리 영역을 확장할 수는 없다. 혹은 반대로, 분할 시에 여유를 가지고 메모리 영역을 확보한 경우에, 나중에 불필요나 사이즈를 해방하 여 할당된 메모리 영역을 축소할 수도 없다. Alternatively, even if it is necessary to change (enlarge or reduce) the size of the divided memory area for some reason, there is no procedure for changing the size set during the dividing operation. For this reason, even if the area allocated at the time of registration is insufficient during service operation, the memory area cannot be expanded. On the contrary, in the case where the memory area is secured with a spare at the time of dividing, it is not possible to reduce the allocated memory area by freeing unnecessary or size later.

비특허 문헌 1 :「無線ICタグのすべて-ゴマ粒チップでビジネスが變わる」(106∼107페이지, RFID 테크놀로지 편집부, 닛케이 BP사, 2004년 4월 20일 발행) [Non-Patent Document 1] `` Line-less IC Tag-Sample Coded Production '' (pages 106 to 107, RFID Technology Editor, Nikkei BP, issued April 20, 2004)

<발명의 개시><Start of invention>

<발명이 해결하고자 하는 과제>Problems to be Solved by the Invention

본 발명의 주된 목적은, 메모리 영역 상에 다양한 파일을 할당하여, 서비스 운용을 위한 정보를 적합하게 관리할 수 있는, 우수한 정보 관리 장치 및 정보 관리 방법을 제공하는 것에 있다. The main object of the present invention is to provide an excellent information management apparatus and an information management method capable of appropriately managing information for service operation by allocating various files on a memory area.

본 발명의 또 다른 목적은, 서비스 운용에 일단 할당된 메모리 영역을 해방하거나 사이즈를 변경하거나 하여, 유한한 리소스를 유효하게 활용할 수 있는, 우수한 정보 관리 장치 및 정보 관리 방법을 제공하는 것에 있다. It is still another object of the present invention to provide an excellent information management apparatus and information management method capable of effectively utilizing a finite resource by releasing or changing the size of a memory area once allocated for service operation.

<과제를 해결하기 위한 수단>Means for solving the problem

본 발명은, 상기 과제를 참작해서 이루어진 것으로, 그 제1 측면은, 메모리 공간을 구비하고, 1 이상의 메모리 영역으로 분할하여 관리하는 정보 관리 장치로서, 상기 메모리 공간은, 분할원이 갖는 제1 메모리 영역과, 상기 분할원으로부터 분할되어 다른 사업자에게 할당되어 있는 1 이상의 제2 메모리 영역으로 이루어지며, 사업자로부터의 요구에 따라 상기 제2 메모리 영역의 분할을 해제하여 상기 제1 메모리 영역으로 되돌리는 분할 해제 수단을 구비하는 것을 특징으로 하는 정보 관리 장치이다. This invention is made | formed in view of the said subject, The 1st side is an information management apparatus which has a memory space and divides and manages into one or more memory area | region, The said memory space is the 1st memory which a division source has; And a second memory area divided from the partition source and assigned to another operator, wherein the partition releases the partition of the second memory region according to a request from the operator and returns it to the first memory region. It is an information management apparatus provided with a release means.

각 메모리 영역에의 액세스는, 해당하는 사업자의 키에 기초하여 제어할 수 있다. Access to each memory area can be controlled based on the operator's key.

상기 분할 해제 수단은, 분할 해제의 대상으로 되는 제2 메모리 영역을 식별하는 정보를 포함한 데이터 블록을 상기 분할원의 키로 암호화한 분할 해제 패키지라고 하는 형태로, 분할 해제 요구를 수신한다. 그리고, 상기 분할원의 키로 그 분할 해제 패키지를 복호하고, 그 데이터 블록에서 지시되어 있는 제2 메모리 영역의 분할을 해제한다. The de-partitioning means receives a departition request in the form of a departition package in which a data block containing information identifying a second memory area to be departed is encrypted with a key of the partition source. Then, the partitioning package is decrypted with the partitioning source key, and partitioning of the second memory area indicated by the data block is released.

또한, 본 발명의 제2 측면은, 메모리 공간을 구비하고, 1 이상의 메모리 영역으로 분할하여 관리하는 정보 관리 장치로서, 상기 메모리 공간은, 분할원이 갖는 제1 메모리 영역과, 상기 분할원으로부터 분할되어 다른 사업자에게 할당되어 있는 1 이상의 제2 메모리 영역으로 이루어지며, 사업자로부터의 요구에 따라서, 분할 후에 제2 메모리 영역의 사이즈를 확대 또는 축소하는 분할 영역 사이즈 변경 수단을 구비하는 것을 특징으로 하는 정보 관리 장치이다. A second aspect of the present invention is an information management apparatus including a memory space and divided into one or more memory areas, wherein the memory space is divided from a first memory area of a partition source and the partition source. And at least one second memory area allocated to another operator, and comprising partition area size changing means for enlarging or reducing the size of the second memory area after division in accordance with a request from the operator. It is a management device.

상기 분할 영역 사이즈 변경 수단은, 사이즈 변경의 대상으로 되는 제2 메모리 영역을 식별하는 정보와, 영역의 사이즈를 확대 또는 축소를 나타내는 정보와, 변경하는 사이즈에 관한 정보를 포함한 데이터 블록을 상기 분할원의 키로 암호화한 분할 사이즈 변경 패키지라고 하는 형태로, 분할 사이즈 변경 요구를 수신한다. 그리고, 상기 분할원의 키로 그 분할 사이즈 변경 패키지를 복호하고, 그 데이터 블록에서 지시되어 있는 제2 메모리 영역의 사이즈를 지정된 사이즈만큼 변경한다. The partition area size changing means comprises: a data block including information for identifying a second memory area to be resized, information indicating whether an area is enlarged or reduced, and information about a size to be changed; Receives a split size change request in the form of a split size change package encrypted with a key. Then, the division size change package is decoded with the division source key, and the size of the second memory area indicated by the data block is changed by the designated size.

여기서, 제2 메모리 영역의 사이즈를 확대할 때는, 변경하는 사이즈 분만큼 의 제1 메모리 영역의 미사용 영역을 제2 메모리 영역에 할당한다. 또한, 제2 메모리 영역의 사이즈를 축소할 때는, 변경하는 사이즈 분만큼의 제2 메모리 영역의 미사용 영역을 제1 메모리 영역으로 되돌리도록 한다. When the size of the second memory area is enlarged, an unused area of the first memory area corresponding to the size to be changed is allocated to the second memory area. When the size of the second memory area is reduced, the unused area of the second memory area corresponding to the size to be changed is returned to the first memory area.

또한, 본 발명의 제3 측면은, 메모리 공간을 구비하고, 1 이상의 메모리 영역으로 분할하여 관리하는 정보 관리 장치로서, 상기 메모리 공간은, 분할원이 갖는 제1 메모리 영역과, 상기 분할원으로부터 분할되어 다른 사업자에게 할당되어 있는 1 이상의 제2 메모리 영역으로 이루어지며, 분할할 때마다 제2 메모리 영역의 각각에 식별 정보가 할당되어 있고, 사업자로부터의 요구에 따라서 상기 제2 메모리 영역의 식별 정보를 변경하는 식별 정보 변경 수단을 구비하는 것을 특징으로 하는 정보 관리 장치이다. A third aspect of the present invention is an information management apparatus including a memory space and divided into one or more memory areas, wherein the memory space is divided from a first memory area of a partition source and the partition source. And one or more second memory areas allocated to other operators, each time division is performed, identification information is assigned to each of the second memory areas, and identification information of the second memory areas is requested according to a request from the operator. An information management apparatus comprising: identification information changing means for changing.

상기 식별 정보 변경 수단은, 식별 정보 변경의 대상으로 되는 제2 메모리 영역의 식별 정보 및 변경하는 식별 정보를 포함한 데이터 블록을 상기 분할원의 키로 암호화한 식별 정보 변경 패키지라고 하는 형태로, 식별 정보 변경 요구를 수신한다. 그리고, 상기 분할원의 키로 그 식별 정보 변경 패키지를 복호하고, 그 데이터 블록에서 지시되어 있는 제2 메모리 영역의 식별 정보를 지정되어 있는 식별 정보로 변경한다. The identification information changing means is an identification information changing package in the form of an identification information changing package obtained by encrypting a data block including identification information of the second memory area to be changed and identification information to be changed with a key of the division source. Receive the request. Then, the identification information change package is decoded with the division source key, and the identification information of the second memory area indicated by the data block is changed to the specified identification information.

상기 식별 정보 변경 수단은, 예를 들면, 임의의 사업자가 갖는 제2 메모리 영역의 식별 정보를, 다른 사업자의 제2 메모리 영역의 분할 해제에 의해 결락한 식별 정보로 변경하도록 한다. The identification information changing means causes, for example, to change the identification information of the second memory area owned by any operator to the identification information lost by the division of the second memory area of another operator.

여기서 말하는 정보 관리 장치는, 무선 통신부 및, 데이터 송수신 기능과 데 이터 처리부를 갖는 IC칩을 내장하는 비접촉 IC 카드, 표면에 단자를 갖는 접촉 IC 카드, 접촉/비접촉 IC 카드와 마찬가지의 기능을 갖는 IC칩을 휴대 전화기, PHS(Personal Handyphone System), PDA 등의 정보 통신 단말 장치에 내장한 장치이다. 이하에서는, 이들을 총칭하여, 간단히 「IC 카드」라고 부르는 경우도 있다. The information management apparatus referred to here includes a non-contact IC card incorporating an IC chip having a wireless communication unit and a data transmission / reception function and a data processing unit, a contact IC card having terminals on its surface, and an IC having functions similar to those of a contact / non-contact IC card. It is a device incorporating a chip into an information communication terminal device such as a cellular phone, a personal handyphone system (PHS), a PDA, and the like. In the following description, these may be collectively referred to simply as "IC card".

이 정보 관리 장치는, EEPROM 등의 데이터 축적 메모리를 포함하는 메모리 영역과 데이터 처리부를 가짐과 함께, 데이터 통신 기능을 갖는 것이다. 휴대 전화기 등의 경우에는, IC칩을 내장하는 IC 카드 등의 외부 기억 매체를 착탈 가능하게 구성하여도 된다. 또한, 휴대 전화 회사가 발행하는 계약자 정보를 기록한 SIM(Subscriber Identity Module) 기능을 IC칩에 탑재하여도 된다. 정보 관리 장치는, 인터넷 등의 정보 통신 네트워크를 통해서 데이터 통신을 행하여도 되며, 외부 단말 장치와 유선 또는 무선으로 직접 데이터 통신을 행하여도 된다. This information management device has a memory area including a data storage memory such as an EEPROM and a data processing unit, and has a data communication function. In the case of a mobile phone or the like, an external storage medium such as an IC card in which the IC chip is incorporated may be detachably configured. The IC chip may also include a subscriber identity module (SIM) function that records contractor information issued by a cellular phone company. The information management device may perform data communication via an information communication network such as the Internet, or may directly perform data communication with an external terminal device by wire or wirelessly.

본 발명은, IC 카드가 갖는 내템퍼성과 인증 기능을 이용한, 가치 정보의 교환 등을 포함한 시큐러티가 요구되는 서비스의 제공에 관한 것이다. IC 카드 내의 메모리는, 일반적으로, 복수의 에리어로 분할되고, 에리어마다 서로 다른 암호 키를 설정하여 액세스의 제어가 행하여진다. 여기서 말하는 에리어는, 메모리 공간을 분할하여 얻어지는 파일 시스템, 혹은 파일 시스템 내의 디렉토리나 개별의 파일에 상당한다. IC 카드의 메모리 공간을 복수의 파일 시스템으로 분할하는 것은, 가상적인 IC 카드의 발행이다. The present invention relates to the provision of a service requiring security including the exchange of value information using the temper resistance and the authentication function of an IC card. Generally, the memory in the IC card is divided into a plurality of areas, and access control is performed by setting different encryption keys for each area. The area referred to here corresponds to a file system obtained by dividing a memory space, a directory in the file system, or an individual file. Dividing the memory space of the IC card into a plurality of file systems is a virtual IC card issuance.

IC 카드 내의 메모리 공간의 분할은, 기본적으로는, IC 카드의 발행자의 권 한에 의해 행하여진다. 그리고, 일단 분할된 메모리 영역은, 개개의 서비스 제공원으로 되는 사업자에게 할당되어, 서비스 제공 사업자의 관리 하에 놓이게 된다. 여기서, 분할된 메모리 영역의 사이즈는 분할 시에 결정되게 되어, 일단 분할한 메모리 영역을 삭제할 수 없는 등의 제약이 있다. 이 때문에, 분할된 메모리 영역이 불필요해져도, 이를 해방하는 수속이 없어, 다른 서비스에 재할당할 수 없어, 유효한 리소스가 쓸모없게 된다고 하는 문제가 있다. 또한, 일단 분할하여 얻은 메모리 영역의 사이즈가 부족한 경우나 반대로 잉여가 발생한 경우에도, 일단 확보한 사이즈를 확대하거나 축소하거나 하는 수속이 없다. The division of the memory space in the IC card is basically performed by the authority of the issuer of the IC card. The memory area once divided is allocated to the service providers serving as individual service providers, and is under the management of the service provider. Here, the size of the divided memory area is determined at the time of division, and there is a limitation such that the memory area once divided cannot be deleted. For this reason, there is a problem that even if the divided memory area becomes unnecessary, there is no procedure for releasing it, it cannot be reallocated to another service, and the effective resource becomes useless. In addition, even if the size of the memory area obtained by dividing once is insufficient or, conversely, there is no procedure for expanding or reducing the size once secured.

따라서, 본 발명에 따른 정보 관리 장치에서는,IC 카드 내의 메모리 공간을 일단 분할한 후, 분할된 메모리 영역을 해제하는 수속이나, 분할된 메모리 영역의 사이즈를 변경하는 수속, 분할된 메모리 영역에 할당된 식별 번호를 변경하는 수속 등을 설정하였다. Therefore, in the information management apparatus according to the present invention, once the memory space in the IC card is divided, the procedure for releasing the divided memory area, the procedure for changing the size of the divided memory area, and the allocated memory area are allocated. Procedures for changing the identification number were set.

메모리 디바이스를 논리적으로 복수 분할하여 운용하는 경우, 임의의 시점에서 특정한 메모리 영역이 불필요해지는 것도 생각된다. 예를 들면, 메모리 디바이스에 유저에 대한 서비스가 이미 등록되어 있는 경우, 또한 유저가 메모리 디바이스를 이미 사용하고 있음으로써 다양한 개인 정보를 보유하고 있는 경우에는, 종래는 메모리 디바이스의 초기화밖에 방법이 없기 때문에 운용상 불편하다. 이에 대하여, 본 발명에 따르면, 분할 조작 후에 특정한 메모리 영역만 개별적으로 해방하는 것이 가능하게 되기 때문에, 사용 중인 메모리 영역에 영향을 주지 않고 불필요한 메모리 영역만 삭제할 수 있다. When logically dividing and operating a memory device, it is also considered that a specific memory area is unnecessary at any time. For example, when a service for a user is already registered in a memory device, and when a user holds various personal information by using the memory device already, there is conventionally only a method of initializing the memory device. Inconvenient in operation In contrast, according to the present invention, since only a specific memory area can be freed individually after the division operation, only an unnecessary memory area can be deleted without affecting the memory area in use.

또한, 메모리 디바이스를 논리적으로 복수로 분할하는 경우, 개개의 영역 사이즈를 분할 조작 시에 확정할 수 있다고는 할 수 없다. 종래는, 분할 조작 후에 영역 사이즈의 변경을 할 수 없기 때문에, 개개의 영역의 사이즈에 충분한 마진을 갖게 함으로써 메모리 부족을 회피할 필요가 있다. 이 때문에, 유한한 메모리 영역을 유효하게 사용할 수 없다. 이에 대하여, 본 발명에 따르면, 분할 조작 후에 개개의 영역 사이즈의 변경이 가능하기 때문에, 반드시 메모리 사이즈를 사전에 확정시키지 않아도 운용 중에 변경할 수 있다. In addition, in the case of logically dividing the memory device into plural, the individual area size cannot be determined at the time of dividing operation. Since the area size cannot be changed after the dividing operation conventionally, it is necessary to avoid insufficient memory by having a sufficient margin for the size of each area. For this reason, the finite memory area cannot be used effectively. On the other hand, according to the present invention, since the individual area size can be changed after the dividing operation, it can be changed during operation without necessarily determining the memory size in advance.

또한, 메모리 디바이스를 논리적으로 복수로 분할하는 경우, 그 분할 조작 순서를 매회 통일할 수 있다고는 할 수 없다. 분할 조작이 본래 상정한 수순과 상이한 경우에는, 임의의 메모리 영역과 그것에 대응하는 식별 번호가 본래의 것과 다르기 때문에, 포맷이 상이하게 된다. 이에 대하여, 본 발명에 따르면, 분할 조작 후에 식별 번호를 조정하는 것이 가능하기 때문에, 발행 조작 수순이 상이하여도 포맷을 일치시킬 수 있다. In addition, when logically dividing a memory device into a plurality, it cannot be said that the division operation sequence can be unified each time. When the dividing operation differs from the originally assumed procedure, since the arbitrary memory area and the identification number corresponding to it differ from the original, the format is different. In contrast, according to the present invention, since the identification number can be adjusted after the dividing operation, the formats can be matched even if the issuing operation procedures are different.

<발명의 효과>Effect of the Invention

본 발명에 따르면, 메모리 영역 상에 다양한 파일을 할당하여, 서비스 운용을 위한 정보를 적합하게 관리할 수 있는, 우수한 정보 관리 장치 및 정보 관리 방법을 제공할 수 있다. According to the present invention, it is possible to provide an excellent information management apparatus and information management method capable of appropriately managing information for service operation by allocating various files on a memory area.

또한, 본 발명에 따르면, 서비스 운용에 일단 할당된 메모리 영역을 해방하거나 사이즈를 변경하거나 하여, 유한한 리소스를 유효하게 활용할 수 있는, 우수한 정보 관리 장치 및 정보 관리 방법을 제공할 수 있다. Further, according to the present invention, it is possible to provide an excellent information management apparatus and an information management method capable of effectively utilizing a finite resource by releasing or changing the size of a memory area once allocated for service operation.

본 발명의 또 다른 목적, 특징이나 이점은, 후술하는 본 발명의 실시 형태나 첨부하는 도면에 기초하는 보다 상세한 설명에 의해 명확해질 것이다.Further objects, features and advantages of the present invention will become apparent from the following detailed description based on the embodiments of the present invention and the accompanying drawings.

도 1은, 본 발명을 적용 가능한 비접촉 IC 카드 통신 시스템의 구성을 모식적으로 도시한 도면. BRIEF DESCRIPTION OF THE DRAWINGS The figure which shows typically the structure of the contactless IC card communication system to which this invention is applicable.

도 2는, IC 카드를 이용하여 실현되는, 전자 화폐나 전자 티켓, 그 밖의 가치 정보를 운용하는 서비스 제공 시스템의 전체적 구성을 모식적으로 도시한 도면. Fig. 2 is a diagram schematically showing the overall configuration of a service providing system for operating electronic money, electronic tickets, and other value information realized by using an IC card.

도 3은, 원래의 카드 발행자가 자기의 파일 시스템만을 관리하고 있는 메모리 영역의 상태를 도시한 도면. Fig. 3 shows a state of a memory area in which the original card issuer manages only his file system.

도 4는, 카드 발행자가 자기의 파일 시스템의 빈 영역 중에서, 임의의 범위의 메모리를 영역 관리자에게 대여(또는 양도)하는 것을 허가할 수 있는 것을 도시한 도면. 4 is a diagram showing that a card issuer can be allowed to lend (or transfer) an arbitrary range of memory to an area manager among the free areas of its file system.

도 5는, 다른 서비스 제공원 사업자가, 카드 발행자로부터 허가받은 영역에서 메모리 영역을 분할하여, 새로운 파일 시스템을 생성한 상태를 도시한 도면. Fig. 5 is a diagram showing a state in which another service provider operator divides a memory area in an area authorized by a card issuer to create a new file system.

도 6은, 공통 영역 관리자가, 카드 발행자로부터 허가받은 영역에서, 공통 영역의 시스템 코드 SC0으로 메모리를 분할한 상태를 도시한 도면. Fig. 6 is a diagram showing a state in which the common area manager divides the memory into the system code SC0 of the common area in the area permitted by the card issuer.

도 7은, IC 카드의 메모리 영역 내에 복수의 파일 시스템이 공존하는 구조를 도시한 도면. Fig. 7 shows a structure in which a plurality of file systems coexist in a memory area of an IC card.

도 8은, IC 카드 내의 펌웨어의 기능 구성을 모식적으로 도시한 도면. 8 is a diagram schematically showing a functional configuration of firmware in an IC card.

도 9는, 메모리 영역을 분할하는 수순을 설명하기 위한 도면. 9 is a diagram for explaining a procedure of dividing a memory area.

도 10은, 메모리 영역을 분할하는 수순을 설명하기 위한 도면. 10 is a diagram for explaining a procedure of dividing a memory area.

도 11은, 메모리 영역을 분할하는 수순을 설명하기 위한 도면. 11 is a diagram for explaining a procedure of dividing a memory area.

도 12는, 일단 분할한 메모리 영역을 해방하는 수순을 설명하기 위한 도면. 12 is a diagram for explaining a procedure of releasing a memory region once divided.

도 13은, 일단 분할한 메모리 영역을 해방하는 수순을 설명하기 위한 도면. FIG. 13 is a diagram for explaining a procedure of releasing a memory region once divided. FIG.

도 14는, 일단 분할한 메모리 영역의 사이즈를 변경하는 수순을 설명하기 위한 도면. 14 is a diagram for explaining a procedure for changing the size of a memory region once divided.

도 15는, 일단 분할한 메모리 영역의 사이즈를 변경하는 수순을 설명하기 위한 도면. 15 is a diagram for explaining a procedure for changing the size of a memory region once divided.

도 16은, 일단 분할한 메모리 영역에 배정된 식별 번호를 변경하는 수순을 설명하기 위한 도면. Fig. 16 is a diagram for explaining a procedure of changing an identification number assigned to a memory area once divided.

도 17은, 일단 분할한 메모리 영역에 배정된 식별 번호를 변경하는 수순을 설명하기 위한 도면. Fig. 17 is a view for explaining a procedure for changing an identification number assigned to a memory area once divided.

도 18은, 파일 시스템을 분할할 때의 사전 처리를 설명하기 위한 도면. 18 is a diagram for explaining preprocessing when dividing a file system.

도 19는, 카드 발행자가 IC 카드에 대하여 폴링을 행하는 수속을 도시한 시퀀스도. Fig. 19 is a sequence diagram showing a procedure in which a card issuer polls an IC card.

도 20은, 카드 발행자가 IC 카드에 대하여 분할 요구를 행하는 수속을 설명하기 위한 도면. Fig. 20 is a view for explaining a procedure in which a card issuer makes a division request for an IC card.

도 21은, IC 카드 상의 메모리 영역이 분할되어, 새로운 파일 시스템이 생성되는 모습을 도시한 도면. Fig. 21 shows how a memory area on the IC card is divided so that a new file system is created.

도 22는, 신규의 서비스 제공원 사업자가 IC 카드의 메모리 영역 상에 자기의 파일 시스템을 취득한 후에 행하는, 발행자 키 KIi와 시스템 코드 SCi의 재설정 수속을 도시한 도면. Fig. 22 is a diagram showing a reset procedure of the issuer key KI i and the system code SC i performed after a new service provider acquires its file system on the memory area of the IC card.

도 23은, 분할하여 얻어진 파일 시스템을 삭제할 때의 사전 처리를 설명하기 위한 도면. Fig. 23 is a diagram for explaining preprocessing when deleting a file system obtained by dividing.

도 24는, 카드 발행자가 IC 카드에 대하여 분할 해제 요구를 행하는 수속을 도시한 도면. Fig. 24 is a diagram showing a procedure in which a card issuer makes a division release request for an IC card.

도 25는, IC 카드 상에서 분할에 의해 얻어져 있는 메모리 영역이 해제되어, IC 카드 발행자의 파일 시스템으로 되돌려지는 모습을 도시한 도면. Fig. 25 is a diagram showing a state where a memory area obtained by dividing on an IC card is released and returned to the file system of the IC card issuer.

도 26은, 분할하여 얻어진 파일 시스템의 사이즈를 변경할 때의 사전 처리를 설명하기 위한 도면. Fig. 26 is a diagram for explaining preprocessing when changing the size of a file system obtained by dividing.

도 27은, 카드 발행자가 IC 카드에 대하여 분할 사이즈 변경 요구를 행하는 수속을 도시한 도면. Fig. 27 is a diagram showing a procedure in which a card issuer makes a division size change request for an IC card.

도 28은, IC 카드 상에서 분할에 의해 얻어져 있는 메모리 영역의 사이즈가 변경되는 모습을 도시한 도면. Fig. 28 is a diagram showing how the size of the memory area obtained by dividing on the IC card is changed.

도 29는, 본 발명의 일 실시 형태에 따른 IC 카드의 하드웨어 구성을 모식적으로 도시한 도면. 29 is a diagram schematically showing a hardware configuration of an IC card according to one embodiment of the present invention.

<도면의 주요 부분에 대한 부호 설명><Description of the symbols for the main parts of the drawings>

1: 카드 리더/라이터1: card reader / writer

2: IC 카드2: IC card

3: 컨트롤러3: controller

111: 발행자용 통신 장치111: Publisher device

112: 운용자용 통신 장치112: communication device for the operator

113: 제조자용 통신 장치113: manufacturer's communication device

114: 기억 영역 분할 등록 장치114: storage area partition registration device

115: 운용 파일 등록 장치115: operation file registration device

116: IC 카드116: IC card

117: 네트워크117: network

121: 카드 발행자121: card issuer

122: 카드 기억 영역 운용자122: card storage area operator

123: 장치 제조자123: device manufacturer

124: 카드 기억 영역 사용자124: card storage area user

1001: 안테나부1001: antenna unit

1002: 아날로그부1002: analogue

1003: 디지털 제어부1003: digital control unit

1004: 메모리1004: memory

1005: 외부 인터페이스1005: external interface

1006: 반송파 검출기1006: carrier detector

1100: 휴대 단말기1100: mobile terminal

1110: 프로그램 제어부1110: program control unit

1120: 표시부1120: display unit

1130: 유저 입력부1130: user input unit

1140: 전원 제어부1140: power control unit

<발명을 실시하기 위한 최량의 형태><Best mode for carrying out the invention>

이하, 도면을 참조하면서 본 발명의 실시 형태에 대하여 상해한다.EMBODIMENT OF THE INVENTION Hereinafter, embodiment of this invention is injured, referring drawings.

A. A. ICIC 카드에 의한 비접촉 데이터 통신 시스템 Contactless data communication system by card

도 1에는, 본 발명을 적용 가능한 비접촉 IC 카드 통신 시스템의 구성을 모식적으로 도시하고 있다. Fig. 1 schematically shows the configuration of a contactless IC card communication system to which the present invention can be applied.

이 비접촉 카드 시스템은, 카드 리더/라이터(1)와, IC 카드(2)와, 컨트롤러(3)로 구성되고, 카드 리더/라이터(1)와 IC 카드(2) 사이에서는, 전자파를 이용하여 비접촉으로, 데이터의 송수신이 행하여진다. 즉, 카드 리더/라이터(1)가 IC 카드(2)에 소정의 커맨드를 송신하고, IC 카드(2)는 수신한 커맨드에 대응하는 처리를 행한다. 그리고, IC 카드(2)는, 그 처리 결과에 대응하는 응답 데이터를 카드 리더/라이터(1)에 송신한다. This non-contact card system includes a card reader / writer 1, an IC card 2, and a controller 3, and uses electromagnetic waves between the card reader / writer 1 and the IC card 2 by using electromagnetic waves. Non-contact, data transmission and reception are performed. That is, the card reader / writer 1 transmits a predetermined command to the IC card 2, and the IC card 2 performs a process corresponding to the received command. The IC card 2 then transmits response data corresponding to the processing result to the card reader / writer 1.

카드 리더/라이터(1)는, 소정의 인터페이스(예를 들면, RS-485A의 규격 등에 준거한 것)를 통해서 컨트롤러(3)에 접속되어 있다. 컨트롤러(3)는, 카드 리더/라이터(1)에 대하여 제어 신호를 공급함으로써, 소정의 처리를 행하게 한다.The card reader / writer 1 is connected to the controller 3 via a predetermined interface (for example, the one conforming to the standard of RS-485A or the like). The controller 3 causes the predetermined processing to be performed by supplying a control signal to the card reader / writer 1.

또한,IC 카드(2)는, 도시한 비접촉 IC 카드 인터페이스 이외에, USRT나 I2C 등의 유선 인터페이스를 구비하고 있어도 된다. In addition, the IC card 2 may be provided with a wired interface such as USRT or I 2 C in addition to the illustrated non-contact IC card interface.

B. B. ICIC 카드의 운용 Card operation

도 2에는, IC 카드를 이용하여 실현되는, 전자 화폐나 전자 티켓, 그 밖의 가치 정보를 운용하는 서비스 제공 시스템의 전체적 구성을 모식적으로 도시하고 있다. Fig. 2 schematically shows the overall configuration of a service providing system for operating electronic money, electronic tickets, and other value information realized by using an IC card.

도시한 시스템(100)은, 예를 들면, IC 카드 발행자(121)가 사용하는 발행자용 통신 장치(111)와, 카드 기억 영역 운용자(122)가 사용하는 운용자용 통신 장치(112)와, 장치 제조자(123)가 사용하는 제조자용 통신 장치(113)와, 카드 기억 영역 사용자(124)가 사용하는 기억 영역 분할 장치(114) 및 운용 파일 등록 장치(115)로 구성된다. The illustrated system 100 includes, for example, an issuer communication device 111 used by the IC card issuer 121, an operator communication device 112 used by the card storage area operator 122, and an apparatus. A manufacturer communication device 113 used by the manufacturer 123, a storage area divider 114, and an operation file registration device 115 used by the card storage area user 124 are constituted.

IC 카드 발행자(121)가 카드 소유자(126)에게 IC 카드(116)를 발행한 경우에, 소정의 조건에 기초하여, 카드 기억 영역 사용자(124)에 의해 제공되는 서비스에 관계되는 파일 데이터를 IC 카드(116)에 등록한다. 이에 의해, 카드 소유자(126)는, 단체의 IC 카드(116)를 이용하여, IC 카드 발행자(121) 및 카드 기억 영역 사용자(124)의 쌍방의 서비스를 받는 것이 가능하게 된다. In the case where the IC card issuer 121 issues the IC card 116 to the card holder 126, the IC stores file data relating to a service provided by the card storage area user 124 based on a predetermined condition. The card 116 is registered. Thereby, the card holder 126 can receive the service of both the IC card issuer 121 and the card storage area user 124 using the IC card 116 of a group.

도 2에 도시하는 바와 같이, 시스템(100)에서는, 발행자용 통신 장치(111), 운용자용 통신 장치(112), 제조자용 통신 장치(113), 기억 영역 분할 장치(114) 및 운용 파일 등록 장치(115)가, 네트워크(117)를 통해서 접속된다. As shown in FIG. 2, in the system 100, the issuer communication device 111, the operator communication device 112, the manufacturer communication device 113, the storage area dividing device 114, and the operating file registration device. 115 is connected via the network 117.

IC 카드 발행자(121)는, IC 카드(116)의 발행을 행하는 자로서, IC 카드(116)를 이용하여 자기의 서비스를 제공한다. The IC card issuer 121 is a person who issues the IC card 116 and provides its own service using the IC card 116.

카드 기억 영역 운용자(122)는, IC 카드 발행자(121)로부터의 의뢰를 받아, IC 카드 발행자(121)에 대하여 발행된 IC 카드(116) 내의 기억부(반도체 메모리)에 구성되는 기억 영역 중,IC 카드 발행자(121)가 사용하지 않는 기억 영역을 카드 기억 영역 사용자(124)에게 빌려주는 서비스를 행하는 자이다. The card storage area operator 122 receives a request from the IC card issuer 121 and, among the memory areas configured in the storage unit (semiconductor memory) in the IC card 116 issued to the IC card issuer 121, A person who performs a service of lending a storage area not used by the IC card issuer 121 to the card storage area user 124.

장치 제조자(123)는, 카드 기억 영역 운용자(122)로부터 의뢰를 받아, 기억 영역 분할 장치(114)를 제조하고, 카드 기억 영역 사용자(124)에게 납품하는 자이다.The device manufacturer 123 receives a request from the card storage area operator 122, manufactures the storage area dividing device 114, and delivers it to the card storage area user 124.

카드 기억 영역 사용자(124)는, 카드 기억 영역 운용자(122)에게 의뢰를 행하여, IC 카드(116)의 기억 영역을 사용하여 자기의 독자의 서비스를 제공하는 자로서, 메모리 영역을 분할하여 새로운 파일 시스템을 작성하는 서비스 제공원 사업자(전술)에 상당하고, 자기의 파일 시스템을 이용하여 자신의 서비스 제공을 행한다. The card storage area user 124 makes a request to the card storage area operator 122 and provides a service of its own using the storage area of the IC card 116. The card storage area user 124 divides the memory area into new files. It corresponds to a service provider company (described above) that creates a system, and provides its own service using its own file system.

카드 소유자(126)는, IC 카드 발행자(121)로부터 IC 카드(116)의 발행을 받아, IC 카드 발행자(121)가 제공하는 서비스를 받는 자이다. 카드 소유자(126)는, IC 카드(116)의 발행 후에, 카드 기억 영역 사용자(124)가 제공하는 서비스를 받는 것을 희망하는 경우에는, 기억 영역 분할 장치(114) 및 운용 파일 등록 장치(115)를 이용하여, 카드 기억 영역 사용자(124)의 서비스에 관계되는 파일 데이터를 IC 카드(116)에 기억하고, 그 후, 카드 기억 영역 사용자(124)의 서비스를 받을 수 있 게 된다. The card holder 126 is a person who receives the issuance of the IC card 116 from the IC card issuer 121 and receives a service provided by the IC card issuer 121. When the cardholder 126 wishes to receive a service provided by the card storage area user 124 after issuing the IC card 116, the storage area partitioning device 114 and the operating file registration device 115 By using the above, file data relating to the service of the card storage area user 124 can be stored in the IC card 116, and then the service of the card storage area user 124 can be received.

시스템(100)은, IC 카드 발행자(121)의 서비스와, 카드 기억 영역 사용자(124)의 서비스를 단체의 IC 카드(116)를 이용하여 제공할 때에, IC 카드 발행자(121) 및 카드 기억 영역 사용자(124)의 서비스에 관계되는 파일 데이터가 기억되는 기억 영역에, 권한을 갖지 않는 타인에 의해 부정하게 데이터의 기입 및 재기입 등이 행하여지는 것을 곤란하게 하는 구성을 갖고 있다. When the system 100 provides the service of the IC card issuer 121 and the service of the card storage area user 124 using the IC card 116 of a group, the IC card issuer 121 and the card storage area are provided. The storage area in which the file data related to the service of the user 124 is stored has a configuration that makes it difficult to illegally write, rewrite, or the like, by a non-authorized person.

또한, 도 2에서는, 각각 단수의 IC 카드 발행자(121), 카드 기억 영역 사용자(124) 및 카드 소유자(126)가 있는 경우를 예시했지만, 이들은, 각각 복수이어도 된다. In addition, although FIG. 2 illustrated the case where there exists a single IC card issuer 121, the card storage area user 124, and the card holder 126, respectively, two or more may be sufficient.

IC 카드(116)는, 그 자의대로, 카드형의 데이터 통신 장치이어도 되며, 소위 IC 카드 기능이 실장된 반도체 칩을 내장한 휴대 전화기(혹은 그 밖의 휴대 단말기나 CE 기기)로서 구현화되는 경우도 있다. The IC card 116 may be a card-type data communication device as desired, and may be embodied as a cellular phone (or other portable terminal or CE device) incorporating a so-called semiconductor chip on which an IC card function is mounted. .

도 29에는, 본 발명의 일 실시 형태에 따른 IC 카드부의 하드웨어 구성을 모식적으로 도시하고 있다. 도 29에 도시하는 바와 같이, IC 카드부는, 안테나부(1001)에 접속된 아날로그부(1002)와, 디지털 제어부(1003)와, 메모리(1004)와, 외부 인터페이스(1005)로 구성되며, 휴대 단말기(1100)에 내장되어 있다. 이 IC 카드부는, 1칩의 반도체 집적 회로로 구성하여도 되고, RF 아날로그 프론트엔드와 로직 회로부를 분리하여 2칩의 반도체 집적 회로로 구성하여도 된다. 29 schematically shows a hardware configuration of the IC card unit according to the embodiment of the present invention. As shown in FIG. 29, the IC card portion is composed of an analog portion 1002 connected to the antenna portion 1001, a digital control portion 1003, a memory 1004, and an external interface 1005. It is embedded in the terminal 1100. The IC card portion may be constituted by a single-chip semiconductor integrated circuit, or may be constituted by a two-chip semiconductor integrated circuit by separating the RF analog front end and the logic circuit portion.

안테나부(1001)는, 도시하지 않은 카드 쓰기 및 읽기 장치와의 사이에서 비접촉 데이터의 송수신을 행한다. 아날로그부(1002)는, 검파, 변복조, 클럭 추출 등, 안테나부(1001)로부터 송수신되는 아날로그 신호의 처리를 행한다. 이들은, IC 카드부와 카드 쓰기 및 읽기 장치간의 비접촉 인터페이스를 구성한다. The antenna unit 1001 transmits and receives noncontact data with a card writing and reading device (not shown). The analog unit 1002 processes analog signals transmitted and received from the antenna unit 1001, such as detection, modulation and demodulation, and clock extraction. These constitute a contactless interface between the IC card unit and the card writing and reading device.

디지털 제어부(1003)는, 송수신 데이터의 처리나 기타 IC 카드 내의 동작을 통괄적으로 컨트롤한다. 디지털 제어부(1003)는, 어드레스 가능한 메모리(1004)를 로컬로 접속하고 있다. 메모리(1004)는, EEPROM(Electrically Erasable Programmable Read Only Memory) 등의 불휘발성 기억 장치로 구성되고, 전자 화폐나 전자 티켓 등의 이용자 데이터를 저장하거나, 디지털 제어부(1003)가 실행하는 프로그램 코드를 기입하거나, 실행 중인 작업 데이터를 보존하기 위해서 사용할 수 있다. 후에 상해하는 바와 같이, 메모리(1004) 내의 메모리 영역은 서비스 사업자마다의 파일 시스템으로 분할할 수 있다. 디지털 제어부(1003)는, 사업자로부터의 요구에 따라서, 분할원이 갖는 제1 메모리 영역을 복수의 제2 메모리 영역으로 분할하여 다른 사업자에게 할당하거나, 제2 메모리 영역의 분할을 해제해서 제1 메모리 영역으로 되돌리거나, 분할한 후의 제2 메모리 영역의 사이즈를 확대 또는 축소하거나, 제2 메모리 영역에 할당한 식별 정보를 변경하거나 하는 처리를 행한다. The digital control unit 1003 collectively controls the processing of transmission / reception data and other operations in the IC card. The digital control unit 1003 connects the addressable memory 1004 locally. The memory 1004 is constituted by a nonvolatile memory device such as an electrically erasable programmable read only memory (EEPROM), and stores user data such as electronic money or an electronic ticket, or writes program code executed by the digital control unit 1003. It can be used to save running data. As later injured, the memory area in the memory 1004 can be divided into file systems for each service provider. According to a request from the operator, the digital controller 1003 divides the first memory area of the divided source into a plurality of second memory areas and allocates the same to other operators, or releases the division of the second memory area so as to release the first memory. The process of returning to the area, dividing or dividing the size of the second memory area, or changing the identification information allocated to the second memory area is performed.

외부 인터페이스(1005)는, 카드 쓰기 및 읽기 장치(도시 생략)와 연결하는 비접촉 인터페이스는 상위하는 인터페이스 프로토콜에 의해, 디지털 제어부(1003)가 휴대 단말기(1100) 등의 장치와 접속하기 위한 기능 모듈이다. 메모리(1004)에 기입된 데이터는, 외부 인터페이스(1005)를 경유하여, 휴대 단말기(1100)에 전송할 수 있다. The external interface 1005 is a function module for the digital control unit 1003 to connect with a device such as the mobile terminal 1100 by a non-contact interface connected to a card writing and reading device (not shown) by a different interface protocol. . Data written in the memory 1004 can be transmitted to the mobile terminal 1100 via the external interface 1005.

여기서, 카드 쓰기 및 읽기 장치와 통신을 행할 때에, 카드 쓰기 및 읽기 장 치로부터의 수신 데이터를 그대로, 혹은 적당한 변환 규칙으로 변환하거나, 혹은 다른 패킷 구조로 변환하여, 외부 인터페이스(1005)를 통하여 휴대 단말기(1100)에 송신한다. 또한 반대로, 외부 인터페이스를 통하여 휴대 단말기(1100)로부터 수신한 데이터를 그대로, 혹은 적당한 변환 규칙으로 변환하거나, 혹은 다른 패킷 구조로 변환하여, 비접촉 인터페이스를 통하여 카드 읽기 및 쓰기 장치에 송신한다. Here, when communicating with the card writing and reading device, the received data from the card writing and reading device is converted as it is, or converted into an appropriate conversion rule, or converted into another packet structure to be carried through the external interface 1005. Transmit to terminal 1100. On the contrary, the data received from the mobile terminal 1100 through the external interface is converted as it is, or converted into an appropriate conversion rule, or converted into another packet structure, and transmitted to the card reading and writing device through the contactless interface.

본 실시 형태에서는,IC 카드부는, 휴대 단말기(1100)에 내장하여 이용되는 것을 상정하고 있으며, 외부 인터페이스(1005)에는, UART(Universal Asynchronous Receiver Transmitter)와 같은 유선 인터페이스를 사용한다. 단, 외부 인터페이스(1005)의 인터페이스 사양은 특별히 한정되지 않으며, 유선 인터페이스이어도 되고, 혹은 Bluetooth 통신이나 IEEE.802.11 등의 무선 인터페이스이어도 된다. In the present embodiment, the IC card unit is assumed to be incorporated in the portable terminal 1100 and used. The external interface 1005 uses a wired interface such as a universal asynchronous receiver transmitter (UART). However, the interface specification of the external interface 1005 is not particularly limited, and may be a wired interface or a wireless interface such as Bluetooth communication or IEEE.802.11.

IC 카드부는, 예를 들면, 안테나부(1001) 경유로 수신되는 카드 쓰기 및 읽기 장치로부터의 수신 신호로부터 얻어지는 에너지에 의해 구동할 수 있다. 물론, 휴대 단말기(1100) 측으로부터의 공급 전력에 의해, 일부 또는 전부가 동작하도록 구성되어 있어도 된다. The IC card unit can be driven by energy obtained from, for example, a received signal from a card writing and reading device received via the antenna unit 1001. Of course, you may be comprised so that one part or all may operate by the supply power from the portable terminal 1100 side.

휴대 단말기(1100)는, 예를 들면 휴대 전화기나 PDA, 퍼스널 컴퓨터(PC) 등의 정보 처리 단말기에 상당한다. 휴대 단말기(1100)는, 프로그램 제어부(1101)와, 표시부(1102)와, 유저 입력부(1103)로 구성된다. The portable terminal 1100 corresponds to an information processing terminal such as a mobile phone, a PDA, a personal computer (PC), or the like. The portable terminal 1100 includes a program control unit 1101, a display unit 1102, and a user input unit 1103.

프로그램 제어부(1101)는, 예를 들면 마이크로프로세서와, RAM과, ROM으로 구성되고(어떠한 것도 도 29에는 도시하지 않음), 마이크로 프로세서는, ROM에 저장된 프로그램 코드에 따라, RAM을 작업 영역에 이용하여 다양한 처리 서비스를 실 행한다. 처리 서비스에는, 휴대 전화기 등 휴대 단말기(1100) 본래의 기능 이외에, IC 카드부에 대한 처리도 포함된다. 물론, 프로그램 제어부(1101)는, 하드 디스크 등의 외부 기억 장치나, 그 밖의 주변 장치를 구비하고 있어도 된다. The program control unit 1101 is composed of, for example, a microprocessor, a RAM, and a ROM (anything is not shown in FIG. 29), and the microprocessor uses the RAM for a work area in accordance with program codes stored in the ROM. To execute various processing services. The processing service includes processing for the IC card unit in addition to the functions inherent to the portable terminal 1100 such as a cellular phone. Of course, the program control unit 1101 may be provided with an external storage device such as a hard disk or other peripheral device.

프로그램 제어부(1101)는, 외부 인터페이스(1005) 경유로, IC 카드부에 액세스할 수 있다. The program control unit 1101 can access the IC card unit via the external interface 1005.

표시부(1102)는, 예를 들면 액정 표시 디스플레이로 구성되고, 프로그램 제어부(1101)에서의 처리 결과 등을 화면 출력하여 유저에게 통지할 수 있다. The display part 1102 is comprised with a liquid crystal display display, for example, and can output a screen etc. of the processing result in the program control part 1101, and can notify a user.

유저 입력부(1103)는, 키보드나 죠그 다이얼, 혹은 표시부(1102)의 표시 화면에 중첩된 터치 패널 등으로 구성되고, 유저가 휴대 단말기(1100)에 커맨드나 데이터를 입력하기 위하여 사용된다. The user input unit 1103 is composed of a keyboard, a jog dial, a touch panel superimposed on a display screen of the display unit 1102, and is used for a user to input a command or data to the portable terminal 1100.

휴대 단말기(1100) 내의 프로그램 제어부(1101)는, 배터리 등 도시하지 않은 주전원으로부터의 급전에 의해 구동한다. The program control unit 1101 in the mobile terminal 1100 is driven by power supply from a main power source (not shown) such as a battery.

IC 카드가 내장된 휴대 단말기(1100)의 유저가 휴대 단말기(1100)를 소정의 카드 쓰기 및 읽기 장치에 꽂음으로써, IC 카드와 카드 쓰기 및 읽기 장치간의 무선 통신이 개시되어, 무선 인터페이스로서의 안테나부(1001) 및 아날로그부(1002)를 통하여, 디지털부(1003)와 카드 쓰기 및 읽기 장치 사이에서 데이터 교환이 행하여진다. When the user of the portable terminal 1100 with the IC card is inserted into the predetermined card writing and reading device, the wireless communication between the IC card and the card writing and reading device is started, and the antenna unit serves as a wireless interface. Through the 1001 and the analog unit 1002, data exchange is performed between the digital unit 1003 and the card writing and reading apparatus.

C. 파일 시스템  C. File System

IC 카드가 갖는 내템퍼성과 인증 기능을 이용함으로써, 가치 정보의 교환 등을 포함한 시큐러티가 요구되는 서비스를 제공할 수 있다. 또한 본 실시 형태에서 는, 단일의 메모리 영역 상에 서비스 제공원 사업자마다의 파일 시스템을 할당하여, 단일의 IC 카드를 복수의 사업자에 의해 공유하고, 단일의 IC 카드에 의해 복수의 서비스를 제공하도록 하였다. By utilizing the temper resistance and the authentication function of the IC card, it is possible to provide a service requiring security including the exchange of value information. Furthermore, in the present embodiment, a file system for each service provider provider is allocated on a single memory area so that a single IC card is shared by a plurality of providers and a plurality of services are provided by a single IC card. It was.

IC 카드 내의 메모리 영역은, 초기 상태에서는,IC 카드 발행자가 메모리 영역 전체를 관리하고 있다. IC 카드 발행자 이외의 서비스 제공원 사업자가 메모리 영역으로부터 새로운 파일 시스템을 분할할 때에는, 메모리 영역의 분할 권한과, IC 카드 발행자에 대한 인증의 쌍방이 요구된다. In the initial state, the memory area in the IC card is managed by the IC card issuer. When a service provider other than the IC card issuer divides a new file system from the memory area, both the division authority of the memory area and the authentication for the IC card issuer are required.

메모리 영역이 일단 분할되면, 파일 시스템에의 액세스는, IC 카드 발행자가 아니라, 파일 시스템 자체의 서비스 제공원 사업자에의 인증이 요구된다. 따라서, 파일 시스템간의 경계가 파이어 월로서 기능하여, 다른 파일 시스템으로부터의 부정한 액세스를 적합하게 배제할 수 있다. 또한, 유저에게 있어서는, 각 서비스 이용 시에 있어서 사업자 자신이 발행한 IC 카드인 것 같은 사용 편리성을 확보할 수 있다. 그리고, 분할 조작을 반복함으로써, IC 카드 내의 메모리 영역은 복수의 파일 시스템이 공존하는 구조로 된다. 파일 시스템의 분할은, 가상적인 IC 카드의 발행이다. Once the memory area is divided, access to the file system requires authentication to the service provider of the file system itself, not the IC card issuer. Thus, the boundary between file systems can serve as a firewall, and can appropriately exclude unauthorized access from other file systems. In addition, for the user, it is possible to ensure the ease of use as if it were an IC card issued by the company itself at the time of using each service. By repeating the division operation, the memory area in the IC card has a structure in which a plurality of file systems coexist. The division of the file system is the issuance of the virtual IC card.

여기서, 도 3∼ 도 6을 참조하면서, IC 카드 내의 메모리 영역의 운용 형태에 대해서 설명한다. Here, the operation mode of the memory area in the IC card will be described with reference to FIGS. 3 to 6.

도 3에는, 원래의 카드 발행자가 자기의 파일 시스템만을 관리하고 있는 메모리 영역의 상태를 도시하고 있다. 원래의 카드 발행자의 시스템 코드 SC1은, 시스템 코드의 관리 기구가 부여한다. 외부 기기 또는 프로그램이 카드 발행자의 파 일 시스템에 액세스하는 경우에는, SC1을 식별 코드(즉, 요구 커맨드의 인수)로 한다. 3 shows a state of the memory area in which the original card issuer manages only his file system. The system code SC1 of the original card issuer is assigned by the system code management mechanism. When an external device or program accesses the card issuer's file system, SC1 is an identification code (that is, an argument of a request command).

도 4에는, 카드 발행자가 자기의 파일 시스템의 빈 영역 중에서, 임의의 범위의 메모리를 영역 관리자에게 대여(또는 양도)하는 것을 허가할 수 있는 것을 도시하고 있다. 이 단계에서는, 아직 메모리 영역 상의 파일 시스템에 대하여 분할이 행하여지고 있는 것은 아니다. 카드 발행자는, 자기의 파일 시스템에 빈 영역이 있는 한은, 복수의 영역 관리자에 대하여, 메모리를 대여하는 것을 허가할 수 있다. 예를 들면, 4비트의 시스템 코드로 파일 시스템을 식별한다고 하는 실장에서는, 최대 16분할(15회까지 분할)할 수 있다. Fig. 4 shows that the card issuer can permit to lease (or transfer) an arbitrary range of memory to an area manager among the free areas of his file system. At this stage, partitioning is not yet performed on the file system on the memory area. The card issuer can allow a plurality of area managers to rent a memory as long as there is a free area in their file system. For example, in the implementation of identifying a file system by 4-bit system code, a maximum of 16 divisions (up to 15 divisions) can be performed.

도 5에는, 다른 서비스 제공원 사업자가, 카드 발행자로부터 허가받은 영역에서 메모리 영역을 분할하여, 새로운 파일 시스템을 생성한 상태를 도시하고 있다. 이 신규 파일 시스템에는, 시스템 코드의 관리 기구로부터 시스템 코드 SC2가 부여되어 있다. 외부 기기 또는 프로그램이, 해당 메모리 영역 관리자(서비스 제공원 사업자)가 운용하는 파일 시스템에 액세스하는 경우는, SC2를 식별 코드(요구 커맨드의 인수)로 한다. FIG. 5 shows a state in which another service provider operator divides a memory area in an area permitted by a card issuer to create a new file system. System code SC2 is assigned to this new file system from the system code management mechanism. When an external device or program accesses a file system operated by the memory area manager (service provider company), SC2 is used as an identification code (argument of a request command).

도 6에는, 공통 영역 관리자가, 카드 발행자로부터 허가받은 영역에서, 공통 영역의 시스템 코드 SC0으로 메모리를 분할한 상태를 도시하고 있다. 외부 기기 또는 프로그램이 이 공통 영역 관리자의 운용 영역인 파일 시스템에 액세스하는 경우에는, 그 시스템 코드 SC0을 식별 코드(요구 커맨드의 인수)로 한다. FIG. 6 shows a state in which the common area manager divides the memory by the system code SC0 of the common area in the area permitted by the card issuer. When an external device or program accesses the file system that is the operation area of this common area manager, the system code SC0 is used as an identification code (argument of a request command).

IC 카드의 메모리 영역은, 분할 조작을 반복함으로써, 도 7에 도시하는 바와 같이 복수의 파일 시스템이 공존하는 구조로 된다. 원래의 카드 발행자, 및 카드 발행자의 허가에 의해 IC 카드 상에서 자기의 파일 시스템을 취득한 서비스 제공원 사업자는, 각각 자기의 파일 시스템을 이용하여, 에리어나 서비스를 배치하여(후술), 자신의 사업 전개에 이용할 수 있다. The memory area of the IC card has a structure in which a plurality of file systems coexist as shown in FIG. 7 by repeating the division operation. The original card issuer and the service provider who acquired his file system on the IC card with the permission of the card issuer each use their file system to arrange an area or a service (described later) to develop their own business. Can be used for

여기서, 1개의 파일 시스템 내에서의 운용 형태에 대해서 설명한다. 기본적으로는, 어떤 파일 시스템에서도 마찬가지의 동작이 실현되는 것으로 한다. Here, the operation mode in one file system will be described. Basically, the same operation is realized in any file system.

파일 시스템 내에는, 전자 결제를 비롯한 외부와의 전자적인 가치 정보의 교환 등의 어플리케이션을 실현하기 위한, 1 이상의 파일이 배치되어 있다. 어플리케이션에 할당되어 있는 메모리 영역을 「서비스 메모리 영역」이라고 부른다. 또한, 어플리케이션의 이용, 즉 해당하는 서비스 메모리 영역에 액세스하는 처리 동작을 「서비스」라고 부른다. 서비스에는, 메모리에의 판독 액세스, 기입 액세스, 혹은 전자 화폐 등의 가치 정보에 대한 가치의 가산이나 감산 등을 들 수 있다. In the file system, one or more files are arranged to realize applications such as electronic payment and the exchange of electronic value information with the outside. The memory area allocated to the application is called a "service memory area". In addition, the use of an application, that is, a processing operation for accessing a corresponding service memory area is called a "service." Examples of the service include adding or subtracting a value to value information such as read access to a memory, write access, or electronic money.

유저가 액세스권을 갖는지의 여부에 따라 어플리케이션의 이용 즉 서비스의 기동을 제한하기 위하여, 어플리케이션에 대하여 암증 코드 즉 PIN을 할당하여, 서비스 실행 시에 PIN의 대조 처리를 행하도록 되어 있다. 또한, 서비스 메모리 영역에의 액세스는, 어플리케이션의 시큐러티 레벨 등에 따라, 적절히 암호화 통신이 행하여진다. In order to restrict the use of the application, i.e. the start of the service, depending on whether the user has the access right, an encryption code, or PIN, is assigned to the application, and the PIN collation process is performed when the service is executed. In addition, the access to the service memory area is appropriately performed according to the security level of the application or the like.

본 실시 형태에서는,IC 카드 내의 메모리 영역에 설정되어 있는 각각의 파일 시스템에 대하여, 「디렉토리」와 유사한 계층 구조를 도입한다. 그리고, 메모리 영역에 할당된 각 어플리케이션을, 원하는 계층의 「에리어」에 등록할 수 있 다. In this embodiment, a hierarchical structure similar to "directory" is introduced into each file system set in the memory area in the IC card. Each application allocated to the memory area can be registered in the "area" of the desired hierarchy.

예를 들면, 일련의 트랜잭션에 사용되는 복수의 어플리케이션, 혹은 관련성이 깊은 어플리케이션끼리를 동일한 에리어 내의 서비스 메모리 영역으로서 등록 함으로써(또한, 관련성이 깊은 에리어끼리를 동일한 친 에리어에 등록함으로써), 메모리 영역의 어플리케이션이나 에리어의 배치가 정연하게 되어, 유저에게 있어서는 어플리케이션의 분류·정리가 효율화된다.For example, by registering a plurality of applications or related applications that are used in a series of transactions as service memory areas within the same area (and registering related areas in the same parent area), The arrangement of applications and areas is neat, and the user can efficiently sort and organize the applications.

또한, 파일 시스템에의 액세스권을 계층적으로 제어하기 위하여, 어플리케이션마다 PIN을 설정할 수 있는 것 이외에, 각 에리어에 대해서도 PIN을 설정할 수 있도록 하고 있다. 예를 들면, 임의의 에리어에 해당하는 PIN을 입력함으로써, 대조 처리 및 상호 인증 처리를 거쳐, 에리어 내의 모든 어플리케이션(및 서브 에리어)에의 액세스권을 부여하도록 할 수도 있다. 따라서, 해당하는 에리어에 대한 PIN의 입력을 1회 행하는 것만으로, 일련의 트랜잭션에서 사용되는 모든 어플리케이션의 액세스권을 얻을 수 있으므로, 액세스 제어가 효율화될 뿐만 아니라, 기기의 사용 편리성이 향상된다. In addition, in order to hierarchically control the access right to the file system, a PIN can be set for each application as well as a PIN can be set for each area. For example, by inputting a PIN corresponding to an arbitrary area, it is possible to grant access to all applications (and sub-areas) in the area through a matching process and a mutual authentication process. Therefore, the access right of all the applications used in a series of transactions can be obtained only by inputting the PIN to the corresponding area once, so that not only the access control is efficient but also the convenience of use of the device is improved.

또한, 임의의 서비스 메모리 영역에 대한 액세스 권한이 단일이 아닌 것을 허용하고, 각각의 액세스 권한마다, 즉 서비스 메모리 영역에서 실행하는 서비스의 내용마다, 암증 코드를 설정할 수 있다. 예를 들면, 동일한 서비스 메모리 영역에 대하여 기동하는 서비스가 「판독」과 「판독 및 기입」에서는, 각각의 PIN이 설정된다. 또한, 전자 화폐나 그 밖의 가치 정보에 대한 「증액」과 「감액」에서는, 각각의 PIN이 설정된다. 또한, 임의의 메모리 영역에 대한 판독에 대해서는 PIN의 입력이 필요하지 않지만, 기입하는 경우에는 PIN의 입력을 필수로 하게 하는 것이 가능하다. It is also possible to allow access rights to any service memory area to be not single, and to set an encryption code for each access right, i.e., for the contents of a service running in the service memory area. For example, in a service to be activated for the same service memory area in "read" and "read and write", each PIN is set. In addition, in "increase" and "decrease" about electronic money and other value information, each PIN is set. In addition, input of a PIN is not required for reading into any memory area, but it is possible to make input of a PIN mandatory when writing.

도 8에는, 내부 메모리에 복수의 파일 시스템을 설정할 수 있는 IC 카드 내의 펌웨어의 기능 구성을 모식적으로 도시하고 있다. Fig. 8 schematically shows the functional configuration of the firmware in the IC card which can set a plurality of file systems in the internal memory.

인터페이스(I/F) 제어부는, 비접촉 IC 카드 인터페이스에 의한 카드 리더/라이터와의 통신, 카드 리더/라이터로서의 통신, 유선 인터페이스를 통한 통신, 그 밖의 I/O 인터페이스를 통한 통신 등의 프로토콜 제어를 행한다. The interface (I / F) control unit controls protocol control such as communication with a card reader / writer by a contactless IC card interface, communication as a card reader / writer, communication via a wired interface, and communication through other I / O interfaces. Do it.

커맨드 제어부는, 인터페이스 제어부를 통하여 외부로부터 수취한 커맨드의 처리나, 외부에 대한 커맨드 발행, 커맨드의 검사 등을 행한다. The command control unit processes a command received from the outside via the interface control unit, issues a command to the outside, inspects the command, and the like.

시큐러티 제어부는, 메모리 영역 혹은 메모리 영역 내의 각 파일 시스템에 액세스할 때의 인증 처리나, 파일 시스템 내의 디렉토리나 서비스를 이용할 때의 PIN 대조 등의 시큐러티 처리를 실현한다. The security control unit realizes security processing such as authentication processing when accessing a memory area or each file system in the memory area, and PIN verification when using a directory or a service in the file system.

파일 시스템 제어부는, 전술한 바와 같은 메모리 영역으로부터 파일 시스템에의 분할(및 분할의 해소) 등 파일 시스템 관리나, 파일 시스템 내의 디렉토리 구조의 관리 등을 행한다. The file system control unit performs file system management such as division (and elimination of division) from the memory area as described above, management of directory structure in the file system, and the like.

모드 관리부는, 전체 파일 시스템 및 개별의 파일 시스템의 모드의 관리를 행한다. 여기서 말하는 모드에는, 파일 시스템의 이용 정지나 이용 재개 등의 상태가 포함된다. The mode management unit manages modes of the entire file system and the individual file systems. The mode here includes states such as suspension of use of the file system, resumption of use, and the like.

이 외에, 기동 제어나 ROM 관리, 파라미터 관리, 불휘발성 메모리 관리, 패치 제어 등, IC 카드 내의 각 하드웨어 제어용의 펌웨어도 포함되어 있다. In addition, firmware for each hardware control in the IC card is also included, such as start control, ROM management, parameter management, nonvolatile memory management, and patch control.

D. 파일 시스템의 분할과 분할 해제, 사이즈 변경D. Partitioning, Unpartitioning, and Resizing a File System

본 실시 형태에서는,IC 카드 내의 메모리 공간을 분할하여 복수의 파일 시스템이 공존하는 구조를 채용하고 있다. 파일 시스템의 분할은, 가상적인 IC 카드의 발행으로서, 1매의 IC 카드가 복수의 IC 카드로서 기능할 수 있다. In this embodiment, a structure in which a plurality of file systems coexist by dividing a memory space in an IC card is adopted. The division of the file system is a virtual IC card issuance, and one IC card can function as a plurality of IC cards.

또한, 본 실시 형태에서는, 분할한 메모리 영역의 해제하는 수속을 도입하여, 불필요해진 메모리 영역을 해방하여, 다른 서비스에의 재할당을 행할 수 있도록 하고 있다. 또한, 분할 시에 설정한 메모리 영역의 사이즈를 변경하는 수속을 도입하여, 사이즈의 부족이나 잉여에 순응할 수 있도록 하고 있다. In this embodiment, the procedure for releasing the divided memory areas is introduced to free up unnecessary memory areas and reallocate them to other services. In addition, a procedure for changing the size of the memory area set at the time of division is introduced, so that it can be adapted to the lack of size or surplus.

도 9∼도 11에는, 메모리 영역을 분할하는 수순을 도해하고 있다. 9 to 11 illustrate the procedure for dividing the memory area.

도 9 좌측은 IC 카드 내의 메모리 공간이 미분할인 상태를 도시하고 있다. 이 시점에서의 메모리를 「메모리 영역 0」, 식별 번호를 0, 메모리 사이즈를 N으로 한다. 이 상태로부터 사이즈를 지정하여 분할 조작을 행함으로써, 도 9 우측에 도시하는 바와 같이, 분할원인 메모리 영역 0으로부터 식별 번호가 1이었던 「메모리 영역 1」이 생성된다. 또한, 분할 조작 시에 지정한 메모리 사이즈가 n1인 경우, 분할원인 메모리 영역 0의 메모리 사이즈는 N-n1로 된다. 9 shows a state where the memory space in the IC card is undivided. The memory at this point is set to "memory area 0", the identification number is 0, and the memory size is N. By performing the division operation by specifying the size from this state, as shown in the right side of Fig. 9, "memory region 1" having an identification number of 1 is generated from the memory region 0 serving as the division source. In addition, when the memory size specified at the time of division operation is n1, the memory size of memory area 0 as the division source is N-n1.

도 10 우측은, 도 9에 도시한 수순에 의해 생성된 메모리 영역으로부터 다시 분할 조작을 1회만 행한 모습을 도시하고 있다. 또한, 도 11 우측에는 「분할 수순 0」으로부터 합계 15회만 분할 조작을 행한 모습을 도시하고 있다. The right side of FIG. 10 shows a state in which only one division operation is performed again from the memory area generated by the procedure shown in FIG. 11 shows a state in which the division operation is performed only 15 times in total from the "division procedure 0".

미분할의 메모리로부터 도 11 우측에 도시하는 상태에 이르기까지의 분할 수순에서, 각각의 분할 조작 시에 지정하는 영역 사이즈를 분할순으로 n1, n2, n3, …, n14, n15로 해 두면, 분할원인 메모리 영역 0의 영역 사이즈는 계 15회의 분할 조작 후에는, N-(n1+n2+n3+…+n14+n15)로 된다. 또한, 분할 조작에 의해 생성된 분할 영역의 순으로 식별 번호는 배정되며, 분할순으로 1, 2, 3, …, 14, 15로 된다. 메모리 영역을 분할하는 처리 동작의 상세에 대해서는 후술한다. In the division procedure from the undivided memory to the state shown in the right side of Fig. 11, the size of the region specified in each division operation is divided by n1, n2, n3,... When n14 and n15 are set, the area size of the memory area 0 serving as the division source is N- (n1 + n2 + n3 + ... + n14 + n15) after 15 division operations in total. In addition, identification numbers are assigned in the order of the divided areas generated by the splitting operation, and 1, 2, 3,... , 14, and 15. Details of the processing operation for dividing the memory area will be described later.

도 12∼도 13에는, 일단 분할한 메모리 영역을 해방하는 수순을 도해하고 있다. 여기서는, 전술한 메모리 분할 수순에 따라, IC 카드 내의 메모리 영역 0으로부터 분할에 의해 메모리 영역 1 및 메모리 영역 2가 생성되어 있는 상태를 상정하고 있다. 12 to 13 illustrate the procedure of releasing the memory region once divided. Here, in the memory division procedure described above, it is assumed that the memory region 1 and the memory region 2 are generated by division from the memory region 0 in the IC card.

도 12에는, 메모리 영역 2를 해방하는 모습을 도시하고 있다. 메모리 영역 2를 해방 즉 분할을 해제할 수 있는 권한은, 분할원인 IC 카드 발행자가 갖는다. 분할 해제를 행할 때, 메모리 영역 2의 키 정보 등 분할원이 관리할 수 없는 정보를 포함하지 않아도 분할 해제를 가능하게 한다. 즉, 분할 해제하는 영역의 식별 번호나 메모리 사이즈를 분할원의 키 정보로 패키지화한 정보를 이용하여 분할 해제를 행한다. 분할 해제 조작 완료 후, 해방된 메모리는 분할원인 IC 카드 발행자 즉 메모리 영역 0에 귀속된다. 분할 해제를 행하기 위한 처리 수순의 상세에 대해서는 후술한다. 12 shows how the memory area 2 is released. The authority to release the memory area 2, that is, to release the division, has the IC card issuer who is the division source. When the partition is released, the partition is released without including information that cannot be managed by the partition source, such as key information of the memory area 2. FIG. In other words, the division is canceled by using information obtained by packaging the identification number and the memory size of the region to be divided into key information of the division source. After completion of the split release operation, the released memory belongs to the IC card issuer, i.e., memory area 0, that is the division source. The details of the processing procedure for performing division cancellation will be described later.

또한, 도 13에는, 메모리 영역 1을 해방하는 모습을 도시하고 있다. 도 12에 도시한 경우와 마찬가지의 방법으로 분할 해제 조작을 완료한 후, 해방된 메모리는 분할원인 IC 카드 발행자 즉 메모리 영역 0에 귀속된다. 도시한 예에서는, 메모리 영역 1이 해방된 후에도, 메모리 영역 2의 식별 번호 등의 정보에 변화는 없는 것으로 한다. In addition, Fig. 13 shows how the memory area 1 is released. After completing the split release operation in the same manner as in the case shown in Fig. 12, the released memory belongs to the IC card issuer, i.e., memory area 0, which is the split source. In the illustrated example, even after the memory area 1 is released, there is no change in information such as the identification number of the memory area 2.

도 14∼도 15에는, 일단 분할한 메모리 영역의 사이즈를 변경하는 수순을 도해하고 있다. 14 to 15 illustrate the procedure of changing the size of the memory area once divided.

도 14에는, 메모리 영역 1의 메모리 사이즈를 확장하는 모습을 도시하고 있다. 메모리 영역 1의 메모리 사이즈를 확장할 수 있는 권한은, 분할원인 IC 카드 발행자가 갖는다. FIG. 14 shows how the memory size of the memory area 1 is expanded. The authority to expand the memory size of the memory area 1 has the IC card issuer which is the division source.

메모리 영역 1의 사이즈를 확장할 때, 메모리 영역 1의 키 정보 등 분할원이 관리할 수 없는 정보를 포함하지 않아도 메모리 사이즈의 확장을 가능하게 한다. 즉, 사이즈를 확장하는 메모리 영역의 식별 번호나 메모리 사이즈를 분할원의 키 정보로 패키지화한 정보를 이용하여 메모리 확장을 행한다. 메모리 영역의 사이즈를 변경하기 위한 처리 수순의 상세에 대해서는 후술한다. When the size of the memory area 1 is expanded, the memory size can be extended without including information that cannot be managed by the division source, such as key information of the memory area 1. In other words, memory expansion is performed using information in which the identification number of the memory area for expanding the size and the size of the memory are packaged as key information of the division source. Details of the processing procedure for changing the size of the memory area will be described later.

또한, 메모리 영역의 사이즈 확장에서는, 사이즈 확장에 필요로 하는 메모리 사이즈 이상의 미사용 영역이 분할원 즉 메모리 영역 0에 있는 것이 필수 조건으로 된다. In addition, in the size expansion of the memory area, it is a prerequisite that there is an unused area in the division source, that is, memory area 0, which is larger than the memory size required for size expansion.

또한, 도 15에는, 메모리 영역 1의 메모리 사이즈를 축소하는 모습을 도시하고 있다. 메모리 영역 1의 메모리 사이즈를 축소할 수 있는 권한은, 분할원인 IC 카드 발행자가 갖는다. In addition, FIG. 15 shows a mode in which the memory size of the memory area 1 is reduced. The authority to reduce the memory size of the memory area 1 has the IC card issuer which is the division source.

메모리 영역 1의 사이즈를 축소할 때, 메모리 영역 1의 키 정보 등 분할원이 관리할 수 없는 정보를 포함하지 않아도 메모리 사이즈의 축소를 가능하게 한다. 즉, 축소하는 메모리 영역의 식별 번호나 메모리 사이즈를 분할원의 키 정보로 패 키지화한 정보를 이용하여 메모리 축소를 행한다. 메모리 영역의 사이즈를 변경하기 위한 처리 수순의 상세에 대해서는 후술한다. When the size of the memory area 1 is reduced, the memory size can be reduced without including information that cannot be managed by the division source, such as key information of the memory area 1. That is, memory reduction is performed by using information obtained by packaging the identification number and the memory size of the reduced memory area into key information of the division source. Details of the processing procedure for changing the size of the memory area will be described later.

또한, 메모리 영역의 사이즈 축소에서는, 축소되는 메모리 영역에 축소에 필요로 하는 메모리 사이즈 이상의 미사용 영역이 해당 메모리 영역에 있는 것이 필수 조건으로 된다. In the reduction of the size of the memory area, it is a prerequisite that there is an unused area in the memory area that is larger than the memory size required for the reduction in the reduced memory area.

도 16∼도 17에는, 일단 분할한 메모리 영역에 배정된 식별 번호를 변경하기 위한 수순을 도해하고 있다. 여기서는, 전술한 메모리 분할 수순에 따라, IC 카드 내의 메모리 영역 0으로부터 분할에 의해 메모리 영역 1 및 메모리 영역 2가 생성되어 있는 상태를 상정하고 있다. 16 to 17 illustrate a procedure for changing an identification number assigned to a memory area once divided. Here, in the memory division procedure described above, it is assumed that the memory region 1 and the memory region 2 are generated by division from the memory region 0 in the IC card.

도 16에는, 메모리 영역 1과 메모리 영역 2 사이에서 메모리 식별 번호를 교환하는 모습을 도시하고 있다. FIG. 16 shows a state in which memory identification numbers are exchanged between memory areas 1 and 2.

메모리 식별 번호를 교환할 수 있는 권한은, 분할원인 IC 카드 발행자가 갖는다. 메모리 영역간에서 메모리 식별 번호의 교환을 행할 때, 쌍방의 메모리 영역 1 및 메모리 영역 2의 키 정보 등 분할원이 관리할 수 없는 정보를 포함하지 않아도, 메모리 식별 번호의 교환을 가능하게 한다. 즉, 식별 번호를 교환하는 메모리 영역의 각각의 식별 번호나 메모리 사이즈를 분할원의 키 정보로 패키지화한 정보를 이용하여, 메모리 식별 번호 교환을 행한다. The authority to exchange the memory identification number has the IC card issuer which is the division source. When the memory identification numbers are exchanged between the memory areas, the memory identification numbers can be exchanged even if they do not contain information that cannot be managed by the division source, such as key information of both the memory areas 1 and 2. That is, memory identification number exchange is performed using the information which packaged each identification number or memory size of the memory area | region which exchanges identification numbers into the key information of a division source.

단, 메모리 식별 번호 교환에서는, 분할원이 사용하는 식별 번호 0을 교환 대상으로 할 수는 없는 것으로 한다. In the memory identification number exchange, however, it is assumed that the identification number 0 used by the division member cannot be the target of the exchange.

또한, 도 17에는, 메모리 영역 2의 메모리 식별 번호를, 존재하지 않는 메모 리 식별 번호 1로 변경하는 모습을 도시하고 있다. In addition, Fig. 17 shows how the memory identification number of the memory area 2 is changed to the memory identification number 1 that does not exist.

메모리 식별 번호를 변경할 수 있는 권한은, 분할원인 IC 카드 발행자가 갖는다. 메모리 식별 번호의 변경을 행할 때, 메모리 영역 2의 키 정보 등 분할원이 관리할 수 없는 정보를 포함하지 않아도, 메모리 식별 번호의 변경을 가능하게 한다. 즉, 식별 번호를 변경하는 메모리 영역의 식별 번호나 메모리 사이즈를 분할원의 키 정보로 패키지화한 정보를 이용하여, 메모리 식별 번호 변경을 행한다. The authority to change the memory identification number has the IC card issuer which is the division source. When the memory identification number is changed, the memory identification number can be changed without including information that cannot be managed by the division source, such as key information of the memory area 2. FIG. That is, the memory identification number is changed by using the information of packaging the identification number and the memory size of the memory area for changing the identification number into the key information of the division source.

단, 변경할 수 있는 식별 번호는 미사용의 것에 한정된다. 또한, 변경 후의 식별 번호를 지정하지 않은 경우에는, 미사용의 식별 번호 중 가장 이른 번호가 충당되는 것으로 한다. 또한, 메모리 식별 번호 변경에서는, 분할원이 사용하는 식별 번호 0을 변경 대상으로 할 수는 없는 것으로 한다. However, the changeable identification number is limited to an unused one. In addition, when the identification number after a change is not specified, it is assumed that the earliest number among the unused identification numbers is covered. In the memory identification number change, it is assumed that the identification number 0 used by the division member cannot be changed.

E. 메모리 영역을 분할 조작하기 위한 처리 E. Processing to Divide Memory Areas 수순Procedure

이 항에서는, 메모리 영역을 분할하여 새로운 파일 시스템을 작성하기 위한 수속에 대해서 상해한다. In this section, the procedure for dividing the memory area to create a new file system is injured.

도 18에는, 파일 시스템을 분할할 때의 사전 처리에 대해서 도해하고 있다. 새로운 서비스 제공원 사업자가 IC 카드의 메모리 영역 상에서 파일 시스템을 분할하고자 하는 경우에는, 그 사전 처리로서, 해당 사업자는, 카드 발행자에 대하여 메모리 영역의 사용에 관한 허가를 요구한다. 그리고, 카드 발행자는 메모리 영역의 사용, 즉 파일 시스템의 분할을 허가하는 경우에는, 분할 기술 관리자로부터, 파일 시스템의 분할에 필요로 되는 「분할 소(素) 패키지」를 취득한다. Fig. 18 illustrates the preprocessing when dividing the file system. When a new service provider wants to divide a file system on the memory area of the IC card, as a preprocess, the service provider asks the card issuer for permission to use the memory area. When the card issuer permits the use of the memory area, that is, the division of the file system, the card issuer obtains a "divisional subpackage" required for division of the file system from the division description manager.

분할 기술 관리자는, IC 카드를 제조 또는 제조 출하한 후에 IC 카드 내의 메모리 영역의 관리를 담당하는 카드 기억 영역 운용자(22)에 상당하고, 새로운 서비스 제공원 사업자는, 카드 기억 영역 사용자(14)에 상당한다(도 2를 참조). The division technology manager corresponds to the card storage area operator 22 responsible for management of the memory area in the IC card after the IC card is manufactured or manufactured and shipped, and the new service provider is assigned to the card storage area user 14. Substantial (see FIG. 2).

분할 기술 관리자는, IC 카드 내의 메모리 영역 상의 각 파일 시스템의 시스템 코드를 채번하는 권한을 가짐과 함께,IC 카드의 실행 환경을 제공하는 오퍼레이팅 시스템 내에 저장되어 있는 분할 권한 키 Kd를 관리하고 있다. 그리고, 분할 기술 관리자는, 새롭게 분할하여 작성되는 파일 시스템의 영역 키(해당 영역을 사용하는 새로운 서비스 제공원 사업자(즉 가상적인 IC 카드의 발행자)의 발행자 키) KIi, 시스템 코드 SCi를 배정하고(단,i는 i번째로 분할된 파일 시스템인 것을 식별하는 첨자임), 이들로 구성되는 데이터 블록을 분할 권한 키 Kd로 암호화하여 분할 소 패키지를 작성하고, 이를 카드 발행자에게 건네준다. The division technology manager has the authority to change the system code of each file system on the memory area in the IC card, and manages the division authority key K d stored in the operating system providing the execution environment of the IC card. Then, the division technology manager assigns the area key (issuance key of the new service provider company (that is, the issuer of the virtual IC card) that uses the area) KI i and the system code SC i to be newly created. (Where i is the subscript identifying the i-th partitioned file system), the data block consisting of these is encrypted with the partition authority key K d to create a partition package, and handed it to the card issuer.

카드 발행자 자신은, 분할 권한 키 Kd를 보유하지 않고 있으므로, 건네받은 분할 소 패키지를 해독하거나 이것을 개찬하거나 할 수는 없다. Since the card issuer himself does not hold the split authority key K d , the card issuer cannot decrypt or alter the split sub package.

카드 발행자는, 취득한 분할 소 패키지와, 새로운 서비스 제공원 사업자에게 사용을 허가하는 분할 영역의 크기(블록수)로 이루어지는 데이터 블록을 다시 자기의 발행자 키 KI로 암호화하여, 분할 패키지를 작성한다. Card issuer, encrypts the acquired division small package, and permits to use a new service source provider data block composed of a (number of blocks), the size of the partition to back to one's issuer key, K I, to create the divided package.

분할 패키지는, 카드 발행자 및 카드 발행자의 파일 시스템에서 관리되고 있는 카드 발행자 키 KI로 암호화되어 있으므로, 제3자가 분할 패키지를 해독하거나 분할 영역의 크기 등을 개찬하거나 할 수는 없다. Since the divided package is encrypted with the card issuer key K I managed in the card issuer and the card issuer's file system, the third party cannot decrypt the divided package, change the size of the divided region, or the like.

이와 같은 사전 수속을 거쳐, 카드 발행자는, 분할 패키지를 취득하고, 이을 이용하여 IC 카드 내의 메모리 영역의 파일 시스템의 분할 요구를 행한다. 여기서, 파일 시스템에의 액세스는, 파일 시스템의 에리어 ID를 인수로 하여 행하여지지만, 카드 발행자는 시스템 코드밖에 모르기 때문에, IC 카드에 대하여 폴링을 행함으로써, 자기의 파일 시스템의 에리어 ID를 취득할 수 있다.  Through such a preliminary procedure, the card issuer acquires a split package and uses this to make a split request for a file system of a memory area in the IC card. Here, the access to the file system is performed by taking the area ID of the file system as an argument, but since the card issuer only knows the system code, the area ID of his file system can be obtained by polling the IC card. have.

도 19에는, 카드 발행자가 IC 카드에 대하여 폴링을 행하는 수속을 도해하고 있다. 단, 카드 발행자(혹은 그 밖의 외부 기기)와 IC 카드간의 통신은, 전자 유도 작용에 기초하는 비접촉 IC 카드 인터페이스를 이용하여도 되고, 혹은 UART나 I2C 등의 유선 인터페이스를 이용하여 행하도록 하여도 된다(이하, 마찬가지임). In Fig. 19, a card issuer illustrates a procedure for polling an IC card. However, communication between the card issuer (or other external device) and the IC card may be performed using a non-contact IC card interface based on electromagnetic induction, or by using a wired interface such as UART or I 2 C. It may be (hereinafter, also the same).

카드 발행자는, IC 카드의 실행 환경인 오퍼레이팅 시스템에 대하여 폴링하여, 자기의 시스템 코드 SC를 인수로 한 파일 시스템의 에리어 ID 요구를 행한다. The card issuer polls the operating system, which is the execution environment of the IC card, and makes an area ID request of the file system with its system code SC as an argument.

이 요구 메시지를 트리거로 하여, 요구원인 카드 발행자와, IC 카드의 실행 환경인 오퍼레이팅 시스템 사이에서, 복수 왕복에 걸친 통신 동작으로 구성되는 상호 인증 수속을 거쳐, 요구에 대한 복귀값으로서 에리어 ID가 카드 발행자에게 되돌려진다. 또한, 상호 인증 수속의 구성에 대해서는 IC 카드의 사양마다 상위하고, 본 발명의 요지에는 직접 관련되지 않으므로, 여기서는 상세한 설명을 생략한다. Using this request message as a trigger, an area ID is used as a return value for the request between the card issuer as the request source and the operating system as the execution environment of the IC card. It is returned to the publisher. In addition, the structure of mutual authentication procedure differs for every specification of an IC card, and since it is not directly related to the summary of this invention, detailed description is abbreviate | omitted here.

또한, 분할에 의해 새롭게 파일 시스템을 취득한 신규의 서비스 제공원 사업 자(즉 가상적인 카드 발행자)의 경우도, 마찬가지의 폴링 수속을 거쳐 자기의 에리어 ID를 취득하게 된다. In the case of a new service provider (ie, a virtual card issuer) newly obtaining a file system by division, the area ID is obtained through the same polling procedure.

카드 발행자는, IC 카드의 오퍼레이팅 시스템에 대하여 파일 시스템의 분할 요구를 행한다. 이 분할 요구는, 카드 발행자의 에리어 ID와, 분할 패키지를 인수로 하여 행하여진다. 분할 패키지는 카드 발행자 키 KI로 암호화되어 있으므로, 제3자로부터는 개찬되지 않는다. 도 20에는, 카드 발행자가 IC 카드에 대하여 분할 요구를 행하는 수속을 도시하고 있다. 또한, 도 21에는, IC 카드 상의 메모리 영역이 분할되어, 새로운 파일 시스템이 생성되는 모습을 도시하고 있다. 카드 발행자와 IC 카드간의 통신은, 전자 유도 작용에 기초하는 비접촉 IC 카드 인터페이스를 이용하거나, 혹은 UART나 I2C 등의 유선 인터페이스를 이용하여 행하여진다. The card issuer makes a division request of the file system to the operating system of the IC card. This division request is made with the card issuer's area ID and the division package as arguments. Since the split package is encrypted with the card issuer key K I , it is not modified from the third party. 20 shows a procedure where a card issuer makes a division request for an IC card. 21 shows how the memory area on the IC card is divided to create a new file system. The communication between the card issuer and the IC card is performed using a non-contact IC card interface based on electromagnetic induction, or using a wired interface such as UART or I 2 C.

분할 요구가 IC 카드의 오퍼레이팅 시스템에 도달하면, 인수에 포함되는 에리어 ID에 기초하여, 분할 패키지가 카드 발행자의 파일 시스템에 건네지고, 카드 발행자 키 KI로 해독되어, 분할 소 패키지와 분할 영역의 크기(블록수)가 취출된다. When the division request reaches the operating system of the IC card, based on the area ID included in the argument, the division package is passed to the card issuer's file system, decrypted with the card issuer key K I , and the division package and partition area are divided. The size (number of blocks) is taken out.

IC 카드의 오퍼레이팅 시스템은, 카드 발행자의 파일 시스템으로부터 분할 소 패키지와 분할 영역의 크기를 수취하면, 분할 소 패키지를 분할 권한 키 Kd로 해독하여, 분할 직후의 영역 키(해당 영역을 사용하는 새로운 서비스 제공원 사업자(즉 가상적인 IC 카드의 발행자)의 발행자 키) KIi와, 시스템 코드 SCi를 취출한다. 그리고, 카드 발행자가 소유하는 영역만 사용 영역 중, 요구되어 있는 분할 영역의 크기분의 영역을 분할하고, 또한 이 영역에 발행자 키 KIi와 시스템 코드 SCi를 설정하여, 새로운 파일 시스템으로 한다. When the operating system of the IC card receives the size of the divided small package and the divided region from the card issuer's file system, the divided small package is decrypted with the divided authority key K d, and the area key immediately after the division (a new area using the corresponding region). The issuer key K Ii of the service provider (i.e., the issuer of the virtual IC card) and the system code SC i are taken out. Then, only the area owned by the card issuer is divided into an area corresponding to the size of the requested partition area, and the issuer key K Ii and the system code SC i are set in this area to make a new file system.

이와 같은 파일 시스템의 분할 처리가 끝나면, 그 스테이터스가 요구원인 카드 발행자에게 되돌려진다. After the division processing of the file system is completed, the status is returned to the card issuer who is the requesting source.

이와 같이 하여, 새로운 서비스 제공원 사업자는, 다른 카드 발행자가 발행한 IC 카드의 메모리 영역 상에 자신 전용의 파일 시스템을 확보할 수 있어, 마치 스스로 IC 카드를 발행한, 즉 가상적인 IC 카드 발행자로서 서비스 제공 사업을 전개하는 것이 가능하게 된다. In this way, the new service provider operator can secure his own file system on the memory area of the IC card issued by another card issuer, as if he issued the IC card himself, that is, as a virtual IC card issuer. It becomes possible to develop a service providing business.

단, 분할 직후의 파일 시스템의 초기 상태에서는, 설정되어 있는 발행자 키KIi나 시스템 코드 SCi는 분할 기술 관리자가 설정한 그대로의 상태이다. 바꿔 말하면, 신규의 서비스 제공원 사업자는, 자기의 파일 시스템의 시큐러티는, 분할 기술 관리자에게 일임되어 있는 부분이 있어, 시큐러티에 관한 위협을 독립하여 분석, 관리, 운용할 수는 없다. However, in the initial state of the file system immediately after the division, the set issuer key K Ii and the system code SC i are in the state as set by the division technology manager. In other words, a new service provider may not be able to independently analyze, manage, and operate a security threat because the security of his file system may be left to the divisional technology manager.

따라서, 신규의 서비스 제공원 사업자는, IC 카드의 메모리 영역 상에 자기의 파일 시스템을 취득한 후에는, 발행자 키 KIi와 시스템 코드 SCi의 재설정 수속을 행할 필요가 있다. 또한, 이 재설정 수속에 더불어, 분할 영역의 크기를 조정하도록 하여도 된다. Therefore, the new service provider must perform the reset procedure of the issuer key K Ii and the system code SC i after acquiring his file system on the memory area of the IC card. In addition to this resetting procedure, the size of the divided region may be adjusted.

도 22에는, 신규의 서비스 제공원 사업자가 IC 카드의 메모리 영역 상에 자 기의 파일 시스템을 취득한 후에 행하는, 발행자 키 KIi와 시스템 코드 SCi의 재설정 수속을 도시하고 있다. 단, 서비스 제공원 사업자와 IC 카드간의 통신은, 전자 유도 작용에 기초하는 비접촉 IC 카드 인터페이스를 이용하거나, 혹은 UART나 I2C 등의 유선 인터페이스를 이용하여 행한다. Fig. 22 shows a procedure for resetting the issuer key K Ii and the system code SC i , which is performed after a new service provider operator acquires his file system on the memory area of the IC card. However, the communication between the service provider and the IC card is performed by using a non-contact IC card interface based on electromagnetic induction or by using a wired interface such as UART or I 2 C.

서비스 제공원 사업자는, IC 카드의 실행 환경인 오퍼레이팅 시스템에 대하여 폴링하고, 분할 직후의 시스템 코드 SCi를 인수로 한 파일 시스템의 에리어 ID요구를 행한다. The service provider operator polls the operating system, which is the execution environment of the IC card, and requests the area ID of the file system with the system code SC i immediately after the split as an argument.

이 요구 메시지를 트리거로 하여, 서비스 제공원 사업자와, IC 카드의 실행 환경인 오퍼레이팅 시스템 사이에서, 복수 왕복에 걸친 통신 동작으로 구성되는 상호 인증 수속을 거쳐, 요구에 대한 복귀값으로서, 분할 시에 분할 기술 관리자에 의해 부여된 디폴트의 에리어 ID가, 서비스 제공원 사업자에게로 되돌려진다. 또한, 상호 인증 수속의 구성에 대해서는 IC 카드의 사양마다 상위하고, 본 발명의 요지에는 직접 관련되지 않으므로, 여기서는 상세한 설명을 생략한다. Using this request message as a trigger, the service provider and the operating system which is the execution environment of the IC card undergo a mutual authentication procedure consisting of a communication operation over a plurality of round trips. The default area ID given by the division technology manager is returned to the service provider. In addition, the structure of mutual authentication procedure differs for every specification of an IC card, and since it is not directly related to the summary of this invention, detailed description is abbreviate | omitted here.

이 인증 수속에 계속하여, 서비스 제공원 사업자는, IC 카드의 오퍼레이팅 시스템에 대하여, 디폴트의 발행자 키 KIi의 변경 요구를 행한다. 이 키 변경 요구는, 디폴트의 에리어 ID와, 키 변경 패키지를 인수로 하여 행하여진다. 키 변경 패키지는 디폴트 발행자 키 KIi로 암호화되어 있으므로, 제3자로부터는 개찬되지 않는다. Subsequent to this authentication procedure, the service provider provides a change request for the default issuer key K Ii to the operating system of the IC card. This key change request is made with a default area ID and a key change package as arguments. Since the key change package is encrypted with the default issuer key K Ii , it is not modified from the third party.

키 변경 요구가 IC 카드의 오퍼레이팅 시스템에 도달하면, 인수에 포함되는 에리어 ID에 기초하여, 키 변경 패키지가 해당 서비스 제공원 사업자의 파일 시스템에 건네지고, 그 카드 발행자 키 KIi로 해독되어, 키 변경 패키지가 취출된다. 그리고, 파일 시스템의 카드 발행자 키가 KIi로부터 KIi'로 변경되면, 그 스테이터스가 요구원인 서비스 제공원 사업자에게 되돌려진다. When the key change request reaches the operating system of the IC card, based on the area ID included in the argument, the key change package is passed to the file provider's file system of the corresponding service provider, decrypted with the card issuer key K Ii , and the key. The change package is taken out. And, if the card issuer key of the file system changes to K Ii 'from K Ii, its status will be returned to the request source causes service providers.

계속하여, 서비스 제공원 사업자는, IC 카드의 오퍼레이팅 시스템에 대하여, 디폴트의 시스템 코드 SCi의 변경 요구를 행한다. 이 시스템 코드 변경 요구는, 디폴트의 에리어 ID와, 시스템 코드 변경 패키지를 인수로 하여 행하여진다. 시스템 코드 변경 패키지는 신규의 발행자 키 KIi'로 암호화되어 있으므로, 제3자로부터는 개찬되지 않는다. Subsequently, the service provider performs a request for changing the default system code SC i to the operating system of the IC card. This system code change request is made with a default area ID and a system code change package as arguments. Because the system code change package is encrypted with the new issuer key K Ii ', the alteration is not from the third character.

시스템 코드 변경 요구가 IC 카드의 오퍼레이팅 시스템에 도달하면, 인수에 포함되는 에리어 ID에 기초하여, 키 변경 패키지가 해당 서비스 제공원 사업자의 파일 시스템에 건네지고, 그 카드 발행자 키 KIi'로 해독되어, 시스템 코드 변경 패키지가 취출된다. 그리고, 파일 시스템의 디폴트의 시스템 코드 SCi가 SCi'로 변경되면, 그 스테이터스가 요구원인 서비스 제공원 사업자에게 되돌려진다. Changing the system code required to reach the operating system of the IC card based on the area ID included in the acquisition, key change package is passed to the file system of providing that service personnel carriers, it is decrypted by the card issuer key K Ii ' The system code change package is extracted. When the default system code SC i of the file system is changed to SC i ', the status is returned to the service provider that is the requesting source.

계속하여, 서비스 제공원 사업자는, IC 카드의 오퍼레이팅 시스템에 대하여, 디폴트의 에리어 IDi의 변경 요구를 행한다. 이 시스템 코드 변경 요구는, 디폴트의 에리어 ID와, 에리어 ID 변경 패키지를 인수로 하여 행하여진다. 에리어 ID 변 경 패키지는 신규의 발행자 키 KIi'로 암호화되어 있으므로, 제3자로부터는 개찬되지 않는다. Subsequently, the service provider performs a request for changing the default area ID i to the operating system of the IC card. This system code change request is made with a default area ID and an area ID change package as arguments. Since the area ID Change Package is encrypted with the new issuer key K Ii ', the alteration is not from the third character.

에리어 ID 변경 요구가 IC 카드의 오퍼레이팅 시스템에 도달하면, 인수에 포함되는 에리어 ID에 기초하여, 에리어 ID 변경 패키지가 해당 서비스 제공원 사업자의 파일 시스템에 건네지고, 그 카드 발행자 키 KIi'로 해독되어, 에리어 ID 변경 패키지가 취출된다. 그리고, 파일 시스템의 디폴트의 에리어 IDi가 에리어 IDi'로 변경되면, 그 스테이터스가 요구원인 서비스 제공원 사업자에게 되돌려진다. If the area ID change request reaches the operating system of the IC card based on the area ID included in the argument is the area ID change package is passed to the file system of the service providing source providers, decrypted by the card issuer key K Ii ' Then, the area ID change package is taken out. When the default area ID i of the file system is changed to the area ID i ', the status is returned to the service provider that is the request source.

이와 같이, 신규의 서비스 제공원 사업자는, 자기의 파일 시스템에 대하여 시큐어한 발행자 키 KIi'와 시스템 코드 SCi'를 설정함으로써, 원래의 IC 카드 발행자와는 독립하여 시큐러티에 관한 위협을 분석, 관리, 및 운용할 수 있게 된다. In this way, the new service provider operator sets up the secure issuer key K Ii and system code SC i for his file system, thereby analyzing the security threats independently of the original IC card issuer. Management and operation.

F. 분할된 메모리 영역을 해제하기 위한 처리 F. Processing to Release Partitioned Memory Area 수순Procedure

IC 카드 내의 메모리 공간을 논리적으로 복수로 분할하여 운용하고 있을 때에, 일부의 서비스의 이용을 정지하는 등, 임의의 시점에서 특정한 메모리 영역이 불필요해지는 경우가 생각된다. 전항 E에서 설명한 분할 조작 후에 특정한 메모리 영역만 개별적으로 해방함으로써, 사용 중인 다른 메모리 영역에 영향을 주지 않고, 불필요한 메모리 영역만 삭제하여, 다른 서비스를 재이용하는 것이 가능하게 된다. When a memory space in the IC card is logically divided into a plurality of operations, it is conceivable that a particular memory area becomes unnecessary at any point in time, such as stopping the use of some services. By releasing only a specific memory area individually after the division operation described in the above paragraph E, it is possible to delete another unnecessary memory area and reuse another service without affecting other memory areas in use.

이 항에서는, 메모리 영역의 해제, 즉 분할하여 얻은 파일 시스템을 삭제하여, 메모리 영역을 해방하기 위한 수속에 대해서 상해한다. In this section, the procedure for releasing the memory area, that is, deleting the file system obtained by dividing the memory area, and releasing the memory area is injured.

도 23에는, 분할하여 얻어진 파일 시스템을 삭제할 때의 사전 처리에 대해서 도해하고 있다. 서비스 제공원 사업자가 IC 카드의 메모리 영역 상에서 자신에게 할당되어 있는 파일 시스템을 삭제하고자 하는 경우에는, 그 사전 처리로서, 해당 사업자는, 카드 발행자에 대하여 메모리 영역의 해제에 관한 허가를 요구한다. Fig. 23 illustrates the preprocessing when deleting the file system obtained by dividing. When the service provider wants to delete the file system assigned to him on the memory area of the IC card, as the preprocess, the service provider asks the card issuer for permission to release the memory area.

그리고, 카드 발행자는, 메모리 영역의 해제, 즉 파일 시스템의 해제를 허가하는 경우에는, 해제처로 되는 메모리 영역의 시스템 코드 SCi를 포함한 데이터 블록을 자기의 발행자 키 KI로 암호화하여, 분할 해제 패키지를 작성한다. 이 분할 해제 패키지는, 카드 발행자 및 카드 발행자의 파일 시스템에서 관리되고 있는 카드 발행자 키 KI로 암호화되어 있으므로, 제3자가 분할 해제 패키지를 해독하거나 분할 영역의 크기 등을 개찬하거나 할 수는 없다. When the card issuer permits the release of the memory area, that is, the release of the file system, the card issuer encrypts the data block including the system code SC i of the memory area to be released with its own issuer key K I , thereby separating the package. Write. Since the split release package is encrypted with the card issuer key K I managed in the card issuer and the card issuer's file system, a third party cannot decrypt the split release package, change the size of the partition, or the like.

이와 같은 사전 수속을 거쳐, 카드 발행자는, 분할 해제 패키지를 취득하고, 이것을 이용하여 IC 카드 내의 메모리 영역의 파일 시스템의 분할 해제 요구를 행한다. 여기서, 파일 시스템에의 액세스는, 파일 시스템의 에리어 ID를 인수로 하여 행해지지만, 카드 발행자는 자신의 시스템 코드밖에 모르기 때문에, IC 카드에 대하여 폴링을 행함으로써, 자기의 파일 시스템의 에리어 ID를 취득할 수 있다 (도 19를 참조). Through such a preliminary procedure, the card issuer acquires a split release package and uses this to make a split release request of a file system of a memory area in the IC card. Here, access to the file system is performed by taking the area ID of the file system as an argument, but since the card issuer only knows his / her system code, the area ID of his file system is obtained by polling the IC card. (See FIG. 19).

카드 발행자는, IC 카드의 오퍼레이팅 시스템에 대하여 파일 시스템의 분할 해제 요구를 행한다. 이 분할 해제 요구는, 카드 발행자의 에리어 ID와, 분할 해제 패키지를 인수로 하여 행하여진다. 분할 해제 패키지는 카드 발행자 키 KI로 암 호화되어 있으므로, 제3자로부터는 개찬되지 않는다. 도 24에는, 카드 발행자가 IC 카드에 대하여 분할 해제 요구를 행하는 수속을 도시하고 있다. 또한, 도 25에는, IC 카드 상에서 분할에 의해 얻어져 있는 메모리 영역이 해제되어, IC 카드 발행자의 파일 시스템으로 되돌려지는 모습을 도시하고 있다. 카드 발행자와 IC 카드간의 통신은, 전자 유도 작용에 기초하는 비접촉 IC 카드 인터페이스를 이용하거나, 혹은 UART나 I2C 등의 유선 인터페이스를 이용하여 행하여진다. The card issuer makes a division release request of the file system to the operating system of the IC card. This split release request is made with the card issuer's area ID and the split release package as arguments. The split release package is encrypted with the card issuer key K I , and therefore cannot be modified from a third party. Fig. 24 shows a procedure in which the card issuer makes a division release request for the IC card. In addition, Fig. 25 shows how the memory area obtained by the division on the IC card is released and returned to the file system of the IC card issuer. The communication between the card issuer and the IC card is performed using a non-contact IC card interface based on electromagnetic induction, or using a wired interface such as UART or I 2 C.

분할 해제 요구가 IC 카드의 오퍼레이팅 시스템에 도달하면, 인수에 포함되는 에리어 ID에 기초하여, 분할 해제 패키지가 카드 발행자의 파일 시스템에 건네지고, 카드 발행자 키 KI로 해독되어, 해제 대상으로 되어 있는 메모리 영역(파일 시스템)의 시스템 코드 SCi가 취출된다. When the split release request reaches the operating system of the IC card, based on the area ID included in the argument, the split release package is passed to the card issuer's file system, decrypted with the card issuer key K I , and is to be released. The system code SC i of the memory area (file system) is taken out.

IC 카드의 오퍼레이팅 시스템은, 해제 대상으로 되어 있는 파일 시스템의 시스템 코드 SCi를 수취하면, 해당하는 파일 시스템을 해제하여, IC 카드 발행자가 갖는 원래의 파일 시스템에 통합한다. When the operating system of the IC card receives the system code SC i of the file system to be released, the corresponding file system is released and integrated into the original file system owned by the IC card issuer.

이와 같은 파일 시스템의 분할 해제 처리가 끝나면, 그 스테이터스가 요구원인 카드 발행자에게 되돌려진다. When such file system departition processing is completed, the status is returned to the card issuer who is the requesting source.

이와 같이 하여, 서비스 제공원 사업자는 불필요해진 자신 전용의 파일 시스템을 해제할 수 있다. 따라서, 사용 중인 다른 메모리 영역에 영향을 주지 않고, 불필요한 메모리 영역만 삭제하여, 다른 서비스를 재이용하는 것이 가능하여, IC 카드 내의 메모리라고 하는 유한한 리소스를 유효하게 활용할 수 있다. In this way, the service provider can release its own file system that has become unnecessary. Therefore, it is possible to delete only the unnecessary memory area and reuse another service without affecting the other memory area in use, thereby effectively utilizing a finite resource called a memory in the IC card.

G. 분할된 메모리 영역의 사이즈를 확대 또는 축소하기 위한 처리 수순  G. Processing Procedure to Enlarge or Reduce the Size of the Divided Memory Area

IC 카드 내의 메모리 공간을 논리적으로 복수로 분할하여 운용하는 경우, 개개의 메모리 영역의 사이즈를 분할 시에 확정할 수 있다고는 할 수 없다. 전전 항 E에서 설명한 분할 조작 후에, 분할한 메모리 영역의 사이즈 변경을 인정함으로써, 메모리 부족을 회피하기 위하여 분할 시에 충분한 마진을 설정할 필요가 없어진다. 또한, 불필요해진 메모리 사이즈를 축소할 수 있다. 이들에 의해, 유한한 메모리 영역을 유효하게 사용할 수 있다. In the case where the memory space in the IC card is logically divided into plural operations, the size of the individual memory areas cannot be determined at the time of division. After the division operation described in the preceding paragraph E, by admitting the size change of the divided memory area, it is not necessary to set a sufficient margin at the time of division to avoid the memory shortage. In addition, it is possible to reduce the memory size which becomes unnecessary. By these, a finite memory area can be effectively used.

이 항에서는, 메모리 영역의 사이즈 변경, 즉 분할하여 얻은 파일 시스템의 사이즈를 확대 또는 축소하기 위한 수속에 대해서 상해한다. In this section, procedures for changing the size of the memory area, that is, expanding or reducing the size of the file system obtained by dividing are injured.

도 26에는, 분할하여 얻어진 파일 시스템의 사이즈를 변경할 때의 사전 처리에 대해서 도해하고 있다. 서비스 제공원 사업자가 IC 카드의 메모리 영역 상에서 자신에게 할당되어 있는 파일 시스템의 사이즈를 확대 또는 축소하고자 하는 경우에는, 그 사전 처리로서, 해당 사업자는, 카드 발행자에 대하여 메모리 영역의 사이즈 변경에 관한 허가를 요구한다. Fig. 26 illustrates the preprocessing when changing the size of the file system obtained by dividing. When the service provider wants to enlarge or reduce the size of the file system allocated to him on the memory area of the IC card, as a preliminary process, the service provider gives the card issuer permission to change the size of the memory area. Requires.

그리고, 카드 발행자는, 메모리 영역의 사이즈의 변경을 허가하는 경우에는, 해제처로 되는 메모리 영역의 시스템 코드 SCi와, 사이즈의 확장 또는 축소 정보, 및 변경 사이즈 정보를 포함한 데이터 블록을 자기의 발행자 키 KI로 암호화하여, 분할 사이즈 변경 패키지를 작성한다. 이 분할 사이즈 변경 패키지는, 카드 발행자 및 카드 발행자의 파일 시스템에서 관리되고 있는 카드 발행자 키 KI로 암호화되 어 있으므로, 제3자가 분할 사이즈 변경 패키지를 해독하거나 분할 영역의 크기 등을 개찬하거나 할 수는 없다. When the card issuer permits the change of the size of the memory area, the card issuer stores a data block including the system code SC i of the memory area to be released, the size expansion or contraction information, and the change size information. Encrypt with K I to create a split resize package. The split resize package is encrypted with the card issuer key K I , which is managed in the card issuer and the card issuer's file system, so that a third party can decrypt the split resize package, change the size of the partition, or the like. There is no.

이와 같은 사전 수속을 거쳐, 카드 발행자는, 분할 사이즈 변경 패키지를 취득하고, 이것을 이용하여 IC 카드 내의 메모리 영역의 파일 시스템의 분할 사이즈 변경 요구를 행한다. 여기서, 파일 시스템에의 액세스는, 파일 시스템의 에리어 ID를 인수로 하여 행하여지지만, 카드 발행자는 자신의 시스템 코드밖에 모르기 때문에, IC 카드에 대하여 폴링을 행함으로써, 자기의 파일 시스템의 에리어 ID를 취득할 수 있다(도 19를 참조). Through such a preliminary procedure, the card issuer obtains a division size change package and uses this to make a division size change request of a file system of a memory area in the IC card. Here, access to the file system is performed using the area ID of the file system as an argument, but since the card issuer only knows his / her system code, the area ID of his file system is obtained by polling the IC card. (See FIG. 19).

카드 발행자는, IC 카드의 오퍼레이팅 시스템에 대하여 파일 시스템의 분할 사이즈 변경 요구를 행한다. 이 분할 사이즈 변경 요구는, 카드 발행자의 에리어 ID와, 분할 사이즈 변경 패키지를 인수로 하여 행하여진다. 분할 사이즈 변경 패키지는 카드 발행자 키 KI로 암호화되어 있으므로, 제3자로부터는 개찬되지 않는다. 도 27에는, 카드 발행자가 IC 카드에 대하여 분할 사이즈 변경 요구를 행하는 수속을 도시하고 있다. 또한, 도 28에는, IC 카드 상에서 분할에 의해 얻어져 있는 메모리 영역의 사이즈가 변경(도시한 예에서는 축소)되는 모습을 도시하고 있다. 카드 발행자와 IC 카드간의 통신은, 전자 유도 작용에 기초하는 비접촉 IC 카드 인터페이스를 이용하거나, 혹은 UART나 I2C 등의 유선 인터페이스를 이용하여 행하여진다. The card issuer makes a division size change request of the file system to the operating system of the IC card. This divisional size change request is made with the card issuer's area ID and the divisional size change package as arguments. Since the dividing resizing package is encrypted with the card issuer key K I , it is not modified from the third party. Fig. 27 shows a procedure in which the card issuer makes a division size change request to the IC card. 28 shows how the size of the memory area obtained by dividing on the IC card is changed (reduced in the illustrated example). The communication between the card issuer and the IC card is performed using a non-contact IC card interface based on electromagnetic induction, or using a wired interface such as UART or I 2 C.

분할 사이즈 변경 요구가 IC 카드의 오퍼레이팅 시스템에 도달하면, 인수에 포함되는 에리어 ID에 기초하여, 분할 사이즈 변경 패키지가 카드 발행자의 파일 시스템에 건네지고, 카드 발행자 키 KI로 해독되어, 사이즈 변경의 대상으로 되어 있는 메모리 영역(파일 시스템)의 시스템 코드 SCi가 취출된다. When the split size change request reaches the IC card operating system, based on the area ID included in the argument, the split size change package is passed to the card issuer's file system, decrypted with the card issuer key K I , The system code SC i of the target memory area (file system) is taken out.

IC 카드의 오퍼레이팅 시스템은, 사이즈 변경 대상으로 되어 있는 파일 시스템의 시스템 코드 SCi를 수취하면, 해당하는 파일 시스템의 사이즈를 변경한다. 단, 파일 시스템의 사이즈를 확대할 때에는, IC 카드 발행자의 메모리 영역을 추가하여 할당하기 때문에, IC 카드 발행자의 메모리 영역에 요구되어 있는 변경 사이즈이상의 미사용 영역이 있는 것이 필수 조건으로 된다. 또한 반대로 파일 시스템의 사이즈를 축소할 때에는, 요구되어 있는 변경 사이즈 이상의 미사용 영역이 해당 파일 시스템에 있는 것이 필수 조건으로 된다. When the operating system of the IC card receives the system code SC i of the file system to be resized, the size of the corresponding file system is changed. However, when enlarging the size of the file system, since the memory area of the IC card issuer is added and allocated, it is essential that there is an unused area larger than the change size required in the memory area of the IC card issuer. On the contrary, when reducing the size of the file system, it is essential that there is an unused area in the file system that is larger than the requested change size.

이와 같은 파일 시스템의 분할 사이즈 변경 처리가 끝나면, 그 스테이터스가 요구원인 카드 발행자에게 되돌려진다. When the divisional size change processing of the file system is completed, the status is returned to the card issuer which is the requesting source.

이와 같이 하여, 서비스 제공원 사업자는, 자신 전용의 파일 시스템의 사이즈를 필요에 따라 변경할 수 있다. 따라서, 메모리 부족을 회피하기 위하여 분할 시에 충분한 마진을 설정할 필요가 없어진다. 또한, 불필요해진 메모리 사이즈를 축소할 수 있다. 이들에 의해, 유한한 메모리 영역을 유효하게 사용할 수 있다. In this way, the service provider can change the size of the file system dedicated to the service provider as necessary. Therefore, it is not necessary to set a sufficient margin at the time of division to avoid running out of memory. In addition, it is possible to reduce the memory size which becomes unnecessary. By these, a finite memory area can be effectively used.

이상, 특정한 실시 형태를 참조하면서, 본 발명에 대해서 상해하였다. 그러나, 본 발명의 요지를 일탈하지 않는 범위에서 당업자가 그 실시 형태의 수정이나 대용을 할 수 있는 것은 자명하다. As mentioned above, the present invention has been injured with reference to specific embodiments. However, it will be apparent to those skilled in the art that modifications and substitutions of the embodiments can be made without departing from the spirit of the invention.

본 명세서에서는,IC 카드 혹은 IC 칩을 내장한 휴대 단말기를 예로 들어, IC 카드 내의 메모리 공간을 분할하여 얻어진 각 메모리 영역에 대해서 분할 해제에 의한 리소스의 해방이나, 분할한 메모리 영역의 확대나 축소 등의 사이즈 변경에 대해서 설명하였지만, 본 발명의 요지는 이에 한정되는 것은 아니다. 예를 들면, IC 카드나 IC칩 이외의 메모리 장치 상에서 동종의 운용 형태가 취해지는 경우에 있어서, 본 발명을 적용하여 마찬가지의 작용 효과를 얻을 수 있다. In the present specification, an IC card or a portable terminal incorporating an IC chip is used as an example. For each of the memory areas obtained by dividing the memory space in the IC card, the release of resources by dividing release, expansion or reduction of the divided memory area, and the like are made. Although the size change of was demonstrated, the summary of this invention is not limited to this. For example, when the same type of operation is taken on a memory device other than an IC card or an IC chip, the same effect can be obtained by applying the present invention.

요약하면, 예시라고 하는 형태로 본 발명을 개시한 것으로, 본 명세서의 기재 내용을 한정적으로 해석해서는 안된다. 본 발명의 요지를 판단하기 위해서는, 청구 범위의 기재를 참작해야 한다. In summary, the present invention has been disclosed in the form of illustration, and the description of the present specification should not be interpreted limitedly. In order to judge the summary of this invention, description of a claim should be considered.

Claims (16)

메모리 공간을 구비하고, 1 이상의 메모리 영역으로 분할하여 관리하는 정보 관리 장치로서, An information management apparatus having a memory space and divided into one or more memory areas for management; 상기 메모리 공간은, 분할원이 갖는 제1 메모리 영역과, 상기 분할원으로부터 분할되어 다른 사업자에게 할당되어 있는 1 이상의 제2 메모리 영역으로 이루어지며, The memory space includes a first memory area of the division source and at least one second memory area divided from the division source and allocated to another operator. 사업자로부터의 요구에 따라 상기 제2 메모리 영역의 분할을 해제하여 상기 제1 메모리 영역으로 되돌리는 분할 해제 수단Partition releasing means for releasing division of the second memory area and returning to the first memory area in response to a request from an operator. 을 구비하는 것을 특징으로 하는 정보 관리 장치. An information management apparatus comprising: a. 제1항에 있어서,The method of claim 1, 각 메모리 영역에의 액세스를 해당하는 사업자의 키에 기초하여 제어하는 액세스 제어 수단을 더 구비하며, Access control means for controlling access to each memory area based on a corresponding operator's key, 상기 분할 해제 수단은, 분할 해제의 대상으로 되는 제2 메모리 영역을 식별하는 정보를 포함한 데이터 블록을 상기 분할원의 키로 암호화한 분할 해제 패키지를 수신하고, 상기 분할원의 키로 그 분할 해제 패키지를 복호하고, 그 데이터 블록에서 지시되어 있는 제2 메모리 영역의 분할을 해제하는 것을 특징으로 하는 정보 관리 장치. The dividing means receives a dividing package that encrypts a data block containing information identifying a second memory area to be subjected to dividing with a key of the dividing source, and decrypts the dividing package with a key of the dividing source. And dividing the second memory area indicated by the data block. 메모리 공간을 구비하고, 1 이상의 메모리 영역으로 분할하여 관리하는 정보 관리 장치로서, An information management apparatus having a memory space and divided into one or more memory areas for management; 상기 메모리 공간은, 분할원이 갖는 제1 메모리 영역과, 상기 분할원으로부터 분할되어 다른 사업자에게 할당되어 있는 1 이상의 제2 메모리 영역으로 이루지며, The memory space includes a first memory area included in the partition source and at least one second memory area divided from the partition source and allocated to another operator. 사업자로부터의 요구에 따라, 분할 후에 제2 메모리 영역의 사이즈를 확대 또는 축소하는 분할 영역 사이즈 변경 수단Partition size changing means for enlarging or reducing the size of the second memory area after the division in accordance with a request from the operator. 을 구비하는 것을 특징으로 하는 정보 관리 장치. An information management apparatus comprising: a. 제3항에 있어서, The method of claim 3, 상기 분할 영역 사이즈 변경 수단은, 제2 메모리 영역의 사이즈를 확대할 때는, 변경하는 사이즈 분만큼의 제1 메모리 영역의 미사용 영역을 제2 메모리 영역에 할당하고, 제2 메모리 영역의 사이즈를 축소할 때는, 변경하는 사이즈 분만큼의 제2 메모리 영역의 미사용 영역을 제1 메모리 영역으로 되돌리는 것을 특징으로 하는 정보 관리 장치. When the size of the second memory area is enlarged, the divided area size changing means allocates an unused area of the first memory area corresponding to the size to be changed to the second memory area, and reduces the size of the second memory area. And returning the unused area of the second memory area corresponding to the size to be changed to the first memory area. 제3항에 있어서, The method of claim 3, 각 메모리 영역에의 액세스를 해당하는 사업자의 키에 기초하여 제어하는 액세스 제어 수단을 더 구비하고, Access control means for controlling access to each memory area based on a corresponding operator's key, 상기 분할 영역 사이즈 변경 수단은, 사이즈 변경의 대상으로 되는 제2 메모 리 영역을 식별하는 정보와, 영역의 사이즈를 확대 또는 축소를 나타내는 정보와, 변경하는 사이즈에 관한 정보를 포함한 데이터 블록을 상기 분할원의 키로 암호화한 분할 사이즈 변경 패키지를 수신하고, 상기 분할원의 키로 그 분할 사이즈 변경 패키지를 복호하고, 그 데이터 블록에서 지시되어 있는 제2 메모리 영역의 사이즈를 지정된 사이즈만큼 변경하는 것을 특징으로 하는 정보 관리 장치. The dividing area size changing means divides the data block including information for identifying the second memory area to be resized, information indicating an enlargement or reduction of the size of the area, and information on information for changing the size. Receiving a partition resizing package encrypted with the original key, decrypting the partition resizing package with the partition original key, and changing the size of the second memory area indicated by the data block by a specified size Information management device. 메모리 공간을 구비하고, 1 이상의 메모리 영역으로 분할하여 관리하는 정보 관리 장치로서, An information management apparatus having a memory space and divided into one or more memory areas for management; 상기 메모리 공간은, 분할원이 갖는 제1 메모리 영역과, 상기 분할원으로부터 분할되어 다른 사업자에게 할당되어 있는 1 이상의 제2 메모리 영역으로 이루어지고, 분할할 때마다 제2 메모리 영역의 각각에 식별 정보가 할당되어 있으며, The memory space includes a first memory area included in the division source and at least one second memory area divided from the division source and assigned to another operator, and each piece of identification information is divided into each of the second memory areas. Is assigned, 사업자로부터의 요구에 따라 상기 제2 메모리 영역의 식별 정보를 변경하는 식별 정보 변경 수단을 구비하는 것을 특징으로 하는 정보 관리 장치. And identification information changing means for changing identification information of the second memory area in response to a request from a business operator. 제6항에 있어서, The method of claim 6, 상기 식별 정보 변경 수단은, 임의의 사업자가 갖는 제2 메모리 영역의 식별 정보를 다른 사업자의 제2 메모리 영역의 분할 해제에 의해 결락한 식별 정보로 변경하는 것을 특징으로 하는 정보 관리 장치. And the identification information changing means changes the identification information of the second memory area owned by any operator into identification information missing by dividing the second memory area of another operator. 제6항에 있어서, The method of claim 6, 각 메모리 영역에의 액세스를 해당하는 사업자의 키에 기초하여 제어하는 액세스 제어 수단을 더 구비하고, Access control means for controlling access to each memory area based on a corresponding operator's key, 상기 식별 정보 변경 수단은, 식별 정보 변경의 대상으로 되는 제2 메모리 영역의 식별 정보 및 변경하는 식별 정보를 포함한 데이터 블록을 상기 분할원의 키로 암호화한 식별 정보 변경 패키지를 수신하여, 상기 분할원의 키로 해당 식별 정보 변경 패키지를 복호하고, 그 데이터 블록에서 지시되어 있는 제2 메모리 영역의 식별 정보를 지정되어 있는 식별 정보로 변경하는 것을 특징으로 하는 정보 관리 장치. The identification information changing means receives the identification information changing package which encrypts the data block including the identification information of the second memory area to be changed and the identification information to be changed with the key of the division source, And decoding the corresponding identification information change package with a key, and changing the identification information of the second memory area indicated by the data block to the designated identification information. 메모리 공간을 1 이상의 메모리 영역으로 분할하여 관리하는 정보 관리 방법으로서, An information management method for managing a memory space by dividing it into one or more memory areas. 상기 메모리 공간은, 분할원이 갖는 제1 메모리 영역과, 상기 분할원으로부터 분할되어 다른 사업자에게 할당되어 있는 1 이상의 제2 메모리 영역으로 이루어지며, The memory space includes a first memory area of the division source and at least one second memory area divided from the division source and allocated to another operator. 사업자로부터의 요구에 따라 상기 제2 메모리 영역의 분할을 해제하여 상기 제1 메모리 영역으로 되돌리는 분할 해제 스텝A partition release step of canceling division of the second memory area and returning to the first memory area according to a request from an operator. 을 구비하는 것을 특징으로 하는 정보 관리 방법. Information management method comprising the. 제9항에 있어서, The method of claim 9, 각 메모리 영역에의 액세스를 해당하는 사업자의 키에 기초하여 제어하는 액 세스 제어 스텝을 더 구비하며, An access control step of controlling access to each memory area based on a corresponding operator's key, 상기 분할 해제 스텝에서는, 분할 해제의 대상으로 되는 제2 메모리 영역을 식별하는 정보를 포함한 데이터 블록을 상기 분할원의 키로 암호화한 분할 해제 패키지를 수신하고, 상기 분할원의 키로 그 분할 해제 패키지를 복호하고, 그 데이터 블록에서 지시되어 있는 제2 메모리 영역의 분할을 해제하는 것을 특징으로 하는 정보 관리 방법. In the dividing step, the dividing package obtained by encrypting a data block containing information identifying a second memory area to be subjected to dividing with the key of the dividing source is received, and decrypting the dividing package with the key of the dividing source. And dividing the second memory area indicated by the data block. 메모리 공간을 1 이상의 메모리 영역으로 분할하여 관리하는 정보 관리 방법으로서, An information management method for managing a memory space by dividing it into one or more memory areas. 상기 메모리 공간은, 분할원이 갖는 제1 메모리 영역과, 상기 분할원으로부터 분할되어 다른 사업자에게 할당되어 있는 1 이상의 제2 메모리 영역으로 이루어지며, The memory space includes a first memory area of the division source and at least one second memory area divided from the division source and allocated to another operator. 사업자로부터의 요구에 따라, 분할 후에 제2 메모리 영역의 사이즈를 확대 또는 축소하는 분할 영역 사이즈 변경 스텝을 구비하는 것을 특징으로 하는 정보 관리 방법. And a division area size changing step of enlarging or reducing the size of the second memory area after division in accordance with a request from a business operator. 제11항에 있어서,The method of claim 11, 상기 분할 영역 사이즈 변경 스텝에서는, 제2 메모리 영역의 사이즈를 확대할 때는, 변경하는 사이즈 분만큼의 제1 메모리 영역의 미사용 영역을 제2 메모리 영역에 할당하고, 제2 메모리 영역의 사이즈를 축소할 때는, 변경하는 사이즈 분만 큼의 제2 메모리 영역의 미사용 영역을 제1 메모리 영역으로 되돌리는 것을 특징으로 하는 정보 관리 방법. In the divided area size changing step, when the size of the second memory area is enlarged, an unused area of the first memory area corresponding to the size to be changed is allocated to the second memory area, and the size of the second memory area is reduced. And returning the unused area of the second memory area equal to the size to be changed to the first memory area. 제11항에 있어서, The method of claim 11, 각 메모리 영역에의 액세스를 해당하는 사업자의 키에 기초하여 제어하는 액세스 제어 스텝을 더 구비하며, And an access control step of controlling access to each memory area based on a corresponding operator's key, 상기 분할 영역 사이즈 변경 스텝에서는, 사이즈 변경의 대상으로 되는 제2 메모리 영역을 식별하는 정보와, 영역의 사이즈를 확대 또는 축소를 나타내는 정보와, 변경하는 사이즈에 관한 정보를 포함한 데이터 블록을 상기 분할원의 키로 암호화한 분할 사이즈 변경 패키지를 수신하고, 상기 분할원의 키로 그 분할 사이즈 변경 패키지를 복호하고, 그 데이터 블록에서 지시되어 있는 제2 메모리 영역의 사이즈를 지정된 사이즈만큼 변경하는 것을 특징으로 하는 정보 관리 방법. In the dividing area size changing step, a data block including information for identifying a second memory area to be resized, information indicating an enlargement or reduction of the size of the area, and information on information for changing the size is selected. Information for receiving a partition size change package encrypted with a key of the key, decrypting the partition size change package with a key of the partition source, and changing the size of the second memory area indicated by the data block by a specified size; How to manage. 메모리 공간을 1 이상의 메모리 영역으로 분할하여 관리하는 정보 관리 방법으로서, An information management method for managing a memory space by dividing it into one or more memory areas. 상기 메모리 공간은, 분할원이 갖는 제1 메모리 영역과, 상기 분할원으로부터 분할되어 다른 사업자에게 할당되어 있는 1 이상의 제2 메모리 영역으로 이루어지고, 분할할 때마다 제2 메모리 영역의 각각에 식별 정보가 할당되어 있으며, The memory space includes a first memory area included in the division source and at least one second memory area divided from the division source and assigned to another operator, and each piece of identification information is divided into each of the second memory areas. Is assigned, 사업자로부터의 요구에 따라 상기 제2 메모리 영역의 식별 정보를 변경하는 식별 정보 변경 스텝을 구비하는 것을 특징으로 하는 정보 관리 방법. And an identification information changing step of changing identification information of the second memory area in response to a request from a business operator. 제14항에 있어서, The method of claim 14, 상기 식별 정보 변경 스텝에서는, 임의의 사업자의 제2 메모리 영역의 식별 정보를 다른 사업자의 제2 메모리 영역의 분할 해제에 의해 결락한 식별 정보로 변경하는 것을 특징으로 하는 정보 관리 방법. And wherein the identification information changing step changes the identification information of the second memory area of an operator to the identification information missing by the division of the second memory area of another operator. 제14항에 있어서, The method of claim 14, 각 메모리 영역에의 액세스를 해당하는 사업자의 키에 기초하여 제어하는 액세스 제어 스텝을 더 구비하며, And an access control step of controlling access to each memory area based on a corresponding operator's key, 상기 식별 정보 변경 스텝에서는, 식별 정보 변경의 대상으로 되는 제2 메모리 영역의 식별 정보 및 변경하는 식별 정보를 포함한 데이터 블록을 상기 분할원의 키로 암호화한 식별 정보 변경 패키지를 수신하고, 상기 분할원의 키로 그 식별 정보 변경 패키지를 복호하고, 그 데이터 블록에서 지시되어 있는 제2 메모리 영역의 식별 정보를 지정되어 있는 식별 정보로 변경하는 것을 특징으로 하는 정보 관리 방법. In the identification information changing step, an identification information changing package obtained by encrypting a data block including identification information of the second memory area to be changed and identification information to be changed with a key of the division source is received. Decrypting the identification information change package with a key, and changing the identification information of the second memory area indicated by the data block to the specified identification information.
KR1020067026283A 2004-06-15 2005-06-09 Information management device and information management method KR20070022737A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020067026283A KR20070022737A (en) 2004-06-15 2005-06-09 Information management device and information management method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JPJP-P-2004-00177524 2004-06-15
KR1020067026283A KR20070022737A (en) 2004-06-15 2005-06-09 Information management device and information management method

Publications (1)

Publication Number Publication Date
KR20070022737A true KR20070022737A (en) 2007-02-27

Family

ID=43654353

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020067026283A KR20070022737A (en) 2004-06-15 2005-06-09 Information management device and information management method

Country Status (1)

Country Link
KR (1) KR20070022737A (en)

Similar Documents

Publication Publication Date Title
EP1770533A1 (en) Information management device and information management method
US8215547B2 (en) Data communicating apparatus and method for managing memory of data communicating apparatus
EP2183728B1 (en) Method, system and trusted service manager for securely transmitting an application to a mobile phone
US8621168B2 (en) Partitioning the namespace of a contactless smart card
US7516479B2 (en) Data communicating apparatus and method for managing memory of data communicating apparatus
KR20070030157A (en) Information management device and information management method
KR101253758B1 (en) Data transmission-reception system, contactless IC chip, mobile terminal, information processing method, and program
JP4576894B2 (en) Information management apparatus and information management method
JP2005134953A (en) Unset ic card, ic card issue system, and method for issuing ic card application
KR20070022737A (en) Information management device and information management method
JP4642596B2 (en) Information processing apparatus and method, and program
JP4599899B2 (en) Information management apparatus and information management method
JP4349130B2 (en) Data communication apparatus and memory management method for data communication apparatus
JP2005196409A (en) Data communication device and memory management method for data communication device
JP2005352963A (en) Information managing apparatus and control method therefor
JP2005196410A (en) Data communication device and memory management method for data communication device
KR100971120B1 (en) Method for Adjusting Memory of Working Element File in Smart Card
KR20080074061A (en) Method for adjusting memory of working element file in icc

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination