JPH03102593A - Ic memory card system - Google Patents

Ic memory card system

Info

Publication number
JPH03102593A
JPH03102593A JP1241566A JP24156689A JPH03102593A JP H03102593 A JPH03102593 A JP H03102593A JP 1241566 A JP1241566 A JP 1241566A JP 24156689 A JP24156689 A JP 24156689A JP H03102593 A JPH03102593 A JP H03102593A
Authority
JP
Japan
Prior art keywords
memory
area
memory card
pointer
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
JP1241566A
Other languages
Japanese (ja)
Inventor
Takeshi Nakamura
健 中村
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.)
Toppan Inc
Original Assignee
Toppan 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 Toppan Printing Co Ltd filed Critical Toppan Printing Co Ltd
Priority to JP1241566A priority Critical patent/JPH03102593A/en
Publication of JPH03102593A publication Critical patent/JPH03102593A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve economical efficiency by dividing the memory area of an IC memory card into plural parts so that the memory capacity of each area becomes equal, and making it possible to designate a writable divided area. CONSTITUTION:The memory 110 of the IC memory card 100 is divided into the memory areas A 111, B 112, C 113, and D 114 whose capacities correspond to the write capacity of a reader writer 200, and the memory 100 is provided with a memory pointer 115 so that the writable memory area can be designated. Then, at the time of write-in, the writable area of the memory 100 can be acquired by referring to the pointer 115, and if a defective bit exists in this area, the contents of the pointer 115 is updated.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明はICメモリカードシステム、詳しくはICメモ
リカードのメモリエリアを等しいメモリ容量の複数のブ
ロックに分割し、このブロック毎に順番にリーダライタ
からデータを書き込むことができるICメモリカードシ
ステムに関する。
[Detailed Description of the Invention] <Industrial Application Field> The present invention relates to an IC memory card system, in particular, the memory area of an IC memory card is divided into a plurality of blocks of equal memory capacity, and each block is sequentially connected to a reader/writer. The present invention relates to an IC memory card system in which data can be written to.

く従来の技術〉 一般ここ、ブリベイトカ一Fシステムとしては、例えば
テレホンカ一ト等に代表ざれるように磁気カードを用い
たシステムが周知である。ところが、この磁気カードは
残高度数の書換えが行えず、使い捨てとなっていた。ま
た、その記録容量が小さいものであった。
BACKGROUND ART Generally, systems using magnetic cards, such as those used in telephone cards, are well known as a digital card system. However, the remaining power on this magnetic card could not be rewritten, making it disposable. Moreover, its recording capacity was small.

そこで、電気的に書換え可能なメモリを有するICメモ
リカードを用いたブリペイドカードシステムが提案され
ている。
Therefore, a prepaid card system using an IC memory card having an electrically rewritable memory has been proposed.

このICメモリカードは、カード自体にはCPUが内蔵
されておらず、該カードのメモリ(RAM,EPROM
等)内に格納されたデータを、リーダライタによって読
み出し/iFき込みを行うものである。
This IC memory card does not have a built-in CPU, but the card's memory (RAM, EPROM)
etc.) is read/written into the iF by a reader/writer.

これにより、記録容量を飛躍的に増加させるとともに、
カードの繰り返し使用を可能とするものてある。
This dramatically increases recording capacity, and
Some allow cards to be used repeatedly.

