JP4177642B2 - Portable electronic device - Google Patents

Portable electronic device Download PDF

Info

Publication number
JP4177642B2
JP4177642B2 JP2002325128A JP2002325128A JP4177642B2 JP 4177642 B2 JP4177642 B2 JP 4177642B2 JP 2002325128 A JP2002325128 A JP 2002325128A JP 2002325128 A JP2002325128 A JP 2002325128A JP 4177642 B2 JP4177642 B2 JP 4177642B2
Authority
JP
Japan
Prior art keywords
data
memory
sharing
shared
file
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.)
Expired - Lifetime
Application number
JP2002325128A
Other languages
Japanese (ja)
Other versions
JP2004157924A5 (en
JP2004157924A (en
Inventor
元 竹田
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2002325128A priority Critical patent/JP4177642B2/en
Publication of JP2004157924A publication Critical patent/JP2004157924A/en
Publication of JP2004157924A5 publication Critical patent/JP2004157924A5/ja
Application granted granted Critical
Publication of JP4177642B2 publication Critical patent/JP4177642B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

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のメモリ内に設けられている携帯可能電子装置において、前記第1のメモリ内に記憶され、前記複数のアプリケーション間で、そのアプリケーションファイル内のデータをバイト単位で共有指定するための少なくとも参照元ファイル番号、参照元データ先頭アドレス、参照先ファイル番号、参照先データ先頭アドレスおよび参照データ長からなる共有データを格納した共有データテーブルと、この共有データテーブルに格納された共有データから共有されているデータを検索し、参照先ファイルから参照データ長分のデータを読出し、この読出したデータを参照元ファイルの該当位置へ書込むことにより前記データ共有を実現する制御手段とを具備している。
また、本発明の携帯可能電子装置は、データを記憶する書換え可能な不揮発性の第1のメモリ、この第1のメモリに対してデータの読出しあるいは書込みを行なうための制御部、および、この制御部が動作するためのプログラムが格納されている書換え不可能な不揮発性の第2のメモリを有し、選択的に外部との間でデータの入出力を行ない、かつ、複数のアプリケーションが登録されていて、これら複数のアプリケーションに関係するデータが格納される複数のアプリケーションファイルが前記第1のメモリ内に設けられている携帯可能電子装置において、前記第2のメモリ内に記憶され、前記複数のアプリケーション間で、そのアプリケーションファイル内のデータを共有指定するための少なくとも参照元ファイル番号、参照元データ先頭アドレス、参照先ファイル番号、参照先データ先頭アドレスおよび参照データ長からなる共有データを格納した共有データテーブルと、前記第1のメモリ内に記憶され、前記共有データテーブルに対応して前記データ共有を行なうか否かを指定する共有指定データと、この共有指定データを参照することによりデータ共有指定があるか否かを判定する判定手段と、この判定手段による判定の結果、データ共有指定がある場合、前記第2のメモリに記憶された共有データテーブルに格納された共有データから共有されているデータを検索し、参照先ファイルから参照データ長分のデータを読出し、この読出したデータを参照元ファイルの該当位置へ書込むことにより前記データ共有を実現する制御手段とを具備している。
また、本発明の携帯可能電子装置は、データを記憶するメモリ、および、このメモリに対してデータの読出しあるいは書込みを行なうための制御部を有し、選択的に外部との間でデータの入出力を行ない、かつ、複数のアプリケーションが登録されていて、これら複数のアプリケーションに関係するデータが格納される複数のアプリケーションファイルが前記メモリ内に設けられている携帯可能電子装置において、前記複数のアプリケーション間で、そのアプリケーションファイル内のデータを共有指定するための少なくとも参照元ファイル番号、参照元データ先頭アドレス、参照先ファイル番号、参照先データ先頭アドレスおよび参照データ長からなる共有データを記憶した記憶手段と、この記憶手段に記憶された共有データから共有されているデータを検索し、参照先ファイルから参照データ長分のデータを読出し、この読出したデータを参照元ファイルの該当位置へ書込むことにより前記データ共有を実現する制御手段と、これら記憶手段および制御手段を有するICモジュールとを具備している。
また、本発明の携帯可能電子装置は、データを記憶する書換え可能な不揮発性の第1のメモリ、この第1のメモリに対してデータの読出しあるいは書込みを行なうための制御部、および、この制御部が動作するためのプログラムが格納されている書換え不可能な不揮発性の第2のメモリを有し、選択的に外部との間でデータの入出力を行ない、かつ、複数のアプリケーションが登録されていて、これら複数のアプリケーションに関係するデータが格納される複数のアプリケーションファイルが前記第1のメモリ内に設けられている携帯可能電子装置において、前記第1のメモリ内に記憶され、前記複数のアプリケーション間で、そのアプリケーションファイル内のデータをバイト単位で共有指定するための少なくとも参照元ファイル番号、参照元データ先頭アドレス、参照先ファイル番号、参照先データ先頭アドレスおよび参照データ長からなる共有データを格納した共有データテーブルと、この共有データテーブルに格納された共有データから共有されているデータを検索し、参照先ファイルから参照データ長分のデータを読出し、この読出したデータを参照元ファイルの該当位置へ書込むことにより前記データ共有を実現する制御手段と、これら共有データテーブルおよび制御手段を有するICモジュールとを具備している。
さらに、本発明の携帯可能電子装置は、データを記憶する書換え可能な不揮発性の第1のメモリ、この第1のメモリに対してデータの読出しあるいは書込みを行なうための制御部、および、この制御部が動作するためのプログラムが格納されている書換え不可能な不揮発性の第2のメモリを有し、選択的に外部との間でデータの入出力を行ない、かつ、複数のアプリケーションが登録されていて、これら複数のアプリケーションに関係するデータが格納される複数のアプリケーションファイルが前記第1のメモリ内に設けられている携帯可能電子装置において、前記第2のメモリ内に記憶され、前記複数のアプリケーション間で、そのアプリケーションファイル内のデータを共有指定するための少なくとも参照元ファイル番号、参照元データ先頭アドレス、参照先ファイル番号、参照先データ先頭アドレスおよび参照データ長からなる共有データを格納した共有データテーブルと、前記第1のメモリ内に記憶され、前記共有データテーブルに対応して前記データ共有を行なうか否かを指定する共有指定データと、この共有指定データを参照することによりデータ共有指定があるか否かを判定する判定手段と、この判定手段による判定の結果、データ共有指定がある場合、前記第2のメモリに記憶された共有データテーブルに格納された共有データから共有されているデータを検索し、参照先ファイルから参照データ長分のデータを読出し、この読出したデータを参照元ファイルの該当位置へ書込むことにより前記データ共有を実現する制御手段と、これら共有データテーブル、共有指定データおよび制御手段を有するICモジュールとを具備している。
【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]
BACKGROUND OF THE INVENTION
The present invention is, for example, a so-called non-volatile memory that can be written and rewritten and a control element such as a CPU, and a so-called IC chip that includes means for selectively inputting / outputting data to / from the outside. 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 into practical use. Recently, a method of sharing data between a plurality of registered applications in this type of IC card has been proposed (for example, see Patent Document 1).
[0003]
[Patent Document 1]
JP-A-2-50287
[0004]
[Problems to be solved by the invention]
For data sharing among multiple conventional applications,
(1) ON / OFF of data sharing can be specified in elementary file (EF) units.
(2) Only the data programmed in the non-rewritable non-volatile memory (ROM) can specify on / off of sharing in units of data elements.
[0005]
The method has been used.
[0006]
However, in the method (1), it is impossible to specify data to be shared in units of data elements. In addition, in order to specify the shared data in detail using the method (2), it is necessary to program in advance in a nonvolatile memory (ROM). It was an obstacle to developing a general-purpose program that cannot be set to OFF arbitrarily and only programmed unique sharing can be performed.
[0007]
Therefore, the present invention makes it possible to arbitrarily change on / off of data sharing between a plurality of registered applications at the time of issuance, and to turn on / off data sharing in units of fine data elements in a file. An object of the present invention is to provide a portable electronic device that can also be designated as off / off.
[0008]
[Means for Solving the Problems]
The portable electronic device of the present invention has a memory for storing data and a control unit for reading or writing data to the memory, and selectively inputs / outputs data to / from the outside. In a portable electronic device in which 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. For sharing data in that application file Consists of at least the reference source file number, reference source data start address, reference destination file number, reference destination data start address, and reference data length Storage means for storing shared data and shared data stored in the storage means By searching for shared data from the file, reading the data for the reference data length from the reference destination file, and writing the read data to the corresponding location in the reference source file Control means for realizing the data sharing.
[0009]
The portable electronic device according to the present invention includes a rewritable nonvolatile first memory for storing data, a control unit for reading or writing data to the first memory, and the control Has a non-rewritable, non-rewritable second memory that stores a program for operating the unit, selectively inputs / outputs data from / to the outside, and multiple applications are registered A plurality of application files in which data related to the plurality of applications are stored in the first memory are stored in the first memory, and the plurality of application files are stored in the first memory. To specify sharing of data in the application file in bytes between applications. Consists of at least the reference source file number, reference source data start address, reference destination file number, reference destination data start address, and reference data length A shared data table storing shared data; By searching for shared data from the shared data stored in this shared data table, reading data for the reference data length from the reference destination file, and writing this read data to the corresponding location in the reference source file Control means for realizing the data sharing.
The portable electronic device according to the present invention includes a rewritable nonvolatile first memory for storing data, a control unit for reading or writing data to the first memory, and the control Has a non-rewritable, non-rewritable second memory that stores a program for operating the unit, selectively inputs / outputs data from / to the outside, and multiple applications are registered And a plurality of application files in which data related to the plurality of applications are stored in the first memory are stored in the second memory, and the plurality of application files are stored in the second memory. For sharing data in the application file between applications Consists of at least the reference source file number, reference source data start address, reference destination file number, reference destination data start address, and reference data length A shared data table that stores shared data; and share designation data that is stored in the first memory and designates whether or not to perform the data sharing in response to the shared data table; A determination unit that determines whether or not there is a data sharing designation by referring to the sharing designation data, and if there is a data sharing designation as a result of the determination by the determination unit, the shared data stored in the second memory By searching for shared data from the shared data stored in the table, reading the data for the reference data length from the reference destination file, and writing this read data to the corresponding location in the reference source file Control means for realizing the data sharing.
The portable electronic device of the present invention has a memory for storing data, and a control unit for reading or writing data to the memory, and selectively inputs data to and from the outside. In the portable electronic device that outputs and stores a plurality of application files in which a plurality of applications are registered and data related to the plurality of applications is stored in the memory, the plurality of applications To share data in that application file Consists of at least the reference source file number, reference source data start address, reference destination file number, reference destination data start address, and reference data length Storage means for storing shared data and shared data stored in the storage means By searching for shared data from the file, reading the data for the reference data length from the reference destination file, and writing the read data to the corresponding location in the reference source file Control means for realizing the data sharing, and an IC module having these storage means and control means are provided.
The portable electronic device according to the present invention includes a rewritable nonvolatile first memory for storing data, a control unit for reading or writing data to the first memory, and the control Has a non-rewritable, non-rewritable second memory that stores a program for operating the unit, selectively inputs / outputs data from / to the outside, and multiple applications are registered A plurality of application files in which data related to the plurality of applications are stored in the first memory are stored in the first memory, and the plurality of application files are stored in the first memory. To specify sharing of data in the application file in bytes between applications. Consists of at least the reference source file number, reference source data start address, reference destination file number, reference destination data start address, and reference data length A shared data table storing shared data; By searching for shared data from the shared data stored in this shared data table, reading data for the reference data length from the reference destination file, and writing this read data to the corresponding location in the reference source file Control means for realizing the data sharing, and an IC module having the shared data table and control means are provided.
Furthermore, 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 to the first memory, and the control Has a non-rewritable, non-rewritable second memory that stores a program for operating the unit, selectively inputs / outputs data from / to the outside, and multiple applications are registered And a plurality of application files in which data related to the plurality of applications are stored in the first memory are stored in the second memory, and the plurality of application files are stored in the second memory. For sharing data in the application file between applications Consists of at least the reference source file number, reference source data start address, reference destination file number, reference destination data start address, and reference data length A shared data table that stores shared data; and share designation data that is stored in the first memory and designates whether or not to perform the data sharing in response to the shared data table; A determination unit that determines whether or not there is a data sharing designation by referring to the sharing designation data, and if there is a data sharing designation as a result of the determination by the determination unit, the shared data stored in the second memory By searching for shared data from the shared data stored in the table, reading the data for the reference data length from the reference destination file, and writing this read data to the corresponding location in the reference source file Control means for realizing the data sharing, and an IC module having these shared data table, sharing designation data, and control means are provided.
[0010]
DETAILED DESCRIPTION OF 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 terminal device 13 such as a personal computer via a card reader / writer 12, and a keyboard 14, a CRT display unit 16, and a printer 16 are connected to the terminal device 13. Composed.
[0011]
FIG. 2 shows a configuration of the IC card 11, and includes a control element (for example, CPU) 101 as a control unit, a data memory 102 as a first memory, a working memory 103, and a program memory 104 as a second memory. And a contact part 105 for obtaining electrical contact with the card reader / writer 12. Of these, the portion within the broken line (the control element 101, the data memory 102, the working memory 103, and the program memory 104) is composed of one (or a plurality) of IC chips. Are integrated into an IC module and embedded in the IC card body.
[0012]
The data memory 102 is used for storing various types of data, and is composed of, for example, a nonvolatile memory such as an EEPROM that can be rewritten.
The working memory 103 is a working memory for temporarily storing processing data when the control element 101 performs processing, and is configured by, for example, a RAM.
The program memory 104 is composed of, for example, a non-volatile memory that cannot be rewritten, such as a mask ROM, and stores a control program for the control element 101, a plurality of application programs, and the like.
[0013]
FIG. 3 shows the configuration of the data memory 102. The data memory 102 stores data related to a plurality of applications in a file structure. In the example of FIG. 2, for example, two credit applications are registered.
[0014]
That is, the highest file is a master file (MF: Master File) 201, and under that, application files (ADF: Application Dedicated File, DF numbers: 01, 02) 202, 203 are set as folders set for each application. Furthermore, under the application file 202, an elementary file (EF: Elementary File) used for storing user data or the like actually used in the application, for example, record data EF (EF number: 11) 204 is provided. , Key data EF (EF number: 12) 205, binary data EF (EF number: 13) 206, and shared data table EF (EF number: 14) 207 are provided. 3, elementary files used for storing user data and the like actually used in the application, for example, record data EF (EF number: 21) 208, key data EF (EF number: 22) 209, The binary data EF (EF number: 23) 210 and the shared data table EF (EF number: 24) 211 are provided.
[0015]
As shown in FIG. 4, for example, the binary data EF206 and 210 are divided into a transaction counter, transaction amount, previous transaction result, transaction number upper limit value, and transaction amount upper limit value as data elements. Shall.
[0016]
In this embodiment, the validity of data sharing in units of data elements can be arbitrarily specified at the time of card issuance. For example, by sharing only the transaction counter, it is counted for each application so far. The transaction count that has been used becomes a transaction count counter for the entire card, and strict conditions can be imposed on the card user's transaction count. Also, if you do not want to perform such strict conditioning, you can use the transaction counter separately for each application by turning off data sharing.
[0017]
In the present embodiment, by using the shared data tables EF207 and 211 shown in FIG. 3, for example, only the transaction number counter in the binary data EF206 and 210 is turned on for data sharing between the application files 202 and 203. It is possible to arbitrarily set ON / OFF of data sharing in units of data elements, and the above effectiveness can be obtained. Hereinafter, the realization method will be described in detail.
[0018]
First, the shared data tables EF207 and 211 are configured, for example, as shown in FIG. That is, in order to specify ON for data sharing of one data element, a table including the following data is created.
Reference source EF number: 1 byte
Reference source data start address: 2 bytes
Reference DF number: 1 byte
Reference EF number: 1 byte
Reference destination data start address: 2 bytes
Reference data length: 2 bytes
Here, an application file (ADF) that is currently in a current state is referred to as a reference source, and an application file (ADF) to which data is shared (referred to data) is referred to as a reference destination. For example, when the shared data table EF211 is set as shown in FIG. 5, between the application files 202 and 203, only the transaction number counter in the binary data EF206 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 designated for sharing set in subsequent data. In the example of FIG. 5, the number of data designated for sharing (number of shared data) is 1. The case of the number (01h) is shown.
[0019]
In actual operation, data setting in the shared data tables EF207 and 211 is performed when an IC card is issued or when an IC card is operated in order to ensure security such as a firewall between the application files 202 and 203. In this case, only people with appropriate access rights need to be able to set and change.
[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 application file 203 is now selected, and when a command is received from the terminal device 13 in this state (step S1), the control element 101 receives an elementary file (EF) that is the target of the received command. Is registered as a reference source elementary file in the shared data table EF207 (step S2). If the result of this determination is that it is not registered as a reference source elementary file, the control element 101 continues normal command processing.
[0021]
If it is determined as a command to access the elementary file registered as the reference source elementary file as a result of the determination in step S2, the control element 101 determines that the corresponding elementary file in the data memory 102 (in this example, The data of the binary data EF210) is expanded to the working memory (RAM) 103 for command processing (step S3).
[0022]
Next, the control element 101 searches for data shared in data units from the reference source data start address, reference destination DF number, reference destination EF number, and reference destination data start address in the shared data table EF207 (step S4). ), If there is data sharing designation (step S5), data for the reference data length (in this example, the transaction counter) is read out from the reference destination elementary file (in this example, binary data EF206) and read out. The overwritten data is overwritten on the corresponding data (in this example, the transaction counter) in the reference source elementary file 210 already developed in the working memory 103 (step S6).
[0023]
Next, the control element 101 performs command processing as usual (step S7). In the case of this example, a process of “+1” the transaction number counter developed in the working memory 103 is performed. In step S5, if there is no data sharing designation, step S6 is jumped to and step S7 is proceeded to.
[0024]
Next, when the command process ends, the control element 101 performs a process of writing all the data expanded in the working memory 103 to the reference source elementary file 210 (step S8).
Next, the control element 101 checks whether there is a data sharing designation as in step S5 (step S9). If there is a data sharing designation, the shared data table among the data expanded in the working memory 103 is checked. Only the data designated for sharing in the EF 207 is written to the corresponding position in the reference destination elementary file 206 (step S10).
[0025]
Next, the control element 101 transmits a response to the received command to the terminal device 13 (step S11), and ends the process. In step S9, if there is no data sharing designation, the process jumps to step S10 and proceeds to step S11.
[0026]
By performing the processing as described above for each command, it is possible to share any data in any elementary file in units of data. When data sharing is not performed at all, it can be realized by setting the first byte (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 data memory 102 as the elementary file structure has been described. However, in the case where the size of the data memory 102 is limited or it is not always necessary to be general-purpose. 7 pre-programs a shared data table 301 (similar to FIG. 5) 301 as shown in FIG. 7 in the program memory 104 and also specifies data sharing on / off as shown in FIG. By storing only (EF) 302 in the data memory 102, the same function can be realized.
In the example of FIG. 8, by setting the most significant bit (8th bit) of the first byte of the sharing designation EF302 to ON (“1”), it is possible to share data only with the transaction number counter.
[0028]
Specifically, when it is recognized that the most significant bit of the first byte of the sharing designation EF302 is on, the shared data table 301 in the program memory 104 referred to when the bit is on is referred to, and the shared data Get the table. Thereafter, processing is performed in the same procedure as in the above embodiment, and data is finally written into the data memory 102.
[0029]
Hereinafter, the operation of the IC card in which the shared data table and the sharing designation EF are set will be described with reference to the flowchart shown in FIG.
As in the previous embodiment, the application file 203 is in a selected state. In this state, when a command is received from the terminal device 13 (step S21), the control element 101 is an elementary file that is the target of the received command. Is registered as a reference source elementary file in the shared data table 301 (step S22). If the result of this determination is that it is not registered as a reference source elementary file, the control element 101 continues normal command processing.
[0030]
As a result of the determination in step S22, when it is determined that the command is for accessing an elementary file registered as a reference source elementary file, the control element 101 determines that the corresponding elementary file in the data memory 102 (in this example, The data of the binary data EF210) is expanded in the working memory (RAM) 103 for command processing (step S23).
[0031]
Next, the control element 101 searches for the sharing designation EF 302 in the data memory (EEPROM) 102 (step S24), and checks whether there is a data sharing designation bit (step S25). As a result of this check, if there is a data sharing designation bit, the control element 101 searches the shared data table 301 from the program memory 104 (step S26), and the data for the reference data length (the number of transactions) from the reference destination elementary file 206 (Counter) is read, and the read data is overwritten on the corresponding data (transaction count counter) in the reference source elementary file 210 already developed in the working memory 103 (step S27).
[0032]
Next, the control element 101 performs command processing as usual (step S28). In the case of this example, a process of “+1” the transaction number counter developed in the working memory 103 is performed. In step S25, if there is no data sharing designation bit, the process jumps to steps S26 and S27 and proceeds to step S28.
[0033]
Next, when the command process ends, the control element 101 performs a process of writing all data expanded in the working memory 103 to the reference source elementary file 210 (step S29).
Next, the control element 101 searches for the sharing designation EF 302 in the data memory 102 (EEPROM) (step S30), and checks whether there is a data sharing designation bit (step S31). As a result of this check, if there is a data sharing designation bit, the control element 101 searches the shared data table 301 from the program memory 104 (step S32), and in the shared data table 301 among the data expanded in the working memory 103. Only the data designated for sharing is written into the corresponding position of the reference destination elementary file 206 (step S33).
[0034]
Next, the control element 101 transmits a response to the received command to the terminal device 13 (step S34), and ends the process. If there is no data sharing designation bit in step S31, the process jumps to steps S32 and S33 and proceeds to step S34.
[0035]
Even with the method as described above, it is possible to realize the same function as in the above-described embodiment.
[0036]
As described above, according to the above-described embodiment, on / off of data sharing between a plurality of installed applications can be arbitrarily performed without changing the program in the program memory (ROM) of the IC card. In addition, it is possible to specify ON / OFF of data sharing in the detailed data unit in the elementary file, which could not be realized without changing the program with the conventional IC card. It becomes possible.
[0037]
Further, since it is not necessary to change the program in the program memory with respect to the on / off setting of data sharing of the IC card, the IC card program can be shared and generalized.
[0038]
Further, in the IC card issuing system and the like, since the file structure in the application file is the same when the data sharing is on and when the data sharing is off, different processing is performed depending on whether the data sharing is on or off. There is no need. For this reason, the issue system can be shared and generalized.
[0039]
In the above embodiment, the contact IC card and its peripheral system are exemplified. However, there is no limitation on the form, for example, a so-called COT module form, non-contact IC card, etc. However, the same applies.
[0040]
【The invention's effect】
As described above in detail, according to the present invention, ON / OFF of data sharing among a plurality of registered applications can be arbitrarily changed at the time of issuance, and a detailed data element unit in a file can be changed. It is possible to provide a portable electronic device that can also specify on / off of data sharing in the Internet.
[Brief description of the drawings]
FIG. 1 is a block diagram schematically showing a configuration of an IC card system that handles an IC card according to an embodiment of the present invention.
FIG. 2 is a block diagram schematically showing the 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 for explaining the operation.
FIG. 7 is a diagram showing an example of a data configuration of a shared data table according to a modification 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 example 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, (First memory), 103 ... working memory, 104 ... program memory (second memory), 105 ... contact part, 201 ... master file, 202, 203 ... application file, 204-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 ... share designation EF.

Claims (6)

データを記憶するメモリ、および、このメモリに対してデータの読出しあるいは書込みを行なうための制御部を有し、選択的に外部との間でデータの入出力を行ない、かつ、複数のアプリケーションが登録されていて、これら複数のアプリケーションに関係するデータが格納される複数のアプリケーションファイルが前記メモリ内に設けられている携帯可能電子装置において、
前記複数のアプリケーション間で、そのアプリケーションファイル内のデータを共有指定するための少なくとも参照元ファイル番号、参照元データ先頭アドレス、参照先ファイル番号、参照先データ先頭アドレスおよび参照データ長からなる共有データを記憶した記憶手段と、
この記憶手段に記憶された共有データから共有されているデータを検索し、参照先ファイルから参照データ長分のデータを読出し、この読出したデータを参照元ファイルの該当位置へ書込むことにより前記データ共有を実現する制御手段と、
を具備したことを特徴とする携帯可能電子装置。
It has a memory for storing data and a control unit for reading or writing data to this memory, selectively inputs / outputs data to / from the outside, and multiple applications are registered In the portable electronic device in which a plurality of application files in which data related to the plurality of applications are stored are provided in the memory,
Shared data including at least a reference source file number, a reference source data start address, a reference destination file number, a reference destination data start address, and a reference data length for specifying sharing of data in the application file among the plurality of applications. Memorized storage means;
The shared data stored in the storage means is searched for shared data, the data corresponding to the reference data length is read from the reference destination file, and the read data is written into the corresponding position of the reference source file to obtain the data. A control means for realizing sharing;
A portable electronic device comprising:
データを記憶する書換え可能な不揮発性の第1のメモリ、この第1のメモリに対してデータの読出しあるいは書込みを行なうための制御部、および、この制御部が動作するためのプログラムが格納されている書換え不可能な不揮発性の第2のメモリを有し、選択的に外部との間でデータの入出力を行ない、かつ、複数のアプリケーションが登録されていて、これら複数のアプリケーションに関係するデータが格納される複数のアプリケーションファイルが前記第1のメモリ内に設けられている携帯可能電子装置において、
前記第1のメモリ内に記憶され、前記複数のアプリケーション間で、そのアプリケーションファイル内のデータをバイト単位で共有指定するための少なくとも参照元ファイル番号、参照元データ先頭アドレス、参照先ファイル番号、参照先データ先頭アドレスおよび参照データ長からなる共有データを格納した共有データテーブルと、
この共有データテーブルに格納された共有データから共有されているデータを検索し、参照先ファイルから参照データ長分のデータを読出し、この読出したデータを参照元ファイルの該当位置へ書込むことにより前記データ共有を実現する制御手段と、
を具備したことを特徴とする携帯可能電子装置。
A rewritable nonvolatile first memory for storing data, a control unit for reading or writing data to the first memory, and a program for operating the control unit are stored. A non-rewritable non-volatile second memory that selectively inputs / outputs data to / from the outside, and a plurality of applications are registered, and data related to the plurality of applications In the portable electronic device in which a plurality of application files are stored in the first memory,
Wherein the first memory in the memory, among the plurality of applications, at least referencing file numbers for sharing specify the data of the application file in bytes, referrer data start address, the referenced file numbers, see A shared data table that stores shared data consisting of the destination address and the reference data length ;
The shared data stored in the shared data table is searched for shared data, the data corresponding to the reference data length is read from the reference destination file, and the read data is written in the corresponding position of the reference source file. A control means for realizing data sharing;
A portable electronic device comprising:
データを記憶する書換え可能な不揮発性の第1のメモリ、この第1のメモリに対してデータの読出しあるいは書込みを行なうための制御部、および、この制御部が動作するためのプログラムが格納されている書換え不可能な不揮発性の第2のメモリを有し、選択的に外部との間でデータの入出力を行ない、かつ、複数のアプリケーションが登録されていて、これら複数のアプリケーションに関係するデータが格納される複数のアプリケーションファイルが前記第1のメモリ内に設けられている携帯可能電子装置において、
前記第2のメモリ内に記憶され、前記複数のアプリケーション間で、そのアプリケーションファイル内のデータを共有指定するための少なくとも参照元ファイル番号、参照元データ先頭アドレス、参照先ファイル番号、参照先データ先頭アドレスおよび参照データ長からなる共有データを格納した共有データテーブルと、
前記第1のメモリ内に記憶され、前記共有データテーブルに対応して前記データ共有を行なうか否かを指定する共有指定データと、
この共有指定データを参照することによりデータ共有指定があるか否かを判定する判定手段と、
この判定手段による判定の結果、データ共有指定がある場合、前記第2のメモリに記憶された共有データテーブルに格納された共有データから共有されているデータを検索し、参照先ファイルから参照データ長分のデータを読出し、この読出したデータを参照元ファイルの該当位置へ書込むことにより前記データ共有を実現する制御手段と、
を具備したことを特徴とする携帯可能電子装置。
A rewritable nonvolatile first memory for storing data, a control unit for reading or writing data to the first memory, and a program for operating the control unit are stored. A non-rewritable non-volatile second memory that selectively inputs / outputs data to / from the outside, and a plurality of applications are registered, and data related to the plurality of applications In the portable electronic device in which a plurality of application files are stored in the first memory,
At least a reference source file number, a reference source data start address, a reference destination file number, a reference destination data head for specifying sharing of data in the application file among the plurality of applications stored in the second memory A shared data table storing shared data consisting of addresses and reference data lengths ;
Share designation data stored in the first memory and designating whether or not to perform the data sharing corresponding to the shared data table;
Determining means for determining whether there is data sharing designation by referring to this sharing designation data;
As a result of the determination by the determination means, if there is data sharing designation, the shared data stored in the shared data table stored in the second memory is searched for shared data, and the reference data length is retrieved from the reference destination file. Control means for reading the minute data and realizing the data sharing by writing the read data to the corresponding position of the reference source file ;
A portable electronic device comprising:
データを記憶するメモリ、および、このメモリに対してデータの読出しあるいは書込みを行なうための制御部を有し、選択的に外部との間でデータの入出力を行ない、かつ、複数のアプリケーションが登録されていて、これら複数のアプリケーションに関係するデータが格納される複数のアプリケーションファイルが前記メモリ内に設けられている携帯可能電子装置において、
前記複数のアプリケーション間で、そのアプリケーションファイル内のデータを共有指定するための少なくとも参照元ファイル番号、参照元データ先頭アドレス、参照先ファイル番号、参照先データ先頭アドレスおよび参照データ長からなる共有データを記憶した記憶手段と、
この記憶手段に記憶された共有データから共有されているデータを検索し、参照先ファイルから参照データ長分のデータを読出し、この読出したデータを参照元ファイルの該当位置へ書込むことにより前記データ共有を実現する制御手段と、
これら記憶手段および制御手段を有するICモジュールと、
を具備したことを特徴とする携帯可能電子装置。
It has a memory for storing data and a control unit for reading or writing data to this memory, selectively inputs / outputs data to / from the outside, and multiple applications are registered In the portable electronic device in which a plurality of application files in which data related to the plurality of applications are stored are provided in the memory,
Shared data including at least a reference source file number, a reference source data start address, a reference destination file number, a reference destination data start address, and a reference data length for specifying sharing of data in the application file among the plurality of applications. Memorized storage means;
The shared data stored in the storage means is searched for shared data, the data corresponding to the reference data length is read from the reference destination file, and the read data is written into the corresponding position of the reference source file to obtain the data. A control means for realizing sharing;
An IC module having these storage means and control means;
A portable electronic device comprising:
データを記憶する書換え可能な不揮発性の第1のメモリ、この第1のメモリに対してデータの読出しあるいは書込みを行なうための制御部、および、この制御部が動作するためのプログラムが格納されている書換え不可能な不揮発性の第2のメモリを有し、選択的に外部との間でデータの入出力を行ない、かつ、複数のアプリケーションが登録されていて、これら複数のアプリケーションに関係するデータが格納される複数のアプリケーションファイルが前記第1のメモリ内に設けられている携帯可能電子装置において、
前記第1のメモリ内に記憶され、前記複数のアプリケーション間で、そのアプリケーションファイル内のデータをバイト単位で共有指定するための少なくとも参照元ファイル番号、参照元データ先頭アドレス、参照先ファイル番号、参照先データ先頭アドレスおよび参照データ長からなる共有データを格納した共有データテーブルと、
この共有データテーブルに格納された共有データから共有されているデータを検索し、参照先ファイルから参照データ長分のデータを読出し、この読出したデータを参照元ファイルの該当位置へ書込むことにより前記データ共有を実現する制御手段と、
これら共有データテーブルおよび制御手段を有するICモジュールと、
を具備したことを特徴とする携帯可能電子装置。
A rewritable nonvolatile first memory for storing data, a control unit for reading or writing data to the first memory, and a program for operating the control unit are stored. A non-rewritable non-volatile second memory that selectively inputs / outputs data to / from the outside, and a plurality of applications are registered, and data related to the plurality of applications In the portable electronic device in which a plurality of application files are stored in the first memory,
Wherein the first memory in the memory, among the plurality of applications, at least referencing file numbers for sharing specify the data of the application file in bytes, referrer data start address, the referenced file numbers, see A shared data table that stores shared data consisting of the destination address and the reference data length ;
The shared data stored in the shared data table is searched for shared data, the data corresponding to the reference data length is read from the reference destination file, and the read data is written in the corresponding position of the reference source file. A control means for realizing data sharing;
An IC module having these shared data tables and control means;
A portable electronic device comprising:
データを記憶する書換え可能な不揮発性の第1のメモリ、この第1のメモリに対してデータの読出しあるいは書込みを行なうための制御部、および、この制御部が動作するためのプログラムが格納されている書換え不可能な不揮発性の第2のメモリを有し、選択的に外部との間でデータの入出力を行ない、かつ、複数のアプリケーションが登録されていて、これら複数のアプリケーションに関係するデータが格納される複数のアプリケーションファイルが前記第1のメモリ内に設けられている携帯可能電子装置において、
前記第2のメモリ内に記憶され、前記複数のアプリケーション間で、そのアプリケーションファイル内のデータを共有指定するための少なくとも参照元ファイル番号、参照元データ先頭アドレス、参照先ファイル番号、参照先データ先頭アドレスおよび参照データ長からなる共有データを格納した共有データテーブルと、
前記第1のメモリ内に記憶され、前記共有データテーブルに対応して前記データ共有を行なうか否かを指定する共有指定データと、
この共有指定データを参照することによりデータ共有指定があるか否かを判定する判定手段と、
この判定手段による判定の結果、データ共有指定がある場合、前記第2のメモリに記憶された共有データテーブルに格納された共有データから共有されているデータを検索し、参照先ファイルから参照データ長分のデータを読出し、この読出したデータを参照元ファイルの該当位置へ書込むことにより前記データ共有を実現する制御手段と、
これら共有データテーブル、共有指定データおよび制御手段を有するICモジュールと、
を具備したことを特徴とする携帯可能電子装置。
A rewritable nonvolatile first memory for storing data, a control unit for reading or writing data to the first memory, and a program for operating the control unit are stored. A non-rewritable non-volatile second memory that selectively inputs / outputs data to / from the outside, and a plurality of applications are registered, and data related to the plurality of applications In the portable electronic device in which a plurality of application files are stored in the first memory,
At least a reference source file number, a reference source data start address, a reference destination file number, a reference destination data head for specifying sharing of data in the application file among the plurality of applications stored in the second memory A shared data table storing shared data consisting of addresses and reference data lengths ;
Share designation data stored in the first memory and designating whether or not to perform the data sharing corresponding to the shared data table;
Determining means for determining whether there is data sharing designation by referring to this sharing designation data;
As a result of the determination by the determination means, if there is data sharing designation, the shared data stored in the shared data table stored in the second memory is searched for shared data, and the reference data length is retrieved from the reference destination file. Control means for reading the minute data and realizing the data sharing by writing the read data to the corresponding position of the reference source file ;
An IC module having these shared data table, shared designation data and control means;
A portable electronic device comprising:
JP2002325128A 2002-11-08 2002-11-08 Portable electronic device Expired - Lifetime JP4177642B2 (en)

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 JP2004157924A (en) 2004-06-03
JP2004157924A5 JP2004157924A5 (en) 2005-12-22
JP4177642B2 true 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)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3782261B2 (en) * 1999-07-23 2006-06-07 株式会社東芝 Portable electronic device
JP4548758B2 (en) * 2000-09-05 2010-09-22 大日本印刷株式会社 Portable information processing device with shared access management function

Also Published As

Publication number Publication date
JP2004157924A (en) 2004-06-03

Similar Documents

Publication Publication Date Title
JP3015377B2 (en) IC card
JP2537199B2 (en) IC card
US5097118A (en) Portable electronic apparatus for writing and reading data to and from an external device and performing data memory allocation
US20040034734A1 (en) Method of data caching on a smartcard
KR970004106B1 (en) Ic card
JP4891587B2 (en) Portable electronic device, IC card and IC module
US6286757B1 (en) Portable electronic apparatus
JP4177642B2 (en) Portable electronic device
JPH0243222B2 (en)
JP4443699B2 (en) Portable electronic device and method for controlling portable electronic device
JP3302348B2 (en) Portable electronic device and key matching method
JP3017736B2 (en) Portable electronic devices
JP2609645B2 (en) Portable electronic devices
JP2004334745A (en) Ic card
JP3246558B2 (en) IC card
JPH0746376B2 (en) IC card
JP2974144B2 (en) Portable electronic devices
JPS636690A (en) Portable electronic device
JP3209994B2 (en) Portable electronic devices
JP2675563B2 (en) Portable electronic devices
JP2002352205A (en) Portable electronic equipment and access management method
JP2001034729A (en) Ic card
JP3054119B2 (en) Portable electronic devices
JP2752074B2 (en) Data storage method for portable electronic device
JP3015376B2 (en) IC card

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