[go: up one dir, main page]

JPH0122676B2 - - Google Patents

Info

Publication number
JPH0122676B2
JPH0122676B2 JP59234154A JP23415484A JPH0122676B2 JP H0122676 B2 JPH0122676 B2 JP H0122676B2 JP 59234154 A JP59234154 A JP 59234154A JP 23415484 A JP23415484 A JP 23415484A JP H0122676 B2 JPH0122676 B2 JP H0122676B2
Authority
JP
Japan
Prior art keywords
amount
card
balance
product
written
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
Application number
JP59234154A
Other languages
Japanese (ja)
Other versions
JPS61114398A (en
Inventor
Mikio Horiuchi
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.)
NIPPON KONRATSUKUSU KK
Original Assignee
NIPPON KONRATSUKUSU KK
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 NIPPON KONRATSUKUSU KK filed Critical NIPPON KONRATSUKUSU KK
Priority to JP23415484A priority Critical patent/JPS61114398A/en
Publication of JPS61114398A publication Critical patent/JPS61114398A/en
Publication of JPH0122676B2 publication Critical patent/JPH0122676B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は磁気カードなどの情報記録可能なカー
ドによつて商品販売を行なう自動販売方法に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an automatic vending method for selling products using cards such as magnetic cards capable of recording information.

[従来技術の説明] 本発明に関連する従来技術のひとつとして、特
開昭52−96599号公報に記載の個人認識媒体によ
る自動販売機の制御装置がある。これは、販売情
報がカードに正しく記録されたことを確認して商
品の払出しを行ない、更に、カードに販売情報が
正しく記録されたにも拘らず販売機構部の異常で
商品の払出しが行なわれない場合に、記録された
販売情報の取消を示すための取消マークをカード
に書き込むようにしたものである。
[Description of Prior Art] As one of the prior art related to the present invention, there is a vending machine control device using a personal recognition medium described in Japanese Patent Laid-Open No. 52-96599. This is because the product was paid out after confirming that the sales information was correctly recorded on the card, and even though the sales information was correctly recorded on the card, the product was not paid out due to an error in the sales mechanism department. If the sales information is not available, a cancellation mark is written on the card to indicate cancellation of the recorded sales information.

[発明が解決しようとする課題] ところで、予め所有金額が書き込まれた料金前
払いの磁気カードを用いる商品の自動販売では、
商品購入毎に、カードの所有金額から購入商品価
格を減算して新たな所有金額(残金)を求め、こ
れを従前の所有金額に代えてカードに更新記録し
ていく。このような自動販売方法において所有金
額の更新記録にエラーが生じて正しい金額に更新
記録されなかつた場合に、上記従来技術では、商
品の払出しが行なわれないだけで、カードの所有
金額は誤つた金額に更新記録されたままの状態と
なり、既に払出された前回までの購入商品とカー
ドの所有金額(残金)とが一致せず、金銭トラブ
ルを生ずることとなる。しかも、取消マークはカ
ードに販売情報が正しく記録されたにも拘らず商
品の払出しが行なわれない場合に記録されるの
で、更新記録にエラーが生じた場合には取消マー
クは記録されず、従つて誤つた金額がそのままカ
ードの所有金額として使用されることになるなど
の問題点がある。
[Problem to be solved by the invention] By the way, in the automatic sale of products using a prepaid magnetic card on which the amount of money owned is written in advance,
Each time a product is purchased, a new amount of money (remaining money) is obtained by subtracting the price of the purchased product from the amount of money owned by the card, and this is updated and recorded on the card in place of the previous amount of money owned. In such a vending method, if an error occurs in the update record of the amount owned and the amount is not updated to the correct amount, with the above conventional technology, the product is not paid out and the amount held on the card is incorrect. The amount remains updated and recorded, and the previously purchased item that has already been paid out does not match the amount (remaining amount) held on the card, resulting in financial trouble. Moreover, the cancellation mark is recorded when the product is not paid out even though sales information is correctly recorded on the card, so if an error occurs in the update record, the cancellation mark will not be recorded and the product will not be paid out. There are problems such as the incorrect amount being used as the amount owned by the card.

本発明は上記観点に基づいてなされたもので、
その目的は、所有金額の更新記録にエラーが生じ
て購入商品の払出しが行なわれない場合でも、既
に払出された購入商品とカードの所有金額とを一
致させることができ、しかも、次回の商品購入の
際に更新記録のエラーを自動的に解消するように
した料金前払いのカードによる自動販売方法を提
供することにある。
The present invention has been made based on the above viewpoints, and
The purpose of this is to make it possible to match the amount of purchased items on the card with the amount of purchased items that have already been paid out, even if the purchased item is not paid out due to an error in the update record of the amount owned, and to make the next purchase of the item easier. To provide an automatic sales method using a prepaid card, which automatically resolves errors in update records at the time of the transaction.

[課題を解決するための手段] 本発明においては、第1の金額D1と第2の金
額D2と各金額D1、D2の書込みエラーを表わすエ
ラー信号とを書き込むことが可能で、第1および
第2の金額D1、D2に初期金額として予め定めら
れた同一金額が書き込まれている料金前払いのカ
ードを用いて自動販売機により商品を販売する方
法であり、前記自動販売機への前記カードの挿入
時に前記カードの内容を読み出し、読み出された
第1および第2の金額D1、D2が同一金額であれ
ば予め定めた一方の金額を現在残金DSとし、読
み出された第1および第2の金額D1、D2が互い
に異なつていれば第1および第2の金額D1、D2
のうちの小さい方の金額を現在残金DSとし、こ
の現在残金DSから購入者の選択した商品の販売
価格Dを減算して新残金(DS−D)を求め、前
記自動販売機からの前記カードの抜去時に、新残
金(DS−D)を現在残金DSとして今回用いられ
なかつた第1または第2の金額D1、D2に代えて
前記カードに書き込むことにより、前記カードの
第1および第2の金額D1、D2のうちの小さい方
の金額が今回までの商品購入に対する残金を表わ
し、大きい方が前回までの商品購入に対する残金
を表わすようにすると共に、前記自動販売機から
の前記カードの抜去時に前記カードへの新残金
(DS−D)の書き込みに追随して前記カードから
当該新残金(DS−D)を読み出し、読み出され
た新残金(DS−D)に誤りがない場合に購入者
の選択した商品の払い出しを行ない、読み出され
た新残金(DS−D)に誤りがある場合には商品
の払い出しを行なうことなく新残金(DS−D)
が書き込まれた第1または第2の金額D1、D2
エラー信号を書き込み、前記カードの次回の挿入
時にエラー信号のない第1または第2の金額D1
D2を現在残金DSとして優先的に採用し、前記カ
ードの抜去時にエラー信号のある第1または第2
の金額D1、D2およびエラー信号に代えて新残金
(DS−D)を前記カードに書き込むようにしたカ
ードによる自動販売方法によつて、上記目的を達
成する。
[Means for Solving the Problems] In the present invention, it is possible to write a first amount D1 , a second amount D2 , and an error signal representing a writing error of each amount D1 , D2 , This is a method of selling products by a vending machine using a prepaid card in which the same amount predetermined as an initial amount is written in the first and second amounts D 1 and D 2 , and the vending machine When the card is inserted into the card, the contents of the card are read out, and if the read first and second amounts D 1 and D 2 are the same amount, one of the predetermined amounts is set as the current balance D S and read. If the first and second amounts D 1 , D 2 issued are different from each other, the first and second amounts D 1 , D 2
The smaller of the two is the current balance D S , and the selling price D of the product selected by the purchaser is subtracted from this current balance D S to obtain the new balance (D S - D), and the new balance (D S - D) is calculated from the vending machine. When the card is removed, the new balance (D S -D) is written on the card as the current balance D S in place of the first or second amount D 1 , D 2 that was not used this time. The smaller of the first and second amounts D 1 and D 2 represents the balance for the product purchase up to this time, and the larger one represents the balance for the product purchase up to the previous time, and the automatic When the card is removed from the vending machine, the new balance (D S -D) is read out from the card following the writing of the new balance (D S -D) to the card, and the read new balance (D If there is no error in the new balance ( D S - D), the product selected by the purchaser will be paid out, and if there is an error in the new balance read (D S -D), the product will not be paid out and the new balance ( D S −D)
writes an error signal to the written first or second amount D 1 , D 2 , and the first or second amount D 1 without an error signal when the card is inserted next time;
D 2 is preferentially adopted as the current balance D S , and the first or second card with an error signal when the card is removed
The above object is achieved by a card-based automatic vending method in which a new balance (D S -D) is written on the card in place of the amounts D 1 , D 2 and an error signal.

[作用] 第1および第2の金額D1、D2に初期金額とし
て共に1000円が書き込まれているとし、今回まで
に販売価格200円の商品を3個購入したとすると、
カードの第1または第2の金額D1、D2のうちの
小さいほうの金額は400円となつて今回までの商
品購入に対する残金を表わし、大きい方の金額に
は、商品を2個購入したとき、即ち前回までの商
品購入に対する残金600円が残される。ここで、
今回の残金400円の更新記録にエラーが生じて400
円ではなく500円が書き込まれたとすると、この
500円にエラー信号が付され、3個目の商品の払
出しは行なわれない。そして、次回においては、
エラー信号のない600円がカードの所有金額とし
て採用される。そのため、既に払出された2個の
商品の購入とカードの所有金額とが一致すること
となる。次回において200円の商品を購入したと
すると、エラー信号の付された500円が600円から
200円を引いた400円に更新され、更新記録のエラ
ーが自動的に解消される。
[Effect] Assuming that 1000 yen is written as the initial amount in both the first and second amounts D 1 and D 2 and that three products with a selling price of 200 yen have been purchased so far,
The smaller of the first or second amount D 1 or D 2 on the card is 400 yen, which represents the remaining amount for the product purchases up to this time, and the larger amount includes the amount for purchasing two products. In other words, 600 yen remains from the previous purchase. here,
An error occurred in the update record of the remaining balance of 400 yen.
If 500 yen is written instead of yen, then this
An error signal is attached to 500 yen, and the third item is not paid out. And next time,
The amount of 600 yen with no error signal will be taken as the amount owned by the card. Therefore, the amount of money owned by the card matches the purchase amount of the two products that have already been paid out. If you purchase a product for 200 yen next time, the 500 yen with an error signal will be changed from 600 yen.
The amount will be updated to 400 yen by subtracting 200 yen, and the update record error will be automatically resolved.

[発明の実施例] 第1図および第2図は本発明の一実施例を示
し、第1図は自動販売機側に設けられるシステム
のブロツクダイアグラム、第2図は磁気カードを
示す。
[Embodiment of the Invention] Fig. 1 and Fig. 2 show an embodiment of the present invention, in which Fig. 1 is a block diagram of a system installed in a vending machine, and Fig. 2 shows a magnetic card.

磁気カード1は、磁気ストライプ2に第1の金
額D1が書き込まれた記録トラツク3と第2の金
額D2が書き込まれた記録トラツク4を有する。
記録トラツクにはまたカードの適不適を判断する
ための判断データが書き込まれている。記録トラ
ツクには更にエラー信号を書き込むことが可能と
なつている。エラー信号は、金額D1またはD2
正しく書き込まれなかつた場合に、正しく書き込
まれなかつた金額の書き込みエラーを表わすもの
で、後述から明らかとなるように、自動販売機か
らのカード1の抜去時に正しく書き込まれなかつ
た金額の記録トラツクに当該金額に追随するかた
ちで書き込まれ、自動販売機へのカード1の挿入
時に書込みエラーの金額に先立つて読み出され、
追随する読み出し金額に書込みエラーのあること
を表わす。各トラツクの金額D1、D2には、カー
ド1が未使用のバージンカードである場合、予め
定められた同一金額が初期金額として書き込まれ
ている。購入者は初期金額を払つてカード1を購
入する。
The magnetic card 1 has a magnetic stripe 2 having a recording track 3 on which a first amount of money D1 is written and a recording track 4 on which a second amount of money D2 is written.
The recording track also has judgment data written therein for judging the suitability of the card. It is also possible to write an error signal to the recording track. The error signal indicates an error in writing the amount that was not written correctly when the amount D 1 or D 2 was not written correctly. When the card 1 is inserted into the vending machine, the amount is written in the record track of the incorrectly written amount in a manner that follows the amount, and when the card 1 is inserted into the vending machine, the amount is read out prior to the amount of the writing error.
Indicates that there is a writing error in the following read amount. When the card 1 is an unused virgin card, the same predetermined amount is written as the initial amount in the amounts D 1 and D 2 of each truck. The purchaser purchases Card 1 by paying the initial amount.

書込ヘツドW1,W2および読出ヘツドR1,R2
は、自動販売機のカード出し入れ口内に各トラツ
クごとに設けられており、カード抜去方向に向か
つて書込ヘツド、読出ヘツドの順で配設されてい
る。これらのヘツドは夫々書込回路5および読出
回路6に接続されている。読出ヘツドR1,R2
よび読出回路6は第1図の読取手段10に含ま
れ、書込ヘツドW1,W2および書込回路5は書込
手段16に含まれる。
Write heads W 1 , W 2 and read heads R 1 , R 2
are provided for each track in the card slot of the vending machine, and are arranged in the order of a write head and a read head in the card removal direction. These heads are connected to a write circuit 5 and a read circuit 6, respectively. The read heads R 1 , R 2 and the read circuit 6 are included in the read means 10 of FIG. 1, and the write heads W 1 , W 2 and the write circuit 5 are included in the write means 16.

第1図において、読取手段10は、自動販売機
へのカード挿入時および自動販売機からのカード
抜去時にカード1の記録内容を読み取るもので、
カード挿入時に、第1および第2の金額D1、D2
と判断データaとエラー信号があれば当該エラー
信号cとを読み出す機能と、カード抜去時に、後
述する書込手段16によるカード1への新残金
(DS−D)の書き込みに追随してカード1から当
該新残金(DS−D)bを読み出す機能とを有し
ている。
In FIG. 1, the reading means 10 reads the recorded contents of the card 1 when the card is inserted into the vending machine and when the card is removed from the vending machine.
When the card is inserted, the first and second amounts D 1 , D 2
and a function to read out the judgment data a and the error signal c if there is one, and when the card is removed, the new balance (D S -D) is written to the card 1 by the writing means 16, which will be described later. 1 to read out the new balance (D S -D)b.

カード判別手段11は、判断データaを入力し
て挿入されたカードの適不適を判断し、カードが
不適当である場合にカード不適正表示信号dを表
示装置13に与え、適正である場合にカード適正
信号eを所有金額判定手段12に与える機能を有
している。カードが不適当である場合には、カー
ド適正信号eが所有金額判定手段12に与えられ
ず、カード不適正表示信号dに従う表示装置13
のその旨の表示が行なわれるのみで、以後の販売
動作は行なわれない。
The card discriminating means 11 inputs judgment data a to judge whether the inserted card is suitable or not, and when the card is unsuitable, it gives a card unsuitable display signal d to the display device 13, and when the card is suitable, it It has a function of supplying the card suitability signal e to the possession amount determination means 12. If the card is inappropriate, the card appropriateness signal e is not given to the owned amount determining means 12, and the display device 13 according to the card inappropriateness display signal d.
Only a message to that effect will be displayed, and no further sales operation will be performed.

所有金額判定手段12は、読出手段10から第
1および第2の金額D1、D2とエラー信号があれ
ば当該エラー信号cとを入力し、カード判別手段
11からカード適正信号eを受けることでカード
1の現在残金DSの判定を開始して、第1の金額
D1と第2の金額D2とを大小比較し、両者が同一
金額(バージンカードの場合)であれば予め定め
られた一方の金額(本例では第1の金額D1)を
現在残金DSと判定し、両者が互いに異なつてい
れば第1または第2の金額D1、D2のうちの小さ
い方の金額を現在残金DSと判定し、更に、第1
または第2の金額D1、D2のうちの一方の金額に
エラー信号cがある場合には、上述の大小比較に
よる判定に優先して、エラー信号cのない他方の
金額を現在残金DSと判定して、判定された現在
残金DSを販売可能化制御手段14および減算手
段15に与える機能を有している。また、所有金
額判定手段12は、第1または第2の金額D1
D2のうち現在残金DSとして採用されなかつた他
方の金額を、新残金(DS−D)に書き代えられ
る金額DLとして、書込手段16に与える機能を
有している。更に、所有金額判定手段12は現在
残金DSを表示するための所有金額表示信号fを
表示装置13に与える機能を有し、これにより、
表示装置13に現在残金DSが表示されるように
なつている。
The owned amount determining means 12 inputs the first and second amounts D 1 and D 2 from the reading means 10 and the error signal c if there is an error signal, and receives the card suitability signal e from the card determining means 11. Start determining the current balance D S of card 1, and calculate the first amount
D 1 and the second amount D 2 are compared in size, and if they are the same amount (in the case of a virgin card), one predetermined amount (in this example, the first amount D 1 ) is transferred to the current balance D. S , and if they are different from each other, the smaller of the first or second amounts D 1 and D 2 is determined to be the current balance D S , and furthermore, the first
Or, if one of the second amounts D 1 and D 2 has an error signal c, the other amount without the error signal c is used as the current balance D S It has a function of determining this and providing the determined current balance D S to the sales enablement control means 14 and the subtraction means 15. In addition, the owned amount determining means 12 determines the first or second amount D 1 ,
It has a function of giving the other amount of D2 which is not adopted as the current balance D S to the writing means 16 as the amount D L to be replaced with the new balance (D S -D). Furthermore, the owned amount determination means 12 has a function of providing the owned amount display signal f to the display device 13 for displaying the current balance D S , and thereby,
The current balance D S is displayed on the display device 13.

販売可能化制御手段14は、所有金額判定手段
12から現在残金DSを受けることで、商品選択
許可信号gを商品選択手段17に与えると共に商
品選択指示表示信号hを表示装置13に与え、商
品選択手段17から商品の販売価格Dを受けるこ
とで、現在残金DS≧販売価格Dを満足するか否
かを判断し、満足する場合に減算指令iを減算手
段15に与え、満足しない場合に金額不足表示信
号jを表示装置に与える機能を有している。販売
価格Dが現在残金DSよりも大である場合には、
減算手段15に減算指令iが与えられず、金額不
足表示信号jに従う表示装置13のその旨の表示
が行なわれるのみで、以後の販売動作は行なわれ
ない。
The sales enablement control means 14 receives the current balance D S from the owned amount determination means 12, gives a product selection permission signal g to the product selection means 17, and gives a product selection instruction display signal h to the display device 13, and displays the product. By receiving the sales price D of the product from the selection means 17, it is determined whether the current balance D S ≧Sales price D is satisfied, and if it is satisfied, a subtraction command i is given to the subtraction means 15, and if it is not satisfied, It has a function of providing an amount shortage display signal j to the display device. If the selling price D is greater than the current balance D S , then
No subtraction command i is given to the subtraction means 15, only a display to that effect is made on the display device 13 in accordance with the insufficient amount display signal j, and no further sales operation is performed.

商品選択手段17は、販売可能化制御手段14
からの商品選択許可信号gを受けることで、購入
者による商品選択ボタン20の打鍵に応答して選
択商品に対応する販売格柿Dを販売可能化制御手
段14および減算手段15に与える機能を有して
いる。
The product selection means 17 is the sales enablement control means 14
By receiving the product selection permission signal g from the product selection button 20 from the purchaser, it has a function of giving the sale persimmon D corresponding to the selected product to the sales enablement control means 14 and the subtraction means 15 in response to the purchaser's key press of the product selection button 20. are doing.

減算手段15は、販売可能化制御手段14から
の減算指令iを受けることで、現在残金DSから
販売価格Dを減算して新残金(DS−D)を求め、
この新残金(DS−D)を書込手段16および書
込情報識別手段18に与える機能を有している。
Upon receiving the subtraction command i from the sales enablement control means 14, the subtraction means 15 subtracts the selling price D from the current balance D S to obtain a new balance (D S −D).
It has a function of giving this new balance (D S -D) to the writing means 16 and the written information identifying means 18.

書込手段16は、新残金(DS−D)と当該新
残金(DS−D)に書き代えられる金額DLとが与
えらることでカード抜去指示表示信号lを表示装
置13に与え、カード抜去時に新残金(DS−D)
を金額DLとして判定された第1または第2の金
額D1、D2に代えてカード1に書き込むと共に、
書込情報識別手段18からのエラー信号書込指令
kに応答してカード抜去時にカード1に書き込ま
れた新残金(DS−D)にエラー信号を書き込む
機能を有している。
The writing means 16 gives a card removal instruction display signal l to the display device 13 when the new balance (D S -D) and the amount D L to be replaced with the new balance (D S -D) are given. , new balance when card is removed (D S - D)
is written on the card 1 instead of the first or second amount D 1 or D 2 determined as the amount D L ,
It has a function of writing an error signal in the new balance (D S -D) written on the card 1 when the card is removed in response to an error signal writing command k from the writing information identifying means 18.

書込情報識別手段18は、カード抜去時に書込
手段16によるカード1への新残金(DS−D)
の書き込み追随して読取手段10がカード1から
読み出す当該新残金(DS−D)bを入力し、こ
の読み出された新残金(DS−D)と減算手段1
5からの新残金(DS−D)とを比較し、両者が
一致する場合に商品払出信号mを商品払出装置1
9に与え、両者が不一致の場合に、エラー信号書
込指令kを書込手段16に与えると共に記録エラ
ー表示信号nを表示装置13に与える機能を有し
ている。エラー信号書込指令kが与えられた場合
には、商品払出信号mは与えられず、従つて選択
された商品の払い出しが行なわれることはない。
The written information identification means 18 detects the new balance (D S -D) on the card 1 by the writing means 16 when the card is removed.
Following the writing, the reading means 10 inputs the new balance (D S -D) b read from the card 1, and subtracts this read new balance (D S -D) from the subtraction means 1.
5 and the new balance (D S −D) from 5, and if they match, the product dispensing signal m is sent to the product dispensing device 1.
9, and when the two do not match, it has a function of giving an error signal writing command k to the writing means 16 and giving a recording error display signal n to the display device 13. When the error signal write command k is given, the product payout signal m is not given, and therefore, the selected product is not paid out.

上記構成で、自動販売機のカード出し入れ口に
カード1が挿入されると、この挿入時に、第1お
よび第2の金額D1、D2と判断データaとエラー
信号があればエラー信号cとが読み出される。
With the above configuration, when card 1 is inserted into the card slot of a vending machine, when the card 1 is inserted, the first and second amounts D 1 and D 2 , judgment data a, and error signal c are generated if there is an error signal. is read out.

カード1が他のシステムに用いられるカードで
あるなどカードが不適当なものであれば、カード
判別手段11から表示装置13にカード不適正表
示信号dが与えられ、その旨の表示が行なわれる
のみで、販売動作は行なわれない。
If the card is unsuitable, such as card 1 being used in another system, a card unsuitable display signal d is given from the card discriminating means 11 to the display device 13, and a display to that effect is performed. Therefore, no sales operation is performed.

カード1が適正であれば、所有金額判定手段1
2でカード1の現在残金DSの判定が行なわれる。
使用開始当初とすれば、カード1の第1および第
2の金額D1、D2は初期金額、例えば共に1000円
であり、予め定められた第1の金額D1の1000円
が現在残金DSとされて販売可能化制御手段14
に与えられ、現在銭金として採用されなかつた第
2の金額D2が新残金(DS−D)に書き代えられ
る金額DLとして書込手段16に与えられる。現
在残金DS=1000円が販売可能化制御手段14に
与えられることによつて、販売可能化制御手段1
4が商品選択手段17を商品選択ボタン20に応
答する状態にし、購入者のボタン操作によつて自
動販売機内の商品が選択されることで、当該商品
の販売価格D例えば200円が商品選択手段17か
ら与えられる。販売可能化制御手段14は、販売
価格D=200円がDS=1000円≧D=200円を満足
しているので、減算手段15に減算指令iを与え
る。これにより、減算手段15が現在残金DS
1000円から販売価格D=200円を引いた新残金
(DS−D)=800円を書込手段16に与える。書込
手段16は、カード抜去時に金額DLと判定され
た第2の金額D2=1000円に代えて新残金(DS
D)=800円をカード1に書き込む。第1の金額
D1=1000円はそのまま残される。
If card 1 is correct, owned amount determination means 1
At step 2, the current balance D S of card 1 is determined.
At the beginning of use, the first and second amounts D 1 and D 2 of the card 1 are initial amounts, for example, both are 1000 yen, and the predetermined first amount D 1 of 1000 yen is the current balance D. S sales enablement control means 14
The second amount D2 , which was given to the bank and which was not adopted as current money, is given to the writing means 16 as the amount D L to be replaced with the new balance (D S -D). By giving the current balance D S =1000 yen to the sales enablement control means 14, the sales enablement control means 1
4 puts the product selection means 17 into a state that responds to the product selection button 20, and when the purchaser selects a product in the vending machine by pressing the button, the selling price D of the product, for example, 200 yen, is set by the product selection means. It is given from 17. Since the sales price D=200 yen satisfies D S =1000 yen≧D=200 yen, the sales enablement control means 14 gives a subtraction command i to the subtraction means 15. As a result, the subtraction means 15 calculates the current balance D S =
The new balance (D S - D) = 800 yen obtained by subtracting the selling price D = 200 yen from 1000 yen is given to the writing means 16. The writing means 16 writes the new balance (D S
D) = Write 800 yen on card 1. first amount
D 1 = 1000 yen is left as is.

次回のカード1の挿入時には、第1の金額D1
が1000円で第2の金額D2が800円となるので、所
有金額判定手段12は金額が小さい方の第2の金
額D2=800円を現在金額DSとし、第1の金額D1
1000円をDLとする。この挿入で販売価格D=300
円の商品を選択したとすると、新残金(DS−D)
=500円となり、この金額がカード抜去時に第1
の金額D1=1000円に代えて書き込まれることと
なる。従つて、カード1に記録されている第1お
よび第2の金額D1、D2のうちの小さい方が今回
までの商品構入に対する残金を表わし、大きい方
が前回までの商品構入に対する残金を表わすこと
となる。
The next time you insert card 1, the first amount D 1
is 1000 yen and the second amount D 2 is 800 yen, so the owned amount determining means 12 sets the smaller second amount D 2 =800 yen as the current amount D S and the first amount D 1 =
Let 1000 yen be DL . With this insertion, selling price D = 300
If you select a yen product, the new balance (D S − D)
= 500 yen, and this amount is the first amount when the card is removed.
will be written instead of the amount D 1 = 1000 yen. Therefore, the smaller of the first and second amounts D 1 and D 2 recorded on the card 1 represents the remaining amount for the product purchase up to this time, and the larger one represents the remaining amount for the product purchase up to the previous time. It will represent.

カード1に書き込まれた新残金(DS−D)は
当該書き込みに追随してカード1から読み出さ
れ、書込情報識別手段18で減算手段15によつ
て得られた新残金と比較され、両者が一致してい
ることで、購入者の選択した商品の払い出しが行
なわれ、払い出しが行なわれることで今回の販売
が終了する。両者が不一致、例えばD1=500円、
D2=700円の状態で販売価格D=200円の商品が
選択され、カード1の第2の金額D2に700円に代
えて新残金(DS−D)として誤つた金額400円が
書き込まれ、減算手段15によつて得られた新残
金=300円と相違した場合には、第2の金額D2
エラー信号が書き込まれ、選択された商品の払い
出しは行なわれず、カード1の再挿入が表示装置
13により促される。カード1が再挿入される
と、所有金額判定手段12でエラー信号のない第
1の金額D1=500円が現在残金DSとして大小比較
による現在残金の判定に優先して採用される。購
入者が再び同一商品を選択したとすると、カード
1の第2の金額D2に、誤つた金額400円に代えて
新残金(DS−D)=300円が書き込まれ、正しい
金額に訂正される。
The new balance (D S -D) written on the card 1 is read out from the card 1 following the writing, and is compared with the new balance obtained by the subtraction means 15 by the written information identification means 18, If the two match, the item selected by the purchaser will be paid out, and the current sale will be completed when the item is paid out. The two do not match, for example, D 1 = 500 yen,
A product with a selling price of D = 200 yen is selected when D 2 = 700 yen, and the incorrect amount of 400 yen is added to the second amount D 2 on card 1 as the new balance (D S - D) instead of 700 yen. If it is different from the new balance = 300 yen written and obtained by the subtraction means 15, an error signal is written in the second amount D2 , the selected product is not paid out, and the card 1 is Re-insertion is prompted by the display device 13. When the card 1 is reinserted, the owned amount determining means 12 selects the first amount D 1 =500 yen without an error signal as the current remaining amount D S in preference to determining the current remaining amount based on size comparison. If the purchaser selects the same product again, the new balance (D S - D) = 300 yen will be written to the second amount D 2 of Card 1 instead of the incorrect amount of 400 yen, and the amount will be corrected to the correct amount. be done.

商品の販売価格Dがカード1の現在残金を越え
る場合には、減算手段15に減算指令iが与えら
れず、表示装置13に金額不足表示が行なわれ
て、以後の販売動作は停止する。
If the sales price D of the product exceeds the current balance on the card 1, the subtraction command i is not given to the subtraction means 15, an insufficient amount is displayed on the display device 13, and the subsequent sales operation is stopped.

第3図は本発明に用いられる磁気カードの別の
実施例を示すもので、その特徴は、単一トラツク
21に第1および第2の金額D1、D2を記録する
ことにある。第1の金額D1は記録域Aに、第2
の金額D2は記録域Bに、夫々記録される。なお、
Wは書込ヘツド、Rは読出ヘツドである。
FIG. 3 shows another embodiment of the magnetic card used in the present invention, the feature of which is that the first and second amounts D 1 and D 2 are recorded on a single track 21. FIG. The first amount D 1 is stored in the recording area A, and the second
The amounts D2 are respectively recorded in the recording area B. In addition,
W is a write head and R is a read head.

第4図は本発明の別の実施例を示すブロツクダ
イアグラム、第5図は第4図の制御フローチヤー
トである。第4図において第1図および第2図と
同符号のものは同一物を示す。
FIG. 4 is a block diagram showing another embodiment of the present invention, and FIG. 5 is a control flowchart of FIG. 4. In FIG. 4, the same reference numerals as in FIGS. 1 and 2 indicate the same parts.

図において、30はマイクロコンピユーター
で、CPU301と、制御プログラムを内蔵する
ROM302と、データ記憶用のRAM303と、入力
ポート304および出力ポート305を有する。入力ポ
ート304には読出回路6および商品選択ボタン2
0が接続されており、カード1の記録内容および
商品選択信号がマイクロコンピユータ30に与え
られるようになつている。出力ポート305には書
込回路5、表示装置13および商品払出装置19
が接続されており、カード1への書き込み、商品
の払い出しおよび表示が行なわれるようになつて
いる。
In the figure, 30 is a microcomputer that includes a CPU 301 and a control program.
It has a ROM 302, a RAM 303 for data storage, an input port 304, and an output port 305. The input port 304 has a readout circuit 6 and a product selection button 2.
0 is connected, so that the recorded contents of the card 1 and the product selection signal are given to the microcomputer 30. The output port 305 has a writing circuit 5, a display device 13, and a product dispensing device 19.
is connected, and writing to the card 1, product payout, and display are performed.

カード受け入れ待ちの状態では表示装置13に
カード挿入指示が表示され(ステツプ40)、この
表示に従つて購入者がカード1を自動販売機のカ
ード出し入れ口に挿入すると、この挿入時に、カ
ード1から第1および第2の金額D1、D2と挿入
カードの適不適を判別するための判断データとエ
ラー信号があれば当該エラー信号とが、読出回路
6を通してマイクロコンピユータ30に取り込ま
れ(ステツプ41)、次いで、判断データに基づい
て挿入カードの適正判断(ステツプ42)およびエ
ラー信号の有無判別(ステツプ43)が行なわれ
る。
In the state of waiting for card acceptance, a card insertion instruction is displayed on the display device 13 (step 40), and when the purchaser inserts card 1 into the card slot of the vending machine according to this display, when the purchaser inserts card 1, The first and second amounts D 1 and D 2 , judgment data for determining the suitability of the inserted card, and an error signal (if any) are taken into the microcomputer 30 through the reading circuit 6 (step 41 ) Then, based on the judgment data, it is determined whether the inserted card is appropriate (step 42) and whether or not there is an error signal is determined (step 43).

カードが適正で且つエラー信号がない場合には
ステツプ43からステツプ44に入り、カード1の現
在残金DSが判定される。第1の金額D1>第2の
金額D2であれば、小さい方の第2の金額D2を現
在残金DSとし、大きい方の第1の金額D1を新残
金(DS−D)に書き代えられる金額DLとする
(ステツプ45)。第1の金額D1<第2の金額D2
あれば、小さい方の第1の金額D1を現在残金DS
とし、大きい方の第2の金額D2を新残金(DS
D)に書き代えられる金額DLとする(ステツプ
46)。第1の金額D1と第2の金額D2とが等しい使
用開始当初では、第1の金額D1を現在残金DS
し、第2の金額D2を新残金(DS−D)に書き代
えられる金額DLとする(ステツプ47)。
If the card is valid and there is no error signal, step 43 enters step 44, where the current balance D S of card 1 is determined. If the first amount D 1 > the second amount D 2 , the smaller second amount D 2 is the current balance D S , and the larger first amount D 1 is the new balance (D S - D ) as the amount D L (step 45). If the first amount D 1 < the second amount D 2 , the smaller first amount D 1 is the current balance D S
and the larger second amount D 2 is the new balance (D S
Let the amount D L be rewritten to D) (step
46). At the beginning of use, when the first amount D 1 and the second amount D 2 are equal, the first amount D 1 is the current balance D S , and the second amount D 2 is the new balance (D S - D). Let the amount to be rewritten be D L (step 47).

次に、表示装置13に商品選択指示が表示され
(ステツプ48)、販売価格Dの受け入れ待ちにな
る。商品選択指示の表示に従い購入者が商品選択
ボタン20を介して購入商品を選択すれば、選択
された商品に対応する販売価格Dが与えられて新
残金(DS−D)が求められる(ステツプ49)。次
いでステツプ50に入り、現在残金DS≧販売価格
Dが満足されるか否かが判断され、これが満足さ
れることでステツプ51に入つて表示装置13にカ
ード抜去表示が行なわれる。
Next, a product selection instruction is displayed on the display device 13 (step 48), and the process waits for the sales price D to be accepted. When the purchaser selects the purchased product using the product selection button 20 in accordance with the product selection instruction displayed, the sales price D corresponding to the selected product is given, and the new balance (D S −D) is calculated (step 49). Next, step 50 is entered, and it is determined whether the current balance D S ≧Sales price D is satisfied. When this is satisfied, step 51 is entered, and a card removal display is displayed on the display device 13.

カード抜去表示に従つて購入者がカード1を抜
去することで、この抜去時に、新残金(DS−D)
に書き換えられる金額DLとされた第1または第
2の金額D1、D2に代えてステツプ49の新残金
(DS−D)がカード1に書き込まれる(ステツプ
52)。新残金(DS−D)は書き込みつつカード1
から読み出され(ステツプ53)、ステツプ49で求
められた新残金(DS−D)と比較され(ステツ
プ54)、新残金が正確に書き込まれていることで
選択された商品の払い出しが行なわれる(ステツ
プ55)。
When the purchaser removes card 1 according to the card removal display, the new balance (D S - D)
The new balance (D S - D) in step 49 is written to card 1 instead of the first or second amount D 1 , D 2 which was rewritten as the amount D L (step
52). Write the new balance (D S - D) on card 1.
(Step 53) and compared with the new balance (D S -D) obtained in Step 49 (Step 54), and if the new balance is accurately written, the selected product is paid out. (Step 55).

ステツプ42でカードが不適当と判断されれば、
ステツプ56に入り、表示装置13にカードが不適
当である旨の表示が行なわれて、上述の販売動作
は行なわれない。また、ステツプ50で金額不足と
判断されれば、ステツプ57に入り、表示装置13
に金額不足が表示されて、上述の販売動作は停止
される。
If the card is determined to be inappropriate in step 42,
Step 56 is entered, a message indicating that the card is inappropriate is displayed on the display device 13, and the above-mentioned selling operation is not performed. If it is determined in step 50 that the amount is insufficient, step 57 is entered and the display device 13
The amount of money is insufficient is displayed and the above-mentioned sales operation is stopped.

ステツプ54で新残金の書き込みにエラー有りと
判断された場合には、カード抜去時に書込回路5
を介してエラー信号の書き込みが行なわれる(ス
テツプ58)。次いで、表示装置13にカード再挿
入が表示され(ステツプ59)、カード1の再挿入
が促される。カード1が再挿入されると、ステツ
プ41、42、43を経てステツプ60に入り、第1また
は第2の金額D1、D2のうちのエラー信号のない
金額を現在残金DSとし、エラー信号のある金額
を新残金(DS−D)に書き換えられる金額DL
して、上述の販売動作が行なわれる。
If it is determined in step 54 that there is an error in writing the new balance, the writing circuit 5 is activated when the card is removed.
An error signal is written via (step 58). Next, a message to reinsert the card is displayed on the display device 13 (step 59), and reinsertion of the card 1 is prompted. When card 1 is reinserted, step 60 is entered via steps 41, 42, and 43, and the amount with no error signal of the first or second amount D 1 or D 2 is set as the current balance D S The above-mentioned sales operation is performed with the signaled amount as the amount D L to be rewritten into the new balance (D S -D).

以上述べた実施例では磁気カードを用いる場合
について説明したが、その他のカード、例えば
ICカードやレザーカードについても本発明を適
用することができる。
In the embodiments described above, the case where a magnetic card is used has been explained, but other cards, e.g.
The present invention can also be applied to IC cards and leather cards.

[発明の効果] 以上説明したように本発明によれば、今回まで
の商品購入に対するカード残金と前回までの商品
購入に対するカード残金とをカードに記録し、残
金の書き込みにエラーが生じて購入商品の払出し
が行なわれない場合に、前回までの商品購入に対
する残金をカードの所有金額として採用するよう
にしたので、既に払出された購入商品とカードの
所有金額とを一致させることができ、また、次回
の商品購入時に誤つた残金を新残金に更新するよ
うにしたので、更新記録のエラーを自動的に解消
することができ、残金の正確な記録および金銭ト
ラブルの防止に有効な料金前払いのカードによる
自動販方法を提供することができる。
[Effects of the Invention] As explained above, according to the present invention, the card balance for the current product purchase and the card balance for the previous product purchase are recorded on the card, and if an error occurs in writing the balance, the purchased product If the payment is not made, the balance from the previous product purchase is used as the amount owned by the card, so it is possible to match the amount of purchased products already paid and the amount owned by the card. Since the erroneous balance is updated to a new balance the next time a product is purchased, errors in update records can be automatically resolved, making this prepayment card effective for accurately recording balances and preventing financial troubles. It is possible to provide an automatic sales method by

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

第1図は本発明の一実施例を示すブロツクダイ
アグラム、第2図は本発明に適用される磁気カー
ドの一例を示す図、第3図は本発明に適用される
磁気カードの別の例を示す図、第4図は本発明の
別の実施例を示すブロツクダイアグラム、第5図
は第4図の制御フローチヤートである。 1:磁気カード、10:読取手段、12:所有
金額判定手段、14:販売可能化制御手段、1
5:減算手段、16:書込手段、17:商品選択
手段、18:書込情報識別手段、19:商品払出
装置、20:商品選択ボタン、30:マイクロコ
ンピユータ。
FIG. 1 is a block diagram showing one embodiment of the present invention, FIG. 2 is a diagram showing an example of a magnetic card applied to the present invention, and FIG. 3 is a diagram showing another example of a magnetic card applied to the present invention. 4 is a block diagram showing another embodiment of the present invention, and FIG. 5 is a control flowchart of FIG. 4. 1: Magnetic card, 10: Reading means, 12: Owned amount determining means, 14: Sales enablement control means, 1
5: subtraction means, 16: writing means, 17: product selection means, 18: written information identification means, 19: product dispensing device, 20: product selection button, 30: microcomputer.

Claims (1)

【特許請求の範囲】[Claims] 1 第1の金額D1と第2の金額D2と各金額D1
D2の書込みエラーを表わすエラー信号とを書き
込むことが可能で、第1および第2の金額D1
D2に初期金額として予め定められた同一金額が
書き込まれている料金前払いのカードを用いて自
動販売機により商品を販売する方法であり、前記
自動販売機への前記カードの挿入時に前記カード
の内容を読み出し、読み出された第1および第2
の金額D1、D2が同一金額であれば予め定めた一
方の金額を現在残金DSとし、読み出された第1
および第2の金額D1、D2が互いに異なつていれ
ば第1および第2の金額D1、D2のうちの小さい
方の金額を現在残金DSとし、この現在残金DS
ら購入者の選択した商品の販売価格Dを減算して
新残金(DS−D)を求め、前記自動販売機から
の前記カードの抜去時に、新残金(DS−D)を
現在残金DSとして今回用いられなかつた第1ま
たは第2の金額D1、D2に代えて前記カードに書
き込むことにより、前記カードの第1および第2
の金額D1、D2のうちの小さい方の金額が今回ま
での商品購入に対する残金を表わし、大きい方が
前回までの商品購入に対する残金を表わすように
すると共に、前記自動販売機からの前記カードの
抜去時に前記カードへの新残金(DS−D)の書
き込みに追随して前記カードから当該新残金
(DS−D)を読み出し、読み出された新残金(DS
−D)に誤りがない場合に購入者の選択した商品
の払い出しを行ない、読み出された新残金(DS
−D)に誤りがある場合には商品の払い出しを行
なうことなく新残金(DS−D)が書き込まれた
第1または第2の金額D1、D2にエラー信号を書
き込み、前記カードの次回の挿入時にエラー信号
のない第1または第2の金額D1、D2を現在残金
DSとして優先的に採用し、前記カードの抜去時
にエラー信号のある第1または第2の金額D1
D2およびエラー信号に代えて新残金(DS−D)
を前記カードに書き込むようにすることを特徴と
するカードによる自動販売方法。
1 The first amount D 1 , the second amount D 2 , and each amount D 1 ,
an error signal indicative of a write error of D 2 , and the first and second amounts D 1 ,
D 2 is a method of selling products through a vending machine using a prepaid card with the same predetermined amount written as the initial amount, and when the card is inserted into the vending machine, the Read the contents and read the first and second
If the amounts D 1 and D 2 are the same amount, one of the predetermined amounts is set as the current balance D S and the read first amount is
If the second amounts D 1 and D 2 are different from each other, the smaller of the first and second amounts D 1 and D 2 is set as the current balance DS , and purchases are made from this current balance DS. The new balance (D S - D) is obtained by subtracting the selling price D of the product selected by the person, and when the card is removed from the vending machine, the new balance (D S - D) is set as the current balance D S. By writing on the card in place of the first or second amount D 1 , D 2 that was not used this time, the first and second amounts of the card
The smaller of the amounts D 1 and D 2 represents the remaining amount for the product purchase up to this time, and the larger amount represents the remaining amount for the product purchase up to the previous time. When the card is removed, the new balance (D S -D) is written to the card, the new balance (D S -D) is read from the card, and the new balance (D S -D) is read out from the card.
- If there is no error in D), the product selected by the purchaser will be paid out, and the new balance read out (D S
-D), an error signal is written in the first or second amount D 1 or D 2 to which the new balance (D S -D) has been written, without disbursing the product, and the card is replaced. At the next insertion, the first or second amount D 1 , D 2 without an error signal is added to the current balance
A first or second amount D 1 which is preferentially adopted as D S and has an error signal when the card is removed;
D 2 and new balance (D S - D) in place of error signal
is written on the card.
JP23415484A 1984-11-08 1984-11-08 Vending apparatus and method by card Granted JPS61114398A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23415484A JPS61114398A (en) 1984-11-08 1984-11-08 Vending apparatus and method by card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23415484A JPS61114398A (en) 1984-11-08 1984-11-08 Vending apparatus and method by card

Publications (2)

Publication Number Publication Date
JPS61114398A JPS61114398A (en) 1986-06-02
JPH0122676B2 true JPH0122676B2 (en) 1989-04-27

Family

ID=16966492

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23415484A Granted JPS61114398A (en) 1984-11-08 1984-11-08 Vending apparatus and method by card

Country Status (1)

Country Link
JP (1) JPS61114398A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0335868U (en) * 1989-08-09 1991-04-08

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61127089A (en) * 1984-11-26 1986-06-14 株式会社日本コンラックス Vending by card
JP2506076B2 (en) * 1985-07-15 1996-06-12 オムロン株式会社 Card processing equipment
JPS6327972A (en) * 1986-07-22 1988-02-05 Hitachi Electronics Eng Co Ltd Menu selection type terminal equipment
JPH0821113B2 (en) * 1987-05-12 1996-03-04 三洋電機株式会社 Card processing equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5296599A (en) * 1976-02-10 1977-08-13 Matsushita Electric Ind Co Ltd Control device for automatic vending machine using personal identifica tion media

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0335868U (en) * 1989-08-09 1991-04-08

Also Published As

Publication number Publication date
JPS61114398A (en) 1986-06-02

Similar Documents

Publication Publication Date Title
JPS63271697A (en) Method of reserving commodity in automatic leasing machine
JPH0122676B2 (en)
JP2504402B2 (en) Ticket issuing device
JPS60144871A (en) Terminal device for cashless shopping system
JPS6324521Y2 (en)
JP2645876B2 (en) Card type vending machine
JPS6224388A (en) Vending machine
JP2703940B2 (en) Card transaction processor
JP2600845B2 (en) Prepaid card vending machine
JP2002163712A (en) Card-type vending machine system
JPH0334117B2 (en)
JPS6224393A (en) Card-type vending machine that accepts deposits
JPS6033492Y2 (en) automatic transaction device
JPH0222759Y2 (en)
JP2525878B2 (en) Prepaid card processor
JPH0639391Y2 (en) vending machine
JP3447827B2 (en) Automatic commuter pass vending machine
JPS63132391A (en) Card type vending machine
JPS63255796A (en) Card type vending machine
JPS62111382A (en) Vending machine
JPS58181190A (en) Vending machine with card
JP2000020803A (en) Card processor
JPS63201890A (en) Card type vending machine
JPS6382594A (en) Goods provider
JPH02168382A (en) Magnetic card system automatic vending machine having discount function