[go: up one dir, main page]

JP5306079B2 - IC card, IC card processing device, and IC card processing system - Google Patents

IC card, IC card processing device, and IC card processing system Download PDF

Info

Publication number
JP5306079B2
JP5306079B2 JP2009155994A JP2009155994A JP5306079B2 JP 5306079 B2 JP5306079 B2 JP 5306079B2 JP 2009155994 A JP2009155994 A JP 2009155994A JP 2009155994 A JP2009155994 A JP 2009155994A JP 5306079 B2 JP5306079 B2 JP 5306079B2
Authority
JP
Japan
Prior art keywords
command
error
card
processing
processing 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.)
Active
Application number
JP2009155994A
Other languages
Japanese (ja)
Other versions
JP2011013830A (en
Inventor
亜紀 福田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2009155994A priority Critical patent/JP5306079B2/en
Priority to EP10156204.9A priority patent/EP2270758B1/en
Priority to US12/725,638 priority patent/US8112662B2/en
Publication of JP2011013830A publication Critical patent/JP2011013830A/en
Application granted granted Critical
Publication of JP5306079B2 publication Critical patent/JP5306079B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、例えば、CPU、ROM、RAM、EEPROMなどの制御素子を有するIC(Integrated Circuit)チップを内蔵するICカードに関する。また本発明は、このようなICカードを処理するICカード処理装置に関する。また本発明は、これらICカード及びICカード処理装置により構成されるICカード処理システムに関する。   The present invention relates to an IC card incorporating an IC (Integrated Circuit) chip having control elements such as a CPU, ROM, RAM, and EEPROM. The present invention also relates to an IC card processing apparatus for processing such an IC card. The present invention also relates to an IC card processing system including these IC cards and IC card processing devices.

近年、安全性に優れるICカード(接触式及び非接触式)の普及が目覚しい。このようなICカードは、電力供給が断たれてもデータを保持する事が可能な不揮発性メモリ、リーダライタと通信可能な通信I/F、各種動作を実行するCPUなどの制御素子、CPUの動作プログラム等を記憶するROM、及びデータを一時的に記憶するRAMを有する。   In recent years, IC cards (contact type and non-contact type) having excellent safety have been widely used. Such an IC card includes a non-volatile memory that can retain data even when power supply is cut off, a communication I / F that can communicate with a reader / writer, a control element such as a CPU that executes various operations, It has a ROM for storing operation programs and the like, and a RAM for temporarily storing data.

ICカードは、クレジットカード、定期券、その他の商取引の決済に使われるだけでなく、社員証、会員証、保険証などのIDカードとしても様々な分野で使われるようになっている。これは、従来の磁気カードに比べ、ICカードは、CPU、ROM、RAM、不揮発性メモリなどを有するICを備えることにより、様々な機能が実現可能となったこと、さらには偽造が難しいためセキュリティの面でも大きく向上したことが要因である。   IC cards are used not only for settlement of credit cards, commuter passes, and other commercial transactions, but also in various fields as ID cards for employee cards, membership cards, insurance cards, and the like. Compared to the conventional magnetic card, the IC card has an IC having a CPU, ROM, RAM, nonvolatile memory, etc., so that various functions can be realized and it is difficult to forge. This is also due to the significant improvement in

ICカードは、リーダライタから送信されるコマンドに基づき動作する。例えば、ICカードは、リーダライタから送信されるコマンドを受信すると、受信コマンドに基づく処理を実行し、レスポンスデータを返信する。   The IC card operates based on a command transmitted from the reader / writer. For example, when the IC card receives a command transmitted from the reader / writer, the IC card executes processing based on the received command and returns response data.

また、リーダライタからの不正なコマンドの実行や故意ではないが一度完了した取引処理の再試行コマンド(リトライ)などによる誤処理を防止するための技術が提案されている(特許文献1参照)。   In addition, a technique for preventing erroneous processing due to execution of an illegal command from a reader / writer or an unintentional but once completed transaction processing retry command (retry) has been proposed (see Patent Document 1).

特開2007−257542JP2007-257542

ICカードのアプリケーションは、通常、定められたコマンド順序に従い一連の処理を進める。このため、一連の処理の途中で、所定コマンドに対してエラーが検出されてしまうと、一連の処理を最初からやり直すことになる。即ち、一連の処理の途中で、所定コマンドに対するエラーが検出されてしまった場合、処理効率が悪い。   An IC card application normally proceeds with a series of processes in accordance with a predetermined command order. For this reason, if an error is detected with respect to a predetermined command in the middle of a series of processing, the series of processing is restarted from the beginning. That is, if an error for a predetermined command is detected during a series of processing, the processing efficiency is poor.

上記特許文献1に開示された技術は、処理回数上限値を記憶し、処理回数を制限する技術である。上記特許文献1に開示された技術をもってしても、上記処理効率の悪さを改善するのは難しい。   The technique disclosed in Patent Document 1 is a technique for storing a process count upper limit value and limiting the process count. Even with the technique disclosed in Patent Document 1, it is difficult to improve the poor processing efficiency.

本発明の目的は、所定コマンドに起因したエラー発生時の処理効率に優れたICカード、ICカード処理装置、及びICカード処理システムを提供することにある。   An object of the present invention is to provide an IC card, an IC card processing device, and an IC card processing system that are excellent in processing efficiency when an error caused by a predetermined command occurs.

本発明の一実施形態に係るICカードは、ICカード処理装置と通信する通信手段と、前記通信手段により受信した前記ICカード処理装置からの第1のコマンドに起因したコマンドエラーを検出し、前記コマンドエラー検出に基づき前記ICカード処理装置に対してコマンドエラーを送信し、前記通信手段により受信した前記ICカード処理装置からのエラーを問い合わせる第2のコマンドに基づき、前記ICカード処理装置に対してコマンドエラー情報を送信し、前記通信手段により受信した前記ICカード処理装置からの前記第1のコマンドに対応した第3のコマンドに基づく処理を実行し、前記ICカード処理装置に対して実行結果を送信するコマンド処理手段と、を備える。   An IC card according to an embodiment of the present invention detects a command error caused by a first command from the IC card processing device received by the communication unit, a communication unit that communicates with an IC card processing device, A command error is transmitted to the IC card processing device based on the command error detection, and the IC card processing device is transmitted to the IC card processing device based on a second command inquired about an error from the IC card processing device received by the communication means. Command error information is transmitted, processing based on the third command corresponding to the first command from the IC card processing device received by the communication means is executed, and the execution result is sent to the IC card processing device. Command processing means for transmitting.

本発明の一実施形態に係るICカード処理装置は、ICカードと通信する通信手段と、前記通信手段により前記ICカードに対して第1のコマンドを送信し、前記通信手段により前記ICカードからの前記第1のコマンドに起因したコマンドエラーを受信し、前記通信手段により前記ICカードに対してエラーを問い合わせる第2のコマンドを送信し、前記通信手段により前記ICカードからのコマンドエラー情報を受信し、前記通信手段により前記ICカードに対して前記第1のコマンドに対応した第3のコマンドを送信するコマンド処理手段と、を備える。   An IC card processing apparatus according to an embodiment of the present invention includes a communication unit that communicates with an IC card, a first command transmitted to the IC card by the communication unit, and a message from the IC card by the communication unit. A command error caused by the first command is received, a second command for inquiring about an error to the IC card is transmitted by the communication unit, and command error information from the IC card is received by the communication unit. Command processing means for transmitting a third command corresponding to the first command to the IC card by the communication means.

本発明の一実施形態に係るICカード処理システムは、ICカード及びICカード処理装置により構成され、前記ICカード処理装置は、前記ICカードと通信する第1の通信手段と、前記第1の通信手段により前記ICカードに対して第1のコマンドを送信し、前記第1の通信手段により前記ICカードからの前記第1のコマンドに起因したコマンドエラーを受信し、前記第1の通信手段により前記ICカードに対してエラーを問い合わせる第2のコマンドを送信し、前記第1の通信手段により前記ICカードからのコマンドエラー情報を受信し、前記第1の通信手段により前記ICカードに対して前記第1のコマンドに対応した第3のコマンドを送信するコマンド処理手段と、を備え、前記ICカードは、前記ICカード処理装置と通信する第2の通信手段と、前記第2の通信手段により受信した前記ICカード処理装置からの前記第1のコマンドに起因した前記コマンドエラーを検出し、前記コマンドエラー検出に基づき前記ICカード処理装置に対して前記コマンドエラーを送信し、前記第2の通信手段により受信した前記ICカード処理装置からのエラーを問い合わせる前記第2のコマンドに基づき、前記ICカード処理装置に対して前記コマンドエラー情報を送信し、前記第2の通信手段により受信した前記ICカード処理装置からの前記第1のコマンドに対応した前記第3のコマンドに基づく処理を実行し、前記ICカード処理装置に対して実行結果を送信する第2のコマンド処理手段と、を備える。   An IC card processing system according to an embodiment of the present invention includes an IC card and an IC card processing device, and the IC card processing device includes a first communication unit that communicates with the IC card, and the first communication. Means for transmitting a first command to the IC card, the first communication means for receiving a command error caused by the first command from the IC card, and the first communication means for A second command for inquiring an error to the IC card is transmitted, command error information from the IC card is received by the first communication means, and the first communication means receives the first command from the IC card. Command processing means for transmitting a third command corresponding to one command, and the IC card communicates with the IC card processing device. And detecting the command error caused by the first command from the IC card processing apparatus received by the second communication means, and based on the command error detection, the IC card processing apparatus The command error information is sent to the IC card processing device based on the second command that transmits the command error to the IC card and inquires about an error from the IC card processing device received by the second communication means. Transmitting and executing processing based on the third command corresponding to the first command from the IC card processing device received by the second communication means, and sending an execution result to the IC card processing device Second command processing means for transmitting.

本発明によれば、所定コマンドに起因したエラー発生時の処理効率に優れたICカード、ICカード処理装置、及びICカード処理システムを提供できる。   According to the present invention, it is possible to provide an IC card, an IC card processing device, and an IC card processing system that are excellent in processing efficiency when an error caused by a predetermined command occurs.

本発明の一実施形態に係るICカード処理システムの概略構成を示す図である。It is a figure showing a schematic structure of an IC card processing system concerning one embodiment of the present invention. 本発明の一実施形態に係るICカードの概略構成を示す図である。It is a figure which shows schematic structure of the IC card which concerns on one Embodiment of this invention. エラー問い合わせコマンドのフォーマットの一例を示す図である。It is a figure which shows an example of a format of an error inquiry command. エラー詳細レスポンスデータのフォーマットの一例を示す図である。It is a figure which shows an example of the format of error detailed response data. ワーキングメモリに保管されるエラー管理情報の一例を示す図である。It is a figure which shows an example of the error management information preserve | saved at a working memory. エラー問い合わせコマンドの受信からエラー詳細情報の送信までの流れを示すフローチャートである。It is a flowchart which shows the flow from reception of an error inquiry command to transmission of error detailed information.

以下、図面を参照し、本発明の実施形態について説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明の一実施形態に係るICカード処理システムの概略構成を示す図である。   FIG. 1 is a diagram showing a schematic configuration of an IC card processing system according to an embodiment of the present invention.

ICカード処理システムは、ICカード1(情報記憶媒体)及びICカード処理装置2により構成されている。ICカード処理装置2は、カードリーダ・ライタ202、制御部203、キーボード204、ディスプレイ205、プリンタ206を備えている。   The IC card processing system includes an IC card 1 (information storage medium) and an IC card processing device 2. The IC card processing apparatus 2 includes a card reader / writer 202, a control unit 203, a keyboard 204, a display 205, and a printer 206.

制御部203には、カードリーダ・ライタ202、キーボード204、ディスプレイ205、及びプリンタ206が接続されている。制御部203は、カードリーダ・ライタ202を介して、ICカード1に対して各種コマンドを送信し、またICカードからのレスポンスを受信し、ICカード1に対してデータを記録したり、ICカード1に記憶されたデータを読み出したりする。   A card reader / writer 202, a keyboard 204, a display 205, and a printer 206 are connected to the control unit 203. The control unit 203 sends various commands to the IC card 1 via the card reader / writer 202, receives a response from the IC card, records data on the IC card 1, The data stored in 1 is read out.

例えば、図1に示すIC処理システムを、クレジットカードなどの決済システムに適用した場合、つまり、ICカード1がクレジットカードとして機能する場合、ICカード処理装置2はPOS端末やATMに相当する。ICカード使用者(カード所持者)は、キーボード14を使用して、外部入力PIN(Personal Identification Number)等を入力する。また、ICカード1は、外部入力PINと一致・不一致の検証処理を行うための内部PINを記憶する。   For example, when the IC processing system shown in FIG. 1 is applied to a payment system such as a credit card, that is, when the IC card 1 functions as a credit card, the IC card processing device 2 corresponds to a POS terminal or ATM. The IC card user (card holder) uses the keyboard 14 to input an external input PIN (Personal Identification Number) or the like. The IC card 1 also stores an internal PIN for performing verification processing for matching / mismatching with the external input PIN.

また、ICカード1はクレジットカードとして機能するだけでなく、例えばETCの料金決済カード(ETCカード)として機能することもできる。つまり、1枚のICカード1は、複数のアプリケーションに対応することもできる。   Further, the IC card 1 can function not only as a credit card but also as, for example, an ETC charge settlement card (ETC card). That is, one IC card 1 can also support a plurality of applications.

図2は、図1に示すICカード1の概略構成を示す図である。図2に示すように、ICカード1は、制御部101、データメモリ102、ワーキングメモリ103、プログラムメモリ104、及び通信部105を備えている。   FIG. 2 is a diagram showing a schematic configuration of the IC card 1 shown in FIG. As shown in FIG. 2, the IC card 1 includes a control unit 101, a data memory 102, a working memory 103, a program memory 104, and a communication unit 105.

制御部101は、制御部として機能し、例えばCPUである。データメモリ102は、記憶内容が消去可能な不揮発性のメモリであり、例えばEEPROMにより構成される。例えばデータメモリ102には、ツリー状に構成された複数ファイルが格納される。ワーキングメモリ103は、制御部101により処理されるデータ及び処理されたデータを一時的に保持するためのメモリであり、例えばRAMにより構成される。プログラムメモリ104は、受信コマンドに基づく処理を実行するためのプログラムを記憶するメモリであり、例えばマスクROMにより構成される。   The control unit 101 functions as a control unit and is, for example, a CPU. The data memory 102 is a non-volatile memory whose stored contents can be erased, and is constituted by, for example, an EEPROM. For example, the data memory 102 stores a plurality of files configured in a tree shape. The working memory 103 is a memory for temporarily storing data processed by the control unit 101 and processed data, and is configured by a RAM, for example. The program memory 104 is a memory that stores a program for executing processing based on a received command, and is configured by, for example, a mask ROM.

通信部105は、カードリーダ・ライタ12と通信し、カードリーダ・ライタ12から送信されるコマンドを受信したり、この受信コマンドに対するレスポンスを返信したりする。通信部105は、カードリーダ・ライタ12と接触して通信するための端子を備えた接触式に対応した通信部であってもよいし、またカードリーダ・ライタ12と非接触で通信するためのアンテナを備えた非接触式に対応した通信部であってもよい。なお、通信部105は、上記した端子及びアンテナを備えた接触式及び非接触式に対応した通信部であってもよい。   The communication unit 105 communicates with the card reader / writer 12, receives a command transmitted from the card reader / writer 12, and returns a response to the received command. The communication unit 105 may be a contact type communication unit having a terminal for contacting and communicating with the card reader / writer 12, or for communicating with the card reader / writer 12 in a non-contact manner. The communication part corresponding to the non-contact type provided with the antenna may be sufficient. In addition, the communication part 105 may be a communication part corresponding to a contact type and a non-contact type provided with the terminal and antenna described above.

また、制御部101、データメモリ102、ワーキングメモリ103、プログラム、メモリ104は1つのICチップ(あるいは複数のICチップ)100で構成されている。さらに、ICチップ100と通信部105が一体的にモジュール化されてICカード1の本体内に埋設されている。   Further, the control unit 101, the data memory 102, the working memory 103, the program, and the memory 104 are configured by one IC chip (or a plurality of IC chips) 100. Further, the IC chip 100 and the communication unit 105 are integrated into a module and embedded in the main body of the IC card 1.

例えば、ICカード使用者(カード所持者)より入力される外部入力PINは、つまり、キーボード14を介して入力された外部入力PINは、カードリーダ・ライタ12からICカード1へ送信される。ICカード1は、カードリーダ・ライタ12から送信される外部入力PINを通信部105を介して受信し、ワーキングメモリ102に一時的に保持する。ICカード1(制御部101)は、ワーキングメモリ102に一時的に保持された外部入力PINとデータメモリ102に保持されている内部PINとを照合し、両者の一致・不一致を検証する。   For example, an external input PIN input from an IC card user (card holder), that is, an external input PIN input via the keyboard 14 is transmitted from the card reader / writer 12 to the IC card 1. The IC card 1 receives the external input PIN transmitted from the card reader / writer 12 via the communication unit 105 and temporarily holds it in the working memory 102. The IC card 1 (control unit 101) collates the external input PIN temporarily held in the working memory 102 with the internal PIN held in the data memory 102, and verifies the matching / mismatching of both.

その後、ICカード1(制御部101)は、検証処理結果を通信部105を介してカードリーダ・ライタ12へ送信する。主制御部13は、カードリーダ・ライタ12により受信された検証処理結果をCRT15に表示させる。ICカード使用者(カード所持者)は、CRT15の表示内容を参照し、検証処理結果を確認する。   Thereafter, the IC card 1 (control unit 101) transmits the verification processing result to the card reader / writer 12 via the communication unit 105. The main control unit 13 causes the CRT 15 to display the verification processing result received by the card reader / writer 12. The IC card user (card holder) refers to the display content of the CRT 15 and confirms the verification processing result.

上記したICカード1のアプリケーションは、通常、定められたコマンド実行順序に従い一連の処理を進める。このため、一連の処理の途中で、所定コマンドに対するエラーが検出されてしまうと、一連の処理を最初からやり直すことになる。これでは、処理効率が悪い。そこで、本実施形態のICカード処理システムは、一連の処理の途中で、所定コマンドに対するエラーが検出された場合に、その所定コマンドからやり直すことができる。   The above-described application of the IC card 1 normally proceeds with a series of processes in accordance with a predetermined command execution order. For this reason, if an error with respect to a predetermined command is detected in the middle of a series of processing, the series of processing is restarted from the beginning. In this case, the processing efficiency is poor. Therefore, the IC card processing system according to the present embodiment can redo from the predetermined command when an error with respect to the predetermined command is detected during a series of processes.

例えば、一連の処理において、ICカード1(通信部105)が、ICカード処理装置2から所定コマンドを受信し、ICカード1(制御部101)が、所定コマンドに起因したエラー(コマンドフォーマットエラー)を検出したと仮定する。ICカード1のプログラムメモリ104は、コマンドフォーマットエラーを検出するためのプログラムを記憶している。つまり、プログラムメモリ104は、各コマンドの正しいフォーマットを記憶している。   For example, in a series of processing, the IC card 1 (communication unit 105) receives a predetermined command from the IC card processing device 2, and the IC card 1 (control unit 101) receives an error (command format error) caused by the predetermined command. Is detected. The program memory 104 of the IC card 1 stores a program for detecting a command format error. That is, the program memory 104 stores the correct format of each command.

ICカード1が、所定コマンドに起因したエラーを検出すると、ICカード1は、ICカード処理装置2に対してコマンドエラーレスポンスを送信する。ICカード処理装置2(カードリーダ・ライタ202)は、コマンドエラーレスポンスの受信に基づき、ICカード1に対してエラーの詳細を問い合わせるためのエラー問い合わせコマンドを送信する。ICカード1(通信部105)は、エラー問い合わせコマンドの受信に基づき、ICカード処理装置2に対してエラー詳細情報を送信する。ICカード処理装置2(カードリーダ・ライタ202)は、エラー詳細情報の受信に基づき、ICカード1に対して、所定コマンドのエラー箇所を修正した修正コマンドを送信する。ICカード1(制御部101)は、修正コマンドを受信し、修正コマンドに基づき一連の処理を途中からやり直す。   When the IC card 1 detects an error caused by a predetermined command, the IC card 1 transmits a command error response to the IC card processing device 2. The IC card processing device 2 (card reader / writer 202) transmits an error inquiry command for inquiring the details of the error to the IC card 1 based on the reception of the command error response. The IC card 1 (communication unit 105) transmits detailed error information to the IC card processing device 2 based on the reception of the error inquiry command. The IC card processing device 2 (card reader / writer 202) transmits, to the IC card 1, a correction command in which the error portion of the predetermined command is corrected based on the reception of the detailed error information. The IC card 1 (control unit 101) receives the correction command and repeats a series of processes from the middle based on the correction command.

さらに、ICカード1(制御部101)は、コマンドエラー検出に基づくリトライ処理回数(例えばエラー詳細情報の送信回数)及びリトライ上限回数(例えばエラー詳細情報の送信上限回数)を記憶し、リトライ処理回数がリトライ上限回数を越える場合には、リトライ処理を実行を許可しない。例えば、リトライ処理回数がリトライ上限回数を越える場合には、ICカード1が、ICカード処理装置2からのエラー問い合わせコマンドを受信しても、ICカード処理装置2に対してエラー詳細情報を送信しない。これにより、ICカード処理装置2は、制限時間内にエラー詳細情報を受信することができず、一連の処理が途中からやり直せないと判断し、一連の処理を最初からやり直す。つまり、ICカード処理装置2は、一連の処理の最初に送信すべきコマンドの送信を開始する。   Further, the IC card 1 (the control unit 101) stores the number of retry processes (for example, the number of transmissions of detailed error information) and the maximum number of retries (for example, the maximum number of transmissions of error detailed information) based on command error detection. If the number exceeds the maximum number of retries, retry execution is not permitted. For example, when the retry processing count exceeds the retry upper limit count, even if the IC card 1 receives an error inquiry command from the IC card processing device 2, it does not transmit detailed error information to the IC card processing device 2. . As a result, the IC card processing apparatus 2 cannot receive the detailed error information within the time limit, determines that the series of processes cannot be redone, and starts the series of processes from the beginning. That is, the IC card processing device 2 starts transmitting a command to be transmitted at the beginning of a series of processes.

例えば、ICカード1が、所定コマンドに基づくリトライ上限回数を1回に制限することもできる。これにより、所定コマンドに基づく処理が2回失敗した場合には、ICカード処理装置2は、アプリケーションの一連の処理を最初からやり直すことになる。   For example, the IC card 1 can limit the upper limit number of retries based on a predetermined command to one. As a result, when the processing based on the predetermined command fails twice, the IC card processing device 2 starts over a series of processing of the application from the beginning.

図3は、上記したエラー問い合わせコマンドのフォーマットの一例を示す図である。図3に示すように、エラー問い合わせコマンドは、CLA(301)、INS(302)、P1(303)。P2(304)、Le(305)を含む。CLAはclassの略であり、INSは命令コードを示し、P1は命令パラメータを示し、P2は命令パラメータを示し、Leはレングスの略である。ICカード処理装置2は、このエラー問い合わせコマンドをICカード1へ送信し、ICカード1に対してエラーの詳細を問い合わせる。   FIG. 3 is a diagram showing an example of the format of the error inquiry command described above. As shown in FIG. 3, the error inquiry commands are CLA (301), INS (302), and P1 (303). P2 (304) and Le (305) are included. CLA is an abbreviation for class, INS is an instruction code, P1 is an instruction parameter, P2 is an instruction parameter, and Le is an abbreviation for length. The IC card processing apparatus 2 sends this error inquiry command to the IC card 1 and inquires the IC card 1 about the details of the error.

図4は、エラー詳細レスポンスデータのフォーマットの一例を示す図である。エラー詳細レスポンスデータは、エラー情報(401)、SW1(402)、SW2(403)を含む。エラー情報は、エラー箇所を示す情報(コマンドAPDUの先頭からのバイト数、エラー箇所の長さ)、エラー理由(理由コード)を示す情報を含む。SW1、SW2は、エラー問い合わせコマンドの処理結果を示す。   FIG. 4 is a diagram illustrating an example of a format of error detail response data. The error detail response data includes error information (401), SW1 (402), and SW2 (403). The error information includes information indicating an error location (the number of bytes from the top of the command APDU, the length of the error location), and information indicating an error reason (reason code). SW1 and SW2 indicate processing results of the error inquiry command.

図5は、ワーキングメモリ103に保管されるエラー管理情報である。図5に示すようにエラー管理情報は、エラー情報501、コマンドカウンタ502、コマンド実行許可フラグ503、処理状態情報504を含む。   FIG. 5 shows error management information stored in the working memory 103. As shown in FIG. 5, the error management information includes error information 501, a command counter 502, a command execution permission flag 503, and processing state information 504.

エラー情報501は、エラー情報401と同じ情報である。つまり、所定コマンドに基づく処理の実行時にエラーが検出されると、検出されたエラーの詳細を示すエラー情報501がワーキングメモリ103に保管される。コマンドカウンタ502は、エラー問い合わせコマンドの実行回数及び実行上限回数を管理する。つまり、コマンドカウンタ502は、エラー問い合わせコマンドに基づきエラー詳細レスポンスデータを送信した回数(実行回数)を管理するとともに、その上限回数を管理する。エラー問い合わせコマンドの実行回数が実行上限回数を越えるまでは、例えば、コマンド実行許可フラグ503は「1」に設定され、エラー問い合わせコマンドの実行回数が実行上限回数を越えると、コマンド実行許可フラグ503は「0」に設定される。   The error information 501 is the same information as the error information 401. That is, when an error is detected during execution of processing based on a predetermined command, error information 501 indicating the details of the detected error is stored in the working memory 103. The command counter 502 manages the number of executions of the error inquiry command and the maximum number of executions. In other words, the command counter 502 manages the number of times that the detailed error response data has been transmitted based on the error inquiry command (the number of executions), and manages the upper limit number of times. Until the number of executions of the error inquiry command exceeds the upper limit number of executions, for example, the command execution permission flag 503 is set to “1”, and when the number of executions of the error inquiry command exceeds the upper limit number of executions, the command execution permission flag 503 is set. Set to “0”.

処理状態情報504は、所定コマンドに基づく処理の実行前の状態を示す情報である。ICカード1の制御部101は、所定コマンドのエラー検出に基づき、所定コマンドに基づく処理の実行前状態(処理状態情報504)をワーキングメモリ103に記憶する。つまり、ICカード1の制御部101は、基づく処理の実行前状態(一連の処理の途中の状態)をワーキングメモリ103に記憶する。これにより、所定コマンドを修正した修正コマンドを受信した場合に、ICカード1の制御部101は、処理状態情報504に従い、所定コマンドに基づく処理の実行前状態(一連の処理の途中の状態)から、修正コマンドに基づく処理を再開することができる。   The processing state information 504 is information indicating a state before execution of processing based on a predetermined command. The control unit 101 of the IC card 1 stores the pre-execution state (processing state information 504) based on the predetermined command in the working memory 103 based on the error detection of the predetermined command. That is, the control unit 101 of the IC card 1 stores the pre-execution state (a state in the middle of a series of processes) based on the working memory 103. Thereby, when the correction command which corrected the predetermined command is received, the control part 101 of IC card 1 is based on the processing status information 504 from the state before execution of the processing based on the predetermined command (the state in the middle of a series of processing). The processing based on the correction command can be resumed.

図6は、エラー問い合わせコマンドの受信からエラー詳細情報の送信までの流れを示すフローチャートである。   FIG. 6 is a flowchart showing a flow from reception of an error inquiry command to transmission of detailed error information.

上記説明したように、ICカード1(制御部101)が、所定コマンドに起因したエラー(コマンドフォーマットエラー)を検出すると、ICカード1(通信部105)は、ICカード処理装置2に対してコマンドエラーレスポンスを送信する。ICカード処理装置2(カードリーダ・ライタ202)は、コマンドエラーレスポンスの受信に基づき、ICカード1に対してエラーの詳細を問い合わせるためのエラー問い合わせコマンドを送信する。   As described above, when the IC card 1 (control unit 101) detects an error (command format error) due to a predetermined command, the IC card 1 (communication unit 105) sends a command to the IC card processing device 2. Send an error response. The IC card processing device 2 (card reader / writer 202) transmits an error inquiry command for inquiring the details of the error to the IC card 1 based on the reception of the command error response.

ICカード1は、エラー問い合わせコマンドを受信すると、エラー問い合わせコマンドのコマンドフォーマットをチェックする(ST601)。エラー問い合わせコマンドのコマンドフォーマットが適切であれば(ST601、YES)、ICカード1は、コマンド実行許可フラグ503をチェックする(ST602)。例えば、コマンド許可フラグ503が「1」に設定されており、コマンドの実行が許されている場合には(ST602、YES)、ICカード1は、コマンドカウンタ502によるエラー問い合わせコマンドの実行回数をチェックする(ST603)。コマンドの実行回数がコマンドの実行上限回数に達していなければ(ST603、NO)、ICカード1は、エラー情報501を取得し(ST604)、コマンドカウンタ502によるエラー問い合わせコマンドの実行回数をインクリメントし(ST605)、ICカード処理装置2に対してエラー詳細レスポンスデータを送信する(ST606)。   When receiving the error inquiry command, the IC card 1 checks the command format of the error inquiry command (ST601). If the command format of the error inquiry command is appropriate (ST601, YES), IC card 1 checks command execution permission flag 503 (ST602). For example, when the command permission flag 503 is set to “1” and the execution of the command is permitted (ST602, YES), the IC card 1 checks the number of executions of the error inquiry command by the command counter 502. (ST603). If the command execution count does not reach the command execution upper limit count (ST603, NO), the IC card 1 acquires error information 501 (ST604), and increments the error inquiry command execution count by the command counter 502 ( (ST605), error detailed response data is transmitted to the IC card processing apparatus 2 (ST606).

なお、コマンドの実行回数がコマンドの実行上限回数に達している場合には(ST603、YES)、ICカード1は、コマンド許可フラグ503を「0」に設定し(ST607)、ICカード処理装置2に対してエラー詳細レスポンスデータを送信しない。   When the command execution count reaches the command execution upper limit count (ST603, YES), the IC card 1 sets the command permission flag 503 to “0” (ST607), and the IC card processing device 2 Do not send detailed error response data.

また、ICカード1(制御部101)は、上記したように、所定コマンドに起因したコマンドエラー検出に基づき、所定コマンドに基づく処理の実行前状態(処理状態情報504)を記憶する。ICカード1が、実行前状態(処理状態情報504)を記憶していることを条件として、所定コマンドに対応した修正コマンドを受信した場合には、実行前状態から処理を再開する。ICカード1が、実行前状態(処理状態情報504)を記憶していることを条件として、所定コマンドに対応していないコマンド(修正コマンドと異なるコマンド)を受信した場合には、一連の処理の開始前の状態へ戻す。つまり、一連の処理の途中からの再開は禁止され、一連の処理を最初からやり直すか、或いは別の処理を実行するかの選択となる。   Further, as described above, the IC card 1 (the control unit 101) stores a pre-execution state (processing state information 504) based on a predetermined command based on detection of a command error caused by the predetermined command. If the IC card 1 receives a correction command corresponding to a predetermined command on condition that the pre-execution state (processing state information 504) is stored, the processing is resumed from the pre-execution state. When the IC card 1 receives a command (a command different from the correction command) that does not correspond to the predetermined command on condition that the pre-execution state (processing state information 504) is stored, Return to the state before starting. That is, resumption from the middle of a series of processing is prohibited, and it is a choice between re-starting the series of processing from the beginning or executing another processing.

以上により、本実施形態のICカード処理システムは、一連の処理の途中で、所定コマンドに起因したエラーが発生しても、その所定コマンド(修正コマンド)に基づく処理から一連の処理をやり直すことができる。これにより、一連の処理の途中でエラーが発生しても、効率よく一連の処理を進めることができる。   As described above, the IC card processing system according to the present embodiment can redo the series of processes from the process based on the predetermined command (correction command) even if an error caused by the predetermined command occurs during the series of processes. it can. Thereby, even if an error occurs during the series of processes, the series of processes can be efficiently performed.

例えば、複数回の相互認証処理を必要とする場合に、N回目の相互認証処理の途中で、所定コマンドに起因したエラーが発生し、相互認証処理を1回目(最初)からやり直していると、非常に効率が悪い。本実施形態のICカード処理システムを適用すれば、このような複数回の相互認証処理を必要とする場合に、N回目の相互認証処理の途中で、所定コマンドに起因したエラーが発生した場合に、効率よく処理を進めることができる。   For example, when a mutual authentication process is required a plurality of times, an error caused by a predetermined command occurs in the middle of the Nth mutual authentication process, and the mutual authentication process is restarted from the first (first). Very inefficient. If the IC card processing system according to the present embodiment is applied, when an error due to a predetermined command occurs in the middle of the N-th mutual authentication process when such a plurality of mutual authentication processes are required. The process can be efficiently performed.

また、一連の処理の前半に比較的時間のかかる処理(サイズの大きいデータの読み込み処理又は書き込み処理)があり、一連の処理の後半で所定コマンドに起因したエラーが発生した場合に、一連の処理を最初からやり直していると、非常に効率が悪い。本実施形態のICカード処理システムを適用すれば、このような一連の処理の途中で、所定コマンドに起因したエラーが発生しても、効率よく処理を進めることができる。   In addition, there is a process that takes a relatively long time in the first half of the series of processes (a process for reading or writing large data), and an error caused by a predetermined command occurs in the second half of the series of processes. If you start over from the beginning, it is very inefficient. If the IC card processing system of this embodiment is applied, even if an error due to a predetermined command occurs during such a series of processing, the processing can be efficiently performed.

なお、本願発明は、上記実施形態に限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で種々に変形することが可能である。また、各実施形態は可能な限り適宜組み合わせて実施してもよく、その場合組み合わせた効果が得られる。更に、上記実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適当な組み合わせにより種々の発明が抽出され得る。例えば、実施形態に示される全構成要件からいくつかの構成要件が削除されても、発明が解決しようとする課題の欄で述べた課題が解決でき、発明の効果の欄で述べられている効果が得られる場合には、この構成要件が削除された構成が発明として抽出され得る。   Note that the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the scope of the invention in the implementation stage. In addition, the embodiments may be appropriately combined as much as possible, and in that case, the combined effect can be obtained. Further, the above embodiments include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. For example, even if some constituent requirements are deleted from all the constituent requirements shown in the embodiment, the problem described in the column of the problem to be solved by the invention can be solved, and the effect described in the column of the effect of the invention Can be obtained as an invention.

1…ICカード、2…ICカード処理装置、202…カードリーダ・ライタ、203…制御部、204…キーボード、205…CRT、206…プリンタ、101…制御部、102…データメモリ、103…ワーキングメモリ、104…プログラムメモリ、105…通信部 DESCRIPTION OF SYMBOLS 1 ... IC card, 2 ... IC card processing apparatus, 202 ... Card reader / writer, 203 ... Control part, 204 ... Keyboard, 205 ... CRT, 206 ... Printer, 101 ... Control part, 102 ... Data memory, 103 ... Working memory 104: Program memory, 105: Communication unit

Claims (12)

ICカード処理装置と通信する通信手段と、
前記通信手段により受信した前記ICカード処理装置からの第1のコマンドに起因したコマンドエラーを検出し、前記コマンドエラー検出に基づき前記ICカード処理装置に対してコマンドエラーを送信し、前記通信手段により受信した前記ICカード処理装置からのエラーを問い合わせる第2のコマンドに基づき、前記ICカード処理装置に対してコマンドエラー情報を送信し、前記通信手段により受信した前記ICカード処理装置からの前記第1のコマンドに対応した第3のコマンドに基づく処理を実行し、前記ICカード処理装置に対して実行結果を送信するコマンド処理手段と、
を備え
前記コマンド処理手段は、前記第1のコマンドのデータフォーマットのエラーを検出し、前記第1のコマンドのデータフォーマットのエラーの詳細を示す前記コマンドエラー情報を送信し、
前記コマンドエラー情報は、エラー箇所を示す情報を含み、
前記コマンド処理手段は、前記エラー箇所を示す情報により前記第1のコマンドの前記エラー箇所が修正された前記第3のコマンドに基づく処理を実行することを特徴とするICカード。
A communication means for communicating with the IC card processing device;
A command error resulting from the first command from the IC card processing device received by the communication means is detected, a command error is transmitted to the IC card processing device based on the command error detection, and the communication means Based on the received second command for inquiring an error from the IC card processing device, command error information is transmitted to the IC card processing device, and the first from the IC card processing device received by the communication means. Command processing means for executing a process based on a third command corresponding to the command and transmitting an execution result to the IC card processing device;
Equipped with a,
The command processing means detects an error in the data format of the first command, transmits the command error information indicating details of the error in the data format of the first command,
The command error information includes information indicating an error location,
The IC card , wherein the command processing means executes a process based on the third command in which the error part of the first command is corrected based on information indicating the error part .
前記コマンドエラー情報は、エラー箇所を示す情報とエラー理由とを含み、  The command error information includes information indicating an error location and an error reason,
前記エラー箇所を示す情報は、コマンドの先頭からのバイト数とエラーの長さとを含むことを特徴とする請求項1のICカード。  2. The IC card according to claim 1, wherein the information indicating the error location includes the number of bytes from the head of the command and the length of the error.
前記コマンド処理手段は、前記第1のコマンドに基づく処理を含む一連の処理において、前記第1のコマンドに起因した前記コマンドエラー検出に基づき前記ICカード処理装置に対して前記コマンドエラーを送信し、前記第1のコマンドを修正した前記第3のコマンドに基づく処理から前記一連の処理を再開することを特徴とする請求項2に記載のICカード。   The command processing means transmits the command error to the IC card processing device based on the command error detection caused by the first command in a series of processing including processing based on the first command, 3. The IC card according to claim 2, wherein the series of processes is resumed from a process based on the third command obtained by correcting the first command. 前記コマンド処理手段は、前記第3のコマンドと異なるコマンドを受信した場合には前記一連の処理の開始前の状態へ戻すことを特徴とする請求項3に記載のICカード。  4. The IC card according to claim 3, wherein the command processing means returns to a state before the start of the series of processes when a command different from the third command is received. 前記コマンド処理手段は、前記コマンドエラー検出に基づくリトライ処理回数及びリトライ上限回数を記憶し、前記リトライ処理回数が前記リトライ上限回数を越える場合には、リトライ処理を実行不能にすることを特徴とする請求項に記載のICカード。 The command processing means stores a retry processing count and a retry upper limit count based on the command error detection, and makes the retry process unexecutable when the retry processing count exceeds the retry upper limit count. The IC card according to claim 4 . 前記コマンド処理手段は、前記コマンドエラー検出に基づき、前記第1のコマンドに基づく処理の実行前状態を記憶し、前記実行前状態を記憶していることを条件として前記第3のコマンドを受信した場合には前記実行前状態から処理を再開し、前記実行前状態を記憶していることを条件として前記第3のコマンドと異なるコマンドを受信した場合には前記一連の処理の開始前の状態へ戻すことを特徴とする請求項に記載のICカード。 The command processing means stores the pre-execution state of the process based on the first command based on the command error detection, and receives the third command on condition that the pre-execution state is stored. In this case, the processing is resumed from the pre-execution state, and when a command different from the third command is received on condition that the pre-execution state is stored, the state before the start of the series of processing is performed. 6. The IC card according to claim 5 , wherein the IC card is returned. ICカードと通信する通信手段と、
前記通信手段により前記ICカードに対して第1のコマンドを送信し、前記通信手段により前記ICカードからの前記第1のコマンドに起因したコマンドエラーを受信し、前記通信手段により前記ICカードに対してエラーを問い合わせる第2のコマンドを送信し、前記通信手段により前記ICカードからのコマンドエラー情報を受信し、前記通信手段により前記ICカードに対して前記第1のコマンドに対応した第3のコマンドを送信するコマンド処理手段と、
を備え
前記コマンド処理手段は、前記第1のコマンドのデータフォーマットのエラーの詳細を示す前記コマンドエラー情報を受信し、
前記コマンドエラー情報は、エラー箇所を示す情報を含み、
前記コマンド処理手段は、前記エラー箇所を示す情報により前記第1のコマンドの前記エラー箇所を修正した前記第3のコマンドを送信することを特徴とするICカード処理装置。
A communication means for communicating with the IC card;
The communication means transmits a first command to the IC card, the communication means receives a command error resulting from the first command from the IC card, and the communication means transmits the command to the IC card. A second command for inquiring an error, receiving command error information from the IC card by the communication means, and a third command corresponding to the first command to the IC card by the communication means. Command processing means for transmitting
Equipped with a,
The command processing means receives the command error information indicating details of an error in the data format of the first command,
The command error information includes information indicating an error location,
The IC card processing device , wherein the command processing means transmits the third command in which the error part of the first command is corrected by information indicating the error part .
前記コマンドエラー情報は、エラー箇所を示す情報とエラー理由とを含み、  The command error information includes information indicating an error location and an error reason,
前記エラー箇所を示す情報は、コマンドの先頭からのバイト数とエラーの長さとを含むことを特徴とする請求項7のICカード処理装置。  8. The IC card processing device according to claim 7, wherein the information indicating the error location includes the number of bytes from the head of the command and the length of the error.
ICカード及びICカード処理装置により構成されるICカード処理システムであって、
前記ICカード処理装置は、
前記ICカードと通信する第1の通信手段と、
前記第1の通信手段により前記ICカードに対して第1のコマンドを送信し、前記第1の通信手段により前記ICカードからの前記第1のコマンドに起因したコマンドエラーを受信し、前記第1の通信手段により前記ICカードに対してエラーを問い合わせる第2のコマンドを送信し、前記第1の通信手段により前記ICカードからのコマンドエラー情報を受信し、前記第1の通信手段により前記ICカードに対して前記第1のコマンドに対応した第3のコマンドを送信する第1のコマンド処理手段と、を備え、
前記第1のコマンド処理手段は、前記第1のコマンドのデータフォーマットのエラーの詳細を示す前記コマンドエラー情報を受信し、
前記コマンドエラー情報は、エラー箇所を示す情報を含み、
前記コマンド処理手段は、前記エラー箇所を示す情報により前記第1のコマンドの前記エラー箇所を修正した前記第3のコマンドを送信し、
前記ICカードは、
前記ICカード処理装置と通信する第2の通信手段と、
前記第2の通信手段により受信した前記ICカード処理装置からの前記第1のコマンドに起因した前記コマンドエラーを検出し、前記コマンドエラー検出に基づき前記ICカード処理装置に対して前記コマンドエラーを送信し、前記第2の通信手段により受信した前記ICカード処理装置からのエラーを問い合わせる前記第2のコマンドに基づき、前記ICカード処理装置に対して前記コマンドエラー情報を送信し、前記第2の通信手段により受信した前記ICカード処理装置からの前記第1のコマンドに対応した前記第3のコマンドに基づく処理を実行し、前記ICカード処理装置に対して実行結果を送信する第2のコマンド処理手段と、を備え
前記第2のコマンド処理手段は、前記第1のコマンドのデータフォーマットのエラーを検出し、前記第1のコマンドのデータフォーマットのエラーの詳細を示す前記コマンドエラー情報を送信し、前記第3のコマンドに基づく処理を実行することを特徴とするICカード処理システム。
An IC card processing system comprising an IC card and an IC card processing device,
The IC card processing device
First communication means for communicating with the IC card;
The first communication means transmits a first command to the IC card, the first communication means receives a command error resulting from the first command from the IC card, and the first communication means A second command for inquiring an error to the IC card by the communication means, command error information from the IC card is received by the first communication means, and the IC card is received by the first communication means. A first command processing means for transmitting a third command corresponding to the first command,
The first command processing means receives the command error information indicating details of an error in the data format of the first command;
The command error information includes information indicating an error location,
The command processing means transmits the third command in which the error part of the first command is corrected by information indicating the error part,
The IC card is
Second communication means for communicating with the IC card processing device;
Detecting the command error caused by the first command from the IC card processing device received by the second communication means, and transmitting the command error to the IC card processing device based on the command error detection The command error information is transmitted to the IC card processing device based on the second command for inquiring about an error from the IC card processing device received by the second communication means, and the second communication is performed. Second command processing means for executing processing based on the third command corresponding to the first command from the IC card processing apparatus received by the means and transmitting an execution result to the IC card processing apparatus and, with a,
The second command processing means detects an error in the data format of the first command, transmits the command error information indicating details of an error in the data format of the first command, and transmits the third command. An IC card processing system that executes processing based on the above .
前記コマンドエラー情報は、エラー箇所を示す情報とエラー理由とを含み、  The command error information includes information indicating an error location and an error reason,
前記エラー箇所を示す情報は、コマンドの先頭からのバイト数とエラーの長さとを含むことを特徴とする請求項9のICカード処理システム。  10. The IC card processing system according to claim 9, wherein the information indicating the error location includes the number of bytes from the head of the command and the length of the error.
前記第2のコマンド処理手段は、前記第1のコマンドに基づく処理を含む一連の処理において、前記第1のコマンドに起因した前記コマンドエラー検出に基づき前記ICカード処理装置に対して前記コマンドエラーを送信し、前記第1のコマンドを修正した前記第3のコマンドに基づく処理から前記一連の処理を再開することを特徴とする請求項10に記載のICカード処理システム。  In a series of processing including processing based on the first command, the second command processing means outputs the command error to the IC card processing device based on the command error detection caused by the first command. 11. The IC card processing system according to claim 10, wherein the series of processing is resumed from processing based on the third command transmitted and modified from the first command. 前記第2のコマンド処理手段は、前記第3のコマンドと異なるコマンドを受信した場合には前記一連の処理の開始前の状態へ戻すことを特徴とする請求項11に記載のICカード処理システム。  12. The IC card processing system according to claim 11, wherein when the second command processing means receives a command different from the third command, the second command processing means returns to the state before the start of the series of processing.
JP2009155994A 2009-06-30 2009-06-30 IC card, IC card processing device, and IC card processing system Active JP5306079B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2009155994A JP5306079B2 (en) 2009-06-30 2009-06-30 IC card, IC card processing device, and IC card processing system
EP10156204.9A EP2270758B1 (en) 2009-06-30 2010-03-11 Portable electronic apparatus, processing apparatus for portable electronic apparatus, and data processing method in portable electronic apparatus
US12/725,638 US8112662B2 (en) 2009-06-30 2010-03-17 Portable electronic apparatus, processing apparatus for portable electronic apparatus, and data processing method in portable electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009155994A JP5306079B2 (en) 2009-06-30 2009-06-30 IC card, IC card processing device, and IC card processing system

Publications (2)

Publication Number Publication Date
JP2011013830A JP2011013830A (en) 2011-01-20
JP5306079B2 true JP5306079B2 (en) 2013-10-02

Family

ID=43592671

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009155994A Active JP5306079B2 (en) 2009-06-30 2009-06-30 IC card, IC card processing device, and IC card processing system

Country Status (1)

Country Link
JP (1) JP5306079B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5454933B2 (en) * 2009-09-11 2014-03-26 株式会社東芝 Portable electronic device, IC card, and control method for portable electronic device
JP2013171394A (en) * 2012-02-20 2013-09-02 Toshiba Corp Ic card, manufacturing method of ic card, issuance method of ic card, and information processing method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01255990A (en) * 1988-04-06 1989-10-12 Hitachi Maxell Ltd Ic card data transmitting system

Also Published As

Publication number Publication date
JP2011013830A (en) 2011-01-20

Similar Documents

Publication Publication Date Title
JP4896837B2 (en) Portable electronic device and method for controlling portable electronic device
US9183400B2 (en) IC card and IC card control method
US8112662B2 (en) Portable electronic apparatus, processing apparatus for portable electronic apparatus, and data processing method in portable electronic apparatus
US20090184799A1 (en) Information storage medium and information storage medium processing apparatus
JP5306079B2 (en) IC card, IC card processing device, and IC card processing system
JP2010009467A (en) Information storage medium, information processing system, and command method
US20140189223A1 (en) Ic card, portable electronic device, and method of controlling ic card
US20120235796A1 (en) Ic card, portable electronic device, ic card issuing apparatus, and communication method
US20110227708A1 (en) Portable electronic device, communication device, and command processing method
JP2011022841A (en) Processing system for portable electronic apparatus, portable electronic apparatus, and processing apparatus for portable electronic apparatus
JP5111963B2 (en) Portable electronic device and data management method
JP5444138B2 (en) COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PORTABLE ELECTRONIC DEVICE
US8870079B2 (en) IC card, portable electronic device, IC card issuing apparatus, and command execution method
JP2008299416A (en) Portable electronic device, file access method in portable electronic device, and ic card
EP3379424B1 (en) Ic card, portable electronic device, program, processing apparatus, and processing system
JP2011150597A (en) Communication apparatus, medium and method
JP4950730B2 (en) Portable electronic device, file access method and IC card in portable electronic device
JP7600322B1 (en) IC Card
JP4734838B2 (en) Information recording medium, program, and command execution control method
JP5092370B2 (en) Portable information recording medium and program thereof
JP3701571B2 (en) Integrated circuit and IC card
JP2011198106A (en) Portable electronic device
JP2014059806A (en) Ic card, portable electronic device, and ic card processor
JP5728323B2 (en) IC card and portable electronic device
US8521935B2 (en) Portable electronic apparatus, control method for portable electronic apparatus, and IC card

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120301

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130301

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130319

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130520

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130604

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130625

R151 Written notification of patent or utility model registration

Ref document number: 5306079

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151