JPH07105331A - Card and card reader - Google Patents

Card and card reader

Info

Publication number
JPH07105331A
JPH07105331A JP5265442A JP26544293A JPH07105331A JP H07105331 A JPH07105331 A JP H07105331A JP 5265442 A JP5265442 A JP 5265442A JP 26544293 A JP26544293 A JP 26544293A JP H07105331 A JPH07105331 A JP H07105331A
Authority
JP
Japan
Prior art keywords
card
recording
writing device
card reader
recorded
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.)
Granted
Application number
JP5265442A
Other languages
Japanese (ja)
Other versions
JP2864334B2 (en
Inventor
Yoshiaki Seto
義昭 瀬戸
Takanobu Fujii
隆信 藤井
Norio Sugiyama
則男 杉山
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.)
Tamura Electric Works Ltd
Original Assignee
Tamura Electric Works 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 Tamura Electric Works Ltd filed Critical Tamura Electric Works Ltd
Priority to JP5265442A priority Critical patent/JP2864334B2/en
Publication of JPH07105331A publication Critical patent/JPH07105331A/en
Application granted granted Critical
Publication of JP2864334B2 publication Critical patent/JP2864334B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To detect properly a fault of the card reader and to inhibit the use of the failed card reader. CONSTITUTION:An equipment number of a card reader recording residual amount data when the use of a card 2 is finished is recorded on a variable track of plural cards, plural equipment numbers to be recorded are read and compared with an equipment number at recording and when the comparison indicates abnormal recording, the fault of the card reader is informed. As a result, the card reader detects automatically the fault by itself to inform it and then the succeeding use of the reader is inhibited.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、カード及び挿入された
カードに対し価値情報の記録及び再生を行うカードリー
ダに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a card and a card reader for recording and reproducing value information on the inserted card.

【0002】[0002]

【従来の技術】カードの利用によって各種の物品を販売
する自動販売機では、カードリーダが備えられている。
このようなカードリーダは、カードが挿入された場合、
カードをモータの回転によって搬送路内のヘッドの位置
まで搬送すると共に、ヘッドにより価値情報を読み取
り、読み取ったカードの価値情報を表示等を行う。ここ
で利用者が物品を購入するために自動販売機の物品選択
ボタンを操作すると、該当の物品が販売される。そして
このときカードリーダでは、読み取った上記価値情報か
ら販売した物品の価値情報を減じ、この残額情報を上記
ヘッドによりカードに書き込ませ、その後カードを返却
するようにしている。
2. Description of the Related Art An automatic vending machine that sells various items by using a card is equipped with a card reader.
Such a card reader, when a card is inserted,
The card is carried to the position of the head in the carrying path by the rotation of the motor, the value information is read by the head, and the read value information of the card is displayed. Here, when the user operates the article selection button of the vending machine to purchase the article, the article is sold. At this time, the card reader subtracts the value information of the sold article from the read value information, writes the remaining amount information on the card by the head, and then returns the card.

【0003】[0003]

【発明が解決しようとする課題】このようなカードリー
ダでは、例えばヘッド等が故障すると、カードに残額情
報を記録する際にカードに対しては正常なデータが書き
込まれず、以降このカードの使用が不可能になると共
に、故障したカードリーダが用いられることによって、
以降の利用カードに次々に異常なデータが書き込まれる
いう問題を生じている。
In such a card reader, if the head or the like fails, for example, normal data will not be written to the card when the balance information is recorded on the card, and the card will not be used thereafter. It becomes impossible, and by using a defective card reader,
There is a problem that abnormal data is written to subsequent usage cards one after another.

【0004】したがって本発明は、カードリーダの故障
を的確に検出すると共に、故障したカードリーダの以降
の使用を禁止することを目的とする。
Therefore, an object of the present invention is to accurately detect a failure of a card reader and to prohibit the subsequent use of the failed card reader.

【0005】[0005]

【課題を解決するための手段】このような課題を解決す
るために本発明は、カードの可変トラックに価値情報の
書き込みを行う書込装置の番号を記録する書込装置番号
記録領域を設けたものである。また、上記書込装置番号
記録領域を複数設けたものである。また、カードの使用
が終了したときに価値情報を記録する書込装置の番号を
複数個上記可変トラックに記録する記録手段と、この記
録手段により記録された複数の書込装置番号を読み出し
て記録時の書込装置番号と比較し可変トラックに対し各
書込装置番号が正常に記録されたか否かを判定する判定
手段と、この判定手段の判定出力が否の場合に装置の異
常を報知する異常報知手段とをカードリーダに設けたも
のである。
In order to solve such a problem, the present invention provides a writing device number recording area for recording the number of a writing device for writing value information on a variable track of a card. It is a thing. Further, a plurality of the writing device number recording areas are provided. Also, recording means for recording a plurality of writing device numbers for recording the value information on the variable track when the use of the card is finished, and a plurality of writing device numbers recorded by the recording means are read and recorded. The determination device for determining whether or not each writing device number is normally recorded on the variable track by comparing with the writing device number at the time, and notifying the abnormality of the device when the determination output of this determination device is no. The abnormality notification means is provided in the card reader.

