JP2011215833A - Portable electronic device and ic card - Google Patents

Portable electronic device and ic card Download PDF

Info

Publication number
JP2011215833A
JP2011215833A JP2010082876A JP2010082876A JP2011215833A JP 2011215833 A JP2011215833 A JP 2011215833A JP 2010082876 A JP2010082876 A JP 2010082876A JP 2010082876 A JP2010082876 A JP 2010082876A JP 2011215833 A JP2011215833 A JP 2011215833A
Authority
JP
Japan
Prior art keywords
aid
storage unit
application
card
search
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2010082876A
Other languages
Japanese (ja)
Inventor
Tomomi Onuma
友美 大沼
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 JP2010082876A priority Critical patent/JP2011215833A/en
Publication of JP2011215833A publication Critical patent/JP2011215833A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a portable electronic device and an IC card, which efficiently select an application in response to a command indicating a selection of the application.SOLUTION: The portable electronic device includes a communication unit, a first storage unit, a second storage unit, a third storage unit, and a controller. The first storage unit stores a plurality of applications. The second storage unit stores a plurality of identifiers. The third storage unit stores address information of an identifier assigned to an application which has been selected last. When the controller receives the command indicating the selection of the application, the controller searches whether the identifier included in the command exists in an address indicated by address information in the third storage unit. If the identifier exists in the address indicated by the address information, the controller selects the application designated by the identifier of the address.

Description

この発明は、携帯可能電子装置及びICカードに関する。   The present invention relates to a portable electronic device and an IC card.

一般的に、携帯可能電子装置としてICカードが使用されている。ICカードは、カード本体、ICチップ及び通信部を備えている(例えば、特許文献1参照)。ICカードは、接触通信、非接触通信(無線通信)、又は接触通信及び非接触通信の双方の機能を有している。ICチップ内には、データの書き込み及び書き換えが可能な不揮発性メモリであるEEPROM(Electrically Erasable Programmable Read-Only Memory)及び制御部であるCPU(central processing unit)などが組み込まれている。   In general, an IC card is used as a portable electronic device. The IC card includes a card body, an IC chip, and a communication unit (for example, see Patent Document 1). The IC card has functions of contact communication, contactless communication (wireless communication), or both contact communication and contactless communication. In the IC chip, an EEPROM (Electrically Erasable Programmable Read-Only Memory) that is a nonvolatile memory in which data can be written and rewritten, a CPU (central processing unit) that is a control unit, and the like are incorporated.

近年、1枚のICカードに複数のアプリケーションが搭載された、いわゆるマルチアプリケーションICカードが開発、運用されている。このマルチアプリケーションICカードとして有名なものとして、例えばJava(登録商標)Cardが挙げられる。JavaCardは、Java言語で記述された複数のアプリケーションを搭載、また削除が可能なICカードである。   In recent years, so-called multi-application IC cards in which a plurality of applications are mounted on one IC card have been developed and operated. A well-known multi-application IC card is, for example, Java (registered trademark) Card. JavaCard is an IC card that is equipped with a plurality of applications written in the Java language and can be deleted.

このような複数のアプリケーションを実行可能なICカードは、ISO7816−4に従い、国内、及び世界中で重複することがないよう登録制により、各アプリケーションに付与されるAID(application identifier)という5乃至16バイトの識別情報(識別子)からアプリケーションを特定している。そしてそのAIDによりアプリケーションを選択してから、続く処理を指示及び実行している。   Such an IC card capable of executing a plurality of applications conforms to ISO 7816-4, and is registered as an AID (application identifier) 5 to 16 assigned to each application by a registration system so as not to be duplicated in the country and around the world. The application is specified from the identification information (identifier) of the byte. Then, after selecting an application by the AID, the subsequent processing is instructed and executed.

この各AIDは、例えばEEPROM等の内部メモリに保存され、ICカード外部からアプリケーションを選択する命令が供給された場合は、外部から指定されたAIDに基づき内部メモリ内に保存されているAIDを検索し、検索されたAIDに対応するアプリケーションを選択及び実行可能とする。   Each AID is stored in an internal memory such as an EEPROM, for example. When an instruction for selecting an application is supplied from outside the IC card, the AID stored in the internal memory is searched based on the AID specified from the outside. Then, an application corresponding to the searched AID can be selected and executed.

特開2002−328845号公報JP 2002-328845 A

ところで、外部から指示されたAIDに基づき、選択可能なアプリケーションを検索する際に、従来はICカードの内部メモリに登録されているAID情報を、固定的に登録された順番で順次検索処理を実施していた。   By the way, when searching for a selectable application based on an AID instructed from outside, AID information previously registered in the internal memory of the IC card is sequentially searched in the order of fixed registration. Was.

従ってICカード内に登録されているアプリケーションの数が多くなると、アプリケーションの検索及び選択にかかる処理時間が増し、アプリケーションの処理に悪影響が出ていた。   Accordingly, when the number of applications registered in the IC card increases, the processing time required for searching and selecting applications increases, which adversely affects application processing.

さらに、近年、携帯電話システム方式として、携帯電話機にもSIM(Subscriber Identity Module)カードや、UIM(Universal Identity Module)カードと呼ばれるICカードが装着されている。今後このICカードの運用形態として、例えばクレジットアプリケーションを搭載し、携帯電話機を非接触ICカードとして使用したり、携帯電話機を使うすべてのユーザが、自分で使いたいアプリケーションをインターネットからダウンロードしてICカードに登録し利用したり、といった運用形態も考えられている。そうなるとますますカード内に登録されるアプリケーションが増えることとなり、アプリケーションの選択効率の向上が重要となる。   Furthermore, in recent years, as a mobile phone system, an IC card called a SIM (Subscriber Identity Module) card or a UIM (Universal Identity Module) card is also attached to a mobile phone. In the future, this IC card will be operated in the form of a credit application, for example, using a mobile phone as a non-contact IC card, or all users who use a mobile phone download the application they want to use from the Internet. An operation form such as registering with and using it is also considered. As the number of applications registered in the card increases, it is important to improve the efficiency of selecting applications.

この発明は以上の点に鑑みなされたもので、その目的は、アプリケーションの選択を指示するコマンドに対して効率的にアプリケーションを選択することのできる携帯可能電子装置及びICカードを提供することにある。   The present invention has been made in view of the above points, and an object thereof is to provide a portable electronic device and an IC card capable of efficiently selecting an application in response to a command for instructing the selection of the application. .

上記課題を解決するため、本発明の態様に係る携帯可能電子装置は、
外部装置と通信を行う通信部と、
複数のアプリケーションを記憶する第1記憶部と、
それぞれ前記複数のアプリケーションに付与された複数の識別子を記憶する第2記憶部と、
前記第2記憶部に記憶された複数の識別子の中、最後に選択されたアプリケーションに付与された識別子のアドレス情報を記憶する第3記憶部と、
制御部と、を備え、
前記制御部は、
前記通信部を介してアプリケーションの選択を指示するコマンドを受信した際、前記コマンドに含まれる識別子が前記第3記憶部の前記アドレス情報で示されるアドレスに存在しているのかどうか検索し、
前記識別子が前記アドレスに存在している場合、前記アドレスの識別子が指定するアプリケーションを選択することを特徴とする。
In order to solve the above-described problem, a portable electronic device according to an aspect of the present invention is provided.
A communication unit communicating with an external device;
A first storage unit for storing a plurality of applications;
A second storage unit for storing a plurality of identifiers respectively assigned to the plurality of applications;
A third storage unit that stores address information of an identifier assigned to the last selected application among the plurality of identifiers stored in the second storage unit;
A control unit,
The controller is
When receiving a command for instructing the selection of an application via the communication unit, search whether an identifier included in the command exists at the address indicated by the address information of the third storage unit,
When the identifier is present at the address, an application designated by the identifier of the address is selected.

また、本発明の他の態様に係る携帯可能電子装置は、
外部装置と通信を行う通信部と、
複数のアプリケーションを記憶する第1記憶部と、
それぞれ前記複数のアプリケーションに付与された複数の識別子を記憶する第2記憶部と、
前記複数のアプリケーションの選択回数と、前記選択回数の多い順番に沿って対応する前記複数の識別子を検索するよう設定可能な前記複数の識別子の検索順番と、を記憶する第3記憶部と、
制御部と、を備え、
前記制御部は、
前記通信部を介してアプリケーションの選択を指示するコマンドを受信した際、前記コマンドに含まれる識別子が前記第2記憶部に存在しているのかどうか前記第3記憶部に記憶された前記検索順番に沿って検索し、
前記識別子が前記第2記憶部に存在している場合、前記識別子が指定するアプリケーションを選択することを特徴とする。
A portable electronic device according to another aspect of the present invention is also provided.
A communication unit communicating with an external device;
A first storage unit for storing a plurality of applications;
A second storage unit for storing a plurality of identifiers respectively assigned to the plurality of applications;
A third storage unit that stores the number of times of selection of the plurality of applications, and the search order of the plurality of identifiers that can be set to search for the plurality of identifiers corresponding to the order in which the number of times of selection is large;
A control unit,
The controller is
When a command instructing application selection is received via the communication unit, whether or not an identifier included in the command exists in the second storage unit is stored in the search order stored in the third storage unit. Search along,
When the identifier is present in the second storage unit, an application designated by the identifier is selected.

また、本発明の他の態様に係るICカードは、
外部装置と通信を行う通信部と、複数のアプリケーションを記憶する第1記憶部と、それぞれ前記複数のアプリケーションに付与された複数の識別子を記憶する第2記憶部と、前記第2記憶部に記憶された複数の識別子の中、最後に選択されたアプリケーションに付与された識別子のアドレス情報を記憶する第3記憶部と、制御部と、を具備したICモジュールと、
前記ICモジュールを収納したICカード本体と、を備え、
前記制御部は、
前記通信部を介してアプリケーションの選択を指示するコマンドを受信した際、前記コマンドに含まれる識別子が前記第3記憶部の前記アドレス情報で示されるアドレスに存在しているのかどうか検索し、
前記識別子が前記アドレスに存在している場合、前記アドレスの識別子が指定するアプリケーションを選択することを特徴とする。
An IC card according to another aspect of the present invention is
A communication unit that communicates with an external device, a first storage unit that stores a plurality of applications, a second storage unit that stores a plurality of identifiers assigned to the plurality of applications, respectively, and a second storage unit An IC module including a third storage unit that stores address information of an identifier assigned to the last selected application among the plurality of identifiers, and a control unit;
An IC card main body containing the IC module,
The controller is
When receiving a command for instructing the selection of an application via the communication unit, search whether an identifier included in the command exists at the address indicated by the address information of the third storage unit,
When the identifier is present at the address, an application designated by the identifier of the address is selected.

また、本発明の他の態様に係るICカードは、
外部装置と通信を行う通信部と、複数のアプリケーションを記憶する第1記憶部と、それぞれ前記複数のアプリケーションに付与された複数の識別子を記憶する第2記憶部と、前記複数のアプリケーションの選択回数と、前記選択回数の多い順番に沿って対応する前記複数の識別子を検索するよう設定可能な前記複数の識別子の検索順番と、を記憶する第3記憶部と、制御部と、を具備したICモジュールと、
前記ICモジュールを収納したICカード本体と、を備え、
前記制御部は、
前記通信部を介してアプリケーションの選択を指示するコマンドを受信した際、前記コマンドに含まれる識別子が前記第2記憶部に存在しているのかどうか前記第3記憶部に記憶された前記検索順番に沿って検索し、
前記識別子が前記第2記憶部に存在している場合、前記識別子が指定するアプリケーションを選択することを特徴とする。
An IC card according to another aspect of the present invention is
A communication unit that communicates with an external device, a first storage unit that stores a plurality of applications, a second storage unit that stores a plurality of identifiers assigned to the plurality of applications, and the number of times the plurality of applications are selected A third storage unit that stores the search order of the plurality of identifiers that can be set to search for the plurality of identifiers that correspond to the plurality of identifiers that are selected in the order in which the number of selections is large, and a control unit. Module,
An IC card main body containing the IC module,
The controller is
When a command instructing application selection is received via the communication unit, whether or not an identifier included in the command exists in the second storage unit is stored in the search order stored in the third storage unit. Search along,
When the identifier is present in the second storage unit, an application designated by the identifier is selected.