〈発明が解決しようとする課題〉 しかしながら、このような従来のICメモリカードシス
テムにあって、ICメモリカートに使用されるメモリと
して例えばそのメモリ中の一定の場所(アトレス)に電
気的に書き込むテーブルメモリを使用した場合には以下
の不具合が生しるものであった。すなわち、このテーブ
ルメモリでは、全体として書き込みを行うものであって
その一部についてのみ書き込むことはできなかったため
、例えばチップの劣化等の原因によりその一部が破損し
た場合(欠陥ビットがあった場合)にはメモリ全体を廃
棄、償却しなければならないという不具合があった。す
なわち、メモリデバイスの構造上、アクセスエラーは書
き込み時に生じることが多く、書き込みにエラーが生し
た場合にはそのメモリデバイスは不良品として廃棄して
しまうものである。
<Problem to be Solved by the Invention> However, in such a conventional IC memory card system, as a memory used in an IC memory cart, for example, there is a table that is electrically written to a fixed location (atre) in the memory. When memory was used, the following problems occurred. In other words, in this table memory, writing is performed as a whole, and it is not possible to write to only a part of it. Therefore, if a part of it is damaged due to chip deterioration, etc. (if there is a defective bit), ) had a problem in that the entire memory had to be discarded and amortized. That is, due to the structure of memory devices, access errors often occur during writing, and when an error occurs during writing, the memory device is discarded as a defective product.

そこで、本発明は、複数のメモリエリアを有するメモリ
に対して各メモリエリア毎にアクセス可能とすることに
より、一部のエリアに書き込みエラーが生したとしても
残りのエリアに書き込むことができ、経済性の高いIC
メモリカートとこれを使用したICメモリカードシステ
ムを提供することをその目的としている。
Therefore, the present invention makes it possible to access a memory having multiple memory areas for each memory area, so that even if a write error occurs in some areas, it is possible to write to the remaining areas, which is economical. Highly sensitive IC
Its purpose is to provide a memory cart and an IC memory card system using the same.

〈課題を解決するための手段〉 本発明は、第1図にその構成を示すように、電気的に書
き込み可能なメモリ110を有するICメモリカード1
00と、このメモリ110についてデータを書き込み、
読み出し可能なリーダライタ200と、を備えたICメ
モリカードシステムにおいて、上記ICメモリカード1
00のメモリ110は、それぞれの分割エリア111〜
114のメモリ容量が等しくなるようにそのメモリエリ
アを複数に分割するとともに、書き込み可能な分割エリ
アを指定する指定手段115を有するICメモリカード
システムである。
<Means for Solving the Problems> As shown in FIG. 1, the present invention provides an IC memory card 1 having an electrically writable memory 110.
00 and write data about this memory 110,
In an IC memory card system comprising a readable reader/writer 200, the IC memory card 1
00 memory 110 has respective divided areas 111 to
The IC memory card system divides the memory area into a plurality of areas so that the memory capacity of the IC memory card 114 is equal, and also includes a designating means 115 for designating a writable divided area.

〈作用〉 本発明に係るICメモリカードシステムにあっては、リ
ーダライタ200にあっては、書き込み手段210、読
み出し手段220を有しており、これらの手段によって
メモリ110の指定手段(メモリポインタ)115によ
って指定されたメモリエリア111〜114の一つにデ
ータを書き込む。そして、そのデータが正しく該エリア
に書き込まれたか否かを書き込みエラーチェック手段2
30によってチェックし、書き込みエラーが生じた場合
には該メモリエリアの一部が破損したものとして別のメ
モリエリアにデータを書き込む。この結果、一部のメモ
リエリアの欠陥によってICメモリカード全体が使用不
能となることを防止することができる。
<Operation> In the IC memory card system according to the present invention, the reader/writer 200 includes a writing means 210 and a reading means 220, and these means specify the memory 110 by specifying means (memory pointer). Data is written into one of the memory areas 111 to 114 designated by 115. Then, the write error checking means 2 checks whether the data has been correctly written to the area.
30, and if a write error occurs, it is assumed that a part of the memory area is damaged and data is written to another memory area. As a result, it is possible to prevent the entire IC memory card from becoming unusable due to a defect in a part of the memory area.

〈実施例〉 以下、本発明に係る丁Cメモリカードシステムの実施例
を第1図〜第4図を参照して説明する。
<Example> Hereinafter, an example of the memory card system according to the present invention will be described with reference to FIGS. 1 to 4.

