[go: up one dir, main page]

JP2007087120A - IC card mounted with a plurality of OSs, and issuance delegation method - Google Patents

IC card mounted with a plurality of OSs, and issuance delegation method Download PDF

Info

Publication number
JP2007087120A
JP2007087120A JP2005275282A JP2005275282A JP2007087120A JP 2007087120 A JP2007087120 A JP 2007087120A JP 2005275282 A JP2005275282 A JP 2005275282A JP 2005275282 A JP2005275282 A JP 2005275282A JP 2007087120 A JP2007087120 A JP 2007087120A
Authority
JP
Japan
Prior art keywords
contact
card
main
area
issue
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP2005275282A
Other languages
Japanese (ja)
Inventor
Yuichi Nakagome
祐一 中込
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co Ltd
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 Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP2005275282A priority Critical patent/JP2007087120A/en
Publication of JP2007087120A publication Critical patent/JP2007087120A/en
Pending legal-status Critical Current

Links

Images

Abstract

【課題】 複数のOSを備えたICカードにおいて、OS間で発行処理を委任することができるICカードを提供する。
【解決手段】 デュアルインターフェースICカード1には、OSとして、接触OS20と非接触OS21とが実装されている。コモンカーネル30は、接触OS20と非接触OS21とで共通のカーネルである。接触OS20および非接触OS21の双方にアクセス可能なコモンカーネル30が、コモンバッファ142に発行データを格納する機能、コモンバッファ142に格納された発行データを処理する機能を備えた接触委任モジュール300、非接触委任モジュール301を備えることで、接触OS20は非接触OS21に、そして、非接触OS21は接触OS20に、コモンカーネル30を介して発行処理を委任することができる。
【選択図】 図3
PROBLEM TO BE SOLVED: To provide an IC card capable of delegating an issuing process between OSs in an IC card having a plurality of OSs.
A dual interface IC card 1 is provided with a contact OS 20 and a non-contact OS 21 as OSs. The common kernel 30 is a common kernel for the contact OS 20 and the non-contact OS 21. A common kernel 30 that is accessible to both the contact OS 20 and the non-contact OS 21 has a function of storing issued data in the common buffer 142, and a function of processing the issued data stored in the common buffer 142. By providing the contact delegation module 301, the contact OS 20 can delegate the issuing process to the non-contact OS 21 and the non-contact OS 21 to the contact OS 20 via the common kernel 30.
[Selection] Figure 3

Description

本発明は、複数の通信I/Fを有し、それぞれの通信I/Fに対応した複数のOSを実装したICカードに関し、更に詳しくは、このようなICカードを発行処理する技術に関する。   The present invention relates to an IC card having a plurality of communication I / Fs and mounted with a plurality of OSs corresponding to the respective communication I / Fs, and more particularly to a technology for issuing such an IC card.

金融用途で普及している接触ICカードの機能と、交通用途(定期券)やドアゲートシステムで普及している非接触ICカードの機能とを兼ね備えたデュアルインターフェースICカードが普及しつつある。接触ICカードの機能と非接触ICカードの機能を一枚のICカードに集約することで、ICカードのユーザは複数枚のICカードを所持することから開放され、また、カード発行会社からすると、ICカードの発行枚数が抑えられることで、ICカードの発行に係るコストを削減できる。   Dual interface IC cards that have both the functions of contact IC cards popular in financial applications and the functions of non-contact IC cards popular in traffic applications (commuter pass) and door gate systems are becoming widespread. By consolidating the functions of contact IC card and non-contact IC card into one IC card, IC card users are freed from possessing multiple IC cards, and from the card issuing company, Since the number of issued IC cards can be reduced, the cost for issuing an IC card can be reduced.

好ましくは、デュアルインターフェースICカードに実装されたアプリケーションは、基幹となる一つのオペレーティングシステム(OS: Operating System)によって管理されることが望ましい。しかし、接触通信インターフェース(IF: InterFace)で動作するアプリケーションの規格(例えば、ファイルシステム)と、非接触I/Fで動作するアプリケーションの規格とがそれぞれ異なると、一枚のデュアルインターフェースICカードには、接触I/Fで動作するOSと非接触I/Fで動作するOSとを実装しなければならないケースが生じる。   Preferably, the application mounted on the dual interface IC card is preferably managed by a single operating system (OS). However, if the standard of an application that operates with a contact communication interface (IF: InterFace) (for example, a file system) and the standard of an application that operates with a non-contact I / F are different, In some cases, it is necessary to mount an OS that operates with a contact I / F and an OS that operates with a non-contact I / F.

特許文献1では、上述したデュアルインターフェースICカードのように、複数の通信I/Fを有し、それぞれの通信I/Fに対応した複数のOSを実装したICカードにおいて、ICカードが動作している通信I/Fに対応したOSを速やかに選択・起動することができる発明が開示されている。   In Patent Document 1, as in the dual interface IC card described above, the IC card operates in an IC card having a plurality of communication I / Fs and mounting a plurality of OSs corresponding to the respective communication I / Fs. An invention is disclosed in which an OS corresponding to a communication I / F can be quickly selected and activated.

特許文献1の発明を用いることで、デュアルインターフェースICカードに代表される複数の通信I/Fを有するICカードの利便性は高められる。しかし、このようなICカードを発行する時は、通信I/Fがそれぞれ異なるリーダライタを複数備えたICカード発行機を用い、それぞれの通信I/Fに対応したOSごとに、個別にデータを書き込まなければならない。   By using the invention of Patent Document 1, the convenience of an IC card having a plurality of communication I / Fs typified by a dual interface IC card can be enhanced. However, when issuing such an IC card, an IC card issuing machine having a plurality of reader / writers each having a different communication I / F is used, and data is individually stored for each OS corresponding to each communication I / F. Must be written.

