JP2004157924A - Portable electronic device - Google Patents
Portable electronic device Download PDFInfo
- Publication number
- JP2004157924A JP2004157924A JP2002325128A JP2002325128A JP2004157924A JP 2004157924 A JP2004157924 A JP 2004157924A JP 2002325128 A JP2002325128 A JP 2002325128A JP 2002325128 A JP2002325128 A JP 2002325128A JP 2004157924 A JP2004157924 A JP 2004157924A
- Authority
- JP
- Japan
- Prior art keywords
- data
- memory
- sharing
- shared
- applications
- 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.)
- Granted
Links
Images
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、たとえば、書込み、書換えが可能な不揮発性メモリおよびCPUなどの制御素子を有し、選択的に外部との間でデータの入出力を行なう手段を備えたICチップを内蔵した、いわゆるICカードと称される携帯可能電子装置に係り、特に複数のアプリケーションが登録されている携帯可能電子装置に関する。
【0002】
【従来の技術】
近年、たとえば、クレジット、ポイント、デビットなどの複数のアプリケーションに対応したICカードが実用化されている。そして、最近、この種のICカードにおいて、登録された複数のアプリケーション間でデータを共有して使用する方法が提案されている(たとえば、特許文献1参照)。
【0003】
【特許文献1】
特開平2−50287号公報
【0004】
【発明が解決しようとする課題】
従来の複数のアプリケーション間でのデータ共有には、
(1)エレメンタリファイル(EF)単位でのデータ共有のオン/オフを指定できる。
(2)書換え不可能な不揮発性メモリ(ROM)にプログラムされたデータのみ、データ要素単位にて共有のオン/オフを指定できる。
【0005】
という方法が用いられてきた。
【0006】
ところが、上記(1)の方法では、共有するデータをデータ要素単位に細かく指定することが行なえない。また、上記(2)の方法を用いて、細かく共有データを指定するためには、不揮発性メモリ(ROM)にあらかじめプログラムしておく必要があり、さらに、カード発行時などにデータ共有のオン/オフを任意に設定することができず、プログラムされた一義的な共有しか行なえないという、汎用的なプログラムを開発とするための障害となっていた。
【0007】
そこで、本発明は、登録された複数のアプリケーション間でのデータ共有のオン/オフを、発行時に任意に変更することを可能とし、また、ファイル内の細かなデータ要素単位でのデータ共有のオン/オフ指定も可能とする携帯可能電子装置を提供することを目的とする。
【0008】
【課題を解決するための手段】
本発明の携帯可能電子装置は、データを記憶するメモリ、および、このメモリに対してデータの読出しあるいは書込みを行なうための制御部を有し、選択的に外部との間でデータの入出力を行ない、かつ、複数のアプリケーションが登録されていて、これら複数のアプリケーションに関係するデータが格納される複数のアプリケーションファイルが前記メモリ内に設けられている携帯可能電子装置において、前記複数のアプリケーション間で、そのアプリケーションファイル内のデータを共有指定するための共有データを記憶した記憶手段と、この記憶手段に記憶された共有データを解釈し前記データ共有を実現する制御手段とを具備している。
【0009】
また、本発明の携帯可能電子装置は、データを記憶する書換え可能な不揮発性の第1のメモリ、この第1のメモリに対してデータの読出しあるいは書込みを行なうための制御部、および、この制御部が動作するためのプログラムが格納されている書換え不可能な不揮発性の第2のメモリを有し、選択的に外部との間でデータの入出力を行ない、かつ、複数のアプリケーションが登録されていて、これら複数のアプリケーションに関係するデータが格納される複数のアプリケーションファイルが前記第1のメモリ内に設けられている携帯可能電子装置において、前記第2のメモリ内に記憶され、前記複数のアプリケーション間で、そのアプリケーションファイル内のデータを共有指定するための共有データを格納した共有データテーブルと、前記第1のメモリ内に記憶され、前記共有データテーブルに対応して前記データ共有を行なうか否かを指定する共有指定データと、前記第2のメモリ内に記憶され、前記第2のメモリに記憶された共有データテーブルの内容および前記第1のメモリに記憶された共有指定データを解釈し前記データ共有を実現するプログラムを有し、このプログラムを実行することにより前記データ共有を実現する制御手段とを具備している。
【0010】
【発明の実施の形態】
以下、本発明の実施の形態について図面を参照して説明する。
図1は、本実施の形態に係る携帯可能電子装置としてのICカードを取扱うICカードシステムの構成例を示すものである。このICカードシステムは、ICカード11をカードリーダ・ライタ12を介してパーソナルコンピュータなどの端末装置13と接続可能にするとともに、端末装置13にキーボード14、CRT表示部16、プリンタ16を接続して構成される。
【0011】
図2は、ICカード11の構成を示すもので、制御部としての制御素子(たとえば、CPU)101、第1のメモリとしてのデータメモリ102、ワーキングメモリ103、第2のメモリとしてのプログラムメモリ104、および、カードリーダ・ライタ12との電気的接触を得るためのコンタクト部105によって構成されている。そして、これらのうち、破線内の部分(制御素子101、データメモリ102、ワーキングメモリ103、プログラムメモリ104)は1つ(あるいは複数)のICチップで構成され、さらに、このICチップとコンタクト部105とが一体的にICモジュール化されて、ICカード本体内に埋設されている。
【0012】
データメモリ102は、各種データの記憶に使用され、たとえば、EEPROMなどの記憶内容が書換え可能な不揮発性メモリで構成されている。
ワーキングメモリ103は、制御素子101が処理を行なう際の処理データなどを一時的に保持するための作業用メモリであり、たとえば、RAMなどで構成される。
プログラムメモリ104は、たとえば、マスクROMなどの記憶内容が書換え不可能な不揮発性メモリで構成されており、制御素子101の制御プログラム、および、複数のアプリケーションプログラムなどを記憶するものである。
【0013】
図3は、データメモリ102の構成を示している。データメモリ102は、複数のアプリケーションに関するデータがファイル構造で記憶されている。図2の例では、たとえば、2つのクレジット用アプリケーションが登録された状態を示している。
【0014】
すなわち、最上位がマスタファイル(MF:Master File)201で、その配下には、各アプリケーションごとに設定されるフォルダとしてアプリケーションファイル(ADF:Application Dedicated File、DF番号:01,02)202,203が設けられ、さらに、アプリケーションファイル202の配下には、実際にアプリケーションで使われるユーザデータ等の格納に使用されるエレメンタリファイル(EF:Elementary File)、たとえば、レコードデータEF(EF番号:11)204、キーデータEF(EF番号:12)205、バイナリデータEF(EF番号:13)206、共有データテーブルEF(EF番号:14)207が設けられ、アプリケーションファイル203の配下には、同じく実際にアプリケーションで使われるユーザデータ等の格納に使用されるエレメンタリファイル、たとえば、レコードデータEF(EF番号:21)208、キーデータEF(EF番号:22)209、バイナリデータEF(EF番号:23)210、共有データテーブルEF(EF番号:24)211が設けられている構成になっている。
【0015】
バイナリデータEF206,210は、たとえば、図4に示すように、その内部がデータ要素として、それぞれ、取引回数カウンタ、取引金額、前回取引結果、取引回数上限値、取引金額上限値、と分かれているものとする。
【0016】
本実施の形態では、データ要素単位でのデータ共有の有効性を、カード発行時に任意に指定可能とするもので、たとえば、取引回数カウンタのみを共有することにより、これまではアプリケーションごとにカウントされていた取引回数が、カード全体での取引回数カウンタとなり、カード使用者の取引回数に対して厳しい条件付けを行なうことができる。また、このような厳しい条件付けを行ないたくない場合は、データ共有をオフに設定することで、アプリケーションごとに取引回数カウンタを別々に使用することもできる。
【0017】
本実施の形態では、図3に示した共有データテーブルEF207,211を使用することで、アプリケーションファイル202,203の間において、たとえば、バイナリデータEF206,210内の取引回数カウンタのみをデータ共有オンするなど、データ要素単位でのデータ共有のオン/オフを任意に設定することが可能であり、上記のような有効性を得ることができる。以下、その実現方法について詳細に説明する。
【0018】
まず、共有データテーブルEF207,211は、たとえば、図5に示すように構成されている。すなわち、1つのデータ要素のデータ共有をオンに指定するために、下記のようなデータが連なったテーブルを作成する。
参照元EF番号 :1バイト
参照元データ先頭アドレス:2バイト
参照先DF番号 :1バイト
参照先EF番号 :1バイト
参照先データ先頭アドレス:2バイト
参照データ長 :2バイト
ここで、現在カレント状態となっているアプリケーションファイル(ADF)を参照元、データを共有する(データを参照する)先となるアプリケーションファイル(ADF)を参照先と呼ぶ。たとえば、図5に示したように共有データテーブルEF211が設定されている場合、アプリケーションファイル202,203間では、図4に示すバイナリデータEF206,210内の取引回数カウンタのみがデータ単位で共有オンの指定をされた状態となる。
ここに、共有データテーブルEF211内の先頭バイトは、以降のデータに設定されている共有指定されたデータの個数を示し、図5の例は共有指定されたデータの個数(共有データ数)が1個(01h)の場合を示している。
【0019】
なお、実際の運用において、この共有データテーブルEF207,211へのデータ設定は、アプリケーションファイル202,203間でのファイアウォールなど、セキュリティの確保のため、ICカードの発行時、または、ICカードの運用時においては、しかるべきアクセス権限を持つ人だけが設定、変更できるようにする必要がある。
【0020】
次に、共有データテーブルEFが設定されているICカードの動作を図6に示すフローチャートを参照して説明する。
たとえば、今、アプリケーションファイル203が選択された状態にあり、この状態において、端末装置13からコマンドを受信すると(ステップS1)、制御素子101は、受信したコマンドの対象となるエレメンタリファイル(EF)が共有データテーブルEF207内の参照元エレメンタリファイルとして登録されているかを判定する(ステップS2)。この判定の結果、参照元エレメンタリファイルとして登録されていない場合、制御素子101は、通常のコマンド処理を継続する。
【0021】
ステップS2の判定の結果、参照元エレメンタリファイルとして登録されているエレメンタリファイルにアクセスするコマンドと判定された場合、制御素子101は、データメモリ102内の該当エレメンタリファイル(この例の場合、バイナリデータEF210)のデータをコマンド処理のため、ワーキングメモリ(RAM)103へ展開する(ステップS3)。
【0022】
次に、制御素子101は、共有データテーブルEF207内の参照元データ先頭アドレス、参照先DF番号、参照先EF番号、参照先データ先頭アドレスからデータ単位で共有されているデータを検索し(ステップS4)、データ共有指定があれば(ステップS5)、参照先エレメンタリファイル(この例の場合、バイナリデータEF206)から参照データ長分のデータ(この例の場合、取引回数カウンタ)を読出し、この読出したデータを既にワーキングメモリ103に展開されている参照元エレメンタリファイル210の該当データ(この例の場合、取引回数カウンタ)の上に上書きする(ステップS6)。
【0023】
次に、制御素子101は、通常と同じくコマンドの処理を行なう(ステップS7)。この例の場合においては、ワーキングメモリ103に展開されている取引回数カウンタを「+1」する処理を行なう。なお、ステップS5において、データ共有指定がなければ、ステップS6をジャンプしてステップS7に進む。
【0024】
次に、制御素子101は、コマンド処理が終了すると、ワーキングメモリ103に展開されている全てのデータを参照元エレメンタリファイル210へ書込む処理を行なう(ステップS8)。
次に、制御素子101は、ステップS5と同様にデータ共有指定があるか否かをチェックし(ステップS9)、データ共有指定があれば、ワーキングメモリ103に展開されているデータのうち共有データテーブルEF207で共有指定されているデータのみを参照先エレメンタリファイル206の該当位置へ書込む(ステップS10)。
【0025】
次に、制御素子101は、受信したコマンドに対するレスポンスを端末装置13へ送信して(ステップS11)、当該処理を終了する。なお、ステップS9において、データ共有指定がなければ、ステップS10をジャンプしてステップS11に進む。
【0026】
以上のような処理を各コマンドに対して行なうことにより、任意のエレメンタリファイル内の任意のデータをデータ単位で共有することが可能となる。データ共有を全く行なわない場合は、共有データテーブルの先頭バイト(共有データ数)を0「00h」に設定することで、実現することができる。
【0027】
なお、前記実施の形態では、共有データテーブルをエレメンタリファイル構造としてデータメモリ102内に格納する場合を示したが、データメモリ102のサイズ制限、あるいは、必ずしも汎用的にする必要がない場合などにおいては、図7に示すような共有データテーブル(図5と同様)301をプログラムメモリ104内にあらかじめプログラムしておくとともに、図8に示すようなデータ共有のオン/オフを指定するデータ(共有指定EF)302のみをデータメモリ102に格納することで、同機能を実現することが可能である。
図8の例では、共有指定EF302の1バイト目最上位ビット(8ビット目)をオン(「1」)とすることで、取引回数カウンタのみのデータ共有が可能となる。
【0028】
具体的には、共有指定EF302の1バイト目最上位ビットがオンであることを認識した場合、同ビットがオンの場合に参照されるプログラムメモリ104内の共有データテーブル301を参照し、共有データテーブルを取得する。その後に、前記実施の形態と同様な手順にて処理を行ない、最終的にデータをデータメモリ102へ書込む。
【0029】
以下、共有データテーブルおよび共有指定EFが設定されているICカードの動作を図9に示すフローチャートを参照して説明する。
前記実施の形態と同様、アプリケーションファイル203が選択された状態にあり、この状態において、端末装置13からコマンドを受信すると(ステップS21)、制御素子101は、受信したコマンドの対象となるエレメンタリファイルが共有データテーブル301内の参照元エレメンタリファイルとして登録されているかを判定する(ステップS22)。この判定の結果、参照元エレメンタリファイルとして登録されていない場合、制御素子101は、通常のコマンド処理を継続する。
【0030】
ステップS22の判定の結果、参照元エレメンタリファイルとして登録されているエレメンタリファイルにアクセスするコマンドと判定された場合、制御素子101は、データメモリ102内の該当エレメンタリファイル(この例の場合、バイナリデータEF210)のデータをコマンド処理のため、ワーキングメモリ(RAM)103へ展開する(ステップS23)。
【0031】
次に、制御素子101は、データメモリ(EEPROM)102内の共有指定EF302を検索し(ステップS24)、データ共有指定ビットがあるか否かをチェックする(ステップS25)。このチェックの結果、データ共有指定ビットがある場合、制御素子101は、プログラムメモリ104から共有データテーブル301を検索し(ステップS26)、参照先エレメンタリファイル206から参照データ長分のデータ(取引回数カウンタ)を読出し、この読出したデータを既にワーキングメモリ103に展開されている参照元エレメンタリファイル210の該当データ(取引回数カウンタ)の上に上書きする(ステップS27)。
【0032】
次に、制御素子101は、通常と同じくコマンドの処理を行なう(ステップS28)。この例の場合においては、ワーキングメモリ103に展開されている取引回数カウンタを「+1」する処理を行なう。なお、ステップS25において、データ共有指定ビットがなければ、ステップS26,S27をジャンプしてステップS28に進む。
【0033】
次に、制御素子101は、コマンド処理が終了すると、ワーキングメモリ103に展開されている全てのデータを参照元エレメンタリファイル210へ書込む処理を行なう(ステップS29)。
次に、制御素子101は、データメモリ102(EEPROM)内の共有指定EF302を検索し(ステップS30)、データ共有指定ビットがあるか否かをチェックする(ステップS31)。このチェックの結果、データ共有指定ビットがある場合、制御素子101は、プログラムメモリ104から共有データテーブル301を検索し(ステップS32)、ワーキングメモリ103に展開されているデータのうち共有データテーブル301で共有指定されているデータのみを参照先エレメンタリファイル206の該当位置へ書込む(ステップS33)。
【0034】
次に、制御素子101は、受信したコマンドに対するレスポンスを端末装置13へ送信して(ステップS34)、当該処理を終了する。なお、ステップS31において、データ共有指定ビットがなければ、ステップS32,S33をジャンプしてステップS34に進む。
【0035】
以上のような方法でも前記実施の形態と同様な機能を実現することが可能である。
【0036】
以上説明したように、上記実施の形態によれば、ICカードのプログラムメモリ(ROM)のプログラムを変更することなく、複数搭載されたアプリケーション間でのデータ共有のオン/オフを、カード発行時に任意に設定することが可能となり、また、これまでのICカードでは、プログラムを変更することなしには実現できなかった、エレメンタリファイル内の細かなデータ単位でのデータ共有のオン/オフの指定も可能となる。
【0037】
また、ICカードのデータ共有のオン/オフの設定に関して、プログラムメモリのプログラムを変更する必要がなくなるため、ICカードプログラムの共通化および汎用化を図ることができる。
【0038】
さらに、ICカード発行システムなどにおいても、データ共有のオンの場合と、オフの場合で、アプリケーションファイル内のファイル構成が同一であるため、データ共有のオンの場合とオフの場合で異なる処理を行なう必要がない。このため、発行システムの共通化および汎用化をも図ることができる。
【0039】
なお、前記実施の形態では、接触式ICカードおよびその周辺システムについて例示したが、その形態についての限定はなく、たとえば、いわゆるCOTと称されるモジュール形態のもの、非接触式ICカードなどに対しても、同様に適用可能である。
【0040】
【発明の効果】
以上詳述したように本発明によれば、登録された複数のアプリケーション間でのデータ共有のオン/オフを、発行時に任意に変更することを可能とし、また、ファイル内の細かなデータ要素単位でのデータ共有のオン/オフ指定も可能とする携帯可能電子装置を提供できる。
【図面の簡単な説明】
【図1】本発明の実施の形態に係るICカードを取扱うICカードシステムの構成を概略的に示すブロック図。
【図2】ICカードの構成を概略的に示すブロック図。
【図3】データメモリの構成を模式的に示す図。
【図4】バイナリデータEF内のデータ要素構成の一例を示す図。
【図5】共有データテーブルEF内のデータ構成の一例を示す図。
【図6】動作を説明するフローチャート。
【図7】本発明の変形例に係る共有データテーブルのデータ構成の一例を示す図。
【図8】本発明の変形例に係る共有指定EF内のデータ構成の一例を示す図。
【図9】本発明の変形例に係る動作を説明するフローチャート。
【符号の説明】
11…ICカード、12…カードリーダ・ライタ、13…端末装置、14…キーボード、15…CRT表示部、16…プリンタ、101…制御素子(制御部)、102…データメモリ(メモリ、記憶手段、第1のメモリ)、103…ワーキングメモリ、104…プログラムメモリ(第2のメモリ)、105…コンタク部、201…マスタファイル、202,203…アプリケーションファイル、204〜211…エレメンタリファイル、204,208…レコードデータEF、205,209…キーデータEF、206,210…バイナリデータEF、207,211…共有データテーブルEF、301…共有データテーブル、302…共有指定EF。[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a so-called so-called IC chip having a control element such as a writable / rewritable nonvolatile memory and a CPU and selectively inputting / outputting data to / from an external device. The present invention relates to a portable electronic device called an IC card, and more particularly to a portable electronic device in which a plurality of applications are registered.
[0002]
[Prior art]
In recent years, for example, IC cards corresponding to a plurality of applications such as credit, points, and debit have been put to practical use. Recently, in this type of IC card, a method of sharing and using data among a plurality of registered applications has been proposed (for example, see Patent Document 1).
[0003]
[Patent Document 1]
JP-A-2-50287
[Problems to be solved by the invention]
For traditional data sharing between multiple applications,
(1) ON / OFF of data sharing for each elementary file (EF) can be designated.
(2) Only data programmed in a non-rewritable non-volatile memory (ROM) can be specified to be shared on / off for each data element.
[0005]
That method has been used.
[0006]
However, in the above method (1), it is not possible to finely designate shared data in data element units. In addition, in order to finely specify shared data using the method (2), it is necessary to program the data in a nonvolatile memory (ROM) in advance. The off-state cannot be set arbitrarily, and can only be programmed and unambiguously shared, which is an obstacle to developing a general-purpose program.
[0007]
Therefore, the present invention enables the on / off of data sharing among a plurality of registered applications to be arbitrarily changed at the time of issuance, and enables the on / off of data sharing in units of small data elements in a file. It is an object of the present invention to provide a portable electronic device that can also specify ON / OFF.
[0008]
[Means for Solving the Problems]
A portable electronic device according to the present invention has a memory for storing data, and a control unit for reading or writing data to and from the memory, and selectively inputs and outputs data to and from an external device. And a plurality of applications are registered, and a plurality of application files in which data related to the plurality of applications are stored are provided in the memory. Storage means for storing shared data for designating sharing of data in the application file, and control means for interpreting the shared data stored in the storage means and realizing the data sharing.
[0009]
Also, the portable electronic device of the present invention includes a rewritable nonvolatile first memory for storing data, a control unit for reading or writing data from / to the first memory, A non-rewritable non-volatile second memory storing a program for operating the unit, selectively performing input / output of data with an external unit, and registering a plurality of applications. A plurality of application files storing data related to the plurality of applications are stored in the second memory in the portable electronic device provided in the first memory, and the plurality of application files are stored in the second memory; A shared data table that stores shared data for designating the sharing of data in the application file between applications, Sharing designation data that is stored in a first memory and that specifies whether to perform the data sharing in accordance with the shared data table, and that is stored in the second memory and is stored in the second memory Control means for interpreting the contents of the shared data table and the sharing designation data stored in the first memory to realize the data sharing, and executing the program to realize the data sharing; and Is provided.
[0010]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 shows a configuration example of an IC card system that handles an IC card as a portable electronic device according to the present embodiment. In this IC card system, the IC card 11 can be connected to a
[0011]
FIG. 2 shows a configuration of the IC card 11, a control element (for example, CPU) 101 as a control unit, a
[0012]
The
The
The
[0013]
FIG. 3 shows a configuration of the
[0014]
That is, the top level is a master file (MF: Master File) 201, and under that are application files (ADF: Application Dedicated File, DF numbers: 01, 02) 202, 203 as folders set for each application. Under the
[0015]
For example, as shown in FIG. 4, the
[0016]
In the present embodiment, the validity of data sharing in data element units can be arbitrarily specified at the time of card issuance. For example, by sharing only the transaction counter, it is possible to count by application so far. The number of transactions that has been performed becomes a counter for the number of transactions for the entire card, and strict conditions can be imposed on the number of transactions for the card user. If such strict conditioning is not desired, data sharing can be turned off, and the transaction counter can be used separately for each application.
[0017]
In the present embodiment, by using the shared data tables EF 207 and 211 shown in FIG. 3, for example, only the transaction counters in the binary data EF 206 and 210 are turned on between the
[0018]
First, the shared data tables EF207 and EF211 are configured, for example, as shown in FIG. That is, in order to designate data sharing of one data element to be ON, a table in which the following data is linked is created.
Reference source EF number: 1-byte reference source data start address: 2-byte reference destination DF number: 1-byte reference destination EF number: 1 byte reference destination data start address: 2-byte reference data length: 2 bytes The application file (ADF) is referred to as a reference source, and the application file (ADF) to which data is shared (refers to data) is referred to as a reference destination. For example, when the shared data table EF211 is set as shown in FIG. 5, only the transaction counters in the binary data EFs 206 and 210 shown in FIG. It will be in the specified state.
Here, the first byte in the shared data table EF211 indicates the number of data specified to be shared set in subsequent data, and in the example of FIG. 5, the number of data specified to be shared (the number of shared data) is one. (01h) is shown.
[0019]
In an actual operation, the data setting in the shared
[0020]
Next, the operation of the IC card in which the shared data table EF is set will be described with reference to the flowchart shown in FIG.
For example, the
[0021]
As a result of the determination in step S2, when it is determined that the command is a command for accessing the elementary file registered as the reference source elementary file, the
[0022]
Next, the
[0023]
Next, the
[0024]
Next, when the command processing is completed, the
Next, the
[0025]
Next, the
[0026]
By performing the above-described processing for each command, it is possible to share arbitrary data in an arbitrary elementary file in data units. When no data sharing is performed, this can be realized by setting the first byte (the number of shared data) of the shared data table to 0 “00h”.
[0027]
In the above-described embodiment, the case where the shared data table is stored in the
In the example of FIG. 8, by turning on (“1”) the most significant bit (eighth bit) of the first byte of the
[0028]
Specifically, when it is recognized that the most significant bit of the first byte of the
[0029]
Hereinafter, the operation of the IC card in which the shared data table and the shared designation EF are set will be described with reference to the flowchart shown in FIG.
As in the above-described embodiment, the
[0030]
As a result of the determination in step S22, when it is determined that the command accesses the elementary file registered as the reference source elementary file, the
[0031]
Next, the
[0032]
Next, the
[0033]
Next, when the command processing is completed, the
Next, the
[0034]
Next, the
[0035]
The same function as that of the above embodiment can be realized by the above method.
[0036]
As described above, according to the above embodiment, it is possible to turn on / off data sharing between a plurality of installed applications without changing the program in the program memory (ROM) of the IC card at the time of issuing the card. In addition, it is also possible to specify on / off of data sharing in small data units in the elementary file, which was not realized without changing the program in the conventional IC card. It becomes possible.
[0037]
In addition, since it is not necessary to change the program in the program memory when setting the data sharing of the IC card on / off, the IC card program can be made common and general-purpose.
[0038]
Further, even in an IC card issuing system, since the file configuration in the application file is the same between when data sharing is on and when data sharing is off, different processing is performed when data sharing is on and when data sharing is off. No need. For this reason, the issuing system can be shared and generalized.
[0039]
In the above-described embodiment, the contact type IC card and its peripheral system have been described as examples. However, there is no limitation on the form. For example, a so-called COT module, a non-contact type IC card, etc. However, the same can be applied.
[0040]
【The invention's effect】
As described above in detail, according to the present invention, the on / off of data sharing between a plurality of registered applications can be arbitrarily changed at the time of issuance, and a fine data element unit in a file can be changed. And a portable electronic device capable of specifying ON / OFF of data sharing in the portable electronic device.
[Brief description of the drawings]
FIG. 1 is a block diagram schematically showing a configuration of an IC card system for handling an IC card according to an embodiment of the present invention.
FIG. 2 is a block diagram schematically showing a configuration of an IC card.
FIG. 3 is a diagram schematically showing a configuration of a data memory.
FIG. 4 is a diagram showing an example of a data element configuration in binary data EF.
FIG. 5 is a diagram showing an example of a data configuration in a shared data table EF.
FIG. 6 is a flowchart illustrating an operation.
FIG. 7 is a diagram showing an example of a data configuration of a shared data table according to a modified example of the present invention.
FIG. 8 is a diagram showing an example of a data configuration in a sharing designation EF according to a modification of the present invention.
FIG. 9 is a flowchart illustrating an operation according to a modification of the present invention.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 11 ... IC card, 12 ... Card reader / writer, 13 ... Terminal device, 14 ... Keyboard, 15 ... CRT display part, 16 ... Printer, 101 ... Control element (control part), 102 ... Data memory (memory, storage means, Working memory, 104 program memory (second memory), 105 contactor, 201 master file, 202, 203 application file, 204 to 211 elementary file, 204, 208 ... record data EF, 205, 209 ... key data EF, 206, 210 ... binary data EF, 207, 211 ... shared data table EF, 301 ... shared data table, 302 ... shared designation EF.
Claims (6)
前記複数のアプリケーション間で、そのアプリケーションファイル内のデータを共有指定するための共有データを記憶した記憶手段と、
この記憶手段に記憶された共有データを解釈し前記データ共有を実現する制御手段と、
を具備したことを特徴とする携帯可能電子装置。A memory for storing data, and a control unit for reading or writing data to and from the memory, selectively inputting and outputting data to and from external devices, and registering a plurality of applications In a portable electronic device wherein a plurality of application files in which data relating to the plurality of applications are stored are provided in the memory,
Storage means for storing shared data for designating sharing of data in the application file among the plurality of applications;
Control means for interpreting the shared data stored in the storage means and realizing the data sharing;
A portable electronic device comprising:
前記第1のメモリ内に記憶され、前記複数のアプリケーション間で、そのアプリケーションファイル内のデータをバイト単位で共有指定するための共有データを格納した共有データテーブルと、
前記第2のメモリ内に記憶され、前記第1のメモリに記憶された共有データテーブルの内容を解釈し前記データ共有を実現するプログラムを有し、このプログラムを実行することにより前記データ共有を実現する制御手段と、
を具備したことを特徴とする携帯可能電子装置。A rewritable nonvolatile first memory for storing data, a control unit for reading or writing data from and to the first memory, and a program for operating the control unit are stored. Having a non-rewritable non-volatile second memory, selectively inputting / outputting data to / from the outside, and registering a plurality of applications, and storing data related to the plurality of applications. In a portable electronic device in which a plurality of application files in which is stored in the first memory,
A shared data table stored in the first memory and storing shared data for specifying data in the application file in units of bytes between the plurality of applications;
A program for interpreting the contents of the shared data table stored in the second memory and realizing the data sharing by interpreting the contents of the shared data table stored in the first memory; realizing the data sharing by executing the program; Control means for performing
A portable electronic device comprising:
前記第2のメモリ内に記憶され、前記複数のアプリケーション間で、そのアプリケーションファイル内のデータを共有指定するための共有データを格納した共有データテーブルと、
前記第1のメモリ内に記憶され、前記共有データテーブルに対応して前記データ共有を行なうか否かを指定する共有指定データと、
前記第2のメモリ内に記憶され、前記第2のメモリに記憶された共有データテーブルの内容および前記第1のメモリに記憶された共有指定データを解釈し前記データ共有を実現するプログラムを有し、このプログラムを実行することにより前記データ共有を実現する制御手段と、
を具備したことを特徴とする携帯可能電子装置。A rewritable nonvolatile first memory for storing data, a control unit for reading or writing data from and to the first memory, and a program for operating the control unit are stored. Having a non-rewritable non-volatile second memory, selectively inputting / outputting data to / from the outside, and registering a plurality of applications, and storing data related to the plurality of applications. In a portable electronic device in which a plurality of application files in which is stored in the first memory,
A shared data table stored in the second memory and storing shared data for specifying data in the application file among the plurality of applications;
Sharing designation data stored in the first memory and designating whether or not to perform the data sharing corresponding to the shared data table;
A program for interpreting the contents of the shared data table stored in the second memory and the sharing designation data stored in the first memory and realizing the data sharing; A control unit that realizes the data sharing by executing this program;
A portable electronic device comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002325128A JP4177642B2 (en) | 2002-11-08 | 2002-11-08 | Portable electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002325128A JP4177642B2 (en) | 2002-11-08 | 2002-11-08 | Portable electronic device |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2004157924A true JP2004157924A (en) | 2004-06-03 |
JP2004157924A5 JP2004157924A5 (en) | 2005-12-22 |
JP4177642B2 JP4177642B2 (en) | 2008-11-05 |
Family
ID=32804450
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002325128A Expired - Lifetime JP4177642B2 (en) | 2002-11-08 | 2002-11-08 | Portable electronic device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4177642B2 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001034512A (en) * | 1999-07-23 | 2001-02-09 | Toshiba Corp | Portable electronic device |
JP2002073196A (en) * | 2000-09-05 | 2002-03-12 | Dainippon Printing Co Ltd | Portable information processor provided with shared access managing function |
-
2002
- 2002-11-08 JP JP2002325128A patent/JP4177642B2/en not_active Expired - Lifetime
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001034512A (en) * | 1999-07-23 | 2001-02-09 | Toshiba Corp | Portable electronic device |
JP2002073196A (en) * | 2000-09-05 | 2002-03-12 | Dainippon Printing Co Ltd | Portable information processor provided with shared access managing function |
Also Published As
Publication number | Publication date |
---|---|
JP4177642B2 (en) | 2008-11-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3015377B2 (en) | IC card | |
KR910002257B1 (en) | Portable electronic device | |
US5754762A (en) | Secure multiple application IC card using interrupt instruction issued by operating system or application program to control operation flag that determines the operational mode of bi-modal CPU | |
JP4891587B2 (en) | Portable electronic device, IC card and IC module | |
JPH02210590A (en) | Portable data carrier for storing and processing data | |
JPS63201748A (en) | Portable electronic equipment | |
JP2005515542A (en) | Apparatus and method for writing to NV memory in a controller architecture together with a corresponding computer program and a corresponding computer-readable storage medium | |
JPS62190584A (en) | Portable electronic device | |
JP2004157924A (en) | Portable electronic device | |
JP3017736B2 (en) | Portable electronic devices | |
JP2537200B2 (en) | Portable electronic devices | |
JP2609645B2 (en) | Portable electronic devices | |
JP2004334745A (en) | Ic card | |
JP2001243118A (en) | Ic card and personalizing device | |
JP3246558B2 (en) | IC card | |
JP3054119B2 (en) | Portable electronic devices | |
JP3789994B2 (en) | IC card | |
JP2005056259A (en) | Portable electronic medium and portable electronic medium handling device | |
JP2000306060A (en) | Portable electronic device | |
JP2675563B2 (en) | Portable electronic devices | |
JPH03224047A (en) | Portable electronic device | |
JP2003203211A (en) | Portable electronic device | |
JP2000306060A5 (en) | Portable electronic devices and IC cards | |
JPS6376095A (en) | Ic card | |
JPS62269289A (en) | Portable electronic unit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20051104 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20051104 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20071018 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20071106 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20071228 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20080819 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080822 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110829 Year of fee payment: 3 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 4177642 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110829 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120829 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120829 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130829 Year of fee payment: 5 |
|
EXPY | Cancellation because of completion of term |