【0006】[0006]

【作用】カードには、このカードに対して価値情報を記
録する書込装置の番号が記録される。したがって不良と
なったカードに記録される書込装置番号からカードリー
ダの故障を検出することができる。また、カードの可変
トラックには書込装置番号の記録領域が複数設けられ
る。この結果、価値情報の記録時に例えば各記録領域に
対して同一の書込装置番号を記録するようにすれば、各
記録領域の記録状況に応じ容易に書込装置、即ちカード
リーダの故障を検出することができる。また、カードの
使用が終了したときに価値情報を記録する書込装置の番
号が複数個可変トラックに記録されると共に、記録され
た複数の書込装置番号が読み出されて記録時の書込装置
番号と比較され、正常に記録されない場合は装置の異常
が報知される。この結果、カードリーダは自身の故障を
自動的に検出できる。
The number of the writing device for recording the value information on the card is recorded on the card. Therefore, it is possible to detect the failure of the card reader from the writing device number recorded on the defective card. A plurality of recording areas for writing device numbers are provided in the variable tracks of the card. As a result, when recording the value information, for example, if the same writing device number is recorded in each recording area, it is possible to easily detect the failure of the writing device, that is, the card reader, according to the recording situation of each recording area. can do. Also, a plurality of writing device numbers for recording the value information when the use of the card is finished are recorded on the variable track, and the plurality of recorded writing device numbers are read out to write at the time of recording. It is compared with the device number, and if it is not recorded normally, an abnormality of the device is notified. As a result, the card reader can automatically detect its own failure.

【0007】[0007]

【実施例】以下、本発明について図面を参照して説明す
る。図6は本発明に係るカードリーダの断面図である。
同図において、1はカードリーダ、2はカードである。
ここでカードリーダ1は次のように構成されている。即
ち、11はカード挿入口、12はカード搬送路、13は
モータ、14,17はベルト、15はプーリ、16A,
16Bはローラである。ところで、カード2がカード挿
入口11に挿入されると、モータ13が正転(正回転)
し、この回転力がベルト14によりプーリ15に伝達さ
れることによりプーリ15が回転する。そしてこのプー
リ15の回転によりこれと同軸上に固定配設されたロー
ラ16Aが回転し、この結果、ベルト17を介してロー
ラ16Bも回転する。したがって挿入されたカード2
は、モータ13の回転に基づくベルト17によりカード
搬送路12内を搬送される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings. FIG. 6 is a sectional view of the card reader according to the present invention.
In the figure, 1 is a card reader and 2 is a card.
Here, the card reader 1 is configured as follows. That is, 11 is a card insertion slot, 12 is a card transport path, 13 is a motor, 14 and 17 are belts, 15 is a pulley, 16A,
16B is a roller. By the way, when the card 2 is inserted into the card insertion slot 11, the motor 13 rotates normally (forward rotation).
Then, by transmitting this rotational force to the pulley 15 by the belt 14, the pulley 15 rotates. The rotation of the pulley 15 causes the roller 16A fixedly arranged coaxially therewith to rotate, and as a result, the roller 16B also rotates via the belt 17. Therefore the inserted card 2
Are conveyed in the card conveying path 12 by the belt 17 based on the rotation of the motor 13.

【0008】またカード搬送路12には、図6に示すよ
うに、カード2の挿入を検知する挿入検知センサ21、
カード2の2重の取り込みを禁止するためのシャッタ2
2、カード2の搬送路12内における位置を検出する位
置センサ23A,23B、カード2に対しパンチを行う
パンチ部24、及びカード2に対してデータの記録再生
を行うヘッド部25が配設されている。
Further, as shown in FIG. 6, an insertion detection sensor 21 for detecting the insertion of the card 2 is provided in the card conveyance path 12,
Shutter 2 for prohibiting double capture of card 2
2, position sensors 23A and 23B for detecting the position of the card 2 in the transport path 12, a punch unit 24 for punching the card 2, and a head unit 25 for recording and reproducing data on the card 2 are provided. ing.

【0009】次に図1は、以上のように構成されたカー
ドリーダの制御を行う制御部のブロック図である。同図
において、30は本カードリーダ全体の制御を行うCP
Uからなる制御回路であり送受信回路31を介し上位装
置である制御ユニット32に接続されている。制御回路
30には、上述のモータ13、挿入検知センサ21、シ
ャッタ部22、位置センサ23(23A,23B)、パ
ンチ部24、ヘッド部25が接続されている。また、こ
の他、カード2に印刷されたバーコード等を検出する光
学センサ26、モータ13の回転速度を検出するエンコ
ーダ27、装置の各種データを記憶し電気的記録及び消
去が可能なEEPROM33、制御回路30の実行する
プログラムを格納するROM34、及びデータの一時記
憶を行うRAM35が接続されている。
Next, FIG. 1 is a block diagram of a control unit for controlling the card reader configured as described above. In the figure, 30 is a CP for controlling the entire card reader.
The control circuit is composed of U and is connected to a control unit 32, which is a higher-level device, via a transmission / reception circuit 31. The control circuit 30 is connected to the motor 13, the insertion detection sensor 21, the shutter section 22, the position sensor 23 (23A and 23B), the punch section 24, and the head section 25. In addition, an optical sensor 26 for detecting a bar code printed on the card 2, an encoder 27 for detecting the rotation speed of the motor 13, an EEPROM 33 for storing various data of the apparatus and capable of electrically recording and erasing, control. A ROM 34 for storing a program executed by the circuit 30 and a RAM 35 for temporarily storing data are connected.

【0010】ここで、カード2が挿入されその先端が挿
入検知センサ21により検出された場合、制御回路30
はシャッタ部22を開き、かつモータ13を正転させて
カード2の取り込みを行う。カード2がカード搬送路1
2内に取り込まれると、制御回路30は各位置センサ2
3A,23Bの検出出力に基づいてカード搬送路12内
をヘッド部25の位置まで搬送する。この場合、搬送さ
れるカード2の後端が位置センサ23Bにより検出され
てからカード2の磁気データの記録領域に達するまでの
搬送は、エンコーダ27を介するモータ13の回転数に
基づき制御される。
When the card 2 is inserted and the tip of the card 2 is detected by the insertion detection sensor 21, the control circuit 30
Opens the shutter 22 and rotates the motor 13 in the forward direction to take in the card 2. Card 2 is card transport path 1
2, the control circuit 30 controls each position sensor 2
Based on the detection outputs of 3A and 23B, the card is conveyed in the card conveying path 12 to the position of the head portion 25. In this case, the conveyance from the detection of the rear end of the conveyed card 2 by the position sensor 23B to the arrival of the magnetic data recording area of the card 2 is controlled based on the rotation speed of the motor 13 via the encoder 27.

【0011】即ち、カード2の後端が位置センサ23B
に検出された後、モータ13の回転数を計数する。そし
てこれが所定数に達すると、制御回路30はモータ13
を停止すると共に、ヘッド部25を駆動しカード2のデ
ータ記録領域に対しデータの再生及び記録を行う。そし
てその後、モータ13を逆回転させ、カード2に対し必
要に応じてパンチ部24によりパンチさせた後、カード
2をカード挿入口11へ排出させる。
That is, the rear end of the card 2 is the position sensor 23B.
Then, the number of rotations of the motor 13 is counted. When this reaches a predetermined number, the control circuit 30 causes the motor 13
At the same time, the head unit 25 is driven to reproduce and record data in the data recording area of the card 2. Then, after that, the motor 13 is rotated in the reverse direction, the card 2 is punched by the punching section 24 as necessary, and then the card 2 is ejected to the card insertion port 11.

【0012】このようなカードリーダ1は、例えばヘッ
ド部25等が故障したりすると、異常データが書き込ま
れてその後の使用が不可能となる不良カードを次々に発
生させることから、カード2の後述する可変トラック
に、金額データの記憶領域とともに使用したカードリー
ダの番号の記憶領域を設ける。そしてカードリーダは、
金額データを記録するときに自身の番号も併せて記録す
る。このようにカード2を構成すれば、このカードがカ
ードリーダの不良によって不良カードになった場合、そ
のカードリーダの番号から不良のカードリーダを特定で
き、したがってこれを回収して修復を行うことができ
る。
In such a card reader 1, if, for example, the head section 25 or the like fails, abnormal data are written and defective cards that cannot be used thereafter are generated one after another. The variable track is provided with a storage area for the number of the card reader used together with the storage area for the amount data. And the card reader
When you record the amount data, record your own number as well. If the card 2 is configured in this way, and if this card becomes a defective card due to a defective card reader, the defective card reader can be identified from the number of the card reader, and therefore this can be collected and repaired. it can.

