JP2013069108A - Ic card, portable electronic device and ic card control method - Google Patents

Ic card, portable electronic device and ic card control method Download PDF

Info

Publication number
JP2013069108A
JP2013069108A JP2011207099A JP2011207099A JP2013069108A JP 2013069108 A JP2013069108 A JP 2013069108A JP 2011207099 A JP2011207099 A JP 2011207099A JP 2011207099 A JP2011207099 A JP 2011207099A JP 2013069108 A JP2013069108 A JP 2013069108A
Authority
JP
Japan
Prior art keywords
command
card
application
processing
terminal device
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
JP2011207099A
Other languages
Japanese (ja)
Inventor
Hiroko Hayashi
裕子 林
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 JP2011207099A priority Critical patent/JP2013069108A/en
Publication of JP2013069108A publication Critical patent/JP2013069108A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an IC card which performs processing more efficiently, a portable electronic device and an IC card control method.SOLUTION: The IC card for performing processing in response to a command transmitted from an external device comprises: first storage means for storing multiple applications; reception means for receiving a command transmitted from an external device; processing means for executing one of the applications stored by the first storage means and performing processing on the basis of the command received by the reception means; determination means whether the command is the last command for the application; and control means for identifying an application to be performed next on the basis of an application execution sequence preset and controlling the processing means to executed the identified application when the determination means determines that it is the last command.

Description

本発明の実施形態は、ICカード、携帯可能電子装置、及びICカードの制御方法に関する。   Embodiments described herein relate generally to an IC card, a portable electronic device, and an IC card control method.

一般的に、携帯可能電子装置として用いられるICカードは、プラスチックなどで形成されたカード状の本体と本体に埋め込まれたICモジュールとを備えている。ICモジュールは、ICチップを有している。ICチップは、電源が無い状態でもデータを保持することができるEEPROM(Electrically Erasable Programmable Read−Only Memory)またはフラッシュROMなどの不揮発性メモリと、種々の演算を実行するCPUと、CPUの処理に利用されるRAMメモリなどを有している。   In general, an IC card used as a portable electronic device includes a card-like main body formed of plastic or the like and an IC module embedded in the main body. The IC module has an IC chip. The IC chip is used for EEPROM (Electrically Erasable Programmable Read-Only Memory) or flash ROM that can hold data even when there is no power supply, a CPU that executes various operations, and processing of the CPU RAM memory to be used.

ICカードは、例えば、国際標準規格ISO/IEC7816に準拠したICカードである。ICカードは、携帯性に優れ、且つ、外部装置との通信及び複雑な演算処理を行う事ができる。また、偽造が難しい為、ICカードは、機密性の高い情報などを格納してセキュリティシステム、電子商取引などに用いられることが想定される。   The IC card is, for example, an IC card conforming to the international standard ISO / IEC7816. The IC card is excellent in portability and can perform communication with an external device and complicated calculation processing. Further, since it is difficult to forge, the IC card is assumed to store highly confidential information and be used for a security system, electronic commerce, and the like.

ICカードは、ICカードを処理する処理装置からコマンドを受信した場合、受信したコマンドに応じてアプリケーションを実行する。これにより、ICカードは、種々の機能を実現することができる。   When receiving a command from a processing device that processes the IC card, the IC card executes an application in accordance with the received command. Thereby, the IC card can realize various functions.

特開2003−173563号公報JP 2003-173563 A

上記のようなアプリケーションは、ICカードのROMまたは不揮発性メモリなどに格納される。ICカードは、アプリケーションを実行する場合、SELECTコマンド(セレクトコマンド)に応じてアプリケーションが格納されているファイルを選択する。ICカードは、選択しているファイルに格納されているアプリケーションを読み出し、不揮発性メモリまたはRAMに実行可能な状態で展開する。ICカードは、展開されたアプリケーションを実行することにより、種々の処理を行う。   The application as described above is stored in the ROM or non-volatile memory of the IC card. When executing an application, the IC card selects a file in which the application is stored in response to a SELECT command (select command). The IC card reads the application stored in the selected file and develops it in a non-volatile memory or RAM in an executable state. The IC card performs various processes by executing the deployed application.

通常、ICカードは、複数のアプリケーションをROMまたは不揮発性メモリに記憶している。また、複数の異なるアプリケーションの連続して実行される場合がある。このように、実行中のアプリケーションが終了し、次のアプリケーションを実行する場合、ICカードは、処理装置からのセレクトコマンドに応じて次に実行するアプリケーションを選択する処理を行う必要がある。この為、処理装置及びICカードは、新たにアプリケーションを実行する毎に、セレクトコマンド及びレスポンスを送受信する必要があり、処理時間を悪化させる可能性があるという課題がある。   Usually, the IC card stores a plurality of applications in a ROM or a nonvolatile memory. In addition, a plurality of different applications may be executed in succession. As described above, when the application being executed ends and the next application is executed, the IC card needs to perform a process of selecting an application to be executed next in response to a select command from the processing device. For this reason, it is necessary for the processing device and the IC card to transmit and receive a select command and a response each time a new application is executed, and there is a problem that processing time may be deteriorated.

そこで、より効率的に処理を実行するICカード、携帯可能電子装置、及びICカードの制御方法を提供することを目的とする。   Therefore, an object is to provide an IC card, a portable electronic device, and an IC card control method that execute processing more efficiently.

一実施形態に係るICカードは、外部機器から送信されたコマンドに応じて処理を実行するICカードであって、複数のアプリケーションを記憶する第1の記憶手段と、前記外部機器から送信されたコマンドを受信する受信手段と、前記受信手段により受信した前記コマンドに基づいて前記第1の記憶手段により記憶されている前記アプリケーションを実行し、処理を行う処理手段と、前記コマンドが前記アプリケーションの最終コマンドであるか否か判定する判定手段と、前記判定手段により最終コマンドであると判定された場合、予め設定されたアプリケーションの実行順序に基づいて次に実行するアプリケーションを特定し、特定した前記アプリケーションを実行するように前記処理手段を制御する制御手段と、を具備する。   An IC card according to an embodiment is an IC card that performs processing in response to a command transmitted from an external device, and includes a first storage unit that stores a plurality of applications, and a command transmitted from the external device. Receiving means, processing means for executing and processing the application stored in the first storage means based on the command received by the receiving means, and the command being a final command of the application A determination means for determining whether or not the application is a final command by the determination means, the application to be executed next is identified based on a preset application execution order, and the identified application is Control means for controlling the processing means to execute.

図1は、一実施形態に係るICカード処理システムの例について説明するための図である。FIG. 1 is a diagram for explaining an example of an IC card processing system according to an embodiment. 図2は、一実施形態に係るICカードの例について説明するための図である。FIG. 2 is a diagram for explaining an example of an IC card according to an embodiment. 図3は、一実施形態に係るICカードの例について説明するための図である。FIG. 3 is a diagram for explaining an example of an IC card according to an embodiment. 図4は、一実施形態に係るICカードの例について説明するための図である。FIG. 4 is a diagram for explaining an example of an IC card according to an embodiment. 図5は、一実施形態に係るICカードの例について説明するための図である。FIG. 5 is a diagram for explaining an example of an IC card according to an embodiment. 図6は、一実施形態に係るコマンドの例について説明するための図である。FIG. 6 is a diagram for describing an example of a command according to an embodiment. 図7は、一実施形態に係るICカードの例について説明するための図である。FIG. 7 is a diagram for explaining an example of an IC card according to an embodiment. 図8は、一実施形態に係るICカードの例について説明するための図である。FIG. 8 is a diagram for explaining an example of an IC card according to an embodiment. 図9は、一実施形態に係るICカードの例について説明するための図である。FIG. 9 is a diagram for explaining an example of an IC card according to an embodiment. 図10は、一実施形態に係るICカードの例について説明するための図である。FIG. 10 is a diagram for explaining an example of an IC card according to an embodiment. 図11は、一実施形態に係るICカードの例について説明するための図である。FIG. 11 is a diagram for explaining an example of an IC card according to an embodiment.

以下、図面を参照しながら、一実施形態に係るICカード、携帯可能電子装置、及びICカードの制御方法について詳細に説明する。   Hereinafter, an IC card, a portable electronic device, and an IC card control method according to an embodiment will be described in detail with reference to the drawings.

本実施形態に係る携帯可能電子装置(ICカード)20及びICカード20を処理する処理装置(端末装置)10は、例えば、接触通信、及び/または非接触通信の機能を備える。これにより、ICカード20及び端末装置10は、互いにデータの送受信を行うことができる。   The portable electronic device (IC card) 20 and the processing device (terminal device) 10 that processes the IC card 20 according to the present embodiment have, for example, functions of contact communication and / or non-contact communication. Thereby, the IC card 20 and the terminal device 10 can transmit and receive data to and from each other.

図1は、一実施形態に係るICカード処理システム1の構成例を示す。
ICカード処理システム1は、ICカード20を処理する端末装置10と、ICカード20と、を備える。
FIG. 1 shows a configuration example of an IC card processing system 1 according to an embodiment.
The IC card processing system 1 includes a terminal device 10 that processes the IC card 20 and an IC card 20.

端末装置10は、CPU11、ROM12、RAM13、不揮発性メモリ14、カードリーダライタ15、操作部17、ディスプレイ18、及び電源部19を備える。CPU11、ROM12、RAM13、不揮発性メモリ14、カードリーダライタ15、操作部17、及びディスプレイ18は、それぞれバスを介して互いに接続されている。   The terminal device 10 includes a CPU 11, a ROM 12, a RAM 13, a nonvolatile memory 14, a card reader / writer 15, an operation unit 17, a display 18, and a power supply unit 19. The CPU 11, the ROM 12, the RAM 13, the nonvolatile memory 14, the card reader / writer 15, the operation unit 17, and the display 18 are connected to each other via a bus.

CPU11は、端末装置10全体の制御を司る制御部として機能する。CPU11は、ROM12又は不揮発性メモリ14に記憶されている制御プログラム及び制御データに基づいて種々の処理を行う。例えば、CPU11は、カードリーダライタ15を介してICカード20とコマンド及びレスポンスの送受信を行う。   The CPU 11 functions as a control unit that controls the entire terminal device 10. The CPU 11 performs various processes based on the control program and control data stored in the ROM 12 or the nonvolatile memory 14. For example, the CPU 11 transmits and receives commands and responses to and from the IC card 20 via the card reader / writer 15.

ROM12は、予め制御用のプログラム及び制御データなどを記憶する不揮発性のメモリである。RAM13は、ワーキングメモリとして機能する揮発性のメモリである。RAM13は、CPU11の処理中のデータなどを一時的に格納する。例えば、RAM13は、カードリーダライタ15を介して外部の機器と送受信するデータを一時的に格納する。また、RAM13は、CPU11が実行するプログラムを一時的に格納する。   The ROM 12 is a non-volatile memory that stores a control program and control data in advance. The RAM 13 is a volatile memory that functions as a working memory. The RAM 13 temporarily stores data being processed by the CPU 11. For example, the RAM 13 temporarily stores data to be transmitted / received to / from an external device via the card reader / writer 15. The RAM 13 temporarily stores a program executed by the CPU 11.

不揮発性メモリ14は、例えばEEPROM、FRAMなどを備える。不揮発性メモリ14は、例えば、制御用のプログラム、制御データ、アプリケーション、及びアプリケーションに用いられるデータなどを記憶する。   The nonvolatile memory 14 includes, for example, an EEPROM, an FRAM, and the like. The nonvolatile memory 14 stores, for example, a control program, control data, an application, and data used for the application.

カードリーダライタ15は、ICカード20と通信を行うためのインターフェース装置である。カードリーダライタ15は、接触通信、または非接触通信によりICカード20とデータの送受信を行う。   The card reader / writer 15 is an interface device for communicating with the IC card 20. The card reader / writer 15 transmits / receives data to / from the IC card 20 by contact communication or non-contact communication.

接触通信のインターフェースとして用いられる場合、カードリーダライタ15は、ICカード20が装着されるスロットと、ICカード20が備えるコンタクトパターンと接続される複数の接触端子を備える。   When used as an interface for contact communication, the card reader / writer 15 includes a slot in which the IC card 20 is mounted and a plurality of contact terminals connected to a contact pattern included in the IC card 20.

スロットにICカード20が装着される場合、カードリーダライタ15の複数の接触端子は、ICカード20のコンタクトパターンに接続される。これにより、端末装置10とICカード20とは電気的に接続される。カードリーダライタ15は、スロットに装着されるICカード20に対して、電力の供給、クロックの供給、リセット信号の入力、及びデータの送受信などを行う。   When the IC card 20 is mounted in the slot, the plurality of contact terminals of the card reader / writer 15 are connected to the contact pattern of the IC card 20. Thereby, the terminal device 10 and the IC card 20 are electrically connected. The card reader / writer 15 performs power supply, clock supply, reset signal input, data transmission / reception, and the like to the IC card 20 installed in the slot.

また、非接触通信のインターフェースとして用いられる場合、カードリーダライタ15は、送受信するデータに対して信号処理を施す信号処理部と、所定の共振周波数を有するアンテナとを備える。   When used as an interface for non-contact communication, the card reader / writer 15 includes a signal processing unit that performs signal processing on data to be transmitted and received, and an antenna having a predetermined resonance frequency.

カードリーダライタ15は、例えば、信号処理部により、送受信するデータに対して符号化、復号、変調、及び復調などの信号処理を行なう。また、カードリーダライタ15は、符号化及び変調を施したデータをアンテナに供給する。アンテナは、供給されたデータに応じて磁界を発生させる。これにより、端末装置10は、通信可能範囲に存在するICカード20に対してデータを非接触で送信することができる。   For example, the card reader / writer 15 performs signal processing such as encoding, decoding, modulation, and demodulation on data to be transmitted and received by a signal processing unit. The card reader / writer 15 supplies the encoded and modulated data to the antenna. The antenna generates a magnetic field according to the supplied data. Thereby, the terminal device 10 can transmit data to the IC card 20 existing in the communicable range in a non-contact manner.

さらに、カードリーダライタ15のアンテナは、磁界を検知し、検知した磁界に応じて信号を生成する。これにより、カードリーダライタ15は、信号を非接触で受信することができる。信号処理部は、アンテナにより受信された信号に対して復調及び復号を行う。これにより、端末装置10は、ICカード20から送信された元のデータを取得することができる。   Further, the antenna of the card reader / writer 15 detects a magnetic field and generates a signal according to the detected magnetic field. Thereby, the card reader / writer 15 can receive a signal in a non-contact manner. The signal processing unit demodulates and decodes the signal received by the antenna. Thereby, the terminal device 10 can acquire the original data transmitted from the IC card 20.

操作部17は、例えば操作キーなどを備え、操作者により入力される操作に基づいて、操作信号を生成する。操作部17は、生成した操作信号をCPUに入力する。これにより、CPU11は、操作者により入力された操作に基づいて処理を実行することができる。   The operation unit 17 includes, for example, operation keys and generates an operation signal based on an operation input by the operator. The operation unit 17 inputs the generated operation signal to the CPU. Thereby, CPU11 can perform a process based on operation inputted by an operator.

ディスプレイ18は、CPU11、または図示されないグラフィックコントローラなどの表示処理モジュールから入力される映像を表示するための信号に基づいて種々の情報を表示する。   The display 18 displays various information based on signals for displaying video input from the CPU 11 or a display processing module such as a graphic controller (not shown).

電源部19は、端末装置10の各部に電力を供給する。電源部19は、例えば、商用電源より電力を受け取り、所定の電圧に変換し、端末装置10の各部に供給する。   The power supply unit 19 supplies power to each unit of the terminal device 10. For example, the power supply unit 19 receives power from a commercial power supply, converts the power into a predetermined voltage, and supplies the voltage to each unit of the terminal device 10.

図2は、一実施形態に係るICカード20の構成例を示す。
図2に示すように、ICカード20は、例えば、矩形状の本体21と、本体21内に内蔵されたICモジュール22とを備える。ICモジュール22は、ICチップ23と、通信部24とを備える。ICチップ23と通信部24とは、互いに接続された状態でICモジュール22内に形成されている。
FIG. 2 shows a configuration example of the IC card 20 according to one embodiment.
As shown in FIG. 2, the IC card 20 includes, for example, a rectangular main body 21 and an IC module 22 built in the main body 21. The IC module 22 includes an IC chip 23 and a communication unit 24. The IC chip 23 and the communication unit 24 are formed in the IC module 22 while being connected to each other.

なお、本体21は、少なくとも通信部24が配設されるICモジュール22を設置可能な形状であれば、矩形状に限らず如何なる形状であっても良い。   The main body 21 is not limited to a rectangular shape, and may have any shape as long as the IC module 22 in which at least the communication unit 24 is disposed can be installed.

ICチップ23は、通信部24、CPU25、ROM26、RAM27、不揮発性メモリ28、電源部31、及びロジック部32などを備える。通信部24、CPU25、ROM26、RAM27、不揮発性メモリ28、電源部31、及びロジック部32は、バスを介して互いに接続されている。   The IC chip 23 includes a communication unit 24, a CPU 25, a ROM 26, a RAM 27, a nonvolatile memory 28, a power supply unit 31, a logic unit 32, and the like. The communication unit 24, the CPU 25, the ROM 26, the RAM 27, the nonvolatile memory 28, the power supply unit 31, and the logic unit 32 are connected to each other via a bus.

通信部24は、端末装置(外部機器)10のカードリーダライタ15と通信を行うためのインターフェースである。通信部24は、接触通信、または非接触通信により、端末装置10とデータの送受信を行う。   The communication unit 24 is an interface for communicating with the card reader / writer 15 of the terminal device (external device) 10. The communication unit 24 transmits / receives data to / from the terminal device 10 by contact communication or non-contact communication.

接触通信のインターフェースとして用いられる場合、通信部24は、カードリーダライタ15の接触端子と接続されるコンタクトパターンを備える。コンタクトパターンは、導電性を有する金属などによりICモジュール22の表面に形成される接触端子である。即ち、コンタクトパターンは、端末装置10のカードリーダライタ15の接触端子と接触可能に形成されている。   When used as an interface for contact communication, the communication unit 24 includes a contact pattern connected to a contact terminal of the card reader / writer 15. The contact pattern is a contact terminal formed on the surface of the IC module 22 with a conductive metal or the like. That is, the contact pattern is formed so as to be in contact with the contact terminal of the card reader / writer 15 of the terminal device 10.

コンタクトパターンは、金属により形成される面が複数のエリアに区切られて形成される。区切られた各エリアは、それぞれ端子として機能する。通信部24は、コンタクトパターンを介してカードリーダライタ15とデータの送受信を行うことができる。   The contact pattern is formed by dividing a surface formed of metal into a plurality of areas. Each divided area functions as a terminal. The communication unit 24 can transmit / receive data to / from the card reader / writer 15 via the contact pattern.

また、非接触通信のインターフェースとして用いられる場合、通信部24は、信号処理部とアンテナとを備える。   When used as an interface for non-contact communication, the communication unit 24 includes a signal processing unit and an antenna.

信号処理部は、端末装置10に送信するデータに対して符号化、負荷変調などの信号処理を行う。例えば、信号処理部は、端末装置10に送信するデータの変調(増幅)を行う。信号処理部は、信号処理を施したデータをアンテナに供給する。   The signal processing unit performs signal processing such as encoding and load modulation on data to be transmitted to the terminal device 10. For example, the signal processing unit modulates (amplifies) data to be transmitted to the terminal device 10. The signal processing unit supplies the signal-processed data to the antenna.

アンテナは、例えば、ICモジュール22内に所定の形状で配設される金属線により構成される。ICカード20は、端末装置10に送信するデータに応じてアンテナにより磁界を発生させる。これにより、ICカード20は、端末装置10に対してデータを送信することができる。また、ICカード20は、電磁誘導によりアンテナに発生する誘導電流に基づいて端末装置10から送信されるデータを認識する。   The antenna is constituted by, for example, a metal wire disposed in a predetermined shape in the IC module 22. The IC card 20 generates a magnetic field by an antenna according to data transmitted to the terminal device 10. Thereby, the IC card 20 can transmit data to the terminal device 10. Further, the IC card 20 recognizes data transmitted from the terminal device 10 based on an induced current generated in the antenna by electromagnetic induction.

例えば、信号処理部は、アンテナに発生する誘導電流に対して復調、及び復号を行う。例えば、信号処理部は、アンテナにより受信する信号の解析を行う。これにより、通信部24は、2値の論理データを取得する。通信部24は、解析したデータをバスを介してCPU25に送信する。   For example, the signal processing unit demodulates and decodes the induced current generated in the antenna. For example, the signal processing unit analyzes a signal received by the antenna. As a result, the communication unit 24 acquires binary logical data. The communication unit 24 transmits the analyzed data to the CPU 25 via the bus.

CPU25は、ICカード20全体の制御を司る制御部として機能する。CPU25は、ROM26あるいは不揮発性メモリ28に記憶されている制御プログラム及び制御データに基づいて種々の処理を行う。例えば、端末装置10から受信したコマンドに応じて種々の処理を行い、処理結果としてのレスポンスなどのデータの生成を行なう。   The CPU 25 functions as a control unit that controls the entire IC card 20. The CPU 25 performs various processes based on the control program and control data stored in the ROM 26 or the nonvolatile memory 28. For example, various processes are performed in accordance with commands received from the terminal device 10 and data such as responses as processing results is generated.

ROM26は、予め制御用のプログラム及び制御データなどを記憶する不揮発性のメモリである。ROM26は、製造段階で制御プログラム及び制御データなどを記憶した状態でICカード20内に組み込まれる。即ち、ROM26に記憶される制御プログラム及び制御データは、予めICカード20の仕様に応じて組み込まれる。   The ROM 26 is a non-volatile memory that stores a control program and control data in advance. The ROM 26 is incorporated in the IC card 20 in a state where a control program, control data, and the like are stored at the manufacturing stage. That is, the control program and control data stored in the ROM 26 are incorporated in advance according to the specifications of the IC card 20.

RAM27は、ワーキングメモリとして機能する揮発性のメモリである。RAM27は、CPU25の処理中のデータなどを一時的に格納する。例えば、RAM27は、通信部24を介して端末装置10から受信したデータを一時的に格納する。またRAM27は、通信部24を介して端末装置10に送信するデータを一時的に格納する。またさらに、RAM27は、CPU25が実行するプログラムを一時的に格納する。   The RAM 27 is a volatile memory that functions as a working memory. The RAM 27 temporarily stores data being processed by the CPU 25. For example, the RAM 27 temporarily stores data received from the terminal device 10 via the communication unit 24. The RAM 27 temporarily stores data to be transmitted to the terminal device 10 via the communication unit 24. Furthermore, the RAM 27 temporarily stores a program executed by the CPU 25.

不揮発性メモリ28は、例えば、EEPROMあるいはフラッシュROMなどのデータの書き込み及び書換えが可能な不揮発性のメモリを備える。不揮発性メモリ28は、ICカード20の運用用途に応じて制御プログラム及び種々のデータを格納する。   The non-volatile memory 28 includes a non-volatile memory capable of writing and rewriting data, such as an EEPROM or a flash ROM. The nonvolatile memory 28 stores a control program and various data according to the usage application of the IC card 20.

電源部31は、端末装置10の各部に電力を供給する。ICカード20が接触通信を行う構成を備える場合、電源部31は、通信部24のコンタクトパターンを介してカードリーダライタ15から供給される電力をICカード20の各部に供給する。   The power supply unit 31 supplies power to each unit of the terminal device 10. When the IC card 20 has a configuration for performing contact communication, the power supply unit 31 supplies power supplied from the card reader / writer 15 to each unit of the IC card 20 via the contact pattern of the communication unit 24.

また、ICカード20が非接触通信を行う構成を備える場合、カードリーダライタ15のアンテナから送信される電波、特にキャリア波に基づいて電力を生成する。さらに、電源部31は、動作クロックを生成する。電源部31は、発生させた電力及び動作クロックをICカード20の各部に電力を供給する。ICカード20の各部は、電力の供給を受けた場合、動作可能な状態になる。   In addition, when the IC card 20 has a configuration for performing contactless communication, power is generated based on radio waves transmitted from the antenna of the card reader / writer 15, particularly carrier waves. Furthermore, the power supply unit 31 generates an operation clock. The power supply unit 31 supplies the generated power and operation clock to each unit of the IC card 20. Each unit of the IC card 20 becomes operable when supplied with power.

ロジック部32は、演算処理をハードウエアにより行う演算部である。例えば、ロジック部32は、端末装置10からのコマンドに基づいて、暗号化、復号、及び乱数の生成などの処理を行う。例えば、端末装置10から相互認証コマンドを受信する場合、ロジック部32は、乱数を生成し、生成した乱数をCPU25に伝送する。   The logic unit 32 is an arithmetic unit that performs arithmetic processing by hardware. For example, the logic unit 32 performs processing such as encryption, decryption, and random number generation based on a command from the terminal device 10. For example, when receiving a mutual authentication command from the terminal device 10, the logic unit 32 generates a random number and transmits the generated random number to the CPU 25.

ICカード20は、一次発行と二次発行とにより発行される。端末装置10は、一次発行において、ICカード20の不揮発性メモリ28に種々のデータを格納する為のファイルを創成する。これにより、不揮発性メモリ28には、Master File(MF)、Dedicated File(DF)、及びElementary File(EF)などが創成される。   The IC card 20 is issued by primary issue and secondary issue. In the primary issue, the terminal device 10 creates a file for storing various data in the nonvolatile memory 28 of the IC card 20. Thus, a master file (MF), a dedicated file (DF), an elementary file (EF), and the like are created in the nonvolatile memory 28.

MFは、ファイル構造の根幹となるファイルである。DFは、MFの下位に創成される。DFは、アプリケーションなどをグループ化して格納するファイルである。EFは、DFの下位に創成される。EFは、様々なデータを格納するためのファイルである。また、MFの直下にEFが置かれる場合もある。   The MF is a file that is the basis of the file structure. The DF is created below the MF. A DF is a file that stores applications in groups. EF is created below DF. The EF is a file for storing various data. In some cases, an EF is placed directly under the MF.

EFには、Working Elementary File(WEF)とInternal Elementary File(IEF)などの種類がある。WEFは、作業用EFであり、個人情報などを格納する。IEFは、内部EFであり、例えば、セキュリティのための暗号鍵(暗証番号)などのデータを記憶する。   There are various types of EFs, such as a Working Elementary File (WEF) and an Internal Elementary File (IEF). The WEF is a working EF and stores personal information and the like. The IEF is an internal EF and stores data such as an encryption key (password) for security.

二次発行では、EFに例えば顧客データなどの個別データが格納される。これにより、ICカード20が運用可能な状態になる。   In the secondary issue, individual data such as customer data is stored in the EF. Thereby, the IC card 20 becomes operable.

なお、本実施形態では、ICカード20の不揮発性メモリ28内には、一次発行の段階で上記したアプリケーションが格納される。   In the present embodiment, the application described above is stored in the nonvolatile memory 28 of the IC card 20 at the primary issue stage.

図3は、不揮発性メモリ28の領域分割の例を示す。不揮発性メモリ28の記憶領域は、システム領域とアプリケーション領域とに二分される。システム領域には、不揮発性メモリ28に登録されているアプリケーションのファイル名(DF name)を示す情報と、このファイルが格納されている位置(アドレス)を示す情報とが格納される。アプリケーション領域には、上記したようなMF、DF及びEFなどのファイル構造が格納されている。   FIG. 3 shows an example of area division of the nonvolatile memory 28. The storage area of the nonvolatile memory 28 is divided into a system area and an application area. In the system area, information indicating the file name (DF name) of the application registered in the nonvolatile memory 28 and information indicating the position (address) where the file is stored are stored. The application area stores file structures such as MF, DF, and EF as described above.

図4は、システム領域に格納されているデータの例を示す。図4により示されるように、システム領域には、各DF毎に、DF name及びこのDFが格納されているアドレスを示すポインタが対応付けられたテーブル(登録アプリケーションテーブル)28aが記憶されている。   FIG. 4 shows an example of data stored in the system area. As shown in FIG. 4, the system area stores a table (registered application table) 28a in which a DF name and a pointer indicating an address storing the DF are associated with each DF.

この例によると、不揮発性メモリ28には、アプリケーション1(APL1)乃至アプリケーション4(APL4)が格納されている。APL1を格納しているDF1は、不揮発性メモリ28のアドレス「10000」に記憶されている。アプリケーション2(APL2)を格納しているDF2は、不揮発性メモリ28のアドレス「20000」に記憶されている。アプリケーション3(APL3)を格納しているDF3は、不揮発性メモリ28のアドレス「30000」に記憶されている。APL4を格納しているDF4は、不揮発性メモリ28のアドレス「40000」に記憶されている。   According to this example, the nonvolatile memory 28 stores application 1 (APL1) to application 4 (APL4). DF1 storing APL1 is stored at address “10000” of the nonvolatile memory 28. The DF 2 storing the application 2 (APL 2) is stored at the address “20000” of the nonvolatile memory 28. The DF 3 storing the application 3 (APL 3) is stored at the address “30000” of the nonvolatile memory 28. The DF 4 storing the APL 4 is stored at the address “40000” of the nonvolatile memory 28.

図5は、アプリケーション領域の例を示す。図5により示されているように、アプリケーション領域は、ファイル構造の根幹となるMF、アプリケーションなどをグループ化して格納するDF、及び種々のデータを格納するためのEFが記憶されている。この例によると、MF281の下位として、EF282、DF283、DF284、DF285、及びDF286が格納されている。また、DF283の下位には、EF2831、EF2832・・・が格納されている。DF284の下位には、EF2841、EF2842・・・が格納されている。DF285の下位には、EF2851、EF2852・・・が格納されている。DF286の下位には、EF2861、EF2862・・・が格納されている。   FIG. 5 shows an example of the application area. As shown in FIG. 5, the application area stores an MF that forms the basis of a file structure, a DF that stores applications in groups, and an EF that stores various data. According to this example, EF282, DF283, DF284, DF285, and DF286 are stored as subordinates of the MF281. Further, EF2831, EF2832,... Are stored in the lower order of DF283. EF2841, EF2842,... Are stored below the DF284. EF2851, EF2852,... Are stored below the DF285. EF2861, EF2862,... Are stored below the DF286.

DF283は、APL1を格納しているDFである。即ち、DF283は、上記のDF1に対応する。DF284は、APL2を格納しているDFである。即ち、DF284は、上記のDF2に対応する。DF285は、APL3を格納しているDFである。即ち、DF285は、上記のDF3に対応する。DF286は、APL4を格納しているDFである。即ち、DF286は、上記のDF4に対応する。   The DF 283 is a DF that stores APL1. That is, DF283 corresponds to the above DF1. The DF 284 is a DF that stores APL2. That is, DF284 corresponds to DF2 described above. The DF 285 is a DF that stores APL3. That is, DF285 corresponds to the above DF3. The DF 286 is a DF that stores the APL4. That is, DF286 corresponds to the above DF4.

DF283乃至DF286には、それぞれ格納しているアプリケーションを識別する為のDF nameが付与されている。即ち、DF283には、DF nameとして「APL1」が付与されている。また、DF284には、DF nameとして「APL2」が付与されている。また、DF285には、DF nameとして「APL3」が付与されている。また、DF286には、DF nameとして「APL4」が付与されている。   The DF 283 to DF 286 are assigned a DF name for identifying each stored application. In other words, “APL1” is assigned to DF283 as the DF name. In addition, “APL2” is assigned to the DF284 as the DF name. In addition, “APL3” is assigned to DF285 as the DF name. Also, “APL4” is assigned to DF286 as the DF name.

図6は、端末装置10から送信されるコマンドの例を示す。
図6により示されるように、端末装置10がICカード20に送信するコマンドは、「CLA」、「INS」、「P1」、「P2」、「Lc」、「Data」、及び「Le」などのフィールドを有する。
FIG. 6 shows an example of a command transmitted from the terminal device 10.
As shown in FIG. 6, commands transmitted from the terminal device 10 to the IC card 20 include “CLA”, “INS”, “P1”, “P2”, “Lc”, “Data”, “Le”, and the like. Field.

「CLA」は、コマンドの種別を示すclass byteである。「INS」は、コマンドの種別を示すinstruction byteである。「P1」及び「P2」は、「INS」に応じたパラメータを示すparameter byteである。「P1」及び「P2」は、例えばmコマンドオプション指定を示す。   “CLA” is a class byte indicating the type of command. “INS” is an instruction byte indicating the type of command. “P1” and “P2” are parameter bytes indicating parameters according to “INS”. “P1” and “P2” indicate, for example, m command option designation.

「Lc」は、「Data」のデータの長さ(バイト数)を示すlength field for cording number Ncである。「Data」は、当該コマンドのデータ本体を示すcommand data fieldである。「Data」は、例えば、当該コマンドに基づくコマンド処理で使用されるデータなどを格納する。「Le」は、当該コマンドに対するレスポンスのデータ長(最大長)を示すlength field for cording number Neである。   “Lc” is a length field for coding number Nc indicating the length (number of bytes) of data of “Data”. “Data” is a command data field indicating the data body of the command. “Data” stores, for example, data used in command processing based on the command. “Le” is a length field for coding number Ne indicating a data length (maximum length) of a response to the command.

即ち、「CLA」及び「INS」により、当該コマンドの種類が示される。ICカード20は、受信したコマンドの「CLA」及び「INS」の値を解析することにより、受信したコマンドの種類を認識する。   That is, “CLA” and “INS” indicate the type of the command. The IC card 20 recognizes the type of the received command by analyzing the “CLA” and “INS” values of the received command.

端末装置10は、アプリケーションを選択する為のコマンド(セレクトコマンド)をICカード20に送信する。なお、端末装置10は、選択するアプリケーションを示す情報をセレクトコマンドのDataフィールドに格納する。例えば、端末装置10は、選択するアプリケーションが格納されているDFのDF nameをセレクトコマンドのDataフィールドに格納する。   The terminal device 10 transmits a command (select command) for selecting an application to the IC card 20. The terminal device 10 stores information indicating the application to be selected in the Data field of the select command. For example, the terminal apparatus 10 stores the DF name of the DF storing the application to be selected in the Data field of the select command.

ICカード20は、コマンドを受信した場合、受信したコマンドの「CLA」及び「INS」の値を解析することにより、受信したコマンドがセレクトコマンドであることを認識する。受信したコマンドがセレクトコマンドである場合、ICカード20は、受信したセレクトコマンドのDataフィールドを参照することにより、DF nameを取得する。   When receiving a command, the IC card 20 recognizes that the received command is a select command by analyzing the values of “CLA” and “INS” of the received command. When the received command is a select command, the IC card 20 acquires the DF name by referring to the Data field of the received select command.

ICカード20は、Dataフィールドの値、即ちDF nameと、登録アプリケーションテーブル28aのDF nameとを比較し、一致するものを検索する。例えば、セレクトコマンドのDataフィールドの値が「APL1」である場合、ICカード20は、一致するアプリケーションが不揮発性メモリ28に存在し、DF nameが「APL1」であるDFのアドレスが「10000」であることを認識する。即ち、ICカード20は、登録アプリケーションテーブル28aを参照し、セレクトコマンドのDataフィールドの値に対応するアドレスを読み出す。   The IC card 20 compares the value of the Data field, that is, the DF name with the DF name of the registered application table 28a, and searches for a match. For example, when the value of the Data field of the select command is “APL1”, the IC card 20 has a matching application in the nonvolatile memory 28, and the address of the DF whose DF name is “APL1” is “10000”. Recognize that there is. That is, the IC card 20 reads the address corresponding to the value of the Data field of the select command with reference to the registered application table 28a.

図7は、RAM27に格納されるデータの例を示す。図7により示されるように、RAM27は、カレントDFポインタ271と、ネクストDFポインタ272とを格納する。カレントDFポインタ271及びネクストDFポインタ272は、DFのアドレスに対応する値が設定される記憶領域を有する。ICカード20は、現在選択しているDFのアドレスをカレントDFポインタ271に設定する。また、ICカード20は、次に実行するアプリケーション(後続アプリケーション)が格納されているDFのアドレスをネクストDFポインタ272に設定する。   FIG. 7 shows an example of data stored in the RAM 27. As shown in FIG. 7, the RAM 27 stores a current DF pointer 271 and a next DF pointer 272. The current DF pointer 271 and the next DF pointer 272 have storage areas in which values corresponding to DF addresses are set. The IC card 20 sets the address of the currently selected DF in the current DF pointer 271. Further, the IC card 20 sets the address of the DF storing the application to be executed next (subsequent application) in the next DF pointer 272.

ICカード20は、セレクトコマンドを受信した場合、受信したセレクトコマンドのDataフィールドの値と一致するDF nameに対応付けられているアドレスを読み出す。ICカード20は、読み出したアドレスをカレントDFポインタ271に設定する。これにより、ICカード20は、このアドレスに格納されているDFを選択した状態になる。   When receiving the select command, the IC card 20 reads the address associated with the DF name that matches the value of the Data field of the received select command. The IC card 20 sets the read address in the current DF pointer 271. As a result, the IC card 20 enters a state where the DF stored at this address is selected.

図8は、システム領域に格納されているデータの例を示す。図8により示されるように、システム領域には、DF name毎に最終コマンドの種別、及び次に選択するアプリケーション(後続アプリケーション)が格納されているDFのアドレスが対応付けられたテーブル(後続アプリケーションテーブル)28bが記憶されている。   FIG. 8 shows an example of data stored in the system area. As shown in FIG. 8, in the system area, a table (successive application table) in which the type of the last command and the address of the DF storing the application (subsequent application) to be selected next are associated with each DF name. ) 28b is stored.

この例によると、最終コマンドとしてXYZコマンドと、アドレスとしてAPL3が格納されているDFのアドレス「30000」とがAPL1に対応付けられている。また、最終コマンドとしてABCコマンドと、アドレスとしてAPL4が格納されているDFのアドレス「40000」とがAPL2に対応付けられている。また、最終コマンドとしてLMNコマンドと、アドレスとしてAPL2が格納されているDFのアドレス「20000」とがAPL3に対応付けられている。   According to this example, the XYZ command as the final command and the address “30000” of the DF storing APL3 as the address are associated with APL1. Further, the ABC command as the final command and the address “40000” of the DF storing APL4 as the address are associated with APL2. Also, the LMN command as the final command and the DF address “20000” in which APL2 is stored as the address are associated with APL3.

ICカード20は、あるDFを選択した場合、選択中のDFのDF nameに対応付けられているアドレスを後続アプリケーションテーブル28bから読み出す。ICカード20は、読み出したアドレスをネクストDFポインタ272に設定する。これにより、ICカード20は、次に実行するアプリケーションが格納されているDFのアドレスをRAM27上に読み出すことが出来る。   When a certain DF is selected, the IC card 20 reads the address associated with the DF name of the selected DF from the subsequent application table 28b. The IC card 20 sets the read address in the next DF pointer 272. Thereby, the IC card 20 can read the address of the DF storing the application to be executed next on the RAM 27.

また、ICカード20は、あるDFを選択している場合、端末装置10からコマンドを受信する毎に、受信したコマンドが実行中のアプリケーションの最終コマンドであるか否か判断する。ICカード20は、後続アプリケーションテーブル28bを参照し、受信したコマンドの種類と、選択しているDFのDF nameに対応付けられている最終コマンドの種類とが一致するか判断する。ICカード20は、受信したコマンドの種類と、選択しているDFのDF nameに対応付けられている最終コマンドの種類とが一致する場合、実行中のアプリケーションにおける最終コマンドを受信したと判断する。   Further, when a certain DF is selected, the IC card 20 determines whether or not the received command is the final command of the application being executed each time a command is received from the terminal device 10. The IC card 20 refers to the subsequent application table 28b, and determines whether or not the received command type matches the final command type associated with the DF name of the selected DF. If the received command type matches the final command type associated with the DF name of the selected DF, the IC card 20 determines that the final command in the application being executed has been received.

ICカード20は、最終コマンドを受信した場合、最終コマンドに応じた処理を実行し、レスポンスを端末装置10に送信する。さらに、ICカード20は、ネクストDFポインタ272の値をカレントDFポインタ271に上書きする。これにより、ICカード20は、後続アプリケーションを続けて選択することができる。   When receiving the final command, the IC card 20 executes processing according to the final command and transmits a response to the terminal device 10. Further, the IC card 20 overwrites the current DF pointer 271 with the value of the next DF pointer 272. As a result, the IC card 20 can continuously select subsequent applications.

またさらに、ICカード20は、選択したDFのDF nameに対応付けられているアドレスを後続アプリケーションテーブル28bから読み出す。ICカード20は、読み出したアドレスをネクストDFポインタ272に上書きする。これにより、ICカード20は、さらに次に実行するアプリケーションが格納されているDFのアドレスをRAM27上に読み出すことが出来る。   Furthermore, the IC card 20 reads the address associated with the DF name of the selected DF from the subsequent application table 28b. The IC card 20 overwrites the next DF pointer 272 with the read address. Thereby, the IC card 20 can read out the address of the DF storing the application to be executed next on the RAM 27.

上記した処理により、ICカード20は、逐次セレクトコマンドを端末装置10から受信することなく、後続のアプリケーションを実行することが出来る。図8により示される例によると、ICカード20は、APL1―APL3―APL2―APL4の順にアプリケーションを実行することができる。   Through the processing described above, the IC card 20 can execute subsequent applications without sequentially receiving select commands from the terminal device 10. According to the example shown by FIG. 8, the IC card 20 can execute applications in the order of APL1-APL3-APL2-APL4.

図9は、端末装置10とICカード20との間で送受信されるコマンド及びレスポンスの例を示す。なお、ICカード20は、図4により示された登録アプリケーションテーブル28aと、図8により示された後続アプリケーションテーブル28bとを記憶しているとする。   FIG. 9 shows an example of commands and responses transmitted / received between the terminal device 10 and the IC card 20. Note that the IC card 20 stores the registered application table 28a shown in FIG. 4 and the subsequent application table 28b shown in FIG.

まず、端末装置10は、DF nameとしてAPL1が指定されたセレクトコマンドを生成し、ICカード20に送信する(ステップS11)。   First, the terminal device 10 generates a select command in which APL1 is designated as the DF name and transmits it to the IC card 20 (step S11).

ICカード20は、登録アプリケーションテーブル28aを参照し、APL1に対応付けられているアドレス「10000」を読み出し、カレントDFポインタ271に格納する。さらに、ICカード20は、セレクトコマンドの処理結果に基づいてレスポンスを生成し、端末装置10に送信する(ステップS12)。また、この場合、ICカード20は、後続アプリケーションテーブル28bを参照し、APL1に対応付けられている後続アプリケーションが格納されているDFのアドレス「30000」を読み出し、ネクストDFポインタ272に格納する。   The IC card 20 reads the address “10000” associated with APL 1 with reference to the registered application table 28 a and stores it in the current DF pointer 271. Furthermore, the IC card 20 generates a response based on the processing result of the select command and transmits it to the terminal device 10 (step S12). Also, in this case, the IC card 20 refers to the subsequent application table 28 b, reads the DF address “30000” in which the subsequent application associated with APL 1 is stored, and stores it in the next DF pointer 272.

端末装置10は、ICカード20から送信されたレスポンスを解析することにより、ICカード20においてAPL1が選択されたか否かを認識することができる。さらに、端末装置10は、アプリケーション1に応じたコマンドをICカード20に送信することにより、ICカード20に処理を実行させる。例えば、端末装置10は、アプリケーション1のコマンドAをICカード20に送信する(ステップS13)。   The terminal device 10 can recognize whether or not APL1 is selected in the IC card 20 by analyzing the response transmitted from the IC card 20. Furthermore, the terminal device 10 causes the IC card 20 to execute processing by transmitting a command corresponding to the application 1 to the IC card 20. For example, the terminal device 10 transmits the command A of the application 1 to the IC card 20 (Step S13).

ICカード20は、アプリケーション1のコマンドAに応じた処理を実行し、処理結果に基づくレスポンスを端末装置10に送信する(ステップS14)。   The IC card 20 executes processing according to the command A of the application 1, and transmits a response based on the processing result to the terminal device 10 (step S14).

さらに、端末装置10は、アプリケーション1のコマンドBをICカード20に送信する(ステップS15)。   Furthermore, the terminal device 10 transmits the command B of the application 1 to the IC card 20 (step S15).

ICカード20は、アプリケーション1のコマンドBに応じた処理を実行し、処理結果に基づくレスポンスを端末装置10に送信する(ステップS16)。   The IC card 20 executes processing according to the command B of the application 1 and transmits a response based on the processing result to the terminal device 10 (step S16).

さらに、端末装置10は、アプリケーション1の最終コマンドであるXYZコマンドをICカード20に送信する(ステップS17)。   Furthermore, the terminal device 10 transmits an XYZ command, which is the final command of the application 1, to the IC card 20 (step S17).

ICカード20は、XYZコマンドに応じた処理を実行し、処理結果に基づくレスポンスを端末装置10に送信する(ステップS18)。さらに、ICカード20は、ネクストDFポインタ272の値をカレントDFポインタ271に上書きする。またさらに、ICカード20は、選択したDFのDF nameに対応付けられているアドレスを後続アプリケーションテーブル28bから読み出す。ICカード20は、読み出したアドレスをネクストDFポインタ272に上書きする。この場合、ICカード20は、カレントDFポインタ271にアドレス「30000」を書き込み、ネクストDFポインタ272にアドレス「20000」を書き込む。   The IC card 20 executes processing according to the XYZ command, and transmits a response based on the processing result to the terminal device 10 (step S18). Further, the IC card 20 overwrites the current DF pointer 271 with the value of the next DF pointer 272. Furthermore, the IC card 20 reads the address associated with the DF name of the selected DF from the subsequent application table 28b. The IC card 20 overwrites the next DF pointer 272 with the read address. In this case, the IC card 20 writes the address “30000” to the current DF pointer 271 and writes the address “20000” to the next DF pointer 272.

端末装置10は、XYZコマンドに対するレスポンスが正常終了である場合、ICカード20において後続アプリケーションが正常に選択されたと判断する。即ち、この場合、端末装置10は、ICカード20においてAPL3が選択されたか否かを認識することができる。端末装置10は、アプリケーション3に応じたコマンドをICカード20に送信することにより、ICカード20に処理を実行させる。例えば、端末装置10は、アプリケーション3のコマンドAをICカード20に送信する(ステップS19)。   When the response to the XYZ command is normally completed, the terminal device 10 determines that the subsequent application has been normally selected in the IC card 20. That is, in this case, the terminal device 10 can recognize whether or not APL3 is selected in the IC card 20. The terminal device 10 causes the IC card 20 to execute processing by transmitting a command corresponding to the application 3 to the IC card 20. For example, the terminal device 10 transmits the command A of the application 3 to the IC card 20 (step S19).

ICカード20は、アプリケーション3のコマンドAに応じた処理を実行し、処理結果に基づくレスポンスを端末装置10に送信する(ステップS20)。   The IC card 20 executes processing according to the command A of the application 3 and transmits a response based on the processing result to the terminal device 10 (step S20).

さらに、端末装置10は、アプリケーション3のコマンドBをICカード20に送信する(ステップS21)。   Furthermore, the terminal device 10 transmits the command B of the application 3 to the IC card 20 (step S21).

ICカード20は、アプリケーション3のコマンドBに応じた処理を実行し、処理結果に基づくレスポンスを端末装置10に送信する(ステップS22)。   The IC card 20 executes processing according to the command B of the application 3 and transmits a response based on the processing result to the terminal device 10 (step S22).

さらに、端末装置10は、アプリケーション3の最終コマンドであるABCコマンドをICカード20に送信する(ステップS23)。   Furthermore, the terminal device 10 transmits an ABC command, which is the final command of the application 3, to the IC card 20 (step S23).

ICカード20は、ABCコマンドに応じた処理を実行し、処理結果に基づくレスポンスを端末装置10に送信する(ステップS24)。さらに、ICカード20は、ネクストDFポインタ272の値をカレントDFポインタ271に上書きする。またさらに、ICカード20は、選択したDFのDF nameに対応付けられているアドレスを後続アプリケーションテーブル28bから読み出す。ICカード20は、読み出したアドレスをネクストDFポインタ272に上書きする。この場合、ICカード20は、カレントDFポインタ271にアドレス「20000」を書き込み、ネクストDFポインタ272にアドレス「40000」を書き込む。   The IC card 20 executes processing according to the ABC command and transmits a response based on the processing result to the terminal device 10 (step S24). Further, the IC card 20 overwrites the current DF pointer 271 with the value of the next DF pointer 272. Furthermore, the IC card 20 reads the address associated with the DF name of the selected DF from the subsequent application table 28b. The IC card 20 overwrites the next DF pointer 272 with the read address. In this case, the IC card 20 writes the address “20000” in the current DF pointer 271 and the address “40000” in the next DF pointer 272.

端末装置10は、ABCコマンドに対するレスポンスが正常終了である場合、ICカード20において後続アプリケーションが正常に選択されたと判断する。即ち、この場合、端末装置10は、ICカード20においてAPL2が選択されたか否かを認識することができる。端末装置10は、アプリケーション2に応じたコマンドをICカード20に送信することにより、ICカード20に処理を実行させる。例えば、端末装置10は、アプリケーション2のコマンドAをICカード20に送信する(ステップS25)。   When the response to the ABC command is normally completed, the terminal device 10 determines that the subsequent application has been normally selected in the IC card 20. That is, in this case, the terminal device 10 can recognize whether or not APL2 is selected in the IC card 20. The terminal device 10 causes the IC card 20 to execute processing by transmitting a command corresponding to the application 2 to the IC card 20. For example, the terminal device 10 transmits the command A of the application 2 to the IC card 20 (step S25).

ICカード20は、アプリケーション2のコマンドAに応じた処理を実行し、処理結果に基づくレスポンスを端末装置10に送信する(ステップS26)。上記の例によると、ICカード20は、ステップS11乃至ステップS18においてアプリケーション1を選択している。また、ICカード20は、ステップS19乃至ステップS24においてアプリケーション3を選択している。また、ICカード20は、ステップS25以降においてアプリケーション2を選択している。   The IC card 20 executes processing according to the command A of the application 2 and transmits a response based on the processing result to the terminal device 10 (step S26). According to the above example, the IC card 20 has selected the application 1 in steps S11 to S18. In addition, the IC card 20 selects the application 3 in steps S19 to S24. Further, the IC card 20 has selected the application 2 after step S25.

これ以降、ICカード20と端末装置10との間で同様にコマンドレスポンスを行うことにより、端末装置10は、ICカード20にセレクトコマンドを送ることなく、アプリケーション1−アプリケーション3−アプリケーション2−アプリケーション4の順にICカード20により処理を実行させることができる。   Thereafter, by similarly performing a command response between the IC card 20 and the terminal device 10, the terminal device 10 does not send a select command to the IC card 20, and the application 1 -application 3 -application 2 -application 4. Processing can be executed by the IC card 20 in this order.

図10及び図11は、コマンドを受信した場合のICカード20の処理の例を示す。
ICカード20は、端末装置10から送信されたコマンドを受信する(ステップS31)。ICカード20は、受信したコマンドの解析を行う(ステップS32)。上記したように、ICカード20は、受信したコマンドのCLA及びINSの値を認識することにより、受信したコマンドの種別を認識することができる。
10 and 11 show an example of processing of the IC card 20 when a command is received.
The IC card 20 receives the command transmitted from the terminal device 10 (step S31). The IC card 20 analyzes the received command (step S32). As described above, the IC card 20 can recognize the type of the received command by recognizing the CLA and INS values of the received command.

ICカード20は、受信したコマンドがセレクトコマンドであるか否か判断する(ステップS33)。ICカード20は、受信したコマンドがセレクトコマンドである場合、セレクトコマンドのDataフィールドの値に基づいて指定されたDF nameを認識する。   The IC card 20 determines whether or not the received command is a select command (step S33). When the received command is a select command, the IC card 20 recognizes the DF name specified based on the value of the Data field of the select command.

さらに、ICカード20は、登録アプリケーションテーブル28aを参照する(ステップS34)。例えば、ICカード20は、登録アプリケーションテーブル28aに登録されているDFのうちの先頭のDFを参照する。   Further, the IC card 20 refers to the registered application table 28a (step S34). For example, the IC card 20 refers to the first DF among the DFs registered in the registered application table 28a.

ICカード20は、セレクトコマンドにより指定されたDF nameと参照中のDFのDF nameとが一致するか否か判定する(ステップS35)。   The IC card 20 determines whether or not the DF name specified by the select command matches the DF name of the referenced DF (step S35).

セレクトコマンドにより指定されたDF nameと参照中のDF nameとが一致する場合、ICカード20は、カレントDFポインタ271及びネクストDFポインタ272の値を更新する(ステップS36)。   If the DF name specified by the select command matches the DF name being referred to, the IC card 20 updates the values of the current DF pointer 271 and the next DF pointer 272 (step S36).

即ち、ICカード20は、登録アプリケーションテーブル28aの参照中のDFのアドレスを読み出し、カレントDFポインタ271に格納する。さらに、ICカード20は、後続アプリケーションテーブル28bを参照する。ICカード20は、後続アプリケーションテーブル28bにおいて、セレクトコマンドにより指定されたDF nameと一致するDF nameに対応付けられているアドレスを読み出し、ネクストDFポインタ272に格納する。   That is, the IC card 20 reads the address of the DF being referred to in the registered application table 28 a and stores it in the current DF pointer 271. Further, the IC card 20 refers to the subsequent application table 28b. The IC card 20 reads the address associated with the DF name that matches the DF name specified by the select command in the subsequent application table 28 b and stores it in the next DF pointer 272.

ICカード20は、上記の処理の結果に基づいて正常終了を示すレスポンスを生成し、端末装置10に送信し(ステップS37)、処理を終了する。   The IC card 20 generates a response indicating normal termination based on the result of the above processing, transmits it to the terminal device 10 (step S37), and terminates the processing.

また、ステップS35において、セレクトコマンドにより指定されたDF nameと参照中のDFのDF nameとが一致しない場合、参照中のDFが登録アプリケーションテーブル28aにおける最終行であるか否か判定する(ステップS38)。参照中のDFが登録アプリケーションテーブル28aにおける最終行である場合、ICカード20は、異常終了を示すレスポンスを生成し、端末装置10に送信し(ステップS39)、処理を終了する。この場合、ICカード20は、セレクトコマンドにより指定されたDF nameが不揮発性メモリ28に登録されていないと判断する。   If the DF name specified by the select command does not match the DF name of the referenced DF in step S35, it is determined whether the referenced DF is the last row in the registered application table 28a (step S38). ). When the DF being referred to is the last row in the registered application table 28a, the IC card 20 generates a response indicating abnormal termination, transmits the response to the terminal device 10 (step S39), and ends the processing. In this case, the IC card 20 determines that the DF name designated by the select command is not registered in the nonvolatile memory 28.

また、ステップS38において、参照中のDFが登録アプリケーションテーブル28aにおける最終行ではない場合、ICカード20は、次のDFを参照し(ステップS40)、ステップS35に移行する。即ち、ICカード20は、登録アプリケーションテーブル28aにおいて、参照中のDFの次の段のDFを参照する。これにより、ICカード20は、セレクトコマンドにより指定されたDF nameと一致するDF nameのDFを登録アプリケーションテーブル28aの中から検索することが出来る。   In step S38, when the DF being referred to is not the last row in the registered application table 28a, the IC card 20 refers to the next DF (step S40) and proceeds to step S35. That is, the IC card 20 refers to the DF at the next stage of the DF being referred to in the registered application table 28a. Thereby, the IC card 20 can search the registered application table 28a for the DF of the DF name that matches the DF name specified by the select command.

また、ステップS33において、受信したコマンドがセレクトコマンドではないと判定した場合、ICカード20は、図11により示されるステップS41に移行する。この場合、受信したコマンドは、READ、WRITE、APEND、または他の処理をICカード20に実行させる為のコマンドである。ICカード20は、受信したコマンドのCLA及びINSの値に応じてコマンドの種別を認識し、認識したコマンド種別に応じた処理を実行する(ステップS41)。   If it is determined in step S33 that the received command is not a select command, the IC card 20 proceeds to step S41 shown in FIG. In this case, the received command is a command for causing the IC card 20 to execute READ, WRITE, APEND, or other processing. The IC card 20 recognizes the command type according to the CLA and INS values of the received command, and executes processing according to the recognized command type (step S41).

ICカード20は、受信したコマンドに応じた処理が正常終了したか否か判定する(ステップS42)。受信したコマンドに応じた処理が正常終了した場合、ICカード20は、受信したコマンドのCLA及びINSが最終コマンドのCLA及びINSと一致するか否か判定する(ステップS43)。   The IC card 20 determines whether or not the processing corresponding to the received command has been completed normally (step S42). When the processing according to the received command is normally completed, the IC card 20 determines whether or not the CLA and INS of the received command match the CLA and INS of the final command (step S43).

ICカード20は、後続アプリケーションテーブル28bを参照することにより、受信したコマンドのコマンド種別が、選択中のDFのDF nameに対応付けられている最終コマンド種別と一致するか否か判定する。即ち、ICカード20は、後続アプリケーションテーブル28bにおいて、カレントDFポインタ271が示すDFのDF nameに対応付けられている最終コマンドのコマンド種別を読み出し、受信したコマンドのコマンド種別と一致するか否か判定する。   The IC card 20 determines whether or not the command type of the received command matches the final command type associated with the DF name of the selected DF by referring to the subsequent application table 28b. That is, the IC card 20 reads the command type of the last command associated with the DF name of the DF indicated by the current DF pointer 271 in the subsequent application table 28b, and determines whether or not it matches the command type of the received command. To do.

受信したコマンドのCLA及びINSと最終コマンドのCLA及びINSとが一致する場合、ICカード20は、カレントDFポインタ271及びネクストDFポインタ272の値を更新する(ステップS44)。   If the CLA and INS of the received command match the CLA and INS of the final command, the IC card 20 updates the values of the current DF pointer 271 and the next DF pointer 272 (step S44).

即ち、ICカード20は、ネクストDFポインタ272の値をカレントDFポインタ271に上書きする。またさらに、ICカード20は、選択したDFのDF nameに対応付けられているアドレスを後続アプリケーションテーブル28bから読み出す。ICカード20は、読み出したアドレスをネクストDFポインタ272に上書きする。   That is, the IC card 20 overwrites the current DF pointer 271 with the value of the next DF pointer 272. Furthermore, the IC card 20 reads the address associated with the DF name of the selected DF from the subsequent application table 28b. The IC card 20 overwrites the next DF pointer 272 with the read address.

ICカード20は、上記の処理の結果に基づいて正常終了を示すレスポンスを生成し、端末装置10に送信し(ステップS45)、処理を終了する。   The IC card 20 generates a response indicating normal termination based on the result of the above processing, transmits it to the terminal device 10 (step S45), and terminates the processing.

また、ステップS43において、受信したコマンドのCLA及びINSと最終コマンドのCLA及びINSとが一致しない場合、ICカード20は、ステップS45に移行する。   In step S43, if the received command CLA and INS do not match the last command CLA and INS, the IC card 20 proceeds to step S45.

またさらに、ステップS42において、受信したコマンドに応じた処理が正常に実行できなかった場合、ICカード20は、異常終了を示すレスポンスを生成し、端末装置10に送信し(ステップS46)、処理を終了する。   Furthermore, in step S42, when the process according to the received command cannot be executed normally, the IC card 20 generates a response indicating abnormal termination and transmits it to the terminal device 10 (step S46). finish.

上記したように、ICカード20は、不揮発性メモリ28に複数のアプリケーションを記憶する。さらに、ICカード20は、この複数のアプリケーションの実行順序を示す情報として、後続アプリケーションテーブル28bを不揮発性メモリ28に記憶する。ICカード20は、アプリケーション選択中に、このアプリケーションにおける最終コマンドを端末装置10から受信した場合、受信した最終コマンドに基づいて処理を実行し、レスポンスを端末装置10に送信し、後続アプリケーションテーブル28bに基づいて次に実行すべきアプリケーションを選択する。   As described above, the IC card 20 stores a plurality of applications in the nonvolatile memory 28. Further, the IC card 20 stores a subsequent application table 28b in the nonvolatile memory 28 as information indicating the execution order of the plurality of applications. When the IC card 20 receives a final command in this application from the terminal device 10 during application selection, the IC card 20 executes processing based on the received final command, transmits a response to the terminal device 10, and stores the response in the subsequent application table 28b. Based on this, the next application to be executed is selected.

これにより、ICカード20は、端末装置10から逐次アプリケーションを選択するためのセレクトコマンドを受信することなく、後続のアプリケーションを実行することが出来る。これにより、ICカード20は、セレクトコマンド及びレスポンスに要する時間を短縮することができる。この結果、より効率的に処理を実行するICカード、携帯可能電子装置、及びICカードの制御方法を提供することができる。   Accordingly, the IC card 20 can execute subsequent applications without receiving a select command for sequentially selecting applications from the terminal device 10. Thereby, the IC card 20 can shorten the time required for the select command and the response. As a result, it is possible to provide an IC card, a portable electronic device, and an IC card control method that execute processing more efficiently.

なお、上記した実施形態では、ICカード20は、受信したコマンドのCLA及びINSと、最終コマンドのCLA及びINSとを比較することにより、受信したコマンドが選択中のアプリケーションの最終コマンドであるか否か判定する構成として説明したが、この構成に限定されない。端末装置10が、当該コマンドが最終コマンドであることを示す情報をコマンドに付加する構成であってもよい。   In the embodiment described above, the IC card 20 compares the received command CLA and INS with the final command CLA and INS to determine whether the received command is the final command of the selected application. However, the present invention is not limited to this configuration. The terminal device 10 may be configured to add information indicating that the command is the final command to the command.

端末装置10は、ICカード20により選択されているアプリケーションの最終コマンドを生成する場合、コマンドフォーマットに当該コマンドが最終コマンドであることを示す情報を付加する。例えば、端末装置10は、コマンドの「P1」、または「P2」の値により、当該コマンドが最終コマンドであることをICカード20に伝える。また、端末装置10は、Dataフィールドの所定の位置のビットの論理値により当該コマンドが最終コマンドである否かをICカード20に伝える構成であってもよい。   When the terminal device 10 generates the final command of the application selected by the IC card 20, the terminal device 10 adds information indicating that the command is the final command to the command format. For example, the terminal device 10 notifies the IC card 20 that the command is the final command by the value of the command “P1” or “P2”. Further, the terminal device 10 may be configured to transmit to the IC card 20 whether or not the command is the final command based on the logical value of the bit at a predetermined position in the Data field.

この場合、ICカード20は、受信したコマンドの「P1」、「P2」、または「Data」の所定の位置の論理値に基づいて、受信したコマンドが選択中のアプリケーションにおける最終コマンドであるか否か判定する。ICカード20は、受信したコマンドが最終コマンドである場合、図11に示したステップS44と同様に、カレントDFポインタ271及びネクストDFポインタ272の値を更新する。   In this case, the IC card 20 determines whether the received command is the final command in the selected application based on the logical value at a predetermined position of “P1”, “P2”, or “Data” of the received command. To determine. When the received command is the final command, the IC card 20 updates the values of the current DF pointer 271 and the next DF pointer 272, as in step S44 shown in FIG.

この構成によると、1つのアプリケーション選択中に、同じコマンド種別のコマンドが複数端末装置10から送信される場合であっても、ICカード20は、受信したコマンドが最終コマンドであるか否かを判別することが出来る。   According to this configuration, even when a command of the same command type is transmitted from a plurality of terminal devices 10 during selection of one application, the IC card 20 determines whether or not the received command is the final command. I can do it.

また、上記した実施形態では、ICカード20は、選択中のDFを示すカレントDFポインタ271と、次に選択するDFを示すネクストDFポインタ272とを備える構成として説明したが、この構成に限定されない。ICカード20は、少なくともカレントDFポインタ271を備える構成であればよい。ICカード20は、後続アプリケーションを選択する場合、後続アプリケーションテーブル28bからアドレスを読み出し、直接カレントDFポインタ271に書き込む。この構成によっても、上記の実施形態と同様の効果を実現することができる。   In the above-described embodiment, the IC card 20 has been described as including the current DF pointer 271 indicating the currently selected DF and the next DF pointer 272 indicating the DF to be selected next. However, the present invention is not limited to this configuration. . The IC card 20 may be configured to include at least the current DF pointer 271. When selecting the subsequent application, the IC card 20 reads the address from the subsequent application table 28 b and directly writes it in the current DF pointer 271. Also with this configuration, the same effect as the above-described embodiment can be realized.

なお、上述の各実施の形態で説明した機能は、ハードウエアを用いて構成するに留まらず、ソフトウエアを用いて各機能を記載したプログラムをコンピュータに読み込ませて実現することもできる。また、各機能は、適宜ソフトウエア、ハードウエアのいずれかを選択して構成するものであっても良い。   It should be noted that the functions described in the above embodiments are not limited to being configured using hardware, but can be realized by causing a computer to read a program describing each function using software. Each function may be configured by appropriately selecting either software or hardware.

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

1…ICカード処理システム、10…端末装置、11…CPU、12…ROM、13…RAM、14…不揮発性メモリ、15…カードリーダライタ、17…操作部、18…ディスプレイ、19…電源部、20…ICカード、21…本体、22…ICモジュール、23…ICチップ、24…通信部、25…CPU、26…ROM、27…RAM、28…不揮発性メモリ、31…電源部、32…ロジック部、28a…登録アプリケーションテーブル、28b…後続アプリケーションテーブル、271…カレントDFポインタ、272…ネクストDFポインタ。   DESCRIPTION OF SYMBOLS 1 ... IC card processing system, 10 ... Terminal device, 11 ... CPU, 12 ... ROM, 13 ... RAM, 14 ... Non-volatile memory, 15 ... Card reader / writer, 17 ... Operation part, 18 ... Display, 19 ... Power supply part, DESCRIPTION OF SYMBOLS 20 ... IC card, 21 ... Main body, 22 ... IC module, 23 ... IC chip, 24 ... Communication part, 25 ... CPU, 26 ... ROM, 27 ... RAM, 28 ... Non-volatile memory, 31 ... Power supply part, 32 ... Logic , 28a ... registered application table, 28b ... subsequent application table, 271 ... current DF pointer, 272 ... next DF pointer.

Claims (7)

外部機器から送信されたコマンドに応じて処理を実行するICカードであって、
複数のアプリケーションを記憶する第1の記憶手段と、
前記外部機器から送信されたコマンドを受信する受信手段と、
前記受信手段により受信した前記コマンドに基づいて前記第1の記憶手段により記憶されている前記アプリケーションを実行し、処理を行う処理手段と、
前記コマンドが前記アプリケーションの最終コマンドであるか否か判定する判定手段と、
前記判定手段により最終コマンドであると判定された場合、予め設定されたアプリケーションの実行順序に基づいて次に実行するアプリケーションを特定し、特定した前記アプリケーションを実行するように前記処理手段を制御する制御手段と、
を具備するICカード。
An IC card that executes processing in response to a command transmitted from an external device,
First storage means for storing a plurality of applications;
Receiving means for receiving a command transmitted from the external device;
Processing means for executing and executing the application stored in the first storage means based on the command received by the receiving means;
Determining means for determining whether the command is a final command of the application;
Control for controlling the processing unit to specify the next application to be executed based on the preset execution order of the application when the determination unit determines that the command is the final command, and to execute the specified application Means,
IC card comprising:
前記判定手段は、前記コマンドが有するコマンド種別が予め設定されたコマンド種別である場合、前記コマンドが最終コマンドであると判定する、請求項1に記載のICカード。   The IC card according to claim 1, wherein the determination unit determines that the command is a final command when a command type of the command is a preset command type. 前記判定手段は、前記コマンドが最終コマンドあることを示す情報を有する場合、前記コマンドが最終コマンドであると判定する、請求項1に記載のICカード。   The IC card according to claim 1, wherein the determination unit determines that the command is a final command when the command includes information indicating that the command is a final command. 前記複数のアプリケーションの実行順序を示す情報を記憶する第2の記憶手段をさらに具備し、
前記制御手段は、前記判定手段により最終コマンドであると判定された場合、前記第2の記憶手段により記憶されている実行順序を示す情報に基づいて次に実行するアプリケーションを特定し、特定した前記アプリケーションを実行するように前記処理手段を制御する、
請求項1に記載のICカード。
Further comprising second storage means for storing information indicating an execution order of the plurality of applications,
The control means specifies the application to be executed next based on the information indicating the execution order stored in the second storage means when the determination means determines that the command is the final command, and specifies the specified application Controlling said processing means to execute an application;
The IC card according to claim 1.
前記各手段を備えるICモジュールと、
前記ICモジュールが配設される本体と、
を具備する請求項1に記載のICカード。
An IC module comprising the above means;
A main body on which the IC module is disposed;
The IC card according to claim 1, comprising:
外部機器から送信されたコマンドに応じて処理を実行する携帯可能電子装置であって、
複数のアプリケーションを記憶する記憶手段と、
前記外部機器から送信されたコマンドを受信する受信手段と、
前記受信手段により受信した前記コマンドに基づいて前記記憶手段により記憶されている前記アプリケーションを実行し、処理を行う処理手段と、
前記コマンドが前記アプリケーションの最終コマンドであるか否か判定する判定手段と、
前記判定手段により最終コマンドであると判定された場合、予め設定されたアプリケーションの実行順序に基づいて次に実行するアプリケーションを特定し、特定した前記アプリケーションを実行するように前記処理手段を制御する制御手段と、
を具備する携帯可能電子装置。
A portable electronic device that executes processing in response to a command transmitted from an external device,
Storage means for storing a plurality of applications;
Receiving means for receiving a command transmitted from the external device;
Processing means for executing the application stored in the storage means based on the command received by the receiving means, and performing processing;
Determining means for determining whether the command is a final command of the application;
Control for controlling the processing unit to specify the next application to be executed based on the preset execution order of the application when the determination unit determines that the command is the final command, and to execute the specified application Means,
A portable electronic device comprising:
複数のアプリケーションを記憶する記憶手段を具備し、外部機器から送信されたコマンドに応じて処理を実行するICカードの制御方法であって、
前記外部機器から送信されたコマンドを受信し、
受信した前記コマンドに基づいて前記記憶手段により記憶されている前記アプリケーションを実行し、処理を行い、
前記コマンドが前記アプリケーションの最終コマンドであるか否か判定し、
前記コマンドが最終コマンドであると判定された場合、予め設定されたアプリケーションの実行順序に基づいて次に実行するアプリケーションを特定し、特定した前記アプリケーションを実行するように制御する、
ICカードの制御方法。
An IC card control method comprising a storage means for storing a plurality of applications, and executing processing in response to a command transmitted from an external device,
Receiving a command transmitted from the external device;
Based on the received command, execute the application stored in the storage means, perform processing,
Determining whether the command is the final command of the application;
When it is determined that the command is the final command, the application to be executed next is specified based on a preset execution order of the applications, and the specified application is controlled to be executed.
IC card control method.
JP2011207099A 2011-09-22 2011-09-22 Ic card, portable electronic device and ic card control method Pending JP2013069108A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011207099A JP2013069108A (en) 2011-09-22 2011-09-22 Ic card, portable electronic device and ic card control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011207099A JP2013069108A (en) 2011-09-22 2011-09-22 Ic card, portable electronic device and ic card control method

Publications (1)

Publication Number Publication Date
JP2013069108A true JP2013069108A (en) 2013-04-18

Family

ID=48474756

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011207099A Pending JP2013069108A (en) 2011-09-22 2011-09-22 Ic card, portable electronic device and ic card control method

Country Status (1)

Country Link
JP (1) JP2013069108A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000155819A (en) * 1998-11-20 2000-06-06 Dainippon Printing Co Ltd Ic card
JP2003030609A (en) * 2001-07-12 2003-01-31 Dainippon Printing Co Ltd Portable information processor
JP2003303362A (en) * 2002-04-08 2003-10-24 Matsushita Electric Ind Co Ltd Information equipment and control method for information equipment
JP2003317039A (en) * 2002-04-24 2003-11-07 Hitachi Ltd Command control method, ic card use terminal device, and memory card
JP2004164261A (en) * 2002-11-13 2004-06-10 Dainippon Printing Co Ltd Ic card and command processing method in the ic card

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000155819A (en) * 1998-11-20 2000-06-06 Dainippon Printing Co Ltd Ic card
JP2003030609A (en) * 2001-07-12 2003-01-31 Dainippon Printing Co Ltd Portable information processor
JP2003303362A (en) * 2002-04-08 2003-10-24 Matsushita Electric Ind Co Ltd Information equipment and control method for information equipment
JP2003317039A (en) * 2002-04-24 2003-11-07 Hitachi Ltd Command control method, ic card use terminal device, and memory card
JP2004164261A (en) * 2002-11-13 2004-06-10 Dainippon Printing Co Ltd Ic card and command processing method in the ic card

Similar Documents

Publication Publication Date Title
JP5795921B2 (en) IC card, portable electronic device, and IC card control method
JP2012208910A (en) Portable electronic device and processing system for portable electronic device
JP2011022841A (en) Processing system for portable electronic apparatus, portable electronic apparatus, and processing apparatus for portable electronic apparatus
JP5957577B2 (en) IC card, portable electronic device, and IC card control method
JP5892818B2 (en) Portable electronic device and control program for portable electronic device
JP2013069108A (en) Ic card, portable electronic device and ic card control method
JP6092342B2 (en) Non-contact portable electronic device and method for issuing non-contact portable electronic device
JP5490044B2 (en) Portable electronic device and method for controlling portable electronic device
JP5684051B2 (en) Portable electronic device, IC card, and control method for portable electronic device
JP5693824B2 (en) IC card processing device, IC card, and IC card processing system
JP5726659B2 (en) IC card, IC card processing device, and IC card processing system
JP2013118473A (en) Ic card, portable electronic device and control program of ic card
JP5677195B2 (en) Portable electronic device and method for controlling portable electronic device
JP2012198682A (en) Portable electronic device, processor of portable electronic device, and processing system of portable electronic device
JP6009854B2 (en) IC card, portable electronic device, and IC card control program
JP5726700B2 (en) IC card and IC card processing method
EP2942734A1 (en) Data processing apparatus for ic card issuing, ic card issuing apparatus, ic card issuing system, data processing program for ic card issuing, ic card issuing program
JP5684059B2 (en) IC card and control method of IC card
JP5875772B2 (en) Portable electronic device, control method for portable electronic device, and processing system for portable electronic device
JP5787692B2 (en) IC card, portable electronic device, and IC card control method
JP2014063263A (en) Ic card, portable electronic device, and ic card reader/writer
JP6046068B2 (en) Portable electronic device and method for controlling portable electronic device
JP2016081117A (en) Ic card, portable electronic device, and manufacturing method for ic card
JP2016048575A (en) Portable electronic device and method of controlling portable electronic device
JP2013175126A (en) Ic card, and control program for the same

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131205

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131212

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131219

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131226

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20140109

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140307

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140908

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140916

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20150203