+

JPS62135984A - IC card - Google Patents

IC card

Info

Publication number
JPS62135984A
JPS62135984A JP60276343A JP27634385A JPS62135984A JP S62135984 A JPS62135984 A JP S62135984A JP 60276343 A JP60276343 A JP 60276343A JP 27634385 A JP27634385 A JP 27634385A JP S62135984 A JPS62135984 A JP S62135984A
Authority
JP
Japan
Prior art keywords
write
memory address
address
limit
writes
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
JP60276343A
Other languages
Japanese (ja)
Inventor
Toshinori Kon
今 敏則
Tetsuo Yamaguchi
哲夫 山口
Masayuki Harada
雅之 原田
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP60276343A priority Critical patent/JPS62135984A/en
Publication of JPS62135984A publication Critical patent/JPS62135984A/en
Pending legal-status Critical Current

Links

Landscapes

  • Credit Cards Or The Like (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、情報を)11込んだり読増ったりするICカ
ートに関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an IC cart for loading and reading information.

従来の技術 従来、このFli(7)ICカートは、例えば、買い物
の決済カードさして用いる場合、事前に一定の金額を書
き込んでおき、支払いの度に残高を残高領域として決め
らねた特定のメモリ番地に書込むようになっている。こ
のように同一のメモリ番地への♀1込み処刑を多数回繰
返して行っていた。
Conventional technology Conventionally, when this Fli (7) IC cart is used as a payment card for shopping, for example, a certain amount of money is written in advance, and each time a payment is made, the balance is stored in a specific memory. It is designed to be written to the address. In this way, execution including ♀1 to the same memory address was repeated many times.

