JP4148502B2 - Portable information processing apparatus having a plurality of information transmission means - Google Patents

Portable information processing apparatus having a plurality of information transmission means Download PDF

Info

Publication number
JP4148502B2
JP4148502B2 JP2002110409A JP2002110409A JP4148502B2 JP 4148502 B2 JP4148502 B2 JP 4148502B2 JP 2002110409 A JP2002110409 A JP 2002110409A JP 2002110409 A JP2002110409 A JP 2002110409A JP 4148502 B2 JP4148502 B2 JP 4148502B2
Authority
JP
Japan
Prior art keywords
application
command
information transmission
transmission means
processing
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 - Fee Related
Application number
JP2002110409A
Other languages
Japanese (ja)
Other versions
JP2003308497A (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.)
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 JP2002110409A priority Critical patent/JP4148502B2/en
Publication of JP2003308497A publication Critical patent/JP2003308497A/en
Application granted granted Critical
Publication of JP4148502B2 publication Critical patent/JP4148502B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は複数の情報伝達手段に対応したICカード等の可搬情報処理装置に関する。
【0002】
【従来の技術】
ICカードでは外部端末(リーダ/ライタ)から物理的な伝送路(接触式情報伝達手段)または非接触な伝送路(非接触式情報伝達手段)を介して、シリアル伝送によってコマンドを受信し、カード内部で処理を実行し、処理結果をレスポンスとして同じ伝送路により外部端末へ送信している。
【0003】
現在、複数の情報伝達手段(接触式/非接触式)を備えたICカードが存在する。接触/非接触の2つの物理的なインタフェースの一方、あるいは両方を備えたものや、T=0(接触式で命令を1文字づつ順番に送る)、T=1(接触式で命令をブロック単位で送る)(ISO7816.3で規定)、T=CL(非接触式)(ISO14443・4で規定)等、複数の論理的な通信プロトコルのいずれか1つあるいは複数の組み合わせに対応したものがあり、一般にIDカードやクレジットカードとして利用されている。接触/非接触の両方のインタフェースを備えたカードでは利便性を考慮し、入退室管理、改札通過等の場合に非接触インタフェースを利用し、金融決済用途などでは接触式インタフェースを利用する場合が多い。
【0004】
また、ICカードのCPU(中央演算処理装置)は、通常、端子から入力された外部クロックによって動作する。近年、CPUの高性能により、処理速度が向上し、外部クロックの倍数指定(2、4、8倍等)で高速で実行させることができるようになった。なお、以下では倍数の指定を倍速設定と呼ぶ。
さらに、EEPROM(不揮発性メモリ)等の容量の増加によって、ICカードに複数のアプリケーションが搭載可能となった(例、Java Card)。
【0005】
【発明が解決しようとする課題】
複数の情報伝達手段を持ち、かつ複数のアプリケーションを搭載できる従来のICカードでは、それぞれの情報伝達手段と用途に対応して処理速度を設定することができなかった。例えば、ある入退出管理用アプリケーションが非接触式インタフェースで利用されるときは、通信距離をかせぐため省電力になる低処理速度で動作するように設定したい。しかし、別のある金融アプリケーションでは暗号処理を利用するため、どの伝達手段の場合でもとにかく処理速度を向上させる設定にしたい。
【0006】
このような異なる要求を持つアプリケーションを一つのICカードに搭載する場合、伝達手段に応じて、さらにどのアプリケーションが実行されるかによって処理速度を設定(倍速設定)できないことが問題である。
【0007】
複数の情報伝達手段を判別し、実行可能なコマンドを切り替えるもの(特開平11ー272824号)があるが、コマンド単位のセキュリティに関するものであり、複数のアプリケーションの選択を効率的に行うことはできない。
また、接触、非接触のインタフェースの違いによりクロック周波数を切り替えるもの(特開平11ー343441号)があるが、カード全体の処理速度に関するものであり、用途に応じてアプリケーション単位で処理速度を切り替えることはできない。
【0008】
【課題を解決するための手段】
本発明は上記課題を解決しようとするものであり、複数の情報伝達手段を持ち、処理速度の指定が可能で、複数アプリケーションを搭載可能な可搬情報処理装置において、それぞれの情報伝達手段を判別し、さらにアプリケーションに応じて倍速設定を自動的に選択する仕組みを提供しようとするものである。
【0009】
図1は本発明が適用される可搬情報処理装置の構成例を示す図である。
ICカード等の可搬情報処理装置1は、ここでは情報伝達手段2〜5を有している。情報伝達手段2、3は非接触式で電波を介して情報を伝達する手段で、例えば相互に電波の変調方式が異なっている。情報伝達手段4、5は接触式で情報伝達を実現する手段であり、互いに外部端末であるリーダ/ライタとの通信プロトコルが相違し、例えば、情報伝達手段4はT=0、情報伝達手段5はT=1である。識別手段6はどの情報伝達手段が選択されているかを識別するものであり、その識別結果はCPU7のOS実行部に渡される。CPU7は情報伝達手段を介して送信されるリーダ/ライタからのコマンドを解釈して実行(例えば、リード/ライト)し、リーダ/ライタへの応答を行う演算装置である。情報記憶手段8はCPUが演算を行う際の作業領域を提供する揮発性メモリ領域と、制御情報、ソフトウエア等のデータが格納される不揮発性メモリ領域とからなっている。
【0010】
本願発明では、OSが管理する不揮発性メモリ領域に格納されるアプリケーション管理テーブルに、アプリケーションID(AID:少なくともカード内部でユニークな番号)と、それぞれのAIDに対して情報伝達手段による倍速設定の項目を持つようにし、伝達手段の情報(インタフェースや通信プロトコルなど)を識別手段で判別し、コマンドが伝達されたアプリケーションに応じて処理速度が設定(倍速設定)されるようにしたものであり、用途と環境に応じて実行速度、通信距離(非接触の場合)、消費電力量などを適切に配分することができる。なお、本願発明は、情報伝達手段の数は特に限定されるものではなく、接触式/非接触式それぞれ1つ以上、或いは接触式/非接触式の一方は複数、他方は1つ、接触式或いは非接触式のみでそれぞれ複数の場合等、どのような場合にも適用可能である。
【0011】
次に、アプリケーションの管理方法について説明する。
本願発明では、CPU7のOS部またはアプリケーション管理部に、例えば、図2に示すようなアプリケーション管理テーブルを備えている。この管理テーブルは、AID(アプリケーションIDで、少なくともカード内部でユニークな番号)と、それぞれのAIDに対して情報伝達手段による倍速設定の項目を持っている。なお、アプリケーション管理テーブルの数値は専用のコマンドで書き換え可能であってもよい。
【0012】
図2の例では、接触式インタフェースでAIDが1のアプリケーション(金融)にコマンドが伝達されてきた場合は8倍速で動作し、非接触式インタフェースでAIDが2のアプリケーション(入退室)にコマンドが伝達されてきた場合は2倍速で動作する。また、AIDが0は特殊なケースとし、ICカードのOS自身を示すものとする。これはコマンドを受信してからアプリケーションに引き渡すまでのOSとしての動作を何倍速で実行するかを指定するためである。また、伝達手段の列をさらに増やし、排他的でない伝達手段の組み合わせを用いるようにしてもよい。この場合、接触式インタフェースと非接触式インタフェースが同時に使われることはないが、接触式でかつ通信プロトコルがT=1或いはT=0というような場合はあり得る。
【0013】
図3は接触/非接触式と通信プロトコルとの組み合わせで倍速設定する場合の管理テーブルを示している。T=0は海外や携帯電話機などでよく使われ、日本国内ではT=1がよく使われる。したがって、T=0ならば携帯電話である可能性が高いと判断し、省電力にするため動作速度を落とすといった設定が考えられる。
【0014】
アプリケーション管理テーブルに登録する「伝達手段」は、OSが外部端末(リーダ/ライタ)からのコマンドの内容を解析しなくても分かるものでなければならない。従って、図1に示すように、本願発明では伝達手段の判別回路あるいは判別ソフトウェアとそれをOS(CPU)に通知する識別手段6を備えている。例えば、インタフェースの種類はハードウェアによって検出され、通信プロトコルの違いはOSの下層にある通信モジュールが判別してOSに通知する。
【0015】
図4はOS部での処理フローを示す図である。
可搬情報処理装置、例えばICカードに接触または非接触の手段で電源が供給されると、ICカードのOS部が起動し(ステップS1)、通信条件を選択後、OS関連の初期化(メモリチェック等)を実行する(ステップS2)。次いで、OSはここまでに分かっている伝達手段の情報(インタフェースや通信プロトコル等)を判別し(ステップS3)、アプリケーション管理テーブルを参照してOS自身の処理速度を設定し(倍速設定)(ステップS4)、外部端末からのコマンド受信待ちとなる(ステップS5)。外部端末がコマンドを任意の通信プロトコルでICカードに送信し、ICカードのOSがコマンドを受信すると(コマンドの内容はまだ解析しない)、OSはデフォルトに設定されているアプリケーションを選択する(ステップS6)。なお、アプリケーションの選択処理はOS以外の専用アプリケーションに任せられるようにしてもよい。次いで、OSは受信したコマンドの内容を解析し(ステップS7)、当該コマンドがアプリケーション選択コマンドか否かを判別し(ステップS8)、アプリケーション選択コマンドであればコマンドで指定されたアプリケーションの選択処理を行い(ステップS9)、アプリケーション管理テーブルを参照し、選択済アプリケーションの処理速度を設定し(ステップS10)、選択済アプリケーションにコマンドを渡し、制御を移す(ステップS11)。ステップS8において、選択コマンドでなければ選択済みのアプリケーション(この時点では上記選択されたデフォルトアプリケーション)にコマンドを渡し、制御をアプリケーションに移すが、その際、アプリケーション管理テーブルを参照して、伝達手段とAIDからそのアプリケーションの倍速設定を行ってから制御を移す。次いで、アプリケーション管理テーブルを参照し、OS自身の処理速度に設定し直し(ステップS12)、アプリケーションからの処理結果を外部端末に送信し(ステップS13)、次のコマンドの受信待ちに入り(ステップS14)、以後、ステップS7〜S13の処理を繰り返す。なお、ステップS12において、前回と同じアプリケーションの場合には、処理の高速化のため倍速値をキャッシュしておくようにしてもよい。
【0016】
【発明の実施の形態】
以下、本発明の実施の形態を説明する。
ここでは接触/非接触のインタフェースの違いにより、各アプリケーションがそれぞれの処理速度(倍速設定)を設定可能な可搬情報処理装置としてICカードを例にとって説明するが、ICカードに限定されるものではない。
この例でのICカードは以下の機能を持っているものとする。
通信インタフェースとして、接触式インタフェースと非接触式インタフェースを持ち、どちらのインタフェースにより情報が伝送されてきたかにより、それに対応して駆動する通信モジュール部を備え、OSはどちらのインタフェースにより情報が伝達されてきたかを知る機能を持っているものとする。
【0017】
OS部またはアプリケーション管理部に図5に示すアプリケーション管理テーブルを持つものとする。このアプリケーション管理テーブルはAID(アプリケーションID、少なくともカード内でユニークな番号)と、それぞれのAIDに対して伝達手段による倍速指定の項目を持つ。アプリケーション管理テーブルの値は専用のコマンドで書き換え可能であってもよい。
【0018】
図5の例では、ICカードにAID=1,2の2つのアプリケーションが搭載されており、また、デフォルトアプリケーションはAID=1の金融アプリケーションに設定されているものとする。この例では接触式インタフェースでAIDが1のアプリケーションにコマンドが伝達されてきた場合は8倍速で動作を、非接触式インタフェースでAIDがのアプリケーションにコマンドが伝達されてきた場合には2倍速で動作する。なお、AIDが0は特殊なケースとし、ICカードのOS自身を示すものとする。これはコマンドを受信してからアプリケーションに引き渡すまでのOSとしての動作を何倍速で実行するかを指定するためである。
【0019】
以下にICカードの活性化からデフォルトアプリケーションがコマンドを処理するまでの流れを説明する。なお、処理フローは図4に示したものと同様であるので図示は省略する。
ICカードに接触/非接触のいずれかのインタフェースを通して電源が供給されると、ICカードのOSが起動し、通信条件の選択処理をしてOS関連の初期化(メモリチェック等を含む)を実行する。外部端末は上記で使用したインタフェースを一連の処理手続きの間使用し続けるものとする。通信条件選択処理は、接触式であればATR送信(通信するための諸情報の送信)、PPS処理等(ISO7816ー3で規定された通信プロトコルの決定等)、非接触式であればアンチコリージョン等(ISO14443ー3で規定)の処理である。外部端末はICカードにコマンドを送信し、ICカードのOSはコマンドを受信すると、OS上のアプリケーションを実行するための初期化を実行する。初期化の中でOSはデフォルトのアプリケーションの選択処理を行う。ここで接触式か非接触式かでデフォルトアプリケーションを異なる設定にしてもよい。
【0020】
OS部は受信したコマンドがアプリケーション選択コマンドでないか否か判別し、アプリケーション選択コマンドであればコマンドで指定されたアプリケーションの選択処理を行う。アプリケーション選択コマンドでなければ、アプリケーション管理テーブルをみて選択されたアプリケーションと伝達手段(接触式か非接触式か)から、倍速設定値を得て、その値に処理速度を設定する。次いで、選択されたアプリケーションにコマンドを渡し、制御を移す。アプリケーションからの処理結果を外部端末に送信し、次のコマンドの受信待ちに入る。倍速設定はOS自身の設定値に戻し、上記処理繰り返す。
【0021】
次に、接触式インタフェースを利用し、金融アプリケーション向けのデータ読み取りコマンドを受信した場合の例について説明する。
ICカードに接触式インタフェースを通して電源が供給される。ICカードのOSが起動し、OS関連の初期化(メモリチェック等)を実行した後、ATR(ICカードと通信するための諸情報)を外部端末へ送信する。OSの初期化には自身の処理速度(倍速設定)の設定も含まれる(アプリケーション管理テーブルでAID=0、接触式は4倍速なので、4倍速に設定する)。外部端末はデータ読み取りコマンドをICカードに送信する。ICカードのOSはコマンドを受信すると、OS上のアプリケーションを実行するための初期化を実行し、初期化の中でデフォルトアプリケーションである金融用アプリケーション(AID=1)を選択する。
【0022】
OS部は受信したコマンドがアプリケーション選択コマンドでないか判別し、選択コマンドでないことを確認する。この場合選択済のアプリケーション(AID=1)にコマンドを渡すので、アプリケーション管理テーブルを参照し、AIDが1で、伝達手段が接触式であることから倍速設定を8倍にし、制御をアプリケーションに移し、コマンドをアプリケーションに渡す。
【0023】
制御を渡されたアプリケーションはコマンドを解析し、データ読み取りコマンドであるので、該当するデータを処理結果としてOSに返し、OSは自身の処理速度を4倍速に設定し直す。OSはその値を外部端末に送信し、次のコマンドの受信待ちに入る。
【0024】
次に非接触式インタフェースを利用し、アプリケーション選択コマンド(AID=2を指定)を受信した場合の例について説明する。
ICカードに非接触式インタフェースを通して電源が供給される。ICカードのOSが起動し、OS関連の初期化(メモリチェック等を含む)を実行した後、ATR(ICカードと通信するための諸情報)を外部端末へ送信する。OSの初期化には自身の処理速度(倍速設定)の設定も含まれる(アプリケーション管理テーブルでAID=0、接触式は4倍速なので、4倍速に設定する)。
【0025】
外部端末は入退室用アプリケーションの選択コマンド(AID=2を指定)をICカードに送信する。ICカードのOSはコマンドを受信する。OS上のアプリケーションを実行するための初期化を実行し、初期化の中でデフォルトアプリケーションである金融用アプリケーション(AID=1)を選択する。
【0026】
OS部は受信したコマンドがアプリケーション選択コマンドでないか判別し、アプリケーション選択コマンドなので指定されたアプリケーション(AID=2)の選択処理を行う。この場合新たに選択されたアプリケーション(AID=2)にコマンドを渡すことになる。アプリケーション管理テーブルを参照し、AIDが2で、伝達手段が非接触式であることから倍速設定を2倍にする。次いで、制御をアプリケーションに移し、コマンドをアプリケーションに渡す。
【0027】
入退室用アプリケーション(AID=2)はコマンドを解析し、単なる選択コマンドであるので何もせずOSに制御を戻す。OSは自身の処理速度を4倍速に設定し直す。そして、選択コマンドが成功した旨を外部端末に送信し、次のコマンドの受信待ちに入る。
【0028】
【発明の効果】
以上のように本発明によれば、伝達手段や通信条件に応じ、さらにどのアプリケーションが実行されるかによって、処理速度を設定(倍速設定)でき、用途と環境に応じて、実行速度、通信距離(非接触の場合)、消費電力量などを適切に配分することができる。
【図面の簡単な説明】
【図1】 本発明の可搬情報処理装置の構成例を示す図である。
【図2】 アプリケーション管理テーブルの例を示す図である。
【図3】 接触/非接触式と通信プロトコルとの組み合わせで倍速設定する場合の管理テーブルの例を示す図である。
【図4】 OSにおける処理フローを示す図である。
【図5】 アプリケーション管理テーブルの例を示す図である。
【符号の説明】
1…可搬情報処理装置、2〜5…情報伝達手段、6…識別手段、7…CPU、8…情報記憶手段。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a portable information processing apparatus such as an IC card corresponding to a plurality of information transmission means.
[0002]
[Prior art]
In an IC card, a command is received by serial transmission from an external terminal (reader / writer) via a physical transmission path (contact information transmission means) or a non-contact transmission path (non-contact information transmission means). Processing is executed internally, and the processing result is transmitted as a response to the external terminal through the same transmission path.
[0003]
Currently, there is an IC card provided with a plurality of information transmission means (contact type / non-contact type). One with two or two physical interfaces of contact / non-contact, T = 0 (commands are sent one character at a time in contact mode), T = 1 (commands in block format in contact mode) (Send by) (specified by ISO 7816.3), T = CL (non-contact type) (specified by ISO 14443/4), etc., which correspond to any one or a combination of a plurality of logical communication protocols Generally, it is used as an ID card or a credit card. Cards with both contact and non-contact interfaces consider convenience, often use non-contact interfaces for entry / exit management, pass gates, etc., and contact-type interfaces for financial settlement applications. .
[0004]
Further, the CPU (Central Processing Unit) of the IC card normally operates with an external clock input from a terminal. In recent years, the processing speed has been improved due to the high performance of the CPU, and it has become possible to execute at high speed by specifying multiples of the external clock (2, 4, 8 times, etc.). In the following, the designation of the multiple is called double speed setting.
Furthermore, an increase in the capacity of an EEPROM (non-volatile memory) or the like has made it possible to install a plurality of applications on an IC card (eg, Java Card).
[0005]
[Problems to be solved by the invention]
With a conventional IC card that has a plurality of information transmission means and can be equipped with a plurality of applications, the processing speed cannot be set in accordance with each information transmission means and application. For example, when an entry / exit management application is used in a non-contact interface, it is desired to set it to operate at a low processing speed that saves power in order to increase the communication distance. However, because some other financial application uses cryptographic processing, we want to set it to improve the processing speed anyway.
[0006]
When an application having such a different request is mounted on one IC card , there is a problem that the processing speed cannot be set (double speed setting) depending on which application is executed according to the transmission means.
[0007]
Although there is one that discriminates a plurality of information transmission means and switches executable commands (Japanese Patent Laid-Open No. 11-272824), it is related to security in command units, and a plurality of applications cannot be selected efficiently. .
In addition, there is one that switches the clock frequency depending on the difference between the contact and non-contact interfaces (Japanese Patent Laid-Open No. 11-343441), but this relates to the processing speed of the entire card, and the processing speed is switched in units of applications according to the application. I can't.
[0008]
[Means for Solving the Problems]
The present invention is intended to solve the above-described problem, and in a portable information processing apparatus having a plurality of information transmission means, capable of specifying a processing speed, and capable of mounting a plurality of applications, each information transmission means is discriminated. In addition, it is intended to provide a mechanism for automatically selecting the double speed setting according to the application.
[0009]
FIG. 1 is a diagram showing a configuration example of a portable information processing apparatus to which the present invention is applied.
Here, the portable information processing device 1 such as an IC card has information transmission means 2 to 5. The information transmission means 2 and 3 are non-contact type means for transmitting information via radio waves. For example, radio wave modulation methods are different from each other. The information transmission means 4 and 5 are means for realizing information transmission in a contact type, and have different communication protocols with reader / writers that are external terminals. For example, the information transmission means 4 has T = 0, the information transmission means 5 T = 1. The identification unit 6 identifies which information transmission unit is selected, and the identification result is passed to the OS execution unit of the CPU 7. The CPU 7 is an arithmetic device that interprets and executes (for example, reads / writes) commands from the reader / writer transmitted via the information transmission means, and sends a response to the reader / writer. The information storage means 8 comprises a volatile memory area that provides a work area when the CPU performs calculations, and a nonvolatile memory area that stores data such as control information and software.
[0010]
In the present invention, the application management table stored in the non-volatile memory area managed by the OS includes an application ID (AID: at least a unique number inside the card) and items of double speed setting by the information transmission means for each AID. The information of the communication means (interface, communication protocol, etc.) is determined by the identification means, and the processing speed is set (double speed setting) according to the application to which the command is transmitted. The execution speed, communication distance (in the case of non-contact), power consumption, etc. can be appropriately distributed according to the environment. In the present invention, the number of information transmission means is not particularly limited, and one or more of contact type / non-contact type, or one of contact type / non-contact type, and one of contact type / non-contact type, contact type Alternatively, it can be applied to any case such as a non-contact type and a plurality of cases.
[0011]
Next, an application management method will be described.
In the present invention, the OS unit or application management unit of the CPU 7 is provided with an application management table as shown in FIG. 2, for example. This management table has items of AID (application ID, a number unique at least inside the card) and double speed setting by information transmission means for each AID. The numerical values in the application management table may be rewritable with a dedicated command.
[0012]
In the example of FIG. 2, when a command is transmitted to an application (finance) with an AID of 1 through a contact interface, the command operates at 8 times speed, and a command is sent to an application (entrance / exit) with an AID of 2 through a non-contact interface. When transmitted, it operates at double speed. In addition, an AID of 0 is a special case and indicates the IC card OS itself. This is to specify how many times the operation as the OS from the reception of the command to delivery to the application is executed. Further, the number of transmission means may be further increased, and a combination of non-exclusive transmission means may be used. In this case, the contact-type interface and the non-contact-type interface are not used at the same time, but there may be a case where the contact-type interface and the communication protocol are T = 1 or T = 0.
[0013]
FIG. 3 shows a management table in the case of setting the double speed by a combination of the contact / non-contact type and the communication protocol. T = 0 is often used overseas and in mobile phones, and T = 1 is often used in Japan. Therefore, if T = 0, it is determined that there is a high possibility of being a mobile phone, and a setting of reducing the operating speed to save power can be considered.
[0014]
The “communication means” registered in the application management table must be understood without the OS analyzing the content of the command from the external terminal (reader / writer). Therefore, as shown in FIG. 1, the present invention includes a determination circuit or determination software for a transmission means and an identification means 6 for notifying the OS (CPU) of the determination circuit. For example, the type of interface is detected by hardware, and the communication module at the lower layer of the OS determines and notifies the OS of the difference in communication protocol.
[0015]
FIG. 4 is a diagram showing a processing flow in the OS unit.
When power is supplied to a portable information processing apparatus, for example, an IC card by contact or non-contact means, the OS unit of the IC card is activated (step S1), and after selecting communication conditions, OS-related initialization (memory (Check etc.) is executed (step S2). Next, the OS discriminates the information (interface, communication protocol, etc.) of the transmission means known so far (step S3), refers to the application management table and sets the processing speed of the OS itself (double speed setting) (step S4) Waiting for command reception from the external terminal (step S5). When the external terminal transmits a command to the IC card using an arbitrary communication protocol and the OS of the IC card receives the command (the contents of the command are not analyzed yet), the OS selects an application set as a default (step S6). ). The application selection process may be left to a dedicated application other than the OS. Next, the OS analyzes the content of the received command (step S7), determines whether or not the command is an application selection command (step S8), and if it is an application selection command, performs an application selection process designated by the command. In step S9, the processing speed of the selected application is set with reference to the application management table (step S10), the command is transferred to the selected application, and control is transferred (step S11). In step S8, if the command is not a selection command, the command is passed to the selected application (at this time, the selected default application), and the control is transferred to the application. At this time, referring to the application management table, The control is transferred after setting the double speed of the application from the AID. Next, referring to the application management table, the processing speed of the OS itself is reset (step S12), the processing result from the application is transmitted to the external terminal (step S13), and the next command is awaited (step S14). Thereafter, the processes in steps S7 to S13 are repeated. In step S12, in the case of the same application as the previous time, the double speed value may be cached in order to increase the processing speed.
[0016]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below.
Here, an IC card will be described as an example of a portable information processing apparatus in which each application can set a processing speed (double speed setting) due to a difference between a contact / non-contact interface. However, the present invention is not limited to an IC card. Absent.
It is assumed that the IC card in this example has the following functions.
The communication interface has a contact type interface and a non-contact type interface. Depending on which interface has been used to transmit information, a communication module unit is provided to drive the information. The OS is used to transmit information. It shall have a function to know whether or not.
[0017]
Assume that the OS unit or application management unit has the application management table shown in FIG. This application management table has an AID (application ID, at least a unique number in the card) and an item for specifying double speed by the transmission means for each AID. The values in the application management table may be rewritable with a dedicated command.
[0018]
In the example of FIG. 5, it is assumed that two applications with AID = 1 and 2 are mounted on the IC card, and the default application is set to a financial application with AID = 1. In this example, when a command is transmitted to an application with an AID of 1 through a contact type interface, the operation is performed at 8 times speed, and when a command is transmitted to an application with an AID of 2 through a non-contact type interface, the operation is performed at a double speed. Operate. Note that an AID of 0 is a special case and indicates the IC card OS itself. This is to specify how many times the operation as the OS from the reception of the command to delivery to the application is executed.
[0019]
The flow from the activation of the IC card until the default application processes the command will be described below. Since the processing flow is the same as that shown in FIG.
When power is supplied to the IC card through either the contact or non-contact interface, the IC card OS starts up, performs communication condition selection processing, and executes OS-related initialization (including memory check, etc.) To do. It is assumed that the external terminal continues to use the interface used above during a series of processing procedures. The communication condition selection processing is ATR transmission (transmission of various information for communication) if it is a contact type, PPS processing (determination of a communication protocol defined in ISO 7816-3, etc.) This is processing of a region or the like (specified by ISO 14443-3). The external terminal transmits a command to the IC card, and when the OS of the IC card receives the command, initialization for executing an application on the OS is executed. During initialization, the OS performs a default application selection process. Here, the default application may be set differently depending on the contact type or the non-contact type.
[0020]
The OS unit determines whether or not the received command is an application selection command, and if it is an application selection command, performs an application selection process designated by the command. If it is not an application selection command, the double speed setting value is obtained from the application selected by looking at the application management table and the transmission means (contact type or non-contact type), and the processing speed is set to that value. The command is then passed to the selected application and control is transferred. Sends the processing result from the application to the external terminal and waits to receive the next command. The double speed setting is returned to the setting value of the OS itself and the above process is repeated.
[0021]
Next, an example when a data read command for a financial application is received using a contact interface will be described.
Power is supplied to the IC card through the contact interface. After the OS of the IC card is activated and OS-related initialization (memory check etc.) is executed, ATR (various information for communicating with the IC card) is transmitted to the external terminal. The initialization of the OS includes setting of its own processing speed (double speed setting) (AID = 0 in the application management table, and the contact type is set to quadruple speed because it is quadruple speed). The external terminal transmits a data read command to the IC card. Upon receiving the command, the OS of the IC card executes initialization for executing the application on the OS, and selects the financial application (AID = 1) which is the default application in the initialization.
[0022]
The OS unit determines whether the received command is not an application selection command and confirms that it is not a selection command. In this case, since the command is passed to the selected application (AID = 1), referring to the application management table, the AID is 1 and the transmission means is a contact type, so the double speed setting is multiplied by 8 and the control is transferred to the application. , Pass the command to the application.
[0023]
Since the application to which control is passed is a command to read the data and is a data read command, the corresponding data is returned to the OS as a processing result, and the OS resets its processing speed to 4 times. The OS transmits the value to the external terminal and waits for reception of the next command.
[0024]
Next, an example in which an application selection command (AID = 2 is specified) is received using a non-contact interface will be described.
Power is supplied to the IC card through a non-contact interface. After the OS of the IC card is started and OS-related initialization (including memory check etc.) is executed, ATR (information for communicating with the IC card) is transmitted to the external terminal. The initialization of the OS includes setting of its own processing speed (double speed setting) (AID = 0 in the application management table, and the contact type is set to quadruple speed because it is quadruple speed).
[0025]
The external terminal transmits an entry / exit application selection command (designated AID = 2) to the IC card. The OS of the IC card receives the command. Initialization for executing an application on the OS is executed, and a financial application (AID = 1) which is a default application is selected in the initialization.
[0026]
The OS unit determines whether the received command is an application selection command, and performs processing for selecting a designated application (AID = 2) because it is an application selection command. In this case, the command is passed to the newly selected application (AID = 2). Referring to the application management table, the AID is 2 and the transmission means is a non-contact type, so the double speed setting is doubled. Control is then transferred to the application and the command is passed to the application.
[0027]
The entry / exit application (AID = 2) analyzes the command and returns to the OS without doing anything because it is a simple selection command. The OS resets its own processing speed to 4 ×. Then, the fact that the selection command has succeeded is transmitted to the external terminal, and the reception of the next command is awaited.
[0028]
【The invention's effect】
As described above, according to the present invention, the processing speed can be set (double speed setting) depending on which application is executed according to the transmission means and communication conditions, and the execution speed and communication distance can be set according to the application and environment. (In the case of non-contact), it is possible to appropriately allocate power consumption and the like.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating a configuration example of a portable information processing apparatus according to the present invention.
FIG. 2 is a diagram illustrating an example of an application management table.
FIG. 3 is a diagram illustrating an example of a management table in the case of setting double speed by a combination of a contact / non-contact type and a communication protocol.
FIG. 4 is a diagram showing a processing flow in the OS.
FIG. 5 is a diagram illustrating an example of an application management table.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Portable information processing apparatus, 2-5 ... Information transmission means, 6 ... Identification means, 7 ... CPU, 8 ... Information storage means.