製造するICカードの通信I/Fが定まっていれば、通信I/Fに対応した幾つかのリーダライタのみをICカード発行機は備えていればよいが、新規の通信I/FをICカードが備えるときは、ICカード発行機も新規に購入もしくは改造しなければならず、ICカード製造者が所有する設備が肥大してしまう問題があった。加えて、それぞれの通信I/Fに対応したOSごとに、個別にデータを書き込むことで、発行処理時間がかかってしまう問題もあった。
特開2004−318307号公報
If the communication I / F of the IC card to be manufactured is determined, the IC card issuing machine need only have some reader / writers corresponding to the communication I / F. However, the IC card issuing machine has to be newly purchased or modified, and there is a problem that the equipment owned by the IC card manufacturer is enlarged. In addition, there is a problem that it takes time to issue data by individually writing data for each OS corresponding to each communication I / F.
JP 2004-318307 A

そこで、このような問題を鑑みて、本発明は、デュアルインターフェースICカードに代表される複数の通信I/Fを備え、それぞれの通信I/Fに対応したOSが実装されたICカードにおいても、ICカードを発行するときは、一つの通信I/Fを利用するだけで、すべての発行を行うことができるICカードおよびICカードプログラムを提供することを目的とする。   Therefore, in view of such a problem, the present invention includes a plurality of communication I / Fs typified by a dual interface IC card, and an IC card on which an OS corresponding to each communication I / F is mounted. When issuing an IC card, an object is to provide an IC card and an IC card program capable of issuing all of them by using only one communication I / F.

上述の課題を解決する第1の発明は、複数の通信手段を備え、それぞれの通信手段で実行される複数のオペレーティングシステム(OS)を実装したICカードにおいて、前記ICカードは、揮発性メモリに設けられ、前記ICカードに実装されたすべてのOSからアクセス可能なI/F領域に発行データを格納する機能、前記I/F領域に格納された発行データをOSに受け渡し処理する機能を備えた委任モジュールを、実装されているOSごとに備え、前記ICカードが動作している前記通信手段に対応したOSである主OSが端末装置から受信した発行コマンドの処理をできないときは、前記主OSの前記委任モジュールが前記I/F領域に、前記発行データとして前記発行コマンドの一部もしくはすべてを格納し、前記主OSから指示された他のOSの前記委任モジュールが、前記I/F領域に格納された前記発行データをOSに受け渡し処理することで、前記主OSが他のOSに発行処理を委任することを特徴とする。   A first invention that solves the above-described problem is an IC card that includes a plurality of communication units and that includes a plurality of operating systems (OS) that are executed by the respective communication units. The IC card is stored in a volatile memory. A function of storing issued data in an I / F area accessible from all OSs installed in the IC card, and a function of passing issued data stored in the I / F area to the OS A delegation module is provided for each installed OS, and when the main OS that is the OS corresponding to the communication means on which the IC card is operating cannot process the issued command received from the terminal device, the main OS The delegation module stores a part or all of the issuance command as the issuance data in the I / F area, and is designated by the main OS. The delegation module of the other OS that has been transferred delivers the issuance data stored in the I / F area to the OS, so that the main OS delegates the issuance processing to the other OS. .

好ましくは、第1の発明に記載のICカードにおいて、前記ICカードに備えられた複数の前記通信手段には、接触型の手段と非接触型の手段とを少なくとも含むことを特徴とする。   Preferably, in the IC card according to the first invention, the plurality of communication means provided in the IC card include at least contact-type means and non-contact-type means.

また、第2の発明は、複数の通信手段を備え、それぞれの通信手段で実行される複数のオペレーティングシステム(OS)を実装したICカードにおいて、前記ICカードが動作している前記通信手段に対応したOSである主OSが、他のOSに発行処理を委任する発行委任方法であって、前記発行委任方法は、
端末装置から受信した発行コマンドの処理が可能であるか、前記主OSが判断するステップ、
前記主OSが発行データの処理をできないときは、前記主OSが、発行データとして、前記発行コマンドの一部もしくはすべてを、揮発性メモリに設けられ、前記ICカードに実装されたすべてのOSからアクセス可能なI/F領域に格納するステップ、
前記I/F領域に格納された前記発行データが、前記主OSから委任された前記主OS以外のOSに受け渡されるステップ、
前記主OSから委任されたOSが、前記I/F領域に格納された前記発行データを処理し、発行処理のレスポンスデータを前記I/F領域に格納するステップ、
前記I/F領域に格納されている前記レスポンスデータが、前記ICカードが動作している前記通信手段で前記端末装置に送信されるステップ、
を備えていることを特徴とする。
In addition, the second invention is provided with an IC card having a plurality of communication means and mounted with a plurality of operating systems (OS) executed by the respective communication means, corresponding to the communication means in which the IC card is operating. The issuance delegation method in which the main OS, which is the OS that has been delegated, delegates the issuance process to another OS,
A step in which the main OS determines whether the issued command received from the terminal device can be processed;
When the main OS cannot process the issued data, the main OS provides part or all of the issued command as issued data in a volatile memory from all the OSs mounted on the IC card. Storing in an accessible I / F area;
Passing the issued data stored in the I / F area to an OS other than the main OS delegated by the main OS;
An OS delegated by the main OS processes the issuance data stored in the I / F area and stores response data of the issuance process in the I / F area;
The response data stored in the I / F area is transmitted to the terminal device by the communication means in which the IC card is operating;
It is characterized by having.