この発明によれば、アプリケーションの選択を指示するコマンドに対して効率的にアプリケーションを選択することのできる携帯可能電子装置及びICカードを提供することができる。   According to the present invention, it is possible to provide a portable electronic device and an IC card that can efficiently select an application in response to a command instructing selection of the application.

本発明の実施の形態に係るICカードと、ICカードとの通信機能を有する外部装置としてのICカード処理装置と、を備えた通信システムを概略的に示す図である。1 is a diagram schematically showing a communication system including an IC card according to an embodiment of the present invention and an IC card processing device as an external device having a communication function with the IC card. 上記実施の形態に係るICカードと、ICカードが装着される携帯電話機と、携帯電話機を用いてICカードとの通信機能を有する外部装置としてのパーソナルコンピュータと、を備えた通信システムを概略的に示す図である。1 schematically shows a communication system including an IC card according to the above embodiment, a mobile phone to which the IC card is mounted, and a personal computer as an external device having a communication function with the IC card using the mobile phone. FIG. 上記ICカードの構成を概略的に示す図である。It is a figure which shows the structure of the said IC card roughly. 図3に示したデータメモリに格納されるファイルの構造例を示す図である。It is a figure which shows the example of a structure of the file stored in the data memory shown in FIG. コマンドフォーマット例を示す図である。It is a figure which shows the command format example. 図3に示したデータメモリ、特にAIDテーブルを示す概略図である。It is the schematic which shows the data memory shown in FIG. 3, especially an AID table. 図3に示したデータメモリ、特にAIDデータメモリを示す概略図である。FIG. 4 is a schematic diagram showing the data memory shown in FIG. 3, in particular an AID data memory. 上記実施の形態に係る実施例1のICカードの制御部が、AIDの検索、並びにアプリケーションの選択及び実行を行うための制御方法を説明するためのフローチャートである。It is a flowchart for demonstrating the control method for the control part of the IC card of Example 1 which concerns on the said embodiment to perform an AID search and application selection and execution. 図8に続く、上記実施例1のICカードの制御部が、AIDの検索、並びにアプリケーションの選択及び実行を行うための制御方法を説明するためのフローチャートである。FIG. 9 is a flowchart for explaining a control method for the IC card control unit according to the first embodiment to search for AID and to select and execute an application following FIG. 8. 上記実施の形態に係る実施例2のICカードの制御部が、AIDの検索、並びにアプリケーションの選択及び実行を行うための制御方法を説明するためのフローチャートである。It is a flowchart for demonstrating the control method for the control part of the IC card of Example 2 which concerns on the said embodiment to perform AID search and application selection and execution. 図12に続く、上記実施例2のICカードの制御部が、AIDの検索、並びにアプリケーションの選択及び実行を行うための制御方法を説明するためのフローチャートである。FIG. 13 is a flowchart for explaining a control method for the IC card control unit according to the second embodiment to search for AID and to select and execute an application, following FIG. 12. 本発明の他の実施の形態に係るICカードのデータメモリ、特に選択回数管理テーブルを示す概略図である。It is the schematic which shows the data memory of the IC card which concerns on other embodiment of this invention, especially the selection frequency management table. 上記他の実施の形態に係る実施例3のICカードの制御部が、AIDの検索、選択回数管理テーブルの選択回数及び検索順番の更新、並びにアプリケーションの選択及び実行を行うための制御方法を説明するためのフローチャートである。A control method for the control unit of the IC card of Example 3 according to the other embodiment described above to search for AID, update the selection count and search order of the selection count management table, and select and execute an application will be described. It is a flowchart for doing. 図13に続く、上記実施例3のICカードの制御部が、AIDの検索、選択回数管理テーブルの選択回数及び検索順番の更新、並びにアプリケーションの選択及び実行を行うための制御方法を説明するためのフローチャートである。FIG. 13 is a diagram illustrating a control method for the IC card control unit according to the third embodiment to search for AID, update the number of selections in the selection count management table and the search order, and select and execute an application. It is a flowchart of. 上記実施例3のICカードの制御部が図13のステップS3cの制御方法を説明するためのフローチャートである。It is a flowchart for the control part of the IC card of the said Example 3 to demonstrate the control method of FIG.13 S3c. 上記他の実施の形態に係る実施例4のICカードの制御部が、AIDの検索、選択回数管理テーブルの選択回数及び検索順番の更新、並びにアプリケーションの選択及び実行を行うための制御方法を説明するためのフローチャートである。A control method for the control unit of the IC card of Example 4 according to the other embodiment described above to search for AID, update the selection count and search order of the selection count management table, and select and execute an application will be described. It is a flowchart for doing. 図16に続く、上記実施例4のICカードの制御部が、AIDの検索、選択回数管理テーブルの選択回数及び検索順番の更新、並びにアプリケーションの選択及び実行を行うための制御方法を説明するためのフローチャートである。FIG. 16 is a diagram for explaining a control method for the IC card control unit according to the fourth embodiment to search for AID, update the number of selections in the selection count management table and the search order, and select and execute an application. It is a flowchart of.

以下、図面を参照しながらこの発明に係る携帯可能電子装置をICカードに適用した実施の形態について詳細に説明する。
ICカード2は、例えば、図1に示すように、外部装置としてのICカード処理装置1と直に通信していてもよく、図2に示すように、携帯電話機101に装着して外部装置としてのパーソナルコンピュータ107と通信していてもよい。
Hereinafter, embodiments in which a portable electronic device according to the present invention is applied to an IC card will be described in detail with reference to the drawings.
For example, as shown in FIG. 1, the IC card 2 may be in direct communication with the IC card processing device 1 as an external device. As shown in FIG. 2, the IC card 2 is attached to the mobile phone 101 as an external device. The personal computer 107 may be in communication.

ICカード処理装置1と直に通信する場合、図1に示すように、ICカード2及びICカード処理装置1は通信システムを形成している。ICカード処理装置1は、端末装置11、カードリーダライタ12、キーボード13、表示部としてのCRT(Cathode-Ray Tube)14、プリンタ15などを有している。端末装置11は、CPU、種々のメモリ及び各種インターフェースなどを有する装置により構成され、ICカード処理装置1全体の動作を制御するものである。端末装置11は、カードリーダライタ12によりICカード2へコマンドを送信する機能、ICカード2から受信したデータを基に種々の処理を行う機能などを有している。   When communicating directly with the IC card processing apparatus 1, as shown in FIG. 1, the IC card 2 and the IC card processing apparatus 1 form a communication system. The IC card processing apparatus 1 includes a terminal device 11, a card reader / writer 12, a keyboard 13, a CRT (Cathode-Ray Tube) 14 as a display unit, a printer 15, and the like. The terminal device 11 is constituted by a device having a CPU, various memories, various interfaces, and the like, and controls the operation of the entire IC card processing device 1. The terminal device 11 has a function of transmitting a command to the IC card 2 by the card reader / writer 12 and a function of performing various processes based on data received from the IC card 2.

例えば、端末装置11は、カードリーダライタ12を介してICカード2にデータの書き込みコマンドを送信することによりICカード2内の後述するデータメモリ22にデータを書き込む。また、端末装置11は、ICカード2に読み取りコマンドを送信することによりICカード2からデータを読み出す。   For example, the terminal device 11 writes data in a data memory 22 (to be described later) in the IC card 2 by transmitting a data write command to the IC card 2 via the card reader / writer 12. The terminal device 11 reads data from the IC card 2 by transmitting a read command to the IC card 2.

カードリーダライタ12は、ICカード2との通信を行うためのインターフェース装置である。カードリーダライタ12は、ICカード2の通信方式に応じたインターフェースにより構成される。例えば、ICカード2が接触型のICカードである場合、カードリーダライタ12は、ICカード2のコンタクト部と物理的かつ電気的に接続するための接触部などにより構成される。また、ICカード2が非接触型のICカードである場合、カードリーダライタ12は、ICカード2との無線通信を行うためのアンテナおよび通信制御などにより構成される。   The card reader / writer 12 is an interface device for communicating with the IC card 2. The card reader / writer 12 is configured by an interface corresponding to the communication method of the IC card 2. For example, when the IC card 2 is a contact type IC card, the card reader / writer 12 is configured by a contact portion for physically and electrically connecting with a contact portion of the IC card 2. When the IC card 2 is a non-contact type IC card, the card reader / writer 12 includes an antenna for performing wireless communication with the IC card 2 and communication control.

カードリーダライタ12では、ICカード2に対する電源供給、クロック供給、リセット制御、データの送受信が行われるようになっている。このような機能によってカードリーダライタ12は、端末装置11による制御に基づいてICカード2の活性化(起動)、種々のコマンドの送信、及び送信したコマンドに対する応答の受信などを行なう。   The card reader / writer 12 performs power supply, clock supply, reset control, and data transmission / reception with respect to the IC card 2. With such a function, the card reader / writer 12 performs activation (activation) of the IC card 2, transmission of various commands, reception of responses to the transmitted commands, and the like based on control by the terminal device 11.

キーボード13は、ICカード処理装置1の操作員が操作する操作部として機能し、操作員により種々の操作指示やデータなどが入力される。CRT14は、端末装置11の制御により種々の情報を表示する。プリンタ15は、処理結果などの各種データを印刷出力する。   The keyboard 13 functions as an operation unit operated by an operator of the IC card processing apparatus 1, and various operation instructions and data are input by the operator. The CRT 14 displays various information under the control of the terminal device 11. The printer 15 prints out various data such as processing results.

一方、携帯電話機101にICカード2装着して外部装置としてのパーソナルコンピュータ107と通信する場合、図2に示すように、ICカード2、携帯電話機101及びパーソナルコンピュータ107は、通信システムを形成している。   On the other hand, when the IC card 2 is attached to the mobile phone 101 to communicate with the personal computer 107 as an external device, the IC card 2, the mobile phone 101, and the personal computer 107 form a communication system as shown in FIG. Yes.

携帯端末機器としての携帯電話機101は、無線通信事業者の通信システム102により提供されている通信サービス(音声通話、データ通信などの無線通信)を受ける機能を有している。事業者が提供する通信サービスは、事業者用のICカード2を装着した携帯電話機101と事業者の通信システム102とが無線通信を行うことにより提供される。すなわち、各携帯電話機101は、各ユーザが契約している事業者用のICカード2を装着した状態で携帯電話機としての音声通話あるいはデータ通信などの無線通信が利用可能となる。   A mobile phone 101 as a mobile terminal device has a function of receiving a communication service (wireless communication such as voice call and data communication) provided by a communication system 102 of a wireless communication carrier. The communication service provided by the operator is provided by wireless communication between the mobile phone 101 on which the IC card 2 for the operator is mounted and the communication system 102 of the operator. That is, each mobile phone 101 can use a wireless communication such as a voice call or data communication as a mobile phone with the IC card 2 for a business operator contracted by each user attached.

携帯電話機101は、制御ユニット103、近距離通信部104、近距離通信用のアンテナ105などを有している。また、携帯電話機101には、ICカード2が着脱可能なインターフェースを有している。このように、携帯電話機101は、ICカード2が装着された状態で携帯電話機としての各種の機能が有効となる。制御ユニット103は、携帯電話機101の制御を司る。   The mobile phone 101 includes a control unit 103, a near field communication unit 104, an antenna 105 for near field communication, and the like. The mobile phone 101 has an interface to which the IC card 2 can be attached and detached. As described above, the cellular phone 101 has various functions as a cellular phone in a state where the IC card 2 is mounted. The control unit 103 controls the mobile phone 101.

近距離通信部104及びアンテナ105は、非接触ICカードとしての通信機能を実現するためのユニットである。近距離通信部104及びアンテナ105は、非接触ICカードとしての通信機能により、カードリーダライタ106を介してパーソナルコンピュータ107との近距離無線通信が可能となっている。   The short-range communication unit 104 and the antenna 105 are units for realizing a communication function as a non-contact IC card. The short-range communication unit 104 and the antenna 105 can perform short-range wireless communication with the personal computer 107 via the card reader / writer 106 by a communication function as a non-contact IC card.

