JP3088866B2 - IC card - Google Patents

IC card

Info

Publication number
JP3088866B2
JP3088866B2 JP04339609A JP33960992A JP3088866B2 JP 3088866 B2 JP3088866 B2 JP 3088866B2 JP 04339609 A JP04339609 A JP 04339609A JP 33960992 A JP33960992 A JP 33960992A JP 3088866 B2 JP3088866 B2 JP 3088866B2
Authority
JP
Japan
Prior art keywords
eeprom
length
writing
card
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.)
Expired - Lifetime
Application number
JP04339609A
Other languages
Japanese (ja)
Other versions
JPH06161675A (en
Inventor
和義 入澤
博嗣 針間
輝明 城
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 JP04339609A priority Critical patent/JP3088866B2/en
Publication of JPH06161675A publication Critical patent/JPH06161675A/en
Application granted granted Critical
Publication of JP3088866B2 publication Critical patent/JP3088866B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

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,
The present invention relates to a writing method for an EEPROM in a card.

【0002】[0002]

【従来の技術】磁気カードに代わる新しい情報記録媒体
として、ICカードが脚光を浴びている。このICカー
ドは、磁気カードに比べて大量の情報を記録することが
でき、しかも高度なセキュリティを有する。現在、一般
的に普及しているICカードには、RAM,ROM,E
EPROMの3種類のメモリと、このメモリに対するア
クセスを行うCPUとが内蔵されている。通常、このI
Cカード自身には電源は内蔵されていないため、保存し
ておくべきデータはEEPROM内へ書き込まれる。I
Cカードで取り扱われる種々の情報は、データファイル
という形式でEEPROM内に保存され、各データファ
イルは複数のレコードによって構成される。また、デー
タファイルをアクセスするための情報をもったファイル
ディレクトリが作成され、このファイルディレクトリも
EEPROM内に保存される。
2. Description of the Related Art As a new information recording medium replacing a magnetic card, an IC card is in the spotlight. This IC card can record a larger amount of information than a magnetic card, and has high security. At present, IC cards widely used include RAM, ROM, E
Three types of EPROM memories and a CPU for accessing the memories are built in. Usually this I
Since the C card itself does not have a built-in power supply, data to be stored is written into the EEPROM. I
Various information handled by the C card is stored in the EEPROM in the form of a data file, and each data file is composed of a plurality of records. Also, a file directory having information for accessing the data file is created, and this file directory is also stored in the EEPROM.

【0003】[0003]

【発明が解決しようとする課題】EEPROMへの書き
込み処理は、RAMへの書き込み処理に比べると非常に
長い時間を要する。すなわち、RAMへの書き込み時間
がμsのオーダであるのに対し、EEPROMへの書き
込み時間はmsのオーダとなる。このため、EEPRO
Mへの書き込みを行う場合、書込対象となるひとまとま
りのデータを書込レジスタへ転送し、この書込レジスタ
内のひとまとまりのデータをEEPROM内へ書き込む
という処理が行われる。別言すれば、書込レジスタのデ
ータ長に相当する書込単位ごとに、EEPROMへの書
き込みが行われることになる。ところが、従来のICカ
ードにおいて、EEPROM内に書き込むべきデータフ
ァイルの各レコードやファイルディレクトリのデータ長
は、この書込単位とは無関係に設定されているため、書
込処理時の効率が悪いという問題がある。たとえば、書
込単位が32バイトであるICカードにおいて、データ
長が32バイトのレコードをEEPROMに保存する場
合、書込単位の先頭に対応するアドレスから書き込むこ
とができれば、書込レジスタからEEPROMへの書込
処理を1回行うだけでよいが、書込単位の途中に対応す
るアドレスから書き込む場合には、書込処理を2回行う
必要がある。このような書込処理は、効率が悪いだけで
なく、本来書き換える必要のない別なレコードに属する
データについての書き換え処理(前と同じデータを再度
書き込む処理)をともなうため、EEPROMの書込耐
久性を低下させるという問題もある。
The writing process to the EEPROM requires much longer time than the writing process to the RAM. That is, while the write time to the RAM is on the order of μs, the write time to the EEPROM is on the order of ms. For this reason, EEPRO
When writing to M, a process of transferring a set of data to be written to a write register and writing the set of data in the write register to the EEPROM is performed. In other words, writing to the EEPROM is performed for each write unit corresponding to the data length of the write register. However, in the conventional IC card, the data length of each record of the data file to be written in the EEPROM and the data length of the file directory are set irrespective of the writing unit, so that the efficiency of the writing process is low. There is. For example, in an IC card in which the writing unit is 32 bytes, when a record having a data length of 32 bytes is stored in the EEPROM, if the data can be written from the address corresponding to the head of the writing unit, the writing from the writing register to the EEPROM is performed. The writing process only needs to be performed once, but when writing from an address corresponding to the middle of the writing unit, the writing process needs to be performed twice. Such write processing is not only inefficient, but also involves rewrite processing for data belonging to another record that does not need to be rewritten (processing for rewriting the same data as before), so that the write durability of the EEPROM is reduced. There is also a problem of lowering.

【0004】そこで本発明は、EEPROMへの効率良
い書込処理を可能とし、書込耐久性を向上させることの
できるICカードを提供することを目的とする。
Accordingly, an object of the present invention is to provide an IC card that enables efficient writing processing to an EEPROM and improves writing durability.

【0005】[0005]

【課題を解決するための手段】(1) 本願第1の発明
は、少なくともRAM,ROM,EEPROMの3種類
のメモリと、このメモリをアクセスする機能をもったC
PUと、を内蔵したICカードにおいて、データファイ
ルを構成する1レコードの収容長を、EEPROMに対
する書込単位のn倍(nは自然数)の長さに設定し、
の収容長よりも実際のデータ長が短いレコードについて
は、この短い分だけ空領域を付加して書き込みを行うよ
うにし、EEPROMに対する1レコードの書き込み
を、実際のデータ長にかかわらず収容長単位で行うよう
にしたものである。 (2) 本願第2の発明は、少なくともRAM,ROM,
EEPROMの3種類のメモリと、このメモリをアクセ
スする機能をもったCPUと、を内蔵したICカードに
おいて、1ファイルディレクトリの収容長を、EEPR
OMに対する書込単位のn倍(nは自然数)の長さに設
定し、この収容長よりも実際のデータ長が短いファイル
ディレクトリについては、この短い分だけ空領域を付加
して書き込みを行うようにし、EEPROMに対する1
ファイルディレクトリの書き込みを、実際のデータ長に
かかわらず収容長単位で行うようにしたものである。
Means for Solving the Problems (1) The first invention of the present application has at least three types of memories, RAM, ROM, and EEPROM, and a C having a function of accessing these memories.
And PU, the IC card with a built-in, the housing length of one record constituting the data file, n times of a write unit for EEPROM (n is a natural number) is set to the length of, this
Records whose actual data length is shorter than the storage length
Will write with this empty space added
Thus, one record is written to the EEPROM in units of the accommodation length regardless of the actual data length . (2) The second invention of the present application includes at least a RAM, a ROM,
In an IC card containing three types of memories of EEPROM and a CPU having a function of accessing this memory, the accommodation length of one file directory is determined by the EEPROM.
A file whose length is set to n times (n is a natural number) the writing unit for OM, and whose actual data length is shorter than this accommodation length
For directories, empty space is added for this short amount
And write to the EEPROM.
Write file directory to actual data length
Regardless, it is performed in units of storage length.

【0006】(2) 本願第2の発明は、少なくともRA
M,ROM,EEPROMの3種類のメモリと、このメ
モリをアクセスする機能をもったCPUと、を内蔵した
ICカードにおいて、1ファイルディレクトリの収容長
を、EEPROMに対する書込単位のn倍(nは自然
数)の長さに設定し、EEPROMに対する1ファイル
ディレクトリの書き込みを、収容長単位で行うようにし
たものである。
(2) The second invention of the present application provides at least RA
In an IC card including three types of memories, M, ROM, and EEPROM, and a CPU having a function of accessing the memory, the accommodation length of one file directory is set to be n times the writing unit for the EEPROM (n is (A natural number), and writing of one file directory to the EEPROM is performed in units of accommodation length.

【0007】[0007]

【作 用】本願発明によるICカードによれば、EEP
ROMに書き込むべきデータファイルのレコード、ある
いはファイルディレクトリについて、EEPROMに対
する書込単位のn倍に相当する収容長が設定されるた
め、1レコードあるいは1ディレクトリを保存する場
合、必ず、書込単位に整合した書込処理が行われるよう
になる。したがって、効率良い書込処理を可能とし、書
込耐久性を向上させることができるようになる。
[Operation] According to the IC card of the present invention, the EEP
For a record of a data file or a file directory to be written to the ROM, an accommodation length corresponding to n times the unit of writing to the EEPROM is set. Therefore, when one record or one directory is stored, it must be consistent with the unit of writing. The written processing is performed. Therefore, efficient writing processing can be performed, and writing durability can be improved.

【0008】[0008]

【実施例】以下、本発明を図示する実施例に基づいて説
明する。図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ラ
インを通じて一方向ずつ交互に行われる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the illustrated embodiments. FIG. 1 is a block diagram showing the general configuration of an IC card 10 currently generally used and a reader / writer 20 used for the IC card. The main components of the IC card 10 are a CPU 11, a ROM 12, a RAM 13, an EEPR
OM14. The CPU 11 communicates with the reader / writer 20 via an interface (not shown), and performs processing for accessing 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 connection terminal on the 0 side comes into contact, and both are electrically connected. That is, a G that defines a common ground potential is provided between the two.
An ND line, a VCC line for supplying power from the reader / writer to the IC card, a CLK line for supplying a clock, and an RST for supplying a reset signal
Lines and I / O lines for transmitting data in both directions are secured. Data transmission between the two is performed alternately one direction at a time through the I / O line.

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

【0010】図2は、現在一般的に用いられているIC
カード10におけるEEPROM14への書込処理を説
明するブロック図である。たとえば、I/Oラインを通
じてリーダライタ側から伝送されてきたデータをEEP
ROM14内に書き込む処理を行う場合を考える。この
場合、伝送されてきたデータは、一旦、RAM13内に
保存され、続いて、このRAM13からEEPROM1
4へと転送される。このとき、RAM13に保存されて
いるデータは、書込レジスタ15に移され、この書込レ
ジスタ15からEEPROM14内の所定のアドレスに
書き込まれることになる。これは、前述したように、E
EPROM14へのデータ書き込みの所要時間がmsの
オーダとなり、CPU11のマシンサイクルに比べて非
常に長いためである。したがって、この書込レジスタ1
5のデータ長を書込単位と呼ぶことにすれば、RAM1
3内のデータは、書込単位ごとにEEPROM14内へ
転送されることになる。たとえば、書込レジスタ15の
データ長が32バイトであったとすると、32バイトが
書込単位となり、RAM13内のデータは32バイトご
とにひとまとまりのデータ(図2においてハッチングで
示すデータ)としてEEPROM14へ転送される。
FIG. 2 shows an IC generally used at present.
FIG. 3 is a block diagram illustrating a process of writing to an EEPROM in the card. For example, data transmitted from the reader / writer through the I / O line
It is assumed that a process of writing data in the ROM 14 is performed. In this case, the transmitted data is temporarily stored in the RAM 13 and then transmitted from the RAM 13 to the EEPROM 1.
4 is transferred. At this time, the data stored in the RAM 13 is transferred to the write register 15, and is written from the write register 15 to a predetermined address in the EEPROM 14. This is, as mentioned above, the E
This is because the time required for writing data to the EPROM 14 is on the order of ms, and is much longer than the machine cycle of the CPU 11. Therefore, this write register 1
5 is called a write unit, the RAM 1
The data in 3 is transferred to the EEPROM 14 for each writing unit. For example, assuming that the data length of the write register 15 is 32 bytes, 32 bytes are a unit of writing, and the data in the RAM 13 is stored in the EEPROM 14 as a group of data (data indicated by hatching in FIG. 2) every 32 bytes. Will be transferred.

【0011】いま、EEPROM14のメモリマップ
を、図3に示すように、32バイトの書込単位が1行に
対応するように示してみる。そして、このメモリマップ
における1行を1ページと呼ぶことにする。すなわち、
1ページは、32バイト分のデータ領域に対応する。そ
して、レコード,,という3つのレコードから構
成されるデータファイルを、このEEPROM14内に
書き込む場合を考える。従来のICカードでは、この3
つのレコード,,を詰めて書き込むようにしてい
るため、図3に示すような書き込みが行われる。各レコ
ードのデータ長はそれぞれ異なるため、各レコードが書
き込まれるアドレスは不規則になる。このような従来の
書込方法は、メモリ容量の観点からは非常に効率が良
い。すなわち、各レコードが隙間なく充填されて書き込
まれるため、無駄なメモリ領域がなくなる。しかしなが
ら、書込処理の観点からは非効率的な面があり、また、
書込耐久性上も問題がある。たとえば、レコードの内
容を更新するための書換処理を考える。前述のように、
EEPROM14に対する書込処理は32バイトの書込
単位でしか行うことができない。別言すれば、ページ単
位でしか行うことができない。したがって、レコード
を書き換える場合には、ページ2,3,4という3ペー
ジ分の書換処理を行う必要がある。このため、1書込単
位の書き込みに、20msの時間が必要であると仮定す
ると、合計で60msの時間が必要となる。また、この
EEPROM14が、1万回の書き換えが可能な書込耐
久性をもっているときに、レコードに対する書換処理
を1万回行った場合を考えてみる。この場合、レコード
が書込耐久性の限界に到達することについては問題は
ない。しかし、レコードに対する書換処理により、ペ
ージ2,3,4に対して1万回の書き換えが行われるこ
とになるため、書換処理の対象とならなかったレコード
やレコードも、書込耐久性の限界に到達してしまう
ことになる。
Now, a memory map of the EEPROM 14 will be described so that a 32-byte writing unit corresponds to one row as shown in FIG. One row in this memory map is called one page. That is,
One page corresponds to a data area of 32 bytes. Then, a case is considered where a data file composed of three records, record and, is written in the EEPROM 14. In conventional IC cards, this 3
Since one record is written together, writing is performed as shown in FIG. Since the data length of each record differs, the address where each record is written becomes irregular. Such a conventional writing method is very efficient from the viewpoint of memory capacity. That is, since each record is filled and written without gaps, there is no useless memory area. However, there is an inefficiency in terms of the writing process.
There is also a problem in writing durability. For example, consider a rewrite process for updating the contents of a record. As aforementioned,
The writing process to the EEPROM 14 can be performed only in units of 32 bytes. In other words, it can only be done on a page-by-page basis. Therefore, when rewriting a record, it is necessary to perform a rewriting process for three pages of pages 2, 3, and 4. For this reason, assuming that 20 ms is required for writing in one writing unit, a total of 60 ms is required. Further, let us consider a case where the rewriting process for a record is performed 10,000 times while the EEPROM 14 has write durability capable of rewriting 10,000 times. In this case, there is no problem about the record reaching the limit of write durability. However, the rewriting process on a record results in rewriting 10,000 times for pages 2, 3, and 4. Therefore, even records and records that have not been subjected to the rewriting process are limited to the write durability limit. Will be reached.

【0012】本発明のICカードでは、次のような書き
込みを行うことにより、このような問題を解決した。す
なわち、データファイルを構成する1レコードの収容長
を、EEPROM14に対する書込単位のn倍(nは自
然数)の長さに設定し、EEPROM14に対する1レ
コードの書き込みを、この収容長単位で行うようにした
のである。具体例を図4に示す。この例では、n=2に
定義し、1レコードの収容長として書込単位の2倍の長
さ(64バイト)を設定している。別言すれば、EEP
ROM14の2ページ分が1レコードを収容するための
長さとして割り当てられたことになる。その結果、1レ
コードについて、それぞれ2ページ分のメモリ領域が確
保されている。すなわち、ページ1,2はレコードの
ために確保され、ページ3,4はレコードのために確
保され、ページ5,6はレコードのために確保されて
いる。このような割り当てでレコード,,を書き
込むと、設定された収容長よりも実際のデータ長が短い
レコード,については、この短い分だけメモリに空
領域(図に「*」印で示す)が生じることになり、メモ
リ容量の観点からは効率が低下する。しかしながら、い
ずれのレコードを更新する場合であっても、2ページ分
の書換処理ですみ、1書込単位の書き込みに、20ms
の時間が必要であると仮定すると、40msの時間です
むことになる。このように、書込処理の観点からは効率
的になる。また、書込耐久性上の問題も解消する。たと
えば、レコードに対して1万回の書換処理を行ったと
しても、レコード,に関する書込耐久性には何ら影
響は及ばない。EEPROM等のメモリ素子の集積度は
益々向上する傾向にあり、今後は、メモリ容量の観点か
らの非効率性はあまり重要な問題にはならず、書込処理
負担および書込耐久性の観点からの効率性が要求される
ものと考えられる。このような意味で、本発明は今後十
分な利用価値を生むものである。
In the IC card of the present invention, such a problem is solved by performing the following writing. That is, the storage length of one record constituting the data file is set to n times (n is a natural number) the writing unit to the EEPROM 14, and the writing of one record to the EEPROM 14 is performed in this storage length unit. It was done. A specific example is shown in FIG. In this example, n is defined as 2, and the accommodation length of one record is set to twice the length (64 bytes) of the writing unit. In other words, EEP
That is, two pages of the ROM 14 are allocated as a length for accommodating one record. As a result, two pages of memory area are secured for each record. That is, pages 1 and 2 are reserved for records, pages 3 and 4 are reserved for records, and pages 5 and 6 are reserved for records. When the records are written in such an allocation, for a record whose actual data length is shorter than the set accommodation length, an empty area (indicated by “*” in the figure) is generated in the memory for the shorter amount. As a result, the efficiency is reduced from the viewpoint of the memory capacity. However, no matter which record is updated, rewriting for two pages is sufficient, and writing for one writing unit takes 20 ms.
Assuming that time is required, only 40 ms is required. In this way, it becomes efficient from the viewpoint of the writing process. In addition, the problem of writing durability is solved. For example, even if a record is rewritten 10,000 times, the write durability of the record is not affected at all. The degree of integration of memory elements such as EEPROMs tends to be more and more increased, and inefficiency from the viewpoint of memory capacity will not become a very important problem in the future. It is considered that the efficiency is required. In this sense, the present invention will produce sufficient utility value in the future.

【0013】なお、上述の実施例では、データファイル
を構成する1レコードの書き込みについて本発明を適用
したが、本発明は、データファイルの先頭アドレス、長
さ、属性などを示すために用いられるファイルディレク
トリについても適用可能である。すなわち、ファイルデ
ィレクトリについても収容長を設定しておき、1ファイ
ルディレクトリをEEPROMに書き込む場合に、設定
した収容長ごとに書き込みを行うようにすればよい。特
に、ファイルディレクトリに対しては、頻繁に書き換え
が行われる傾向にあり、書込耐久性を向上させることは
大きな意味がある。また、ファイルディレクトリを図3
に示すような従来の方法で保存した場合、途中の数バイ
トにデータ化けが生じたようなときに、それ以後のアド
レスに保存されたディレクトリをアクセスすることがで
きなくなり、ディレクトリ情報が失われてしまう危険性
がある。これに対して、図4に示すような本発明の方法
で保存した場合、1つのディレクトリにデータ化けが生
じたとしても、他のディレクトリのアクセスには影響を
及ぼさないため、他のディレクトリ情報が失われる危険
性はない。
In the above-described embodiment, the present invention is applied to the writing of one record constituting a data file. However, the present invention relates to a file used for indicating a head address, a length, an attribute, and the like of a data file. It is also applicable for directories. That is, the accommodation length is also set for the file directory, and when writing one file directory to the EEPROM, the writing may be performed for each set accommodation length. Particularly, the file directory tends to be frequently rewritten, and it is of great significance to improve the write durability. Figure 3 shows the file directory.
When the data is stored by the conventional method as shown in (1), when the data is garbled in a few bytes in the middle, the directory stored at the subsequent address cannot be accessed, and the directory information is lost. There is a risk that it will. On the other hand, when data is stored by the method of the present invention as shown in FIG. 4, even if data is garbled in one directory, access to other directories is not affected. There is no risk of loss.

【0014】[0014]

【発明の効果】以上のとおり、本発明によるICカード
によれば、EEPROMに書き込むべきデータファイル
のレコード、あるいはファイルディレクトリについて、
EEPROMに対する書込単位のn倍に相当する収容長
を設定し、1レコードあるいは1ディレクトリを保存す
る場合、必ず、この収容長ごとに書込処理を行うように
したため、効率良い書込処理が可能となり、書込耐久性
も向上する。
As described above, according to the IC card of the present invention, the record of the data file or the file directory to be written in the EEPROM is:
When the storage length corresponding to n times the writing unit for the EEPROM is set and one record or one directory is stored, the writing process is always performed for each storage length, so that efficient writing process is possible. And the writing durability is also improved.

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

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

【図2】EEPROMに対する一般的な書込処理を示す
ブロック図である。
FIG. 2 is a block diagram showing a general writing process for an EEPROM.

【図3】従来の一般的なEEPROMへのデータ書込態
様を示すメモリマップである。
FIG. 3 is a memory map showing a manner of writing data to a conventional general EEPROM.

【図4】本発明によるEEPROMへのデータ書込態様
を示すメモリマップである。
FIG. 4 is a memory map showing an aspect of writing data to an EEPROM according to the present invention.

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

1〜7…EEPROM内のページ 10…ICカード 11…CPU 12…ROM 13…RAM 14…EEPROM 15…書込レジスタ 20…リーダライタ 〜…データファイルを構成するレコード 1 to 7: pages in the EEPROM 10: IC card 11: CPU 12, ROM 13, RAM 14, EEPROM 15, write register 20, reader / writer, and records constituting a data file

フロントページの続き (56)参考文献 特開 平2−46888(JP,A) 特開 平4−313882(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 3/08 G06F 12/04 510 G06K 19/07 Continuation of the front page (56) References JP-A-2-46888 (JP, A) JP-A-4-313882 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 3 / 08 G06F 12/04 510 G06K 19/07

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 少なくともRAM,ROM,EEPRO
Mの3種類のメモリと、このメモリをアクセスする機能
をもったCPUと、を内蔵したICカードにおいて、デ
ータファイルを構成する1レコードの収容長を、EEP
ROMに対する書込単位のn倍(nは自然数)の長さに
設定し、前記収容長よりも実際のデータ長が短いレコー
ドについては、この短い分だけ空領域を付加して書き込
みを行うようにし、EEPROMに対する1レコードの
書き込みを、実際のデータ長にかかわらず前記収容長単
位で行うようにしたことを特徴とするICカード。
1. At least RAM, ROM, EEPROM
In an IC card having three types of memory M and a CPU having a function of accessing this memory, the storage length of one record constituting a data file is defined as EEP.
A record whose length is set to n times (n is a natural number) the writing unit for the ROM and whose actual data length is shorter than the accommodation length.
For empty space, the empty area is added and written
An IC card, wherein one record is written to the EEPROM in units of the accommodation length regardless of the actual data length .
【請求項2】 少なくともRAM,ROM,EEPRO
Mの3種類のメモリと、このメモリをアクセスする機能
をもったCPUと、を内蔵したICカードにおいて、1
ファイルディレクトリの収容長を、EEPROMに対す
る書込単位のn倍(nは自然数)の長さに設定し、前記
収容長よりも実際のデータ長が短いファイルディレクト
リについては、この短い分だけ空領域を付加して書き込
みを行うようにし、EEPROMに対する1ファイルデ
ィレクトリの書き込みを、実際のデータ長にかかわらず
前記収容長単位で行うようにしたことを特徴とするIC
カード。
2. At least RAM, ROM, EEPROM
M, and a CPU having a function of accessing the memory.
The housing length for the file directory, n times of a write unit for EEPROM (n is a natural number) is set to the length of the
File directory whose actual data length is shorter than the storage length
For the memory, write an empty area by this short amount.
And writing the one file directory to the EEPROM in units of the accommodation length regardless of the actual data length.
card.
JP04339609A 1992-11-26 1992-11-26 IC card Expired - Lifetime JP3088866B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04339609A JP3088866B2 (en) 1992-11-26 1992-11-26 IC card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04339609A JP3088866B2 (en) 1992-11-26 1992-11-26 IC card

Publications (2)

Publication Number Publication Date
JPH06161675A JPH06161675A (en) 1994-06-10
JP3088866B2 true JP3088866B2 (en) 2000-09-18

Family

ID=18329110

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04339609A Expired - Lifetime JP3088866B2 (en) 1992-11-26 1992-11-26 IC card

Country Status (1)

Country Link
JP (1) JP3088866B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150146383A (en) * 2014-06-23 2015-12-31 가부시키가이샤 니혼 마이크로닉스 Electrical Contactor and Electrical Connecting Apparatus

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3319361B2 (en) * 1997-09-30 2002-08-26 ソニー株式会社 Storage device, data processing device and data processing method
US6684289B1 (en) * 2000-11-22 2004-01-27 Sandisk Corporation Techniques for operating non-volatile memory systems with data sectors having different sizes than the sizes of the pages and/or blocks of the memory
JP4713867B2 (en) * 2004-09-22 2011-06-29 株式会社東芝 Memory controller, memory device, and memory controller control method
US7315916B2 (en) * 2004-12-16 2008-01-01 Sandisk Corporation Scratch pad block
JP2017045103A (en) * 2015-08-24 2017-03-02 大日本印刷株式会社 Electronic information storage medium, information processing method and information processing program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150146383A (en) * 2014-06-23 2015-12-31 가부시키가이샤 니혼 마이크로닉스 Electrical Contactor and Electrical Connecting Apparatus

Also Published As

Publication number Publication date
JPH06161675A (en) 1994-06-10

Similar Documents

Publication Publication Date Title
US6539453B1 (en) Storage system including means for management of a memory with anti-attrition, and process of anti-attrition management of a memory
CN100527097C (en) Memory system and method of writing into nonvolatile semiconductor memory
EP0907142B1 (en) Memory card apparatus
US20060026340A1 (en) Memory card, card controller mounted on the memory card, and device for processing the memory card
JPS6228297A (en) Integrated circuit card having reading means of update information and hysteresis information
US5724545A (en) Memory card with capacity-independent 3-line addressing system
US5864661A (en) IC memory card having flash memory
US5483491A (en) Memory card device
EP0483978A2 (en) I.C. card
JP3088866B2 (en) IC card
US5450366A (en) IC memory card
JP3471842B2 (en) Data management device, data storage device, and data management method
JPH05150913A (en) Silicon disk with flash memory as storage medium
JP2808358B2 (en) IC card
JP3088867B2 (en) IC card
JPS61211788A (en) Ic card
JP3358668B2 (en) IC card
JPH0435780B2 (en)
CN1533575B (en) Process and system for correcting data during chip card transaction based on card
JPH0778231A (en) Memory card
JP3641693B2 (en) IC card and method of using the same
JPH04313882A (en) Record control system for memory card
JP2850049B2 (en) IC card
JPH06161882A (en) Ic card
JP2932392B2 (en) Memory card

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080714

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090714

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090714

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100714

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100714

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110714

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120714

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20120714

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20130714

Year of fee payment: 13

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130714

Year of fee payment: 13