上述した本発明によれば、デュアルインターフェースICカードに代表される複数の通信I/Fを備え、それぞれの通信I/Fに対応したOSが実装されたICカードにおいて、ICカードが前記委任モジュールを備えることで、各々のOSは他のOSに前記委任モジュールを介して発行処理を委任することができ、ICカードを発行するときは、一つの通信I/Fを利用するだけで、すべての発行を行うことができる。   According to the present invention described above, in an IC card that includes a plurality of communication I / Fs typified by a dual interface IC card, and in which an OS corresponding to each communication I / F is mounted, the IC card includes the delegation module. By providing each OS, it is possible to delegate the issuing process to the other OS via the delegation module. When issuing an IC card, all the issuing operations are performed by using only one communication I / F. It can be performed.

ここから、本発明をデュアルインターフェースICカードに適用した実施の形態について、図を参照しながら詳細に説明する。図1は、本発明が適用されたデュアルインターフェースICカード1(以下、デュアルカード1と略す)を説明する図である。   An embodiment in which the present invention is applied to a dual interface IC card will now be described in detail with reference to the drawings. FIG. 1 is a diagram for explaining a dual interface IC card 1 (hereinafter abbreviated as “dual card 1”) to which the present invention is applied.

図1(a)に示したように、デュアルカード1とはキャッシュカードサイズのカードで、デュアルカード1には、接触通信I/Fと非接触通信I/Fの2つの通信I/Fを有するICチップ10が実装されている。デュアルカード1が接触通信I/Fで動作するときは、ICカードのコンタクト端子1aが利用され、非接触通信I/Fで動作するときは、デュアルカード1に内蔵されたアンテナ1bが利用される。   As shown in FIG. 1A, the dual card 1 is a cash card size card, and the dual card 1 has two communication I / Fs, a contact communication I / F and a non-contact communication I / F. An IC chip 10 is mounted. When the dual card 1 operates with the contact communication I / F, the contact terminal 1a of the IC card is used. When the dual card 1 operates with the non-contact communication I / F, the antenna 1b built in the dual card 1 is used. .

図2は、デュアルカード1に実装されるICチップ10のブロック図である。ICチップ10には、中央演算装置11(Central Processing Unit、以下CPUと記す)に、バス17を介して、読み出し専用メモリ16(Read Only Memory、以下ROMと記す)、書換え可能なメモリとしてEEPROM15(Electrically Erasable Programmable Read-Only Memoryの略)、揮発性メモリとしてランダムアクセスメモリ14(Random Access Memory、以下RAMと記す)、図外の端末装置とデータを通信するための接触I/F回路12および非接触I/F回路13が接続されている。   FIG. 2 is a block diagram of the IC chip 10 mounted on the dual card 1. The IC chip 10 includes a central processing unit 11 (hereinafter referred to as “CPU”), a read-only memory 16 (hereinafter referred to as “ROM”), and an EEPROM 15 (as a rewritable memory) via a bus 17. Electrically Erasable Programmable Read-Only Memory), random access memory 14 (Random Access Memory, hereinafter referred to as RAM), volatile memory, contact I / F circuit 12 for communicating data with a terminal device not shown A contact I / F circuit 13 is connected.

なお、本発明は、ICチップ10の仕様を限定するものではなく、デュアルカード1の用途に適した仕様のICチップ10を選択することができる。例えばROM16およびEEPROM15の容量については限定しないし、書換え可能なメモリは強誘電体メモリまたはフラッシュメモリ等のEEPROM以外のメモリであっても構わない。またICチップ10はタイマー回路、暗号演算回路等の図示していない他のデバイスを備えていても構わない。   The present invention does not limit the specifications of the IC chip 10, and the IC chip 10 having specifications suitable for the application of the dual card 1 can be selected. For example, the capacities of the ROM 16 and the EEPROM 15 are not limited, and the rewritable memory may be a memory other than the EEPROM such as a ferroelectric memory or a flash memory. The IC chip 10 may include other devices (not shown) such as a timer circuit and a cryptographic operation circuit.

図3は、図1で示したデュアルカード1のソフトウェアブロック図である。デュアルカード1には、OSとして、デュアルカード1が接触I/Fで動作しているときに動作するOSである接触OS20と、デュアルカード1が非接触I/Fで動作しているときに動作するOSである非接触OS21との2つのOSが実装されている。   FIG. 3 is a software block diagram of the dual card 1 shown in FIG. The dual card 1 operates as an OS when the dual card 1 is operating with a contact I / F, and when the dual card 1 is operating with a non-contact I / F. Two OSs, a non-contact OS 21 that is an OS to be installed, are mounted.

それぞれのOSは、図外の端末装置から受信したコマンドを処理するためのプログラムの集まりであるコマンドライブラリを有し、このコマンドライブラリの中には、少なくともデュアルカード1の発行時にのみ使用される発行コマンドが含まれている。今後、接触OS20が有するコマンドライブラリを接触コマンドLIB200(LIB: Library)と呼び、非接触OS21が有するコマンドライブラリを非接触コマンドLIB201と記す。   Each OS has a command library that is a collection of programs for processing commands received from a terminal device (not shown), and in this command library, issuance that is used at least when the dual card 1 is issued. Contains commands. Hereinafter, the command library of the contact OS 20 will be referred to as a contact command LIB 200 (LIB: Library), and the command library of the non-contact OS 21 will be referred to as a non-contact command LIB 201.