【0013】図2は、このような不良カードである利用
客の苦情カードを処理する集計装置(図示省略)の動作
を示すフローチャートである。まずステップST1で
は、苦情カードに対し金額データを記録したカードリー
ダの番号、即ち書込装置番号を検出するカード調査を行
い、次いでステップST2では、メモリに登録されてい
る過去の苦情カードの書込装置番号を検出する登録デー
タ調査を行う。そして、ステップST3では、過去の苦
情カードの中にステップST1で検出された書込装置番
号と同一のカードが存在するか否かを判断し、これが
「N」となる場合はステップST4でこの苦情カードの
書込装置番号を新規にメモリに登録する。
FIG. 2 is a flow chart showing the operation of a totaling device (not shown) for processing a customer complaint card which is such a defective card. First, in step ST1, a card survey is performed to detect the number of the card reader that records the amount data, that is, the writing device number, in step ST1, and then in step ST2, the writing of past complaint cards registered in the memory is performed. Perform registration data survey to detect device number. Then, in step ST3, it is determined whether or not there is a card having the same writing device number as that detected in step ST1 among the past complaint cards, and if it is "N", this complaint is received in step ST4. The writing device number of the card is newly registered in the memory.

【0014】また、苦情カードの書込装置番号と同一の
番号が既に登録されておりステップST3の判定が
「Y」となる場合は、その件数を1つ増加すると共にス
テップST5へ移行しその件数がn件以上か否かを判断
する。そしてn件以上であればこの苦情カードに金額デ
ータを書き込んだ書込装置(カードリーダ)の回収をス
テップST6で指示する。この結果、書込装置は回収さ
れて不良箇所の調査及び修理が行われることから、故障
のカードリーダによる書き込みが阻止される。
If the same number as the writing device number of the complaint card is already registered and the determination in step ST3 is "Y", the number is increased by 1 and the process proceeds to step ST5. It is determined whether there are n or more cases. If the number is n or more, the writing device (card reader) that has written the amount data on the complaint card is instructed to be collected in step ST6. As a result, the writing device is collected and the defective portion is investigated and repaired, so that writing by the defective card reader is prevented.

【0015】次に図3(a)は、カード2の具体的な構
成を示す図であり、カード2には、このカードの番号等
の固定情報が記録される固定トラック3、金額データ等
が記録される可変トラック4が設けられている。そして
可変トラック4は同一データがそれぞれ記録される5つ
の領域A,B,C,D,Eに分割されている。
Next, FIG. 3A is a diagram showing a concrete structure of the card 2, in which the fixed track 3 in which fixed information such as the card number and the like are recorded, the amount data and the like. A variable track 4 for recording is provided. The variable track 4 is divided into five areas A, B, C, D and E in which the same data is recorded.

【0016】次に図4は、本発明の第2の実施例動作を
示し、上述のように構成されたカード2がカードリーダ
1に挿入された場合の制御回路30の動作を示すフロー
チャートである。なお、このカード2には既にカードリ
ーダにより上記5つの各領域にデータが記録されている
ものとする。カード2が挿入され図4のステップST1
1で「Y」と判定されると、カード2は取り込まれカー
ド搬送路12内をヘッド部25の配設位置まで搬送され
る。続いてステップST12ではカード2の領域A〜E
の各データをヘッド部25を介して読み取り、読み取っ
た5つの領域(5つのブロック)の各データのうち、正
常データのブロックが3ブロック以上あるか否かをステ
ップST13で判断する。そしてこれが3/5に満たな
い場合はステップST14でカード2を返却する。
Next, FIG. 4 is a flow chart showing the operation of the second embodiment of the present invention, showing the operation of the control circuit 30 when the card 2 having the above-mentioned structure is inserted into the card reader 1. . It is assumed that the card 2 has already recorded data in each of the above five areas by the card reader. The card 2 is inserted and step ST1 in FIG.
When it is determined to be “Y” in 1, the card 2 is taken in and conveyed in the card conveying path 12 to the arrangement position of the head portion 25. Subsequently, in step ST12, areas A to E of the card 2 are
Each data is read via the head unit 25, and it is determined in step ST13 whether or not there are three or more blocks of normal data among the read data in each of the five areas (five blocks). If this is less than 3/5, the card 2 is returned in step ST14.

