JPH06161882A - Ic card - Google Patents

Ic card

Info

Publication number
JPH06161882A
JPH06161882A JP4339612A JP33961292A JPH06161882A JP H06161882 A JPH06161882 A JP H06161882A JP 4339612 A JP4339612 A JP 4339612A JP 33961292 A JP33961292 A JP 33961292A JP H06161882 A JPH06161882 A JP H06161882A
Authority
JP
Japan
Prior art keywords
file
address
capacity
written
data
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
Application number
JP4339612A
Other languages
Japanese (ja)
Inventor
Kazuyoshi Irisawa
和義 入澤
Hirotsugu Harima
博嗣 針間
Teruaki Jo
輝明 城
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co Ltd
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 Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP4339612A priority Critical patent/JPH06161882A/en
Publication of JPH06161882A publication Critical patent/JPH06161882A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To accelerate the DRAW (direct read after write) processing of new data to a file. CONSTITUTION:Plural file recording areas are defined inside the EEPROM of the IC card. Six records (1)-(6) are recorded in a file F1. A leading address A of the file F1, entire capacity T and remaining capacity R are recorded in a directory concerning this file F1. An address B in the case of performing the DRAW of a new record (7) is calculated by (leading address A + entire capacity T - remaining capacity R). When the DRAW of the record (7) is performed, the remaining capacity R is updated. Written capacity W can be recorded in place of recording the entire capacity T and the remaining capacity R. In this case, the address B is calculated by (leading address A + written capacity W).

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はICカード、特に、IC
カードにおけるEEPROMに対するデータの書込方式
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an IC card, especially an IC card.
The present invention relates to a method of writing data to an EEPROM in a card.

【0002】[0002]

【従来の技術】磁気カードに代わる新しい情報記録媒体
として、ICカードが脚光を浴びている。このICカー
ドは、磁気カードに比べて大量の情報を記録することが
でき、しかも高度なセキュリティを有する。現在、一般
的に普及しているICカードには、RAM,ROM,E
EPROMの3種類のメモリと、このメモリに対するア
クセスを行うCPUとが内蔵されている。通常、このI
Cカード自身には電源は内蔵されていないため、このI
Cカードに対するデータの書き込みおよび読み出しを行
う機能をもったリーダライタからの電源供給を受けて動
作する。したがって、リーダライタを切り離してしまう
と、電源供給は中断され、RAM内のデータは失われて
しまう。これに対し、EEPROM内のデータは、電源
供給が中断されてもそのまま保存される。このため、保
存しておく必要のあるデータは、EEPROM内に記録
される。
2. Description of the Related Art IC cards are in the spotlight as new information recording media replacing magnetic cards. This IC card can record a large amount of information as compared with a magnetic card, and has high security. Currently popular IC cards include RAM, ROM, and E.
It contains three types of EPROM memories and a CPU for accessing the memories. Usually this I
Since the C card itself does not have a built-in power supply,
It operates by receiving power supply from a reader / writer having a function of writing and reading data to and from the C card. Therefore, if the reader / writer is disconnected, the power supply is interrupted and the data in the RAM is lost. On the other hand, the data in the EEPROM is saved as it is even if the power supply is interrupted. Therefore, the data that needs to be stored is recorded in the EEPROM.

【0003】ICカード内にデータを系統立てて記録す
るため、EEPROM内に複数のファイル記録領域を定
義してデータをファイルごとに分類して記録するのが一
般的である。また、各ファイルをアクセスするために、
ファイルの先頭番地、属性などの情報をもったディレク
トリが作成され、このディレクトリもEEPROM内に
記録される。特定のファイルについて、新たなデータを
追記する場合、データの書き換えを行う場合、データの
読み出しを行う場合などには、まず、このファイルにつ
いてのディレクトリを読み出し、このディレクトリに記
録された情報に基づいてファイル記録領域に対するアク
セスが行われる。
In order to systematically record data in the IC card, it is common to define a plurality of file recording areas in the EEPROM and classify the data for each file for recording. Also, to access each file,
A directory having information such as the head address and attributes of the file is created, and this directory is also recorded in the EEPROM. When adding new data to a specific file, rewriting data, reading data, etc., first read the directory for this file, and based on the information recorded in this directory. The file recording area is accessed.