図3で示したコモンカーネル30とは、接触OS20および非接触OS21の中核となるプログラムで、接触OS20および非接触OS21の双方から利用されるプログラムである。コモンカーネル30は、図2で示したICチップ10のハードウェア資源を制御する機能を有し、RAM14・EEPROM15にデータを書込む機能、端末装置とデータ通信するため機能などを、接触OS20および非接触OS21に提供する。   The common kernel 30 shown in FIG. 3 is a program that is the core of the contact OS 20 and the non-contact OS 21 and is a program that is used by both the contact OS 20 and the non-contact OS 21. The common kernel 30 has a function of controlling the hardware resources of the IC chip 10 shown in FIG. 2, and has a function of writing data to the RAM 14 and the EEPROM 15, a function of performing data communication with the terminal device, etc. Provide to the contact OS 21.

デュアルカード1では、コモンカーネル30は、端末装置とデータ通信するためのプログラムとして、接触I/F回路12を利用し、コンタクト端子1aを介して、ISO/IEC7816などの規格に準じた接触データ通信を行う接触通信モジュール310と、非接触I/F回路13を利用し、アンテナ1bを介して、ISO/IEC14443などの規格に準じた非接触データ通信を行う非接触通信モジュール311とを備える。   In the dual card 1, the common kernel 30 uses the contact I / F circuit 12 as a program for data communication with the terminal device, and contacts data communication conforming to a standard such as ISO / IEC7816 via the contact terminal 1a. And a non-contact communication module 311 that uses the non-contact I / F circuit 13 and performs non-contact data communication according to a standard such as ISO / IEC14443 through the antenna 1b.

本発明に係るデュアルカード1において特筆すべき点は、コモンカーネル30は、揮発性メモリであるRAM14に設けられたコモンバッファ142に発行データを格納する機能、コモンバッファ142に格納された発行データを処理する機能を備えた委任モジュールを、実装されているOSごとに備えている点である。図3では、接触OS20用の委任モジュールを接触委任モジュール300と記し、非接触OS21用の委任モジュールを非接触委任モジュール301と記している。   In the dual card 1 according to the present invention, it should be noted that the common kernel 30 stores the issue data in the common buffer 142 provided in the RAM 14 which is a volatile memory, and the issue data stored in the common buffer 142. A delegation module having a function to process is provided for each installed OS. In FIG. 3, the delegation module for the contact OS 20 is described as a contact delegation module 300, and the delegation module for the non-contact OS 21 is described as a non-contact delegation module 301.

上述しているように、接触OS20および非接触OS21の双方にアクセス可能なコモンカーネル300が、接触委任モジュール301および非接触委任モジュール311を備えることで、接触OS20は非接触OS21に、そして、非接触OS21は接触OS20に、コモンカーネル30を介して発行処理を委任することができる。   As described above, the common kernel 300 that is accessible to both the contact OS 20 and the non-contact OS 21 includes the contact delegation module 301 and the non-contact delegation module 311, so that the contact OS 20 becomes a non-contact OS 21 and a non-contact OS 21. The contact OS 21 can delegate the issue process to the contact OS 20 via the common kernel 30.

図4は、図1で示したデュアルカード1のメモリマップである。図4に示したように、ICチップ10のROM16には、コモンカーネル30、接触OS20および非接触OS21のプログラムコードが、それぞれ異なる物理アドレス空間上にマッピングされ、ICチップ10のEEPROM15は、接触OS20が利用する接触データ領域150と非接触OS21が利用する非接触データ領域151とが、それぞれ異なる物理アドレス空間上にマッピングされている。   FIG. 4 is a memory map of the dual card 1 shown in FIG. As shown in FIG. 4, in the ROM 16 of the IC chip 10, program codes of the common kernel 30, the contact OS 20 and the non-contact OS 21 are mapped on different physical address spaces, and the EEPROM 15 of the IC chip 10 stores the contact OS 20 The contact data area 150 used by the non-contact OS and the non-contact data area 151 used by the non-contact OS 21 are mapped on different physical address spaces.

ICチップ10のRAM14は、少なくとも発行時に接触OS20が利用する専用の領域である接触ワーク領域140と、少なくとも発行時に非接触OS21が利用する専用の領域である非接触ワーク領域141とが設けられている。加えて、RAM14には、接触通信モジュール310および非接触通信モジュール311が、端末装置から受信したコマンドを一時的に記憶するための領域である送受信バッファ143と、上述のコモンバッファ142が設けられている。   The RAM 14 of the IC chip 10 is provided with at least a contact work area 140 that is a dedicated area used by the contact OS 20 at the time of issuance, and a non-contact work area 141 that is a dedicated area used by the non-contact OS 21 at the time of issuance. Yes. In addition, the RAM 14 includes a transmission / reception buffer 143 that is an area for the contact communication module 310 and the non-contact communication module 311 to temporarily store commands received from the terminal device, and the common buffer 142 described above. Yes.

RAM14に設けられたコモンバッファ142とは、接触委任モジュール300と非接触委任モジュール間でデータ(発行データとレスポンスデータ)を受け渡すときに利用されるバッファである。   The common buffer 142 provided in the RAM 14 is a buffer used when data (issued data and response data) is transferred between the contact delegation module 300 and the non-contact delegation module.

例えば、接触OS20から非接触OS21に発行処理の委任があると、接触委任モジュール300によって、少なくとも、非接触OS21用の発行コマンドを含む発行データが、コモンバッファ142に格納され、発行データが非接触委任モジュール301に受け渡される。そして、コモンバッファ142に格納された発行データを非接触OS21が処理したときのレスポンスデータは、非接触委任モジュール301によって、コモンバッファ142に格納され、接触委任モジュール300に受け渡される。   For example, when the contact OS 20 delegates issue processing to the non-contact OS 21, the contact delegation module 300 stores at least issue data including an issue command for the non-contact OS 21 in the common buffer 142, and the issue data is contactless. Passed to the delegation module 301. The response data when the contactless OS 21 processes the issuance data stored in the common buffer 142 is stored in the common buffer 142 by the contactless delegation module 301 and transferred to the contact delegation module 300.

ここから、図5を用いて、デュアルカード1の発行手順について詳細に説明する。図5は、接触I/Fでデュアルカード1を発行するときの手順を示したフロー図である。この手順の最初のステップS1は、デュアルカード1が接触I/Fで活性化されるステップである。このステップでは、デュアルカード1はISO/IEC7816の手順に従い、端末装置によって活性化され、端末装置からのコマンド受信待ちの状態になる。   From here, the issuing procedure of the dual card 1 is demonstrated in detail using FIG. FIG. 5 is a flowchart showing a procedure when the dual card 1 is issued by the contact I / F. The first step S1 of this procedure is a step in which the dual card 1 is activated by the contact I / F. In this step, the dual card 1 is activated by the terminal device according to the procedure of ISO / IEC7816, and enters a state of waiting for command reception from the terminal device.

次に実行されるL1からL2まのループは、デュアルカード1の発行処理が発行完了になるまで、繰り返し実行されるループである。   The next loop executed from L1 to L2 is a loop that is repeatedly executed until the issuing process of the dual card 1 is completed.

このループの最初のステップS2は、接触I/Fで動作しているデュアルカード1が端末装置から発行コマンドを受信するステップである。このステップでは、デュアルカード1のコモンカーネル30に備えられた接触通信モジュール310が端末装置から発行コマンドを受信し、受信した発行コマンドはRAM14の送受信バッファ143に格納される。   The first step S2 of this loop is a step in which the dual card 1 operating with the contact I / F receives an issue command from the terminal device. In this step, the contact communication module 310 provided in the common kernel 30 of the dual card 1 receives an issue command from the terminal device, and the received issue command is stored in the transmission / reception buffer 143 of the RAM 14.

次のステップS3は、接触コマンドLIB200が、送受信バッファ143に格納された発行コマンドの処理が可能であるか確認するステップである。このステップでは、コモンカーネル30から接触OS20に処理が移行し、接触OS20の接触コマンドLIB200は、RAM14の送受信バッファ143に格納された発行コマンドのコマンド識別子などを参照し、受信した発行コマンドが処理できるコマンドであるか確認する。   The next step S3 is a step of confirming whether the contact command LIB 200 can process the issued command stored in the transmission / reception buffer 143. In this step, the process shifts from the common kernel 30 to the contact OS 20, and the contact command LIB 200 of the contact OS 20 can process the received issue command by referring to the command identifier of the issue command stored in the transmission / reception buffer 143 of the RAM 14. Check if it is a command.

ステップS3で、接触コマンドLIB200が、送受信バッファ143に格納された発行コマンドの処理をできる場合はステップS4に進み、できない場合はステップS10に進み、発行コマンドの処理を非接触OS21に委任するステップS10の発行委任処理が実行される。   If the contact command LIB 200 can process the issued command stored in the transmission / reception buffer 143 in step S3, the process proceeds to step S4. If not, the process proceeds to step S10, and the process of the issued command is delegated to the non-contact OS 21. Issuance delegation process is executed.

送受信バッファ143に格納された発行コマンドの処理を接触コマンドLIB200ができる場合に実行されるステップS4は、送受信バッファ143に格納された発行コマンドを、接触コマンドLIB200が処理するステップである。このステップでは、接触コマンドLIB200の発行コマンドを処理するプログラムが、RAM14の接触ワーク領域140を利用し、EEPROM15の接触データ領域150に初期データの書き込み、もしくは、初期ファイルの生成などの処理を行い、デュアルカード1は、接触OS20によって発行される。   Step S4 that is executed when the contact command LIB 200 can process the issue command stored in the transmission / reception buffer 143 is a step in which the contact command LIB 200 processes the issue command stored in the transmission / reception buffer 143. In this step, the program for processing the issuance command of the contact command LIB 200 uses the contact work area 140 of the RAM 14 to perform processing such as writing initial data to the contact data area 150 of the EEPROM 15 or generating an initial file. The dual card 1 is issued by the contact OS 20.

ステップS4の次に実行されるステップS5は、接触OS20が発行コマンドのレスポンスデータを送受信バッファ143に格納するステップである。このステップでは、接触コマンドLIB200は処理した発行コマンドのレスポンスデータを送受信バッファ143に格納し、処理をコモンカーネル30に移行する。   Step S5 executed after step S4 is a step in which the contact OS 20 stores the response data of the issued command in the transmission / reception buffer 143. In this step, the contact command LIB 200 stores response data of the processed issuance command in the transmission / reception buffer 143 and shifts the processing to the common kernel 30.

ステップS5の次に実行されるステップS6は、接触コマンドLIB200が処理した発行コマンドのレスポンスデータが送信されるステップである。このステップでは、コモンカーネル30の接触通信モジュール310が、送受信バッファ143に格納されたレスポンスデータを端末装置に送信する。   Step S6, which is executed after step S5, is a step in which response data of the issued command processed by the contact command LIB 200 is transmitted. In this step, the contact communication module 310 of the common kernel 30 transmits the response data stored in the transmission / reception buffer 143 to the terminal device.

ここから、図6を参照しながら、図5のステップS10で実行される発行委任処理について詳細に説明する。図6は、発行委任処理の詳細な手順を示したフロー図である。この手順の最初のステップS11は、接触委任モジュール300がコモンバッファ142に発行データを格納するステップである。このステップでは、送受信バッファ143に格納されている発行コマンドの一部またはすべてを発行データとして、接触委任モジュール300はコモンバッファ142に格納する。なお、コモンバッファ142に格納される発行データには、少なくとも、非接触OS21用の発行コマンドが含まれる。   From here, the issue delegation process executed in step S10 of FIG. 5 will be described in detail with reference to FIG. FIG. 6 is a flowchart showing a detailed procedure of the issue delegation process. The first step S11 of this procedure is a step in which the contact delegation module 300 stores issuance data in the common buffer 142. In this step, the contact delegation module 300 stores part or all of the issuance commands stored in the transmission / reception buffer 143 as issuance data in the common buffer 142. Note that the issue data stored in the common buffer 142 includes at least an issue command for the non-contact OS 21.

次のステップS12は、接触委任モジュール300が接触委任モジュール301に、コモンバッファ142に格納された発行データの処理を委任するステップである。このステップでは、コモンカーネル30の接触委任モジュール300は、コモンカーネル30の非接触委任モジュール301を呼出し、コモンバッファ142に格納された発行データの処理を非接触委任モジュール301に委任する。   In the next step S12, the contact delegation module 300 delegates the contact delegation module 301 to the processing of the issuance data stored in the common buffer 142. In this step, the contact delegation module 300 of the common kernel 30 calls the non-contact delegation module 301 of the common kernel 30 and delegates the processing of the issuance data stored in the common buffer 142 to the non-contact delegation module 301.

次のステップS13は、非接触委任モジュール301が非接触コマンドLIB201を呼出し、コモンバッファ142に格納された発行データを処理するステップである。このステップでは、非接触コマンド処理LIB201の発行コマンドを処理するプログラムが、RAM14の非接触ワーク領域141を利用し、EEPROM15の非接触データ領域151にデータの書き込み、初期ファイルの生成などの、コモンバッファ142に格納された発行データに対応する処理を行い、デュアルカード1は、非接触OS21によって発行される。   The next step S13 is a step in which the contactless delegation module 301 calls the contactless command LIB 201 and processes the issuance data stored in the common buffer 142. In this step, a program for processing an issue command of the non-contact command processing LIB 201 uses a non-contact work area 141 of the RAM 14 to write data to the non-contact data area 151 of the EEPROM 15 and generate an initial file. The processing corresponding to the issue data stored in 142 is performed, and the dual card 1 is issued by the non-contact OS 21.

次のステップS14は、非接触委任モジュール301が、コモンバッファ142に格納された発行データを処理したときのレスポンスデータをコモンバッファ142に格納するステップである。このステップでは、非接触委任モジュール301は、非接触コマンドLIB201から、このレスポンスデータを受け取り、レスポンスデータをコモンバッファ142に格納する。   The next step S <b> 14 is a step of storing response data in the common buffer 142 when the contactless delegation module 301 processes the issuance data stored in the common buffer 142. In this step, the contactless delegation module 301 receives this response data from the contactless command LIB 201 and stores the response data in the common buffer 142.

次のステップS15は、接触委任モジュール300が、コモンバッファ142に格納されたレスポンスデータを送受信バッファ143にコピーするステップである。このステップでは、非接触委任モジュール301から接触委任モジュール300に処理が戻り、接触委任モジュール300は、コモンバッファ142のレスポンスデータを送受信バッファ143にコピーする。   In the next step S15, the contact delegation module 300 copies the response data stored in the common buffer 142 to the transmission / reception buffer 143. In this step, the process returns from the contactless delegation module 301 to the contact delegation module 300, and the contact delegation module 300 copies the response data of the common buffer 142 to the transmission / reception buffer 143.

次のステップS16は、送受信バッファ143に格納されたレスポンスデータが、端末装置に送信されるステップである。このステップでは、接触通信モジュール200が、送受信バッファ143に格納されたレスポンスデータを、端末装置に送信する。このステップをもって、発行委任処理は終了する。   The next step S16 is a step in which the response data stored in the transmission / reception buffer 143 is transmitted to the terminal device. In this step, the contact communication module 200 transmits the response data stored in the transmission / reception buffer 143 to the terminal device. With this step, the issuance delegation process ends.

これまで述べた実施の形態は、一つの実施の形態にしかすぎない。これまで述べた実施の形態では、図1に示したように、ICカードをキャッシュカードサイズのデュアルカード1としているが、ICカードは、ICカードのICチップ近傍を短冊状に切り取った形状のSIM(Subscriber Identity Module)であっても構わない。   The embodiment described so far is only one embodiment. In the embodiment described so far, as shown in FIG. 1, the IC card is a cash card size dual card 1, but the IC card is a SIM having a shape in which the vicinity of the IC chip of the IC card is cut into a strip shape. (Subscriber Identity Module).

