JPS6154585A - Data writing system of ic card - Google Patents

Data writing system of ic card

Info

Publication number
JPS6154585A
JPS6154585A JP59176331A JP17633184A JPS6154585A JP S6154585 A JPS6154585 A JP S6154585A JP 59176331 A JP59176331 A JP 59176331A JP 17633184 A JP17633184 A JP 17633184A JP S6154585 A JPS6154585 A JP S6154585A
Authority
JP
Japan
Prior art keywords
time
writing
data
card
write
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
JP59176331A
Other languages
Japanese (ja)
Inventor
Giichi Yorimoto
寄本 義一
Noboru Matsuhashi
昇 松橋
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 JP59176331A priority Critical patent/JPS6154585A/en
Publication of JPS6154585A publication Critical patent/JPS6154585A/en
Pending legal-status Critical Current

Links

Landscapes

  • Credit Cards Or The Like (AREA)
  • Read Only Memory (AREA)

Abstract

PURPOSE:To shorten the data writing time with high accuracy by using an initial writing means for card containing a microcomputer, a verifying means, a rewriting means applying the routine processing and an additional writing means. CONSTITUTION:The first writing time t0 per byte is set shorter enough than the standard writing time and also at the writing enable time. In case it is decided the data is not satisfactorily accurate with the writing time t0, this time t0 is changed to the time t1(t1>t0). The time t1 is usually larger serveral times as much as the time t0. The stability of the data written to a PROM is subject to the total writing time with the fixed current value. Therefore the writing time of (n) times is increased up to t0+(n-1)t1 even though each writing time is kept at t1. Thus the satisfactory effect is secured from a rewriting action. The additional writing is carried out for a period of time equal to m(m>1) multiples as much as the time (nX5), where (t) and (n) show the writing time and the routine frequency respectively.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は、ICカードにおいて、特にその内蔵メモリE
Cへのデーター71Fき込み方式に関するものである。
[Detailed Description of the Invention] <Industrial Application Field> The present invention relates to an IC card, and particularly to a built-in memory E.
This relates to the method of writing data 71F into C.

〈従来の技術〉 近年、グラスチックカードにデータ記憶用メモリと、そ
の書き込みを制御するワンチップマイクロコンピュータ
(以下マイコンと記す)とを組み込んでなる、所Tf4
1 Cカードなるものが注目されている。
<Prior art> In recent years, Tf4 is a plastic card that is made up of a glass card incorporating a data storage memory and a one-chip microcomputer (hereinafter referred to as microcomputer) that controls the writing of data.
1 C cards are attracting attention.

このICカードのデータ記憶用メモリIC,例えばF 
ROMIC1外部から必要なデータを書き込む場合、書
き込み信号入力時間をある程度に長(”とれば、その時
間に従い、十分容量性のあるデータの書き込みを行なう
ことができる。そこで、1バイトのデータを)9:ぎ込
むための時間が、標準書さ込み時間として、メモIJ 
f Cにより決めらね、ているが、この標準時間にyl
(、t3じた害さ込みを行なうと、一度に多数バイトの
データ書き込みを行なおうとする際には、書き込み全体
ではがなり長い時間が必要となってしまう。
The data storage memory IC of this IC card, for example F
When writing necessary data from outside the ROMIC 1, it is necessary to take a certain amount of time to input the write signal ("If you take a certain amount of time to input the write signal, you can write data with sufficient capacity according to that time. Therefore, write 1 byte of data). : The time for writing is the standard writing time for memo IJ.
f It is not determined by C, but in this standard time yl
(, t3), the entire write operation will take a long time when attempting to write multiple bytes of data at once.

例えば、紫外綜消去型PRoMでは、標準書き込み時間
は50 m5ec程であるので、メモ1,110の全容
量の也き込みを行なうとすると、全書き込み時間は、 16I(ピット ;  50m5ecX2(148バ心
=102.4sec64J(ピット ;  50m5e
cX  8192z’(ト==409.6sec128
にピット :  50m5ecX16i4バイト==8
19.2secとなる。
For example, the standard write time for an ultraviolet erase type PRoM is about 50 m5ec, so if you want to write the entire capacity of memo 1,110, the total write time is 16I (pit; 50m5ecX2 (148 bar center)). =102.4sec64J (pit; 50m5e
cX 8192z'(t==409.6sec128
Pit: 50m5ecX16i4byte==8
The time is 19.2 seconds.

また、電気消去型FROMの一例では1バイトあたり2
0 m5ec %RAMでは100〜300m5ec程
度と、書き込み速度が高められるが、こういったメモリ
ICを使用した場合、ICカードとしては、記憶データ
の保存性の面では、機能的に劣ったものとなってしまう
In addition, in an example of electrically erasable FROM, each byte has 2
0 m5ec % RAM can increase the writing speed to about 100 to 300 m5ec, but when such a memory IC is used, it is functionally inferior to an IC card in terms of storage data storage performance. I end up.

〈本発明が解決しようとする問題点〉 fCカード内の1) It OMへデータを書き込む際
に、1バイトに対して最初、例えばI Usec  と
いった、基準書き込み時間より十分短い時間で書き込み
を行ない、ベリファイにより十分なレベルで正確に書か
れていると判断さね、なかった場合には、該判断さh2
るまで、またはくり返し書き込み回数が予め設定された
最大−11!、ぎ込み回数に達するまで、害ぎ込み時間
を最初の書き込み時間の数倍、例えば1rrLsCcの
2倍の2m5ecといった時間に設定変更してくり返す
再書き込みルーチンを設け、該いずれかの条件を満たし
た後に、くり返し書き込み回数 、と書き込み時間1t
によりnXtのm1音、例えば4倍の追い書き込みを行
なうことにより、短かい時間で、しかも十分なレベルで
正確な書き込みを行うICカードのデータ書き込み方式
を提供するものである。
<Problems to be Solved by the Present Invention> 1) When writing data to It OM in the fC card, first write to one byte in a time sufficiently shorter than the standard write time, such as I Usec, It is determined by verification that it has been written accurately at a sufficient level. If not, it is determined that the
The maximum number of times you can write repeatedly is -11! , a re-write routine is provided that repeats the write-in time by changing the setting to several times the initial write time, such as 2m5ec, which is twice 1rrLsCc, until one of the conditions is met. After that, the number of times of repeated writing, and the writing time of 1t
The present invention provides an IC card data writing method that performs accurate writing at a sufficient level in a short time by performing additional writing of nXt's m1 sound, for example, four times as much.

〈問題点を解決するための手段及び作用〉以下、本発明
を図面を参照しながら詳細に説明する。
<Means and operations for solving the problems> The present invention will be described in detail below with reference to the drawings.

ICカードの概略図である第2図を参照すると。Referring to FIG. 2, which is a schematic diagram of an IC card.

通常用いられているキャッシュカード大の大きさ、及び
厚さのカードの中の一部にワンチップマイコン(20)
、及びデータを記憶するR OM 00)が組み込まれ
ている。さらに外部の端末装置とのデータ交信を行なう
だめの外部接続端子が複数個設けられている。
A one-chip microcomputer (20) is installed in a part of the card that is the size and thickness of a commonly used cash card.
, and ROM 00) for storing data. Furthermore, a plurality of external connection terminals for data communication with external terminal devices are provided.

第3図は本発明に用いるICカードの機能ブロック[C
−、lnル。同図を参照すると、ワンチップマイコン(
20)ハ、ハス線ヲ介シて、インターフェース(221
,(29+、 CP U(24+、RA M (2G+
、ROM (28) カらナラている。データ記憶用の
ROM f30)は、ワンチップマイコン(2cIlの
インターフェース四と、データ線、アドレス線、プログ
ラムモー−ド線により接続されている。
FIG. 3 shows the functional blocks of the IC card used in the present invention [C
-, ln le. Referring to the same figure, one-chip microcontroller (
20) C. Interface (221) via the lotus wire.
, (29+, CPU (24+, RAM (2G+)
, ROM (28) It's empty. A ROM f30 for data storage is connected to an interface 4 of a one-chip microcomputer (2cIl) by a data line, an address line, and a program mode line.

インターフェース(曝は外部端末装置用のものであり、
外部接続端子(121により、該端末装置に接続される
Interface (exposed is for external terminal device,
It is connected to the terminal device through an external connection terminal (121).

ROM(281に書き込まれているプログラムにより、
CP U C24)での制御を受けて、外部端末装置と
、ROM (301の間で、データの書き込み、読み取
り等の処理が行なわれる。
By the program written in ROM (281),
Processing such as data writing and reading is performed between the external terminal device and the ROM (301) under the control of the CPU (301).

次に、本発明による具体的な動作について、そのフロー
チャートである第1図を参照して説明する。
Next, specific operations according to the present invention will be explained with reference to FIG. 1, which is a flowchart thereof.

ROM C30+へのデータ書き込みを行なう際には、
まず、端末装置501よりICカードへ、書き込み動作
電圧vpp  が印加される。次にステップs1により
、アドレス線を通じて、該ROM、(301の所定書き
込みアドレスが指定すれる。
When writing data to ROM C30+,
First, a write operation voltage vpp is applied from the terminal device 501 to the IC card. Next, in step s1, a predetermined write address of the ROM (301) is specified through the address line.

次に、ステップS2により、初回の書き込みを行なうと
さの、1バイトあたりの書き込み時間t。を設定する。
Next, in step S2, the write time t per byte is determined when the first write is performed. Set.

ここでt。は、標準書き込み時間より十分に短かく、か
つ、ある程度、書き込みが可能であると見込まれる時間
でなければならない。本実施例ではt。=1msecと
した。ステップS、においては、予め設定しておいた。
Here t. must be sufficiently shorter than the standard writing time, and must be a time in which writing is expected to be possible to some extent. In this example, t. =1 msec. In step S, the settings have been made in advance.

書き込み回数カウンタに対して、そのカウンタデータを
クリアしておく。このカウンタは、ステップS、を通る
毎に1ずつ加算される。次のステップS、で、該ステッ
プS2で設定された該書き込み時間t。に従い、初回の
書き込みが実行さね、る。
Clear the counter data for the write count counter. This counter is incremented by 1 each time step S is passed. In the next step S, the write time t set in step S2 is determined. The first write will be performed according to the instructions.

ここで、初回の書き込み実行、すなわち、toによる書
き込み実行により、データか十分かつ正確に書き込めた
と判定されなかった際には、ステップSoにより、8ぎ
込み時間はtlに設定変更される。
Here, if it is not determined that the data has been written sufficiently and accurately in the first write execution, that is, in the write execution by to, the writing time is changed to tl in step So.

ここにtlはt。より長(、通常数倍とすればよい。Here tl is t. longer (usually several times longer).

本実施例では2倍とし、すなわちtl 二2 m5ec
とした。
In this example, it is doubled, that is, tl 22 m5ec
And so.

ここで、書き込み回数;nb″′−増える毎に書き込み
時間も、例えば+i X tIのように増加させること
も考えられるが、通常、F ROMの書き込みデータの
安定性は、注入さねる電荷量、すなわち、一定の電流値
の下では書さ込み時間の累計によるので、−回毎の書き
込み時間がtlのままでも、11回まで書き込みを行な
えば、t、+(n−1)j、と増加していくので、再書
き込みの効果は充分得らね、ろと考えた。
Here, it is possible to increase the write time every time the number of writes increases; nb'''-, for example, by +i In other words, under a constant current value, the total writing time depends on the total writing time, so even if the writing time for each -th time remains tl, if writing is performed up to 11 times, it will increase to t, + (n-1)j. Because of this, I thought that rewriting would not be effective enough.

該ステップS。におけるベリファイチェックによりデー
タが十分かつ正確に書き込まれたと判定さルだか、もし
くは、ステップs8により、書き込み回数が最大書き込
み回数値に等しいと判定さね、た場合、ステップS7に
より追い書ざ込みを行う。
The step S. If it is determined that the data has been written sufficiently and accurately by the verify check in step s8, or if it is not determined in step s8 that the number of writes is equal to the maximum number of writes, additional writing is performed in step S7. .

追い告ぎ込みは、データの確実性を得るためのもので、
書き込み時間:[、ルーチン回数;nとすると、n X
 tをさらにm倍した時間だけ行なう。
The catch-up is to obtain data certainty.
Writing time: [, Number of routines; n, then n X
The process is performed for a time that is t multiplied by m.

(本実施例では、=4)従って、追い書き込み時間は7
71XnXt となるが、本発明において、この追い書
き込みは1時間;tのパルスを771Xn回送るのでは
なく、時間;m X n X tを1パルスとして与え
る。これは、短かいパルスを数多く送ることによる信号
障害や、各パルスの立ち上がりの際の時定数による有効
書き込み時間の損失等のため、長い1パルスを与えたほ
うがより有効な追い書き込みが行なえることによる。
(In this example, = 4) Therefore, the additional write time is 7
71XnXt However, in the present invention, this additional writing does not send 771Xn pulses of 1 hour; t, but gives time of m X n X t as one pulse. This is because sending a large number of short pulses can cause signal disturbances, and loss of effective writing time due to the time constant at the rise of each pulse, so it is more effective to perform additional writing by sending one long pulse. by.

さて、追い書き込みまでを終えた時点で、書ご込み時間
の累計:ts は、初回書き込み、再書さ込み、及び追
い書き込みの各々の時間の和となる。
Now, when the additional writing is completed, the total writing time: ts is the sum of the times for the initial writing, rewriting, and additional writing.

各々の書き込み時間を決めるパラメータ、t、n、6、
mの値は、いずれも、小さいほど書き込み時間の短縮が
計ね1、犬きいほど碧ぎ込まれるデータの安定性が増す
が、書き込み回数;nがn−Q−1のときのts  は
標鴎書き込み時間より短く、nが0石のときの【Sは標
準書き込み時間より長いか等しくなるように、各パラメ
ータを設定すればよい。
Parameters that determine each writing time, t, n, 6,
In both cases, the smaller the value of m, the shorter the writing time1, and the more stable the data is inserted, but the number of writes; ts when n is n-Q-1 is less than the standard value. Each parameter may be set so that it is shorter than the gull writing time and [S is longer than or equal to the standard writing time when n is 0 stones.

〈発明の効果〉 このようにしてICカードのデータ書き込み方式を、初
(g)−gき込み手段、ベリファイ手段、ルーチン処理
による五書込手段、≠追い書ぎ込み手段により書さ込む
方式とすることにより、標準時間による書き込みにくら
べて、書き込み時間の短編を、その正確性を失なわず行
なうことが出来、きわめてすぐれた効果を生ずるもので
ある。
<Effects of the Invention> In this way, the data writing method for an IC card can be changed to a method in which data is written using the initial (g)-g writing means, the verifying means, the five writing means using routine processing, and the ≠ additional writing means. By doing so, compared to writing in standard time, it is possible to write in a shorter time without losing accuracy, and this produces an extremely superior effect.

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

第1図は本発明による書き込み方式を示すフローチャー
ト図、第2図はICカードの概略説明図、第3図はIC
カードのブロック図の説明図。 (10)・・・ICカード   (121・・・外部接
続端子c2G・・・ワンチップマイコン (22+、 
12!Jl゛°゛インターフエース        (
24)・・・CPU(26)・・・11 A M   
        (28+・・−I’tOM(30I・
・・外部a OM
Figure 1 is a flowchart showing the writing method according to the present invention, Figure 2 is a schematic explanatory diagram of an IC card, and Figure 3 is an IC card.
An explanatory diagram of a block diagram of a card. (10)...IC card (121...External connection terminal c2G...One-chip microcomputer (22+,
12! Jl゛°゛Interface (
24)...CPU(26)...11 AM
(28+...-I'tOM(30I・
・・External a OM

Claims (1)

【特許請求の範囲】 1) カード内に、データ記憶用半導体メモリー(P−
ROM)、該メモリーの書込み、読み出し制御等を行な
うワンチップマイコンを設けたICカードにおいて、 標準書込時間より十分短かい時間t_0でデータ書込を
行なう初回書込手段と、 該書込んだデータと、端末側のデータとの比較を行ない
、十分書込めたかどうかの判断を行なうベリファイ手段
と、 該ベリファイで十分書込めないと判断されたら、最高n
e回までルーチン処理をくり返して、該t_0より大き
いt_1時間で再書込みを行なう再書込手段と、 最後に、初回書込み時間t_0再書込時間t_1より十
分程度大きい時間での追い書込を行なう追い書込手段と
、 によりデータの正確で、迅速な書込を行なうICカード
のデータ書込方式。
[Claims] 1) A data storage semiconductor memory (P-
ROM), an IC card equipped with a one-chip microcomputer that controls writing and reading of the memory, an initial writing means for writing data in a time t_0 that is sufficiently shorter than the standard writing time, and the written data. and a verification means that compares the data with the data on the terminal side and determines whether sufficient writing has been performed.
A rewriting means repeats the routine process up to e times and performs rewriting in time t_1, which is longer than the t_0, and finally, performs additional writing in a time sufficiently larger than the initial writing time t_0 and rewriting time t_1. An IC card data writing method that writes data accurately and quickly using additional writing means and.
JP59176331A 1984-08-24 1984-08-24 Data writing system of ic card Pending JPS6154585A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59176331A JPS6154585A (en) 1984-08-24 1984-08-24 Data writing system of ic card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59176331A JPS6154585A (en) 1984-08-24 1984-08-24 Data writing system of ic card

Publications (1)

Publication Number Publication Date
JPS6154585A true JPS6154585A (en) 1986-03-18

Family

ID=16011719

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59176331A Pending JPS6154585A (en) 1984-08-24 1984-08-24 Data writing system of ic card

Country Status (1)

Country Link
JP (1) JPS6154585A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6325893A (en) * 1986-06-27 1988-02-03 エスジェーエス―トムソン ミクロエレクトロニクス ソシエテ アノニム Programming of data on electrically programmable rom
JPS63255900A (en) * 1987-04-13 1988-10-24 Nec Corp Writing method for writable reading exclusive-use memory
JPS63266698A (en) * 1987-04-24 1988-11-02 Hitachi Ltd Microcomputer

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS542633A (en) * 1977-06-08 1979-01-10 Mitsubishi Electric Corp Writing method to nonvoltile memory
JPS5727493A (en) * 1980-07-24 1982-02-13 Fujitsu Ltd Semiconductor storage device and its write-in method
JPS59110096A (en) * 1982-12-13 1984-06-25 Mitsubishi Electric Corp Nonvolatile semiconductor memory device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS542633A (en) * 1977-06-08 1979-01-10 Mitsubishi Electric Corp Writing method to nonvoltile memory
JPS5727493A (en) * 1980-07-24 1982-02-13 Fujitsu Ltd Semiconductor storage device and its write-in method
JPS59110096A (en) * 1982-12-13 1984-06-25 Mitsubishi Electric Corp Nonvolatile semiconductor memory device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6325893A (en) * 1986-06-27 1988-02-03 エスジェーエス―トムソン ミクロエレクトロニクス ソシエテ アノニム Programming of data on electrically programmable rom
JPS63255900A (en) * 1987-04-13 1988-10-24 Nec Corp Writing method for writable reading exclusive-use memory
JPS63266698A (en) * 1987-04-24 1988-11-02 Hitachi Ltd Microcomputer

Similar Documents

Publication Publication Date Title
KR100290195B1 (en) Nonvolatile memory device
JPH05233464A (en) Method for rewriting data in eeprom and eeprom card
JPS6325893A (en) Programming of data on electrically programmable rom
US7590793B2 (en) Data access controlling method in flash memory and data access controlling program
JPS6154585A (en) Data writing system of ic card
JPH053634B2 (en)
JPS58169395A (en) Rewritable read-only memory controlling system
US5261110A (en) System for performing writes to non-volatile memory elements in a minimal time
JPS622399B2 (en)
JPH04157699A (en) Preliminary writing method for flash erasure-type e2 prom
JPS6154584A (en) Data writing system of ic card
US6381175B2 (en) Method and system for validating flash memory
JPH0883492A (en) Nonvolatile semiconductor storage device and erasing method therefor
KR20040084401A (en) Method of erasing a flash memory
JPS6015896A (en) High speed write system of memory device
JP2524321Y2 (en) IC card
JPS62205599A (en) Read only memory circuit capable of writing
JPS62289999A (en) Data writing method
JPS5987568A (en) Ic card
JPH0512511A (en) Ic card and method for changing application program for ic card
JP2003099333A (en) Management system for flash memory
JPS62197995A (en) Memory writing and erasing device
KR19990057837A (en) Unit for subtracting amount of money using tag memory and its method
JP2798957B2 (en) Portable electronic devices
JPS62254248A (en) Ic card writing and reading device