JPH0334117B2 - - Google Patents

Info

Publication number
JPH0334117B2
JPH0334117B2 JP59248037A JP24803784A JPH0334117B2 JP H0334117 B2 JPH0334117 B2 JP H0334117B2 JP 59248037 A JP59248037 A JP 59248037A JP 24803784 A JP24803784 A JP 24803784A JP H0334117 B2 JPH0334117 B2 JP H0334117B2
Authority
JP
Japan
Prior art keywords
amount
card
error
amounts
cumulative
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
JP59248037A
Other languages
Japanese (ja)
Other versions
JPS61127089A (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 Conlux Co Ltd
Original Assignee
Nippon Conlux 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 Nippon Conlux Co Ltd filed Critical Nippon Conlux Co Ltd
Priority to JP24803784A priority Critical patent/JPS61127089A/en
Publication of JPS61127089A publication Critical patent/JPS61127089A/en
Publication of JPH0334117B2 publication Critical patent/JPH0334117B2/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 automatically vending products using a card capable of recording information, such as a magnetic card.

[従来技術の説明] 本発明に関連する従来技術のひとつとして、特
開昭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 is dispensed after confirming that the sales information has been recorded correctly on the card, and even though the sales information has been correctly recorded on the card, the product is not dispensed due to an abnormality at the rear of the vending machine. In this case, 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 automatic sales of products where the cumulative amount of purchased products is recorded on a magnetic card and the charges are settled later,
Each time a product is purchased, the purchased product price is added to the current cumulative amount on the card to obtain a new cumulative amount, and this is updated and recorded on the card in place of the previous cumulative amount. In such a vending method, if an error occurs in updating the cumulative amount and the correct amount is not recorded, with the above conventional technology, the product is not paid out and the cumulative amount on the card is incorrect. The amount remains updated and recorded, and the previously paid purchased items and the cumulative amount on the card do not match, resulting in financial trouble. Moreover, a cancellation mark is recorded when the product is not paid out even though the sales information is correctly recorded on the card, so if an error occurs in the update record, the cancellation mark will not be recorded. Therefore, there are problems in that the incorrect amount is used as is as the cumulative amount.

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

[課題を解決するための手段] 本発明においては、第1の金額D1と第2の金
額D2と各金額D1,D2の書込みエラーを表すエラ
ー信号とを書き込むことが可能で、第1および第
2の金額D1,D2の初期金額が共に0である料金
後払いのカードを用いて自動販売機の商品を販売
する方法であり、前記自動販売機への前記カード
の挿入時に前記カードの内容を読み出し、読み出
された第1および第2の金額D1,D2が共に0で
あれば予め定めた一方の金額を採用金額DLとし、
読み出された第1および第2の金額D1,D2が互
いに異なつていれば第1および第2の金額D1
D2のうちの大きい方の金額を採用金額DLとし、
この採用金額DLに購入者の選択した商品の販売
価格Dを加算して累計金額(DL+D)を求め、
前記自動販売機からの前記カードの抜去時に、累
計金額(DL+D)を今回採用金額DLとして用い
られなかつた第1または第2の金額D1,D2に代
えて前記カードに書込むことにより、前記カード
の第1および第2の金額D1,D2のうちの大きい
方の金額が今回までの購入商品の合計金額を表
し、小さい方が前回までの購入商品の合計金額を
表すようにすると共に、前記自動販売機からの前
記カードの抜去時に前記カードへの累計金額
(DL+D)の書込みに追従して前記カードから当
該累計金額(DL+D)を読み出し、読み出され
た累計金額(DL+D)に誤りがない場合に購入
者の選択した商品の払出しを行ない、読み出され
た累計金額(DL+D)に誤りがある場合には商
品の払出しを行なうことなく当該累計金額(DL
+D)が書き込まれた第1または第2の金額D1
D2を表すエラー信号を前記カードに書込み、前
記自動販売機への前記カードの次回の挿入時に書
込みエラーのない第1または第2の金額D1,D2
を採用金額DLとし、書込みエラーのある第1ま
たは第2の金額D1,D2に代えて累計金額(DL
D)を前記カードに書き込むようにし、精算時
に、前記カードの内容を読み出し、エラー信号が
ない場合には第1または第2の金額D1,D2のう
ち大きい方の金額を請求金額とし、エラー信号が
ある場合には第1または第2の金額D1,D2のう
ち書込みエラーのない方の金額を請求金額とする
ようにしたカードによる自動販売方法によつて、
上記目的を達成する。
[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 from a vending machine using a deferred payment card in which the initial amounts of the first and second amounts D 1 and D 2 are both 0, and when the card is inserted into the vending machine, Read the contents of the card, and if the read first and second amounts D 1 and D 2 are both 0, set one of the predetermined amounts as the adopted amount D L ,
If the read first and second amounts D 1 and D 2 are different from each other, the first and second amounts D 1 ,
The larger of D 2 is the adopted amount D L ,
Add the selling price D of the product selected by the purchaser to this adopted amount D L to obtain the cumulative amount (D L + D),
When the card is removed from the vending machine, the cumulative amount (D L + D) is written on the card in place of the first or second amount D 1 or D 2 that was not used as the current adopted amount D L. Therefore, the larger of the first and second amounts D 1 and D 2 of the card represents the total amount of purchased items up to this time, and the smaller amount represents the total amount of purchased items up to the previous time. At the same time, when the card is removed from the vending machine, the cumulative amount (D L +D) is read from the card following the writing of the cumulative amount (D L +D) to the card, and the cumulative amount (D L +D) is read out from the card. If there is no error in the read cumulative amount (D L + D), the product selected by the purchaser will be paid out, and if there is an error in the read cumulative amount (D L + D), the product will not be paid out. The cumulative amount (D L
+D) is written in the first or second amount D 1 ,
Write an error signal representing D 2 on said card, and write a first or second amount D 1 , D 2 without a writing error on the next insertion of said card into said vending machine.
is the adopted amount D L , and the cumulative amount (D L +
D) is written on the card, and at the time of payment, the contents of the card are read out, and if there is no error signal, the larger of the first or second amount D 1 or D 2 is set as the billed amount; By using a card-based automatic vending method in which, if there is an error signal, the amount charged is the first or second amount D 1 or D 2 whichever has no writing error.
Achieve the above objectives.

[作用] 第1回目の商品購入で販売価格D=100円の商
品が選択されたとすると、第1または第2の金額
D1,D2のうちの予め定められた一方の金額例え
ば第1の金額D1の0円を採用金額DLとして、累
計金額(DL+D)=100円を求め、これを第2の
金額D2の0円に代えて書込み、第1の金額D1
0円のままに置かれる。第2回目の商品購入で販
売価格D=200円の商品が選択されたとすると、
大きい方の金額である第2の金額D2の100円を採
用金額Dとして、累計金額(DL+D)=300円を
求め、これを第1の金額D1に書込み、第2の金
額D2は100円のままに置かれる。従つて、第1お
よび第2の金額D1,D2のうち大きい方の金額が
今回までの購入商品の合計金額を表わし、小さい
方の金額が前回までの購入商品の合計金額を表わ
すこととなる。ここで、累計金額300円の書込み
にエラーが生じて第1の金額D1に400円が書込ま
れたとすると、この第1の金額D1=400円にエラ
ー信号が付され、第2回目の200円の商品の払出
しは行なわれない。そして、次回すなわち第3回
目の商品購入では書込みエラーのない第2の金額
D2=100円が採用金額DLとされ、既に払出された
商品とカードの累計金額とが一致するようになつ
ている。第3回目にあらためて200円の商品が選
択されたとすると、第2の金額D2=100円を採用
金額として累計金額300円を求め、エラー信号の
付された第1の金額D1を正しい金額300円に更新
するので、更新記録のエラーが自動的に解消され
る。精算器において、第1の金額D1および第2
の金額D2に共にエラー信号が付されていない場
合には、大きい方の金額を請求金額とし、エラー
信号が付されている場合にはエラー信号の付され
ていない方の金額を請求金額とすることで、払出
された商品の合計金額に対応する金額の請求が行
なわれる。
[Effect] If a product with selling price D = 100 yen is selected in the first product purchase, the first or second price
One of the predetermined amounts of D 1 and D 2 , for example 0 yen of the first amount D 1 , is taken as the adopted amount D L , the cumulative amount (D L + D) = 100 yen is calculated, and this is calculated as the second amount. The amount D2 is written in place of 0 yen, and the first amount D1 is left as 0 yen. Assuming that a product with a selling price of D = 200 yen is selected for the second product purchase,
Assuming 100 yen of the second amount D 2 , which is the larger amount, as the adopted amount D, calculate the cumulative amount (D L + D) = 300 yen, write this in the first amount D 1 , and calculate the second amount D. 2 is left at 100 yen. Therefore, the larger of the first and second amounts D 1 and D 2 represents the total amount of purchased items up to this time, and the smaller amount represents the total amount of purchased items up to the previous time. Become. Here, if an error occurs when writing the cumulative amount of 300 yen and 400 yen is written to the first amount D 1, an error signal is attached to this first amount D 1 = 400 yen, and the second amount 200 yen products will not be paid out. Then, for the next purchase, that is, the third time, the second amount without any writing errors will be used.
D 2 = 100 yen is set as the adopted amount D L , so that the products already paid out and the cumulative amount on the card match. If a product worth 200 yen is selected again for the third time, the cumulative amount of 300 yen is calculated using the second amount D 2 = 100 yen, and the first amount D 1 with the error signal is used as the correct amount. Since the price is updated to 300 yen, the error in the update record will be automatically resolved. At the payment machine, the first amount D 1 and the second amount
If no error signal is attached to both amounts D 2 , the larger amount will be the billed amount, and if an error signal is attached, the amount without an error signal will be the billed amount. By doing so, an amount corresponding to the total amount of the paid products is billed.

[発明の実施例] 第1図、第2図および第3図は本発明の一実施
例を示したもので、第1図および第2図は本発明
の実施のための構成図、第3図はその制御フロー
チヤートを示す。
[Embodiment of the Invention] FIGS. 1, 2, and 3 show an embodiment of the present invention. The figure shows the control flowchart.

磁気ガード1は、第2図に示すように、磁気ス
トライプ2に第1の金額データD1が書き込まれ
る記録トラツク3と第2の金額データD2が書き
込まれる記録トラツク4を有する。記録トラツク
にはまたカードの適不適を判断するための判断デ
ータが書き込まれている。記録トラツク3,4に
は更にエラー信号を書き込むことが可能となつて
いる。エラー信号は、金額データD1,D2が正し
く書き込まれなかつた場合に、正しく書き込まれ
なかつた金額データの書込みエラーを表すもの
で、自動販売機からカード1の抜去時に正しく書
き込まれなかつた金額データ記録トラツクに当該
金額データに追随する形で書き込まれ、読み出し
の際に金額データに先立つて読み出され、当該金
額データの書込みエラーを表す。各トラツクの記
録金額は未使用では共に0である。自動販売機側
の読取装置における書込ヘツドW1,W2および読
出ヘツドR1,R2は各トラツクごとに用意されて
おり、カード抜去方向に書込みヘツド、読出ヘツ
ドの順で設けられている。これらのヘツドは夫々
書込回路5および読出回路6に接続されている。
書込回路5および読出回路6は第1図に示されて
いる。
As shown in FIG. 2, the magnetic guard 1 has a magnetic stripe 2 having a recording track 3 in which first monetary data D1 is written and a recording track 4 in which second monetary data 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 error signals to the recording tracks 3 and 4. The error signal indicates a writing error in the amount data that was not written correctly when the amount data D 1 and D 2 were not written correctly, and the amount that was not written correctly when the card 1 was removed from the vending machine. It is written to the data recording track following the amount data, and when read, it is read out before the amount data, indicating an error in writing the amount data. The recorded amount of each track is 0 if it is not used. Write heads W 1 , W 2 and read heads R 1 , R 2 in the reading device on the vending machine side are prepared for each track, and the write heads and the read heads are provided in that order in the card removal direction. . These heads are connected to a write circuit 5 and a read circuit 6, respectively.
Write circuit 5 and read circuit 6 are shown in FIG.

第1図は、自動販売機側のシステムを示し、1
0はマイクロコンピユータで、CPU101と、
制御プログラムを内蔵するROM102と、デー
タ記憶用のRAM103と、入力ポート104お
よび出力ポート105を備えている。
Figure 1 shows the system on the vending machine side.
0 is a microcomputer with CPU101,
It includes a ROM 102 containing a control program, a RAM 103 for data storage, an input port 104 and an output port 105.

入力ポート104には読出回路6および商品選
択ボタン11が接続されている。読出回路6は、
後述するように、磁気カード1の自動販売機への
挿入時に第1および第2の金額データD1,D2
ガードの正偽を判断するための判断データと記録
エラーのある場合のエラー信号とを入力ポート1
04に与え、磁気カード1の自動販売機からの抜
去時に当該販売までに費やされた合計金額の書込
データを入力ポート104に与える。商品選択ボ
タン11は、購入者の商品選択に応じた商品選択
データを入力ポート104に与える。
A readout circuit 6 and a product selection button 11 are connected to the input port 104 . The readout circuit 6 is
As will be described later, when the magnetic card 1 is inserted into the vending machine, first and second amount data D 1 , D 2 , judgment data for determining the authenticity of the guard, and an error signal in the case of a recording error are generated. and input port 1
04, and when the magnetic card 1 is removed from the vending machine, write data of the total amount spent up to the sale is given to the input port 104. The product selection button 11 supplies product selection data to the input port 104 in accordance with the purchaser's product selection.

出力ポート105には書込回路5、表示装置1
2および商品払出装置13が接続されている。書
込回路5には、磁気カード1の自動販売機からの
抜去時に、当該販売までに費やされた合計金額の
書込指令、記録エラーが生じた場合のエラー信号
の書込指令が与えられる。表示装置12にはカー
ド挿入、商品選択、カード抜去などの表示指令が
与えられる。商品払出装置13には商品払出指令
が与えられる。
The output port 105 has a write circuit 5 and a display device 1.
2 and a product dispensing device 13 are connected. When the magnetic card 1 is removed from the vending machine, the write circuit 5 is given a command to write the total amount spent up to the sale, and a command to write an error signal in case a recording error occurs. . Display commands such as card insertion, product selection, and card removal are given to the display device 12. A product delivery command is given to the product delivery device 13.

次に上記構成の動作を第3図のフローチヤート
を用いて説明する。
Next, the operation of the above configuration will be explained using the flowchart shown in FIG.

カードの受入れ持ちの状態では、表示装置12
にカード挿入指示が出され(ステツプ20)、これ
により表示装置12はその旨の表示を行なう。こ
の表示に従いカードが挿入されると、この挿入
で、磁気カード1の第1および第2の金額データ
D1,D2とカードの正偽を判別するための判断デ
ータと記録にエラーがあればエラー信号が、読出
回路6を通して取り込まれ(ステツプ21)、判断
データに基づく使用カードの適正判断(ステツプ
22)、エラー信号の有無の判別(ステツプ23)が
行なわれる。カードの正偽を判別するための判断
データは、使用されたカードが不正に偽造された
もの或いは他の販売等で用いられるカードである
場合に、その使用を排除するために与えられてい
る。
In the card acceptance state, the display device 12
A card insertion instruction is issued (step 20), and the display device 12 displays a message to that effect. When the card is inserted according to this display, the first and second amount data of magnetic card 1 will be displayed.
If there is an error in the judgment data and recording for determining the authenticity of the cards D1 and D2 , an error signal is taken in through the readout circuit 6 (step 21), and the appropriateness of the card to be used is judged based on the judgment data (step 21).
22), the presence or absence of an error signal is determined (step 23). Judgment data for determining whether a card is genuine or fake is provided in order to exclude the use of a card that has been fraudulently forged or used for other sales.

カードが適正てあり且つエラー信号がない場合
にはステツプ24に進み、カード1の記録金額D1
D2の大小判定が行なわれる。第1の金額データ
D1が第2の金額データD2より大(D1>D2)であ
る場合には、RAM103に用意されたデータ域
のDSに金額D2がDLに金額D1が書込まれる(ステ
ツプ25)。金額D1<金額D2の場合には、DSにD1
金額D2が書き込まれる(ステツプ26)。金額D1
金額D2の場合、即ちカードの使用開始当初の場
合にはD1=D2=0であり、DS,DLとしていずれ
を入れても良く、本例ではDSに金額D1が、DL
金額D2が入れられる(ステツプ27)。
If the card is valid and there is no error signal, proceed to step 24, and record the amount D 1 of card 1,
The size of D 2 is determined. First amount data
If D 1 is larger than the second amount data D 2 (D 1 > D 2 ), the amount D 2 is written to D S in the data area prepared in the RAM 103, and the amount D 1 is written to D L. (Step 25). If the amount D 1 <the amount D 2 , the amount D 2 is written to D 1 in D S (step 26). Amount D 1 =
In the case of the amount D 2 , that is, when the card is first used, D 1 = D 2 = 0, and either can be entered as D S or D L. In this example, the amount D 1 is in D S , The amount D2 is entered into D L (step 27).

次に、表示装置12に購入商品の選択指示が与
えられ(ステツプ28)、表示装置12にその旨の
表示が行なわれて、商品価格データDの受入れ待
ちとなる。購入者が商品選択ボタン11を通じて
購入商品を選択すれば、その商品に対応する価格
データDおよびステツプ25又は26又は27で得られ
た大きい方の金額DLと引き出されて、これらの
加算が行なわれ(ステツプ29)、その結果である
累計金額(DL+D)が一時記憶される。次いで
ステツプ30に移行し、カードの抜去指示が表示装
置12に与えられ、表示装置12にその旨の表示
が行なわれる。
Next, an instruction to select the purchased product is given to the display device 12 (step 28), a message to that effect is displayed on the display device 12, and the process waits for the product price data D to be accepted. When the purchaser selects a purchased product using the product selection button 11, the price data D corresponding to that product and the larger amount D L obtained in step 25, 26, or 27 are withdrawn, and these are added. (Step 29), and the resulting cumulative amount (D L +D) is temporarily stored. Next, the process moves to step 30, where an instruction to remove the card is given to the display device 12, and a message to that effect is displayed on the display device 12.

カード抜去表示に従つて購入者がカード1を抜
去すれば、この抜去時に、ステツプ25又は26又は
27でDSに入れられた金額D1又はD2に代えて、ス
テツプ29の累計金額(DL+D)がカードに書き
込まれるように、書込回路5に書込出力が与えら
れる(ステツプ31)。従つて、例えば金額D1
DS、金額D2=DLとすれば、累計金額(D2+D)
が金額D1に代えて書き込まれ、これが新たな金
額D1′となり、金額D2の方はそのまま残される。
これに続く次の販売では、金額D2=DS、金額
D1′=DLとなり、この販売での商品価格をD′とす
れば、加算金額(D1′+D′)が金額D2に代えて書
き込まれ、金額D1′の方はそのまま残される。
If the purchaser removes card 1 according to the card removal display, step 25 or 26 or
A write output is given to the write circuit 5 (step 31 ). Therefore, for example, the amount D 1 =
If D S and the amount D 2 = D L , the cumulative amount (D 2 + D)
is written in place of the amount D 1 and becomes the new amount D 1 ', leaving the amount D 2 as is.
For the next sale that follows, the amount D 2 = D S , the amount
D 1 ′ = D L , and if the product price in this sale is D ′, the additional amount (D 1 ′ + D ′) is written in place of the amount D 2 , and the amount D 1 ′ is left as is. .

カードの抜去時には更に、ステツプ31でカード
に書き込まれた累計金額(DL+D)の読み取り
が読出回路6によつて行なわれ、この読み出され
た内容とステツプ29で一時記憶されている累計金
額(DL+D)との一致が判断される(ステツプ
32、33)。この結果、両者が一致し累計金額(DL
+D)が正確に書き込まれていれば、対応商品の
払出指令が商品払出装置13に与えられ(ステツ
プ34)、商品が自動販売機から払出される。
When the card is removed, the reading circuit 6 reads the cumulative amount (D L +D) written on the card in step 31, and the read content and the cumulative amount temporarily stored in step 29 are read out. (D L +D) is determined (step
32, 33). As a result, both of them match and the cumulative amount (D L
+D) is correctly written, a corresponding product dispensing command is given to the product dispensing device 13 (step 34), and the product is dispensed from the vending machine.

ステツプ22で使用カードの不適正が判断されれ
ば、カード不適処理ルーチン35が呼び出され、
表示装置12にカード不適正の表示が行なわれ
て、販売動作は停止する。
If it is determined in step 22 that the card used is inappropriate, a card invalidity processing routine 35 is called.
A message indicating that the card is inappropriate is displayed on the display device 12, and the selling operation is stopped.

ステツプ33で加算金額の書込みにエラー有りと
判断された場合には、上述のカード抜去時に、書
込回路5を介してエラー信号の書込みが行なわれ
る(ステツプ36)。次いで、カード再挿入情報が
表示装置12に与えられ(ステツプ37)、カード
の再挿入が促される。カードが再挿入されると、
ステツプ21、22を経てステツプ23に進みステツプ
38に入る。ステツプ38では、D1にエラー信号
の無い方の金額を入れ、DSにはエラー信号の有
る方の金額を入れる。例えば、金額D1=DS、金
額D2=DLとし、累計金額(D2+D)が金額D1
代えて書き込まれ、この際に書込みエラーが生じ
たとすれば、DLを書込みエラーの無いD2とし、
書込みエラーの有る金額D1の方をDSとする。こ
の結果、書込みエラーの無い金額に基づいてその
後の販売動作が行なわれ、ステツプ31で書込エラ
ーが生じた方に新たに累計金額の書込みが行なわ
れ、書込エラーの生じた金額データおよびエラー
信号が消される。
If it is determined in step 33 that there is an error in writing the additional amount, an error signal is written via the writing circuit 5 when the card is removed as described above (step 36). Card reinsertion information is then provided to the display device 12 (step 37) to prompt reinsertion of the card. When the card is reinserted,
Proceed to step 23 via steps 21 and 22
Enter 38. In step 38, the amount for which there is no error signal is entered into D1 , and the amount for which there is an error signal is entered into D.sub.S. For example, if the amount D 1 = D S and the amount D 2 = D L , and the cumulative amount (D 2 + D) is written in place of the amount D 1 , and a writing error occurs at this time, then the writing error occurs when writing D L. Let D 2 without
Let the amount D1 with a writing error be D S. As a result, subsequent sales operations are performed based on the amount with no writing errors, and a new cumulative amount is written to the side where the writing error occurred in step 31, and the amount data with the writing error and the error are The signal is turned off.

このような販売の結果、カード1の金額D1
D2のうち大きい方に商品購入後の累計金額が記
録され、小さい方にカードの最終使用前の累計金
額が残される。精算は、カードの金額D1,D2
うち大きい方に記録されている累計金額を読み出
すことによつて行なわれる。第4図および第5図
はカードの精算方法の一例を示す構成図および制
御フローチヤートである。
As a result of such sales, the amount of card 1 D 1 ,
The cumulative amount after purchasing the product is recorded in the larger one of D 2 , and the cumulative amount before the final use of the card is recorded in the smaller one. Settlement is performed by reading out the cumulative amount recorded in the larger of the amounts D 1 and D 2 on the card. FIGS. 4 and 5 are a block diagram and a control flowchart showing an example of a card payment method.

第4図は精算所側のシステムを示し、マイクロ
コンピユータ40は、CPU401と、制御プロ
グラムを内蔵するROM402と、データ記憶用
のRAM403と、入力ポート404および出力
ポート405を有する。入力ポート404には読
出回路41が接続されて、カードの金額D1,D2
おびにエラー信号があればこの信号を読み取るこ
とができるように構成されている。出力ポート4
05には表示装置42が接続されて、カードの正
しい累計金額が表示されるように構成されてい
る。
FIG. 4 shows the system at the checkout office, and the microcomputer 40 has a CPU 401, a ROM 402 containing a control program, a RAM 403 for data storage, an input port 404, and an output port 405. A reading circuit 41 is connected to the input port 404, and the amount D 1 , D 2 of the card is read out.
If there is an error signal, this signal can also be read. Output port 4
05 is connected to a display device 42, and is configured to display the correct total amount of money on the card.

上記構成で、カードの挿入時に、図示しないヘ
ツドを介して読出回路41からカードの記録金額
D1,D2およびエラー信号があればこの信号を取
り込み(ステツプ51)、記録エラーの有無を判断
した後(ステツプ52)、データ域DLの金額として
金額データD1又はD2のいづれかが対応するかの
判別が行なわれる(ステツプ53又は54)。エラー
信号が無い場合には、ステツプ53で金額D1,D2
の大小比較によりDLを判別する。エラー信号が
有る場合には、ステツプ54でエラー信号の無い方
の金額DLとする。次いでデータ域DLの金額とし
て判別された金額を表示装置42に与え、これに
より購入商品の累計金額が表示装置42に表示さ
れる。
With the above configuration, when the card is inserted, the amount recorded on the card is read from the reading circuit 41 via the head (not shown).
After reading D 1 , D 2 and an error signal (step 51), and determining whether there is a recording error (step 52), either amount data D 1 or D 2 is determined as the amount in the data area D L. A determination is made as to whether they correspond (step 53 or 54). If there is no error signal, the amounts D 1 and D 2 are set in step 53.
D L is determined by comparing the size of . If there is an error signal, step 54 sets the amount D L for which there is no error signal. Next, the amount determined as the amount in the data area DL is given to the display device 42, whereby the cumulative amount of the purchased item is displayed on the display device 42.

第6図は本発明の実施に適用される磁気カード
の別の具体例を示すもので、その特徴は単一のト
ラツク60に第1の金額データD1および第2の
金額データD2を記録することにある。第1の金
額データD1は記録域Aに、第2の金額データD2
は記録域Bに、夫々記録される。なお、Wは書込
ヘツド、Rは読出ヘツドである。
FIG. 6 shows another specific example of a magnetic card applied to the implementation of the present invention, the feature of which is that first amount data D 1 and second amount data D 2 are recorded on a single track 60. It's about doing. The first amount data D 1 is stored in the recording area A, and the second amount data D 2 is stored in the recording area A.
are recorded in recording area B, respectively. Note that W is a write head and R is a read head.

以上述べた実施例では磁気カードを用いる場合
について説明したが、その他のカード、例えば
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, leather cards, and the like.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明によれば、今回まで
の商品購入に対する累計金額と前回までの商品購
入に対する累計金額とをカードに記録し、累計金
額の書き込みにエラーが生じて購入商品の払出し
が行なわれない場合に、前回までの商品購入に対
する累計金額を採用金額とするので、既に払出さ
れた購入商品と累計金額とを一致させることがで
き、また、次回の商品購入に誤つた累計金額が新
たな金額に更新されるので更新記録のエラーを自
動的に解消することができ、更に、精算時におい
て、エラー信号により金額の書込みエラーが認識
されて払出された商品の合計金額に対応する金額
が自動的に請求金額として与えられるので、金額
の取り扱いの正確性が向上し、金銭トラブルが防
止されるなどの効果を奏する料金後払いのカード
による自動販売方法を提供することができる。
As explained above, according to the present invention, the cumulative amount for the current product purchase and the cumulative amount for the previous product purchase are recorded on the card, and if an error occurs in writing the cumulative amount, the purchased product is not paid out. If not, the accumulated amount for the previous product purchase is used as the adopted amount, so the accumulated amount can be matched with the purchased product that has already been paid out, and the incorrect accumulated amount can be used for the next product purchase. Since the amount is updated to the correct amount, errors in the update record can be automatically resolved.Furthermore, at the time of checkout, the error signal recognizes the amount writing error and the amount corresponding to the total amount of the paid items is updated. Since the amount is automatically given as the billed amount, it is possible to provide an automatic vending method using a deferred payment card, which improves the accuracy of handling the amount and prevents financial troubles.

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

第1図および第2図は本発明を実施するための
構成図、第3図は第1図および第2図の構成の制
御フローチヤート、第4図は本発明に用いられる
カードを精算するための構成図、第5図は第4図
の構成の制御フローチヤート、第6図は本発明の
実施に用いられるカードの別の具体例である。 1:カード、5:書込回路、6:読出回路、1
0:マイクロコンピユータ、11:商品選択ボタ
ン、13:商品払出装置。
1 and 2 are configuration diagrams for implementing the present invention, FIG. 3 is a control flowchart for the configuration of FIGS. 1 and 2, and FIG. FIG. 5 is a control flowchart of the configuration shown in FIG. 4, and FIG. 6 is another specific example of a card used to implement the present invention. 1: Card, 5: Write circuit, 6: Read circuit, 1
0: Microcomputer, 11: Product selection button, 13: Product dispensing device.

Claims (1)

【特許請求の範囲】[Claims] 1 第1の金額D1と第2の金額D2と各金額D1
D2の書込みエラーを表わすエラー信号とを書き
込むことが可能で、第1および第2の金額D1
D2の初期金額が共に0である料金後払いのカー
ドを用いて自動販売機の商品を販売する方法であ
り、前記自動販売機への前記カードの挿入時に前
記カードの内容を読み出し、読み出された第1お
よび第2の金額D1,D2が共に0であれば予め定
めた一方の金額を採用金額DLとし、読み出され
た第1および第2の金額D1,D2が互いに異なつ
ていれば第1および第2の金額D1,D2のうちの
大きい方の金額を採用金額DLとし、この採用金
額DLに購入者の選択した商品の販売価格Dを加
算して累計金額(DL+D)を求め、前記自動販
売機からの前記カードの抜去時に、累計金額
(DL+D)を今回採用金額DLとして用いられなか
つた第1または第2の金額D1,D2に代えて前記
カードに書き込むことにより、前記カードの第1
および第2の金額D1,D2のうちの大きい方の金
額が今回までの購入商品の合計金額を表わし、小
さい方が前回までの購入商品の合計金額を表わす
ようにすると共に、前記自動販売機からの前記カ
ードの抜去時に前記カードへの累計金額(DL
D)の書き込みに追従して前記カードから当該累
計金額(DL+D)を読み出し、読み出された累
計金額(DL+D)に誤りがない場合に購入者の
選択した商品の払出しを行ない、読み出された累
計金額(DL+D)に誤りがある場合には商品の
払出しを行なうことなく当該累計金額(DL+D)
が書き込まれた第1または第2の金額D1,D2
表わすエラー信号を前記カードに書き込み、前記
自動販売機への前記カードの次回の挿入時に書込
みエラーのない第1または第2の金額D1,D2
採用金額DLとし、書込みエラーのある第1また
は第2の金額D1,D2およびエラー信号に代えて
累計金額(DL+D)を前記カードに書込むよう
にし、精算時に、前記カードの内容を読み出し、
エラー信号がない場合には第1または第2の金額
D1,D2のうちの大きい方の金額を請求金額とし、
エラー信号がある場合には第1または第2の金額
D1,D2のうちの書込みエラーのない方の金額を
請求金額とするようにしたことを特徴とするカー
ドによる自動販売方法。
1 The first amount D 1 , the second amount D 2 , and each amount D 1 ,
and an error signal representing a writing error of D 2 , and the first and second amounts D 1 ,
D 2 is a method of selling products from a vending machine using a deferred payment card whose initial amount is 0, in which the contents of the card are read out when the card is inserted into the vending machine, and the contents of the card are read out. If the first and second amounts D 1 and D 2 are both 0, one of the predetermined amounts is set as the adopted amount D L , and the read first and second amounts D 1 and D 2 are different from each other. If they are different, the larger of the first and second amounts D 1 and D 2 is set as the adopted amount D L , and the selling price D of the product selected by the purchaser is added to this adopted amount D L. The cumulative amount (D L + D) is calculated, and when the card is removed from the vending machine, the cumulative amount (D L + D) is calculated as the first or second amount D 1 that was not used as the current adopted amount D L. , D 2 in place of the first one of the card.
The larger of the second amounts D 1 and D 2 represents the total amount of purchased items up to this time, and the smaller one represents the total amount of purchased items up to the previous time, and the automatic sales When the card is removed from the machine, the cumulative amount (D L +
Following the writing in step D), the cumulative amount (D L +D) is read from the card, and if there is no error in the read cumulative amount (D L +D), the product selected by the purchaser is paid out; If there is an error in the read cumulative amount (D L + D), the cumulative amount (D L + D) will be changed without paying out the product.
writes an error signal on said card representing a first or second amount D 1 , D 2 written in said card, and the first or second amount without writing error is written on said card the next time said card is inserted into said vending machine. D 1 , D 2 are adopted amounts DL , and instead of the first or second amounts D 1 , D 2 with a writing error and the error signal, the cumulative amount (D L +D) is written on the card; At the time of payment, read the contents of the card,
the first or second amount if there is no error signal;
The billing amount shall be the larger of D 1 and D 2 .
First or second amount if there is an error signal
A vending method using a card, characterized in that the amount charged is the amount of D 1 or D 2 that does not have a writing error.
JP24803784A 1984-11-26 1984-11-26 Vending by card Granted JPS61127089A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24803784A JPS61127089A (en) 1984-11-26 1984-11-26 Vending by card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24803784A JPS61127089A (en) 1984-11-26 1984-11-26 Vending by card

Publications (2)

Publication Number Publication Date
JPS61127089A JPS61127089A (en) 1986-06-14
JPH0334117B2 true JPH0334117B2 (en) 1991-05-21

Family

ID=17172254

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24803784A Granted JPS61127089A (en) 1984-11-26 1984-11-26 Vending by card

Country Status (1)

Country Link
JP (1) JPS61127089A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61114398A (en) * 1984-11-08 1986-06-02 株式会社日本コンラックス Vending apparatus and method by card

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61114398A (en) * 1984-11-08 1986-06-02 株式会社日本コンラックス Vending apparatus and method by card

Also Published As

Publication number Publication date
JPS61127089A (en) 1986-06-14

Similar Documents

Publication Publication Date Title
JPH0122676B2 (en)
JPH0334117B2 (en)
JPS6224388A (en) Vending machine
JP2600845B2 (en) Prepaid card vending machine
JP2506661B2 (en) Card type vending machine
JPS6224393A (en) Payable card type vending machine
JP2703218B2 (en) Article providing device
JPH0639391Y2 (en) vending machine
JPS58181191A (en) Card-combined vending machine
JPH0222759Y2 (en)
JPS6252696A (en) Vending machine system employing advance/later payment sharing card
JPS62111382A (en) Vending machine
JP2680630B2 (en) Card type vending machine
JPS63255796A (en) Card type vending machine
JPH0833949B2 (en) Card issuing machine
WO1998003944A1 (en) Automatic cash handling machine using shopping membership card
JPS6224389A (en) Vending machine
JPH04102272A (en) Multiple withdrawal preventing system
JPS62179092A (en) Balance processing for prepaid card
JPS58181190A (en) Vending machine with card
JPH07104967B2 (en) Card balance settlement device for prepaid card vending machines
JPH0833948B2 (en) Card issuing machine
JPS63115296A (en) Card type vending machine
JPS63132391A (en) Card type vending machine
JPS63201890A (en) Card type vending machine