加えて、これまで述べた実施の形態においては、ICカードに備えらている通信I/Fを接触I/Fと非接触I/Fとしているが、本発明は何ら通信I/Fに依存するものではない。接触I/Fは、ISO/IEC7816規格に準拠した通信でもよく、また、USB規格に準拠した通信でもよい。   In addition, in the embodiments described so far, the communication I / F provided in the IC card is a contact I / F and a non-contact I / F, but the present invention depends on the communication I / F at all. It is not a thing. The contact I / F may be communication conforming to the ISO / IEC7816 standard or communication conforming to the USB standard.

デュアルカードを説明する図。The figure explaining a dual card. デュアルカードに実装されるICチップのブロック図。The block diagram of the IC chip mounted in a dual card. デュアルカードのソフトウェアブロック図。The software block diagram of a dual card. デュアルカードのメモリマップ。Dual card memory map. 接触I/Fでデュアルカードを発行するときの手順を示したフロー図。The flowchart which showed the procedure when issuing a dual card by contact I / F. 発行委任処理の詳細な手順を示したフロー図。The flowchart which showed the detailed procedure of issue delegation processing.

符号の説明Explanation of symbols

1 デュアルカード
10 ICチップ
14 RAM
142 コモンバッファ
143 送受信バッファ
15 EEPROM
16 ROM
20 接触OS
200 接触コマンドLIB
21 非接触OS
201 非接触コマンドLIB
30 コモンカーネル
300 接触委任モジュール
301 非接触委任モジュール
310 接触通信モジュール
311 非接触委任モジュール

1 Dual card 10 IC chip 14 RAM
142 Common buffer 143 Transmission / reception buffer 15 EEPROM
16 ROM
20 Contact OS
200 Contact command LIB
21 Non-contact OS
201 Non-contact command LIB
30 common kernel 300 contact delegation module 301 non-contact delegation module 310 contact communication module 311 non-contact delegation module

Claims (3)

複数の通信手段を備え、それぞれの通信手段で実行される複数のオペレーティングシステム(OS)を実装したICカードにおいて、
前記ICカードは、揮発性メモリに設けられ、前記ICカードに実装されたすべてのOSからアクセス可能なI/F領域に発行データを格納する機能、前記I/F領域に格納された発行データをOSに受け渡し処理する機能を備えた委任モジュールを、実装されているOSごとに備え、
前記ICカードが動作している前記通信手段に対応したOSである主OSが端末装置から受信した発行コマンドの処理をできないときは、前記主OSの前記委任モジュールが前記I/F領域に、前記発行データとして前記発行コマンドの一部もしくはすべてを格納し、前記主OSから指示された他のOSの前記委任モジュールが、前記I/F領域に格納された前記発行データをOSに受け渡し処理することで、前記主OSが他のOSに発行処理を委任することを特徴とするICカード。
In an IC card provided with a plurality of communication means and mounted with a plurality of operating systems (OS) executed by the respective communication means,
The IC card is provided in a volatile memory and has a function of storing issue data in an I / F area accessible from all OSs mounted on the IC card, and the issue data stored in the I / F area. A delegation module having a function of passing to the OS is provided for each installed OS,
When the main OS, which is the OS corresponding to the communication means on which the IC card is operating, cannot process the issued command received from the terminal device, the delegation module of the main OS enters the I / F area, Part or all of the issue command is stored as issue data, and the delegation module of another OS instructed by the main OS passes the issue data stored in the I / F area to the OS. The IC card is characterized in that the main OS delegates the issuing process to another OS.
請求項1の発明に記載のICカードにおいて、前記ICカードに備えられた複数の前記通信手段には、接触型の手段と非接触型の手段とを少なくとも含むことを特徴とするICカード。   2. The IC card according to claim 1, wherein the plurality of communication means provided in the IC card include at least contact-type means and non-contact-type means. 複数の通信手段を備え、それぞれの通信手段で実行される複数のオペレーティングシステム(OS)を実装したICカードにおいて、前記ICカードが動作している前記通信手段に対応したOSである主OSが、他のOSに発行処理を委任する発行委任方法であって、
端末装置から受信した発行コマンドの処理が可能であるか、前記主OSが判断するステップ、
前記主OSが発行データの処理をできないときは、前記主OSが、発行データとして、前記発行コマンドの一部もしくはすべてを、揮発性メモリに設けられ、前記ICカードに実装されたすべてのOSからアクセス可能なI/F領域に格納するステップ、
前記I/F領域に格納された前記発行データが、前記主OSから委任された前記主OS以外のOSに受け渡されるステップ、
前記主OSから委任されたOSが、前記I/F領域に格納された前記発行データを処理し、発行処理のレスポンスデータを前記I/F領域に格納するステップ、
前記I/F領域に格納されている前記レスポンスデータが、前記ICカードが動作している前記通信手段で前記端末装置に送信されるステップ、
を備えていることを特徴とする前記発行委任方法。


In an IC card provided with a plurality of communication means and mounted with a plurality of operating systems (OS) executed by the respective communication means, a main OS which is an OS corresponding to the communication means in which the IC card is operating, An issue delegation method for delegating issue processing to another OS,
A step in which the main OS determines whether the issued command received from the terminal device can be processed;
When the main OS cannot process the issued data, the main OS provides part or all of the issued command as issued data in a volatile memory from all the OSs mounted on the IC card. Storing in an accessible I / F area;
Passing the issued data stored in the I / F area to an OS other than the main OS delegated by the main OS;
An OS delegated by the main OS processes the issuance data stored in the I / F area and stores response data of the issuance process in the I / F area;
The response data stored in the I / F area is transmitted to the terminal device by the communication means in which the IC card is operating;
The issuance delegation method characterized by comprising:


JP2005275282A 2005-09-22 2005-09-22 IC card mounted with a plurality of OSs, and issuance delegation method Pending JP2007087120A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005275282A JP2007087120A (en) 2005-09-22 2005-09-22 IC card mounted with a plurality of OSs, and issuance delegation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005275282A JP2007087120A (en) 2005-09-22 2005-09-22 IC card mounted with a plurality of OSs, and issuance delegation method

Publications (1)

Publication Number Publication Date
JP2007087120A true JP2007087120A (en) 2007-04-05

Family

ID=37974036

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005275282A Pending JP2007087120A (en) 2005-09-22 2005-09-22 IC card mounted with a plurality of OSs, and issuance delegation method

Country Status (1)

Country Link
JP (1) JP2007087120A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009252146A (en) * 2008-04-10 2009-10-29 Toppan Printing Co Ltd Information recording medium, semiconductor device, program and initialization method
CN101778383A (en) * 2009-01-08 2010-07-14 索尼公司 Apparatus, method, program, and system for information processing
JP2010198306A (en) * 2009-02-25 2010-09-09 Sony Corp Information processing device, method, and program
EP2242030A2 (en) 2009-04-14 2010-10-20 Sony Corporation Information processing apparatus, method and program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002259922A (en) * 2001-03-02 2002-09-13 Jcb:Kk Data processing device, integrated circuit, IC card, data processing method, and data processing program
JP2005242445A (en) * 2004-02-24 2005-09-08 Sony Corp Semiconductor integrated circuit, portable module, and message communication method.

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002259922A (en) * 2001-03-02 2002-09-13 Jcb:Kk Data processing device, integrated circuit, IC card, data processing method, and data processing program
JP2005242445A (en) * 2004-02-24 2005-09-08 Sony Corp Semiconductor integrated circuit, portable module, and message communication method.

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009252146A (en) * 2008-04-10 2009-10-29 Toppan Printing Co Ltd Information recording medium, semiconductor device, program and initialization method
CN101778383A (en) * 2009-01-08 2010-07-14 索尼公司 Apparatus, method, program, and system for information processing
US8489879B2 (en) 2009-01-08 2013-07-16 Sony Corporation Apparatus, method, program, and system for information processing
CN101778383B (en) * 2009-01-08 2013-10-30 索尼公司 Apparatus, method, program, and system for information processing
US9396045B2 (en) 2009-02-25 2016-07-19 Sony Corporation Information processing apparatus, method, and program
JP2010198306A (en) * 2009-02-25 2010-09-09 Sony Corp Information processing device, method, and program
US10733031B2 (en) 2009-02-25 2020-08-04 Sony Corporation Information processing apparatus, method, and program
EP2565784A1 (en) 2009-02-25 2013-03-06 Sony Corporation Information processing apparatus, method, and program
US8544030B2 (en) 2009-02-25 2013-09-24 Sony Corporation Information processing apparatus, method, and program
US9817704B2 (en) 2009-02-25 2017-11-14 Sony Corporation Information processing apparatus, method, and program
EP2242030A2 (en) 2009-04-14 2010-10-20 Sony Corporation Information processing apparatus, method and program
US9037687B2 (en) 2009-04-14 2015-05-19 Sony Corporation Information processing apparatus, method and program for writing file system metadata of plural operating systems
EP2242030A3 (en) * 2009-04-14 2011-08-17 Sony Corporation Information processing apparatus, method and program

Similar Documents

Publication Publication Date Title
KR101783526B1 (en) Ic card, electronic device and portable electronic device
JP2007087120A (en) IC card mounted with a plurality of OSs, and issuance delegation method
JP2009075797A (en) Portable electronic device
EP3023925B1 (en) Secure element with applications
JP7468754B1 (en) ELECTRONIC INFORMATION STORAGE MEDIUM, IC CHIP, IC CARD, RECEPTION BLOCK PROCESSING METHOD, AND PROGRAM
JP2009080673A (en) Portable electronic device and command processing method in portable electronic device
JP6182940B2 (en) IC card, status word output method, and status word output processing program
JP2007122289A (en) IC card having a plurality of operating systems and IC card program
JP7005934B2 (en) Electronic information storage medium, IC card, data transmission method, data writing method, data transmission program and data writing program
JP7439847B2 (en) Electronic information storage medium, key data setting method, and program
JP7444197B2 (en) Electronic information storage medium, cryptographic operation method selection method, and program
JP7559916B1 (en) ELECTRONIC INFORMATION STORAGE MEDIUM, IC CHIP, IC CARD, ELEMENT DATA STORAGE METHOD, AND PROGRAM
JP2006172271A (en) Multi-application ic card, and program for ic card
JP7322923B2 (en) Secure element, transaction control method and device
JP4784138B2 (en) IC card and IC card program
JP7600322B1 (en) IC Card
JP7501808B2 (en) IC chip
JP5991119B2 (en) COMMUNICATION SYSTEM, IC CARD, IC CARD PROCESSING PROGRAM, EXTERNAL DEVICE, AND COMMUNICATION METHOD
JP2006293706A (en) Multi-application IC card with application update function
JP7420179B1 (en) Electronic information storage medium, IC card, issuance processing method, and program
JP7533142B2 (en) Electronic information storage medium, initialization sequence execution method, and program
JP4734838B2 (en) Information recording medium, program, and command execution control method
JP2008234415A (en) IC card
JP4811560B2 (en) IC card and IC card program
JP2006209172A (en) IC card and IC card program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080416

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110406

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110413

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110816