第2図は本発明に係るICメモリカードシステムの概略
構成を示す図である。
FIG. 2 is a diagram showing a schematic configuration of an IC memory card system according to the present invention.

この図に示すように、ICメモリカード11は例えばE
EFROM等からなるメモリ12を有している。
As shown in this figure, the IC memory card 11 is, for example,
It has a memory 12 made of EFROM or the like.

一方、リーダライタ21は、マイクロコンピュータ22
と、コネクタ部23と、により構成されている。マイク
ロコンピュータ22は、周知の構成であって、CPU,
RAM,ROMを有している。コネクタ部23はICメ
モリカード11の人出力端子との間でデータの授受を行
うためのものである。このリーダライタ21は、このI
Cメモリカード11のメモリ12に対して電気的に書き
込み/読み出しが可能であって、第1図に示すように、
書き込み手段210/読み出し手段220の他にも書き
込みエラーをチェックする書き込みエラーチェック手段
230を有している。
On the other hand, the reader/writer 21 uses a microcomputer 22
and a connector section 23. The microcomputer 22 has a well-known configuration, and includes a CPU,
It has RAM and ROM. The connector section 23 is for exchanging data with the human output terminal of the IC memory card 11. This reader/writer 21 is
The memory 12 of the C memory card 11 can be electrically written/read, and as shown in FIG.
In addition to the writing means 210/reading means 220, there is also a writing error checking means 230 for checking writing errors.

一方、rcメモリカード11のメモリ(EEFROM)
12は、第1図に示すように、リーダライタの書き込み
容量をIKバイトとした場合、これに対応した容:l(
IKバイト)のメモリエリアA111、メモリエリアB
112、メモリエリアC113、メモリエリアD114
の4つに分割されている。さらに、該メモリ12はメモ
リポインタ115を有している。このメモリポインタ1
15は書き込み可能なメモリエリアを指定するためのも
のである。例えば書き込みエラーが生した場合にそのメ
モリポインタ115の内容は例えばヱリアA、エリアB
、エリアC、エリアDの順番に更新されるものである。
On the other hand, the memory (EEFROM) of the rc memory card 11
12, if the write capacity of the reader/writer is IK bytes, the corresponding capacity: l(
IK byte) memory area A111, memory area B
112, memory area C113, memory area D114
It is divided into four parts. Furthermore, the memory 12 has a memory pointer 115. This memory pointer 1
15 is for specifying a writable memory area. For example, when a write error occurs, the contents of the memory pointer 115 are Area A, Area B, etc.
, Area C, and Area D are updated in this order.

次に、リーダライタ21によるメモリ12への書き込み
の手順をフローチャートを参胆して説明する。
Next, the procedure for writing data into the memory 12 by the reader/writer 21 will be explained with reference to a flowchart.

まず、メモリポインタ115を参照して当該メモリ12
の誉き込み可能なエリア(例えはメモl/エリアAl 
1 1)を得る(ステップS301)。
First, by referring to the memory pointer 115, the memory 12
(for example, Memo L/Area Al)
1 1) is obtained (step S301).

そして、データをEEPROM12の指定されたメモリ
エリアAlllに書き込む(ステップS302)。
Then, the data is written into the designated memory area All of the EEPROM 12 (step S302).

次に、リーダライタ2】は、このようにして書き込んだ
データの内容を、当該エリアA111の当該アトレスを
指定することによって読み込む(ステップS303)。
Next, the reader/writer 2 reads the contents of the data thus written by specifying the address in the area A111 (step S303).

更に、この読み込んたデータを書き込んだデータと比較
し(ステップ5304)、一致していれは書き込みエラ
ーではないことから、書き込みは終了したか否かをチェ
ックする(ステップS305)。終了していない場合は
データの書き込みを繰り返ずくステップS302〜30
4)。
Furthermore, the read data is compared with the written data (step 5304), and if they match, it is not a writing error, so it is checked whether the writing has been completed (step S305). If not completed, data writing is repeated in steps S302 to S30.
4).