Claims (3)

外部端末との通信を行うための複数の情報伝達手段と、情報伝達手段を介して受信するコマンドを解釈して処理を実行し、処理結果を外部端末へ返すOS部を有するCPUと、情報伝達手段を通して受信されるコマンドが、どの情報伝達手段を通して受信されたかを検知してCPUのOS部に通知する識別手段と、CPUが演算する際の作業領域を提供する揮発性メモリ領域、データが格納される不揮発性メモリ領域を有する情報記憶手段とを備えた可搬情報処理装置において、
前記CPUのOS部は、起動後デフォルトに設定されているアプリケーションを選択し、コマンドを受信すると、受信したコマンドの内容を解析してアプリケーション選択コマンドか否か判別してアプリケーション選択コマンドであれば当該コマンドで指定されたアプリケーションを選択し、アプリケーション選択コマンドでなければ選択済みアプリケーションを選択し、次いで、情報伝達手段と実行されるアプリケーションに応じて処理速度が設定されているアプリケーション管理テーブルを参照し、前記識別手段から通知された情報伝達手段と選択されたアプリケーションに対応して処理速度を設定して選択されたアプリケーションにコマンドを渡して制御を移し、
前記選択されたアプリケーションは渡された前記コマンドを解析して処理を実行し、処理結果をOS部へ返すことを特徴とする複数の情報伝達手段を備えた可搬情報処理装置。
A plurality of information transmitting means for communicating with an external terminal, and executes the processing by interpreting commands received via the information transmitting means, a CPU with OS portion that returns the processing result to the external terminal, signaling An identification means for detecting which information transmission means the command received through the means is received and notifying to the OS part of the CPU, a volatile memory area for providing a work area when the CPU calculates, and data are stored In a portable information processing apparatus comprising information storage means having a nonvolatile memory area to be
OS portion of the CPU may select an application that is set to the default after startup, upon receiving the command, if the application selection command analyzes the content of the received command to determine whether the application selection command the select the application specified in the command, and select the selected application if an application selection command, then, refers to the application management table of the processing speed in accordance with the application is set to be executed and information transmission means, In response to the information transmission means notified from the identification means and the selected application, a processing speed is set and a command is passed to the selected application to transfer control,
The portable information processing apparatus comprising a plurality of information transmission means, wherein the selected application analyzes the command that has been passed, executes processing, and returns the processing result to the OS unit .
外部端末との通信を行うための複数の接触式/非接触式情報伝達手段と、情報伝達手段を介して受信するコマンドを解釈して処理を実行し、処理結果を外部端末へ返すOS部を有するCPUと、接触式/非接触式の情報伝達手段を通して受信されるコマンドが、接触式/非接触式のうちどの情報伝達手段、及びどのような通信条件により受信されたかを検知してCPUのOS部に通知する識別手段と、CPUが演算する際の作業領域を提供する揮発性メモリ領域、データが格納される不揮発性メモリ領域を有する情報記憶手段とを備えた可搬情報処理装置において、
前記CPUのOS部は、起動後デフォルトに設定されているアプリケーションを選択し、コマンドを受信すると、受信したコマンドの内容を解析してアプリケーション選択コマンドか否か判別してアプリケーション選択コマンドであれば当該コマンドで指定されたアプリケーションを選択し、アプリケーション選択コマンドでなければ選択済みアプリケーションを選択し、次いで、情報伝達手段及び通信条件とアプリケーションに応じて処理速度が設定されているアプリケーション管理テーブルを参照し前記識別手段から通知された情報伝達手段及び通信条件と選択されたアプリケーションに対応して処理速度を設定して選択されたアプリケーションにコマンドを渡して制御を移し、
前記選択されたアプリケーションは渡された前記コマンドを解析して処理を実行し、処理結果をOS部へ返すことを特徴とする複数の情報伝達手段を備えた可搬情報処理装置。
A plurality of contact / non-contact communication means for communicating with an external terminal, and executes the processing by interpreting commands received via the information transmitting means, the OS unit that returns a processing result to the external terminal The CPU and the command received through the contact / non-contact type information transmission means detects which information transmission means of the contact type / non-contact type and under what communication conditions is received. In a portable information processing apparatus comprising an identification means for notifying the OS section, a volatile memory area for providing a work area when the CPU performs computation, and an information storage means having a nonvolatile memory area for storing data ,
OS portion of the CPU may select an application that is set to the default after startup, upon receiving the command, if the application selection command analyzes the content of the received command to determine whether the application selection command the select the application specified in the command, and select the selected application if an application selection command, then, refers to the application management table of the processing speed according to the information transmission means and communication conditions and the application is set, In accordance with the information transmission means and communication conditions notified from the identification means and the selected application, the processing speed is set and the control is transferred by passing a command to the selected application .
The portable information processing apparatus comprising a plurality of information transmission means, wherein the selected application analyzes the command that has been passed, executes processing, and returns the processing result to the OS unit .
前記複数の情報伝達手段は、接触式と非接触式の情報伝達手段であることを特徴とする請求項1記載の可搬情報処理装置。  The portable information processing apparatus according to claim 1, wherein the plurality of information transmission units are contact type and non-contact type information transmission units.
JP2002110409A 2002-04-12 2002-04-12 Portable information processing apparatus having a plurality of information transmission means Expired - Fee Related JP4148502B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002110409A JP4148502B2 (en) 2002-04-12 2002-04-12 Portable information processing apparatus having a plurality of information transmission means

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002110409A JP4148502B2 (en) 2002-04-12 2002-04-12 Portable information processing apparatus having a plurality of information transmission means

Publications (2)

Publication Number Publication Date
JP2003308497A JP2003308497A (en) 2003-10-31
JP4148502B2 true JP4148502B2 (en) 2008-09-10

Family

ID=29393555

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002110409A Expired - Fee Related JP4148502B2 (en) 2002-04-12 2002-04-12 Portable information processing apparatus having a plurality of information transmission means

Country Status (1)

Country Link
JP (1) JP4148502B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005064529A2 (en) * 2003-12-24 2005-07-14 Koninklijke K.P.N.N.V. A method and system for triggering network access
JP4953595B2 (en) * 2005-07-06 2012-06-13 パナソニック株式会社 Information processing device
JP5633730B2 (en) 2010-06-28 2014-12-03 ソニー株式会社 Information processing apparatus and method, and program
WO2018083865A1 (en) * 2016-11-02 2018-05-11 シャープ株式会社 Information processing device, information processing device control method, control program, and recording medium
JP7058631B2 (en) * 2019-10-28 2022-04-22 ソニーグループ株式会社 Information processing equipment and methods, and programs

Also Published As

Publication number Publication date
JP2003308497A (en) 2003-10-31

Similar Documents

Publication Publication Date Title
EP2106108B1 (en) Method and apparatus for automatic application selection in an electronic device using multiple discovery managers
US8060012B2 (en) Method and apparatus for automatic near field communication application selection in an electronic device
JP3958243B2 (en) IC card and its OS startup method
US11742894B2 (en) Techniques to reduce power consumption in near field communication systems
JP4148502B2 (en) Portable information processing apparatus having a plurality of information transmission means
JP2003044801A (en) Portable information processor provided with a plurality of information transmitting means
JP4742469B2 (en) IC card, IC card processing apparatus and processing method using a plurality of OSs
US20120234926A1 (en) Portable electronic apparatus
JP2007087120A (en) Ic card mounted with multiple os (operating system) and issue consignment method
US6866192B2 (en) IC card terminal
KR100399603B1 (en) Smart card and method for writing/erasing and operating an os program the same
JP2012093857A (en) Ic chip, memory initialization method for ic chip, processing program for ic chip, and portable terminal
CN112613872A (en) Type 4NFC tag as protocol interface
JP2002183698A (en) Noncontact ic card
JP4734838B2 (en) Information recording medium, program, and command execution control method
JP2006172271A (en) Multi-application ic card, and program for ic card
JP7444197B2 (en) Electronic information storage medium, cryptographic operation method selection method, and program
JP7424536B1 (en) Electronic information storage medium, IC chip, IC card, communication parameter transmission method, and program
JP2024046675A (en) IC chip
JP2006209172A (en) Ic card and program for ic card
JP3243591B2 (en) Contactless data carrier
JP2003050976A (en) Method and device for data processing, and program
JP2014071528A (en) Communication system, ic card, processing program for ic card and communication method
JP2008243096A (en) Portable electronic equipment and control method of portable electronic equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050328

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070309

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070404

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070604

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070629

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070828

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070928

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071126

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080125

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080321

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20080402

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080502

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080523

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: 20080620

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: 20080623

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110704

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120704

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120704

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130704

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees