JP5341947B2 - IC card, control method of IC card, and control method of portable electronic device - Google Patents
IC card, control method of IC card, and control method of portable electronic device Download PDFInfo
- Publication number
- JP5341947B2 JP5341947B2 JP2011097026A JP2011097026A JP5341947B2 JP 5341947 B2 JP5341947 B2 JP 5341947B2 JP 2011097026 A JP2011097026 A JP 2011097026A JP 2011097026 A JP2011097026 A JP 2011097026A JP 5341947 B2 JP5341947 B2 JP 5341947B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- buffer
- card
- area
- written
- 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
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Memory System (AREA)
Description
この発明は、例えば、外部装置との通信機能を有し、外部装置からのコマンドに応じてデータを不揮発性メモリに書込む処理を行うICカード、ICカードの制御方法、および携帯可能電子装置の制御方法に関する。 The present invention provides, for example, an IC card that has a communication function with an external device and performs a process of writing data into a nonvolatile memory in response to a command from the external device , an IC card control method, and a portable electronic device. It relates to a control method.
従来、ICカードなどの携帯可能電子装置では、種々のデータを不揮発性メモリ上に書き込んで運用している。このようなICカードなどの携帯可能電子装置に用いられる不揮発性メモリには、その運用時において、ICカード処理装置などの外部装置からのコマンドに応じてデータの書き込みが行われるようになっている。例えば、従来のICカードでは、以下のような手順にて不揮発性メモリへのデータの書込処理を行っている。 2. Description of the Related Art Conventionally, portable electronic devices such as IC cards are operated by writing various data on a nonvolatile memory. In the nonvolatile memory used in such portable electronic devices such as an IC card, data is written in response to a command from an external device such as an IC card processing device during its operation. . For example, in a conventional IC card, data is written into a nonvolatile memory in the following procedure.
まず、外部装置からの電源およびクロックの供給を受けて活性化されたICカードは、外部装置からのコマンドを受信すると、そのコマンドに対する処理を実行する。そのコマンドに対する処理内容に応じて不揮発性メモリに書き込む必要があるデータについては、一旦不揮発性メモリ上のバッファ領域に書き込み、バッファ領域に書き込んだ内容と同じデータを不揮発性メモリ上のデータ格納領域に書き込む。これにより、不揮発性メモリ上のデータ格納領域へのデータの書き込みが完了すると、コマンドの実行結果を示すステータスとコマンドの処理に応じたレスポンスデータを処理結果として外部装置へ出力する。 First, when the IC card activated by the supply of power and clock from the external device receives a command from the external device, it executes processing for the command. For data that needs to be written to the nonvolatile memory according to the processing contents for that command, write the data to the buffer area on the nonvolatile memory once, and store the same data as the data written to the buffer area in the data storage area on the nonvolatile memory. Write. Thus, when the data writing to the data storage area on the nonvolatile memory is completed, the status indicating the command execution result and the response data corresponding to the command processing are output to the external device as the processing result.
このように、従来のICカードでは、ICカードが外部装置からコマンドを受信してから処理結果を外部装置へ出力するまで、不揮発性メモリ上のバッファ領域とデータ格納領域とにデータの書き込みを行っている。つまり、コマンドを受信してから不揮発性メモリへのデータの書き込みを2度行ってからコマンドに対する処理結果を出力するため、コマンド受信から処理結果の出力までの処理時間が長いという問題がある。さらに、上記のような処理手順を行うようにすると、外部装置とICカードとからなるシステム全体としてコマンド処理にかかる時間長くなってしまうという問題点もある。 As described above, in the conventional IC card, data is written to the buffer area and the data storage area in the nonvolatile memory from when the IC card receives a command from the external device until the processing result is output to the external device. ing. That is, there is a problem that the processing time from command reception to output of the processing result is long because the processing result for the command is output after data is written to the nonvolatile memory twice after receiving the command. Furthermore, if the processing procedure as described above is performed, there is a problem in that the time required for command processing becomes longer for the entire system including the external device and the IC card.
また、データ書き込みの処理時間を短縮するために、全てのデータをバッファ領域を経由せずに直接データ格納領域に書き込んでしまうと、コマンド処理途中(データの書き込み中)に電源が遮断などの不具合が生じた場合、コマンド実行前のデータあるいはコマンド実行後のデータを保持(保証)できないという問題が発生する。特に、ICカードの運用時においては、どのような環境でコマンド処理が行われるかが不明であるため、書き込みデータを保証する手順が重要である。従って、従来のICカードでは、データ格納領域に書き込む全てのデータをバッファ領域に一旦書き込んでから、データ格納領域に書き込むようにしている。この結果、2度の不揮発性メモリへの書き込み処理が生じて上述のような理由からコマンドの処理に時間がかかってしまうという問題点もある。 Also, if all the data is written directly to the data storage area without going through the buffer area to shorten the data writing processing time, the power is cut off during command processing (during data writing). When this occurs, there arises a problem that data before command execution or data after command execution cannot be held (guaranteed). In particular, when operating an IC card, it is unclear in which environment the command processing is performed, and therefore a procedure for guaranteeing write data is important. Therefore, in the conventional IC card, all data to be written in the data storage area is once written in the buffer area and then written in the data storage area. As a result, there is a problem that the writing process to the nonvolatile memory occurs twice, and the command process takes time for the reason described above.
この発明は、外部装置からのコマンドに応じた不揮発性メモリへのデータの書き込み処理にかかる時間を短縮することができ、外部装置とのデータの送受信によって行われるコマンド処理を効率的に行うことができるICカード、ICカードの制御方法および携帯可能電子装置の制御方法を提供することを目的とする。 According to the present invention, it is possible to reduce the time required for data writing processing to the nonvolatile memory in accordance with a command from the external device, and to efficiently perform command processing performed by transmitting / receiving data to / from the external device. It is an object to provide an IC card that can be used , a method for controlling an IC card, and a method for controlling a portable electronic device.
この発明のICカードは、データが書き込まれるデータ格納領域と、前記データ格納領域に書き込むべきデータが一旦書き込まれるバッファ領域と、を有する書換え可能な不揮発性メモリと、外部装置からのコマンドを受信する受信手段と、この受信手段により外部装置から受信したコマンドに基づいて前記データ格納領域に書き込むべきデータを前記バッファ領域に書き込むバッファ書込手段と、このバッファ書込手段により前記バッファ領域へのデータの書き込みが完了した場合、書込み完了を示す応答データを前記外部装置へ送信する送信手段と、前記バッファ書込手段により前記バッファ領域に書き込んだデータを前記データ格納領域に書き込むデータ書込手段とを有する。 The IC card according to the present invention receives a command from an external device and a rewritable nonvolatile memory having a data storage area in which data is written and a buffer area in which data to be written in the data storage area is temporarily written. Receiving means; buffer writing means for writing data to be written to the data storage area to the buffer area based on a command received from the external device by the receiving means; and data writing to the buffer area by the buffer writing means. When writing is completed, it has transmission means for transmitting response data indicating completion of writing to the external device, and data writing means for writing data written in the buffer area by the buffer writing means to the data storage area .
この発明のICカードの制御方法は、書換え可能な不揮発性メモリを有する携帯可能電子装置の制御方法であって、外部装置からのコマンドを受信し、この外部装置から受信したコマンドに基づいて前記不揮発性メモリ上のデータ格納領域に書き込むべきデータを前記不揮発性メモリ上のバッファ領域に書き込み、前記不揮発性メモリ上の前記バッファ領域へのデータの書き込みが完了した場合、書込み完了を示す応答データを前記外部装置へ送信し、前記不揮発性メモリ上の前記バッファ領域に書き込んだデータを前記データ格納領域に書き込む処理を行う。 The IC card control method of the present invention is a control method of a portable electronic device having a rewritable nonvolatile memory, which receives a command from an external device and based on the command received from the external device, When the data to be written to the data storage area on the nonvolatile memory is written to the buffer area on the nonvolatile memory and the writing of the data to the buffer area on the nonvolatile memory is completed, the response data indicating the completion of writing is A process of transmitting data to the external device and writing the data written in the buffer area on the nonvolatile memory in the data storage area is performed.
この発明は、外部装置からのコマンドに応じた不揮発性メモリへのデータの書き込み処理にかかる時間を短縮することができ、外部装置とのデータの送受信によって行われるコマンド処理を効率的に行うことができるICカード、ICカードの制御方法および携帯可能電子装置の制御方法を提供できる。 According to the present invention, it is possible to reduce the time required for data writing processing to the nonvolatile memory in accordance with a command from the external device, and to efficiently perform command processing performed by transmitting / receiving data to / from the external device. IC card, IC card control method, and portable electronic device control method can be provided.
以下、この発明を実施するための最良の形態について図面を参照して詳細に説明する。
図1は、この発明の実施の形態に係る携帯可能電子装置としてのICカード2とICカード2との通信を行う外部装置としてのICカード処理装置1の構成例を概略的に示すブロック図である。
The best mode for carrying out the present invention will be described below in detail with reference to the drawings.
FIG. 1 is a block diagram schematically showing a configuration example of an IC card processing device 1 as an external device that communicates between an
上記ICカード処理装置1は、ICカード2と通信する上位機器(外部装置)としての端末機器である。例えば、上記ICカード処理装置1は、ICカード2にデータを書き込む場合、ICカード2へ書込み要求と書込みデータからなる書込みコマンドを送信し、その書込みコマンドに対する応答をICカード2から受信するようになっている。上記ICカード処理装置1は、制御部11、表示部12、操作部13、及びインターフェース部14を有している。例えば、上記ICカード処理装置1は、制御部11、表示部12、操作部13を有するPCと、そのPCに接続されたリーダライタ装置としてのインターフェース部14とにより構成される。
The IC card processing device 1 is a terminal device as a host device (external device) that communicates with the
上記制御部11は、CPUや種々のメモリなどにより構成される。上記制御部11は、当該ICカード2内の各部を制御することにより、上記ICカード2と送受信するコマンドを制御する機能、及び、ICカード2から受信したデータを基に種々の処理を行う機能などを有している。上記表示部12は、ディスプレイ装置により構成され、上記制御部11による表示制御に基づいて種々のデータを表示する。上記操作部13は、キーボード等により構成され、オペレータなどにより種々の操作指示やデータなどが入力される。上記インターフェース部14は、上記ICカード2とのインターフェース装置である。上記インターフェース部14は、例えば、上記ICカード2への電源供給、クロック供給、リセット制御、データの送受信を行うようになっている。
The
また、上記ICカード2は、図1に示すように、制御部21、RAM22、ROM23、不揮発性メモリ24、およびインターフェース25などから構成される。上記制御部21、RAM22、ROM23、不揮発性メモリ24、およびインターフェース25は、例えば、ICチップ(図示しない)により構成され、ICカード2の筐体内に埋設されている。
Further, as shown in FIG. 1, the
上記制御部21は、ICカード2全体の制御を司るものである。上記制御部21は、上記ROM23あるいは不揮発性メモリ24に記憶された制御プログラムに基づいて動作する。上記RAM22は、ワーキングメモリとして機能する揮発性のメモリである。上記RAM22は、上記制御部21が処理中のデータなどを一時保管するバッファとして機能し、例えば、上記インターフェース25により上記ICカード処理装置1から受信したデータを一時保管するようになっている。
The
上記ROM23は、予め制御用のプログラムや制御データなどが記憶されている不揮発性のメモリである。上記ROM23は、製造段階でICカード2内に組み込まれるものであり、上記ROM23に記憶されている制御プログラムは、予め当該ICカード2の仕様に応じて組み込まれるものである。
The
上記不揮発性メモリ24は、例えば、EEPROMあるいはフラッシュROMなどのデータの書込み及び書き換えが可能な不揮発性のメモリにより構成される。上記不揮発性メモリ24には、当該ICカード2の運用用途に応じてプログラムファイルやデータファイルなどが定義され、それらのファイルにデータが書き込まれる。
The
また、上記不揮発性メモリ24には、バッファ指定領域24a、バッファ管理領域24b、バッファ領域24c、およびデータ格納領域24dが設けられている。上記バッファ指定領域24a、バッファ管理領域24b、バッファ領域24c及びデータ格納領域24dは、主に、当該ICカード2の運用時に使用されるメモリ領域である。
The
上記バッファ指定領域24aは、バッファ領域24cに一旦記憶した後にデータ格納領域24dに記憶する必要がある領域を示す情報が格納される。つまり、上記不揮発性メモリのデータ格納領域24dに記憶するデータは、上記バッファ指定領域24aに記憶されている情報を参照して、バッファ領域24cに一旦書き込んでからデータ格納領域24dに書き込む必要があるか否かが判断される。
The
上記バッファ管理領域24bは、使用中のバッファ領域の範囲を示す情報が格納される。上記バッファ管理領域24bには、バッファ領域24cにデータを書き込んだ際にその範囲を示す情報が書き込まれ、さらに、その情報により示される範囲のデータがデータ格納領域24dに書き込まれた際に初期化(削除)されるようになっている。つまり、上記バッファ管理領域24bに記録されている情報によってバッファ領域のどの範囲が使用中があるかが判断されるようになっている。
The
上記バッファ領域24cは、上記データ格納領域24d内の所定の領域に書き込むべきデータを一時的に格納する領域である。
上記データ格納領域24dは、上記ICカード処理装置1からの要求に基づいてデータが書き込まれる領域である。すなわち、上記ICカード処理装置1からデータの書込みコマンドを受信した場合、その書込みコマンドにより書き込むべきデータは、一旦バッファ領域24cに書き込まれた後、上記データ格納領域24dの指定位置に書き込まれるようになっている。
The buffer area 24c is an area for temporarily storing data to be written in a predetermined area in the
The
上記インターフェース25は、ICカード処理装置1などの上位機器との通信を行う通信インターフェースである。上記インターフェース25は、ICカード本体に設けられている図示しないコンタクト部あるいはアンテナ等を介して上位機器とのデータの送受信を行うものである。
The
また、上記ICカード2は、上記ICカード処理装置1などの上位機器から電力などの供給を受けた際、活性化される(動作可能な状態になる)ようになっている。例えば、上記ICカード2が接触式通信により上記ICカード処理装置1と接続される場合、つまり、上記ICカード2が接触式のICカードで構成される場合、上記ICカード2は、上記インターフェース25としてのコンタクト部を介してICカード処理装置1からの動作電源および動作クロックの供給を受けて活性化される。
The
また。ICカード2が非接触式の通信方式により上記ICカード処理装置1と接続される場合、つまり、上記ICカード2が非接触式のICカードで構成される場合、上記ICカード2は、上記インターフェース25としてのアンテナおよび通信制御部等を介してICカード処理装置1からの電波を受信し、その電波から図示しない電源部により動作電源および動作クロックを生成して活性化するようになっている。
Also. When the
次に、ICカード処理装置1およびICカード2の処理について概略的に説明する。
図2は、上記ICカード処理装置1と上記ICカード2との処理を時系列的に示した図である。
まず、ICカード処理装置1とICカード2とは、ICカード2を活性化させて通信可能な状態とするイニシャル処理を行う。すなわち、上記ICカード処理装置1のインターフェース部14とICカード2のインターフェース25とが接続されると、上記ICカード処理装置1は、ICカード2に対して電源及びクロックを供給する。上記ICカード処理装置1とICカード2とが通信状態となると、上記ICカード処理装置1は、ICカード2に対してリセット信号を送信する。
Next, processing of the IC card processing apparatus 1 and the
FIG. 2 is a diagram showing processing of the IC card processing apparatus 1 and the
First, the IC card processing device 1 and the
これに対して、上記ICカード2は、上記ICカード処理装置1からのリセット信号を受信し、上記ICカード処理装置1から受信したリセット信号に基づいてリセット処理を実行する。リセット信号に基づくリセット処理が終了すると、上記ICカード2は、ATR信号をICカード処理装置1へ送信する。
On the other hand, the
上記ICカード2からのATR信号を受信したICカード処理装置1では、所定の起動時の処理を実行する。以上のようなイニシャル処理によって、上記ICカード2がリセットされ、上記ICカード処理装置1とICカード2とがコマンドの送受信やコマンドに基づく処理が実行可能な状態となる。この状態において、ICカード処理装置1とICカード2との間でコマンド処理が行われる。
The IC card processing apparatus 1 that has received the ATR signal from the
すなわち、コマンド処理において、上記ICカード処理装置1は、コマンドデータ(例えば、データの書込み要求と書込みデータ)を上記ICカード2へ送信する。このコマンドデータを受信したICカード2では、コマンドに応じた処理を実行するとともに、書込みデータをバッファ領域24cに書き込む。
That is, in command processing, the IC card processing apparatus 1 transmits command data (for example, a data write request and write data) to the
当該コマンドの処理における書込みデータのバッファ領域24cへの書込みが完了すると、上記ICカード2は、上記バッファ領域24cへの書込み完了を示すステータスと処理結果などのデータ(レスポンスデータ)を上記ICカード処理装置1へ送信する。このようなステータスを送信したICカード2では、上記バッファ領域24cに書き込んだデータを上記データ格納領域24dの指定された領域に書き込む処理を行う。
When the writing of the write data to the buffer area 24c in the processing of the command is completed, the
一方、上記ICカード2からバッファ領域24cへの書込み完了を示すステータスと処理結果などのデータ(レスポンスデータ)を受信した上記ICカード処理装置1では、上記レスポンスデータに基づく処理を実行する。
On the other hand, the IC card processing apparatus 1 that has received data (response data) such as a status indicating completion of writing to the buffer area 24c from the
上記のようなコマンド処理によれば、ICカード2内でのデータ格納領域24dへのデータの書込みと、ICカード処理装置1でのレスポンスデータに基づく処理が並行して実施される。これにより、ICカード処理装置1とICカード2とのデータの送受信による処理が処理全体として短縮される。言い換えると、ICカード処理装置1がレスポンスデータに基づく処理を行っている間に、ICカード2内でデータ格納領域24dへのデータの書込みを行うようにしたため、データ格納領域24dへのデータの書込み処理にかかる時間を全体として短縮できる。
According to the command processing as described above, data writing to the
次に、上記のようなコマンド処理の処理手順について詳細に説明する。
図3は、コマンド処理の処理手順を説明するためのフローチャートである。
まず、ICカード処理装置1が上記インターフェース部14によりICカード2に対してコマンドデータ(コマンド)を送信したものとする(ステップS10)。上記ICカード処理装置1からのコマンドデータを受けた際(ステップS11)、上記ICカード2の制御部21は、データ格納領域24dへのデータ書込み処理中であるか否かを判断する(ステップS12)。ここで、データ書込み処理とは、前回受信したコマンドデータに基づくデータ格納領域24dへのデータ書込み処理である。
Next, the processing procedure of the command processing as described above will be described in detail.
FIG. 3 is a flowchart for explaining the procedure of command processing.
First, it is assumed that the IC card processing apparatus 1 transmits command data (command) to the
上記判断によりデータ格納領域24dへのデータ書込み処理中であると判断した場合(ステップS12、YES)、上記ICカード2の制御部21は、実行中のデータ格納領域24dへのデータ書込み処理と並行して当該コマンドデータの受信処理が可能であるか否かを判断する(ステップS13)。
When it is determined by the above determination that the data writing process to the
この判断により並行処理が不可能であると判断した場合(ステップS13、NO)、上記ICカード2の制御部21は、実行中のデータ格納領域24dへのデータ書込み処理を中断する(ステップS14)。なお、上記データ格納領域24dへのデータ書込み処理は、後述するように不揮発性メモリとしてのバッファ領域24cに書き込まれているデータをデータ格納領域24dに書き込む処理であるため、一旦中断して他の処理を先に実行することが可能である。
If it is determined by this determination that parallel processing is impossible (NO in step S13), the
実行中のデータ格納領域24dへのデータ書込み処理を中断すると、上記ICカード2の制御部21は、上記インターフェース25を介して上記ICカード処理装置1からのコマンドデータを受信する受信処理を行う(ステップS15)。この受信処理において、上記ICカード2の制御部21は、上記ICカード処理装置1からのコマンドデータを上記インターフェース25を介して受信し、受信したコマンドデータを一旦RAM22に取り込む。
When the data writing process to the
ここで、上記ICカード処理装置1からのコマンドデータの受信処理が完了すると、上記ICカード2の制御部21は、中断していたデータ格納領域24dへのデータ書込み処理を再開する(ステップS16)。このデータ書込み処理が完了すると、上記ICカード2の制御部21は、ステップS18へ進み、上記ステップS15で受信したコマンドデータに基づくコマンド処理を実行する(ステップS18)。
Here, when the reception process of the command data from the IC card processing device 1 is completed, the
また、上記判断によりデータ格納領域24dへのデータ書込み処理中でないと判断した場合(ステップS12、NO)、あるいは、並行処理(データ格納領域24dへのデータ書込み処理とコマンドデータの受信処理との並行処理)が可能であると判断した場合(ステップS13、YES)、上記ICカード2の制御部21は、上記インターフェース25を介して上記ICカード処理装置1からのコマンドデータを受信する受信処理を行う(ステップS17)。この受信処理において、上記ICカード2の制御部21は、上記ICカード処理装置1からのコマンドデータを上記インターフェース25を介して受信し、受信したコマンドデータを一旦RAM22に取り込む。
Further, when it is determined by the above determination that data writing processing to the
上記ステップS16でデータ書込み処理が完了した際、あるいは、上記ステップS17で上記ICカード処理装置1からのコマンドデータの受信処理が完了した際、上記ICカード2の制御部21は、当該コマンドデータに基づくコマンド処理を実行する(ステップS18)。このコマンド処理の処理結果に基づき、上記ICカード2の制御部21は、上記不揮発性メモリ24のデータ格納領域24dに書き込むべきデータがあるか否かを判断する(ステップS19)。
When the data writing process is completed in step S16 or when the command data reception process from the IC card processing apparatus 1 is completed in step S17, the
この判断により上記データ格納領域24dに書き込むべきデータがあると判断した場合(ステップS19、YES)、上記ICカード2の制御部21は、当該データの書込み領域(データ格納領域における書込み位置を示すアドレス)と上記バッファ指定領域24aに記憶されている指定領域を示す情報とに基づいて当該データをバッファ領域24cを経由して書き込む必要があるか否かを判断する(ステップS20)。
If it is determined that there is data to be written in the
ここで、上記バッファ指定領域24aには、上記バッファ領域24cに一旦記録してからデータ格納領域24dに書き込む必要があるデータをデータ格納領域24dにおける領域(指定領域)を示す情報として記憶されている。つまり、データ格納領域24dでは、種々のデータがそれぞれ所定の領域に記憶されるようになっており、それらのデータには、データ書込み処理中の電源切断などによるエラーによって正常なデータが書き込まれなかった場合にICカードの正常な動作ができなくなってしまうようなものがある。
Here, in the
このようなデータは、バッファ領域24cに一旦書き込んでからデータ格納領域24dに書き込むようにすることにより、データ書込み処理中にエラーが起きた場合であってもバッファ領域24cに記憶されているデータによって正常なデータに復帰することが可能となっている。従って、上記バッファ指定領域24aには、バッファ領域24cを経由してデータ格納領域24dに書き込むべきデータをデータ格納領域における領域を示す情報(アドレス情報)として格納されている。
Such data is written once in the buffer area 24c and then written in the
上記判断により当該データを一旦バッファ領域24cへ書込む必要であると判断した場合(ステップS20、YES)、上記ICカード2の制御部21は、当該データをバッファ領域24cへ書込むデータ書込み処理を行う(ステップS21)。このバッファ領域24cへのデータ書込み処理が完了すると、上記ICカード2の制御部21は、当該データを書き込んだバッファ領域24cにおける領域(書込み範囲)を示す情報や当該データを書き込むべき上記データ格納領域24dにおける書き込み領域を示す情報などをバッファ管理情報として上記バッファ管理領域24bに記憶する(ステップS22)。
If it is determined by the above determination that the data needs to be once written into the buffer area 24c (YES in step S20), the
この場合、上記バッファ領域24cへのデータ書込み処理が完了すると、上記ICカード2の制御部21は、上記インターフェース25により上記バッファ領域24cへの書込み処理の完了を示すステータスとコマンド処理により得られたデータ(レスポンスデータ)とを処理結果として上記ICカード処理装置1へ送信する(ステップS23)。
In this case, when the data writing process to the buffer area 24c is completed, the
また、上記判断によりデータ格納領域24dに書き込むべきデータがバッファ領域24cを経由する必要がないと判断した場合(ステップS20、NO)、つまり、当該データをバッファ領域24cに書き込まずに直接データ格納領域24dに書き込むことが可能であると判断した場合、上記ICカードの制御部21は、当該データを直接的に上記データ格納領域の所定の領域に書き込むデータ書込み処理を行う(ステップS24)。
If it is determined by the above determination that the data to be written to the
この場合、上記データ格納領域24dへの直接のデータ書込み処理が完了すると、上記ICカード2の制御部21は、上記インターフェース25によりコマンドの実行結果を示すステータスとコマンド処理により得られたデータ(レスポンスデータ)とを処理結果として上記ICカード処理装置1へ送信する(ステップS23)。
In this case, when the direct data writing process to the
なお、上記コマンド処理によりデータ格納領域24dに書き込みべきデータがないと判断された場合、上記ICカード2の制御部21は、上記インターフェース25によりコマンドの実行結果を示すステータスとコマンド処理により得られたデータ(レスポンスデータ)を処理結果として上記ICカード処理装置1へ送信する(ステップS23)。
When it is determined that there is no data to be written in the
このような動作のICカード2に対して、上記ICカード処理装置1では、上記インターフェース部14により上記ICカード2からの当該コマンドに対する処理結果を受信する(ステップS25)。上記ICカード2からコマンドに対する処理結果(レスポンスデータ)を受信した場合、上記ICカード処理装置1の制御部11は、上記ICカード2から受信したコマンドに対する処理結果としてのレスポンスデータに基づいて種々の処理を実行する(ステップS26)。
For the
上記コマンドに対する処理結果(レスポンスデータ)を送信した場合、上記ICカード2の上記制御部21は、上記バッファ管理領域24bに記憶されている情報に基づいて上記バッファ領域24cに書き込んだデータがあるか否かを判断する(ステップS27)。この判断によりバッファ領域24cに書き込んだデータがあると判断した場合、上記ICカード2の制御部21は、上記バッファ管理領域24bに記憶されている情報に基づいて上記バッファ領域24cに記憶されているデータを正規の記憶領域であるデータ格納領域24dの所定領域に書込む処理を行う(ステップS28)。
When the processing result (response data) for the command is transmitted, does the
つまり、上記データ格納領域24dに書き込むべきデータをバッファ領域24cに記憶した場合、上記ICカード2の上記制御部21は、上記バッファ領域24cへの書込み処理の完了を示すステータスとコマンド処理により得られたデータとを処理結果として上記ICカード処理装置1へ送信した後、上記バッファ領域24cに書き込んだデータをデータ格納領域24dに書込む処理を行うようになっている(ステップS28)。
That is, when the data to be written to the
さらに、上記バッファ領域24cに書き込まれているデータのデータ格納領域24dへの書込みが完了すると、上記ICカード2の制御部21は、上記バッファ管理領域24bに記憶している当該データに対するバッファ管理情報を初期化(削除)する(ステップS29)。
Further, when the writing of the data written in the buffer area 24c to the
上記のような処理によれば、バッファ領域への書き込みが完了した際に、ICカード処理装置1へコマンド処理の完了を示す応答データを送信し、当該ICカード処理装置が応答データに対する処理を行って次のコマンドを受信するまでの間に、バッファ領域に書き込んだデータのデータ格納領域への書き込みを行うことができる。これにより、ICカード処理装置におけるICカードからの応答データに基づく処理と、ICカードにおけるデータ格納領域へのデータの書き込み処理と、並行して行うことができ、システム全体としてコマンドに対する処理を高速化、効率化できる。 According to the above processing, when writing to the buffer area is completed, response data indicating completion of command processing is transmitted to the IC card processing device 1, and the IC card processing device performs processing on the response data. Until the next command is received, the data written in the buffer area can be written into the data storage area. As a result, the processing based on the response data from the IC card in the IC card processing device and the data writing processing to the data storage area in the IC card can be performed in parallel. Can improve efficiency.
なお、上記ICカード処理装置におけるICカードでのコマンドに対する処理結果に基づく処理は、ICカード内での不揮発性メモリへのデータの書込み処理に比べて処理時間がかかるものが多い。例えば、ICカードからの応答データに応じたICカード処理装置での処理の処理時間がICカードでのデータ格納領域へのデータ書き込み処理の処理時間よりも長ければ、ICカードでのデータ格納領域へのデータ書き込み処理に要する時間分がシステム全体の処理時間として短縮することが可能となる。このように、ICカード2でのデータ格納領域へのデータの書込み処理とICカード処理装置1での処理とを並行して行うようにしたことにより、ICカードとICカード処理装置とからなるシステム全体としてのコマンド処理の処理時間を短縮することができ、コマンド処理の効率化を図ることができる。
Note that the processing based on the processing result for the command on the IC card in the IC card processing apparatus often takes more processing time than the data writing processing to the nonvolatile memory in the IC card. For example, if the processing time of the processing in the IC card processing device according to the response data from the IC card is longer than the processing time of the data writing processing in the data storage area in the IC card, the data storage area in the IC card is entered. Thus, the time required for the data writing process can be shortened as the processing time of the entire system. As described above, the data writing process to the data storage area in the
次に、上記のようなICカード2が活性化された際の動作について説明する。
上記ICカード2は、上述しように、ICカード処理装置1などの上位機器からの電源供給を受けて活性化するようになっている。このため、図3を用いて説明したようなコマンド処理の途中で電源が遮断された場合、つまり、処理中にICカード処理装置1からの電源供給が瞬断された場合、当該ICカード2の不揮発性メモリ24においては、実行中のコマンド処理によるデータの状態が様々な状態となりうる。
Next, the operation when the
As described above, the
例えば、バッファ領域24cへの書込みが完了していない状態で電源が遮断された場合、上記ICカード2では、バッファ領域24cにもデータ格納領域24dにもコマンド処理後のデータが記憶されていない状態となっている。また、バッファ領域24cへの書込みは完了しているが、データ格納領域24dへのデータの書込みが完了していない場合、当該ICカード2では、バッファ領域24cにはコマンド処理後のデータが記憶されているが、データ格納領域24dには当該データが記憶されていない状態となっている。
For example, when the power is shut off in a state where writing to the buffer area 24c is not completed, the
上記のようなコマンド処理の途中での電源遮断に対応するため、上記ICカード2では、活性化した際に不揮発性メモリ24におけるデータの状態に応じた処理を行うようになっている。以下、ICカード2が活性化した際の処理について説明する。
In order to cope with the power interruption in the middle of the command processing as described above, the
図4は、上記ICカード2が活性化した際の処理手順を説明するためのフローチャートである。
すなわち、上記ICカード処理装置1と上記ICカード2とが互いのインターフェースを介して接続されると、上述したようなイニシャル処理が行われる(ステップS31)。このイニシャル処理によって上記ICカード2が活性化される。活性化したICカード2の制御部21は、まず、上記バッファ管理領域24bに記憶されているバッファ管理情報を読み出す(ステップS32)。これにより、上記ICカード2の制御部21は、上記バッファ管理領域24bにバッファ管理情報が記憶されているか否かによって使用中のバッファ領域が存在するか否かを判断する(ステップS33)。この判断では、上記バッファ管理領域24bにおけるバッファ管理情報の有無によって上記データ格納領域24dへの書込みが完了していないデータがバッファ領域24cに存在するか否かを判断している。
FIG. 4 is a flowchart for explaining a processing procedure when the
That is, when the IC card processing device 1 and the
上記判断により使用中のバッファ領域24cが存在すると判断した場合(ステップS33、YES)、上記ICカード2の制御部21は、上記バッファ管理領域24bに記憶されているバッファ管理情報に基づいて、上記バッファ領域24cに記憶されているデータをデータ格納領域24dに書き込む処理を行う(ステップS34)。
If it is determined by the above determination that there is a buffer area 24c in use (step S33, YES), the
すなわち、上記ICカード2の制御部21は、上記バッファ管理領域24bに記憶されているバッファ管理情報に基づいて、上記バッファ領域24cにおけるデータが書き込まれている範囲(領域)を判断し、その範囲に書き込まれているデータをデータ格納領域24dの指定領域に書き込む処理を行うようになっている。
That is, the
このようなバッファ領域24cに書き込まれているデータをデータ格納領域の指定領域に書き込む処理が完了すると、上記ICカード2の制御部21は、上記バッファ管理領域24bの当該バッファ管理情報を初期化(削除)する(ステップS35)。これにより、当該ICカード2は、通常のコマンド処理が可能な状態となる(ステップS36)。
When the process of writing the data written in the buffer area 24c to the designated area of the data storage area is completed, the
上記のような処理によれば、前回、上記バッファ領域24cにのみデータが書き込まれている状態で電源が遮断された場合(例えば、バッファ領域24cのデータをデータ格納領域24dに書込み中に電源が遮断された場合)、当該ICカードは、再度活性化した際に、上記バッファ領域24cに書き込まれているデータをデータ格納領域24dの正規の領域に書き込むことができる。この結果、上記ICカード2では、上記データ格納領域24dに前回のコマンド処理に伴うデータが書き込まれた状態で次回以降のコマンド処理を実行することができる。
According to the above processing, when the power supply was shut down last time when data was written only to the buffer area 24c (for example, the power supply was being written while the data in the buffer area 24c was being written to the
また、前回、上記バッファ領域24cにも正常なデータが書き込まれていない状態で電源が遮断された場合(例えば、バッファ領域24cへの書込み中に電源が遮断された場合)には、当該ICカード2は、前回のコマンド処理が実行されていない状態(前回のコマンド処理に伴うデータが書き込まれていない状態)で次回以降のコマンド処理を実行することができる。従って、上記のような処理により、不正なデータがデータ格納領域24dに書き込まれた状態でICカード2が動作することを防止できる。
In addition, when the power is shut down in a state where normal data has not been written in the buffer area 24c last time (for example, when the power is shut down during writing to the buffer area 24c), the IC card No. 2 can execute the next command processing in the state in which the previous command processing is not executed (data in which the previous command processing is not written). Therefore, the above-described processing can prevent the
次に、上記データ格納領域24dへのデータ書込み処理においてエラーが発生した場合について説明する。
例えば、データ格納領域24dへのデータ書込み処理中に不具合が発生した場合、そのデータは、バッファ領域24cに保持されている。このため、データ格納領域24dへのデータ書込み処理中に電源遮断などが起きた場合には、図4で説明したような動作によって、バッファ領域24cに記憶されているデータをデータ格納領域24dに再度書込みことにより正常に行うことができる。しかしながら、上記データ格納領域24dにおけるメモリ素子の動作不良などによって正常なデータの書込みができないような場合、ICカード処理装置1ではコマンド処理の完了を示す通知を受けているにもかかわらずに、実際にはデータ格納領域24dに正常なデータが書き込まれていないという状態が生じる。
Next, a case where an error occurs in the data writing process to the
For example, when a problem occurs during the data writing process to the
このような場合、上記ICカード2の制御部21は、上記データ格納領域24dへのデータ書込みのエラーに対するエラー処理を行う。このような場合のエラー処理としては、例えば、上記データ格納領域24dへの書込みエラーが発生した後、次のコマンドを上記ICカード処理装置1から受信した際に上記ICカード処理装置1へ書込みエラーが生じていることを通知するようにすれば良い。この場合、当該ICカード2からICカード処理装置1へ書込みエラーを通知した後、従来の書込み処理のエラーに対する処理と同様な処理を行う。これにより、当該ICカード2で発生した書き込みエラーに対する回復処理を行うことができる。
In such a case, the
また、上記データ格納領域24dへの書込みデータに対するエラー処理としては、上記バッファ領域24cに上記データ格納領域24dに書き込むべきデータが正常な状態が書き込まれているため、当該データが書き込まれているバッファ領域24c上の領域を正規のデータ格納領域24dとして使用するようにしても良い。この場合、上記不揮発性メモリ24におけるバッファ領域24c及びデータ格納領域24dを定義する情報を変更することにより、書き込みエラーから回復することができる。
Further, as an error process for the write data to the
上記のように、本実施の形態では、電源が切られてもデータを保持する事が可能で、かつ、書換可能な不揮発性メモリ、外部装置との通信用のインターフェース、および、制御部を有するICカードにおいて、上記不揮発性メモリに、データを格納するデータ格納領域と、そのデータ格納領域に書き込むべきデータを一時的に書き込むバッファ領域とを設け、上記インターフェースにより上記外部装置から受信したコマンドに対応する処理の結果としてデータをデータ格納領域に書き込む必要がある場合、上記制御部は、上記バッファ領域に当該データを書き込み、コマンド処理とバッファ領域へのデータの書き込みが終了した際にバッファ領域への書き込み完了を示す応答データを外部装置へ出力してから、上記バッファ領域に書き込んだデータを上記データ格納領域に書き込む処理を行うようにしたものである。 As described above, this embodiment includes a rewritable nonvolatile memory, an interface for communication with an external device, and a control unit that can retain data even when the power is turned off. In the IC card, a data storage area for storing data and a buffer area for temporarily writing data to be written to the data storage area are provided in the nonvolatile memory, and the command received from the external device by the interface is supported. When it is necessary to write data to the data storage area as a result of the processing to be performed, the control unit writes the data to the buffer area, and when the command processing and data writing to the buffer area are completed, Response data indicating completion of writing is output to the external device and then written to the buffer area. The chromatography data is obtained to perform a process of writing in the data storage area.
これにより、バッファ領域に書き込んだデータをデータ格納領域に書き込み処理は、外部装置から次のコマンドを受信するまでの間(コマンド受信待ち状態の間)に、行うことができる。従って、データ格納領域へのデータの書き込みを外部装置への応答データの出力後に行う事が可能となり、外部装置からコマンドを受信してからICカードが応答データを出力するまでの時間(コマンド処理に要する時間)を短縮できる。 Thereby, the data written in the buffer area can be written into the data storage area until the next command is received from the external device (during the command reception waiting state). Accordingly, data can be written to the data storage area after the response data is output to the external device, and the time from when the command is received from the external device until the IC card outputs the response data (in command processing) Time required) can be shortened.
さらに、データ格納領域へデータ書き込み中に、外部装置から他のコマンドを受信した場合、データ格納領域へのデータ書き込み処理を中断し、外部装置からのコマンドの受信処理を行ってから前記データ格納領域へデータの書き込みを再開し、その書き込みが終了後に、受信したコマンドに対する処理を実行するようにしたものである。これにより、データ格納領域へのデータの書き込み中に次にコマンドが供給される場合であっても、データ格納領域へのデータの書き込み処理とコマンドの受信処理とを正常に行うことができ、コマンドに対する処理の時間を短縮することができる。 Further, when another command is received from the external device while data is being written to the data storage area, the data storage area is interrupted after the data write process to the data storage area is performed and the command reception process from the external apparatus is performed. The data writing is resumed, and the processing for the received command is executed after the writing is completed. As a result, even if the next command is supplied while data is being written to the data storage area, the data writing process to the data storage area and the command receiving process can be performed normally. The processing time can be shortened.
さらに、データ格納領域に書き込むべきデータのうちバッファ領域に一旦書き込む必要があるデータを示す情報をバッファ指定領域に記憶しておき、不揮発性メモリへのデータの書き込みを行う際、バッファ書き込み指定領域を参照して、バッファ領域への書き込みが必要か否かを判断し、バッファ領域への書き込みが必要と判断したデータはバッファ領域を経由してデータ格納領域へ書き込み、バッファ領域への書き込みが必要でないと判断したデータはバッファ領域を経由せずに直接データ格納領域に書き込むようにしたものである。これにより、バッファ領域へ書き込む必要があるデータを最小限に抑える事が可能となり、すべてのデータがバッファ領域を経由する場合に比べて、処理時間を短縮する事が可能となり、コマンドに対する処理を効率化できる。 Further, information indicating data that needs to be written once in the buffer area among data to be written in the data storage area is stored in the buffer designation area, and when writing data to the nonvolatile memory, the buffer write designation area is set. Refer to it to determine whether it is necessary to write to the buffer area. Data that is determined to need to be written to the buffer area is written to the data storage area via the buffer area, and it is not necessary to write to the buffer area. The data determined to be written is directly written in the data storage area without going through the buffer area. This makes it possible to minimize the amount of data that needs to be written to the buffer area, reducing the processing time compared to when all data passes through the buffer area, and increasing the efficiency of command processing. Can be
さらに、バッファ領域に書き込んだデータ格納領域に書き込むべきデータに対するバッファ管理情報を記憶し、当該データのデータ格納領域への書き込みが完了したら当該バッファ管理情報を初期化するバッファ管理領域を設けて、バッファ領域のデータを管理するようにしたものである。これにより、データ格納領域へのデータの書き込み中に電源遮断などによってICカードが不活性状態になっても、不揮発性メモリ内のデータを保証することができる。 Further, buffer management information for data to be written to the data storage area written in the buffer area is stored, and when the writing of the data to the data storage area is completed, a buffer management area for initializing the buffer management information is provided. The data of the area is managed. As a result, even if the IC card becomes inactive due to power interruption or the like while writing data to the data storage area, the data in the nonvolatile memory can be guaranteed.
さらに、ICカードが不活性状態から活性状態になった際に、バッファ管理領域の情報を基に、バッファ領域を参照してデータ格納領域に書き込みべきデータが存在するか否かを判断し、データ格納領域に書き込むべきデータが存在する場合には、当該バッファ管理情報に基づいてデータ格納領域への当該データの書き込み処理を行うようにしたものである。これにより、ICカードが活性化した際に、バッファ領域のデータ格納領域に書き込むべきデータをデータ格納領域に書き込むようにしたため、データを保証することができるとともに、ICカード内の処理を効率化することが可能となる。 Further, when the IC card changes from the inactive state to the active state, it is determined whether there is data to be written in the data storage area with reference to the buffer area based on the information in the buffer management area, and the data When there is data to be written in the storage area, the data is written into the data storage area based on the buffer management information. Thereby, when the IC card is activated, data to be written in the data storage area of the buffer area is written in the data storage area, so that the data can be guaranteed and the processing in the IC card is made efficient. It becomes possible.
1…ICカード処理装置(外部装置)、2…ICカード(携帯可能電子装置)、11…制御部、12…表示部、13…操作部、14…インターフェース部、21…制御部、22…RAM、23…ROM、24…不揮発性メモリ、24a…バッファ指定領域、24b…バッファ管理領域、24c…バッファ領域、24d…データ格納領域、25…インターフェース
DESCRIPTION OF SYMBOLS 1 ... IC card processing apparatus (external device), 2 ... IC card (portable electronic device), 11 ... Control part, 12 ... Display part, 13 ... Operation part, 14 ... Interface part, 21 ... Control part, 22 ...
Claims (5)
データが書き込まれるデータ格納領域と、前記データ格納領域に書き込むべきデータが一旦書き込まれるバッファ領域と、を有する書換え可能な不揮発性メモリと、
外部装置からのコマンドを受信する受信手段と、
この受信手段により外部装置から受信したコマンドに基づいて前記データ格納領域に書き込むべきデータを前記バッファ領域に書き込むバッファ書込手段と、
このバッファ書込手段により前記バッファ領域へのデータの書き込みが完了した場合、前記バッファ領域から前記データ格納領域へのデータの書き込む完了を待つことなく、前記コマンドに対する書込み完了を示す応答データを前記外部装置へ送信する送信手段と、
前記バッファ書込手段により前記バッファ領域に書き込んだデータを前記データ格納領域に書き込むデータ書込手段と、
を具備するICカード。 In IC card ,
A rewritable nonvolatile memory having a data storage area in which data is written, and a buffer area in which data to be written in the data storage area is once written,
Receiving means for receiving a command from an external device;
Buffer writing means for writing data to be written to the data storage area to the buffer area based on a command received from the external device by the receiving means;
When writing of data to the buffer area is completed by the buffer writing means, response data indicating completion of writing to the command is sent to the external without waiting for completion of writing of data from the buffer area to the data storage area. Transmitting means for transmitting to the device;
Data writing means for writing data written to the buffer area by the buffer writing means to the data storage area;
IC card comprising:
当該携帯可能電子装置が起動した際、前記バッファ管理領域に記憶されているバッファ管理情報に基づいて前記バッファ領域に前記データ格納領域に書き込むべきデータが存在するか否かを判断する判断手段と、
前記判断手段により前記バッファ領域に前記データ格納領域に書き込むべきデータが存在すると判断した場合、前記バッファ管理領域に記憶されている前記バッファ管理情報に基づいて前記データ書込手段により前記バッファ領域に書き込まれているデータを前記データ格納領域に書き込む処理手段と、
を具備する前記請求項1に記載のICカード。 Further, a buffer management area on the nonvolatile memory for storing buffer management information for data written to the buffer area by the buffer writing means;
A determination means for determining whether or not there is data to be written to the data storage area in the buffer area based on buffer management information stored in the buffer management area when the portable electronic device is activated;
When the determination means determines that there is data to be written to the data storage area in the buffer area, the data writing means writes the data to the buffer area based on the buffer management information stored in the buffer management area. Processing means for writing the stored data into the data storage area;
The IC card according to claim 1, further comprising:
を具備する前記請求項2に記載のICカード。 And an initialization means for initializing the buffer management information in the buffer management area when writing of data to the data storage area based on the buffer management information by the processing means is completed.
The IC card according to claim 2, comprising:
外部装置からのコマンドを受信し、
この外部装置から受信したコマンドに基づいて前記不揮発性メモリ上のデータ格納領域に書き込むべきデータを前記不揮発性メモリ上のバッファ領域に書き込み、
前記不揮発性メモリ上の前記バッファ領域へのデータの書き込みが完了した場合、前記バッファ領域から前記データ格納領域へのデータの書き込む完了を待つことなく、前記コマンドに対する書込み完了を示す応答データを前記外部装置へ送信し、
前記不揮発性メモリ上の前記バッファ領域に書き込んだデータを前記データ格納領域に書き込む処理を行う、
ICカードの制御方法。 A method of controlling an IC card having a rewritable nonvolatile memory,
Receives commands from external devices,
Based on the command received from this external device, the data to be written to the data storage area on the nonvolatile memory is written to the buffer area on the nonvolatile memory,
When writing of data to the buffer area on the nonvolatile memory is completed, response data indicating completion of writing to the command is sent to the external without waiting for completion of writing of data from the buffer area to the data storage area. To the device,
Processing to write the data written to the buffer area on the nonvolatile memory to the data storage area;
IC card control method.
外部装置からのコマンドを受信し、
この外部装置から受信したコマンドに基づいて前記不揮発性メモリ上のデータ格納領域に書き込むべきデータを前記不揮発性メモリ上のバッファ領域に書き込み、
前記不揮発性メモリ上の前記バッファ領域へのデータの書き込みが完了した場合、書込み完了を示す応答データを前記外部装置へ送信し、
前記不揮発性メモリ上の前記バッファ領域に書き込んだデータを前記データ格納領域に書き込む処理を行い、
さらに、前記不揮発性メモリ上のバッファ指定領域に記憶されている前記データ格納領域に書き込むべきデータのうち前記バッファ領域への書き込みが必要なデータを示すバッファ指定情報に基づいて、前記外部装置から供給されたコマンドに基づいて前記データ格納領域に書き込むべきデータを前記バッファ領域に書き込むか否かを判断し、
前記判断により前記データ格納領域に書き込むべきデータを前記バッファ領域に書き込まないと判断した場合、前記バッファ領域への当該データの書き込みを行わずに、前記データ格納領域への当該データの書き込みを行う、
携帯可能電子装置の制御方法。 A method for controlling a portable electronic device having a rewritable nonvolatile memory comprising:
Receives commands from external devices,
Based on the command received from this external device, the data to be written to the data storage area on the nonvolatile memory is written to the buffer area on the nonvolatile memory,
When writing of data to the buffer area on the nonvolatile memory is completed, response data indicating completion of writing is sent to the external device,
A process of writing data written to the buffer area on the nonvolatile memory to the data storage area,
Further, supplied from the external device based on buffer designation information indicating data that needs to be written to the buffer area among data to be written to the data storage area stored in the buffer designation area on the nonvolatile memory Whether to write data to be written to the data storage area to the buffer area based on the command that has been issued,
If it is determined by the determination that data to be written to the data storage area is not written to the buffer area, the data is written to the data storage area without writing the data to the buffer area .
Control method of portable electronic device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011097026A JP5341947B2 (en) | 2011-04-25 | 2011-04-25 | IC card, control method of IC card, and control method of portable electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011097026A JP5341947B2 (en) | 2011-04-25 | 2011-04-25 | IC card, control method of IC card, and control method of portable electronic device |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004188027A Division JP4768237B2 (en) | 2004-06-25 | 2004-06-25 | Portable electronic device and method for controlling portable electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011198375A JP2011198375A (en) | 2011-10-06 |
JP5341947B2 true JP5341947B2 (en) | 2013-11-13 |
Family
ID=44876390
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011097026A Active JP5341947B2 (en) | 2011-04-25 | 2011-04-25 | IC card, control method of IC card, and control method of portable electronic device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5341947B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6281302B2 (en) * | 2014-01-31 | 2018-02-21 | 大日本印刷株式会社 | Information processing apparatus, IC card, and data processing method |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3651886B2 (en) * | 2001-03-06 | 2005-05-25 | 船井電機株式会社 | Electronic system |
JP2003085511A (en) * | 2001-09-14 | 2003-03-20 | Dainippon Printing Co Ltd | Ic card, and method for writing data in ic card |
JP4129381B2 (en) * | 2002-09-25 | 2008-08-06 | 株式会社ルネサステクノロジ | Nonvolatile semiconductor memory device |
-
2011
- 2011-04-25 JP JP2011097026A patent/JP5341947B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2011198375A (en) | 2011-10-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4768237B2 (en) | Portable electronic device and method for controlling portable electronic device | |
EP2638466B1 (en) | Software updating process for an embedded device | |
KR101051703B1 (en) | Integrated circuit card and integrated circuit card system with suspend / reset function | |
JP2002123806A (en) | Ic card, data update control method, data/message restoration control method, and storage medium with control program recorded thereon | |
JP2010182270A (en) | Mobile electronic apparatus and data management method in mobile electronic apparatus | |
JP2009048415A (en) | Portable electronic device and control method of portable electronic device | |
JP2003216511A (en) | Non-volatile memory device, data updating method, data updating program and computer readable recording medium with recorded program | |
JP4896842B2 (en) | Portable electronic device | |
JP5341947B2 (en) | IC card, control method of IC card, and control method of portable electronic device | |
JP2008310596A (en) | Portable electronic equipment and control method for potable electronic equipment | |
JP6233134B2 (en) | Electronic information storage medium, information processing method, and information processing program | |
JP4965909B2 (en) | IC card | |
JP4784138B2 (en) | IC card and IC card program | |
JP2006293706A (en) | Multi-application ic card with application updating function | |
JP2004185419A (en) | Portable electronic medium, issuing system of portable electronic medium, processing method, and issuing method | |
US20240134651A1 (en) | Download method of program to settlement terminal and settlement terminal | |
JP6281302B2 (en) | Information processing apparatus, IC card, and data processing method | |
JP2007172301A (en) | Ic card having function of protecting data during transaction execution, and ic card program | |
JP5050508B2 (en) | Storage device, storage device program, and storage processing method | |
JP2008305263A (en) | Nonvolatile semiconductor storage device and memory management method | |
JP5492172B2 (en) | Portable electronic device, IC card and IC module | |
JP2005275621A (en) | Portable electronic device, electronic processing system and electronic processing method | |
JP5038918B2 (en) | Portable electronic device and method for controlling portable electronic device | |
JP2006172271A (en) | Multi-application ic card, and program for ic card | |
JP2008047041A (en) | Portable electronic device and ic card |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130219 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130417 |
|
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: 20130716 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130808 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5341947 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |