JP2007293381A - Medium processing device, information memory medium, and medium processing system - Google Patents

Medium processing device, information memory medium, and medium processing system Download PDF

Info

Publication number
JP2007293381A
JP2007293381A JP2006117042A JP2006117042A JP2007293381A JP 2007293381 A JP2007293381 A JP 2007293381A JP 2006117042 A JP2006117042 A JP 2006117042A JP 2006117042 A JP2006117042 A JP 2006117042A JP 2007293381 A JP2007293381 A JP 2007293381A
Authority
JP
Japan
Prior art keywords
data
information
target data
processing target
command
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
Application number
JP2006117042A
Other languages
Japanese (ja)
Other versions
JP4836646B2 (en
JP2007293381A5 (en
Inventor
Susumu Yanagida
将 柳田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2006117042A priority Critical patent/JP4836646B2/en
Publication of JP2007293381A publication Critical patent/JP2007293381A/en
Publication of JP2007293381A5 publication Critical patent/JP2007293381A5/ja
Application granted granted Critical
Publication of JP4836646B2 publication Critical patent/JP4836646B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a medium processing device for efficiently writing or reading data. <P>SOLUTION: The medium processing device processes a memory medium storing first configuration data (TLV structure data) formed by first information (tag) for discriminating data to be processed, second information (length) for showing a data length of the data, and the processing target data (value). The medium processing device transmits a write command (Fig. 8) including second configuration data formed by the first information, the second information, third information (offset length) for showing a data length of a non-writing area from the top to a first position of the data, fourth information for showing a data length of a writing area from the first position to a second position of the data, and data to be written to the writing area, to an information memory medium. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、例えば、たとえば不揮発性のデータメモリおよびCPUなどの制御素子を有するIC(集積回路)チップを内蔵するICカードと称される情報記憶媒体を処理する媒体処理装置に関する。また、このような情報記憶媒体に関する。さらに、これら媒体処理装置及び情報記憶媒体により構成される媒体処理システムに関する。   The present invention relates to a medium processing apparatus that processes an information storage medium called an IC card including an IC (integrated circuit) chip having a control element such as a nonvolatile data memory and a CPU, for example. The present invention also relates to such an information storage medium. Furthermore, the present invention relates to a medium processing system including these medium processing apparatuses and information storage media.

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

ICカードは、リーダライタからのコマンドに基づき、リーダライタから送信されるデータを書き込んだり、リーダライタから要求されるデータを読み出し返信したりする。このような書き込み又は読み出しのデータは、例えば、タグ(Tag)部、レングス(Length)部、及びバリュー(Value)部により構成されるTLVデータ構造に含まれる(特許文献2参照)。タグ部には識別情報が格納され、レングス部にはバリュー部に格納されるデータ長が格納され、バリュー部には処理対象データ(書き込み又は読み出しのデータ)が格納される。
特開平9−231113 特開2004−178101
The IC card writes data transmitted from the reader / writer based on a command from the reader / writer, and reads and returns data requested from the reader / writer. Such write or read data is included in a TLV data structure including, for example, a tag (Tag) portion, a length (Length) portion, and a value (Value) portion (see Patent Document 2). Identification information is stored in the tag part, a data length stored in the value part is stored in the length part, and data to be processed (data to be written or read out) is stored in the value part.
JP-A-9-231113 JP 2004-178101 A

上記したようにICカードは、リーダライタからのコマンドによりデータの書き込み、読み出しが可能となっている。書き込み又は読み出しの処理対象データがTLVデータ構造に含まれる場合、処理対象データの先頭から末尾までの全データ長分(バリュー部全体)の書き込みが行なわれ、読み出しの場合も同様に処理対象データの先頭から末尾までの全データ長分(バリュー部全体)の読み出しが行なわれる。   As described above, the IC card can write and read data by a command from the reader / writer. When the processing target data to be written or read is included in the TLV data structure, writing is performed for the entire data length (the entire value part) from the beginning to the end of the processing target data. Reading of the entire data length from the beginning to the end (entire value portion) is performed.

この場合、TLVデータに含まれる処理対象データの一部分(バリュー部の一部分)にデータを書き込みたい、又は一部分のデータ(バリュー部の一部分)を読み出したい場合にも、全ての処理対象データ(バリュー部全体)を扱うことになる。よって、処理対象データのデータサイズが大きい場合に、書き込み又は読み出し処理が冗長になってしまい、書き込み又は読み出し処理効率が悪いという問題がある。   In this case, even when it is desired to write data to a part of the processing target data included in the TLV data (a part of the value part) or to read a part of the data (a part of the value part), all the processing target data (value part) The whole). Therefore, when the data size of the processing target data is large, there is a problem that writing or reading processing becomes redundant, and writing or reading processing efficiency is poor.

本発明の目的は、上記課題を解決するためになされたものであり、データの書き込み又は読み出し処理の効率化を図ることが可能な媒体処理装置、情報記憶媒体、及び媒体処理システムを提供することにある。   An object of the present invention is to solve the above-described problems, and provides a medium processing device, an information storage medium, and a medium processing system capable of improving the efficiency of data writing or reading processing. It is in.

この発明の媒体処理装置、情報記憶媒体、及び媒体処理システムは、以下のように構成されている。   The medium processing apparatus, information storage medium, and medium processing system of the present invention are configured as follows.

(1)この発明の媒体処理装置は、処理対象データを識別する第1の情報、前記処理対象データのデータ長を示す第2の情報、及び前記処理対象データにより構成される第1の構成データを記憶する情報記憶媒体を処理する媒体処理装置であって、前記第1の情報、前記第2の情報、前記処理対象データの先頭から第1の位置までの非書込領域のデータ長を示す第3の情報、前記処理対象データの前記第1の位置から第2の位置までの書込領域のデータ長を示す第4の情報、及び前記書込領域に書き込む書込対象データにより構成される第2の構成データを含む書込コマンドを生成するコマンド生成手段と、前記情報処理媒体に記憶された前記第1の構成データに含まれる前記処理対象データの前記第1の位置から前記第2の位置までの前記書込領域に対して前記書込対象データを書き込むために、前記コマンド生成手段により生成された前記書込コマンドを情報記憶媒体に対して送信するコマンド送信手段とを備えている。   (1) The medium processing apparatus according to the present invention includes first information for identifying processing target data, second information indicating a data length of the processing target data, and first configuration data configured by the processing target data. Is a medium processing apparatus for processing an information storage medium for storing the first information, the second information, and the data length of a non-write area from the beginning of the processing target data to a first position 3rd information, 4th information which shows the data length of the writing area | region from the said 1st position of the said process object data to a 2nd position, and the writing object data written in the said writing area | region Command generation means for generating a write command including second configuration data; and the second position from the first position of the processing target data included in the first configuration data stored in the information processing medium. Said to position To write the write target data to the write area, and a command transmitting means for transmitting the write command generated by said command generating means to the information storage medium.

(2)この発明の情報記憶媒体は、処理対象データを識別する第1の情報、前記処理対象データのデータ長を示す第2の情報、及び前記処理対象データにより構成される第1の構成データを記憶する記憶手段と、前記第1の情報、前記第2の情報、前記処理対象データの先頭から第1の位置までの非書込領域のデータ長を示す第3の情報、前記処理対象データの前記第1の位置から第2の位置までの書込領域のデータ長を示す第4の情報、及び前記書込領域に書き込む書込対象データにより構成される第2の構成データを含む書込コマンドを受信するコマンド受信手段と、前記コマンド受信手段により受信された前記書込コマンドに基づき、前記第1の情報により特定される前記記憶手段に記憶された前記第1の構成データに含まれる前記処理対象データの前記第1の位置から前記第2の位置までの前記書込領域に対して前記書込対象データを書き込む書込手段とを備えている。   (2) The information storage medium of the present invention includes first information for identifying processing target data, second information indicating a data length of the processing target data, and first configuration data configured by the processing target data Storage means for storing the first information, the second information, the third information indicating the data length of the non-write area from the beginning of the processing target data to the first position, the processing target data 4th information which shows the data length of the writing area | region from the said 1st position to the 2nd position of this, and the 2nd structure data comprised by the writing object data written in the said writing area | region A command receiving means for receiving a command; and the first configuration data stored in the storage means specified by the first information based on the write command received by the command receiving means. place And a writing means for writing the write target data to the writing area from the first position of the target data to said second position.

(3)この発明の媒体処理システムは、処理対象データを識別する第1の情報、前記処理対象データのデータ長を示す第2の情報、及び前記処理対象データにより構成される第1の構成データを記憶する情報記憶媒体、及びこの情報記憶媒体を処理する媒体処理装置により構成される媒体処理システムであって、前記媒体処理装置は、前記第1の情報、前記第2の情報、前記処理対象データの先頭から第1の位置までの非書込領域のデータ長を示す第3の情報、前記処理対象データの前記第1の位置から第2の位置までの書込領域のデータ長を示す第4の情報、及び前記書込領域に書き込む書込対象データにより構成される第2の構成データを含む書込コマンドを生成するコマンド生成手段と、前記情報処理媒体に記憶された前記第1の構成データに含まれる前記処理対象データの前記第1の位置から前記第2の位置までの前記書込領域に対して前記書込対象データを書き込むために、前記コマンド生成手段により生成された前記書込コマンドを情報記憶媒体に対して送信するコマンド送信手段とを備え、前記情報記憶媒体は、前記第1の構成データを記憶する記憶手段と、前記第2の構成データを含む前記書込コマンドを受信するコマンド受信手段と、前記コマンド受信手段により受信された前記書込コマンドに基づき、前記第1の情報により特定される前記記憶手段に記憶された前記第1の構成データに含まれる前記処理対象データの前記第1の位置から前記第2の位置までの前記書込領域に対して前記書込対象データを書き込む書込手段とを備えている。   (3) The medium processing system according to the present invention includes first information for identifying processing target data, second information indicating a data length of the processing target data, and first configuration data configured by the processing target data. An information storage medium for storing information and a medium processing system for processing the information storage medium, wherein the medium processing apparatus includes the first information, the second information, and the processing target. Third information indicating the data length of the non-writing area from the beginning of the data to the first position, and the third information indicating the data length of the writing area from the first position to the second position of the processing target data 4 and a command generation means for generating a write command including second configuration data composed of write target data to be written in the write area, and the first configuration stored in the information processing medium In order to write the write target data to the write area from the first position to the second position of the processing target data included in the data, the writing generated by the command generating means Command transmission means for transmitting a write command to an information storage medium, the information storage medium storing storage means for storing the first configuration data, and the write command including the second configuration data. The processing target included in the first configuration data stored in the storage means specified by the first information based on the command receiving means to be received and the write command received by the command receiving means Writing means for writing the data to be written to the writing area from the first position to the second position of data.

本発明によれば、データの書き込み又は読み出し処理の効率化を図ることが可能な媒体処理装置、情報記憶媒体、及び媒体処理システムを提供できる。   According to the present invention, it is possible to provide a medium processing apparatus, an information storage medium, and a medium processing system capable of improving the efficiency of data writing or reading processing.

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

図1は、本発明の一実施形態に係るICカードシステム(媒体処理システム)の概略構成を示すブロック図である。図1に示すように、ICカードシステムは、端末1及びICカード2により構成される。端末1は、本体11、ディスプレイ12、キーボード13、カードリーダ/ライタ14を備えている。端末1はICカード2と通信可能に構成されており、端末1はICカード2に対してデータを送信したり、ICカード2からのデータを受信したりする。   FIG. 1 is a block diagram showing a schematic configuration of an IC card system (medium processing system) according to an embodiment of the present invention. As shown in FIG. 1, the IC card system includes a terminal 1 and an IC card 2. The terminal 1 includes a main body 11, a display 12, a keyboard 13, and a card reader / writer 14. The terminal 1 is configured to be communicable with the IC card 2, and the terminal 1 transmits data to the IC card 2 and receives data from the IC card 2.

本体11は、アプリケーションを実行したり、入出力を司る。ディスプレイ12は、ICカード2との通信結果等を表示する。キーボード13は、本体11に対して文字や数字等を入力する。カードリーダ/ライタ14は、ICカード2と通信する。   The main body 11 executes applications and controls input / output. The display 12 displays a result of communication with the IC card 2 and the like. The keyboard 13 inputs characters and numbers to the main body 11. The card reader / writer 14 communicates with the IC card 2.

図2は、本発明の一実施形態に係るカードリーダ/ライタの概略構成を示すブロック図である。図2に示すように、カードリーダ/ライタ14は、コンタクト部141、制御部142、RAM143、ROM144、及び不揮発性メモリ145を備えている。   FIG. 2 is a block diagram showing a schematic configuration of a card reader / writer according to an embodiment of the present invention. As shown in FIG. 2, the card reader / writer 14 includes a contact unit 141, a control unit 142, a RAM 143, a ROM 144, and a nonvolatile memory 145.

図3は、本発明の一実施形態に係るICカードの概略構成を示すブロック図である。図3に示すように、ICカード2は、コンタクト部21、制御部22、RAM23、ROM24、及び不揮発性メモリ25を備えている。   FIG. 3 is a block diagram showing a schematic configuration of an IC card according to an embodiment of the present invention. As shown in FIG. 3, the IC card 2 includes a contact unit 21, a control unit 22, a RAM 23, a ROM 24, and a nonvolatile memory 25.

カードリーダ/ライタ14のコンタクト部141は、ICカード2のコンタクト部21と接続し、カードリーダ/ライタ14とICカード2との間でデータを送受信するインターフェースである。制御部142は、本体11からの指示に基づき書き込みコマンド又は読み出しコマンドを生成する。RAM143は、例えばICカード2から送信されるデータを一時的に記憶する。ROM144は、制御部142により実行する制御プログラムを記憶する。不揮発性メモリ145は、電力供給が断たれた後もデータを保持することが可能なメモリである。   The contact unit 141 of the card reader / writer 14 is an interface that is connected to the contact unit 21 of the IC card 2 and transmits / receives data between the card reader / writer 14 and the IC card 2. The control unit 142 generates a write command or a read command based on an instruction from the main body 11. For example, the RAM 143 temporarily stores data transmitted from the IC card 2. The ROM 144 stores a control program executed by the control unit 142. The nonvolatile memory 145 is a memory that can hold data even after power supply is cut off.

一方のICカード2の制御部22は、カードリーダ/ライタ14から送信される書き込みコマンド又は読み出しコマンドに基づき書き込み動作及び読み出し動作を制御する。RAM23は、例えば制御部22で実行する処理の結果を一時的に記憶する。ROM24は、制御部22により実行する制御プログラムを記憶する。不揮発性メモリ25は、電力供給が断たれた後もデータを保持することが可能なメモリである。   The control unit 22 of one IC card 2 controls the write operation and the read operation based on the write command or the read command transmitted from the card reader / writer 14. For example, the RAM 23 temporarily stores a result of processing executed by the control unit 22. The ROM 24 stores a control program executed by the control unit 22. The nonvolatile memory 25 is a memory that can retain data even after power supply is cut off.

図4は、全データの書き込み又は全データの読み出しを行なうコマンド処理の一例を示すフローチャートである。カードリーダ/ライタ14の制御部142は、本体11からの指示に基づき、全データの書き込みを命令する全データ書き込みコマンド、又は全データの読み出しを命令する全データ読み出しコマンドを生成する。   FIG. 4 is a flowchart showing an example of command processing for writing all data or reading all data. Based on an instruction from the main body 11, the control unit 142 of the card reader / writer 14 generates an all data write command for instructing writing of all data or an all data reading command for instructing reading of all data.

図5は、全データ書き込みコマンドの一例を示す図であり、図6は、全データ読み出しコマンドの一例を示す図である。図5に示すように、全データ書き込みコマンドは、CLA(クラスバイト)、INS(命令バイト)、P1(パラメータバイト1)、P2(パラメータバイト2)、Dataを含み、このDataは、タグ(Tag)部、レングス(Length)部、及びバリュー(Value)部を含む。タグ部には、処理対象データを識別する情報が格納される。レングス部には、処理対象データのデータ長を示す情報が格納される。バリュー部には、処理対象データが格納される。   FIG. 5 is a diagram illustrating an example of an all data write command, and FIG. 6 is a diagram illustrating an example of an all data read command. As shown in FIG. 5, the all data write command includes CLA (class byte), INS (instruction byte), P1 (parameter byte 1), P2 (parameter byte 2), and Data. ) Part, a length part, and a value part. Information for identifying data to be processed is stored in the tag portion. Information indicating the data length of the processing target data is stored in the length section. The value part stores processing target data.

また、図6に示すように、全データ読み出しコマンドも、CLA、INS、P1、P2、Dataを含み、このDataは、タグ(Tag)部及びレングス(Length)部を含む。タグ部には、処理対象データを識別する情報が格納される。レングス部には、処理対象データのデータ長を示す情報が格納される。   As shown in FIG. 6, the all data read command also includes CLA, INS, P1, P2, and Data, and this Data includes a tag (Tag) portion and a length (Length) portion. Information for identifying data to be processed is stored in the tag portion. Information indicating the data length of the processing target data is stored in the length section.

コンタクト部141は、生成された全データ書き込みコマンド又は全データ読み出しコマンドをICカード2に対して送信し、ICカード2のコンタクト部21は送信される全データ書き込みコマンド又は全データ読み出しコマンドを受信する(ST11)。ICカード2の不揮発性メモリ25には、タグ部、レングス部、及びバリュー部により構成されるTLV構造データが格納されている。   The contact unit 141 transmits the generated all data write command or all data read command to the IC card 2, and the contact unit 21 of the IC card 2 receives the transmitted all data write command or all data read command. (ST11). The non-volatile memory 25 of the IC card 2 stores TLV structure data including a tag portion, a length portion, and a value portion.

ICカード2の制御部22は、不揮発性メモリ25に格納されたTLV構造データの中から、受信したコマンドに含まれるタグ(Tag)部の識別情報により特定されるTLV構造データを検索する(ST12)。TLV構造データの検索に成功すると(ST12、YES)、全データ書き込みコマンドに含まれるバリュー部の全データが、検索により特定されたTLV構造データに含まれるバリュー部に書き込まれる(ST13)。つまり、バリュー部の全データが書き換えられる。或いは、全データ読み出しコマンドにより、検索により特定されたTLV構造データに含まれるバリュー部の全データが読み出される(ST13)。   The control unit 22 of the IC card 2 searches the TLV structure data specified by the identification information of the tag (Tag) part included in the received command from the TLV structure data stored in the nonvolatile memory 25 (ST12). ). If the TLV structure data search is successful (ST12, YES), all data in the value part included in the all data write command is written into the value part included in the TLV structure data specified by the search (ST13). That is, all data in the value part is rewritten. Alternatively, all data in the value part included in the TLV structure data specified by the search is read by the all data read command (ST13).

図7は、一部分データの書き込み又は一部分データの読み出しを行なうコマンド処理の一例を示すフローチャートである。カードリーダ/ライタ14の制御部142は、本体11からの指示に基づき、一部分データの書き込みを命令する一部分データ書き込みコマンド、又は一部分データの読み出しを命令する全データ読み出しコマンドを生成する。   FIG. 7 is a flowchart showing an example of command processing for writing partial data or reading partial data. Based on an instruction from the main body 11, the control unit 142 of the card reader / writer 14 generates a partial data write command for instructing partial data write or a full data read command for instructing partial data read.

図8は、一部分データ書き込みコマンドの第1例を示す図であり、図9は、一部分データ書き込みコマンドの第2例を示す図であり、図10は、一部分データ読み出しコマンドの第1例を示す図であり、図11は、一部分データ読み出しコマンドの第2例を示す図である。   8 is a diagram illustrating a first example of a partial data write command, FIG. 9 is a diagram illustrating a second example of the partial data write command, and FIG. 10 illustrates a first example of the partial data read command. FIG. 11 is a diagram illustrating a second example of the partial data read command.

図8に示すように、一部分データ書き込みコマンドは、CLA(クラスバイト)、INS(命令バイト)、P1(パラメータバイト1)、P2(パラメータバイト2)、Dataを含み、このDataは、タグ(Tag)部、レングス(Length)部、処理対象データの先頭から第1の位置までの非書込領域のデータ長を示す情報(バリュー部の先頭からオフセット長を示す情報)の格納部、処理対象データの第1の位置から第2の位置までの書込領域のデータ長を示す情報の格納部、及び書込領域に書き込む書込対象データの格納部を含む。つまり、この一部分データ書き込みコマンドにより、ICカードに記憶されたTLVデータのバリュー部の一部分のデータ(バリュー部の第1の位置から第2の位置までのデータ)だけが、一部分データ書き込みコマンドに含まれる書込対象データに置き換えられる。   As shown in FIG. 8, the partial data write command includes CLA (class byte), INS (instruction byte), P1 (parameter byte 1), P2 (parameter byte 2), and Data. ) Section, length section, storage section for information indicating the data length of the non-write area from the beginning of the processing target data to the first position (information indicating the offset length from the beginning of the value section), processing target data A storage unit for information indicating the data length of the writing area from the first position to the second position, and a storage part for writing target data to be written in the writing area. That is, by this partial data write command, only partial data (data from the first position to the second position of the value part) of the value part of the TLV data stored in the IC card is included in the partial data write command. It is replaced with the data to be written.

或いは、図9に示すように、一部分データ書き込みコマンドは、CLA、INS、P1、P2、Dataを含み、このDataは、タグ部、レングス部、タグ部の先頭から処理対象データの第1の位置までの非書込領域のデータ長を示す情報(タグ部の先頭からのオフセット長を示す情報)の格納部、処理対象データの第1の位置から第2の位置までの書込領域のデータ長を示す情報の格納部、書込領域に書き込む書込対象データの格納部を含む。つまり、この一部分データ書き込みコマンドにより、ICカードに記憶されたTLVデータのバリュー部の一部分のデータ(バリュー部の第1の位置から第2の位置までのデータ)だけが、一部分データ書き込みコマンドに含まれる書込対象データに置き換えられる。   Alternatively, as shown in FIG. 9, the partial data write command includes CLA, INS, P1, P2, and Data, and this Data is the first position of the processing target data from the head of the tag part, the length part, and the tag part. Storage unit for information indicating the data length of the non-write area up to (information indicating the offset length from the head of the tag part), data length of the write area from the first position to the second position of the processing target data And a storage unit for writing target data to be written in the write area. That is, by this partial data write command, only partial data (data from the first position to the second position of the value part) of the value part of the TLV data stored in the IC card is included in the partial data write command. It is replaced with the data to be written.

また、図10に示すように、一部分データ読み出しコマンドは、CLA、INS、P1、P2、Dataを含み、このDataは、タグ部、レングス部、処理対象データの先頭から第1の位置までの非読出領域のデータ長を示す情報(バリュー部の先頭からオフセット長を示す情報)の格納部、及び処理対象データの第1の位置から第2の位置までの読出領域のデータ長を示す情報の格納部を含む。つまり、この一部分データ読み出しコマンドにより、ICカードに記憶されたTLVデータのバリュー部の一部分のデータ(バリュー部の第1の位置から第2の位置までのデータ)だけが、読み出される。   Also, as shown in FIG. 10, the partial data read command includes CLA, INS, P1, P2, and Data, and this Data is a tag part, a length part, a non-part from the beginning of the processing target data to the first position. A storage unit for information indicating the data length of the read area (information indicating the offset length from the beginning of the value part), and a storage for information indicating the data length of the read area from the first position to the second position of the processing target data Part. That is, by this partial data read command, only partial data (data from the first position to the second position of the value portion) of the value portion of the TLV data stored in the IC card is read.

或いは、図11に示すように、一部分データ読み出しコマンドは、CLA、INS、P1、P2、Dataを含み、このDataは、タグ部、レングス部、処理対象データの先頭から第1の位置までの非読出領域のデータ長を示す情報(タグ部の先頭からオフセット長を示す情報)の格納部、及び処理対象データの第1の位置から第2の位置までの読出領域のデータ長を示す情報の格納部を含む。つまり、この一部分データ読み出しコマンドにより、ICカードに記憶されたTLVデータのバリュー部の一部分のデータ(バリュー部の第1の位置から第2の位置までのデータ)だけが、読み出される。   Alternatively, as shown in FIG. 11, the partial data read command includes CLA, INS, P1, P2, and Data, and this Data includes a tag part, a length part, and a non-part from the head of the processing target data to the first position. Storage section for information indicating the data length of the read area (information indicating the offset length from the head of the tag section), and storage of information indicating the data length of the read area from the first position to the second position of the processing target data Part. That is, by this partial data read command, only partial data (data from the first position to the second position of the value portion) of the value portion of the TLV data stored in the IC card is read.

コンタクト部141は、生成された一部分データ書き込みコマンド(図8又は図9)又は一部分データ読み出しコマンド(図10又は図11)をICカード2に対して送信し、ICカード2のコンタクト部21は送信される一部分データ書き込みコマンド又は一部分データ読み出しコマンドを受信する(ST21)。ICカード2の不揮発性メモリ25には、タグ部、レングス部、及びバリュー部により構成される処理対象データ(書き込み対象データ及び読み出し対象データ)が格納されている。ICカード2の制御部22は、不揮発性メモリ25に格納された処理対象データの中から、受信したコマンドに含まれるタグ(Tag)部の識別情報により特定される処理対象データを検索する(ST22)。さらに、制御部22は、処理対象データの検索に成功すると(ST12、YES)、受信したコマンドに含まれるオフセット情報をチェックする(ST23)。つまり、オフセット情報により指定される位置(第1の位置)が処理対象データ中に存在し得るか否かをチェックする。さらに、オフセット情報及び書込領域のデータ長により特定される書込領域又はオフセット情報及び読出領域のデータ長により特定される読出領域が処理対象データ中に存在し得るか否かをチェックする。制御部22は、オフセット情報のチェックに成功すると(ST23、YES)、一部分データ書き込みコマンド(図8)に含まれるバリュー部の先頭からのオフセット長を示す情報及び書込領域のデータ長を示す情報に基づき、ICカード内のTLVデータのバリュー部の書込領域に対して、一部分データ書き込みコマンド(図8)に含まれる書込対象データを書き込む(ST24)。   The contact unit 141 transmits the generated partial data write command (FIG. 8 or FIG. 9) or partial data read command (FIG. 10 or FIG. 11) to the IC card 2, and the contact unit 21 of the IC card 2 transmits The partial data write command or partial data read command is received (ST21). The nonvolatile memory 25 of the IC card 2 stores processing target data (write target data and read target data) composed of a tag portion, a length portion, and a value portion. The control unit 22 of the IC card 2 searches the process target data stored in the nonvolatile memory 25 for the process target data specified by the identification information of the tag (Tag) unit included in the received command (ST22). ). Furthermore, if the search of the processing target data is successful (ST12, YES), the control unit 22 checks the offset information included in the received command (ST23). That is, it is checked whether or not the position (first position) specified by the offset information can exist in the processing target data. Further, it is checked whether or not a writing area specified by the offset information and the data length of the writing area or a reading area specified by the offset information and the data length of the reading area can exist in the processing target data. When the control unit 22 succeeds in checking the offset information (ST23, YES), the information indicating the offset length from the head of the value portion included in the partial data write command (FIG. 8) and the information indicating the data length of the write area Based on the above, the write target data included in the partial data write command (FIG. 8) is written into the write area of the value portion of the TLV data in the IC card (ST24).

又は、制御部22は、オフセット情報のチェックに成功すると(ST23、YES)、一部分データ書き込みコマンド(図9)に含まれるタグ部の先頭からのオフセット長を示す情報及び書込領域のデータ長を示す情報に基づき、ICカード内のTLVデータのバリュー部の書込領域に対して、一部分データ書き込みコマンド(図9)に含まれる書込対象データを書き込む(ST24)。   Alternatively, when the control unit 22 succeeds in checking the offset information (ST23, YES), the control unit 22 sets the information indicating the offset length from the head of the tag part included in the partial data write command (FIG. 9) and the data length of the write area. Based on the indicated information, the write target data included in the partial data write command (FIG. 9) is written into the write area of the value portion of the TLV data in the IC card (ST24).

又は、制御部22は、オフセット情報のチェックに成功すると(ST23、YES)、一部分データ読み出しコマンド(図10)に含まれるバリュー部の先頭からのオフセット長を示す情報及び読出領域のデータ長を示す情報に基づき、ICカード内のTLVデータのバリュー部の読出領域から一部分データを読み出す(ST24)。   Alternatively, when the offset information is successfully checked (ST23, YES), the control unit 22 indicates information indicating the offset length from the head of the value portion included in the partial data read command (FIG. 10) and the data length of the read area. Based on the information, a part of the data is read from the reading area of the value part of the TLV data in the IC card (ST24).

又は、制御部22は、オフセット情報のチェックに成功すると(ST23、YES)、一部分データ読み出しコマンド(図11)に含まれるタグ部の先頭からのオフセット長を示す情報及び読出領域のデータ長を示す情報に基づき、ICカード内のTLVデータのバリュー部の読出領域から一部分データを読み出す(ST24)。   Alternatively, when the offset information is successfully checked (ST23, YES), the control unit 22 indicates information indicating the offset length from the head of the tag portion included in the partial data read command (FIG. 11) and the data length of the read area. Based on the information, a part of the data is read from the reading area of the value part of the TLV data in the IC card (ST24).

このように、本実施形態では、オフセット及び書込領域のデータ長又は読出領域のデータ長を指定することにより、バリュー部の一部分だけにデータを書き込んだり、バリュー部の一部分だけからデータ読み出したりすることが可能となる。これは、バリュー部のデータサイズが特に大きい場合に、書き込み又は読み出し処理の効率アップ(書き込み又は読み出し処理の高速化)に極めて有効である。   As described above, in this embodiment, by designating the offset and the data length of the writing area or the data length of the reading area, data is written to only a part of the value part or data is read from only a part of the value part. It becomes possible. This is extremely effective for improving the efficiency of writing or reading processing (speeding up writing or reading processing) when the data size of the value portion is particularly large.

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

本発明の一実施形態に係るICカードシステム(媒体処理システム)の概略構成を示すブロック図である。1 is a block diagram showing a schematic configuration of an IC card system (medium processing system) according to an embodiment of the present invention. 本発明の一実施形態に係るカードリーダ/ライタの概略構成を示すブロック図である。1 is a block diagram showing a schematic configuration of a card reader / writer according to an embodiment of the present invention. 本発明の一実施形態に係るICカードの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the IC card which concerns on one Embodiment of this invention. 全データの書き込み又は全データの読み出しを行なうコマンド処理の一例を示すフローチャートである。It is a flowchart which shows an example of the command process which writes all the data or reads all the data. 全データ書き込みコマンドの一例を示す図である。It is a figure which shows an example of all the data write commands. 全データ読み出しコマンドの一例を示す図である。It is a figure which shows an example of the all data read command. 一部分データの書き込み又は一部分データの読み出しを行なうコマンド処理の一例を示すフローチャートである。It is a flowchart which shows an example of the command processing which writes partial data or reads partial data. 一部分データ書き込みコマンドの第1例を示す図である。It is a figure which shows the 1st example of a partial data write command. 一部分データ書き込みコマンドの第2例を示す図である。It is a figure which shows the 2nd example of a partial data write command. 一部分データ読み出しコマンドの第1例を示す図である。It is a figure which shows the 1st example of a partial data read command. 一部分データ読み出しコマンドの第2例を示す図である。It is a figure which shows the 2nd example of a partial data read command.

符号の説明Explanation of symbols

1…端末、2…ICカード、11…本体、12…ディスプレイ、13…キーボード、14…カードリーダ/ライタ、21…コンタクト部、22…制御部、23…RAM、24…ROM、25…不揮発性メモリ、141…コンタクト部、142…制御部、143…RAM、144…ROM、145…不揮発性メモリ DESCRIPTION OF SYMBOLS 1 ... Terminal, 2 ... IC card, 11 ... Main body, 12 ... Display, 13 ... Keyboard, 14 ... Card reader / writer, 21 ... Contact part, 22 ... Control part, 23 ... RAM, 24 ... ROM, 25 ... Nonvolatile Memory 141, contact section 142, control section 143 RAM, 144 ROM, 145 nonvolatile memory

Claims (12)

処理対象データを識別する第1の情報、前記処理対象データのデータ長を示す第2の情報、及び前記処理対象データにより構成される第1の構成データを記憶する情報記憶媒体を処理する媒体処理装置であって、
前記第1の情報、前記第2の情報、前記処理対象データの先頭から第1の位置までの非書込領域のデータ長を示す第3の情報、前記処理対象データの前記第1の位置から第2の位置までの書込領域のデータ長を示す第4の情報、及び前記書込領域に書き込む書込対象データにより構成される第2の構成データを含む書込コマンドを生成するコマンド生成手段と、
前記情報処理媒体に記憶された前記第1の構成データに含まれる前記処理対象データの前記第1の位置から前記第2の位置までの前記書込領域に対して前記書込対象データを書き込むために、前記コマンド生成手段により生成された前記書込コマンドを情報記憶媒体に対して送信するコマンド送信手段と、
を備えたことを特徴とする媒体処理装置。
Medium processing for processing an information storage medium storing first information for identifying processing target data, second information indicating a data length of the processing target data, and first configuration data composed of the processing target data A device,
From the first information, the second information, the third information indicating the data length of the non-write area from the beginning of the processing target data to the first position, from the first position of the processing target data Command generation means for generating a write command including fourth information indicating the data length of the write area up to the second position and second configuration data composed of write target data to be written to the write area When,
To write the write target data to the write area from the first position to the second position of the processing target data included in the first configuration data stored in the information processing medium Command transmitting means for transmitting the write command generated by the command generating means to an information storage medium;
A medium processing apparatus comprising:
処理対象データを識別する第1の情報、前記処理対象データのデータ長を示す第2の情報、及び前記処理対象データの順に構成される第1の構成データを記憶する情報記憶媒体を処理する媒体処理装置であって、
前記第1の情報、前記第2の情報、前記第1の情報の先頭から前記処理対象データの第1の位置までの非書込領域のデータ長を示す第3の情報、前記処理対象データの前記第1の位置から第2の位置までの書込領域のデータ長を示す第4の情報、及び前記書込領域に書き込む書込対象データにより構成される第2の構成データを含む書込コマンドを生成するコマンド生成手段と、
前記情報処理媒体に記憶された前記第1の構成データに含まれる前記処理対象データの前記第1の位置から前記第2の位置までの前記書込領域に対して前記書込対象データを書き込むために、前記コマンド生成手段により生成された前記書込コマンドを情報記憶媒体に対して送信するコマンド送信手段と、
を備えたことを特徴とする媒体処理装置。
A medium for processing an information storage medium that stores first information for identifying processing target data, second information indicating a data length of the processing target data, and first configuration data configured in the order of the processing target data A processing device comprising:
The first information, the second information, the third information indicating the data length of the non-write area from the beginning of the first information to the first position of the processing target data, the processing target data A write command including fourth information indicating the data length of the write area from the first position to the second position, and second configuration data composed of write target data to be written to the write area Command generating means for generating
To write the write target data to the write area from the first position to the second position of the processing target data included in the first configuration data stored in the information processing medium Command transmitting means for transmitting the write command generated by the command generating means to an information storage medium;
A medium processing apparatus comprising:
処理対象データを識別する第1の情報、前記処理対象データのデータ長を示す第2の情報、及び前記処理対象データにより構成される第1の構成データを記憶する情報記憶媒体を処理する媒体処理装置であって、
前記第1の情報、前記第2の情報、前記処理対象データの先頭から第1の位置までの非読出領域のデータ長を示す第3の情報、及び前記処理対象データの前記第1の位置から第2の位置までの読出領域のデータ長を示す第4の情報により構成される第2の構成データを含む読出コマンドを生成するコマンド生成手段と、
前記情報処理媒体に記憶された前記第1の構成データに含まれる前記処理対象データの前記第1の位置から前記第2の位置までの前記読出領域のデータを読み出すために、前記コマンド生成手段により生成された前記読出コマンドを情報記憶媒体に対して送信するコマンド送信手段と、
を備えたことを特徴とする媒体処理装置。
Medium processing for processing an information storage medium storing first information for identifying processing target data, second information indicating a data length of the processing target data, and first configuration data composed of the processing target data A device,
From the first information, the second information, the third information indicating the data length of the non-read region from the beginning of the processing target data to the first position, and the first position of the processing target data Command generating means for generating a read command including second configuration data constituted by the fourth information indicating the data length of the read area up to the second position;
In order to read the data in the read area from the first position to the second position of the processing target data included in the first configuration data stored in the information processing medium, the command generation means Command transmission means for transmitting the generated read command to an information storage medium;
A medium processing apparatus comprising:
処理対象データを識別する第1の情報、前記処理対象データのデータ長を示す第2の情報、及び前記処理対象データの順に構成される第1の構成データを記憶する情報記憶媒体を処理する媒体処理装置であって、
前記第1の情報、前記第2の情報、前記第1の情報の先頭から前記処理対象データの第1の位置までの非読出領域のデータ長を示す第3の情報、及び前記処理対象データの前記第1の位置から第2の位置までの読出領域のデータ長を示す第4の情報により構成される第2の構成データを含む読出コマンドを生成するコマンド生成手段と、
前記情報処理媒体に記憶された前記第1の構成データに含まれる前記処理対象データの前記第1の位置から前記第2の位置までの前記読出領域のデータを読み出すために、前記コマンド生成手段により生成された前記読出コマンドを情報記憶媒体に対して送信するコマンド送信手段と、
を備えたことを特徴とする媒体処理装置。
A medium for processing an information storage medium that stores first information for identifying processing target data, second information indicating a data length of the processing target data, and first configuration data configured in the order of the processing target data A processing device comprising:
The first information, the second information, the third information indicating the data length of the non-read region from the head of the first information to the first position of the processing target data, and the processing target data Command generating means for generating a read command including second configuration data configured by fourth information indicating a data length of a read area from the first position to the second position;
In order to read the data in the read area from the first position to the second position of the processing target data included in the first configuration data stored in the information processing medium, the command generation means Command transmission means for transmitting the generated read command to an information storage medium;
A medium processing apparatus comprising:
処理対象データを識別する第1の情報、前記処理対象データのデータ長を示す第2の情報、及び前記処理対象データにより構成される第1の構成データを記憶する記憶手段と、
前記第1の情報、前記第2の情報、前記処理対象データの先頭から第1の位置までの非書込領域のデータ長を示す第3の情報、前記処理対象データの前記第1の位置から第2の位置までの書込領域のデータ長を示す第4の情報、及び前記書込領域に書き込む書込対象データにより構成される第2の構成データを含む書込コマンドを受信するコマンド受信手段と、
前記コマンド受信手段により受信された前記書込コマンドに基づき、前記第1の情報により特定される前記記憶手段に記憶された前記第1の構成データに含まれる前記処理対象データの前記第1の位置から前記第2の位置までの前記書込領域に対して前記書込対象データを書き込む書込手段と、
を備えたことを特徴とする情報記憶媒体。
Storage means for storing first information for identifying processing target data, second information indicating a data length of the processing target data, and first configuration data configured by the processing target data;
From the first information, the second information, the third information indicating the data length of the non-write area from the beginning of the processing target data to the first position, from the first position of the processing target data Command receiving means for receiving a write command including fourth information indicating the data length of the write area up to the second position and second configuration data composed of write target data to be written to the write area When,
Based on the write command received by the command receiving means, the first position of the processing target data included in the first configuration data stored in the storage means specified by the first information Writing means for writing the data to be written to the writing area from the first position to the second position;
An information storage medium comprising:
処理対象データを識別する第1の情報、前記処理対象データのデータ長を示す第2の情報、及び前記処理対象データにより構成される第1の構成データを記憶する記憶手段と、
前記第1の情報、前記第2の情報、前記第1の情報の先頭から前記処理対象データの第1の位置までの非書込領域のデータ長を示す第3の情報、前記処理対象データの前記第1の位置から第2の位置までの書込領域のデータ長を示す第4の情報、及び前記書込領域に書き込む書込対象データにより構成される第2の構成データを含む書込コマンドを受信するコマンド受信手段と、
前記コマンド受信手段により受信された前記書込コマンドに基づき、前記第1の情報により特定される前記記憶手段に記憶された前記第1の構成データに含まれる前記処理対象データの前記第1の位置から前記第2の位置までの前記書込領域に対して前記書込対象データを書き込む書込手段と、
を備えたことを特徴とする情報記憶媒体。
Storage means for storing first information for identifying processing target data, second information indicating a data length of the processing target data, and first configuration data configured by the processing target data;
The first information, the second information, the third information indicating the data length of the non-write area from the beginning of the first information to the first position of the processing target data, the processing target data A write command including fourth information indicating the data length of the write area from the first position to the second position, and second configuration data composed of write target data to be written to the write area Command receiving means for receiving
Based on the write command received by the command receiving means, the first position of the processing target data included in the first configuration data stored in the storage means specified by the first information Writing means for writing the data to be written to the writing area from the first position to the second position;
An information storage medium comprising:
処理対象データを識別する第1の情報、前記処理対象データのデータ長を示す第2の情報、及び前記処理対象データにより構成される第1の構成データを記憶する記憶手段と、
前記第1の情報、前記第2の情報、前記処理対象データの先頭から第1の位置までの非読出領域のデータ長を示す第3の情報、及び前記処理対象データの前記第1の位置から第2の位置までの読出領域のデータ長を示す第4の情報により構成される第2の構成データを含む読出コマンドを受信するコマンド受信手段と、
前記コマンド受信手段により受信された前記読出コマンドに基づき、前記第1の情報により特定される前記記憶手段に記憶された前記第1の構成データに含まれる前記処理対象データの前記第1の位置から前記第2の位置までの前記読出領域からデータを読み出す読出手段と、
を備えたことを特徴とする媒体処理装置。
Storage means for storing first information for identifying processing target data, second information indicating a data length of the processing target data, and first configuration data configured by the processing target data;
From the first information, the second information, the third information indicating the data length of the non-read region from the beginning of the processing target data to the first position, and the first position of the processing target data Command receiving means for receiving a read command including second configuration data constituted by fourth information indicating the data length of the read area up to the second position;
Based on the read command received by the command receiving means, from the first position of the processing target data included in the first configuration data stored in the storage means specified by the first information Reading means for reading data from the reading area up to the second position;
A medium processing apparatus comprising:
処理対象データを識別する第1の情報、前記処理対象データのデータ長を示す第2の情報、及び前記処理対象データの順に構成される第1の構成データを記憶する記憶手段と、
前記第1の情報、前記第2の情報、前記第1の情報の先頭から前記処理対象データの第1の位置までの非読出領域のデータ長を示す第3の情報、及び前記処理対象データの前記第1の位置から第2の位置までの読出領域のデータ長を示す第4の情報により構成される第2の構成データを含む読出コマンドを受信するコマンド受信手段と、
前記コマンド受信手段により受信された前記読出コマンドに基づき、前記第1の情報により特定される前記記憶手段に記憶された前記第1の構成データに含まれる前記処理対象データの前記第1の位置から前記第2の位置までの前記読出領域のデータを読み出す読出手段と、
を備えたことを特徴とする媒体処理装置。
Storage means for storing first information for identifying processing target data, second information indicating a data length of the processing target data, and first configuration data configured in the order of the processing target data;
The first information, the second information, the third information indicating the data length of the non-read region from the head of the first information to the first position of the processing target data, and the processing target data Command receiving means for receiving a read command including second configuration data constituted by fourth information indicating a data length of a read area from the first position to the second position;
Based on the read command received by the command receiving means, from the first position of the processing target data included in the first configuration data stored in the storage means specified by the first information Reading means for reading data in the reading area up to the second position;
A medium processing apparatus comprising:
処理対象データを識別する第1の情報、前記処理対象データのデータ長を示す第2の情報、及び前記処理対象データにより構成される第1の構成データを記憶する情報記憶媒体、及びこの情報記憶媒体を処理する媒体処理装置により構成される媒体処理システムであって、
前記媒体処理装置は、
前記第1の情報、前記第2の情報、前記処理対象データの先頭から第1の位置までの非書込領域のデータ長を示す第3の情報、前記処理対象データの前記第1の位置から第2の位置までの書込領域のデータ長を示す第4の情報、及び前記書込領域に書き込む書込対象データにより構成される第2の構成データを含む書込コマンドを生成するコマンド生成手段と、
前記情報処理媒体に記憶された前記第1の構成データに含まれる前記処理対象データの前記第1の位置から前記第2の位置までの前記書込領域に対して前記書込対象データを書き込むために、前記コマンド生成手段により生成された前記書込コマンドを情報記憶媒体に対して送信するコマンド送信手段と、
を備え、
前記情報記憶媒体は、
前記第1の構成データを記憶する記憶手段と、
前記第2の構成データを含む前記書込コマンドを受信するコマンド受信手段と、
前記コマンド受信手段により受信された前記書込コマンドに基づき、前記第1の情報により特定される前記記憶手段に記憶された前記第1の構成データに含まれる前記処理対象データの前記第1の位置から前記第2の位置までの前記書込領域に対して前記書込対象データを書き込む書込手段と、
を備えたことを特徴とする媒体処理システム。
Information storage medium for storing first information for identifying processing target data, second information indicating a data length of the processing target data, and first configuration data composed of the processing target data, and the information storage A medium processing system including a medium processing device for processing a medium,
The medium processing apparatus includes:
From the first information, the second information, the third information indicating the data length of the non-write area from the beginning of the processing target data to the first position, from the first position of the processing target data Command generation means for generating a write command including fourth information indicating the data length of the write area up to the second position and second configuration data composed of write target data to be written to the write area When,
To write the write target data to the write area from the first position to the second position of the processing target data included in the first configuration data stored in the information processing medium Command transmitting means for transmitting the write command generated by the command generating means to an information storage medium;
With
The information storage medium is
Storage means for storing the first configuration data;
Command receiving means for receiving the write command including the second configuration data;
Based on the write command received by the command receiving means, the first position of the processing target data included in the first configuration data stored in the storage means specified by the first information Writing means for writing the data to be written to the writing area from the first position to the second position;
A medium processing system comprising:
処理対象データを識別する第1の情報、前記処理対象データのデータ長を示す第2の情報、及び前記処理対象データにより構成される第1の構成データを記憶する情報記憶媒体、及びこの情報記憶媒体を処理する媒体処理装置により構成される媒体処理システムであって、
前記媒体処理装置は、
前記第1の情報、前記第2の情報、前記第1の情報の先頭から前記処理対象データの第1の位置までの非書込領域のデータ長を示す第3の情報、前記処理対象データの前記第1の位置から第2の位置までの書込領域のデータ長を示す第4の情報、及び前記書込領域に書き込む書込対象データにより構成される第2の構成データを含む書込コマンドを生成するコマンド生成手段と、
前記情報処理媒体に記憶された前記第1の構成データに含まれる前記処理対象データの前記第1の位置から前記第2の位置までの前記書込領域に対して前記書込対象データを書き込むために、前記コマンド生成手段により生成された前記書込コマンドを情報記憶媒体に対して送信するコマンド送信手段と、
を備え、
情報記憶媒体は、
前記第1の構成データを記憶する記憶手段と、
前記第2の構成データを含む前記書込コマンドを受信するコマンド受信手段と、
前記コマンド受信手段により受信された前記書込コマンドに基づき、前記第1の情報により特定される前記記憶手段に記憶された前記第1の構成データに含まれる前記処理対象データの前記第1の位置から前記第2の位置までの前記書込領域に対して前記書込対象データを書き込む書込手段と、
を備えたことを特徴とする媒体処理システム。
Information storage medium for storing first information for identifying processing target data, second information indicating a data length of the processing target data, and first configuration data composed of the processing target data, and the information storage A medium processing system including a medium processing device for processing a medium,
The medium processing apparatus includes:
The first information, the second information, the third information indicating the data length of the non-write area from the beginning of the first information to the first position of the processing target data, the processing target data A write command including fourth information indicating the data length of the write area from the first position to the second position, and second configuration data composed of write target data to be written to the write area Command generating means for generating
To write the write target data to the write area from the first position to the second position of the processing target data included in the first configuration data stored in the information processing medium Command transmitting means for transmitting the write command generated by the command generating means to an information storage medium;
With
Information storage media
Storage means for storing the first configuration data;
Command receiving means for receiving the write command including the second configuration data;
Based on the write command received by the command receiving means, the first position of the processing target data included in the first configuration data stored in the storage means specified by the first information Writing means for writing the data to be written to the writing area from the first position to the second position;
A medium processing system comprising:
処理対象データを識別する第1の情報、前記処理対象データのデータ長を示す第2の情報、及び前記処理対象データにより構成される第1の構成データを記憶する情報記憶媒体、及びこの情報記憶媒体を処理する媒体処理装置により構成される媒体処理システムであって、
前記媒体処理装置は、
前記第1の情報、前記第2の情報、前記処理対象データの先頭から第1の位置までの非読出領域のデータ長を示す第3の情報、及び前記処理対象データの前記第1の位置から第2の位置までの読出領域のデータ長を示す第4の情報により構成される第2の構成データを含む読出コマンドを生成するコマンド生成手段と、
前記情報処理媒体に記憶された前記第1の構成データに含まれる前記処理対象データの前記第1の位置から前記第2の位置までの前記読出領域のデータを読み出すために、前記コマンド生成手段により生成された前記読出コマンドを情報記憶媒体に対して送信するコマンド送信手段と、
を備え、
前記情報記憶媒体は、
前記第1の構成データを記憶する記憶手段と、
前記第2の構成データを含む前記読出コマンドを受信するコマンド受信手段と、
前記コマンド受信手段により受信された前記読出コマンドに基づき、前記第1の情報により特定される前記記憶手段に記憶された前記第1の構成データに含まれる前記処理対象データの前記第1の位置から前記第2の位置までの前記読出領域からデータを読み出す読出手段と、
を備えたことを特徴とする媒体処理システム。
Information storage medium for storing first information for identifying processing target data, second information indicating a data length of the processing target data, and first configuration data composed of the processing target data, and the information storage A medium processing system including a medium processing device for processing a medium,
The medium processing apparatus includes:
From the first information, the second information, the third information indicating the data length of the non-read region from the beginning of the processing target data to the first position, and the first position of the processing target data Command generating means for generating a read command including second configuration data constituted by the fourth information indicating the data length of the read area up to the second position;
In order to read data in the read area from the first position to the second position of the processing target data included in the first configuration data stored in the information processing medium, the command generation means Command transmission means for transmitting the generated read command to an information storage medium;
With
The information storage medium is
Storage means for storing the first configuration data;
Command receiving means for receiving the read command including the second configuration data;
Based on the read command received by the command receiving means, from the first position of the processing target data included in the first configuration data stored in the storage means specified by the first information Reading means for reading data from the reading area up to the second position;
A medium processing system comprising:
処理対象データを識別する第1の情報、前記処理対象データのデータ長を示す第2の情報、及び前記処理対象データにより構成される第1の構成データを記憶する情報記憶媒体、及びこの情報記憶媒体を処理する媒体処理装置により構成される媒体処理システムであって、
前記媒体処理装置は、
前記第1の情報、前記第2の情報、前記第1の情報の先頭から前記処理対象データの第1の位置までの非読出領域のデータ長を示す第3の情報、及び前記処理対象データの前記第1の位置から第2の位置までの読出領域のデータ長を示す第4の情報により構成される第2の構成データを含む読出コマンドを生成するコマンド生成手段と、
前記情報処理媒体に記憶された前記第1の構成データに含まれる前記処理対象データの前記第1の位置から前記第2の位置までの前記読出領域のデータを読み出すために、前記コマンド生成手段により生成された前記読出コマンドを情報記憶媒体に対して送信するコマンド送信手段と、
を備え、
前記情報記憶媒体は、
前記第1の構成データを記憶する記憶手段と、
前記第2の構成データを含む読出コマンドを受信するコマンド受信手段と、
前記コマンド受信手段により受信された前記読出コマンドに基づき、前記第1の情報により特定される前記記憶手段に記憶された前記第1の構成データに含まれる前記処理対象データの前記第1の位置から前記第2の位置までの前記読出領域のデータを読み出す読出手段と、
を備えたことを特徴とする媒体処理システム。
Information storage medium for storing first information for identifying processing target data, second information indicating a data length of the processing target data, and first configuration data composed of the processing target data, and the information storage A medium processing system including a medium processing device for processing a medium,
The medium processing apparatus includes:
The first information, the second information, the third information indicating the data length of the non-read region from the head of the first information to the first position of the processing target data, and the processing target data Command generating means for generating a read command including second configuration data configured by fourth information indicating a data length of a read area from the first position to the second position;
In order to read data in the read area from the first position to the second position of the processing target data included in the first configuration data stored in the information processing medium, the command generation means Command transmission means for transmitting the generated read command to an information storage medium;
With
The information storage medium is
Storage means for storing the first configuration data;
Command receiving means for receiving a read command including the second configuration data;
Based on the read command received by the command receiving means, from the first position of the processing target data included in the first configuration data stored in the storage means specified by the first information Reading means for reading data in the reading area up to the second position;
A medium processing system comprising:
JP2006117042A 2006-04-20 2006-04-20 Medium processing apparatus, information storage medium, and medium processing system Active JP4836646B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006117042A JP4836646B2 (en) 2006-04-20 2006-04-20 Medium processing apparatus, information storage medium, and medium processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006117042A JP4836646B2 (en) 2006-04-20 2006-04-20 Medium processing apparatus, information storage medium, and medium processing system

Publications (3)

Publication Number Publication Date
JP2007293381A true JP2007293381A (en) 2007-11-08
JP2007293381A5 JP2007293381A5 (en) 2011-02-17
JP4836646B2 JP4836646B2 (en) 2011-12-14

Family

ID=38763987

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006117042A Active JP4836646B2 (en) 2006-04-20 2006-04-20 Medium processing apparatus, information storage medium, and medium processing system

Country Status (1)

Country Link
JP (1) JP4836646B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004348234A (en) * 2003-05-20 2004-12-09 Toshiba Corp Portable electronic medium, issuing apparatus of portable electronic medium, issuing system of portable electronic medium, and issuing method of portable electronic medium
JP2005292991A (en) * 2004-03-31 2005-10-20 Toshiba Corp Portable electronic device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004348234A (en) * 2003-05-20 2004-12-09 Toshiba Corp Portable electronic medium, issuing apparatus of portable electronic medium, issuing system of portable electronic medium, and issuing method of portable electronic medium
JP2005292991A (en) * 2004-03-31 2005-10-20 Toshiba Corp Portable electronic device

Also Published As

Publication number Publication date
JP4836646B2 (en) 2011-12-14

Similar Documents

Publication Publication Date Title
JP2008186052A (en) Storage device, data processor, and data processing system and program
JP5624685B2 (en) IC card and IC card processing system
JP4836646B2 (en) Medium processing apparatus, information storage medium, and medium processing system
US8977824B2 (en) Portable electronic apparatus and method of controlling a portable electronic apparatus
JP2008310596A (en) Portable electronic equipment and control method for potable electronic equipment
JP4590201B2 (en) Data carrier and data carrier program
JP5248053B2 (en) IC card and file rearrangement method
JP4738249B2 (en) Portable electronic device, IC card and IC module
JP4950730B2 (en) Portable electronic device, file access method and IC card in portable electronic device
JP2008299416A (en) Portable electronic device, file access method in portable electronic device, and ic card
JP5417355B2 (en) Portable electronic device, information processing method, and IC card
JP4533665B2 (en) Portable electronic device
JP5481464B2 (en) Communication medium and communication medium processing apparatus
JP2006293426A (en) Ic card and communication method
JP2008071291A (en) Information storage medium
JP2005338926A (en) Portable electronic device
JP5085055B2 (en) IC card and IC module
JP2005085023A (en) Information processing system, reader/writer and information processing method
JP2005275621A (en) Portable electronic device, electronic processing system and electronic processing method
JP5728323B2 (en) IC card and portable electronic device
JP5075404B2 (en) Portable electronic device, file access method and IC card in portable electronic device
JP2007114961A (en) Portable electronic device and ic card
JP5492172B2 (en) Portable electronic device, IC card and IC module
JP5306151B2 (en) Portable electronic device
JP2004334744A (en) Issue system and method of portable electronic medium and portable electronic medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090209

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101115

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110111

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: 20110906

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110927

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141007

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 4836646

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141007

Year of fee payment: 3