JP2012164121A - Portable electronic device, information processing method, and ic card - Google Patents
Portable electronic device, information processing method, and ic card Download PDFInfo
- Publication number
- JP2012164121A JP2012164121A JP2011023812A JP2011023812A JP2012164121A JP 2012164121 A JP2012164121 A JP 2012164121A JP 2011023812 A JP2011023812 A JP 2011023812A JP 2011023812 A JP2011023812 A JP 2011023812A JP 2012164121 A JP2012164121 A JP 2012164121A
- Authority
- JP
- Japan
- Prior art keywords
- data
- write
- control information
- card
- writing
- 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.)
- Granted
Links
Images
Abstract
Description
本発明の実施形態は、携帯可能電子装置、情報処理方法、及びICカードに関する。 Embodiments described herein relate generally to a portable electronic device, an information processing method, and an IC card.
近年、安全性に優れるICカード(接触式ICカード及び非接触式ICカード)の普及が目覚しい。ICカード(携帯可能電子装置)は、IC(Integrated Circuit)チップを備えている。ICチップは、リーダライタと通信するための通信I/F、電力供給が断たれてもデータを保持する事が可能なEEPROM、各種動作を実行するCPUなどの制御素子、CPUの動作プログラム等を記憶するROM、及びデータを一時的に記憶するRAMを備えている。 In recent years, IC cards (contact IC cards and non-contact IC cards) excellent in safety have been widely used. An IC card (portable electronic device) includes an IC (Integrated Circuit) chip. The IC chip includes a communication I / F for communicating with a reader / writer, an EEPROM capable of retaining data even when power supply is cut off, a control element such as a CPU for executing various operations, a CPU operation program, and the like. A ROM for storing data and a RAM for temporarily storing data are provided.
ICカードは、クレジットカード、定期券、その他の商取引の決済に使われるだけでなく、社員証、会員証、保険証などのIDカードとしても様々な分野で使われるようになっている。これは、従来の磁気カードに比べ、ICカードが、CPU、ROM、RAM、EEPROMなどを有する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 chip having a CPU, ROM, RAM, EEPROM, etc., so that various functions can be realized, and furthermore, forgery is difficult. This is due to the significant improvement in terms.
上記したICカードは、リーダライタから送信される各種コマンドに基づき各種処理を実行する。例えば、EEPROMに対してデータを書き込む書き込み処理を実行するコマンドがある。 The IC card described above executes various processes based on various commands transmitted from the reader / writer. For example, there is a command for executing a writing process for writing data to the EEPROM.
ここで、EEPROMに対するデータの書き込みについて簡単に説明する。例えば、EEPROMに対するデータの書き込み単位は頁と呼ばれている。つまり、EEPROMに対して頁単位でデータが書き込まれる。例えば1頁は128バイトであり、1頁に対するデータの書き込みに要する時間は2msecである。1頁に対して1バイトを書き込むのに要する時間と、1頁に対して128バイトを書き込むのに要する時間とは、略同じ2msecである。 Here, writing of data to the EEPROM will be briefly described. For example, the unit of writing data to the EEPROM is called a page. That is, data is written to the EEPROM in page units. For example, one page is 128 bytes, and the time required to write data for one page is 2 msec. The time required to write 1 byte per page and the time required to write 128 bytes per page are approximately the same 2 msec.
ICカードのEEPROMの所定頁に対して第1のデータの書き込みが要求された場合、ICカードは、所定頁に対して第1のデータを書き込み、続いて、同じ所定頁に対して第2のデータの書き込みが要求された場合、ICカードは、所定頁に対して第2のデータを書き込む。このように、同一頁に対して複数回に分けてデータを書き込む場合、処理効率が悪く、処理効率の改善が求められている。 When writing of the first data is requested for a predetermined page of the EEPROM of the IC card, the IC card writes the first data for the predetermined page, and then the second data for the same predetermined page. When data writing is requested, the IC card writes second data to a predetermined page. As described above, when data is written in a plurality of times on the same page, the processing efficiency is low, and improvement of the processing efficiency is demanded.
本発明の目的は、データ書き込み効率に優れた携帯可能電子装置、情報処理方法、及びICカードを提供することにある。 An object of the present invention is to provide a portable electronic device, an information processing method, and an IC card that are excellent in data writing efficiency.
実施形態によれば、携帯可能電子装置は、通信手段と、第1の記憶手段と、書き込み手段とを備える。前記通信手段は、情報処理装置と通信し、第1及び第2の書き込みデータを受信する。前記第1の記憶手段は、前記第1及び第2の書き込みデータを記憶する。前記書き込み手段は、前記第2の書き込みデータの存在を示す第1の制御情報、前記第1の制御情報に対応付けられた前記第1の書き込みデータ、前記第1の書き込みデータの存在を示す第2の制御情報、及び前記第2の制御情報に対応付けられた前記第2の書き込みデータにより第1の書き込み単位データを構成し、前記第1の記憶手段に対して前記第1の書き込み単位データを書き込む。 According to the embodiment, the portable electronic device includes a communication unit, a first storage unit, and a writing unit. The communication means communicates with the information processing apparatus and receives the first and second write data. The first storage means stores the first and second write data. The writing means includes first control information indicating the presence of the second write data, the first write data associated with the first control information, and a first control data indicating the presence of the first write data. Second control information and the second write data associated with the second control information constitute first write unit data, and the first write unit data is stored in the first storage means. Write.
以下、実施形態について図面を参照して説明する。 Hereinafter, embodiments will be described with reference to the drawings.
図1は、実施形態に係るICカード(携帯可能電子装置)の概略構成を示すブロック図である。ICカード1は、例えばプラスティックカードのカード本体で構成され、図1に示すように、カード本体は、ICチップ(ICモジュール)100を備え、ICチップ100は、制御素子(CPU)101、ROM102、RAM103、EEPROM104、通信制御部105、電源部106を備えている。
FIG. 1 is a block diagram illustrating a schematic configuration of an IC card (portable electronic device) according to an embodiment. The
ROM102は、記憶手段であり、制御素子101により実行されるICカードプログラム等を保持する。RAM103も、記憶手段であり、ワーキングメモリとして機能し、一時的にデータを記憶する。EEPROM104も、記憶手段であり、恒久的にデータを記憶する。制御素子101は、ROM102に記憶されたICカードプログラム等に基づき動作する。また、制御素子101は、読み出し手段及び書き込み手段であり、RAM103又はEEPROM104に記憶されたデータを読み出したり、RAM103又はEEPROM104に対してデータを書き込んだりする。例えば、制御素子101は、リーダライタ(情報処理装置)から送信されたデータを一時的にRAM103に書き込み、所定のタイミングで、RAM103のデータをEEPROMに対して書き込む。また、制御素子101は、コマンド処理手段であり、リーダライタから送信されたコマンドを解釈し実行する。通信制御部105は、データ入出力手段であり、リーダライタから送信されたコマンドを受信したり、リーダライタに対してコマンド実行結果を送信したりする。
The
例えば、ICカード1(通信制御部105)は、リーダライタ(情報処理装置)と通信し、第1及び第2の書き込みデータを受信し、ICカード1(制御素子101)は、第2の書き込みデータの存在を示す第1の制御情報、第1の制御情報に対応付けられた第1の書き込みデータ、第1の書き込みデータの存在を示す第2の制御情報、及び第2の制御情報に対応付けられた第2の書き込みデータにより第1の書き込み単位データを構成し、EEPROM104に対して第1の書き込み単位データを書き込む。以下、ICカード1による書き込み単位データの書き込みについて説明する。
For example, the IC card 1 (communication control unit 105) communicates with a reader / writer (information processing apparatus), receives first and second write data, and the IC card 1 (control element 101) performs second write. Corresponding to first control information indicating the presence of data, first write data associated with the first control information, second control information indicating the presence of the first write data, and second control information The first write unit data is constituted by the attached second write data, and the first write unit data is written to the EEPROM 104. Hereinafter, writing of writing unit data by the
まず、EEPROM104について説明する。例えば、EEPROM104のデータの書き込み単位を頁(書き込み単位領域)と称する。つまり、EEPROM104に対して頁単位でデータが書き込まれる。例えば1頁は128バイトであり、1頁に対するデータの書き込みに要する時間は2msecである。1頁に対して1バイトを書き込むのに要する時間と、1頁に対して128バイトを書き込むのに要する時間とは、略同じ2msecである。 First, the EEPROM 104 will be described. For example, a data writing unit of the EEPROM 104 is referred to as a page (writing unit area). That is, data is written to the EEPROM 104 in page units. For example, one page is 128 bytes, and the time required to write data for one page is 2 msec. The time required to write 1 byte per page and the time required to write 128 bytes per page are approximately the same 2 msec.
図3は、EEPROM104に記憶された書き込み単位データの一例を示す図である。図3では、アドレスを1バイトごとに分りやすくする為、列の左端にアドレスの2桁目以降を16進数で示し、行の上端にアドレスの1桁目を16進数で示す。 FIG. 3 is a diagram illustrating an example of write unit data stored in the EEPROM 104. In FIG. 3, in order to make the address easy to understand for each byte, the second and subsequent digits of the address are shown in hexadecimal on the left end of the column, and the first digit of the address is shown in hexadecimal on the upper end of the row.
例えば第1のデータD1、第2のデータD2、及び第3のデータD3は、所定取引に使用されるデータである。言い換えれば、第1のデータD1、第2のデータD2、及び第3のデータD3は、所定取引において実行される1回のコマンド処理で書き込まれるデータである。 For example, the first data D1, the second data D2, and the third data D3 are data used for a predetermined transaction. In other words, the first data D1, the second data D2, and the third data D3 are data written in one command process executed in a predetermined transaction.
ICカード1(制御素子101)は、所定取引で効率よく第1のデータD1、第2のデータD2、及び第3のデータD3を処理するために、EEPROM104の所定頁に対して、第1のデータD1、第2のデータD2、及び第3のデータD3を書き込むと共に、第1のデータD1に対応する第1の制御情報C1、第2のデータD2に対応する第2の制御情報C2、及び第3のデータD3に対応する第3の制御情報C3を書き込む。なお、EEPROM104の所定頁(同一頁)に書き込まれる第1のデータD1、第2のデータD2、第3のデータD3、第1の制御情報C1、第2の制御情報C2、及び第3のデータD3により構成されるデータを、書き込み単位データと称する。即ち、書き込み単位データとは、EEPROM104の所定頁に対して、1回の書き込み処理で書き込み可能なデータである。
The IC card 1 (control element 101) performs the first data D1, the second data D2, and the third data D3 on the predetermined page of the
例えば、第1の制御情報C1は、第1のデータD1に対応付けられた1バイトの情報であり、所定頁における第1のデータD1以外のデータの有無を示す情報である。例えば、所定頁に第1のデータD1以外のデータが存在する場合、第1の制御情報C1は、所定頁に第1のデータD1以外のデータが存在することを示す存在情報を含む。所定頁に第1のデータD1以外のデータが存在しない場合、第1の制御情報C1は、所定頁に第1のデータD1以外のデータが存在しないことを示す不在情報を含む。図3のケースでは、例えば、第1の制御情報C1は、第2のデータD2と第3のデータD3の存在を示す存在情報を含む。 For example, the first control information C1 is 1-byte information associated with the first data D1, and is information indicating the presence or absence of data other than the first data D1 on a predetermined page. For example, when data other than the first data D1 exists on a predetermined page, the first control information C1 includes presence information indicating that data other than the first data D1 exists on the predetermined page. When there is no data other than the first data D1 on the predetermined page, the first control information C1 includes absence information indicating that no data other than the first data D1 exists on the predetermined page. In the case of FIG. 3, for example, the first control information C1 includes presence information indicating the presence of the second data D2 and the third data D3.
同様に、例えば、第2の制御情報C2は、第2のデータD2に対応付けられた1バイトの情報であり、所定頁における第2のデータD2以外のデータの有無を示す情報である。例えば、所定頁に第2のデータD2以外のデータが存在する場合、第2の制御情報C2は、所定頁に第2のデータD2以外のデータが存在することを示す存在情報を含む。所定頁に第2のデータD2以外のデータが存在しない場合、第2の制御情報C2は、所定頁に第2のデータD2以外のデータが存在しないことを示す不在情報を含む。図3のケースでは、例えば、第2の制御情報C2は、第1のデータD1と第3のデータD3の存在を示す存在情報を含む。 Similarly, for example, the second control information C2 is 1-byte information associated with the second data D2, and is information indicating the presence or absence of data other than the second data D2 on a predetermined page. For example, when data other than the second data D2 exists on a predetermined page, the second control information C2 includes presence information indicating that data other than the second data D2 exists on the predetermined page. When there is no data other than the second data D2 on the predetermined page, the second control information C2 includes absence information indicating that no data other than the second data D2 exists on the predetermined page. In the case of FIG. 3, for example, the second control information C2 includes presence information indicating the presence of the first data D1 and the third data D3.
同様に、例えば、第3の制御情報C3は、第3のデータD3に対応付けられた1バイトの情報であり、所定頁における第3のデータD3以外のデータの有無を示す情報である。例えば、所定頁に第3のデータD3以外のデータが存在する場合、第3の制御情報C3は、所定頁に第3のデータD3以外のデータが存在することを示す存在情報を含む。所定頁に第3のデータD3以外のデータが存在しない場合、第3の制御情報C3は、所定頁に第3のデータD3以外のデータが存在しないことを示す不在情報を含む。図3のケースでは、例えば、第3の制御情報C3は、第1のデータD1と第3のデータD2の存在を示す存在情報を含む。 Similarly, for example, the third control information C3 is 1-byte information associated with the third data D3, and is information indicating the presence or absence of data other than the third data D3 on a predetermined page. For example, when data other than the third data D3 exists on a predetermined page, the third control information C3 includes presence information indicating that data other than the third data D3 exists on the predetermined page. When there is no data other than the third data D3 on the predetermined page, the third control information C3 includes absence information indicating that no data other than the third data D3 exists on the predetermined page. In the case of FIG. 3, for example, the third control information C3 includes presence information indicating the presence of the first data D1 and the third data D2.
図4は、ICカード1によるデータ書き込み処理の第1例を示すフローチャートである。ここでは、例えば、ICカード発行時のデータ書き込み処理について説明する。
FIG. 4 is a flowchart showing a first example of data writing processing by the
ICカード1(制御素子101)は、リーダライタ(以下、ICカード発行機)と通信し、ICカード発行機から第1のデータD1と第1の制御情報C1とを受信し、ICカード1は、EEPROM104の所定頁に対して第1のデータD1を書き込む(ST11)。ICカード1は、第1の制御情報C1を確認し(ST12)、例えば、第1の制御情報C1が、第2のデータD2と第3のデータD3との関連を示す関連情報を含む場合、ICカード1は、所定頁に対してさらに他のデータが記憶されると判定し(ST13、YES)、ICカード1は、第1の制御情報C1に対して、第2のデータD2と第3のデータD3の存在を示す存在情報(他のデータの記憶有りを示す情報)を格納し、EEPROM104の所定頁に対して、第1のデータD1に対応付けた第1の制御情報C1を書き込む(ST14)。
The IC card 1 (control element 101) communicates with a reader / writer (hereinafter referred to as an IC card issuing machine), receives first data D1 and first control information C1 from the IC card issuing machine, and the
さらに、ICカード1(制御素子101)が、ICカード発行機から第2のデータD2と第2の制御情報C2とを受信すると、上記と同様に、EEPROM104の所定頁に対して、第2のデータD2と第2の制御情報C2とを書き込む(ST16)。つまり、ICカード1は、第2の制御情報C2を確認し、例えば、第2の制御情報C2が、第1のデータD1と第3のデータD3との関連を示す関連情報を含む場合、ICカード1は、所定頁に対してさらに他のデータが記憶されると判定し、ICカード1は、第2の制御情報C2に対して、第1のデータD1と第3のデータD3の存在を示す存在情報(他のデータの記憶有りを示す情報)を格納し、EEPROM104の所定頁に対して、第2のデータD2に対応付けた第2の制御情報C2を書き込む。
Further, when the IC card 1 (control element 101) receives the second data D2 and the second control information C2 from the IC card issuing machine, the second page D2 is read from the second page with respect to a predetermined page of the
さらに、ICカード1(制御素子101)が、ICカード発行機から第3のデータD3と第3の制御情報C3とを受信すると、上記と同様に、EEPROM104の所定頁に対して、第3のデータD3と第3の制御情報C3とを書き込む(ST16)。つまり、ICカード1は、第3の制御情報C3を確認し、例えば、第3の制御情報C3が、第1のデータD1と第2のデータD2との関連を示す関連情報を含む場合、ICカード1は、所定頁に既に関連情報が記憶されていると判定し、ICカード1は、第3の制御情報C3に対して、第2のデータD2と第3のデータD3の存在を示す存在情報(他のデータの記憶有りを示す情報)を格納し、EEPROM104の所定頁に対して、第3のデータD3に対応付けた第3の制御情報C3を書き込む。
Further, when the IC card 1 (the control element 101) receives the third data D3 and the third control information C3 from the IC card issuing machine, the third page is read from the predetermined page of the
ICカード1が、ICカード発行機から書き込みデータを全て受け取り、全ての書き込みデータ(書き込み単位データ)の書き込みを終えると、ICカード1によるデータ書き込み処理は完了する。
When the
なお、ICカードが、ICカード発行機から第1のデータD1と第1の制御情報C1とを受信し、ICカード1は、EEPROM104の所定頁に対して第1のデータD1を書き込み(ST11)、ICカード1が、第1の制御情報C1を確認し(ST12)、例えば、第1の制御情報C1が、他のデータとの関連を示す関連情報を含まない場合、ICカード1は、所定頁に対して他のデータが記憶されないと判定し(ST13、NO)、ICカード1は、第1の制御情報C1に対して、他のデータの不在を示す不在情報(他のデータの記憶無しを示す情報)を格納し、EEPROM104の所定頁に対して、第1のデータD1に対応付けた第1の制御情報C1を書き込む(ST15)。
The IC card receives the first data D1 and the first control information C1 from the IC card issuing machine, and the
なお、上記において、ICカード発行機から送信される第1の制御情報C1、第2の制御情報C2、第3の制御情報C3に基づき、ICカード1が、EEPROM104の所定頁(同一頁)に対して、第1のデータD1、第2のデータD2、第3のデータD3、第1の制御情報C1、第2の制御情報C2、第3の制御情報C3により構成される書き込み単位データを書き込むことを説明した。しかしながら、本実施形態はこのような書き込みに限定されるものではない。
In the above, based on the first control information C1, the second control information C2, and the third control information C3 transmitted from the IC card issuing machine, the
例えば、ICカード発行機から送信される第1のデータD1、第2のデータD2、及び第3のデータD3のデータサイズとEEPROM104の1頁のデータサイズに基づき、ICカード1が、第1のデータD1、第2のデータD2、第3のデータD3、第1の制御情報C1、第2の制御情報C2、第3の制御情報C3により書き込み単位を構成可能と判定した場合に、ICカード1は、EEPROM104の所定頁(同一頁)に対して、第1のデータD1、第2のデータD2、第3のデータD3、第1の制御情報C1、第2の制御情報C2、第3の制御情報C3により構成される書き込み単位データを書き込むようにしてもよい。
For example, based on the data size of the first data D1, the second data D2, and the third data D3 transmitted from the IC card issuer and the data size of one page of the
仮に、ICカード1が、第1のデータD1、第2のデータD2、第1の制御情報C1、第2の制御情報C2により書き込み単位を構成可能と判定した場合には(第1のデータD1、第2のデータD2、第3のデータD3のデータサイズが1頁のデータサイズより大きいと判定した場合には)、EEPROM104の第1の頁に対して、第1のデータD1、第2のデータD2、第1の制御情報C1、第2の制御情報C2により構成される第1の書き込み単位データを書き込む。さらに、ICカード1が、第3のデータD3、第3の制御情報C3により書き込み単位を構成可能と判定した場合には(第3のデータD3のデータサイズが1頁のデータサイズより小さいと判定した場合には)、EEPROM104の第2の頁に対して、第3のデータD3、第3の制御情報C3により構成される第2の書き込み単位データを書き込む。
If the
また、ICカード1が、第1のデータD1、第1の制御情報C1により書き込み単位を構成可能と判定した場合には(第1のデータD1、第2のデータD2のデータサイズが1頁のデータサイズより大きく、また、第1のデータD1、第3のデータD3のデータサイズも1頁のデータサイズより大きいと判定した場合には)、EEPROM104の第1の頁に対して、第1のデータD1、第1の制御情報C1により構成される第1の書き込み単位データを書き込む。さらに、ICカード1が、第2のデータD2、第2の制御情報C2により書き込み単位を構成可能と判定した場合には(第1のデータD1、第2のデータD2のデータサイズが1頁のデータサイズより大きく、また、第2のデータD2、第3のデータD3のデータサイズも1頁のデータサイズより大きいと判定した場合には)、EEPROM104の第2の頁に対して、第2のデータD2、第2の制御情報C2により構成される第2の書き込み単位データを書き込む。さらに、ICカード1が、第3のデータD3、第3の制御情報C3により書き込み単位を構成可能と判定した場合には(第1のデータD1、第3のデータD3のデータサイズが1頁のデータサイズより大きく、また、第2のデータD2、第3のデータD3のデータサイズも1頁のデータサイズより大きいと判定した場合には)、EEPROM104の第3の頁に対して、第3のデータD3、第3の制御情報C3により構成される第3の書き込み単位データを書き込む。
Further, when the
或いは、ICカード1は、ICカード発行機からの第1のデータD1、第2のデータD2、及び第3のデータD3を所定頁へ書き込む旨の指示に基づき、EEPROM104の所定頁に対して、第1のデータD1、第2のデータD2、第3のデータD3、第1の制御情報C1、第2の制御情報C2、第3の制御情報C3により構成される書き込み単位データを書き込むようにしてもよい。
Alternatively, the
図5は、ICカード1によるデータ書き込み処理の第2例を示すフローチャートである。ここでは、例えば、ICカード運用時(取引時)のデータ書き込み処理について説明する。
FIG. 5 is a flowchart showing a second example of data writing processing by the
例えば、ICカード1は、リーダライタ(以下、ICカード処理機)からの第1のデータD1に対応する第1のデータD1#の書き込み要求に基づき(ST21、YES)、第1のデータD1#をRAM103へ記憶(退避)し(ST22)、EEPROM104の所定頁に記憶された第1のデータD1に対応付けられた第1の制御情報C1の内容を確認する(ST23)。
For example, the
ICカード1は、第1の制御情報C1に基づき、所定頁に他のデータが記憶されていると判定し(ST24、YES)、さらに、ICカード処理機からの第2のデータD2に対応する第2のデータD2#の書き込み要求がある場合には(ST25、YES)、第2のデータD2#もRAM103へ記憶(退避)し(ST26)、EEPROM104の所定頁に記憶された第2のデータD2に対応付けられた第2の制御情報C2の内容を確認する(ST27)。
The
ICカード1は、第2の制御情報C2に基づき、所定頁に他のデータが記憶されていると判定し(ST28、YES)、さらに、ICカード処理機からの第3のデータD3に対応する第3のデータD3#の書き込み要求がある場合には、第3のデータD3#もRAM103へ記憶(退避)し、EEPROM104の所定頁に記憶された第3のデータD3に対応付けられた第3の制御情報C3の内容を確認する(ST29)。
The
ICカード1が、所定頁にさらなる他のデータが記憶されていないと判定すると、1回の書き込みで、RAM103に記憶された第1のデータD1#、第2のデータD2#、第3のデータD3#をEEPROM104の所定頁に書き込む(ST30)。例えば、ICカード1は、1回の書き込みで、EEPROM104の所定頁に記憶された第1のデータD1、第2のデータD2、第3のデータD3に替えて第1のデータD1#、第2のデータD2#、第3のデータD3#を書き込む。
When the
なお、ICカード処理機からの第2のデータD2に対応する第2のデータD2#の書き込み要求がない場合には(ST25、NO)、ICカード1は、1回の書き込みで、RAM103に記憶された第1のデータD1#をEEPROM104の所定頁に書き込む。例えば、ICカード1は、1回の書き込みで、EEPROM104の所定頁に記憶された第1のデータD1に替えて第1のデータD1#を書き込む。
When there is no write request for the second data D2 # corresponding to the second data D2 from the IC card processor (ST25, NO), the
また、ICカード処理機からの第3のデータD3に対応する第3のデータD3#の書き込み要求がない場合には、ICカード1は、1回の書き込みで、RAM103に記憶された第1のデータD1#及び第2のデータD2#をEEPROM104の所定頁に書き込む。例えば、ICカード1は、1回の書き込みで、EEPROM104の所定頁に記憶された第1のデータD1及び第2のデータD2に替えて第1のデータD1#及び第2のデータD2#を書き込む。
Further, when there is no request for writing the third data D3 # corresponding to the third data D3 from the IC card processor, the
以上により、ICカード1は、制御情報を参照することにより、効率よくEEPROM104に対してデータを書き込むことができる。
As described above, the
例えば、図2に示すように、制御情報を伴わずに、EEPROMの所定頁に対して、第1のデータD1、第2のデータD2、第3のデータD3が記憶されている場合、ICカード1は、ICカード処理機からの第1のデータD1に対応する第1のデータD1#の書き込み要求に基づき、1回の書き込みで、EEPROMの所定頁に対して、第1のデータD1#を書き込み、次に、ICカード処理機からの第2のデータD2に対応する第2のデータD2#の書き込み要求に基づき、1回の書き込みで、EEPROMの所定頁に対して、第2のデータD2#を書き込み、次に、ICカード処理機からの第3のデータD3に対応する第3のデータD3#の書き込み要求に基づき、1回の書き込みで、EEPROMの所定頁に対して、第3のデータD3#を書き込むことになり、1頁に対し、複数回の書き込みが生じ、処理時間が悪い。
For example, as shown in FIG. 2, when the first data D1, the second data D2, and the third data D3 are stored for a predetermined page of the EEPROM without the control information, the
これに対して、ICカード1は、図3に示すように、EEPROMの所定頁に対して、第1制御情報C1、第2の制御情報C2、第3の制御情報C3を伴い、第1のデータD1、第2のデータD2、第3のデータD3を書き込むため、効率よく1回の書き込みでEEPROM104に対して第1のデータD1#、第2のデータD2#、第3のデータD3#を書き込むことができる。従って、ICカード1は、データ書込み時間を短縮することができ、全体の処理時間も短縮することができる。
On the other hand, as shown in FIG. 3, the
本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 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 novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.
100…ICチップ(ICモジュール)、101…制御素子(CPU)、102…ROM、103…RAM、104…EEPROM、105…通信制御部、106…電源部
DESCRIPTION OF
Claims (10)
前記第1及び第2の書き込みデータを記憶する第1の記憶手段と、
前記第2の書き込みデータの存在を示す第1の制御情報、前記第1の制御情報に対応付けられた前記第1の書き込みデータ、前記第1の書き込みデータの存在を示す第2の制御情報、及び前記第2の制御情報に対応付けられた前記第2の書き込みデータにより第1の書き込み単位データを構成し、前記第1の記憶手段に対して前記第1の書き込み単位データを書き込む書き込み手段と、
を備えた携帯可能電子装置。 Communication means for communicating with the information processing apparatus and receiving the first and second write data;
First storage means for storing the first and second write data;
First control information indicating the presence of the second write data, the first write data associated with the first control information, second control information indicating the presence of the first write data, And writing means for configuring the first write unit data by the second write data associated with the second control information, and writing the first write unit data to the first storage means ,
A portable electronic device comprising:
前記書き込み手段は、前記第2の記憶手段に対して一時的に前記第1の書き換えデータと前記第2の書き換えデータとを書き込んだ後、前記第1の記憶手段の前記第1の書き込み単位データの記憶領域に対して前記第1の書き換えデータと前記第2の書き換えデータとを1回の書き込み処理で書き込む請求項4記載の携帯可能電子装置。 A second storage means for temporarily storing the first rewrite data and the second rewrite data;
The writing means temporarily writes the first rewrite data and the second rewrite data to the second storage means, and then writes the first write unit data of the first storage means. 5. The portable electronic device according to claim 4, wherein the first rewrite data and the second rewrite data are written to the storage area in one write process.
前記第2の記憶手段は、RAMにより構成された請求項6記載の携帯可能電子装置。 The first storage means is composed of an EEPROM,
The portable electronic device according to claim 6, wherein the second storage unit includes a RAM.
前記第2の書き込みデータの存在を示す第1の制御情報、前記第1の制御情報に対応付けられた前記第1の書き込みデータ、前記第1の書き込みデータの存在を示す第2の制御情報、及び前記第2の制御情報に対応付けられた前記第2の書き込みデータにより第1の書き込み単位データを構成し、メモリに対して前記第1の書き込み単位データを書き込む情報処理方法。 Communicating with the information processing device, receiving the first and second write data;
First control information indicating the presence of the second write data, the first write data associated with the first control information, second control information indicating the presence of the first write data, And an information processing method in which first write unit data is constituted by the second write data associated with the second control information, and the first write unit data is written to a memory.
前記ICモジュールは、
情報処理装置と通信し、第1及び第2の書き込みデータを受信する通信手段と、
前記第1及び第2の書き込みデータを記憶する第1の記憶手段と、
前記第2の書き込みデータの存在を示す第1の制御情報、前記第1の制御情報に対応付けられた前記第1の書き込みデータ、前記第1の書き込みデータの存在を示す第2の制御情報、及び前記第2の制御情報に対応付けられた前記第2の書き込みデータにより第1の書き込み単位データを構成し、前記第1の記憶手段に対して前記第1の書き込み単位データを書き込む書き込み手段と、
を備えたICカード。 An IC card composed of a card body in which an IC module is embedded,
The IC module is
Communication means for communicating with the information processing apparatus and receiving the first and second write data;
First storage means for storing the first and second write data;
First control information indicating the presence of the second write data, the first write data associated with the first control information, second control information indicating the presence of the first write data, And writing means for configuring the first write unit data by the second write data associated with the second control information, and writing the first write unit data to the first storage means ,
IC card with
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011023812A JP5417355B2 (en) | 2011-02-07 | 2011-02-07 | Portable electronic device, information processing method, and IC card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011023812A JP5417355B2 (en) | 2011-02-07 | 2011-02-07 | Portable electronic device, information processing method, and IC card |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012164121A true JP2012164121A (en) | 2012-08-30 |
JP5417355B2 JP5417355B2 (en) | 2014-02-12 |
Family
ID=46843457
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011023812A Expired - Fee Related JP5417355B2 (en) | 2011-02-07 | 2011-02-07 | Portable electronic device, information processing method, and IC card |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5417355B2 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05151068A (en) * | 1991-11-29 | 1993-06-18 | Toshiba Corp | Memory card device |
JP2004334744A (en) * | 2003-05-12 | 2004-11-25 | Toshiba Corp | Issue system and method of portable electronic medium and portable electronic medium |
JP2007034431A (en) * | 2005-07-22 | 2007-02-08 | Fuji Xerox Co Ltd | Memory controller |
-
2011
- 2011-02-07 JP JP2011023812A patent/JP5417355B2/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05151068A (en) * | 1991-11-29 | 1993-06-18 | Toshiba Corp | Memory card device |
JP2004334744A (en) * | 2003-05-12 | 2004-11-25 | Toshiba Corp | Issue system and method of portable electronic medium and portable electronic medium |
JP2007034431A (en) * | 2005-07-22 | 2007-02-08 | Fuji Xerox Co Ltd | Memory controller |
Also Published As
Publication number | Publication date |
---|---|
JP5417355B2 (en) | 2014-02-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4891587B2 (en) | Portable electronic device, IC card and IC module | |
US20130254904A1 (en) | Ic card and ic card control method | |
US20120235796A1 (en) | Ic card, portable electronic device, ic card issuing apparatus, and communication method | |
JP2010009467A (en) | Information storage medium, information processing system, and command method | |
JP5417355B2 (en) | Portable electronic device, information processing method, and IC card | |
US8977824B2 (en) | Portable electronic apparatus and method of controlling a portable electronic apparatus | |
US7922095B2 (en) | Information storage medium and medium processing system | |
US8870079B2 (en) | IC card, portable electronic device, IC card issuing apparatus, and command execution method | |
JP5306079B2 (en) | IC card, IC card processing device, and IC card processing system | |
JP4590201B2 (en) | Data carrier and data carrier program | |
JP4476658B2 (en) | Portable electronic device, electronic processing system, and electronic processing method | |
JP5728323B2 (en) | IC card and portable electronic device | |
JP4836646B2 (en) | Medium processing apparatus, information storage medium, and medium processing system | |
JP2014063345A (en) | Ic card, portable electronic device, and information processing method | |
JP5248053B2 (en) | IC card and file rearrangement method | |
JP5481464B2 (en) | Communication medium and communication medium processing apparatus | |
JP6758910B2 (en) | IC card | |
JP2008047040A (en) | Portable electronic device and ic card | |
JP2006293426A (en) | Ic card and communication method | |
US10068168B2 (en) | IC card and IC module | |
JP2013171394A (en) | Ic card, manufacturing method of ic card, issuance method of ic card, and information processing method | |
JP2011198107A (en) | Portable electronic device | |
JP2004334744A (en) | Issue system and method of portable electronic medium and portable electronic medium | |
JP2014182639A (en) | Ic card and portable electronic device | |
JP2005056259A (en) | Portable electronic medium and portable electronic medium handling device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130425 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20131003 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20131022 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20131118 |
|
LAPS | Cancellation because of no payment of annual fees |