JP2822357B2 - Vending machine compatible with IC card - Google Patents

Vending machine compatible with IC card

Info

Publication number
JP2822357B2
JP2822357B2 JP3007325A JP732591A JP2822357B2 JP 2822357 B2 JP2822357 B2 JP 2822357B2 JP 3007325 A JP3007325 A JP 3007325A JP 732591 A JP732591 A JP 732591A JP 2822357 B2 JP2822357 B2 JP 2822357B2
Authority
JP
Japan
Prior art keywords
vending machine
card
rewrites
total number
prom
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
JP3007325A
Other languages
Japanese (ja)
Other versions
JPH04241087A (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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP3007325A priority Critical patent/JP2822357B2/en
Publication of JPH04241087A publication Critical patent/JPH04241087A/en
Application granted granted Critical
Publication of JP2822357B2 publication Critical patent/JP2822357B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Time Recorders, Dirve Recorders, Access Control (AREA)
  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明はICカードを例え
ば顧客が商品購入用のプリペイドカードとして、あるい
は自動販売機の運用者が売上集計用のカードとして利用
することができるICカード対応自動販売機(以下自動
販売機を自販機とも略記する)であって、特に高い信頼
性でICカードを使用する機能を備えたICカード対応
自動販売機に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a vending machine compatible with an IC card which can be used as, for example, a prepaid card for a customer to purchase a product or a vending machine operator as a card for counting sales. The present invention relates to a vending machine which is capable of using an IC card with high reliability.

【0002】なお以下各図において同一の符号は同一も
しくは相当部分を示す。
[0002] In the drawings, the same reference numerals indicate the same or corresponding parts.

【0003】[0003]

【従来の技術】従来のICカード対応自販機においては
ICカードのメモリを何回書換(消去,書込)したかの
判定制御を行っておらず、またメモリ書換の寿命回数に
達したか否かの表示等の出力手段を有していない。
2. Description of the Related Art In a conventional vending machine compatible with an IC card, control for determining how many times the memory of the IC card has been rewritten (erased or written) is not performed, and whether or not the life of the memory rewriting has been reached is determined. It does not have output means such as display.

【0004】[0004]

【発明が解決しようとする課題】しかしながらこのよう
な従来のICカード対応自販機ではICカードのメモリ
に電気的消去書込可能なPROMとしてE2 PROMを
使用している場合、E2PROMの特性上、消去,書換
回数には寿命があるが、この寿命には特に制御上関与し
ていない。
However, in such a conventional vending machine for an IC card, when an E2 PROM is used as an electrically erasable and writable PROM in the memory of the IC card, erasing and erasing operations are not possible due to the characteristics of the E2 PROM. Although the number of rewrites has a lifetime, this lifetime is not particularly involved in control.

【0005】そこで本発明はこのE2 PROMのメモリ
書換累計回数を判定し、寿命に達したか否かを外部に表
示等で出力し、ICカード利用者にカード再発行等の勧
告ができるようなICカード対応自販機を提供すること
を課題とする。
Accordingly, the present invention determines the total number of times of rewriting the memory of the E2 PROM, and outputs whether or not the end of the life has been reached to an external display or the like so that the IC card user can be advised of reissuing the card. It is an object to provide a vending machine compatible with an IC card.

【0006】[0006]

【課題を解決するための手段】この課題を解決するため
に請求項1の自動販売機は、『商品購入用のデータまた
は自動販売機の運用上のデータを格納するメモリとして
E2 PROM(6など)を用いたICカード(1など)
を読み書きし得る手段(ICカードリーダ/ライタ8な
ど)を備えたICカード対応自動販売機(7など)にお
いて、前記E2 PROMの書換の累計回数(6aなど)
をこのICカード内のCPU(5など)を介して該E2
PROM内に記録させ、前記自動販売機は前記書換累計
回数を演算する手段と、前記書換累計回数が前記所定回
数を越えたか否かを判定する手段とを備え、この書換累
計回数が所定回数を越えたときは(書込不可表示手段1
1aなどを介し、外部表示手段14などへ)その旨を表
示する』ようにし、請求項2の自動販売機では、請求項
1の自動販売機において、『前記ICカードは前記書換
累計回数を演算する手段を備え、前記自動販売機は前記
書換累計回数が前記所定回数を越えたか否かを判定する
手段を備えた』ものとし、請求項3の自動販売機では、
請求項1の自動販売機において、『前記自動販売機は前
記書換累計回数を演算する手段を備え、前記ICカード
は前記書換累計回数が前記所定回数を越えたか否かを判
定する手段を備えた』ものとし、この構成において、I
Cカード内にメモリを消去,書換した回数を記憶し、回
数寿命の判定基準値を自販機内またはICカード内に設
け、その判定制御を自販機またはICカードで行い、そ
の結果を自販機により外部表示することにより、ICカ
ード利用者がICカードの寿命予告を知るようにする。
In order to solve this problem, a vending machine according to a first aspect of the present invention comprises an E2 PROM (6 or the like) as a memory for storing data for purchasing goods or operational data of the vending machine. ) IC card (1 etc.)
In an IC card compatible vending machine (e.g., 7) provided with a means (e.g., IC card reader / writer 8) capable of reading and writing data, the total number of times of rewriting the E2 PROM (e.g., 6a)
Through the CPU (5 or the like) in the IC card.
The vending machine is provided with means for calculating the total number of rewrites, and means for determining whether or not the total number of rewrites exceeds the predetermined number. If it is exceeded (writable display means 1
1a or the like), the display is displayed on the external display means 14 or the like). In the vending machine according to claim 2, the vending machine according to claim 1 is configured to calculate "the IC card calculates the total number of times of rewriting. Means for determining whether or not the cumulative number of rewrites has exceeded the predetermined number of times. "In the vending machine of claim 3,
2. The vending machine according to claim 1, wherein the vending machine includes a unit that calculates the total number of rewrites, and the IC card includes a unit that determines whether the total number of rewrites exceeds the predetermined number. In this configuration, I
The number of times the memory has been erased and rewritten is stored in the C card, and a judgment reference value for the number life is provided in the vending machine or the IC card. The judgment control is performed by the vending machine or the IC card, and the result is externally displayed by the vending machine. This allows the IC card user to know the life expectancy of the IC card.

【0007】[0007]

【発明の実施の形態】以下図1ないし図4に基づいて本
発明の実施例を説明する。図1は本発明の実施例として
の構成を示すブロック図である。図1において、1はI
Cカード、2はこのカード1内のICチップ3はICチ
ップ内の内部回路、7は自販機である。4はこの内部回
路3内の対自販機インタフェース、5は同じくCPU、
6は同じくE2 PROMである。また6aはこのE2 P
ROM6内の所定の領域に書込まれる当該のE2 PRO
Mの累計の書換回数である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS. FIG. 1 is a block diagram showing a configuration as an embodiment of the present invention. In FIG. 1, 1 is I
A C card 2, an IC chip 3 in the card 1, an internal circuit in the IC chip, and a vending machine 7. 4 is a vending machine interface in the internal circuit 3, 5 is a CPU,
Reference numeral 6 denotes an E2 PROM. 6a is this E2P
The E2 PRO is written to a predetermined area in the ROM 6.
This is the total number of rewrites of M.

【0008】次に7は自販機、8は自販機7内のICカ
ードのリーダ/ライタ(カードR/Wとも略記する)、
13は同じく自販機制御部、14は自販機7に取付けら
れ外部への表示を行うための外部表示手段である。次に
10は自販機制御部13内に設けられたCPU、11は
同じくROM、12は同じくRAMである。また11a
はROM11内のソフトウェアとしての後述の書込不可
表示手段である。
Next, 7 is a vending machine, 8 is a reader / writer of an IC card in the vending machine 7 (abbreviated as card R / W),
Reference numeral 13 denotes a vending machine control unit, and reference numeral 14 denotes an external display unit attached to the vending machine 7 for displaying an external display. Next, reference numeral 10 denotes a CPU provided in the vending machine control unit 13, reference numeral 11 denotes a ROM, and reference numeral 12 denotes a RAM. Also 11a
Denotes write-disabled display means described later as software in the ROM 11.

【0009】CPU5とE2 PROM6を内蔵したIC
カード1は自販機7のICカードリーダ/ライタ8と対
自販機インタフェース4を介して接続され、信号の授受
を行う。自販機7はICカード1から読み込んだデータ
をCPU10で処理し外部表示手段14へ出力する。次
に図2ないし図4は夫々本発明の第1ないし第3の実施
例としての、図1の動作説明用のフローチャートであ
る。以下図1を参照しつつ図2ないし図4を説明する。
なお以下21〜44の符号は図2〜図4のステップを示
す。
An IC having a built-in CPU 5 and E2 PROM 6
The card 1 is connected to an IC card reader / writer 8 of a vending machine 7 via a vending machine interface 4 to exchange signals. The vending machine 7 processes the data read from the IC card 1 by the CPU 10 and outputs the processed data to the external display means 14. Next, FIGS. 2 to 4 are flow charts for explaining the operation of FIG. 1 as first to third embodiments of the present invention, respectively. 2 to 4 will be described below with reference to FIG.
In the following, reference numerals 21 to 44 indicate steps in FIGS.

【0010】(1)第1の実施例について: 図2において自販機7のCPU10はICカード1内の
データをICカードR/W8を介して読み込む(21)。
その読込データの中にはICカード1内のメモリ(E2
PROM)6で記憶していた、このICカードメモリ6
の書込回数6aがあり、この値を変数xとする(22)。
自販機のCPU10は予め定めておいた定格書換回数a
と変数xとの大,小を比較し(23)、値xが定格値aを
越えている場合(分岐Y)、書込不可表示手段11を介
しこれ以上ICカード1への書込,書換が不可であるこ
とを外部表示手段14に表示する(27)。値xが定格a
以内であれば(23,分岐N)、何らかの処理を行い(2
4)、ICカード1のE2 PROM6内に、そのCPU
5を介し今回書換数を加算した累計の書換回数xを書換
回数6aとして当該メモリ領域へ書込む。
(1) First Embodiment: In FIG. 2, the CPU 10 of the vending machine 7 reads data in the IC card 1 via the IC card R / W 8 (21).
The read data includes the memory (E2
This IC card memory 6 stored in the PROM 6
And this value is set as a variable x (22).
The CPU 10 of the vending machine has a predetermined rated rewriting number a
The value x is compared with the variable x (23). If the value x exceeds the rated value a (branch Y), further writing and rewriting to the IC card 1 via the non-writable display means 11 are performed. Is displayed on the external display means 14 (27). Value x is rated a
If it is within (23, branch N), some processing is performed (2
4) The CPU in the E2 PROM 6 of the IC card 1
The total number of times of rewriting x obtained by adding the number of times of rewriting this time via 5 is written to the memory area as the number of times of rewriting 6a.

【0011】(2)第2の実施例について: 図3において、前記第1の実施例(図2)と異なるとこ
ろは、第1の実施例では書換回数を自販機で加算演算
し、その結果をICカードのメモリ書換回数6aへ書込
んでいたが、本第2の実施例では自販機がICカードメ
モリ6を書換えた回数をICカード1のCPU5自身で
管理し、書換回数の加算をICカードのCPU5が行っ
て、自身に属するE2 PROM6内にその累計加算値を
書込回数6aとして書込む(31)。但し変数xが定格値
aを越えたか否かの判定は第1の実施例と同様自販機側
で行う。
(2) Regarding the second embodiment: FIG. 3 is different from the first embodiment (FIG. 2) in that in the first embodiment, the number of rewrites is calculated by a vending machine, and the result is calculated. In the second embodiment, the number of times the vending machine has rewritten the IC card memory 6 is managed by the CPU 5 of the IC card 1 itself, and the addition of the number of times of rewriting is performed in the IC card. The CPU 5 writes the total sum as the number of times of writing 6a in the E2 PROM 6 belonging to itself (31). However, whether or not the variable x has exceeded the rated value a is determined on the vending machine side as in the first embodiment.

【0012】(3)第3の実施例について: 図4において、前記第1の実施例(図2)と異なるとこ
ろは、第1の実施例では書換回数の値xが定格回数aに
達したか否かを自販機側で判定しているが、本第3の実
施例では書換回数が定格回数に達しているか否かの判定
はICカード1内のCPU5で行っており(42)、その
判定結果に応じて自販機に書換不可信号を送信したり
(43)、書換許可信号を送信したりする(44)。自販機
はその判定結果を読込み(21)、以降の処理を書換許可
であれば(41,分岐Y)、処理を行うステップ24側
へ、また書換不許可であれば(41,分岐N)、書込不
可の外部表示を行うステップ27の側へ分岐させてい
る。但しこの第3の実施例では書換回数xの累計加算は
自販機側で行う(25)。
(3) Third Embodiment: FIG. 4 is different from the first embodiment (FIG. 2) in that the value x of the number of rewrites in the first embodiment has reached the rated number a. Although the vending machine determines whether or not the number of rewrites has reached the rated number in the third embodiment, the CPU 5 in the IC card 1 determines whether or not the number of rewrites has reached the rated number (42). According to the result, a rewrite disable signal is transmitted to the vending machine (43), and a rewrite permission signal is transmitted (44). The vending machine reads the determination result (21), and if the subsequent processing is permitted to be rewritten (41, branch Y), goes to the step 24 where the processing is performed. The process branches to step 27 where an external display indicating that the content cannot be inserted is made. However, in the third embodiment, the cumulative addition of the number of times of rewriting x is performed on the vending machine side (25).

【0013】[0013]

【発明の効果】本発明によればメモリとしてE2 PRO
Mを持つICカードを利用する自販機において、ICカ
ードのメモリ(E2 PROM)の書換累計回数をE2 P
ROM内に書込むと共に、累積加算の演算や、この累積
加算回数がICカードのメモリの利用可能な限界回数に
達したか否かを判定を自販機またはICカードで行わ
せ、前記限界回数に達したときはその旨を自販機に表示
させるようにしたので、ICカードのE2 PROMメモ
リの寿命を察知し、利用者に案内できる効果が得られ
る。
According to the present invention, E2 PRO is used as a memory.
In a vending machine using an IC card having an M, the total number of rewrites of the memory (E2 PROM) of the IC card is expressed by E2 P
At the same time as writing the data in the ROM, the vending machine or the IC card makes the vending machine or the IC card determine the cumulative addition operation and determine whether or not the cumulative addition number has reached the available limit number of the memory of the IC card. When this is done, the fact is displayed on the vending machine, so that the effect that the life of the E2 PROM memory of the IC card can be detected and guided to the user can be obtained.

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

【図1】本発明の実施例としての構成を示すブロック図FIG. 1 is a block diagram showing a configuration as an embodiment of the present invention.

【図2】本発明の第1の実施例としての動作説明用のフ
ローチャート
FIG. 2 is a flowchart for explaining an operation according to the first embodiment of the present invention;

【図3】本発明の第2の実施例としての動作説明用のフ
ローチャート
FIG. 3 is a flowchart for explaining an operation according to a second embodiment of the present invention;

【図4】本発明の第3の実施例としての動作説明用のフ
ローチャート
FIG. 4 is a flowchart for explaining an operation according to a third embodiment of the present invention;

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

1 ICカード 2 ICチップ 3 内部回路 4 対自販機インタフェース 5 CPU 6 E2 PROM 6a 書換回数 7 自販機 8 ICカードリード/ライタ 9 インタフェース 10 CPU 11 ROM 11a 書込不可表示手段 12 RAM 13 自販機制御部 14 外部表示手段 DESCRIPTION OF SYMBOLS 1 IC card 2 IC chip 3 Internal circuit 4 Vending machine interface 5 CPU 6 E2 PROM 6a Number of times of rewriting 7 Vending machine 8 IC card read / writer 9 Interface 10 CPU 11 ROM 11a Write disable display means 12 RAM 13 Vending machine control unit 14 External display means

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】商品購入用のデータまたは自動販売機の運
用上のデータを格納するメモリとしてE2 PROMを用
いたICカードを読み書きし得る手段を備えたICカー
ド対応自動販売機において、 前記E2 PROMの書換の累計回数をこのICカード内
のCPUを介して該E2 PROM内に記録させ、 前記自動販売機は前記書換累計回数を演算する手段と、
前記書換累計回数が前記所定回数を越えたか否かを判定
する手段とを備え、 この書換累計回数が所定回数を越えたときはその旨を表
示することを特徴とするICカード対応自動販売機。
1. An IC card-compatible vending machine comprising means for reading and writing an IC card using an E2 PROM as a memory for storing data for purchasing goods or operational data of a vending machine, wherein the E2 PROM And the vending machine calculates the total number of rewrites in the E2PROM via the CPU in the IC card.
Means for determining whether or not the total number of rewrites has exceeded the predetermined number, and when the total number of rewrites has exceeded the predetermined number, an indication to that effect is displayed.
【請求項2】請求項1に記載の自動販売機において、前
記ICカードは前記書換累計回数を演算する手段を備
え、前記自動販売機は前記書換累計回数が前記所定回数
を越えたか否かを判定する手段を備えたことを特徴とす
るICカード対応自動販売機。
2. The vending machine according to claim 1, wherein said IC card includes means for calculating said total number of rewrites, and said vending machine determines whether or not said total number of rewrites exceeds said predetermined number. An automatic vending machine compatible with an IC card, comprising means for determining.
【請求項3】請求項1に記載の自動販売機において、前
記自動販売機は前記書換累計回数を演算する手段を備
え、前記ICカード前記書換累計回数が前記所定回数を
越えたか否かを判定する手段を備えたことを特徴とする
ICカード対応自動販売機。
3. The vending machine according to claim 1, wherein said vending machine has means for calculating said total number of rewrites, and determines whether said IC card has exceeded said predetermined number of rewrites. A vending machine compatible with an IC card, comprising:
JP3007325A 1991-01-25 1991-01-25 Vending machine compatible with IC card Expired - Lifetime JP2822357B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3007325A JP2822357B2 (en) 1991-01-25 1991-01-25 Vending machine compatible with IC card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3007325A JP2822357B2 (en) 1991-01-25 1991-01-25 Vending machine compatible with IC card

Publications (2)

Publication Number Publication Date
JPH04241087A JPH04241087A (en) 1992-08-28
JP2822357B2 true JP2822357B2 (en) 1998-11-11

Family

ID=11662816

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3007325A Expired - Lifetime JP2822357B2 (en) 1991-01-25 1991-01-25 Vending machine compatible with IC card

Country Status (1)

Country Link
JP (1) JP2822357B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62234201A (en) * 1986-04-04 1987-10-14 Hitachi Ltd Use deciding system

Also Published As

Publication number Publication date
JPH04241087A (en) 1992-08-28

Similar Documents

Publication Publication Date Title
JP2537199B2 (en) IC card
JP2002108714A (en) Memory device and access limiting method
US4841131A (en) Portable electronic device with means for checking data validity during read-out
KR940007350B1 (en) Portable electronic equipement
EP0483978B1 (en) I.C. card
KR910009097B1 (en) Ic card
JP2529868B2 (en) Recording method of information recording medium
US5285415A (en) Data counting memory card and reader
JPS6299893A (en) Electronic type cash register
JP2822357B2 (en) Vending machine compatible with IC card
JP3471842B2 (en) Data management device, data storage device, and data management method
JP2651426B2 (en) IC card
RU2000129153A (en) DEVICE FOR IMPLEMENTATION OF FINANCIAL TRANSACTIONS
EP1079340A2 (en) Integrated circuit card protected from unauthorized access
JP2723430B2 (en) How to operate a card vending machine
JPH026115B2 (en)
JP2598056B2 (en) Portable electronic devices
JP2929796B2 (en) Vending machine with program change function
KR900006941B1 (en) Portable electronic apparatus
JP2609645B2 (en) Portable electronic devices
JP2524321Y2 (en) IC card
JPH07113960B2 (en) IC card
JP2538907B2 (en) IC card
JPH0426923Y2 (en)
JPH0233690A (en) Method for issuing ic card