次に、ICカード2の構成について説明する。
図3に示すように、ICカード2は、ICカード本体3と、ICモジュール4とを有している。ICカード本体3はICモジュール4を収納している。ICモジュール4は、1つまたは複数のICチップ5と通信部25とが接続された状態で一体的に形成され、ICカード本体3内に埋設されている。また、ICモジュール4は、制御部21、データメモリ22、ワーキングメモリ23、プログラムメモリ24及び通信部25などを備えている。上記のデータメモリ22、ワーキングメモリ23及びプログラムメモリ24には、アドレスが設定されている。
Next, the configuration of the IC card 2 will be described.
As shown in FIG. 3, the IC card 2 includes an IC card main body 3 and an IC module 4. The IC card main body 3 accommodates an IC module 4. The IC module 4 is integrally formed in a state where one or a plurality of IC chips 5 and the communication unit 25 are connected, and is embedded in the IC card body 3. The IC module 4 includes a control unit 21, a data memory 22, a working memory 23, a program memory 24, a communication unit 25, and the like. Addresses are set in the data memory 22, the working memory 23, and the program memory 24.

制御部21は、ICカード2全体の制御を司るものである。制御部21は、データメモリ22或いはプログラムメモリ24に記憶されている制御プログラムや制御データに基づいて動作することにより、種々の処理手段として機能する。   The control unit 21 controls the entire IC card 2. The control unit 21 functions as various processing means by operating based on the control program and control data stored in the data memory 22 or the program memory 24.

例えば、制御部21は、オペレーティングシステムのプログラムを実行することにより、ICカード2の基本的な動作制御を行う。また、制御部21は、ICカード2の利用目的に応じたアプリケーションプログラムを実行することにより、ICカード2の運用形態に応じた種々の動作制御を行う。   For example, the control unit 21 performs basic operation control of the IC card 2 by executing an operating system program. Further, the control unit 21 performs various operation controls according to the operation mode of the IC card 2 by executing an application program corresponding to the purpose of use of the IC card 2.

データメモリ22は、EEPROM(Electrically Erasable Programmable Read-Only Memory)、フラッシュROMなどの、データの書き込み及び書換えが可能な不揮発性メモリで形成される。データメモリ22には、ICカード2の運用用途に応じて制御プログラムあるいは種々のデータが書込まれ、記憶される。例えば、データメモリ22では、プログラムファイルやデータファイルなどが定義され、それらのファイルに制御プログラムや種々のデータが記憶される。   The data memory 22 is formed of a nonvolatile memory capable of writing and rewriting data, such as an EEPROM (Electrically Erasable Programmable Read-Only Memory) and a flash ROM. In the data memory 22, a control program or various data is written and stored in accordance with the operation application of the IC card 2. For example, in the data memory 22, program files and data files are defined, and control programs and various data are stored in these files.

データメモリ22は、複数のアプリケーションを記憶する第1記憶部として機能している。データメモリ22は、第2記憶部として、AIDテーブル22a又はAIDデータメモリ22bを有している。AIDテーブル22a及びAIDデータメモリ22bは、複数のアプリケーションに付与された複数の識別子を記憶する。   The data memory 22 functions as a first storage unit that stores a plurality of applications. The data memory 22 includes an AID table 22a or an AID data memory 22b as a second storage unit. The AID table 22a and the AID data memory 22b store a plurality of identifiers assigned to a plurality of applications.

この実施の形態において、データメモリ22は、第3記憶部としてのAIDアドレスメモリ22cを有している。AIDアドレスメモリ22cは、AIDテーブル22a又はAIDデータメモリ22bに記憶された複数の識別子の中、最後に選択されたアプリケーションに付与された識別子のアドレス情報を記憶する。   In this embodiment, the data memory 22 has an AID address memory 22c as a third storage unit. The AID address memory 22c stores the address information of the identifier assigned to the application selected last among the plurality of identifiers stored in the AID table 22a or the AID data memory 22b.

なお、後述するが、データメモリ22は、AIDアドレスメモリ22cの替わりに、他の第3記憶部としての選択回数管理テーブル22dを有していてもよい。選択回数管理テーブル22dは、複数のアプリケーションの選択回数と、上記選択回数の多い順番に沿って対応する複数の識別子を検索するよう設定可能な複数の識別子の検索順番と、を記憶する。   As will be described later, the data memory 22 may have a selection count management table 22d as another third storage unit instead of the AID address memory 22c. The selection count management table 22d stores a selection count of a plurality of applications and a search order of a plurality of identifiers that can be set to search for a plurality of corresponding identifiers in the order in which the selection count is large.

ワーキングメモリ23は、RAM(Random Access Memory)などの揮発性メモリで形成されている。また、ワーキングメモリ23は、制御部21が処理中のデータなどを一時保管するバッファとしても機能する。   The working memory 23 is formed of a volatile memory such as a RAM (Random Access Memory). The working memory 23 also functions as a buffer for temporarily storing data being processed by the control unit 21.

プログラムメモリ24は、予め制御用のプログラムや制御データなどが記憶されているマスクROM(Read-Only Memory)などの不揮発性のメモリである。プログラムメモリ24には、製造段階で制御プログラムあるいは制御データなどが記憶された状態でICカード2内に組み込まれる。つまり、プログラムメモリ24に記憶されている制御プログラムや制御データは、ICカードの基本的な動作を司り、予めICカード2の仕様に応じて組み込まれる。   The program memory 24 is a non-volatile memory such as a mask ROM (Read-Only Memory) in which a control program and control data are stored in advance. The program memory 24 is incorporated in the IC card 2 in a state where a control program or control data is stored in the manufacturing stage. That is, the control program and control data stored in the program memory 24 govern the basic operation of the IC card, and are incorporated in advance according to the specifications of the IC card 2.

次に、ICカード2に複数のアプリケーションが登録されている場合の、データメモリ22のファイル構造の概念について説明する。なお、ICカード2に登録されているアプリケーションとしては、例えば、クレジット、ポイントシステム、IDカードなどが挙げられる。   Next, the concept of the file structure of the data memory 22 when a plurality of applications are registered in the IC card 2 will be described. Examples of applications registered in the IC card 2 include a credit, a point system, and an ID card.

図3及び図4に示すように、データメモリ22には、複数のアプリケーションに関する情報がファイル構造で記憶されている。このファイル構造は、ISO/IEC7816−4の規格に基づき、色々なフォルダの種類を持ったディレクトリのツリー構造になっており、複数のアプリケーションが登録可能である。   As shown in FIGS. 3 and 4, the data memory 22 stores information related to a plurality of applications in a file structure. This file structure is based on the ISO / IEC 7816-4 standard and has a tree structure of directories having various types of folders, and a plurality of applications can be registered.

最上位がMF(Master File)30で、その配下にDF(Dedicated File)として、アプリケーションごとに設定されるAPL32、33、34、35、36が設けられ、さらに、それらの配下に実際にアプリケーションで使われるユーザデータの格納に使用されるEF(Elementary File)37、38、39が設けられている構成になっている。   The highest level is MF (Master File) 30, and ADFs 32, 33, 34, 35, and 36 set for each application are provided as DF (Dedicated File) under it. EFs (Elementary Files) 37, 38, and 39 used for storing user data to be used are provided.

また、MF30の配下には、アクセス権を確立するためのキーの格納に使用されるキーEF31が設けられている。なお、APLは搭載しているアプリケーションに相当する数だけ設けられる。   Also, under the MF 30, a key EF31 used for storing a key for establishing an access right is provided. Note that as many APLs as the number of installed applications are provided.

例えば、APL1 32には、クレジットA社向けアプリケーション用ファイルとして「クレジットA社」と設定され、その配下には、クレジットA社向けアプリケーションで使用されるEF(EF1−1)37、EF(EF1−2)38という2つのファイルが存在する。   For example, APL1 32 is set to “Credit Company A” as an application file for Credit Company A, and subordinates thereof are EF (EF1-1) 37 and EF (EF1-) used in the application for Credit Company A. 2) There are two files 38.

APL2 33には、例えば、ポイントX社系向けアプリケーション用ファイルとして「ポイントX社系」と設定され、その配下には、ポイントX社系向けアプリケーションで使用されるEF(EF2−1)39が存在する。   In APL2 33, for example, “Point X company” is set as an application file for Point X company, and there is an EF (EF2-1) 39 used in the application for Point X company. To do.

本ICカード2が、携帯電話機101に装着されるICカードの場合(図2)、APL3 34には、例えば、携帯電話通信業者M社が提供する携帯電話通信システム向け(以後、モバイル系とも称す)アプリケーション用ファイルとして「モバイルM社」と設定される。APL4 35、APL5 36についても、例えば携帯電話通信業者M社が提供する様々なアプリケーション用ファイルが設定されている。   In the case where the IC card 2 is an IC card mounted on the mobile phone 101 (FIG. 2), the APL 334 includes, for example, a mobile phone communication system provided by a mobile phone communication company M (hereinafter also referred to as a mobile system). ) “Mobile M Company” is set as the application file. For APL4 35 and APL5 36, for example, various application files provided by the mobile phone carrier M are set.

各アプリケーションAPLには、AIDといった識別子が付与されている。APL1にはAID1が付与され、APL2にはAID2が付与され、APL3にはAID3が付与され、APL4にはAID4が付与され、APL5にはAID5が付与されている。   Each application APL is given an identifier such as AID. APL1 is assigned AID1, APL2 is assigned AID2, APL3 is assigned AID3, APL4 is assigned AID4, and APL5 is assigned AID5.

次に、上記ファイルにアクセスするためのコマンドについて説明する。
ICカード2は、外部装置から与えられるコマンドに応じて動作する。従って、ICカード2は、外部装置からのコマンドに応じて特定のファイルに対するアクセス(読出し、書込み、更新、削除など)を行う。上記のコマンドは、所定のフォーマットで構成される。例えば、ICカード2に与えられるコマンドは、コマンドの種類、アクセス対象のファイルなどを示す情報が所定のファーマットで格納されるようになっている。
Next, a command for accessing the file will be described.
The IC card 2 operates according to a command given from an external device. Therefore, the IC card 2 accesses (reads, writes, updates, deletes, etc.) a specific file in response to a command from the external device. The above commands are configured in a predetermined format. For example, the command given to the IC card 2 stores information indicating the type of command, the file to be accessed, etc. in a predetermined format.

図5は、コマンドフォーマットの例を示す図である。
図5に示す例では、コマンドは、CLA(クラスバイト)51、INS(インストラクションバイト)52、P1(パラメータバイト)53、P2(パラメータバイト)54、Lc(Lcフィールド)55、Data(コマンドデータフィールド)56、Le(Leフィールド)57などの情報から構成されている。
FIG. 5 is a diagram illustrating an example of a command format.
In the example shown in FIG. 5, the commands are CLA (class byte) 51, INS (instruction byte) 52, P1 (parameter byte) 53, P2 (parameter byte) 54, Lc (Lc field) 55, Data (command data field). ) 56, Le (Le field) 57, and the like.

CLA51及びINS52には、コマンドの種類を示す情報が格納される。P1 53及びP2 54には、コマンドの処理パラメータを示す情報が格納される。P1 53には、データのアクセス対象とすべきファイル(EF)を指定する情報が格納される。P2 54には、例えば、P1 53で指定されるEFにおけるデータのアクセス開始位置(アドレス)を示す情報としてのオフセット値などが格納される。また、Lc55には、たとえば、「Data」部の長さを示す情報あるいは書込むべきデータ全体の長さを示す情報が格納される。Data56には、書込みデータなどが格納される。   Information indicating the type of command is stored in the CLA 51 and the INS 52. Information indicating processing parameters of the command is stored in P1 53 and P2 54. P1 53 stores information specifying a file (EF) to be accessed. P2 54 stores, for example, an offset value as information indicating an access start position (address) of data in the EF specified by P1 53. Further, in Lc55, for example, information indicating the length of the “Data” portion or information indicating the length of the entire data to be written is stored. Data 56 stores write data and the like.

図3乃至図5に示すように、ICカード2が外部装置からアプリケーション選択の命令を受信した場合、例えばISO7816−4の規格に示されるSELECTコマンドに従ったコマンドフォーマットが受信される。コマンドを受信すると、制御部21は、コマンドフォーマットが正しいと判断した場合、コマンドデータフィールドで指定されるAIDがICカード2に存在しているのかどうか検索し、存在している場合、対応するアプリケーションを選択及び実行する。AIDの検索、アプリケーションの選択及び実行の詳細は後述する。   As shown in FIGS. 3 to 5, when the IC card 2 receives an application selection command from an external device, for example, a command format according to the SELECT command shown in the ISO 7816-4 standard is received. When the command is received, the control unit 21 searches whether the AID specified in the command data field exists in the IC card 2 when determining that the command format is correct. Select and execute. Details of AID search, application selection, and execution will be described later.