【0004】[0004]

【発明が解決しようとする課題】前述のように、ICカ
ードに保存すべきデータは、複数のファイルに分類され
て記録されることになる。しかも、1つのファイルは複
数のレコードによって構成される。ここで、あるファイ
ルについて新たなレコードを追記する場合、通常は、該
当するファイル記録領域に最後に書き込まれたレコード
に続くアドレス領域に、この新たなレコードが書き込ま
れる。したがって、新たなレコードの追記を行う前に、
追記のためのアドレス領域を捜索する処理を行う必要が
ある。このような捜索処理は、該当するファイル記録領
域の記録内容を1バイトずつ確認するという作業が必要
になるため、かなりの時間がかかるという問題があっ
た。
As described above, the data to be stored in the IC card is classified into a plurality of files and recorded. Moreover, one file is composed of a plurality of records. Here, when a new record is additionally written for a certain file, this new record is normally written in the address area following the last record written in the corresponding file recording area. Therefore, before adding a new record,
It is necessary to perform a process of searching an address area for additional writing. Such a search process has a problem that it takes a considerable amount of time because it is necessary to confirm the recorded contents of the corresponding file recording area byte by byte.

【0005】そこで本発明は、ファイルに新たなデータ
を追記する処理を高速化することのできるICカードを
提供することを目的とする。
Therefore, an object of the present invention is to provide an IC card which can speed up the process of additionally writing new data to a file.

【0006】[0006]

【課題を解決するための手段】[Means for Solving the Problems]

(1) 本願第1の発明は、データを記録するメモリと、
このメモリをアクセスする機能をもったCPUと、を内
蔵し、メモリ内に複数のファイル記録領域を定義してデ
ータをファイルごとに分類して記録するようにし、少な
くとも各ファイル記録領域の先頭アドレスを示す情報を
もったディレクトリを各ファイルごとに用意したICカ
ードにおいて、ディレクトリ内に、対応するファイル記
録領域の全容量とこのファイル記録領域の残量とを示す
情報を記録するようにし、この全容量と残量とに基づい
て、新たなデータを書き込むべきアドレスを計算する機
能を設けたものである。
(1) The first invention of the present application is a memory for recording data,
A CPU having a function of accessing this memory is built-in, a plurality of file recording areas are defined in the memory, data is classified and recorded for each file, and at least the start address of each file recording area is set. In an IC card in which a directory having the information shown is prepared for each file, information indicating the total capacity of the corresponding file recording area and the remaining capacity of this file recording area is recorded in the directory, and the total capacity is recorded. And a function to calculate an address to write new data based on the remaining amount.

【0007】(2) 本願第2の発明は、データを記録す
るメモリと、このメモリをアクセスする機能をもったC
PUと、を内蔵し、メモリ内に複数のファイル記録領域
を定義してデータをファイルごとに分類して記録するよ
うにし、少なくとも各ファイル記録領域の先頭アドレス
を示す情報をもったディレクトリを各ファイルごとに用
意したICカードにおいて、ディレクトリ内に、対応す
るファイル記録領域の書込済容量を示す情報を記録する
ようにし、この書込済容量に基づいて、新たなデータを
書き込むべきアドレスを計算する機能を設けたものであ
る。
(2) The second invention of the present application is a memory for recording data, and a C having a function of accessing this memory.
It has a built-in PU and defines a plurality of file recording areas in the memory so that data can be classified and recorded for each file, and each file can be a directory having at least information indicating the start address of each file recording area. Information indicating the written capacity of the corresponding file recording area is recorded in the directory in the IC card prepared for each, and the address to write new data is calculated based on the written capacity. It has a function.

【0008】[0008]