もし、データの内容が不一致であれば(ステップS30
4でNo)、そのメモリエリアA111には欠陥ビット
が存在するものと判断して、メモリポインタ116の内
容を更新する。例えばメモリエリアA111を指定して
書き込むことができるとしたものをメモリエリアB11
2を指定して書き込むようにするものである(ステップ
S306)。
If the data contents do not match (step S30
4 (No), it is determined that a defective bit exists in the memory area A111, and the contents of the memory pointer 116 are updated. For example, if memory area A111 can be specified and written to, memory area B11
2 is specified and written (step S306).

次に、該メモリ12にあって4つに分割したメモリエリ
ア111〜114をすべて使用したか否かをチェックす
る(ステップS307)。使用していない場合には再び
データを書き込むものである(ステップS301に戻る
)。
Next, it is checked whether all of the four memory areas 111 to 114 in the memory 12 have been used (step S307). If it is not in use, data is written again (return to step S301).

ずへての分割したメモリエリア111〜114を使用し
てしまった場合には、そのメモリカード11は使用する
ことができないものである。
If the previously divided memory areas 111 to 114 have been used, the memory card 11 cannot be used.

一方、このICメモリカード11のメモリl2に格納し
たデータを読み取る場合には、次の手順によって行われ
る。
On the other hand, when reading data stored in the memory l2 of this IC memory card 11, the following procedure is performed.

すなわち、メモリポインタ115を参照して指定された
メモリエリア111〜114からデータを読み込む(ス
テップS401,402)。
That is, data is read from the designated memory areas 111 to 114 with reference to the memory pointer 115 (steps S401 and 402).

次に、そのデータに関してチェックサムを計算する(ス
テップS403)。
Next, a checksum is calculated for the data (step S403).

そして、データの読込が終了したか否かをチェックずる
くステップS404)。終了していない場合には再びデ
ータを読み込む(ステップS402に戻る)。
Then, it is checked whether or not the data reading has been completed (step S404). If it has not been completed, the data is read again (return to step S402).

読込が終了した場合には、チェックサムエラーが生した
か否か、データがないか否かをチェックする(ステップ
S405)。チェックサムエラーが生した場合には、カ
ード11のメモリ12から再読み込みを行うものである
When the reading is completed, it is checked whether a checksum error has occurred and whether there is any data (step S405). If a checksum error occurs, the memory 12 of the card 11 is reread.

〈効果〉 以上説明してきたように、本発明によれば、ICメモリ
カードにあってそのメモリを有効利用することができ、
経済性を高めることができた。
<Effects> As explained above, according to the present invention, the memory in the IC memory card can be effectively used.
We were able to improve economic efficiency.

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

第1図は本発明に係るICメモリカードシステムの概略
構成を示すブロック図、第2図は本発明の一実旅例に係
るICメモリカードシステムの概略構成を示すブロック
図、第3図は一実施例に係るICメモリカードシステム
におけるリーダライタでのデータの書き込み手順を示す
フローチャート、第4図は一実施例に係るICメモリカ
ードシステムにおけるリーダライタでのデータの読み取
りの手順を説明するためフローチャートである。 100・・・・・・・・・・ICメモリカード、110
◆・・・・・・・・◆メモリ、 9− −10− 111〜114・・・・・・メモリエリア、115・・
・・・・・・・・メモリポインタ(指定手段)、 200・・・・・・・・・・リーダライタ210・・・
・・・・・・・書き込み手段、220・・・・・・・・
・・読み出し手段、230・・・・・・・・・・書き込
みエラーチェック手段。
FIG. 1 is a block diagram showing a schematic configuration of an IC memory card system according to the present invention, FIG. 2 is a block diagram showing a schematic configuration of an IC memory card system according to an example of the present invention, and FIG. FIG. 4 is a flowchart showing the procedure for writing data in the reader/writer in the IC memory card system according to the embodiment. FIG. 4 is a flowchart for explaining the procedure for reading data in the reader/writer in the IC memory card system according to the embodiment. be. 100・・・・・・・・・IC memory card, 110
◆・・・・・・・◆Memory, 9- -10- 111-114...Memory area, 115...
......Memory pointer (specifying means), 200...Reader/writer 210...
......Writing means, 220...
...Reading means, 230...Writing error checking means.

Claims (1)

【特許請求の範囲】 電気的に書き込み可能なメモリを有するICメモリカー
ドと、このメモリについてデータを書き込み、読み出し
可能なリーダライタと、を備えたICメモリカードシス
テムにおいて、 上記ICメモリカードのメモリは、それぞれの分割エリ
アのメモリ容量が等しくなるようにそのメモリエリアを
複数に分割するとともに、書き込み可能な分割エリアを
指定する指定手段を有することを特徴とするICメモリ
カードシステム。
[Claims] An IC memory card system comprising an IC memory card having an electrically writable memory, and a reader/writer capable of writing and reading data on the memory, wherein the memory of the IC memory card is An IC memory card system, characterized in that the memory area is divided into a plurality of parts so that the memory capacity of each divided area is equal, and also has a designation means for designating a writable divided area.
JP1241566A 1989-09-18 1989-09-18 Ic memory card system Pending JPH03102593A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1241566A JPH03102593A (en) 1989-09-18 1989-09-18 Ic memory card system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1241566A JPH03102593A (en) 1989-09-18 1989-09-18 Ic memory card system

Publications (1)

Publication Number Publication Date
JPH03102593A true JPH03102593A (en) 1991-04-26

Family

ID=17076243

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1241566A Pending JPH03102593A (en) 1989-09-18 1989-09-18 Ic memory card system

Country Status (1)

Country Link
JP (1) JPH03102593A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7654904B2 (en) 2002-11-15 2010-02-02 Nintendo Co., Ltd. Game machine, backup control program of game data and backup control method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57162193A (en) * 1981-03-29 1982-10-05 Fujitsu Ltd Large capacity memory device
JPS6275853A (en) * 1985-09-30 1987-04-07 Yaskawa Electric Mfg Co Ltd Split using system for memory

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57162193A (en) * 1981-03-29 1982-10-05 Fujitsu Ltd Large capacity memory device
JPS6275853A (en) * 1985-09-30 1987-04-07 Yaskawa Electric Mfg Co Ltd Split using system for memory

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7654904B2 (en) 2002-11-15 2010-02-02 Nintendo Co., Ltd. Game machine, backup control program of game data and backup control method

Similar Documents

Publication Publication Date Title
KR970001201B1 (en) Memory card device
US5513344A (en) Method of testing cache memories used for an information processing apparatus
US5864661A (en) IC memory card having flash memory
EP0569040A2 (en) Memory card device
EP0615193A1 (en) Memory card device
JPH05314019A (en) Memory card device
US5710734A (en) Semiconductor memory device and data writing method thereof
US20030051193A1 (en) Computer system with improved error detection
US20010032326A1 (en) Recording method and apparatus, transferring method and apparatus, reproducing method and apparatus, and recording medium
JPH03102593A (en) Ic memory card system
JPH0435780B2 (en)
JP2523007B2 (en) How to check the card reader / writer
JP2598056B2 (en) Portable electronic devices
JPH06119506A (en) Ic card
JPS6143387A (en) Information processing method of ic card
JPS62291135A (en) Cell information storage medium
JPH06139131A (en) Memory card device
JPH0116193Y2 (en)
JPH04152488A (en) Ic card
JPH03194682A (en) Portable electronic device
JPH05225406A (en) Ic card extension device
JPH05257732A (en) Test system for file memory
JPH06162285A (en) Ic card
JPH0782467B2 (en) Electronic device with integrated circuit cartridge
JPS6393059A (en) Memory card