図3、図4及び図6に示すように、データメモリ22がAIDテーブル22aを有している場合、各アプリケーションに付与されるAIDは、AIDテーブル22aに格納され、テーブル情報で管理されている。AIDテーブル22a自体がAIDの検索順番を規定している。このため、制御部21は、AIDテーブル22aの行に基づいてAIDを検索することができる。   As shown in FIGS. 3, 4 and 6, when the data memory 22 has an AID table 22a, the AID given to each application is stored in the AID table 22a and managed by table information. . The AID table 22a itself defines the search order of AID. For this reason, the control part 21 can search AID based on the line of the AID table 22a.

図3、図4及び図7に示すように、データメモリ22がAIDデータメモリ22bを有している場合、各アプリケーションに付与されるAIDは、AIDデータメモリ22b内にばらばらに記憶されている。このため、AIDを管理するため、ここでは、各AIDにリンク先のAIDを示すポインタP1、P2、P3、P4、P5を付随させている。データメモリ22に記憶された複数のアプリケーション及びAIDデータメモリ22bに記憶された複数のAIDは、リンクしている。ポインタP1、P2、P3、P4、P5がAIDの検索順番を規定している。このため、制御部21は、ポインタの示すAIDを順に検索することができる。
この実施の形態のICカード2は上記のように形成されている。
As shown in FIGS. 3, 4, and 7, when the data memory 22 includes the AID data memory 22b, the AIDs assigned to the respective applications are stored in the AID data memory 22b. For this reason, in order to manage AID, here, pointers P1, P2, P3, P4, and P5 indicating the link destination AID are attached to each AID. A plurality of applications stored in the data memory 22 and a plurality of AIDs stored in the AID data memory 22b are linked. Pointers P1, P2, P3, P4, and P5 define the search order of AIDs. For this reason, the control part 21 can search AID which a pointer shows sequentially.
The IC card 2 of this embodiment is formed as described above.

ここで、この実施の形態の制御部21は、通信部25を介してアプリケーションの選択を指示するコマンドを受信した際、コマンドに含まれるAIDがAIDアドレスメモリ22cのアドレス情報で示されるアドレスに存在しているのかどうか検索し、AIDが上記アドレスに存在している場合、上記アドレスのAIDが指定するアプリケーションを選択及び実行する。   Here, when the control unit 21 of this embodiment receives a command for instructing application selection via the communication unit 25, the AID included in the command exists at the address indicated by the address information in the AID address memory 22c. If the AID exists at the address, the application designated by the AID at the address is selected and executed.

次に、通信部25を介してアプリケーションの選択を指示するコマンドを受信した際、AIDの検索、並びにアプリケーションの選択及び実行を行うための制御部21の制御の例として、実施例1及び実施例2のICカードの制御部21の処理について説明する。   Next, as an example of control of the control unit 21 for searching for an AID and selecting and executing an application when a command instructing the selection of the application is received via the communication unit 25, Example 1 and Example The processing of the control unit 21 of the second IC card will be described.

始めに、実施例1のICカードの制御部21の処理について説明する。実施例1において、外部装置はICカード処理装置1であり、データメモリ22は、AIDテーブル22a及びAIDアドレスメモリ22cを有している。   First, the processing of the control unit 21 of the IC card according to the first embodiment will be described. In the first embodiment, the external device is the IC card processing device 1, and the data memory 22 includes an AID table 22a and an AID address memory 22c.

(実施例1)
図1、図3、図6及び図8に示すように、制御部21が、通信部25を介してアプリケーションの選択を指示するコマンド(SELECTコマンド)をICカード処理装置1から受信し、AIDの検索、並びにアプリケーションの選択及び実行を行うための制御部21の制御がスタートすると、まず、ステップS1aにおいて、制御部21は、AIDテーブル22a内において、検索ポインタを、AIDアドレスメモリ22cに記憶されたアドレス情報で示されるアドレスのAIDに設定する。ここで、AIDアドレスメモリ22cには、AIDテーブル22aに記憶された複数のAIDの中、最後に選択されたアプリケーションに付与されたAIDのアドレス情報が記憶されている。このため、制御部21は、検索ポインタを、最後(最近)に選択されたアプリケーションに付与されるAIDに設定することができる。
Example 1
As shown in FIGS. 1, 3, 6, and 8, the control unit 21 receives a command (SELECT command) for instructing application selection via the communication unit 25 from the IC card processing apparatus 1, and When the control of the control unit 21 for searching and selecting and executing an application starts, first, in step S1a, the control unit 21 stores the search pointer in the AID address memory 22c in the AID table 22a. Set to the AID of the address indicated by the address information. Here, the AID address memory 22c stores the address information of the AID assigned to the application selected last among the plurality of AIDs stored in the AID table 22a. For this reason, the control part 21 can set a search pointer to AID provided to the application selected last (recently).

続いて、ステップS2aにおいて、制御部21は、コマンドに含まれるAIDが、検索ポインタが設定されているAIDと一致しているのかどうか判断する。AIDが一致している場合(ステップS2a)、ステップS3aに移行し、ステップS3aにおいて、制御部21は、検索ポインタが設定されているAIDのアドレスを示すアドレス情報をAIDアドレスメモリ22cに記憶し、すなわち、制御部21は、AIDアドレスメモリ22cのアドレス情報を更新する。   Subsequently, in step S2a, the control unit 21 determines whether or not the AID included in the command matches the AID for which the search pointer is set. When the AIDs match (step S2a), the process proceeds to step S3a. In step S3a, the control unit 21 stores address information indicating the address of the AID for which the search pointer is set in the AID address memory 22c. That is, the control unit 21 updates the address information in the AID address memory 22c.

次いで、ステップS4aにおいて、制御部21は、検索ポインタが設定されているAIDが指定するアプリケーションを選択及び実行し、AIDの検索、並びにアプリケーションの選択及び実行を行うための制御部21の制御を終了する。   Next, in step S4a, the control unit 21 selects and executes the application specified by the AID for which the search pointer is set, and ends the control of the control unit 21 for searching for the AID and selecting and executing the application. To do.

ステップS2aにおいて、AIDが一致していない場合、図1、図3、図6及び図9に示すように、ステップS5aに移行し、ステップS5aにおいて、制御部21は、検索ポインタがAIDテーブル22aの最後のAIDに設定されているのかどうか判断する。   If the AIDs do not match in step S2a, the process proceeds to step S5a as shown in FIGS. 1, 3, 6, and 9, and in step S5a, the control unit 21 sets the search pointer in the AID table 22a. It is determined whether the last AID is set.

検索ポインタがAIDテーブル22aの最後のAIDに設定されていない場合(ステップS5a)、ステップS6aに移行し、ステップS6aにおいて、制御部21は、検索ポインタを、検索ポインタが設定されているAIDの次の行のAIDに設定し、すなわち検索ポインタを1つ分進め、ステップS8aに移行する。   When the search pointer is not set to the last AID of the AID table 22a (step S5a), the process proceeds to step S6a. In step S6a, the control unit 21 sets the search pointer next to the AID for which the search pointer is set. In other words, the search pointer is advanced by one, and the process proceeds to step S8a.

検索ポインタがAIDテーブル22aの最後のAIDに設定されている場合(ステップS5a)、ステップS7aに移行し、ステップS7aにおいて、制御部21は、検索ポインタをAIDテーブル22aの先頭のAIDに設定し、ステップS8aに移行する。   When the search pointer is set to the last AID of the AID table 22a (step S5a), the process proceeds to step S7a. In step S7a, the control unit 21 sets the search pointer to the first AID of the AID table 22a. The process proceeds to step S8a.

次いで、ステップS8aにおいて、制御部21は、検索ポインタがAIDアドレスメモリ22cに記憶されたアドレスと一緒であるのかどうか判断する。すなわち、制御部21は、上記コマンドを受信してから最初に検索ポインタが設定されたAIDに再び検索ポインタが設定されているのかどうか判断する。   Next, in step S8a, the control unit 21 determines whether or not the search pointer is the same as the address stored in the AID address memory 22c. That is, the control unit 21 determines whether or not the search pointer is set again to the AID in which the search pointer is set for the first time after receiving the command.

検索ポインタがAIDアドレスメモリ22cに記憶されたアドレスと一緒でない場合(ステップS8a)、ステップS2aに移行する。検索ポインタがAIDアドレスメモリ22cに記憶されたアドレスと一緒である場合(ステップS8a)、ステップS9aに移行し、ステップS9aにおいて、制御部21は、「アプリケーションの選択候補無し」を意味するステータスワードをICカード処理装置1に送信し、AIDの検索を終了する。   If the search pointer is not the same as the address stored in the AID address memory 22c (step S8a), the process proceeds to step S2a. When the search pointer is the same as the address stored in the AID address memory 22c (step S8a), the process proceeds to step S9a. In step S9a, the control unit 21 displays a status word indicating “no application selection candidate”. The data is transmitted to the IC card processing apparatus 1, and the AID search is terminated.

上記のように、コマンドに含まれるAIDが、検索ポインタが設定されているAIDと一致している場合(ステップS2a)、制御部21は、検索ポインタが設定されているAIDのアドレスを示すアドレス情報をAIDアドレスメモリ22cに記憶する(ステップS3a)。   As described above, when the AID included in the command matches the AID for which the search pointer is set (step S2a), the control unit 21 indicates the address information indicating the address of the AID for which the search pointer is set. Is stored in the AID address memory 22c (step S3a).

これにより、制御部21は、次回アプリケーションの選択を指示するコマンドを受信した際、検索ポインタを、AIDアドレスメモリ22cに記憶したアドレス情報で示されるアドレスのAIDに最初に設定することができる。このため、最後(最近)に選択され、一般的に繰り返し利用される確率が高いアプリケーションの選択効率の向上を図ることができる。   Thus, when the control unit 21 receives a command for instructing the selection of an application next time, the control unit 21 can first set the search pointer to the AID of the address indicated by the address information stored in the AID address memory 22c. Therefore, it is possible to improve the selection efficiency of an application that is selected last (recently) and generally has a high probability of being repeatedly used.

次に、実施例2のICカードの制御部21の処理について説明する。実施例2において、外部装置はICカード処理装置1であり、データメモリ22は、AIDデータメモリ22b及びAIDアドレスメモリ22cを有している。   Next, processing of the control unit 21 of the IC card according to the second embodiment will be described. In the second embodiment, the external device is the IC card processing device 1, and the data memory 22 includes an AID data memory 22b and an AID address memory 22c.

(実施例2)
図1、図3、図7及び図10に示すように、制御部21が、通信部25を介してアプリケーションの選択を指示するコマンド(SELECTコマンド)をICカード処理装置1から受信し、AIDの検索、並びにアプリケーションの選択及び実行を行うための制御部21の制御がスタートすると、まず、ステップS1bにおいて、制御部21は、AIDデータメモリ22b内において、検索ポインタを、AIDアドレスメモリ22cに記憶されたアドレス情報で示されるアドレスのAIDに設定する。ここで、AIDアドレスメモリ22cには、AIDテーブル22aに記憶された複数のAIDの中、最後に選択されたアプリケーションに付与されたAIDのアドレス情報が記憶されている。このため、制御部21は、検索ポインタを、最後(最近)に選択されたアプリケーションに付与されるAIDに設定することができる。
(Example 2)
As shown in FIGS. 1, 3, 7, and 10, the control unit 21 receives a command (SELECT command) for instructing application selection via the communication unit 25 from the IC card processing apparatus 1, and When the control of the control unit 21 for searching and selecting and executing an application starts, first, in step S1b, the control unit 21 stores a search pointer in the AID address memory 22c in the AID data memory 22b. Set to the AID of the address indicated by the address information. Here, the AID address memory 22c stores the address information of the AID assigned to the application selected last among the plurality of AIDs stored in the AID table 22a. For this reason, the control part 21 can set a search pointer to AID provided to the application selected last (recently).

続いて、ステップS2bにおいて、制御部21は、コマンドに含まれるAIDが、検索ポインタが設定されているAIDと一致しているのかどうか判断する。AIDが一致している場合(ステップS2b)、ステップS3bに移行し、ステップS3bにおいて、制御部21は、検索ポインタが設定されているAIDのアドレスを示すアドレス情報をAIDアドレスメモリ22cに記憶し、すなわち、制御部21は、AIDアドレスメモリ22cのアドレス情報を更新する。   Subsequently, in step S2b, the control unit 21 determines whether or not the AID included in the command matches the AID for which the search pointer is set. When the AIDs match (step S2b), the process proceeds to step S3b. In step S3b, the control unit 21 stores address information indicating the address of the AID for which the search pointer is set in the AID address memory 22c. That is, the control unit 21 updates the address information in the AID address memory 22c.

