JP2014063345A - Ic card, portable electronic device, and information processing method - Google Patents
Ic card, portable electronic device, and information processing method Download PDFInfo
- Publication number
- JP2014063345A JP2014063345A JP2012207973A JP2012207973A JP2014063345A JP 2014063345 A JP2014063345 A JP 2014063345A JP 2012207973 A JP2012207973 A JP 2012207973A JP 2012207973 A JP2012207973 A JP 2012207973A JP 2014063345 A JP2014063345 A JP 2014063345A
- Authority
- JP
- Japan
- Prior art keywords
- command
- program
- card
- volatile storage
- storage means
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
本発明の実施形態は、ICカード、携帯可能電子装置、及び情報処理方法に関する。 Embodiments described herein relate generally to an IC card, a portable electronic device, and an information processing method.
近年、ICカード(携帯可能電子装置)の普及が目覚ましい。例えば、ICカードは、クレジットカード、定期券、旅券、免許証、その他の商取引の決済に使われるだけでなく、社員証、会員証、保険証などのIDカードとしても様々な分野で使用されている。 In recent years, the spread of IC cards (portable electronic devices) has been remarkable. For example, IC cards are used not only for settlement of credit cards, commuter passes, passports, licenses, and other commercial transactions, but also in various fields as ID cards for employee cards, membership cards, insurance cards, etc. Yes.
ICカードは、不揮発性のプログラムメモリ(ROMなど)、揮発性のワーキングメモリ(RAMなど)、不揮発性のデータメモリ(EEPROMなど)、及び制御素子(CPUなど)を有するIC(集積回路)チップを内蔵する。また、ICカードリーダライタ等のICカード処理装置は、ICカードに対してリードコマンドを送信しICカードからデータを読み出したり、ICカードに対してライトコマンドを送信しICカードに対してデータを書き込んだりする。 An IC card includes an IC (integrated circuit) chip having a non-volatile program memory (such as ROM), a volatile working memory (such as RAM), a non-volatile data memory (such as EEPROM), and a control element (such as a CPU). Built in. Also, an IC card processing device such as an IC card reader / writer transmits a read command to the IC card and reads data from the IC card, or transmits a write command to the IC card and writes data to the IC card. Sloppy.
例えば、ICカードのROMは、ICカード内部で実行する情報処理用プログラムを記憶している。また、JAVA(登録商標)カードのように、ICカードのEEPROMが、ダウンロードされた情報処理用プログラムを記憶するカードも存在する。 For example, the ROM of the IC card stores an information processing program executed inside the IC card. There is also a card such as a JAVA (registered trademark) card in which an EEPROM of an IC card stores a downloaded information processing program.
プログラムの高機能化を実現し、多くの機能を実装するためには、より大きな容量のプログラムメモリを必要とする。ICカード運用時の高機能化が進み、運用時に使用されるプログラム容量が大きくなり、より大きなサイズの記憶領域がプログラムメモリで必要となっている。そこで、製造時に使用され運用時に使用されない情報処理用プログラムによるメモリ占有率の低減が求められている。 In order to realize high-functionality programs and implement many functions, a program memory having a larger capacity is required. As the functionality of IC cards has been increased, the capacity of programs used during operations has increased, and a larger storage area is required for program memories. Therefore, there is a demand for a reduction in memory occupancy by an information processing program that is used during manufacture and not used during operation.
本発明の目的は、プログラムが保存され続けることによるメモリ使用効率の低下を改善することができるICカード、携帯可能電子装置、及び情報処理方法を提供することである。 An object of the present invention is to provide an IC card, a portable electronic device, and an information processing method that can improve a decrease in memory usage efficiency due to a program being continuously stored.
実施形態のICカードは、通信手段と、不揮発性記憶手段と、揮発性記憶手段と、情報処理手段とを備える。前記通信手段は、外部装置からのコマンドを受信し、前記外部装置に対してレスポンスを送信する。前記不揮発性記憶手段は、第1のコマンドを解釈するための第1のプログラムを記憶する。前記情報処理手段は、前記通信手段を介して受信された前記第1のコマンドを前記第1のプログラムで解釈し、前記第1のコマンドにより命じられる前記揮発性記憶手段に対する第2のプログラムの書き込み処理を実行し、前記通信手段を介して受信された第2のコマンドを前記第2のプログラムで解釈し、前記第2のコマンドにより命じられる処理を実行する。 The IC card of the embodiment includes communication means, nonvolatile storage means, volatile storage means, and information processing means. The communication means receives a command from an external device and transmits a response to the external device. The non-volatile storage means stores a first program for interpreting a first command. The information processing means interprets the first command received via the communication means by the first program, and writes the second program to the volatile storage means commanded by the first command. A process is executed, a second command received via the communication means is interpreted by the second program, and a process commanded by the second command is executed.
以下、実施形態について図面を参照して説明する。 Hereinafter, embodiments will be described with reference to the drawings.
図1は、実施形態に係るICカード(携帯可能電子装置)の構成の一例を示すブロック図である。 FIG. 1 is a block diagram illustrating an example of a configuration of an IC card (portable electronic device) according to an embodiment.
例えば、ICカード1は、接触式通信機能をサポートするICカードである。ICカード1は、本体2と本体2内に内蔵されたICモジュール3とを備える。ICモジュール3は、1つまたは複数のICチップ4と通信部5とを備える。ICチップ4と、通信部5とは、互いに接続された状態でICモジュール3として形成されている。
For example, the
ICチップ4は、データバス10、通信部5、CPU6、プログラムメモリ7、ワーキングメモリ8、データメモリ9などを備える。通信部5、CPU6、プログラムメモリ7、ワーキングメモリ8、データメモリ9はデータバス10を介して互いに接続されている。上記のプログラムメモリ7、ワーキングメモリ8、データメモリ9には、アドレスが設定されている。
The
通信部5は、外部装置(ICカードリーダライタ)との間で通信をおこなう。CPU6は、外部装置から受信した命令に応じた処理をおこなう。例えば、CPU6は、ワーキングメモリ8へ書き込み用のデータ領域を確保し、受信したデータをワーキングメモリ8上のデータ領域へ書き込む。また、CPU6は、ワーキングメモリ8上のデータを読み込み、読み込んだデータをプログラムとして実行する。
The
プログラムメモリ7は、あらかじめ制御用プログラム及び制御用データなどを記憶する、例えばROMなどの不揮発性メモリである。
The
ワーキングメモリ8は、通信部5を介して外部から受信したデータを一時的に格納したり、CPU6が実行するプログラムを一時的に格納する、例えばRAMなどの揮発性メモリである。
The
データメモリ9は、ICカード1の運用状態に応じて制御プログラム、アプリケーション、および種々のデータを格納する、例えばEEPROM、FRAM(登録商標)などの不揮発性メモリである。
The
図2は、制御用プログラム8aを格納したワーキングメモリ8の一例を示す概略図である。
FIG. 2 is a schematic diagram showing an example of the
例えば、プログラムメモリ7は、第1のコマンドを解釈するための第1のプログラムを記憶する。通信部5が、第1のコマンドを受信すると、CPU6は、第1のプログラムに基づき第1のコマンドを解釈し、第1のコマンドで命じられた処理を実行する。例えば、第1のコマンドは、書き込みデータとして第2のプログラム(制御用プログラム8a)を含み、ワーキングメモリ8へ書き込みデータを書き込む命令を含む。従って、CPU6は、第1のコマンドを解釈し、第2のプログラム(制御用プログラム8a)をワーキングメモリ8へ書き込む。
For example, the
上記したように、CPU6は、プログラムメモリ7に記憶されたプログラムに従い動作するが、同様に、CPU6は、ワーキングメモリ8に記憶されたプログラム(制御用プログラム8a)に従い動作する。
As described above, the
図3は、ライフサイクルフラグ9aを格納したデータメモリ9の一例を示す概略図である。
FIG. 3 is a schematic diagram showing an example of the
ライフサイクルフラグ9aは、データメモリ9に記憶されるデータであり、ICカードのライフサイクルを示す。CPU6は、ライフサイクルの遷移に対応し、ライフサイクルフラグ9aを書き換える。例えば、ライフサイクルフラグ9aにより発行フェーズ(製造フェーズ)または運用フェーズが示され、ライフサイクルが発行フェーズであれば、ライフサイクルフラグ9aは発行フェーズを示し、ライフサイクルが発行フェーズから運用フェーズへ遷移すると、CPU6は、発行フェーズを示すライフサイクルフラグ9aを運用フェーズを示すライフサイクルフラグ9aへ書き換える。
The
次に図4、図5のフローチャートを用いて、ICカードの動作の第1例を説明する。 Next, a first example of the operation of the IC card will be described with reference to the flowcharts of FIGS.
前提として、ICカード1のプログラムメモリ7は、制御プログラム(第1のプログラム)を記憶している。例えば、第1のプログラムは、ワーキングメモリ8に対して制御プログラム8a(第2のプログラム)を書き込むコマンド(第1のコマンド)を解釈するためのプログラムである。例えば、第1のプログラムは、第1のコマンド及び第1のコマンドにより実行すべき処理(ワーキングメモリ8に対して第2のプログラムを書き込む処理)を含む。第1のコマンドは、書き込み対象となる第2のプログラムを有する。
As a premise, the
(ステップS1)
ICカード1の通信部5は、外部装置(ICカードリーダライタなど)から第2のプログラムをワーキングメモリ8(RAM)へ書き込む第1のコマンドを受信すると、ICカード1のCPU6は、以下のような判定・処理をおこなう。
(Step S1)
When the
(ステップS2)
ICカード1のCPU6は、プログラムメモリ7から、受信した第1のコマンドを含むプログラムを検索する。この場合、CPU6は、受信した第1のコマンドを含む第1のプログラムを検索することができる。さらに、CPU6は、検索された第1のプログラムに基づき、受信した第1のコマンドを解釈する。即ち、検索された第1のプログラムに含まれた、第1のコマンドにより実行すべき処理を解釈する。例えば、CPU6は、プログラムメモリ7に記憶された第1のプログラムに基づき、第1のコマンドの種別等も判定することができる。
(Step S2)
The
(ステップS3)
プログラムメモリ7に記憶された第1のプログラムにより、受信した第1のコマンドが、第2のプログラムをワーキングメモリ8へ書き込むコマンドであることが判明すると、ステップS4へ進む。
(Step S3)
If the first program stored in the
(ステップS4)
CPU6は、第1のコマンドに連結された第2のプログラムをワーキングメモリ8へ転送する。CPU6は、第2のプログラムをワーキングメモリ8上で動作する制御プログラムとして設定する。CPU6は、通信部5を介して、転送の実行結果を出力し、ステップS5へ進む。例えば、第2のプログラムは、第2のコマンド及び第2のコマンドにより実行すべき処理を含む。
(Step S4)
The
(ステップS5)
CPU6は、第1のコマンドの実行結果を判定し、正常終了であれば、ステップS6へ進む。
(Step S5)
The
(ステップS6)
CPU6は、外部装置に対して、正常終了ステータスをレスポンスデータとして応答する。ステップS1に戻り、次のコマンドを受信する。
(Step S6)
The
(ステップS7)
CPU6は、コマンドの実行結果が、正常終了でない場合、外部装置に対して、エラーステータスをレスポンスデータとして応答する。ステップS1に戻り、次のコマンドを受信する。
(Step S7)
If the execution result of the command is not a normal end, the
(ステップS8)
例えば、ICカード1の通信部5は、外部装置(ICカードリーダライタなど)から第2のコマンドを受信すると(ステップS1)、ワーキングメモリ8に記憶された第2のプログラムに基づき、第2のコマンドを解釈する(ステップS2)。受信した第2のコマンドが、ワーキングメモリ8に記憶された第2のプログラムを実行するコマンドと判定した場合は、ステップS9へ進む。
(Step S8)
For example, when the
(ステップS9)
CPU6は、ワーキングメモリ8に記憶された第2のプログラムに基づき、第2のコマンドを実行する。即ち、ワーキングメモリ8に記憶された第2のプログラムを実行する。CPU6は、通信部5を介して、第2のプログラムの実行結果に応じて、正常終了時は正常終了ステータスを外部装置へ応答し、正常終了以外の時はエラーステータスを外部装置へ応答する。
(Step S9)
The
ステップS8において、CPU6が、別のコマンドと判定した場合は、ステップS7へ移行し、通信部5を介して、エラーステータスを外部装置へ応答する。
In step S8, if the
なお、上記説明では、プログラムメモリ7が、第1のプログラムを記憶し、ワーキングメモリ8が、第2のプログラムを記憶するケースについて説明したが、さらに、プログラムメモリ7が、第3のプログラムを記憶してもよい。例えば、第3のプログラムは、第3のコマンド及び第3のコマンドにより実行すべき処理を含む。例えば、第3のコマンドは、第2のコマンドに対応する処理を実行した後で、外部装置から送信されるコマンドである。つまり、第1のコマンドは、プログラムメモリ7に記憶された第1のプログラムで解釈され、第1のコマンドの後続で送信される第2のコマンドは、ワーキングメモリ8に記憶された第2のプログラムで解釈され、第2のコマンドの後続で送信される第3のコマンドは、プログラムメモリ7に記憶された第3のプログラムで解釈される。
In the above description, the case where the
上記処理により、ROMに記憶されたプログラムに従いコマンドに対応する処理を実行したり、RAMに記憶されたプログラムに従いコマンドに対応する処理を実行したりすることができる。つまり、プログラムをROMとRAMに分散して記憶することができる。言い換えれば、ROMだけに全てのプログラムを記憶しなくて済み、ROMに替えてRAMに一部のプログラムを書き込むことにより、ROMの記憶資源を有効活用することができる。さらに、RAMに書き込まれたプログラムは、RAMへの電力供給が途絶えると、消去されるため、プログラムのセキュリティ対策にもなる。 With the above processing, processing corresponding to the command can be executed according to the program stored in the ROM, or processing corresponding to the command can be executed according to the program stored in the RAM. That is, the program can be distributed and stored in the ROM and RAM. In other words, it is not necessary to store all the programs only in the ROM, and it is possible to effectively use the storage resources of the ROM by writing some programs in the RAM instead of the ROM. Furthermore, since the program written in the RAM is deleted when the power supply to the RAM is interrupted, it becomes a security measure for the program.
次に図6、図7のフローチャートを用いて、ICカードの動作の第2例を説明する。 Next, a second example of the operation of the IC card will be described with reference to the flowcharts of FIGS.
前提として、ICカード1のプログラムメモリ7は、制御プログラム(第1のプログラム)を記憶している。例えば、第1のプログラムは、ワーキングメモリ8に対して制御プログラム8a(第2のプログラム)を書き込むコマンド(第1のコマンド)を解釈するためのプログラムである。例えば、第1のプログラムは、第1のコマンド及び第1のコマンドにより実行すべき処理(ワーキングメモリ8に対して第2のプログラムを書き込む処理)を含み、発行フェーズ(製造フェーズ)で使用されるプログラムである。第1のコマンドは、書き込み対象となる第2のプログラムを有する。例えば、第2のプログラムは、第2のコマンド及び第2のコマンドにより実行すべき処理を含む、発行フェーズ(製造フェーズ)で使用されるプログラムである。
As a premise, the
(ステップS11)
ICカード1の通信部5は、外部装置から第2のプログラムをワーキングメモリ8(RAM)へ書き込む第1のコマンドを受信すると、ICカードのCPU6は、以下のような判定・処理をおこなう。
(Step S11)
When the
(ステップS12)
ICカード1のCPU6は、プログラムメモリ7から、受信した第1のコマンドを含むプログラムを検索する。この場合、CPU6は、受信した第1のコマンドを含む第1のプログラムを検索することができる。さらに、CPU6は、検索された第1のプログラムに基づき、受信した第1のコマンドを解釈する。即ち、検索された第1のプログラムに含まれた、第1のコマンドにより実行すべき処理を解釈する。例えば、CPU6は、プログラムメモリ7に記憶された第1のプログラムに基づき、第1のコマンドの種別等も判定することができる。
(Step S12)
The
(ステップS13)
プログラムメモリ7に記憶された第1のプログラムにより、受信した第1のコマンドが、第2のプログラムをワーキングメモリ8へ書き込むコマンドであることが判明すると、ステップS14へ進む。
(Step S13)
If it is determined by the first program stored in the
(ステップS14)
CPU6は、データメモリ9に記憶されたライフサイクルフラグ9aを参照し、ライフサイクルフラグ9aが発行フェーズを示す場合、ステップS15へ進む。
(Step S14)
The
(ステップS15)
CPU6は、第1のコマンドに連結された第2のプログラムをワーキングメモリ8へ転送する。CPU6は、第2のプログラムをワーキングメモリ8上で動作する制御プログラムとして設定する。CPU6は、通信部5を介して、転送の実行結果を出力し、ステップS16へ進む。例えば、第2のプログラムは、第2のコマンド及び第2のコマンドにより実行すべき処理を含む。
(Step S15)
The
(ステップS16)
CPU6は、第1のコマンドの実行結果を判定し、正常終了であれば、ステップS17へ進む。
(Step S16)
The
(ステップS17)
CPU6は、外部装置に対して、正常終了ステータスをレスポンスデータとして応答する。ステップS11に戻り、次のコマンドを受信する。
(Step S17)
The
(ステップS18)
CPU6は、コマンドの実行結果が、正常終了でない場合、外部装置に対して、エラーステータスをレスポンスデータとして応答する。ステップS11に戻り、次のコマンドを受信する。
(Step S18)
If the execution result of the command is not a normal end, the
(ステップS19)
例えば、ICカード1の通信部5は、外部装置(ICカードリーダライタなど)から第2のコマンドを受信すると(ステップS11)、ワーキングメモリ8に記憶された第2のプログラムに基づき、第2のコマンドを解釈する(ステップS12)。受信した第2のコマンドが、ワーキングメモリ8に記憶された第2のプログラムを実行するコマンドと判定した場合は、ステップS20へ進む。
(Step S19)
For example, when the
(ステップS20)
CPU6は、データメモリ9に記憶されたライフサイクルフラグ9aを参照し、ライフサイクルフラグ9aが発行フェーズを示す場合、ステップS21へ進む。
(Step S20)
The
(ステップS21)
CPU6は、ワーキングメモリ8に記憶された第2のプログラムに基づき、第2のコマンドを実行する。即ち、ワーキングメモリ8に記憶された第2のプログラムを実行する。CPU6は、通信部5を介して、第2のプログラムの実行結果に応じて、正常終了時は正常終了ステータスを外部装置へ応答し、正常終了以外の時はエラーステータスを外部装置へ応答する。
(Step S21)
The
ステップS19において、CPU6が、別のコマンドと判定した場合は、ステップS18へ移行し、通信部5を介して、エラーステータスを外部装置へ応答する。
If the
CPU6は、ステップ14とステップ20において、データメモリ9に記憶されたライフサイクルフラグ9aを参照し、ライフサイクルフラグ9aが運用フェーズを示す場合は、ステップS18へ移行し、エラーステータスを外部装置へ応答する。
In step 14 and
なお、上記説明では、プログラムメモリ7が、発行フェーズで使用される第1のプログラムを記憶し、ワーキングメモリ8が、発行フェーズで使用される第2のプログラムを記憶するケースについて説明したが、さらに、プログラムメモリ7が、運用フェーズで使用される第3のプログラムを記憶してもよい。例えば、第3のプログラムは、第3のコマンド及び第3のコマンドにより実行すべき処理を含む。例えば、第3のコマンドは、第2のコマンドに対応する処理を実行した後で、外部装置から送信されるコマンド(運用フェーズで利用されるコマンド)である。つまり、第1のコマンドは、プログラムメモリ7に記憶された第1のプログラムで解釈され、第1のコマンドの後続で送信される第2のコマンドは、ワーキングメモリ8に記憶された第2のプログラムで解釈され、第2のコマンドの後続で送信される第3のコマンドは、プログラムメモリ7に記憶された第3のプログラムで解釈される。
In the above description, the case where the
上記処理により、ROMに記憶されたプログラムに従いコマンドに対応する処理を実行したり、RAMに記憶されたプログラムに従いコマンドに対応する処理を実行したりすることができる。つまり、プログラムをROMとRAMに分散して記憶することができる。言い換えれば、ROMだけに全てのプログラムを記憶しなくて済み、ROMに替えてRAMに一部のプログラムを書き込むことにより、ROMの記憶資源を有効活用することができる。さらに、RAMに書き込まれたプログラムは、RAMへの電力供給が途絶えると、消去されるため、プログラムのセキュリティ対策にもなる。 With the above processing, processing corresponding to the command can be executed according to the program stored in the ROM, or processing corresponding to the command can be executed according to the program stored in the RAM. That is, the program can be distributed and stored in the ROM and RAM. In other words, it is not necessary to store all the programs only in the ROM, and it is possible to effectively use the storage resources of the ROM by writing some programs in the RAM instead of the ROM. Furthermore, since the program written in the RAM is deleted when the power supply to the RAM is interrupted, it becomes a security measure for the program.
以下、本実施形態の構成についてまとめる。 The configuration of this embodiment will be summarized below.
(1)ICカードは、通信手段、揮発性記憶手段、不揮発性記憶手段、情報処理手段で構成され、外部から送信される命令を前記通信手段で受信し、これを前記情報処理手段で解釈し、前記不揮発性記憶手段に記憶された制御用プログラムを選択・実行し、その結果を前記通信手段で外部に返信する。さらに、ICカードは、外部から受信した命令1に連結された制御用プログラムを前記揮発性記憶手段へ記憶し、その結果を前記通信手段で返信し、続けて外部から受信した命令2を解釈し、前記揮発性記憶手段に記憶された制御用プログラムを選択、実行し、プログラムの実行結果を返信する。
(1) The IC card is composed of communication means, volatile storage means, nonvolatile storage means, and information processing means. The communication means receives an instruction transmitted from the outside, and interprets it by the information processing means. The control program stored in the nonvolatile storage means is selected and executed, and the result is returned to the outside by the communication means. Further, the IC card stores the control program linked to the
(2)さらに、ICカードは、外部から受信した命令2を解釈し、不揮発性記憶手段に記憶されたライフサイクルデータがアプリケーション発行フェーズであることを条件として、前記揮発性記憶手段に記憶された制御用プログラムを選択、実行し、プログラムの実行結果を返信する。
(2) Further, the IC card interprets the
以下、本実施形態の作用効果についてまとめる。 Hereinafter, the effects of the present embodiment will be summarized.
本実施形態によれば、運用時に使用するコマンド用のプログラムは不揮発性メモリへ記憶し、ICカード製造時(ICカード発行時)に使用するコマンド用のプログラムの一部は不揮発性メモリへ記憶し、残りは揮発性メモリへ記憶する。これにより、ICカード製造時に使用されるコマンド用の大部分のプログラム(大きな容量のプログラム)を不揮発性メモリで記憶することができる。 According to the present embodiment, a command program used at the time of operation is stored in the nonvolatile memory, and a part of the command program used at the time of IC card manufacturing (IC card issuance) is stored in the nonvolatile memory. The rest is stored in volatile memory. This makes it possible to store most of the command programs (large capacity programs) used in the manufacture of the IC card in the nonvolatile memory.
ICカード製造時に使用されるコマンド用の大部分のプログラムを揮発性メモリ上に記録することで、揮発性メモリに対する電源供給遮断によりプログラムの消去が確実となり、製造フェーズから運用フェーズへの切り替え忘れ(切り替えエラー)などが生じても、上記したICカード製造時に使用されるコマンド用の大部分のプログラムが実行されてしまうこと、及び盗用されてしまうことなどを防ぐことができる。 By recording most of the program for commands used in IC card manufacturing on the volatile memory, the power supply to the volatile memory is cut off to ensure the program is erased, and forget to switch from the manufacturing phase to the operation phase ( Even if a switching error or the like occurs, it is possible to prevent the majority of the command program used at the time of manufacturing the IC card from being executed and stolen.
本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれると同様に、特許請求の範囲に記載された発明とその均等の範囲に含まれるものである。 Although several embodiments of the present invention have been described, these embodiments are presented by way of example and are not intended to limit the scope of the invention. These embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope and gist of the invention, and are also included in the invention described in the claims and the equivalents thereof.
1…ICカード、2…本体、3…ICモジュール、4…ICチップ、5…通信部、6…CPU、7…プログラムメモリ、8…ワーキングメモリ、9…データメモリ、10…データバス
DESCRIPTION OF
Claims (7)
不揮発性記憶手段と、
揮発性記憶手段と、
情報処理手段と、を備え、
前記不揮発性記憶手段は、第1のコマンドを解釈するための第1のプログラムを記憶し、
前記情報処理手段は、前記通信手段を介して受信された前記第1のコマンドを前記第1のプログラムで解釈し、前記第1のコマンドにより命じられる前記揮発性記憶手段に対する第2のプログラムの書き込み処理を実行し、前記通信手段を介して受信された第2のコマンドを前記第2のプログラムで解釈し、前記第2のコマンドにより命じられる処理を実行するICカード。 Communication means for receiving a command from an external device and transmitting a response to the external device;
Non-volatile storage means;
Volatile storage means;
An information processing means,
The nonvolatile memory means stores a first program for interpreting a first command,
The information processing means interprets the first command received via the communication means by the first program, and writes the second program to the volatile storage means commanded by the first command. An IC card that executes a process, interprets a second command received via the communication means by the second program, and executes a process commanded by the second command.
不揮発性記憶手段と、
揮発性記憶手段と、
情報処理手段と、を備え、
前記不揮発性記憶手段は、第1のコマンドを解釈するための第1のプログラムを記憶し、
前記情報処理手段は、前記通信手段を介して受信された前記第1のコマンドを前記第1のプログラムで解釈し、前記第1のコマンドにより命じられる前記揮発性記憶手段に対する第2のプログラムの書き込み処理を実行し、前記通信手段を介して受信された第2のコマンドを前記第2のプログラムで解釈し、前記第2のコマンドにより命じられる処理を実行する携帯可能電子装置。 Communication means for receiving a command from an external device and transmitting a response to the external device;
Non-volatile storage means;
Volatile storage means;
An information processing means,
The nonvolatile memory means stores a first program for interpreting a first command,
The information processing means interprets the first command received via the communication means by the first program, and writes the second program to the volatile storage means commanded by the first command. A portable electronic device that executes a process, interprets a second command received via the communication means by the second program, and executes a process commanded by the second command.
前記第1のコマンドを受信し、
前記第1のコマンドを前記第1のプログラムで解釈し、
前記第1のコマンドにより命じられる揮発性記憶手段に対する第2のプログラムの書き込み処理に従い、前記揮発性記憶手段に対して前記第2のプログラムを書き込み、
第2のコマンドを受信し、
前記第2のコマンドを前記第2のプログラムで解釈し、
前記第2のコマンドにより命じられる処理を実行する情報処理方法。 An IC card provided with a non-volatile storage means storing a first program for interpreting the first command is:
Receiving the first command;
Interpreting the first command with the first program;
According to the writing process of the second program to the volatile storage means commanded by the first command, the second program is written to the volatile storage means,
Receiving the second command,
Interpreting the second command with the second program;
An information processing method for executing a process commanded by the second command.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012207973A JP2014063345A (en) | 2012-09-21 | 2012-09-21 | Ic card, portable electronic device, and information processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012207973A JP2014063345A (en) | 2012-09-21 | 2012-09-21 | Ic card, portable electronic device, and information processing method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2014063345A true JP2014063345A (en) | 2014-04-10 |
Family
ID=50618521
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012207973A Pending JP2014063345A (en) | 2012-09-21 | 2012-09-21 | Ic card, portable electronic device, and information processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2014063345A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63159993A (en) * | 1986-12-24 | 1988-07-02 | Mitsubishi Electric Corp | Ic card |
JPH01223586A (en) * | 1988-03-03 | 1989-09-06 | Hitachi Maxell Ltd | Ic card testing system |
JP2000305799A (en) * | 1999-04-23 | 2000-11-02 | Sharp Corp | Microcomputer with built-in non-volatile memory and its inspection system and ic card on which the same microcomputer is loaded and its inspection system |
JP2003022425A (en) * | 2001-07-09 | 2003-01-24 | Dainippon Printing Co Ltd | Ic card self-diagnostic device and diagnostic method |
-
2012
- 2012-09-21 JP JP2012207973A patent/JP2014063345A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63159993A (en) * | 1986-12-24 | 1988-07-02 | Mitsubishi Electric Corp | Ic card |
JPH01223586A (en) * | 1988-03-03 | 1989-09-06 | Hitachi Maxell Ltd | Ic card testing system |
JP2000305799A (en) * | 1999-04-23 | 2000-11-02 | Sharp Corp | Microcomputer with built-in non-volatile memory and its inspection system and ic card on which the same microcomputer is loaded and its inspection system |
JP2003022425A (en) * | 2001-07-09 | 2003-01-24 | Dainippon Printing Co Ltd | Ic card self-diagnostic device and diagnostic method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9183400B2 (en) | IC card and IC card control method | |
KR20070037311A (en) | Portable electronic device and ic card | |
JP2006236200A (en) | Card type storage device and host device thereof | |
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 | |
JP2014063345A (en) | Ic card, portable electronic device, and information processing method | |
JP4590201B2 (en) | Data carrier and data carrier program | |
JP2008310596A (en) | Portable electronic equipment and control method for potable electronic equipment | |
US8870079B2 (en) | IC card, portable electronic device, IC card issuing apparatus, and command execution method | |
EP2782019A2 (en) | IC card and portable electronic device | |
JP4836707B2 (en) | Portable electronic device and IC card | |
JP5417355B2 (en) | Portable electronic device, information processing method, and IC card | |
JP5957347B2 (en) | IC card and portable electronic device | |
JP4868979B2 (en) | Portable electronic device and IC card | |
JP6758910B2 (en) | IC card | |
JP2012133656A (en) | Portable electronic apparatus and ic card | |
JP5075549B2 (en) | IC card and operation control method | |
JP5728323B2 (en) | IC card and portable electronic device | |
JP6984328B2 (en) | Electronic information storage medium, IC card, external device, data writing method and data writing program | |
JP2006302130A (en) | Ic card and program for ic card | |
JP2013171394A (en) | Ic card, manufacturing method of ic card, issuance method of ic card, and information processing method | |
JP5075404B2 (en) | Portable electronic device, file access method and IC card in portable electronic device | |
JP5492172B2 (en) | Portable electronic device, IC card and IC module | |
JP2011198107A (en) | Portable electronic device | |
JP5259541B2 (en) | Portable electronic device, method for controlling portable electronic device, and IC card |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20140109 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150306 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20160119 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160209 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20160816 |