【作 用】本願第1の発明に係るICカードでは、ディ
レクトリの中に、このディレクトリの示すファイル記録
領域の全容量および残量が記録される。したがって、フ
ァイルに新たなデータを追記する場合、先頭アドレス+
(全容量−残量)なる計算を行うことにより、追記すべ
きデータの書き込みアドレスを求めることができる。同
様に、本願第2の発明に係るICカードでは、ディレク
トリの中に、このディレクトリの示すファイル記録領域
の書込済容量が記録される。したがって、ファイルに新
たなデータを追記する場合、先頭アドレス+書込済容量
なる計算を行うことにより、追記すべきデータの書き込
みアドレスを求めることができる。いずれの場合にも、
データの追記を行った後に、残量あるいは書込済容量を
更新しておけば、次回の追記時にも同様の方法によりア
ドレス計算を行うことが可能になる。
[Operation] In the IC card according to the first invention of the present application, the total capacity and the remaining amount of the file recording area indicated by the directory are recorded in the directory. Therefore, when adding new data to the file, start address +
By performing the calculation of (total capacity-remaining amount), the write address of the data to be additionally written can be obtained. Similarly, in the IC card according to the second aspect of the present invention, the written capacity of the file recording area indicated by the directory is recorded in the directory. Therefore, when new data is additionally written to the file, the write address of the data to be additionally written can be obtained by calculating the start address + the written capacity. In either case,
If the remaining amount or the written capacity is updated after the additional writing of data, the address can be calculated by the same method at the next additional writing.

【0009】[0009]

【実施例】以下、本発明を図示する実施例に基づいて説
明する。図1は、現在一般的に用いられているICカー
ド10と、これに用いるリーダライタ20の全体構成を
示すブロック図である。ICカード10の主たる構成要
素は、CPU11、ROM12、RAM13、EEPR
OM14である。CPU11は、図示しないインターフ
ェイスを介してリーダライタ20と交信を行うととも
に、各メモリ12,13,14をアクセスする処理を行
う。ICカード10をリーダライタ20の筐体内に挿入
すると、ICカード10側の接続端子とリーダライタ2
0側の接続端子とが接触し、両者間が電気的に接続され
る。すなわち、両者間には、共通の接地電位を定めるG
NDラインと、リーダライタからICカードへ電源を供
給するためのVCCラインと、クロックを供給するため
のCLKラインと、リセット信号を与えるためのRST
ラインと、双方向にデータを伝送するためのI/Oライ
ンと、が確保される。両者間のデータ伝送は、I/Oラ
インを通じて一方向ずつ交互に行われる。
The present invention will be described below based on illustrated embodiments. FIG. 1 is a block diagram showing an overall configuration of an IC card 10 currently generally used and a reader / writer 20 used for the IC card 10. The main components of the IC card 10 are a CPU 11, a ROM 12, a RAM 13, and an EEPR.
OM14. The CPU 11 communicates with the reader / writer 20 via an interface (not shown) and also performs a process of accessing each of the memories 12, 13, and 14. When the IC card 10 is inserted into the housing of the reader / writer 20, the connection terminal on the IC card 10 side and the reader / writer 2
The 0-side connection terminal comes into contact, and the two are electrically connected. That is, G that establishes a common ground potential between them
ND line, VCC line for supplying power from the reader / writer to the IC card, CLK line for supplying clock, and RST for supplying reset signal
A line and an I / O line for bidirectionally transmitting data are secured. Data transmission between the two is alternately performed in one direction through the I / O line.

【0010】CPU11は、ROM12内に用意された
プログラムに基づいて種々の処理を実行する。RAM1
3は、CPU11が種々の処理を行う上でのワークエリ
アとして利用される。また、EEPROM14は、電気
的に書き換えが可能なメモリであり、ICカード10が
リーダライタ20から切り離され、電源の供給がなくな
ってもデータを保存しておくことができる。したがっ
て、ICカード10内において保存しておくべきユーザ
データは、リーダライタ20に接続した状態において、
EEPROM14へ書き込んでおく必要がある。
The CPU 11 executes various processes based on the programs prepared in the ROM 12. RAM1
3 is used as a work area for the CPU 11 to perform various processes. Further, the EEPROM 14 is an electrically rewritable memory, and can store data even when the IC card 10 is separated from the reader / writer 20 and the power supply is cut off. Therefore, the user data to be stored in the IC card 10 is stored in the reader / writer 20 in the connected state.
It is necessary to write it in the EEPROM 14.

【0011】EEPROM14へのデータの記録は、フ
ァイルごとに分類して行われる。たとえば、図2に示す
例では、EEPROM14内に、3つのファイルF1〜
F3についてのファイル記録領域が定義されており、デ
ータは、この3つのファイルのいずれかに分類されて記
録されることになる。各ファイルには、それぞれディレ
クトリが、同じEEPROM14内に用意される。図2
に示す例では、ファイルF1〜F3について、それぞれ
ディレクトリD1〜D3が用意されている。このディレ
クトリには、対応するファイルについての種々の情報が
記録されている。具体的には、対応するファイルの先頭
アドレス、ファイルの属性、などが記録される。特定の
ファイルをアクセスする場合には、まず、これに対応す
るディレクトリの内容が読み出され、このディレクトリ
の内容に基づいて目的のファイルがアクセスされること
になる。
Data is recorded in the EEPROM 14 for each file. For example, in the example shown in FIG. 2, three files F1 to F1 are stored in the EEPROM 14.
The file recording area for F3 is defined, and the data is classified and recorded in any of these three files. A directory is prepared for each file in the same EEPROM 14. Figure 2
In the example shown in (1), directories D1 to D3 are prepared for the files F1 to F3, respectively. Various information about the corresponding file is recorded in this directory. Specifically, the start address of the corresponding file, the attribute of the file, and the like are recorded. When accessing a specific file, first, the contents of the corresponding directory are read out, and the target file is accessed based on the contents of this directory.

【0012】続いて、各ファイルの中のデータ構造につ
いて説明しよう。図3は、ファイルF1の中のデータ構
造を示すメモリマップである。図3に示されたメモリ領
域は、ファイルF1について予め定義された記録領域に
対応し、ファイルF1内のデータは、必ずこの記録領域
内のどこかに書き込まれる。ファイル内に書き込まれる
データは、レコードという単位を構成する。図3に示す
例では、既に6つのレコード〜が書き込まれてい
る。レコードの書き込みを効率良く行うため、各レコー
ドは先頭アドレスAから順に書き込まれることになる。
そして、ディレクトリD1内には、この先頭アドレスA
が書き込まれている。図3において、「FFFFFF…
…」と16進データ「FF」が羅列された領域は、ま
だ、データの書き込みが行われていない領域を示す。
Next, the data structure in each file will be described. FIG. 3 is a memory map showing the data structure in the file F1. The memory area shown in FIG. 3 corresponds to a recording area defined in advance for the file F1, and the data in the file F1 is always written somewhere in this recording area. The data written in the file constitutes a unit called a record. In the example shown in FIG. 3, six records to have already been written. In order to efficiently write the records, each record is sequentially written from the head address A.
Then, in the directory D1, the start address A
Is written. In FIG. 3, “FFFFFF ...
... "and the hexadecimal data" FF "are listed, indicating an area where data is not yet written.

【0013】さて、図3に示すように、6つのレコード
〜が書き込まれている状態において、7番目のレコ
ードを新たに追記することを考える。この場合、レコ
ードを書き込むべきファイルが先頭アドレスAから始
まることは、ディレクトリD1内の情報から認識するこ
とはできる。しかし、レコードを書き込むべき具体的
なアドレスBを求めない限り、実際に書込処理を行うこ
とはできない。そこで、従来のICカードでは、このフ
ァイルF1の記録領域内を捜索する処理を行い、アドレ
スBを求めていた。具体的には、この記録領域の最終ア
ドレスCから先頭アドレスAに向かう降順に1バイトず
つデータを検索し、データ「FF」の羅列を追ってゆ
き、この「FF」の羅列のとぎれるアドレスとしてアド
レスBを求める捜索処理が行われている。このような検
索処理は、処理時間が長くかかるという問題があること
は既に述べたとおりである。
Now, as shown in FIG. 3, it is considered that a seventh record is newly added in a state where six records are written. In this case, it can be recognized from the information in the directory D1 that the file in which the record is to be written starts from the head address A. However, the writing process cannot be actually performed unless the specific address B to which the record is to be written is obtained. Therefore, in the conventional IC card, the address B is obtained by performing a process of searching the recording area of the file F1. Specifically, the data is searched byte by byte in descending order from the last address C of this recording area to the head address A, and the enumeration of the data “FF” is followed, and the address B The search process for searching for is being performed. As described above, such a search process has a problem that it takes a long processing time.

【0014】本願第1の実施例に係るICカードでは、
図4に示すように、ディレクトリD1内に、ファイルF
1に関する先頭アドレスA、全容量T、残量Rを示す情
報を書き込むことにより、この問題を解決している。こ
のような情報をディレクトリに書き込んでおけば、アド
レスBを求めるための捜索処理は不要になる。すなわ
ち、アドレスBは、(先頭アドレスA+全容量T−残量
R)という演算を行うだけで求めることができる。こう
して、新たなレコードをアドレスBから書き込む処理
を完了したら、ディレクトリD1の残量Rを書き換える
処理を行っておく。すなわち、残量Rをレコードの長
さだけ減らした値に更新しておくのである。こうしてお
けば、将来、新たなレコードを追記する処理を行う場
合に、この更新した残量Rに基づいて書き込むべきアド
レス値を計算することができる。
In the IC card according to the first embodiment of the present application,
As shown in FIG. 4, the file F is stored in the directory D1.
This problem is solved by writing the information indicating the head address A, the total capacity T, and the remaining amount R regarding 1. If such information is written in the directory, the search process for obtaining the address B becomes unnecessary. That is, the address B can be obtained only by performing the calculation of (start address A + total capacity T−remaining amount R). Thus, when the process of writing the new record from the address B is completed, the process of rewriting the remaining amount R of the directory D1 is performed. That is, the remaining amount R is updated to a value reduced by the length of the record. In this way, when performing a process of additionally writing a new record in the future, the address value to be written can be calculated based on the updated remaining amount R.

【0015】また、本願第2の実施例に係るICカード
では、図5に示すように、ディレクトリD1内に、ファ
イルF1に関する先頭アドレスA、全容量T、書込済容
量Wを示す情報を書き込むことにより、この問題を解決
している。このような情報をディレクトリに書き込んで
おけば、やはりアドレスBを求めるための捜索処理は不
要になる。すなわち、アドレスBは、(先頭アドレスA
+書込済容量W)という演算を行うだけで求めることが
できる。こうして、新たなレコードをアドレスBから
書き込む処理を完了したら、ディレクトリD1の書込済
容量Wを書き換える処理を行っておく。すなわち、書込
済容量Wをレコードの長さだけ増やした値に更新して
おくのである。こうしておけば、将来、新たなレコード
を追記する処理を行う場合に、この更新した書込済容
量Wに基づいて書き込むべきアドレス値を計算すること
ができる。なお、この第2の実施例において、アドレス
値の計算には全容量Tは不要であるので、ディレクトリ
内には全容量Tを必ずしも書き込んでおく必要はない
が、ファイル記録領域の大きさを知る便宜を考慮すれ
ば、ディレクトリ内に全容量Tを書き込んでおくのが好
ましい。
Further, in the IC card according to the second embodiment of the present application, as shown in FIG. 5, information indicating the head address A, the total capacity T, and the written capacity W of the file F1 is written in the directory D1. This solves this problem. If such information is written in the directory, the search process for obtaining the address B becomes unnecessary. That is, the address B is (start address A
It can be obtained by simply performing the operation of (+ written capacity W). Thus, when the process of writing the new record from the address B is completed, the process of rewriting the written capacity W of the directory D1 is performed. That is, the written capacity W is updated to a value increased by the length of the record. By doing so, when performing a process of additionally writing a new record in the future, the address value to be written can be calculated based on the updated written capacity W. In the second embodiment, since the total capacity T is not necessary for calculating the address value, it is not always necessary to write the total capacity T in the directory, but the size of the file recording area is known. For convenience, it is preferable to write the total capacity T in the directory.

【0016】以上、本発明を図示する実施例に基づいて
説明したが、本発明はこの実施例のみに限定されるもの
ではなく、この他にも種々の態様で実施可能である。た
とえば、上述の実施例では、各ファイル記録領域内にお
いて、レコードは先頭アドレスAからアドレスの増える
方向に順次書き込むようにしているが、逆に、アドレス
の減る方向に順次書き込むようにしてもよい。
Although the present invention has been described above based on the illustrated embodiment, the present invention is not limited to this embodiment and can be implemented in various modes other than this. For example, in the above-described embodiment, in each file recording area, the records are sequentially written from the head address A in the direction of increasing addresses, but conversely, the records may be sequentially written in the direction of decreasing addresses.

【0017】[0017]

【発明の効果】以上のとおり、本発明によるICカード
によれば、ディレクトリの中に、このディレクトリの示
すファイル記録領域の全容量および残量、もしくは、書
込済容量を記録するようにしたため、これらの情報に基
づいて、追記すべきデータの書き込みアドレスを求める
ことができるようになり、追記処理速度を高速化するこ
とができるようになる。
As described above, according to the IC card of the present invention, the total capacity and the remaining capacity of the file recording area indicated by the directory, or the written capacity is recorded in the directory. Based on these pieces of information, the write address of the data to be additionally written can be obtained, and the additional write processing speed can be increased.

【図面の簡単な説明】[Brief description of drawings]

【図1】一般的なICカードおよびリーダライタの構成
を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a general IC card and a reader / writer.

【図2】一般的なICカードにおけるファイルおよびデ
ィレクトリの記録構造の一例を示す図である。
FIG. 2 is a diagram showing an example of a recording structure of files and directories in a general IC card.

【図3】一般的なICカードにおけるファイル内のデー
タ構造の一例を示すメモリマップである。
FIG. 3 is a memory map showing an example of a data structure in a file in a general IC card.

【図4】本願第1の発明に係るICカードにおけるディ
レクトリの構造を示す図である。
FIG. 4 is a diagram showing a directory structure in the IC card according to the first invention of the present application.

【図5】本願第2の発明に係るICカードにおけるディ
レクトリの構造を示す図である。
FIG. 5 is a diagram showing a directory structure in an IC card according to a second invention of the present application.

【符号の説明】[Explanation of symbols]

10…ICカード 11…CPU 12…ROM 13…RAM 14…EEPROM 20…リーダライタ A,B,C…EEPROMのアドレス値 D1〜D3…ディレクトリ F1〜F3…ファイル T…ファイル記録領域の全容量 W…ファイル記録領域の書込済容量 R…ファイル記録領域の残量 〜…レコード 10 ... IC card 11 ... CPU 12 ... ROM 13 ... RAM 14 ... EEPROM 20 ... Reader / writer A, B, C ... EEPROM address value D1 to D3 ... Directory F1 to F3 ... File T ... Total capacity of file recording area W ... Written capacity of file recording area R ... Remaining amount of file recording area ~ ... Record

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 データを記録するメモリと、このメモリ
をアクセスする機能をもったCPUと、を内蔵し、前記
メモリ内に複数のファイル記録領域を定義してデータを
ファイルごとに分類して記録するようにし、少なくとも
各ファイル記録領域の先頭アドレスを示す情報をもった
ディレクトリを各ファイルごとに用意したICカードに
おいて、前記ディレクトリ内に、対応するファイル記録
領域の全容量とこのファイル記録領域の残量とを示す情
報を記録するようにし、前記全容量と前記残量とに基づ
いて、新たなデータを書き込むべきアドレスを計算する
機能を設けたことを特徴とするICカード。
1. A memory for recording data and a CPU having a function of accessing the memory are built-in, a plurality of file recording areas are defined in the memory, and the data is classified and recorded for each file. In the IC card in which a directory having information indicating at least the head address of each file recording area is prepared for each file, the total capacity of the corresponding file recording area and the remaining capacity of this file recording area are stored in the directory. An IC card having a function of recording information indicating an amount and calculating an address to write new data based on the total capacity and the remaining amount.
【請求項2】 データを記録するメモリと、このメモリ
をアクセスする機能をもったCPUと、を内蔵し、前記
メモリ内に複数のファイル記録領域を定義してデータを
ファイルごとに分類して記録するようにし、少なくとも
各ファイル記録領域の先頭アドレスを示す情報をもった
ディレクトリを各ファイルごとに用意したICカードに
おいて、前記ディレクトリ内に、対応するファイル記録
領域の書込済容量を示す情報を記録するようにし、この
書込済容量に基づいて、新たなデータを書き込むべきア
ドレスを計算する機能を設けたことを特徴とするICカ
ード。
2. A memory for recording data and a CPU having a function of accessing this memory are built-in, a plurality of file recording areas are defined in the memory, and the data is classified and recorded for each file. In such an IC card in which a directory having information indicating at least the head address of each file recording area is prepared for each file, information indicating the written capacity of the corresponding file recording area is recorded in the directory. The IC card is provided with a function of calculating an address at which new data should be written based on the written capacity.
JP4339612A 1992-11-26 1992-11-26 Ic card Pending JPH06161882A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4339612A JPH06161882A (en) 1992-11-26 1992-11-26 Ic card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4339612A JPH06161882A (en) 1992-11-26 1992-11-26 Ic card

Publications (1)

Publication Number Publication Date
JPH06161882A true JPH06161882A (en) 1994-06-10

Family

ID=18329143

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4339612A Pending JPH06161882A (en) 1992-11-26 1992-11-26 Ic card

Country Status (1)

Country Link
JP (1) JPH06161882A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008123473A (en) * 2006-10-20 2008-05-29 Toshiba Corp Memory device and its control method
JP2009020806A (en) * 2007-07-13 2009-01-29 Fujitsu Component Ltd Information processor, printer, and method for recognizing stack area use state of information processor
JP2009199625A (en) * 2004-06-21 2009-09-03 Toshiba Corp Memory card, and method for controlling memory card and method for controlling nonvolatile semiconductor memory

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009199625A (en) * 2004-06-21 2009-09-03 Toshiba Corp Memory card, and method for controlling memory card and method for controlling nonvolatile semiconductor memory
US8180956B2 (en) 2004-06-21 2012-05-15 Kabushiki Kaisha Toshiba Method for controlling memory card and method for controlling nonvolatile semiconductor memory
JP2008123473A (en) * 2006-10-20 2008-05-29 Toshiba Corp Memory device and its control method
JP2009020806A (en) * 2007-07-13 2009-01-29 Fujitsu Component Ltd Information processor, printer, and method for recognizing stack area use state of information processor

Similar Documents

Publication Publication Date Title
US7039754B2 (en) Detachably mounted removable data storage device
US7447672B2 (en) Memory device and recording and/or reproducing apparatus employing this memory device
US7472251B2 (en) Data storage apparatus detachably mounted to a host apparatus
US4748320A (en) IC card
CN101706822B (en) Method and device for improving speed of mounting journal file system
JP2529868B2 (en) Recording method of information recording medium
JPH06161882A (en) Ic card
JP3088866B2 (en) IC card
JP2808358B2 (en) IC card
JP3358668B2 (en) IC card
US20020059305A1 (en) Information recording apparatus and method, and information reproducing apparatus and method
JP3088867B2 (en) IC card
JP2850049B2 (en) IC card
JPH06161856A (en) Ic card
JP3359934B2 (en) Data storage device
JP2867260B2 (en) Method of recording data on card type optical recording medium
US7693920B2 (en) Recycle-free directory entry system and method
KR100261177B1 (en) Message handling routine
JPH0254490A (en) Optical card
JPH06119506A (en) Ic card
US7634172B1 (en) Methods for recording multiple sessions on a rewritable DVD disc
JP2007018528A (en) Memory device, file management method, and recording and reproducing device
JPH05225406A (en) Ic card extension device
JPH02185783A (en) Read/write system for cartridge magnetic tape device
JPH0279269A (en) Card type optical recording medium