次いで、ステップS4bにおいて、制御部21は、検索ポインタが設定されているAIDが指定するアプリケーションを選択及び実行し、AIDの検索、並びにアプリケーションの選択及び実行を行うための制御部21の制御を終了する。   Next, in step S4b, the control unit 21 selects and executes the application designated by the AID for which the search pointer is set, and ends the control of the control unit 21 for searching for the AID and selecting and executing the application. To do.

ステップS2bにおいて、AIDが一致していない場合、図1、図3、図7及び図11に示すように、ステップS5bに移行し、ステップS5bにおいて、制御部21は、検索ポインタが設定されているAIDのリンク先のAIDがあるのかどうか判断する。   If the AIDs do not match in step S2b, the process proceeds to step S5b as shown in FIGS. 1, 3, 7, and 11, and in step S5b, the control unit 21 has a search pointer set. It is determined whether there is an AID linked to the AID.

リンク先のAIDがある場合(ステップS5b)、ステップS6bに移行し、ステップS6bにおいて、制御部21は、AIDデータメモリ22b内において、検索ポインタを、検索ポインタが設定されているAIDのリンク先のAIDに設定し、すなわち検索ポインタを1つ分進め、ステップS8bに移行する。   If there is a link destination AID (step S5b), the process proceeds to step S6b. In step S6b, the control unit 21 sets the search pointer in the AID data memory 22b to the link destination of the AID for which the search pointer is set. Set to AID, that is, advance the search pointer by one, and proceed to step S8b.

リンク先のAIDがない場合(ステップS5b)、ステップS7bに移行し、ステップS7bにおいて、制御部21は、AIDデータメモリ22b内において、検索ポインタを、最初のリンク元のAID(AIDデータメモリ上で先頭に登録されているAID)に設定し、ステップS8bに移行する。   When there is no link destination AID (step S5b), the process proceeds to step S7b. In step S7b, the control unit 21 sets the search pointer in the AID data memory 22b to the first link source AID (on the AID data memory). AID registered at the top) and the process proceeds to step S8b.

次いで、ステップS8bにおいて、制御部21は、検索ポインタがAIDアドレスメモリ22cに記憶されたアドレスと一緒であるのかどうか判断する。すなわち、制御部21は、上記コマンドを受信してから最初に検索ポインタが設定されたAIDに再び検索ポインタが設定されているのかどうか判断する。   Next, in step S8b, the control unit 21 determines whether or not the search pointer is the same as the address stored in the AID address memory 22c. That is, the control unit 21 determines whether or not the search pointer is set again to the AID in which the search pointer is set for the first time after receiving the command.

検索ポインタがAIDアドレスメモリ22cに記憶されたアドレスと一緒でない場合(ステップS8b)、ステップS2bに移行する。検索ポインタがAIDアドレスメモリ22cに記憶されたアドレスと一緒である場合(ステップS8b)、ステップS9bに移行し、ステップS9bにおいて、制御部21は、「アプリケーションの選択候補無し」を意味するステータスワードをICカード処理装置1に送信し、AIDの検索を終了する。   If the search pointer is not the same as the address stored in the AID address memory 22c (step S8b), the process proceeds to step S2b. When the search pointer is the same as the address stored in the AID address memory 22c (step S8b), the process proceeds to step S9b. In step S9b, the control unit 21 displays a status word meaning “no application selection candidate”. The data is transmitted to the IC card processing apparatus 1, and the AID search is terminated.

上記のように、コマンドに含まれるAIDが、検索ポインタが設定されているAIDと一致している場合(ステップS2b)、制御部21は、検索ポインタが設定されているAIDのアドレスを示すアドレス情報をAIDアドレスメモリ22cに記憶する(ステップS3b)。   As described above, when the AID included in the command matches the AID for which the search pointer is set (step S2b), the control unit 21 sets address information indicating the address of the AID for which the search pointer is set. Is stored in the AID address memory 22c (step S3b).

これにより、制御部21は、次回アプリケーションの選択を指示するコマンドを受信した際、検索ポインタを、AIDアドレスメモリ22cに記憶したアドレス情報で示されるアドレスのAIDに最初に設定することができる。このため、最後(最近)に選択され、一般的に繰り返し利用される確率が高いアプリケーションの選択効率の向上を図ることができる。   Thus, when the control unit 21 receives a command for instructing the selection of an application next time, the control unit 21 can first set the search pointer to the AID of the address indicated by the address information stored in the AID address memory 22c. Therefore, it is possible to improve the selection efficiency of an application that is selected last (recently) and generally has a high probability of being repeatedly used.

上記のように構成された実施の形態に係るICカード2によれば、ICカード2は、ICモジュール4と、ICモジュール4を収納したICカード本体3とを備えている。ICモジュール4は、ICカード処理装置1、パーソナルコンピュータ107などの外部装置と通信を行う通信部25と、複数のアプリケーションを記憶するデータメモリ22と、それぞれ複数のアプリケーションに付与された複数のAIDと、複数のAIDの検索順番と、を記憶するAIDテーブル22a又はAIDデータメモリ22bと、AIDテーブル22a又はAIDデータメモリ22bに記憶された複数のAIDの中、最後に選択されたアプリケーションに付与されたAIDのアドレス情報を記憶するAIDアドレスメモリ22cと、制御部21と、を備えている。   According to the IC card 2 according to the embodiment configured as described above, the IC card 2 includes the IC module 4 and the IC card main body 3 in which the IC module 4 is housed. The IC module 4 includes a communication unit 25 that communicates with external devices such as the IC card processing device 1 and the personal computer 107, a data memory 22 that stores a plurality of applications, and a plurality of AIDs assigned to the plurality of applications. AID table 22a or AID data memory 22b for storing the search order of a plurality of AIDs, and a plurality of AIDs stored in the AID table 22a or AID data memory 22b are assigned to the last selected application An AID address memory 22c for storing AID address information and a control unit 21 are provided.

制御部21は、通信部25を介してアプリケーションの選択を指示するコマンドを受信した際、コマンドに含まれるAIDがAIDアドレスメモリ22cのアドレス情報で示されるアドレスに存在しているのかどうか検索し、AIDが上記アドレスに存在している場合、上記アドレスのAIDが指定するアプリケーションを選択及び実行する。このため、最後(最近)に選択され、一般的に繰り返し利用される確率が高いアプリケーションの選択効率の向上を図ることができる。   When the control unit 21 receives a command instructing application selection via the communication unit 25, the control unit 21 searches whether the AID included in the command exists at the address indicated by the address information in the AID address memory 22c. If the AID is present at the address, the application specified by the AID at the address is selected and executed. Therefore, it is possible to improve the selection efficiency of an application that is selected last (recently) and generally has a high probability of being repeatedly used.

制御部21は、上記コマンドに含まれるAIDが上記アドレスに存在していない場合、上記AIDがAIDテーブル22a又はAIDデータメモリ22bに存在しているのかどうか検索順番に沿って検索する。そして、制御部21は、上記AIDがAIDテーブル22a又はAIDデータメモリ22bに存在している場合、上記AIDのアドレス情報をAIDアドレスメモリ22cに記憶し、AIDアドレスメモリ22cのアドレス情報を更新し、上記AIDが指定するアプリケーションを選択及び実行する。これにより、制御部21は、次回アプリケーションの選択を指示するコマンドを受信した際、検索ポインタを、AIDアドレスメモリ22cに記憶したアドレス情報で示されるアドレスのAIDに最初に設定することができる。
上記のことから、アプリケーションの選択を指示するコマンドに対して効率的にアプリケーションを選択することのできるICカード2を得ることができる。
When the AID included in the command does not exist at the address, the control unit 21 searches the AID table 22a or the AID data memory 22b to determine whether the AID exists in the search order. When the AID exists in the AID table 22a or the AID data memory 22b, the control unit 21 stores the address information of the AID in the AID address memory 22c, updates the address information of the AID address memory 22c, The application specified by the AID is selected and executed. Thus, when the control unit 21 receives a command for instructing the selection of an application next time, the control unit 21 can first set the search pointer to the AID of the address indicated by the address information stored in the AID address memory 22c.
From the above, it is possible to obtain the IC card 2 that can efficiently select an application in response to a command instructing application selection.

次に、この発明に係る携帯可能電子装置をICカードに適用した他の実施の形態について詳細に説明する。この実施の形態のICカード2は、上述した実施の形態に比べ、更にアプリケーションの選択効率の向上を図ることが可能である。なお、この実施の形態において、ICカード2がAIDアドレスメモリ22cの替わりに選択回数管理テーブル22dを有していること、制御部21の制御が異なること以外は上述した実施の形態と同一であり、同一の部分には同一の符号を付してその詳細な説明を省略する。   Next, another embodiment in which the portable electronic device according to the present invention is applied to an IC card will be described in detail. The IC card 2 of this embodiment can further improve the application selection efficiency compared to the above-described embodiment. In this embodiment, the IC card 2 is the same as the above-described embodiment except that the IC card 2 has a selection count management table 22d instead of the AID address memory 22c and the control of the control unit 21 is different. The same parts are denoted by the same reference numerals, and detailed description thereof is omitted.

図3に示すように、ICカード2は、ICカード本体3と、ICモジュール4とを有している。ICモジュール4は、制御部21、データメモリ22、ワーキングメモリ23、プログラムメモリ24及び通信部25などを備えている。   As shown in FIG. 3, the IC card 2 includes an IC card main body 3 and an IC module 4. The IC module 4 includes a control unit 21, a data memory 22, a working memory 23, a program memory 24, a communication unit 25, and the like.

データメモリ22は、複数のアプリケーションを記憶する第1記憶部として機能している。データメモリ22は、第2記憶部としてAIDテーブル22a又はAIDデータメモリ22bを有している。AIDテーブル22a及びAIDデータメモリ22bは、複数のアプリケーションに付与された複数の識別子を記憶する。   The data memory 22 functions as a first storage unit that stores a plurality of applications. The data memory 22 includes an AID table 22a or an AID data memory 22b as a second storage unit. The AID table 22a and the AID data memory 22b store a plurality of identifiers assigned to a plurality of applications.

図3及び図12に示すように、データメモリ22は、第3記憶部として選択回数管理テーブル22dを有している。選択回数管理テーブル22dは、データメモリ22に記憶された複数のアプリケーションの選択回数と、選択回数の多い順番に沿って対応する複数のAIDを検索するよう設定可能な複数のAIDの検索順番と、を記憶する。この実施の形態において、AIDの検索順番はテーブル情報で管理され、選択回数管理テーブル22dには、アプリケーションの選択回数の多い順番に沿って対応する複数のAIDの情報が、先頭から順に並べられている。   As shown in FIGS. 3 and 12, the data memory 22 has a selection count management table 22d as a third storage unit. The selection count management table 22d includes a selection count of a plurality of applications stored in the data memory 22, a search order of a plurality of AIDs that can be set so as to search for a corresponding plurality of AIDs in the order in which the selection count is large, Remember. In this embodiment, the search order of AID is managed by table information, and information on a plurality of corresponding AIDs is arranged in order from the top in the selection count management table 22d in the order of the number of selections of applications. Yes.

図12に示す例では、選択回数が10回のアプリケーションAPL4に付与されるAID4の情報は選択回数管理テーブル22dの先頭の行(1行目)に設定されている。選択回数が5回のアプリケーションAPL5に付与されるAID5の情報は選択回数管理テーブル22dの2行目に設定されている。選択回数が2回のアプリケーションAPL2に付与されるAID2の情報は選択回数管理テーブル22dの3行目に設定されている。選択回数が1回のアプリケーションAPL3に付与されるAID3の情報は選択回数管理テーブル22dの4行目に設定されている。選択回数が0回のアプリケーションAPL1に付与されるAID1の情報は選択回数管理テーブル22dの5行目に設定されている。   In the example shown in FIG. 12, the information of AID4 given to the application APL4 whose selection count is 10 is set in the first row (first row) of the selection count management table 22d. The information of AID5 given to the application APL5 with the selection count of 5 is set in the second row of the selection count management table 22d. The information of AID2 given to the application APL2 with the number of selections of 2 is set in the third row of the selection number management table 22d. The information of AID3 given to the application APL3 with one selection is set in the fourth row of the selection count management table 22d. The information of AID1 given to the application APL1 with the selection count of 0 is set in the fifth row of the selection count management table 22d.

制御部21は、選択回数管理テーブル22dの行に沿って検索ポインタのリンク先を設定することができる。制御部21は、AIDの検索を開始すると(start)、検索ポインタのリンク先をまずAID4に設定し、その後、検索ポインタのリンク先をAID5、AID2、AID3、AID1の順に設定する。検索ポインタがAID1に設定されると、検索ポインタのリンク先は無いため、AIDの検索を終了する(end)。   The control unit 21 can set the search pointer link destination along the row of the selection count management table 22d. When the AID search is started (start), the control unit 21 first sets the link destination of the search pointer to AID4, and then sets the link destination of the search pointer in the order of AID5, AID2, AID3, and AID1. When the search pointer is set to AID1, since there is no link destination of the search pointer, the AID search is terminated (end).

上記のように、選択回数管理テーブル22d自体がAIDの検索順番を規定している。このため、制御部21は、選択回数管理テーブル22dの行に基づいてAIDテーブル22a又はAIDデータメモリ22bに記憶されたAIDを順に検索することができる。
この実施の形態のICカード2は上記のように形成されている。
As described above, the selection count management table 22d itself defines the search order of AIDs. For this reason, the control part 21 can search AID memorize | stored in AID table 22a or AID data memory 22b in order based on the row | line | column of the selection frequency management table 22d.
The IC card 2 of this embodiment is formed as described above.

ここで、この実施の形態の制御部21は、通信部25を介してアプリケーションの選択を指示するコマンドを受信した際、コマンドに含まれるAIDがAIDテーブル22a又はAIDデータメモリ22bに存在しているのかどうか選択回数管理テーブル22dに記憶された検索順番に沿って検索する。
そして、制御部21は、上記AIDがAIDテーブル22a又はAIDデータメモリ22bに存在している場合、上記AIDが指定するアプリケーションを選択及び実行する。
Here, when the control unit 21 of this embodiment receives a command for instructing application selection via the communication unit 25, the AID included in the command exists in the AID table 22a or the AID data memory 22b. The search is performed according to the search order stored in the selection count management table 22d.
When the AID exists in the AID table 22a or the AID data memory 22b, the control unit 21 selects and executes the application specified by the AID.

次に、通信部25を介してアプリケーションの選択を指示するコマンドを受信した際、AIDの検索、選択回数管理テーブル22dの選択回数及び検索順番の更新、並びにアプリケーションの選択及び実行を行うための制御部21の制御の例として、実施例3及び実施例4のICカードの制御部21の処理について説明する。   Next, when a command for instructing the selection of an application is received via the communication unit 25, a control for performing AID search, updating the selection count and search order of the selection count management table 22d, and selecting and executing the application. As an example of the control of the unit 21, the processing of the control unit 21 of the IC card of the third and fourth embodiments will be described.

始めに、実施例3のICカードの制御部21の処理について説明する。実施例3において、外部装置はICカード処理装置1であり、データメモリ22は、AIDテーブル22a及び選択回数管理テーブル22dを有している。   First, processing of the control unit 21 of the IC card according to the third embodiment will be described. In the third embodiment, the external device is the IC card processing device 1, and the data memory 22 includes an AID table 22a and a selection count management table 22d.

(実施例3)
図1、図3、図6、図12及び図13に示すように、制御部21が、通信部25を介してアプリケーションの選択を指示するコマンド(SELECTコマンド)をICカード処理装置1から受信し、AIDの検索、選択回数管理テーブル22dの選択回数及び検索順番の更新、並びにアプリケーションの選択及び実行を行うための制御部21の制御がスタートすると、まず、ステップS1cにおいて、制御部21は、AIDテーブル22a内において、検索ポインタを、検索順番が最初のAIDに設定する。これにより、検索ポインタを、選択回数の最も多いアプリケーションに付与されるAIDに設定することができる。
(Example 3)
As shown in FIGS. 1, 3, 6, 12, and 13, the control unit 21 receives a command (SELECT command) for instructing selection of an application from the IC card processing apparatus 1 via the communication unit 25. When the control of the control unit 21 for AID search, selection count management table 22d selection count and search order update, and application selection and execution is started, first, in step S1c, the control unit 21 In the table 22a, the search pointer is set to the first AID in the search order. Thereby, the search pointer can be set to the AID given to the application with the largest number of selections.

続いて、ステップS2cにおいて、制御部21は、コマンドに含まれるAIDが、検索ポインタが設定されているAIDと一致しているのかどうか判断する。AIDが一致している場合(ステップS2c)、ステップS3cに移行し、ステップS3cにおいて、制御部21は、検索ポインタが設定されているAIDが指定するアプリケーションの選択をカウントし、選択回数管理テーブル22dに記憶した情報(アプリケーションの選択回数及びAIDの検索順番)を更新する。   Subsequently, in step S2c, the control unit 21 determines whether or not the AID included in the command matches the AID for which the search pointer is set. When the AIDs match (step S2c), the process proceeds to step S3c. In step S3c, the control unit 21 counts the selection of the application designated by the AID for which the search pointer is set, and the selection count management table 22d. The information (number of application selections and AID search order) stored in (1) is updated.

次いで、ステップS4cにおいて、制御部21は、検索ポインタが設定されているAIDが指定するアプリケーションを選択及び実行し、AIDの検索、選択回数管理テーブル22dの選択回数及び検索順番の更新、並びにアプリケーションの選択及び実行を行うための制御部21の制御を終了する。   Next, in step S4c, the control unit 21 selects and executes the application specified by the AID for which the search pointer is set, searches for the AID, updates the selection count and search order of the selection count management table 22d, and sets the application. The control of the control unit 21 for performing selection and execution ends.

AIDが一致していない場合(ステップS2c)、図1、図3、図6、図12及び図14に示すように、ステップS5cに移行し、ステップS5cにおいて、制御部21は、検索ポインタが、検索順番が最後のAIDに設定されているのかどうか判断する。すなわち、制御部21は、選択回数管理テーブル22dの情報を基に検索ポインタのリンク先があるのかどうか判断する。   When the AIDs do not match (step S2c), as shown in FIGS. 1, 3, 6, 12, and 14, the process proceeds to step S5c. In step S5c, the control unit 21 determines that the search pointer is It is determined whether the search order is set to the last AID. That is, the control unit 21 determines whether there is a search pointer link destination based on the information in the selection count management table 22d.

検索ポインタが、検索順番が最後のAIDに設定されていない場合(ステップS5c)、ステップS6cに移行し、ステップS6cにおいて、制御部21は、選択回数管理テーブル22dの情報を基に、次に選択回数が多いアプリケーションに付与されるAIDに検索ポインタを設定し、ステップS2cに移行する。   When the search pointer is not set to the last AID in the search order (step S5c), the process proceeds to step S6c. In step S6c, the control unit 21 selects the next based on the information in the selection count management table 22d. A search pointer is set in the AID given to the application having a large number of times, and the process proceeds to step S2c.

検索ポインタが、検索順番が最後のAIDに設定されている場合(ステップS5c)、ステップS7cに移行し、ステップS7cにおいて、制御部21は、「アプリケーションの選択候補無し」を意味するステータスワードをICカード処理装置1に送信し、AIDの検索を終了する。   When the search pointer is set to the last AID in the search order (step S5c), the process proceeds to step S7c, and in step S7c, the control unit 21 sets the status word indicating “no application selection candidate” to the IC. The data is transmitted to the card processing apparatus 1, and the AID search is terminated.

次に、上記ステップS3cについて、詳しく説明する。
図1、図3、図6、図12及び図15に示すように、まず、ステップS1dにおいて、制御部21は、検索ポインタが設定されているAIDが指定するアプリケーションの選択をカウントし、選択回数管理テーブル22dに記憶したアプリケーションの選択回数を更新する。
Next, step S3c will be described in detail.
As shown in FIGS. 1, 3, 6, 12, and 15, first, in step S <b> 1 d, the control unit 21 counts the selection of the application designated by the AID in which the search pointer is set, and the number of selections The number of application selections stored in the management table 22d is updated.

次いで、ステップS2dにおいて、制御部21は、検索ポインタが設定されているAIDが選択回数管理テーブル22dの先頭(最上位)のAIDであるのかどうか判断する。選択回数管理テーブル22dの先頭のAIDである場合(ステップS2d)、上記ステップS3cの工程は終了し上記ステップS4cに移行する。   Next, in step S2d, the control unit 21 determines whether or not the AID in which the search pointer is set is the head (topmost) AID of the selection count management table 22d. If it is the first AID in the selection count management table 22d (step S2d), the process of step S3c is terminated, and the process proceeds to step S4c.

選択回数管理テーブル22dの先頭のAIDでない場合(ステップS2d)、ステップS3dに移行し、ステップS3dにおいて、制御部21は、「上位のAIDの選択回数≧検索ポインタが設定されているAIDの選択回数」であるのかどうか判断する。   When it is not the first AID in the selection count management table 22d (step S2d), the process proceeds to step S3d. Is determined.

「上位のAIDの選択回数≧検索ポインタが設定されているAIDの選択回数」である場合(ステップS3d)、上記ステップS3cの工程は終了し上記ステップS4cに移行する。「上位のAIDの選択回数≧検索ポインタが設定されているAIDの選択回数」ではない場合(ステップS3d)、ステップS4dに移行し、ステップS4dにおいて、制御部21は、選択回数管理テーブル22d内において、検索ポインタが設定されているAIDと、上位のAIDと、の順序を入れ替え、すなわちAIDの検索順番を更新し、上記ステップS3cの工程を終了し上記ステップS4cに移行する。   When “the number of selections of the upper AID ≧ the number of selections of the AID for which the search pointer is set” is satisfied (step S3d), the process of step S3c ends and the process proceeds to step S4c. When “the number of selections of the upper AID ≧ the number of selections of the AID for which the search pointer is set” is not satisfied (step S3d), the process proceeds to step S4d, and in step S4d, the control unit 21 in the selection number management table 22d Then, the order of the AID in which the search pointer is set and the higher-order AID are switched, that is, the search order of the AID is updated, the process of step S3c is terminated, and the process proceeds to step S4c.

上記のように、コマンドに含まれるAIDが、検索ポインタが設定されているAIDと一致している場合(ステップS2c)、制御部21は、検索ポインタが設定されているAIDが指定するアプリケーションの選択をカウントし、選択回数管理テーブル22dに記憶した情報(アプリケーションの選択回数及びAIDの検索順番)を更新する(ステップS3c)。   As described above, when the AID included in the command matches the AID for which the search pointer is set (step S2c), the control unit 21 selects the application designated by the AID for which the search pointer is set. And the information stored in the selection count management table 22d (application selection count and AID search order) is updated (step S3c).

これにより、制御部21は、アプリケーションの選択を指示するコマンドを受信した際、検索ポインタを、アプリケーションの選択回数の多い順番に沿って対応する複数のAIDに順に設定することができる。このため、利用される確率が高いアプリケーションの選択効率の向上を図ることができる。   Thus, when receiving a command for instructing application selection, the control unit 21 can sequentially set the search pointer to a plurality of corresponding AIDs in the order in which the number of application selections is large. For this reason, it is possible to improve the selection efficiency of an application having a high probability of being used.

次に、実施例4のICカードの制御部21の処理について説明する。実施例4において、外部装置はICカード処理装置1であり、データメモリ22は、AIDデータメモリ22b及び選択回数管理テーブル22dを有している。   Next, processing of the control unit 21 of the IC card according to the fourth embodiment will be described. In the fourth embodiment, the external device is the IC card processing device 1, and the data memory 22 includes an AID data memory 22b and a selection count management table 22d.

(実施例4)
図1、図3、図7、図12及び図16に示すように、制御部21が、通信部25を介してアプリケーションの選択を指示するコマンド(SELECTコマンド)をICカード処理装置1から受信し、AIDの検索、選択回数管理テーブル22dの選択回数及び検索順番の更新、並びにアプリケーションの選択及び実行を行うための制御部21の制御がスタートすると、まず、ステップS1eにおいて、制御部21は、AIDデータメモリ22b内において、検索ポインタを、検索順番が最初のAIDに設定する。これにより、検索ポインタを、選択回数の最も多いアプリケーションに付与されるAIDに設定することができる。
Example 4
As shown in FIGS. 1, 3, 7, 12, and 16, the control unit 21 receives a command (SELECT command) for instructing application selection via the communication unit 25 from the IC card processing apparatus 1. When the control of the control unit 21 for AID search, selection count management table 22d selection count and search order update, and application selection and execution starts, first, in step S1e, the control unit 21 In the data memory 22b, the search pointer is set to the first AID in the search order. Thereby, the search pointer can be set to the AID given to the application with the largest number of selections.

続いて、ステップS2eにおいて、制御部21は、コマンドに含まれるAIDが、検索ポインタが設定されているAIDと一致しているのかどうか判断する。AIDが一致している場合(ステップS2e)、ステップS3eに移行し、ステップS3eにおいて、制御部21は、検索ポインタが設定されているAIDが指定するアプリケーションの選択をカウントし、選択回数管理テーブル22dに記憶した情報(アプリケーションの選択回数及びAIDの検索順番)を更新する。   Subsequently, in step S2e, the control unit 21 determines whether or not the AID included in the command matches the AID for which the search pointer is set. When the AIDs match (step S2e), the process proceeds to step S3e. In step S3e, the control unit 21 counts the selection of the application designated by the AID for which the search pointer is set, and the selection count management table 22d. The information (number of application selections and AID search order) stored in (1) is updated.

次いで、ステップS4eにおいて、制御部21は、検索ポインタが設定されているAIDが指定するアプリケーションを選択及び実行し、AIDの検索、選択回数管理テーブル22dの選択回数及び検索順番の更新、並びにアプリケーションの選択及び実行を行うための制御部21の制御を終了する。   Next, in step S4e, the control unit 21 selects and executes the application specified by the AID for which the search pointer is set, searches for the AID, updates the selection count and search order in the selection count management table 22d, and sets the application The control of the control unit 21 for performing selection and execution ends.

AIDが一致していない場合(ステップS2e)、図1、図3、図7、図12及び図17に示すように、ステップS5eに移行し、ステップS5eにおいて、制御部21は、検索ポインタが、検索順番が最後のAIDに設定されているのかどうか判断する。すなわち、制御部21は、選択回数管理テーブル22dの情報を基に検索ポインタのリンク先があるのかどうか判断する。   If the AIDs do not match (step S2e), as shown in FIGS. 1, 3, 7, 12, and 17, the process proceeds to step S5e. In step S5e, the control unit 21 determines that the search pointer is It is determined whether the search order is set to the last AID. That is, the control unit 21 determines whether there is a search pointer link destination based on the information in the selection count management table 22d.

検索ポインタが、検索順番が最後のAIDに設定されていない場合(ステップS5e)、ステップS6eに移行し、ステップS6eにおいて、制御部21は、選択回数管理テーブル22dの情報を基に、次に選択回数が多いアプリケーションに付与されるAIDに検索ポインタを設定し、ステップS2eに移行する。   When the search pointer is not set to the last AID in the search order (step S5e), the process proceeds to step S6e. In step S6e, the control unit 21 selects the next based on the information in the selection count management table 22d. A search pointer is set in the AID assigned to the application having a large number of times, and the process proceeds to step S2e.

検索ポインタが、検索順番が最後のAIDに設定されている場合(ステップS5e)、ステップS7eに移行し、ステップS7eにおいて、制御部21は、「アプリケーションの選択候補無し」を意味するステータスワードをICカード処理装置1に送信し、AIDの検索を終了する。
なお、実施例4においても、上記ステップS3eの詳細は、図15に示した通りである。
When the search pointer is set to the last AID in the search order (step S5e), the process proceeds to step S7e. In step S7e, the control unit 21 sets the status word indicating “no application selection candidate” to the IC. The data is transmitted to the card processing apparatus 1, and the AID search is terminated.
In the fourth embodiment as well, the details of step S3e are as shown in FIG.

上記のように、コマンドに含まれるAIDが、検索ポインタが設定されているAIDと一致している場合(ステップS2e)、制御部21は、検索ポインタが設定されているAIDが指定するアプリケーションの選択をカウントし、選択回数管理テーブル22dに記憶した情報(アプリケーションの選択回数及びAIDの検索順番)を更新する(ステップS3e)。   As described above, when the AID included in the command matches the AID for which the search pointer is set (step S2e), the control unit 21 selects the application designated by the AID for which the search pointer is set. And the information stored in the selection count management table 22d (application selection count and AID search order) is updated (step S3e).

これにより、制御部21は、アプリケーションの選択を指示するコマンドを受信した際、検索ポインタを、アプリケーションの選択回数の多い順番に沿って対応する複数のAIDに順に設定することができる。このため、利用される確率が高いアプリケーションの選択効率の向上を図ることができる。   Thus, when receiving a command for instructing application selection, the control unit 21 can sequentially set the search pointer to a plurality of corresponding AIDs in the order in which the number of application selections is large. For this reason, it is possible to improve the selection efficiency of an application having a high probability of being used.

上記のように構成された他の実施の形態に係るICカード2によれば、ICカード2は、ICモジュール4と、ICモジュール4を収納したICカード本体3とを備えている。ICモジュール4は、ICカード処理装置1、パーソナルコンピュータ107などの外部装置と通信を行う通信部25と、複数のアプリケーションを記憶するデータメモリ22と、それぞれ複数のアプリケーションに付与された複数のAIDを記憶するAIDテーブル22a又はAIDデータメモリ22bと、複数のアプリケーションの選択回数と、選択回数の多い順番に沿って対応する複数のAIDを検索するよう設定可能な複数のAIDの検索順番と、を記憶する選択回数管理テーブル22dと、制御部21と、を備えている。   According to the IC card 2 according to another embodiment configured as described above, the IC card 2 includes the IC module 4 and the IC card main body 3 in which the IC module 4 is housed. The IC module 4 includes a communication unit 25 that communicates with external devices such as the IC card processing device 1 and the personal computer 107, a data memory 22 that stores a plurality of applications, and a plurality of AIDs assigned to the plurality of applications. Stores the AID table 22a or AID data memory 22b to be stored, the number of selections of a plurality of applications, and the search order of a plurality of AIDs that can be set to search for a plurality of corresponding AIDs in the order in which the number of selections is large. The selection number management table 22d and the control unit 21 are provided.

制御部21は、通信部25を介してアプリケーションの選択を指示するコマンドを受信した際、コマンドに含まれるAIDがAIDテーブル22a又はAIDデータメモリ22bに存在しているのかどうか選択回数管理テーブル22dに記憶された検索順番に沿って検索する。そして、制御部21は、上記AIDがAIDテーブル22a又はAIDデータメモリ22bに存在している場合、上記AIDが指定するアプリケーションを選択及び実行する。このため、利用される確率が高いアプリケーションの選択効率の向上を図ることができる。   When the control unit 21 receives a command for instructing application selection via the communication unit 25, the control unit 21 stores in the selection count management table 22d whether the AID included in the command exists in the AID table 22a or the AID data memory 22b. Search according to the stored search order. When the AID exists in the AID table 22a or the AID data memory 22b, the control unit 21 selects and executes the application specified by the AID. For this reason, it is possible to improve the selection efficiency of an application having a high probability of being used.

制御部21は、上記コマンドに含まれるAIDがAIDテーブル22a又はAIDデータメモリ22bに存在している場合、上記AIDが指定するアプリケーションの選択をカウントし、選択回数管理テーブル22dの選択回数を更新する。   When the AID included in the command is present in the AID table 22a or the AID data memory 22b, the control unit 21 counts the selection of the application specified by the AID and updates the selection number in the selection number management table 22d. .

選択回数管理テーブル22dの検索順番がアプリケーションの選択回数の多い順番に沿わなくなった場合、アプリケーションの選択回数の多い順番に沿って対応する複数のAIDを検索できるよう選択回数管理テーブル22dの検索順番を更新する。   When the search order in the selection count management table 22d does not follow the order in which the application selection count is large, the search order in the selection count management table 22d is set so that a plurality of corresponding AIDs can be searched in the order in which the application selection count is large. Update.

これにより、制御部21は、アプリケーションの選択を指示するコマンドを受信した際、検索ポインタを、アプリケーションの選択回数の多い順番に沿って対応する複数のAIDに順に設定することができる。
上記のことから、アプリケーションの選択を指示するコマンドに対して効率的にアプリケーションを選択することのできるICカード2を得ることができる。
Thus, when receiving a command for instructing application selection, the control unit 21 can sequentially set the search pointer to a plurality of corresponding AIDs in the order in which the number of application selections is large.
From the above, it is possible to obtain the IC card 2 that can efficiently select an application in response to a command instructing application selection.

なお、この発明は上記実施の形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化可能である。また、上記実施の形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。   Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the components without departing from the scope of the invention in the implementation stage. Various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiments. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, constituent elements over different embodiments may be appropriately combined.

例えば、上述した第1の実施の形態において、制御部21は、通信部25を介して最後(最近)に選択されたアプリケーションの選択を指示するコマンドを受信し、同一のアプリケーションを繰り返し利用する場合、AIDアドレスメモリ22cのアドレス情報を更新しなくともよい。   For example, in the first embodiment described above, the control unit 21 receives a command instructing selection of the last (most recently) selected application via the communication unit 25 and repeatedly uses the same application. The address information in the AID address memory 22c need not be updated.

上述した第1の実施の形態に係る実施例1において、AIDアドレスメモリ22cにアドレス情報が記憶されていない状態でAIDを検索する場合、制御部21は、検索ポインタを、まずAIDテーブル22aの先頭の行に設定した後、行に沿って検索すればよい。   In Example 1 according to the first embodiment described above, when searching for an AID when no address information is stored in the AID address memory 22c, the control unit 21 first sets the search pointer to the head of the AID table 22a. After setting to the line, search along the line.

上述した第1の実施の形態に係る実施例2において、AIDアドレスメモリ22cにアドレス情報が記憶されていない状態でAIDを検索する場合、制御部21は、検索ポインタを、まずAIDデータメモリ22bの最初のリンク元のAIDに設定した後、順に検索すればよい。   In Example 2 according to the first embodiment described above, when searching for an AID when no address information is stored in the AID address memory 22c, the control unit 21 first sets the search pointer in the AID data memory 22b. After setting to the first link source AID, the search may be performed in order.

この発明の第1乃至第3記億部は、上述した例に限るものではなく、種々変形可能である。
上述した第2の実施の形態において、他の第3記憶部は、選択回数管理テーブル22dに限定されるものではなく、種々変形可能であり、複数のアプリケーションの選択回数と、上記選択回数の多い順番に沿って対応する複数の識別子を検索するよう設定可能な複数の識別子の検索順番と、を記憶するものであればよい。
The first to third parts of the present invention are not limited to the examples described above, and various modifications can be made.
In the second embodiment described above, the other third storage unit is not limited to the selection count management table 22d, and can be variously modified. The number of selections of a plurality of applications and the number of selections described above are large. What is necessary is just to memorize | store the search order of the several identifier which can be set so that the corresponding several identifier may be searched along order.

上述した第2の実施の形態に係る実施例3において、ICカード2は、選択回数管理テーブル22dを有していなくともよく、この場合、AIDテーブル22aをダイナミックに書き換え、AIDテーブル22aには、アプリケーションの選択回数の多い順番に沿って対応する複数のAIDを、先頭から順に並べればよい。   In Example 3 according to the second embodiment described above, the IC card 2 may not have the selection count management table 22d. In this case, the AID table 22a is dynamically rewritten, and the AID table 22a includes: A plurality of corresponding AIDs may be arranged in order from the top in the order in which the number of application selections is large.

上述した第2の実施の形態に係る実施例4において、ICカード2は、選択回数管理テーブル22dを有していなくともよく、この場合、AIDデータメモリ22b内のリンク先の情報を書き換え、アプリケーションの選択回数の多い順番に沿って対応する複数のAIDがリンクされていればよい。   In Example 4 according to the above-described second embodiment, the IC card 2 may not have the selection count management table 22d. In this case, the link destination information in the AID data memory 22b is rewritten, and the application It is only necessary that a plurality of corresponding AIDs are linked in the order in which the number of selections is large.

第2記憶部は、データメモリ22の一部(AIDテーブル22a又はAIDデータメモリ22b)に設けられているが、これに限らず、例えば、プログラムメモリ24の一部に設けられていてもよい。   The second storage unit is provided in a part of the data memory 22 (AID table 22a or AID data memory 22b), but is not limited thereto, and may be provided in a part of the program memory 24, for example.

この発明の携帯可能電子装置は、ICカードに限らず、通信機能を有した各種の携帯可能電子装置に適用することが可能である。   The portable electronic device of the present invention is not limited to an IC card, and can be applied to various portable electronic devices having a communication function.

1…ICカード処理装置、2…ICカード、3…ICカード本体、4…ICモジュール、12…カードリーダライタ、21…制御部、22…データメモリ、22a…AIDテーブル、22b…AIDデータメモリ、22c…AIDアドレスメモリ、22d…選択回数管理テーブル、23…ワーキングメモリ、24…プログラムメモリ、25…通信部、101…携帯電話機、106…カードリーダライタ、107…パーソナルコンピュータ。   DESCRIPTION OF SYMBOLS 1 ... IC card processing apparatus, 2 ... IC card, 3 ... IC card main body, 4 ... IC module, 12 ... Card reader / writer, 21 ... Control part, 22 ... Data memory, 22a ... AID table, 22b ... AID data memory, 22c ... AID address memory, 22d ... selection count management table, 23 ... working memory, 24 ... program memory, 25 ... communication unit, 101 ... mobile phone, 106 ... card reader / writer, 107 ... personal computer.

Claims (6)

外部装置と通信を行う通信部と、
複数のアプリケーションを記憶する第1記憶部と、
それぞれ前記複数のアプリケーションに付与された複数の識別子を記憶する第2記憶部と、
前記第2記憶部に記憶された複数の識別子の中、最後に選択されたアプリケーションに付与された識別子のアドレス情報を記憶する第3記憶部と、
制御部と、を備え、
前記制御部は、
前記通信部を介してアプリケーションの選択を指示するコマンドを受信した際、前記コマンドに含まれる識別子が前記第3記憶部の前記アドレス情報で示されるアドレスに存在しているのかどうか検索し、
前記識別子が前記アドレスに存在している場合、前記アドレスの識別子が指定するアプリケーションを選択することを特徴とする携帯可能電子装置。
A communication unit communicating with an external device;
A first storage unit for storing a plurality of applications;
A second storage unit for storing a plurality of identifiers respectively assigned to the plurality of applications;
A third storage unit that stores address information of an identifier assigned to the last selected application among the plurality of identifiers stored in the second storage unit;
A control unit,
The controller is
When receiving a command for instructing the selection of an application via the communication unit, search whether an identifier included in the command exists at the address indicated by the address information of the third storage unit,
When the identifier is present at the address, an application designated by the identifier of the address is selected.
前記制御部は、前記コマンドに含まれる識別子が前記アドレスに存在しておらず、前記第2記憶部に存在している場合、前記識別子のアドレス情報を前記第3記憶部に記憶し、前記第3記憶部のアドレス情報を更新し、前記識別子が指定するアプリケーションを選択することを特徴とする請求項1に記載の携帯可能電子装置。   When the identifier included in the command does not exist in the address and exists in the second storage unit, the control unit stores address information of the identifier in the third storage unit, and 3. The portable electronic device according to claim 1, wherein the address information stored in the three storage units is updated and an application designated by the identifier is selected. 外部装置と通信を行う通信部と、
複数のアプリケーションを記憶する第1記憶部と、
それぞれ前記複数のアプリケーションに付与された複数の識別子を記憶する第2記憶部と、
前記複数のアプリケーションの選択回数と、前記選択回数の多い順番に沿って対応する前記複数の識別子を検索するよう設定可能な前記複数の識別子の検索順番と、を記憶する第3記憶部と、
制御部と、を備え、
前記制御部は、
前記通信部を介してアプリケーションの選択を指示するコマンドを受信した際、前記コマンドに含まれる識別子が前記第2記憶部に存在しているのかどうか前記第3記憶部に記憶された前記検索順番に沿って検索し、
前記識別子が前記第2記憶部に存在している場合、前記識別子が指定するアプリケーションを選択することを特徴とする携帯可能電子装置。
A communication unit communicating with an external device;
A first storage unit for storing a plurality of applications;
A second storage unit for storing a plurality of identifiers respectively assigned to the plurality of applications;
A third storage unit that stores the number of times of selection of the plurality of applications, and the search order of the plurality of identifiers that can be set to search for the plurality of identifiers corresponding to the order in which the number of times of selection is large;
A control unit,
The controller is
When a command instructing application selection is received via the communication unit, whether or not an identifier included in the command exists in the second storage unit is stored in the search order stored in the third storage unit. Search along,
When the identifier is present in the second storage unit, an application designated by the identifier is selected.
前記制御部は、
前記識別子が前記第2記憶部に存在している場合、前記識別子が指定するアプリケーションの選択をカウントし、前記第3記憶部の前記選択回数を更新し、
前記検索順番が前記選択回数の多い順番に沿わなくなった場合、前記選択回数の多い順番に沿って対応する前記複数の識別子を検索できるよう前記第3記憶部の前記検索順番を更新することを特徴とする請求項3に記載の携帯可能電子装置。
The controller is
When the identifier is present in the second storage unit, the selection of an application designated by the identifier is counted, and the selection number of the third storage unit is updated,
The search order of the third storage unit is updated so that the plurality of corresponding identifiers can be searched along the order of the large number of selections when the search order does not follow the order of the large number of selections. The portable electronic device according to claim 3.
外部装置と通信を行う通信部と、複数のアプリケーションを記憶する第1記憶部と、それぞれ前記複数のアプリケーションに付与された複数の識別子を記憶する第2記憶部と、前記第2記憶部に記憶された複数の識別子の中、最後に選択されたアプリケーションに付与された識別子のアドレス情報を記憶する第3記憶部と、制御部と、を具備したICモジュールと、
前記ICモジュールを収納したICカード本体と、を備え、
前記制御部は、
前記通信部を介してアプリケーションの選択を指示するコマンドを受信した際、前記コマンドに含まれる識別子が前記第3記憶部の前記アドレス情報で示されるアドレスに存在しているのかどうか検索し、
前記識別子が前記アドレスに存在している場合、前記アドレスの識別子が指定するアプリケーションを選択することを特徴とするICカード。
A communication unit that communicates with an external device, a first storage unit that stores a plurality of applications, a second storage unit that stores a plurality of identifiers assigned to the plurality of applications, respectively, and a second storage unit An IC module including a third storage unit that stores address information of an identifier assigned to the last selected application among the plurality of identifiers, and a control unit;
An IC card main body containing the IC module,
The controller is
When receiving a command for instructing the selection of an application via the communication unit, search whether an identifier included in the command exists at the address indicated by the address information of the third storage unit,
When the identifier is present at the address, an application specified by the identifier of the address is selected.
外部装置と通信を行う通信部と、複数のアプリケーションを記憶する第1記憶部と、それぞれ前記複数のアプリケーションに付与された複数の識別子を記憶する第2記憶部と、前記複数のアプリケーションの選択回数と、前記選択回数の多い順番に沿って対応する前記複数の識別子を検索するよう設定可能な前記複数の識別子の検索順番と、を記憶する第3記憶部と、制御部と、を具備したICモジュールと、
前記ICモジュールを収納したICカード本体と、を備え、
前記制御部は、
前記通信部を介してアプリケーションの選択を指示するコマンドを受信した際、前記コマンドに含まれる識別子が前記第2記憶部に存在しているのかどうか前記第3記憶部に記憶された前記検索順番に沿って検索し、
前記識別子が前記第2記憶部に存在している場合、前記識別子が指定するアプリケーションを選択することを特徴とするICカード。
A communication unit that communicates with an external device, a first storage unit that stores a plurality of applications, a second storage unit that stores a plurality of identifiers assigned to the plurality of applications, and the number of times the plurality of applications are selected A third storage unit that stores the search order of the plurality of identifiers that can be set to search for the plurality of identifiers that correspond to the plurality of identifiers that are selected in the order in which the number of selections is large, and a control unit. Module,
An IC card main body containing the IC module,
The controller is
When a command instructing application selection is received via the communication unit, whether or not an identifier included in the command exists in the second storage unit is stored in the search order stored in the third storage unit. Search along,
An IC card, wherein when the identifier is present in the second storage unit, an application designated by the identifier is selected.
JP2010082876A 2010-03-31 2010-03-31 Portable electronic device and ic card Pending JP2011215833A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010082876A JP2011215833A (en) 2010-03-31 2010-03-31 Portable electronic device and ic card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010082876A JP2011215833A (en) 2010-03-31 2010-03-31 Portable electronic device and ic card

Publications (1)

Publication Number Publication Date
JP2011215833A true JP2011215833A (en) 2011-10-27

Family

ID=44945502

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010082876A Pending JP2011215833A (en) 2010-03-31 2010-03-31 Portable electronic device and ic card

Country Status (1)

Country Link
JP (1) JP2011215833A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015022486A (en) * 2013-07-18 2015-02-02 大日本印刷株式会社 Identifier generation device, identifier generation method, and identifier generation program
JP2015504207A (en) * 2011-12-21 2015-02-05 モルフォ Method for routing in a mobile terminal emulating a contactless payment card

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003150913A (en) * 2001-11-15 2003-05-23 Toshiba Corp Portable electronic device, file selecting method of portable electronic device and host device
JP2004334316A (en) * 2003-04-30 2004-11-25 Toppan Printing Co Ltd Ic card and its application setting method
JP2005285067A (en) * 2004-03-31 2005-10-13 Matsushita Electric Ind Co Ltd Information processing terminal and information processing method
JP2006216011A (en) * 2004-08-18 2006-08-17 Sony Corp Memory card and its control method, access control method with respect to memory card, and computer program
JP2006293941A (en) * 2005-04-15 2006-10-26 Matsushita Electric Ind Co Ltd Non-contact data carrier, non-contact data carrier system and data processing method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003150913A (en) * 2001-11-15 2003-05-23 Toshiba Corp Portable electronic device, file selecting method of portable electronic device and host device
JP2004334316A (en) * 2003-04-30 2004-11-25 Toppan Printing Co Ltd Ic card and its application setting method
JP2005285067A (en) * 2004-03-31 2005-10-13 Matsushita Electric Ind Co Ltd Information processing terminal and information processing method
JP2006216011A (en) * 2004-08-18 2006-08-17 Sony Corp Memory card and its control method, access control method with respect to memory card, and computer program
JP2006293941A (en) * 2005-04-15 2006-10-26 Matsushita Electric Ind Co Ltd Non-contact data carrier, non-contact data carrier system and data processing method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015504207A (en) * 2011-12-21 2015-02-05 モルフォ Method for routing in a mobile terminal emulating a contactless payment card
JP2015022486A (en) * 2013-07-18 2015-02-02 大日本印刷株式会社 Identifier generation device, identifier generation method, and identifier generation program

Similar Documents

Publication Publication Date Title
US10990422B2 (en) Information processing device, information processing method and program
US6456859B1 (en) Method of delivering a telephone number associated with a telephone subscription, and telephone sets and mobile telephones implementing the method
US11119791B2 (en) Information processing apparatus, IC chip, information processing method, program, and information processing system
JPWO2008050439A1 (en) Application management apparatus and application management method
EP2006768A9 (en) Communication terminal, user data transferring system and user data transferring method
US8186496B2 (en) Smart card customization
JP5011738B2 (en) IC card, program
EP2624527A1 (en) Terminal application search system
CN102483791A (en) Access management system and access management method
JP2011215833A (en) Portable electronic device and ic card
EP2793201A1 (en) Safety information transfer system, device and method based on extended parameter set
JP5290119B2 (en) Service providing system and service providing method
CN101442833B (en) Communication terminal device, access controlling method, and smart card
EP2367115A1 (en) Portable electronic apparatus and method of controlling a portable electronic apparatus
CN112449340A (en) Remote SIM card writing method and device
CN113791984B (en) Automatic interface testing method and device
US20100235393A1 (en) Portable electronic device and access control method in portable electronic device
CN102685722B (en) Ic card
CN100452893C (en) System and method for realizing value-added business based on user identification module
JP7420179B1 (en) Electronic information storage medium, IC card, issuance processing method, and program
JP2012133656A (en) Portable electronic apparatus and ic card
JP2013228766A (en) Point information management method, system, and program
JP6123539B2 (en) Identifier generating apparatus, identifier generating method, and identifier generating program
JP2018194995A (en) Electronic information storage medium, IC card, data transmission method, data writing method, data transmission program and data writing program
KR20060049426A (en) Mobile electronic device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120301

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130312

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130313

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130513

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130528