【0017】また、正常ブロックが3/5以上ありステ
ップST13の判定が「Y」となる場合は、ステップS
T15へ移行する。そしてカード2を利用した例えば通
話等が行われ、この通話の終了によってステップST1
5でカード2に残度数の書き込みが行われる。この残度
数の書き込みは、各領域A〜Eに対して行われ同一の度
数が書き込まれる。その後、各領域に書き込んだ度数デ
ータを読み出して書き込みデータと比較するベリファイ
リードの処理をステップST16で行い、データが正常
に書き込まれたブロックの数の判定をステップST17
で行う。
When the number of normal blocks is 3/5 or more and the determination in step ST13 is "Y", step S
Move to T15. Then, for example, a call or the like is performed using the card 2, and when this call ends, step ST1
At 5, the remaining number is written to the card 2. The remaining frequency is written to each of the areas A to E, and the same frequency is written. After that, the verify read process of reading the frequency data written in each area and comparing it with the write data is performed in step ST16, and the number of blocks in which the data is normally written is determined in step ST17.
Done in.

【0018】ここで正常ブロック数が3/5以上存在す
る場合[例えば図3(b)の場合]は、このカードリー
ダ1はカード2に対し正常にデータを書き込むことがで
き、したがって正常であると判断してステップST18
で送受信回路31を介して上位装置である制御ユニット
32へ正常終了通知を行い、その後ステップST19で
カード2を返却する。また、上記ベリファイリードの結
果、正常ブロック数が1/5〜2/5である場合[例え
ば図3(c)の場合]は、このカードに対してはデータ
が正常に書き込むことができないとしてステップST2
0で制御ユニット32へ書き込みエラー通知を行い、そ
の後ステップST21でカードの返却を行う。なお、カ
ード2に対し全くデータを書き込むことができず正常ブ
ロック数が「0」の場合[例えば図3(d)の場合]
は、ステップST22で書き込みエラーを通知すると共
に、この装置の異常によりカード2へデータを書き込む
ことができないとしてステップST23でこの装置の異
常を示す装置異常通知を行い、ステップST24へ移行
してカード2を返却する。そしてこの書込装置が修理さ
れるまで以降の動作を停止させる。
Here, when the number of normal blocks is 3/5 or more [for example, in the case of FIG. 3B], this card reader 1 can normally write data to the card 2, and therefore is normal. Judge that it is step ST18
Then, a normal termination notification is sent to the control unit 32, which is a higher-level device, via the transmission / reception circuit 31, and then the card 2 is returned in step ST19. As a result of the verify read, if the number of normal blocks is 1/5 to 2/5 [for example, in the case of FIG. 3C], it is determined that the data cannot be normally written to this card. ST2
At 0, a write error notification is sent to the control unit 32, and then the card is returned at step ST21. In addition, when no data can be written to the card 2 and the number of normal blocks is “0” [for example, in the case of FIG. 3D]
Sends a write error in step ST22, and, in step ST23, sends a device error notification indicating that the device cannot be written due to an error in the device, and moves to step ST24 to move to the card 2 Will be returned. Then, the subsequent operations are stopped until the writing device is repaired.

【0019】このように、カード2にデータの記録ブロ
ックを複数設け、データの書き込み時に同一データを各
ブロックに記録すると共に、各ブロックに記録したデー
タを読み出して書き込みデータと比較し、データが正常
に記録及び再生されたブロック数に応じ書込装置の正否
を検出するようにしたものである。なお、本実施例では
各ブロックに書き込まれるデータとして金額データの例
を説明したが、金額データとともにこの金額データを書
き込むカードリーダの番号を複数記録するようにしても
良い。
As described above, the card 2 is provided with a plurality of data recording blocks, the same data is recorded in each block when writing the data, and the data recorded in each block is read out and compared with the write data to confirm that the data is normal. The correctness of the writing device is detected according to the number of blocks recorded and reproduced. In the present embodiment, an example of monetary amount data is described as data to be written in each block, but a plurality of card reader numbers for writing this monetary amount data may be recorded together with the monetary amount data.

【0020】次に、カード2の図3(a)に示す可変ト
ラック4の各領域A〜Eを、金額データとともにこの金
額データを書き込む書込装置(即ち、カードリーダ)の
番号が記録できるように構成する。そして、データの書
き込み時に同一の金額データ及び書込装置番号を各領域
(各ブロック)に記録すると共に、各ブロックに記録し
た上述の各データを読み出して書き込みデータと比較
し、データが正常に記録及び再生されたブロック数を検
出する。そして正常ブロック数が少なくかつこの場合に
同一書込装置によりデータが書き込まれたものと判定さ
れるときにはこの装置を異常と判定する。
Next, in each area A to E of the variable track 4 shown in FIG. 3A of the card 2, the number of the writing device (that is, the card reader) for writing the amount data together with the amount data can be recorded. To configure. Then, at the time of writing the data, the same amount data and the writing device number are recorded in each area (each block), and each of the above-mentioned data recorded in each block is read and compared with the write data, and the data is normally recorded. And detect the number of blocks played. If the number of normal blocks is small and it is determined in this case that the same writing device has written data, this device is determined to be abnormal.

【0021】図5は、本発明の第3の実施例動作を示す
フローチャートであり、以上のような制御動作を行う制
御回路30の動作を示している。ここで、上述のように
構成されたカード2が挿入された場合の各ステップST
31〜ST34の動作は、図4に示す各ステップST1
1〜ST14に示す動作と同様でありその説明を省略す
るが、正常ブロックの数が3/5以上ありステップST
33の判定が「Y」となる場合は、読み取ったデータの
うちの書込装置番号はRAM35に記憶しておく。
FIG. 5 is a flow chart showing the operation of the third embodiment of the present invention, and shows the operation of the control circuit 30 which performs the above control operation. Here, each step ST when the card 2 configured as described above is inserted
The operation of 31 to ST34 is performed in each step ST1 shown in FIG.
Although the operation is the same as that shown in 1 to ST14 and its description is omitted, the number of normal blocks is 3/5 or more, and step ST
If the determination of 33 is “Y”, the writing device number of the read data is stored in the RAM 35.

【0022】そしてカード2を利用した例えば通話等が
行われ、この通話の終了によってステップST35でカ
ード2に残度数の書き込みが行われる。この残度数の書
き込みは、各領域A〜Eに対し行われ同一の度数データ
及び書込装置番号が書き込まれる。その後、各領域に書
き込んだ度数データを読み出して書き込みデータと比較
するベリファイリードの処理をステップST36で行
い、データが正常に書き込まれたブロック数の判定をス
テップST37で行う。
Then, for example, a call or the like using the card 2 is performed, and at the end of this call, the remaining number is written in the card 2 in step ST35. The remaining frequency is written to each of the areas A to E, and the same frequency data and the same writing device number are written. After that, the verify read process of reading the frequency data written in each area and comparing it with the write data is performed in step ST36, and the number of blocks in which the data is normally written is determined in step ST37.

【0023】ここで正常ブロック数が3/5以上存在す
る場合[例えば図3(b)の場合]は、このカードリー
ダ1はカード2に対し正常にデータを書き込むことがで
き、したがって正常であると判断してステップST38
で送受信回路31を介して上位装置である制御ユニット
32へ正常終了通知を行い、その後ステップST39で
カード2を返却する。
If the number of normal blocks is 3/5 or more [for example, in the case of FIG. 3 (b)], the card reader 1 can normally write data to the card 2 and is therefore normal. Judge that it is step ST38
Then, a normal termination notification is sent to the control unit 32, which is a higher-level device, via the transmission / reception circuit 31, and then the card 2 is returned in step ST39.

【0024】また、上記ベリファイリードの結果、正常
ブロック数が0/5〜2/5である場合[例えば図3
(c),(d)の場合]は、まずステップST40でR
AM35に記憶してある前回の書込装置番号とこのカー
ドリーダの番号である書込装置番号とを比較し、「以前
の書込装置は本装置か?」を判断する。そして前回の書
込装置が本装置である場合は、カード2は以前は正常で
あり、前回及び今回の本装置の書込動作により不良にな
ったものと判断しステップST41で制御ユニット32
に対し装置異常を通知すると共に、ステップST42で
書き込みエラー通知を行い、その後ステップST43で
カード2の返却を行う。また、前回の書込装置が本装置
ではなくステップST40の判定が「N」となる場合
は、ステップST42でカードに対する書き込み不良を
示す書き込みエラー通知を制御ユニットに対して行い、
その後カードを返却する。
As a result of the verify read, the number of normal blocks is 0/5 to 2/5 [see FIG.
In the case of (c) and (d)], first in step ST40, R
The previous writing device number stored in the AM 35 is compared with the writing device number which is the number of this card reader to determine "Is the previous writing device this device?". If the previous writing device is this device, it is determined that the card 2 was normal before, and it has become defective due to the writing operation of the previous and present devices, and the control unit 32 is determined in step ST41.
Is notified of a device abnormality, a write error notification is given in step ST42, and then the card 2 is returned in step ST43. If the previous writing device is not this device and the determination in step ST40 is "N", a writing error notification indicating a writing error to the card is issued to the control unit in step ST42,
Then return the card.