2 ・・− 発明が解決しようとする問題点 しかし、メモリ吉して電気的、1:込消去可能なEEP
ll、M (エレクトリカリイ イレーサブル プログ
ラマブル リードオンリイメモリ)を用いた場合、この
EET’+?、OMは、同一領域への書込回数が数千回
〜1万回程度しか保証できず、これ以上の回数で書き込
もうとする古、A14込みテークが保証されないという
問題があった。またICカーI’llそのメモリ容量が
16I(ピッ!・、若しくは64にヒ。
2...- Problems to be solved by the invention However, the memory is good and electrical, 1: Erasable EEP
When using ll, M (Electrically Erasable Programmable Read Only Memory), this EET'+? , OM has the problem that the number of writes to the same area can only be guaranteed to be approximately several thousand to 10,000 times, and that an A14 write take that attempts to write more than this number of times is not guaranteed. Also, the memory capacity of an IC car is 16I (beep!) or 64I.

トの大きさのものが実用化されているが、このメモリは
、利用の仕方によって(J1平均的に一様に書き込まれ
るのてit f、C(、ある特定のメモリ領域だけが頻
繁に繰り返し:1:き込才れ、その結果、上記のように
数千回〜1万f+j+目゛、゛度の書込限界寿命を越え
てしまうことがあった。例えば、ICカードを買い物の
決済カードとして用い、ある特定のメモリ領域に金額の
最新残給i (l’r報を繰り返し更新しながら書き込
んでいると、川に書込限界寿命を越えている場合があり
、この場合、新たな残高を7:き込もうとしても正しい
残高テークを書き込むこ3 ぺ− とができず、次にIcカートの残高テークを読み取った
時に誤ったデータが読み出され、ICカード装置の事故
の原因となっていた。
Although memory of the size of :1: As a result, as mentioned above, the writing life limit of several thousand to 10,000 f + j + ゛, ゛ degrees was exceeded.For example, when using an IC card as a payment card for shopping, If you are writing the latest balance i (l'r) of the amount in a specific memory area while repeatedly updating it, the writing limit lifespan may be exceeded, and in this case, the new balance 7: Even if you try to input the correct balance, you will not be able to write the correct balance, and the next time you read the IC card balance, incorrect data will be read, which may cause an accident with the IC card device. was.

本発明は、このような従来の問題点を解決するものであ
り、書込み限界寿命によって引き起こされるテークの誤
りを未然に防止することができるようにしたICカード
を提供しようとするものである。
The present invention solves these conventional problems and provides an IC card that can prevent take errors caused by the write life limit.

問題点を解決するための手段 そして上記問題点を解決するための本発明の技術的な手
段は、繰返し書込みメモリ番地領域に、順次計数される
書込回数と、この書込回数が所定の書込回数に達した場
合に新たな繰返し書込みメモリ番地を開くための書込限
界符号とが書込すれるように構成されたものである。
Means for Solving the Problems and Technical Means of the present invention for solving the above problems is to record the number of writes that are sequentially counted in the repetitive write memory address area, and the number of writes that are determined by a predetermined number of writes. It is configured such that a write limit code for opening a new memory address for repeated writing is written when the number of times of writing has been reached.

作    用 上記技術的手段による作用は次のようになる。For production The effects of the above technical means are as follows.

すなイつち、同一の特定の繰返し書込みメモリ番地に繰
返し病込みする際、書込回数を計数し、そのメモリ番地
領域にその都度、書込回数を同時に記録才る。そしてこ
C昌占誌回h 、1.1141,1.−、l: iイト
回l々と4−比較し、その・1−11付′を月:・CJ
(ノロ;1−4−検出し1.I:辻回数が限界書込回数
より少いl↓2′イ凹こは、そのメモリ番地領1.(に
約;返し居込み4行い、−91:込回数が限界書込回数
にjネし2だ場合に(、tlそのメモリ番地には書込み
を弾1)=−すると共に未使用の新たな繰返し書込みメ
モリ番地を開くための限界符号をA1:込む。
That is, when repeatedly writing to the same specific memory address, the number of writes is counted, and the number of writes is simultaneously recorded in the memory address area each time. And this C Chang Zhanshi Kaih, 1.1141, 1. -, l: 4-Compare with i times l and its ・1-11 attached' month: ・CJ
(Noro; 1-4-detected 1.I: The number of crossings is less than the limit number of writes l↓2'A dent is the memory address area 1. :If the number of writes is j plus 2 to the limit number of writes, (, tl, write to that memory address is 1) = - and set the limit code to open a new unused memory address for repeated writing to A1. : Crowded.

このように繰返し店込み処111が行われても、上記の
ように店込回数割砂機能と書込限W寿命検出機能と領域
管J111機能を4.1jた一11乙こ吉により、メモ
リ番地領域はその、I:込幽界1f命を−へえることな
く、従って全メモリ領域の中、市電領域が書込限界寿命
に達したため1こ、全((、かjl・111不備になる
不具合を避けることができ、全体として(1、数万回以
上の長期間の書込み処PIIに+11えることができる
Even if the store loading process 111 is performed repeatedly in this way, as described above, the loading frequency dividing function, write limit W life detection function, and area management J111 function can be combined with 4.1j and memory storage. The address area does not lose its life.Therefore, among all the memory areas, the streetcar area has reached its write limit life, so 1, all ((, or jl/111 is defective). can be avoided, and as a whole, it is possible to save +11 on the long-term writing process (1, tens of thousands of times or more) of PII.

実施例 以下、本発明の一実Mli例について図面を参照しなが
ら説明する。
EXAMPLE Hereinafter, an example of Mli of the present invention will be described with reference to the drawings.

第1図において、つ’ i:t h:返し)11込みを
行う第1の繰返し書込みメモリ番地、イは第10)Ft
″・返し)1!′5ベー。
In FIG. 1, tsu' i:t h: return 11) is the first repetitive write memory address, and a is the 10th) Ft.
″・Return) 1!′5 be.

き込みメモリ番地アが書込み限界に達した時に開かれる
第2の繰返し書込みメモリ番地である。つは第1の繰返
し書込みメモリ番地アの書込回数、工は第1の繰返し書
き込みメモリ番地アが書込限界寿命に達した時に書込ま
れる書込限界符号、オはこのICカードにより取引の発
生する都度、書込む情報の書込番地である。力はこのI
Cカードにより取引の発生する都度、変わる残高金額情
報である。キは情報書込番地オて表示される取引情報書
込メモリ番地で、りは取引情報中の日付、ケ1オ同じく
取引情報中の取引先コード、コは同じく取引情報中の取
引額である。また取引情報書込みメモリ番地キに続いて
メモリ番地が設けられている。
This is the second repeated write memory address that is opened when write memory address A reaches the write limit. 1 is the number of writes to the first repeated write memory address A, d is the write limit code written when the first repeated write memory address A reaches the write limit life, and 0 is the write limit code written when the first repeat write memory address A reaches the write limit life. This is the write address of information to be written each time it occurs. The power is this I
This is balance amount information that changes each time a transaction occurs with the C card. K is the transaction information write memory address displayed in the information write address, RI is the date in the transaction information, K1O is the supplier code also in the transaction information, and C is the transaction amount also in the transaction information. . Further, a memory address is provided following the transaction information write memory address.

次に上記実施例の動作について説明する。このICカー
トにより取引が発生すると、次の手順で取引情報をIC
カードに書込む。
Next, the operation of the above embodiment will be explained. When a transaction occurs using this IC cart, the transaction information is transferred to the IC card using the following steps.
Write on the card.

■ 第1の繰返し書き込みメモリ番地ア(この例の場合
には物理的な1番地を表わす)を読取る。
■ Read the first repeat write memory address A (representing physical address 1 in this example).

この場合、1つの番地で情報量は32バイト分6 八− 表わすこととする。In this case, the amount of information at one address is 32 bytes, 6-8 I will express it.

■ 書込限界回数工が店込まハているかどうか調べる。■ Check whether the write limit number of times is set.

書込限界ね号工が−91:込まれていない時は、この第
1の繰返し書き込みメモリ番地アは未だ繰返し書込み可
能であることを示している。
When the write limit number is not set to -91, it indicates that this first repetitive write memory address A is still capable of being repeatedly written.

■ 情報書込番地オを調べ、前回の取引情報を書込んだ
メモ11番地キを探す。
■ Check the information writing address O and look for the memo 11 where the previous transaction information was written.

■ 今回の+1′y、引楯報(11イ・1吉取引先コー
トと取引額)を取引情軒昌11込み、J 4B IJ番
地4−に続くメモリ番地に:書込む。
■ Write the current +1'y, transaction information (11i, 1kichi client court and transaction amount) to the memory address following J4B IJ address 4-, including transaction information Kensho 11.

■ 情報(1:込番地]を上記の今回の取引情報を−1
1込んだメモ11番1[ILにり瞥1Fする。
■ Information (1: including address) - 1 for the current transaction information above
1 memo number 11 1 [IL 1F.

■ 前回までの残品力から今回の取引額を差引き、新し
い残高きして更′niする。
■ Subtract the current transaction amount from the remaining balance from the previous transaction and write the new balance.

■ 書込回数つに1を加貌し、書込回数を更新する。同
時に(1:込β1ぐ界スf命に対して一定の余裕をみた
書込限界回数Nと上記+、14新後の書込回数つとを比
較するウラ〈Nであれば、第1の繰返し書込みメモリ番
地アは未だ繰返し病込み可能であることを示す。
■ Add 1 to the write count and update the write count. At the same time, compare the write limit number N with a certain margin for the world life (1: including β1) and the number of writes after 14 days above. If N, then the first repetition This indicates that write memory address A can still be repeatedly damaged.

7−=−、、。7-=-,,.

8・ 第1の綽・返し書込みメモ11番地−T′に上記
更新後のマ:込I4」]数つと情報書込番地オと残高力
を書込む。
8. Write the above-mentioned updated number, information write address O, and balance in the first Q/return write memo at address 11-T'.

以上の手順により今回の取引情報はICカードに71込
まれる。もしも、書込回数が書込限界回数Nと等しくな
った時には次の手順による。
Through the above procedure, the current transaction information is stored in the IC card. If the number of writes becomes equal to the limit number of writes N, the following procedure is followed.

■ 上記■の手順で、つ==−Nであれば、第1の繰返
し書込みメモリ番地アは、これ以上繰返し書込みしては
いけないことを示す。従って、書込限界符号上を更新し
て第1の繰返し書込みメモリ番地アに上記更新後の書込
回数つさ書込限界符号上と情報書込番地オと残高力を書
込む。
(2) In the procedure (2) above, if t==-N, it indicates that the first repeated write memory address A should not be repeatedly written any more. Therefore, the write limit code is updated and the number of writes after the update, the write limit code, the information write address O, and the balance are written in the first repetitive write memory address A.

a また未使用の第2の繰返し書込みメモリ番地イ(こ
の例の場合には物理的な2番地を表わす)を開き、新し
い書込回数と情報書込番地(この場合は上記■で示され
る情報書込番地)と残高(この場合も上記■で示される
情報書込番地)を書込む。書込限界符号は空白の才才に
しておき、この第2の繰返し書込みメモリ番地イは繰返
し書込み可能であることを示しておく。
a Also, open the unused second repeated write memory address A (in this example, it represents physical address 2), and write the new write count and information write address (in this case, the information indicated by ■ above). write address) and balance (also in this case, the information write address indicated by ■ above). The write limit code is set to a blank value to indicate that this second repetitive write memory address A can be repeatedly written.

以上の手順て1.1:込回於が限界に達した第1の繰返
しぐ:込み11(!番地−1′から次の第2の衿・返し
書込みメモリ番曲イへのり(rl+が行われる。もしも
、第]の綬返し11:込みメ士り番地アを読J反った時
に既に書込限界わカニが、1;込;[tlていた時には
次の手順による。
The above procedure 1.1: The first repetition when the writing limit has been reached. If the write limit is already 1;include;[tl when reading the address 11:included, then the following procedure will be used.

0 上記Q)の手順て店込限’/+′f1カニが既に書
込まれている場合には、続けてAr1の経返し書込みメ
モリ番地イを読取る。
0 In the procedure of Q) above, if the store limit '/+'f1 crab has already been written, then read the repeat write memory address A of Ar1.

◎ り降、上記■以吟と同様の処理を行う。◎ Descend, perform the same process as above ■.

もしも、第2の繰返し11F込みメモリ番地イの書込限
界符号が既につ1;込まれている場合には、更に続けて
、次のメモリ番地を11:込回数制御用として用いるこ
ともてきる。才だ第2の繰返し書込みメモリ番地イまて
で、本ICカートのtlを込み処f!1を終えることも
てきる。本ICカートを利用する目的により、メモリ番
地の使い方を決定すればよい。
If the write limit code at the second repetition 11F memory address A has already been written, the next memory address can be used to control the number of times 11F is written. . At the second repeated write memory address, insert the TL of this IC cart. I can even finish 1. How to use memory addresses can be determined depending on the purpose of using this IC cart.

発明の効果 以上の説明より明らかなように本発明によれば、繰返し
書込みメモリ番地領域に、l1r4次計数される9 べ
−7 書込回数と、この書込回数が所定の書込回数に達した場
合に新たな繰返し書込みメモリ番地を開くための書込限
界附号とが書込まれるように構成されている。このよう
に書込回数計数機能と書込限界寿命検出機能と書込回数
を書込む領域管理機能とを俯えているので、全体として
の書込み寿命を引き延ばすことができる。また領域管理
機能を備えることにより任意の病込み回数を以って、書
込み処FI+を終了することも可能であり、利用する目
的に合わせてその書込み回数を制御することができる。
Effects of the Invention As is clear from the above explanation, according to the present invention, the number of times of writing is counted in the l1r fourth order in the repetitive write memory address area, and the number of times of writing reaches a predetermined number of times of writing. In this case, a write limit number for opening a new write memory address is written. In this way, since the write count function, the write limit life detection function, and the area management function for writing the write count are taken into consideration, the overall write life can be extended. Furthermore, by providing an area management function, it is possible to terminate the writing process FI+ after an arbitrary number of failures, and the number of times of writing can be controlled according to the purpose of use.

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

図は本発明のICカートの一実施例を示すメモリ配信′
図である。 ア・・第1の繰返し書込みメモリ番地、イ・・・第2の
繰返し書込みメモリ番地、つ・・書込回数、工・・・(
1:込限界符号、オ・・・情報書込番地、力 残高、主
取引情報、り・・・取引情報の日付、ケ・・・取引情報
の取引先コート、コ・・・取引情報の取引額。
The figure shows an embodiment of the IC cart according to the present invention.
It is a diagram. A. First repeat write memory address, B... Second repeat write memory address, T... Number of writes, E... (
1: Including limit code, O... Information writing address, Power balance, main transaction information, R... Date of transaction information, K... Supplier code of transaction information, C... Transaction of transaction information amount.

Claims (1)

【特許請求の範囲】[Claims] 繰返し書込みメモリ番地領域に、順次計数される書込回
数と、この書込回数が所定の書込回数に達した場合に新
たな繰返し書込みメモリ番地を開くための書込限界符号
とが書込まれるように構成されたことを特徴とするIC
カード。
The number of writes that are counted sequentially and a write limit code for opening a new repeat write memory address when the number of writes reaches a predetermined number of writes are written in the repeat write memory address area. An IC characterized by being configured as follows.
card.
JP60276343A 1985-12-09 1985-12-09 IC card Pending JPS62135984A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60276343A JPS62135984A (en) 1985-12-09 1985-12-09 IC card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60276343A JPS62135984A (en) 1985-12-09 1985-12-09 IC card

Publications (1)

Publication Number Publication Date
JPS62135984A true JPS62135984A (en) 1987-06-18

Family

ID=17568109

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60276343A Pending JPS62135984A (en) 1985-12-09 1985-12-09 IC card

Country Status (1)

Country Link
JP (1) JPS62135984A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1988010479A1 (en) * 1987-06-19 1988-12-29 Fanuc Ltd Ic card and apparatus for monitoring the life of ic card
CN100410967C (en) * 2005-11-30 2008-08-13 财团法人工业技术研究院 Radio frequency volume label with embedded memory test function and test method thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS586596A (en) * 1981-07-02 1983-01-14 Toshiba Corp Memory life detection method
JPS58215794A (en) * 1982-06-08 1983-12-15 Toshiba Corp Non-volatile memory device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS586596A (en) * 1981-07-02 1983-01-14 Toshiba Corp Memory life detection method
JPS58215794A (en) * 1982-06-08 1983-12-15 Toshiba Corp Non-volatile memory device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1988010479A1 (en) * 1987-06-19 1988-12-29 Fanuc Ltd Ic card and apparatus for monitoring the life of ic card
CN100410967C (en) * 2005-11-30 2008-08-13 财团法人工业技术研究院 Radio frequency volume label with embedded memory test function and test method thereof

Similar Documents

Publication Publication Date Title
US5987478A (en) Virtual small block file manager for flash memory array
TWI221217B (en) Partial block data programming and reading operations in a non-volatile memory
JPH08138019A (en) Memory card and recording / reproducing / erasing method thereof
JPH0758500B2 (en) Portable electronic device
JPS6228297A (en) Integrated circuit card having reading means of update information and hysteresis information
TW200839780A (en) Register read mechanism
CN103914667B (en) Safety electrically erasable programmable read only memory (EEPROM) reading method and system thereof
JPH07306922A (en) IC memory card and method for inspecting the IC memory card
JPS59135698A (en) Eeprom device
JPS62135984A (en) IC card
JPS6336490A (en) Electronic cash register
CN100456263C (en) How to deal with bad blocks when using flash memory in tax-controlled cash registers
JP2808358B2 (en) IC card
JPS5977699A (en) IC card
CN113870931A (en) Data writing method, data reading method, data writing device, data reading device, electronic equipment and storage medium
JPS63219045A (en) IC card
JPH05100961A (en) Data storage system
JP2864288B2 (en) Error checking method for IC card
JPS603081A (en) IC card
CN107402887B (en) Counter in flash memory
JP2850049B2 (en) IC card
JPH0546488A (en) Memory card device
TWI811674B (en) Operation method of flash memory, system single chip and information processing device
JP2609645B2 (en) Portable electronic devices
JPS5998395A (en) Ic card
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载