【0025】なお、前回の書込装置が本装置ではなくス
テップST40の判定が「N」となる場合、装置に予め
設けられたエラーカウンタを計数し、これが連続n回に
なると装置を異常と判定するように構成しても良い。ま
た、このカードリーダの上位装置である制御ユニット3
2と上述した集計装置とを通信回線で接続できるように
構成すれば、装置の異常を制御ユニット32を介して集
計装置へ送信することにより、修理依頼を行うことがで
きる。また、カードに不良データが書き込まれた際に前
回の書込装置が本装置ではない場合は、利用者がこの不
良カードを集計装置のところへ持参する。そして、集計
装置においてこれら不良カードの書き込みを行った書込
装置番号を読み取って集計し、これがn件以上となった
ときにこの書込装置を不良と判断して上述の通信機能に
よりカードリーダを使用禁止にすることができる。
If the previous writing device is not this device and the determination in step ST40 is "N", an error counter provided in the device is counted, and if the number is consecutive n times, the device is determined to be abnormal. It may be configured to do so. In addition, the control unit 3 which is a higher-level device of this card reader
If 2 and the above-mentioned totalizing device are configured to be connected by a communication line, a repair request can be made by transmitting an abnormality of the device to the totaling device via the control unit 32. If the previous writing device is not this device when the defective data is written in the card, the user brings this defective card to the totalizing device. Then, the totaling device reads and totals the writing device numbers that have written these defective cards, and when the number is n or more, the writing device is determined to be defective and the card reader is activated by the communication function described above. Can be prohibited.

【0026】[0026]

【発明の効果】以上説明したように本発明によれば、カ
ードに対して価値情報を記録する書込装置の番号を記録
する領域をカードに設けるようにしたので、カードが不
良となった場合に不良となったカードに記録される書込
装置番号からカードリーダの故障を検出することができ
る。また、カードの可変トラックに書込装置番号の記録
領域を複数設けるようにしたので、価値情報の記録時に
例えば各記録領域に対して同一の書込装置番号を記録す
るようにすれば、各記録領域の記録状況の結果から書込
装置の故障を容易に検出することができる。また、カー
ドの使用が終了したときに価値情報を記録する書込装置
の番号を複数個可変トラックに記録すると共に、記録さ
れた複数の書込装置番号を読み出して記録時の書込装置
番号と比較し、正常に記録されない場合は装置の異常を
報知するようにしたので、カードリーダは自身の故障を
自動的に検出して報知することができ、したがってこの
カードリーダ装置の以降の使用を禁止することが可能に
なる。
As described above, according to the present invention, since the area for recording the number of the writing device for recording the value information on the card is provided on the card, when the card becomes defective. The failure of the card reader can be detected from the writing device number recorded on the defective card. Further, since a plurality of recording areas for writing device numbers are provided on the variable tracks of the card, if the same writing device number is recorded in each recording area when recording the value information, each recording area can be recorded. The failure of the writing device can be easily detected from the result of the recording status of the area. Also, a plurality of writing device numbers for recording the value information when the use of the card is finished are recorded on the variable tracks, and the plurality of recorded writing device numbers are read out to be used as the writing device numbers at the time of recording. In comparison, when the data is not recorded normally, the device is notified of the abnormality, so the card reader can automatically detect and notify of its own failure, and therefore prohibit the subsequent use of this card reader device. It becomes possible to do.

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

【図1】本発明に係るカードリーダの一実施例を示すブ
ロック図である。
FIG. 1 is a block diagram showing an embodiment of a card reader according to the present invention.

【図2】上記カードリーダの不良に起因する不良カード
の調査状況を示すフローチャートである。
FIG. 2 is a flowchart showing a situation of investigating a defective card caused by a defect of the card reader.

【図3】上記カードリーダに用いられるカードの構成を
示す図である。
FIG. 3 is a diagram showing a configuration of a card used in the card reader.

【図4】上記カードリーダの動作を示すフローチャート
である。
FIG. 4 is a flowchart showing an operation of the card reader.

【図5】上記カードリーダの動作を示すフローチャート
である。
FIG. 5 is a flowchart showing an operation of the card reader.

【図6】上記カードリーダの断面図である。FIG. 6 is a sectional view of the card reader.

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

1 カードリーダ 2 カード 3 固定トラック 4 可変トラック 12 カード搬送路 13 モータ 21 挿入検知センサ 23A,23B 位置センサ 25 ヘッド部 27 エンコーダ 30 制御回路 31 送受信回路 32 制御ユニット(上位装置) A〜E 領域 1 Card Reader 2 Card 3 Fixed Track 4 Variable Track 12 Card Conveying Path 13 Motor 21 Insertion Detection Sensor 23A, 23B Position Sensor 25 Head 27 Encoder 30 Control Circuit 31 Transmitter / Receiver Circuit 32 Control Unit (Upper Device) AE Area

フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G07F 7/08 Continuation of front page (51) Int.Cl. 6 Identification code Office reference number FI Technical display area G07F 7/08

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 金額データ等の価値情報が記録される可
変トラックを有するカードにおいて、 前記価値情報の書き込みを行う書込装置の番号を記録す
る書込装置番号記録領域を前記可変トラックに有するこ
とを特徴とするカード。
1. A card having a variable track on which value information such as amount data is recorded, wherein the variable track has a writing device number recording area for recording the number of a writing device that writes the value information. Card characterized by.
【請求項2】 請求項1記載のカードにおいて、 複数の前記書込装置番号記録領域を有することを特徴と
するカード。
2. The card according to claim 1, wherein the card has a plurality of writing device number recording areas.
【請求項3】 可変トラックに金額データ等の価値情報
が記録されたカードが挿入されると前記カードから価値
情報を読み取り、前記カードの使用が終了するとこのカ
ードの使用状況に応じた価値情報を減じて残額情報とし
て前記可変トラックに記録するカードリーダにおいて、 前記カードの使用が終了したときに前記残額情報を記録
する書込装置の番号を複数個前記可変トラックに記録す
る記録手段と、この記録手段により記録された複数の書
込装置番号を読み出して記録時の書込装置番号と比較し
前記可変トラックに対し前記各書込装置番号が正常に記
録されたか否かを判定する判定手段と、この判定手段の
判定出力が否の場合に装置の異常を報知する異常報知手
段とを備えたことを特徴とするカードリーダ。
3. When a card on which value information such as amount data is recorded is inserted into a variable track, the value information is read from the card, and when the use of the card is finished, the value information according to the usage status of the card is read. In a card reader for reducing and recording the balance information on the variable track, recording means for recording a plurality of writing device numbers for recording the balance information on the variable track when the use of the card is finished, and the recording means. Determining means for reading out a plurality of writing device numbers recorded by the means and comparing with the writing device numbers at the time of recording to determine whether or not each of the writing device numbers is normally recorded on the variable track; A card reader comprising: an abnormality notifying unit for notifying an abnormality of the device when the judgment output of the judging unit is negative.
JP5265442A 1993-09-30 1993-09-30 Cards and card readers Expired - Fee Related JP2864334B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5265442A JP2864334B2 (en) 1993-09-30 1993-09-30 Cards and card readers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5265442A JP2864334B2 (en) 1993-09-30 1993-09-30 Cards and card readers

Publications (2)

Publication Number Publication Date
JPH07105331A true JPH07105331A (en) 1995-04-21
JP2864334B2 JP2864334B2 (en) 1999-03-03

Family

ID=17417214

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5265442A Expired - Fee Related JP2864334B2 (en) 1993-09-30 1993-09-30 Cards and card readers

Country Status (1)

Country Link
JP (1) JP2864334B2 (en)

Also Published As

Publication number Publication date
JP2864334B2 (en) 1999-03-03

Similar Documents

Publication Publication Date Title
US5714743A (en) Card and card issuing apparatus
EP1798668A1 (en) Card processor
US5661289A (en) Card and card check method
JPS60254371A (en) Transaction processor using magnetic card
US5421463A (en) Card convey device
JPH07105331A (en) Card and card reader
US5463208A (en) Task processing apparatus
JPH08329210A (en) Card and card check method
KR200171853Y1 (en) Magnetic card recorder for video game system
JP3042265B2 (en) Magnetic card and magnetic card determination device
JP3583280B2 (en) Card loading method of magnetic card reader
JPS6158092A (en) Device for checking records on magnetic card
JPH06139385A (en) Magnetic card reader
JPS6130342B2 (en)
JPH0296897A (en) Card system automatic vending machine
JPH05258091A (en) Card reading method
JPH0581989B2 (en)
JP3200726B2 (en) Card reader / writer and card processing device
JP2784875B2 (en) Card reader
JPH0250292A (en) Controller for card-type automatic vending machine
JPH0636446A (en) Prepaid card inspection device and inspection system
JPH0822635B2 (en) Card processing equipment
JP2002170081A (en) Method of controlling reader and writer working as magnetic ic card
JP2000003429A (en) Card and card reader
JPS6132188A (en) Card processor

Legal Events

Date Code Title Description
S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071218

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081218

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081218

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091218

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091218

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101218

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111218

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111218

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121218

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees