JP2939695B2 - Card reader / writer - Google Patents

Card reader / writer

Info

Publication number
JP2939695B2
JP2939695B2 JP6032047A JP3204794A JP2939695B2 JP 2939695 B2 JP2939695 B2 JP 2939695B2 JP 6032047 A JP6032047 A JP 6032047A JP 3204794 A JP3204794 A JP 3204794A JP 2939695 B2 JP2939695 B2 JP 2939695B2
Authority
JP
Japan
Prior art keywords
card
value
information
maximum number
retries
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 - Fee Related
Application number
JP6032047A
Other languages
Japanese (ja)
Other versions
JPH07220033A (en
Inventor
優之 宮内
一良 小林
義昭 瀬戸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP6032047A priority Critical patent/JP2939695B2/en
Publication of JPH07220033A publication Critical patent/JPH07220033A/en
Application granted granted Critical
Publication of JP2939695B2 publication Critical patent/JP2939695B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

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

【0002】[0002]

【従来の技術】一般にこの種のカードリーダライタは、
物品を販売する自動販売機等に配設され、利用者が物品
を購入するためにカードを挿入すると、挿入されたカー
ドから価値情報を読み取ってその表示等を行う。そして
利用者が物品選択ボタン等を押下することにより物品が
販売されると、読み取った価値情報から販売した物品に
相当する価値情報を減じてカードに記録した後、排出を
行うものとなっている。
2. Description of the Related Art Generally, this kind of card reader / writer is
It is arranged in a vending machine or the like that sells articles, and when a user inserts a card to purchase an article, the value information is read from the inserted card and the display is performed. When an article is sold by the user pressing an article selection button or the like, value information corresponding to the sold article is subtracted from the read value information, recorded on a card, and then discharged. .

【0003】このようなカードリーダライタでは、読取
ヘッド及び記録ヘッドを備えて読取ヘッドによりカード
から情報を再生すると共に、記録ヘッドによりカードに
対し情報の書き込みを行うようにしている。ここで記録
ヘッドによってカードに情報を書き込んだ場合は、正確
に情報が書き込まれたか否かを検出するために読取ヘッ
ドにより再度カードから情報を読み取って確認し、書き
込みエラーが生じたときにはリトライと称する再度の書
き込みを行うようにしている。一般にカードに対し情報
を書き込む場合は、書き込みエラーがある頻度で生じる
ものであり、このため従来は予め最大リトライ回数を設
定している。そして、書き込みエラーが発生した場合は
この最大リトライ回数の範囲内でリトライを実行し、こ
の最大リトライ回数分リトライを実行してもまだエラー
が生じる場合はこのカードを不良カードと判定してい
る。
Such a card reader / writer has a read head and a recording head, and reproduces information from the card by the read head, and writes information on the card by the recording head. Here, when information is written to the card by the recording head, the information is read again from the card by the reading head to check whether the information has been correctly written, and when a writing error occurs, it is called a retry. I try to write again. Generally, when writing information to a card, a writing error occurs at a certain frequency, and therefore, the maximum number of retries is conventionally set in advance. If a write error occurs, retry is performed within the range of the maximum number of retries, and if an error still occurs after retry is performed for the maximum number of retries, the card is determined to be a defective card.

【0004】[0004]

【発明が解決しようとする課題】上述した記録ヘッド及
び読取ヘッドは、初期時には書き込みエラーや読取エラ
ーの発生頻度は低いが、ヘッドが頻繁に使用され経年変
化により摩耗してくるとエラーの発生頻度が高くなる傾
向がある。このため、上述の最大リトライ回数分リトラ
イしてもエラーと判定されるカードの数が多くなり、し
たがって良カードでも不良カードと判定されるという不
具合があった。また、上述の最大リトライ回数を大きい
値に設定すると、不良カードである場合にこの回数分リ
トライが実行されることから、カードの処理に時間がか
かるという問題もあった。したがって本発明は、装置の
使用状況に応じて最適な最大リトライ回数を設定するこ
とを目的とする。
In the recording head and the reading head described above, the frequency of occurrence of writing errors and reading errors is low at the initial stage. Tend to be higher. For this reason, the number of cards determined to be erroneous after retrying for the maximum number of retries described above increases, and there is a problem that even good cards are determined to be bad cards. Further, if the maximum number of retries is set to a large value, the retry is performed for this number of times in the case of a defective card, so that there is a problem that it takes time to process the card. Therefore, an object of the present invention is to set an optimum maximum number of retries in accordance with the use condition of the device.

【0005】[0005]

【課題を解決するための手段】このような課題を解決す
るために本発明は、カードに対し情報の記録及び再生時
にエラーが発生したときに上記情報の記録及び再生の再
試行を予め定めた最大試行回数(即ち、最大リトライ回
数)分実行するカードリーダライタにおいて、エラーの
発生時に再試行された回数が最大試行回数分に達したと
きに異常終了回数を計数するカウンタと、各カードに対
し情報の記録及び再生を行った回数を記憶するメモリ
、メモリの値が所定値に達したときのカウンタの値を
上記所定値で除算しエラーの発生頻度を演算する演算手
段と、演算手段の除算値が一定値以上か否かに応じて最
大試行回数を加減する更新手段とを設けたものである。
SUMMARY OF THE INVENTION In order to solve such a problem, the present invention provides a method for retrying recording and reproduction of information when an error occurs during recording and reproduction of information on the card. maximum number of attempts (i.e., the maximum number of retries) in the card reader-writer for executing content, a counter number which is retried in the event of error counts the abnormal termination when it reaches the maximum number of attempts minute, each card memory and arithmetic hand value of memory is calculating the frequency division error of the value of the counter when it reaches a predetermined value above the predetermined value to store the number of times that the recording and reproducing against information
And updating means for increasing or decreasing the maximum number of trials according to whether the division value of the arithmetic means is equal to or greater than a predetermined value.

【0006】[0006]

【作用】カードに対して情報の記録及び再生を行う場
合、エラーが発生すると演算手段によりエラーの発生頻
度が演算され、演算結果に応じて最大試行回数が更新さ
れる。この結果、装置の使用状況に応じて最大試行回数
を設定することができる。また、エラーの発生時に再試
行された回数が最大試行回数分に達したときに計数され
る値と、各カードに対し情報の記録及び再生を行った回
数とに基づきエラーの発生頻度が演算される。この結
果、エラーの発生頻度を簡単に算出することができる。
また、メモリの値が所定値に達したときのカウンタの値
が上記所定値で除算されると共にこの除算値が一定値以
上か否かに応じて最大試行回数が加減される。この結
果、上述の所定値を適切な値に定めれば、エラーの発生
頻度を正確に算出することができ、したがって装置に最
適の最大試行回数を得ることができる。
When recording and reproducing information to and from a card, when an error occurs, the frequency of occurrence of the error is calculated by the calculation means, and the maximum number of trials is updated according to the calculation result. As a result, the maximum number of trials can be set according to the usage status of the device. Further, the frequency of occurrence of an error is calculated based on the value counted when the number of retries at the time of occurrence of the error reaches the maximum number of attempts and the number of times of recording and reproducing information for each card. You. As a result, the frequency of occurrence of an error can be easily calculated.
Further, the value of the counter when the value of the memory reaches the predetermined value is divided by the predetermined value, and the maximum number of trials is adjusted according to whether the divided value is equal to or more than a predetermined value. As a result, if the above-mentioned predetermined value is set to an appropriate value, the frequency of occurrence of errors can be accurately calculated, and therefore, the maximum number of trials optimal for the device can be obtained.

【0007】[0007]

【実施例】以下、本発明について図面を参照して説明す
る。図1は本発明に係るカードリーダライタの一実施例
を示すブロック図であり、同図において、1は図示省略
したカードに対しデータの書き込み及び読み出しを行う
カードリーダライタ、2はこのカードリーダライタ1が
収容される例えば自動販売機の制御を行う制御ユニット
である。ここで、カードリーダライタ1は次のように構
成されている。即ち、11はこのカードリーダライタ1
の全制御を行う制御回路でありCPUから構成される。
12は制御ユニット2とデータの送受信を行う送受信回
路、13はカードリーダライタ1に必要な機能データが
設定されるEEPROM、14は制御回路11の実行す
るプログラムを格納するROM、15はデータを格納す
るためのRAMで制御ユニット2の電源によりその内容
がバックアップされる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a card reader / writer according to the present invention. In FIG. 1, reference numeral 1 denotes a card reader / writer for writing and reading data to and from a card (not shown); 1 is a control unit that controls, for example, a vending machine in which the vending machine 1 is housed. Here, the card reader / writer 1 is configured as follows. That is, 11 is the card reader / writer 1
Is a control circuit that performs all of the above control and is composed of a CPU.
12 is a transmission / reception circuit for transmitting and receiving data to and from the control unit 2, 13 is an EEPROM in which function data necessary for the card reader / writer 1 is set, 14 is a ROM for storing a program executed by the control circuit 11, and 15 is a data storage The contents of the RAM are backed up by the power supply of the control unit 2.

【0008】また、16はカードに対してパンチを行う
パンチ部、17はカードの二重挿入を阻止するためのシ
ャッタ部、18はカードの挿入を検知する挿入検知セン
サ、19は図示省略したカード搬送路内に配設されカー
ドの搬送路内における位置を検出する位置検出センサで
ある。また、20はカードに付与されたバーコードを光
学的に検出する光学センサ、21はカードの磁気トラッ
クに記録された情報を読み取る読取ヘッド、22はカー
ドの磁気トラックへ情報を書込む記録ヘッド、23は挿
入されたカードを搬送路に沿って搬送するモータ、24
はモータ23の回転速度を検出するエンコーダである。
Reference numeral 16 denotes a punch unit for punching a card, 17 denotes a shutter unit for preventing double insertion of a card, 18 denotes an insertion detection sensor for detecting insertion of a card, and 19 denotes a card not shown. This is a position detection sensor that is disposed in the transport path and detects the position of the card in the transport path. Reference numeral 20 denotes an optical sensor that optically detects a bar code given to the card, reference numeral 21 denotes a read head that reads information recorded on a magnetic track of the card, reference numeral 22 denotes a recording head that writes information to the magnetic track of the card, 23 is a motor for transporting the inserted card along the transport path;
Is an encoder for detecting the rotation speed of the motor 23.

【0009】ところで、本装置にカードが挿入され、こ
れが挿入検知センサ18を介して検知されると、制御回
路11はモータ23を駆動しカードをカード搬送路に沿
って搬送させる。そして位置センサ19を介してカード
の位置が確認されると、モータ23の駆動を停止すると
共に、位置センサ19の近傍に配設された読取ヘッド2
1によりカードの価値情報を読み取り、送受信回路12
を介し上述した自動販売機を制御する制御ユニット2へ
送る。制御ユニット2では、この価値情報の表示等を自
動販売機の表示部に対して行う。そして利用者により、
自動販売機で物品の購入操作が行われると、この価値情
報から購入する物品に相当する価値情報を減じ、この残
額情報を送受信回路12を介し制御回路11へ送る。
When a card is inserted into the apparatus and is detected via the insertion detecting sensor 18, the control circuit 11 drives the motor 23 to convey the card along the card conveying path. When the position of the card is confirmed via the position sensor 19, the driving of the motor 23 is stopped, and the read head 2 disposed near the position sensor 19 is stopped.
1 to read the value information of the card,
To the control unit 2 for controlling the vending machine described above. The control unit 2 displays the value information on the display unit of the vending machine. And by the user,
When the purchase operation of the article is performed in the vending machine, the value information corresponding to the article to be purchased is subtracted from the value information, and the balance information is sent to the control circuit 11 via the transmission / reception circuit 12.

【0010】制御回路11は残額情報を受信すると、記
録ヘッド22を駆動しカードに対し残額情報を書き込
む。そして書き込んだ残額情報を読取ヘッド21を介し
て読み取り、これが書き込む前の情報と一致していれば
カードに正常に情報が書き込まれたものとしてモータ2
3を再駆動しカード搬送して排出させると共に、物品の
販売を行うものとなっている。また、カードに書き込ん
だ残額情報を読み出し、この読み出した残額情報が書き
込む前の情報と一致しない場合は、再度カードに同一の
残額情報を書き込み、これを再度読み出し書き込む前の
ものと比較するリトライ動作を実行する。このリトライ
動作の回数は初期値として最大2回に設定されており、
したがってリトライを2回実行しても、カードに書き込
んだ情報と書き込む前の情報とが一致しない場合は、カ
ード処理が異常終了したものと判定する。
When receiving the balance information, the control circuit 11 drives the recording head 22 and writes the balance information to the card. Then, the written remaining amount information is read through the read head 21. If this matches the information before writing, the motor 2 determines that the information has been normally written on the card.
3 is driven again, the card is conveyed and ejected, and the article is sold. In addition, a retry operation of reading the balance information written on the card, and if the read balance information does not match the information before writing, writes the same balance information again on the card and reads it again and compares it with the information before writing. Execute The number of retry operations is set to a maximum of two times as an initial value.
Therefore, if the information written on the card does not match the information before writing even after performing the retry twice, it is determined that the card processing has been abnormally terminated.

【0011】ところでヘッドが頻繁に使用され経年変化
により摩耗してくると、読取エラーや書き込みエラー等
のエラーの発生頻度が高くなる。このため、最大リトラ
イ回数が上述のように2回に設定されていると、カード
の異常処理が頻繁に発生し種々の不具合を生じると共
に、最大リトライ回数を大きい値に設定すると、不良カ
ードの際にこの回数までリトライが実行されるため、カ
ードの処理時間が長くなる。このため、本発明では、上
述の最大リトライ回数を装置の使用状況に応じて可変で
きるようにする。
If the head is frequently used and wears due to aging, errors such as reading errors and writing errors occur more frequently. For this reason, if the maximum number of retries is set to two as described above, abnormal processing of the card frequently occurs, causing various troubles. Since the retry is executed up to this number of times, the processing time of the card becomes longer. For this reason, in the present invention, the above-described maximum number of retries can be changed according to the use status of the device.

【0012】図2は本発明の要部動作を示すフローチャ
ートであり、上述の最大リトライ回数の更新を行う制御
回路11の動作を示すものである。このフローチャート
に従い、本発明の要部動作を詳細に説明する。まず、初
期値の最大リトライ回数を2回としこの最大リトライ回
数はRAM15に記憶されているものとする。ここで、
本装置にカードが挿入されたことが挿入検知センサ18
を介して検出されステップST1で「Y」と判定する
と、制御回路11は、モータ23を駆動し挿入されたカ
ードを読取ヘッド21の位置まで搬送する。そしてステ
ップST2で読取ヘッド21を介しカードの価値情報を
読み取る。
FIG. 2 is a flowchart showing the operation of the main part of the present invention, showing the operation of the control circuit 11 for updating the maximum number of retries. The operation of the main part of the present invention will be described in detail according to this flowchart. First, it is assumed that the initial maximum number of retries is two, and this maximum number of retries is stored in the RAM 15. here,
The insertion detection sensor 18 detects that a card has been inserted into the apparatus.
When the control circuit 11 detects "Y" in step ST1 and drives the motor 23, the control circuit 11 conveys the inserted card to the position of the reading head 21. Then, in step ST2, the value information of the card is read through the reading head 21.

【0013】そして読み取った価値情報を制御ユニット
2へ送信すると共に、物品の販売等により制御ユニット
2から残額情報を受信する等の各種処理をステップST
3で実行する。その後、制御回路11はステップST4
で記録ヘッド22を駆動してこの残額情報をカードへ書
き込むデータ書き込み処理を実行する。次に、制御回路
11は読取ヘッド21を介しカードに書き込まれた価値
情報を再生し、この再生情報とカードに書き込む前の残
額情報とを比較し、書き込みエラーが発生したか否かを
ステップST5で判断する。
The read value information is transmitted to the control unit 2 and various processes such as receiving the balance information from the control unit 2 due to sale of articles and the like are performed in step ST.
Execute in 3. Thereafter, the control circuit 11 proceeds to step ST4.
Then, the recording head 22 is driven to execute a data writing process for writing the remaining amount information to the card. Next, the control circuit 11 reproduces the value information written on the card via the read head 21, compares the reproduced information with the balance information before writing on the card, and determines whether or not a write error has occurred in step ST5. To judge.

【0014】ここで書き込みエラーが発生しステップS
T5で「Y」と判定されると、ステップST6でリトラ
イ回数が最大リトライ回数に達したか否かを判断する。
そしてこれが「N」と判定される場合は、記録ヘッド2
2を駆動して上述の残額情報を再度カードに書き込み、
書き込んだ残額情報を読取ヘッド21により再生するリ
トライ動作を行うと共に、かつこのリトライ回数をカウ
ントしてステップST5に戻り、リトライ動作による再
生情報と書き込む前の残額情報との比較に基づく書き込
みエラーの有無の判断を行う。
Here, when a write error occurs, step S
If "Y" is determined in T5, it is determined in step ST6 whether the number of retries has reached the maximum number of retries.
If this is determined to be “N”, the recording head 2
2 to write the above balance information again to the card,
A retry operation of reproducing the written remaining amount information by the read head 21 is performed, and the number of retries is counted, and the process returns to step ST5. Make a judgment.

【0015】このようなリトライ動作は最大リトライ回
数に達するまで行われ、最大リトライ回数に達すると、
ステップST7でエラー警告を行うと共に、RAM15
の所定エリアに設けた異常終了回数カウンタをステップ
ST8で1つ増加し、かつRAM15の別途エリアに設
けたライト(書き込み)回数カウンタをステップST9
で1つ増加させる。なお、書き込みエラーが発生せず、
ステップST5で「N」と判定される場合は、カード処
理が正常に終了したものとして異常終了回数カウンタは
カウントアップせずに、ステップST9でライト回数カ
ウンタのみをカウントアップする。
[0015] Such a retry operation is performed until the maximum number of retries is reached.
At step ST7, an error warning is issued and the RAM 15
In step ST8, the abnormal end number counter provided in the predetermined area is incremented by one, and the write (write) counter provided in a separate area of the RAM 15 is increased in step ST9.
To increase by one. Note that no write error occurs,
If "N" is determined in step ST5, it is determined that the card processing has been normally completed, and the abnormal end number counter is not counted up, but only the write number counter is counted up in step ST9.

【0016】このようにして本装置に挿入されたカード
の処理は実行されるが、このようなカード処理がカード
の挿入毎に実行され、この結果、本実施例の場合、同一
装置で10,000枚のカードが処理されたことによる
ライト回数カウンタの値が10,000回に達すると、
ステップST11で上述した異常終了回数をライト回数
(即ち、10,000回)で除算したものを百分率で表
すような演算処理を行う。
The processing of the card inserted into the apparatus in this manner is executed. Such a card processing is executed every time the card is inserted. As a result, in the case of the present embodiment, the same apparatus performs 10, 10 When the value of the write counter reaches 10,000 times due to the processing of 000 cards,
In step ST11, an arithmetic process is performed in which a value obtained by dividing the number of abnormal terminations described above by the number of writes (that is, 10,000 times) is expressed as a percentage.

【0017】このような演算処理に基づいてエラーの発
生頻度が算出され、この発生頻度に応じ後述のステップ
で最大リトライ回数が更新される。したがって最大リト
ライ回数を装置の使用状況に応じて可変とすることが可
能になり、従来のような固定的に設定された最大リトラ
イ回数による各種の不具合を解消することができる。ま
た、上述したような演算処理によりエラーの発生頻度が
算出されるためその発生頻度を簡単に算出できる。ま
た、ライト回数(本実施例の場合、10,000回)を
適切な値に定めるようにすれば、エラーの発生頻度を正
確に算出できる。
The frequency of occurrence of an error is calculated based on such calculation processing, and the maximum number of retries is updated in a step described later in accordance with the frequency of occurrence. Therefore, it is possible to make the maximum number of retries variable according to the use condition of the apparatus, and it is possible to solve various problems caused by the fixedly set maximum number of retries as in the related art. Further, since the frequency of occurrence of an error is calculated by the above-described arithmetic processing, the frequency of occurrence can be easily calculated. Further, if the number of writes (in this embodiment, 10,000 times) is set to an appropriate value, the frequency of occurrence of errors can be accurately calculated.

【0018】こうしてステップST11でエラーの発生
頻度を算出した後、ステップST11での演算結果が1
%以上か否かをステップST12で判断する。そして、
1%以上であれば上述の最大リトライ回数をステップS
T13で1つ増加させる。なお、この最大リトライ回数
は最大値は10であり、この最大値以上には増加できな
い。また、ステップST11での演算結果が1%に満た
ず、ステップST14で「Y」と判定される場合は、ス
テップST15で最大リトライ回数を1つ減少させる。
なお、この最大リトライ回数は最小値は2であり、この
最小値以下には減少させることはできない。
After calculating the frequency of occurrence of errors in step ST11, the result of the calculation in step ST11 is 1
% Is determined in step ST12. And
If it is 1% or more, the above-mentioned maximum number of retries is set to step S
In T13, it is increased by one. Note that the maximum number of retries is 10 and cannot be increased beyond this maximum value. If the calculation result in step ST11 is less than 1% and it is determined as "Y" in step ST14, the maximum number of retries is reduced by one in step ST15.
Note that the maximum value of the maximum number of retries is 2 and cannot be reduced below this minimum value.

【0019】こうして最大リトライ回数の更新が行われ
た後のステップST16ではライト回数カウンタの値を
クリアすると共に、ステップST17で異常終了回数カ
ウンタの値をクリアし、ステップST18へ移行してカ
ードの排出を行う。また、ライト回数が10,000に
満たない場合は、最大リトライ回数の更新等の処理を行
わず、直ちにステップST18へ移行してカードを排出
する。
After updating the maximum number of retries, the value of the write counter is cleared in step ST16, the value of the abnormal end counter is cleared in step ST17, and the process proceeds to step ST18 to eject the card. I do. If the number of times of writing is less than 10,000, processing such as updating the maximum number of retries is not performed, and the process immediately proceeds to step ST18 to eject the card.

【0020】[0020]

【発明の効果】以上説明したように本発明によれば、カ
ードに対して情報の記録及び再生を行う場合、エラーが
発生するとエラーの発生頻度を演算すると共に、演算結
果に応じて最大試行回数を更新するようにしたので、装
置の使用状況に応じて最大試行回数を自在に設定するこ
とができる。また、エラーの発生時に再試行された回数
が最大試行回数に達したときに計数されるカウンタの値
と、各カードに対し情報の記録及び再生を行った回数を
記憶するメモリの値とに基づきエラーの発生頻度を演算
するようにしたので、エラーの発生頻度を簡単に算出す
ることができる。また、メモリの値が所定値に達したと
きのカウンタの値を上記所定値で除算すると共にこの除
算値が一定値以上か否かに応じて最大試行回数を加減す
るようにしたので、情報の記録及び再生を行った回数を
適切な値に設定すれば、エラーの発生頻度を正確に算出
することができ、したがって装置に最適の最大試行回数
を得ることができる。
As described above, according to the present invention, when recording and reproducing information on a card, when an error occurs, the frequency of occurrence of the error is calculated, and the maximum number of trials is calculated according to the calculation result. Is updated, the maximum number of trials can be set freely according to the usage status of the device. Also, based on the value of a counter that is counted when the number of retries at the time of occurrence of an error reaches the maximum number of attempts and the value of a memory that stores the number of times information is recorded and reproduced for each card. Since the frequency of occurrence of the error is calculated, the frequency of occurrence of the error can be easily calculated. In addition, the value of the counter when the value of the memory reaches the predetermined value is divided by the predetermined value, and the maximum number of trials is adjusted according to whether the divided value is equal to or more than a predetermined value. If the number of times of recording and reproduction is set to an appropriate value, the frequency of occurrence of an error can be accurately calculated, and thus the maximum number of trials optimal for the apparatus can be obtained.

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

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

【図2】上記実施例装置の動作を示すフローチャートで
ある。
FIG. 2 is a flowchart showing the operation of the apparatus in the embodiment.

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

1 カードリーダライタ 2 制御ユニット 11 制御回路(CPU) 15 RAM 18 挿入検知センサ 19 位置検知センサ 21 読取ヘッド 22 記録ヘッド 23 モータ Reference Signs List 1 card reader / writer 2 control unit 11 control circuit (CPU) 15 RAM 18 insertion detection sensor 19 position detection sensor 21 reading head 22 recording head 23 motor

フロントページの続き (56)参考文献 特開 平2−68691(JP,A) 特開 平2−123841(JP,A) 特開 平3−137779(JP,A) 特開 平6−301826(JP,A) 特開 平4−44667(JP,A) 実開 昭57−10065(JP,U) (58)調査した分野(Int.Cl.6,DB名) G06K 17/00 G06K 7/00 G06F 11/34 Continuation of the front page (56) References JP-A-2-68691 (JP, A) JP-A-2-123381 (JP, A) JP-A-3-137779 (JP, A) JP-A-6-301826 (JP) JP-A-4-44667 (JP, A) JP-A-57-10065 (JP, U) (58) Fields investigated (Int. Cl. 6 , DB name) G06K 17/00 G06K 7/00 G06F 11/34

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 カードに対し情報の記録及び再生時にエ
ラーが発生したときに前記情報の記録及び再生の再試行
を予め定めた最大試行回数分実行するカードリーダライ
タにおいて、前記エラーの発生時に再試行された回数が前記最大試行
回数分に達したときに異常終了回数を計数するカウンタ
と、各カードに対し情報の記録を行った回数を記憶する
メモリと、前記メモリの値が所定値に達したときの前記
カウンタの値を前記所定値で除算し 前記エラーの発生頻
度を演算する演算手段と、前記演算手段の除算値が一定
値以上か否かに応じて前記最大試行回数を加減する更新
手段とを備えたことを特徴とするカードリーダライタ。
1. A card reader / writer for retrying recording and reproduction of information for a predetermined maximum number of times when an error occurs during recording and reproduction of information on a card. The number of trials is the maximum trial
Counter that counts the number of abnormal terminations when the number of times is reached
And the number of times information has been recorded for each card
A memory, and when the value of the memory reaches a predetermined value,
Calculating means for dividing the value of the counter at the predetermined value to calculate the frequency of occurrence of the error, the division value of said calculating means is constant
Updating means for adjusting the maximum number of trials according to whether the number is equal to or greater than a value .
JP6032047A 1994-02-04 1994-02-04 Card reader / writer Expired - Fee Related JP2939695B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6032047A JP2939695B2 (en) 1994-02-04 1994-02-04 Card reader / writer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6032047A JP2939695B2 (en) 1994-02-04 1994-02-04 Card reader / writer

Publications (2)

Publication Number Publication Date
JPH07220033A JPH07220033A (en) 1995-08-18
JP2939695B2 true JP2939695B2 (en) 1999-08-25

Family

ID=12347959

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6032047A Expired - Fee Related JP2939695B2 (en) 1994-02-04 1994-02-04 Card reader / writer

Country Status (1)

Country Link
JP (1) JP2939695B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8738994B2 (en) 2011-04-25 2014-05-27 Samsung Electronics Co., Ltd. Memory controller, memory system, and operating method

Also Published As

Publication number Publication date
JPH07220033A (en) 1995-08-18

Similar Documents

Publication Publication Date Title
US4518852A (en) Method for operating automatic devices such as cash registers or the like and a device for carrying out the method
US7424621B2 (en) Data protection
JP2939695B2 (en) Card reader / writer
JPH0343896A (en) Card treater
JP2939700B2 (en) Magnetic card reader / writer
JPS6224394A (en) Card processor
JP2647362B2 (en) Ticket issuing device
JP2743205B2 (en) Card reader / writer
JP2852857B2 (en) Card processing system
JP2864334B2 (en) Cards and card readers
JP3027712B2 (en) Recording medium return control mechanism of automatic rental machine
KR100384958B1 (en) Vending machine controller and a total system of sales information
JP3066348B2 (en) Card type vending machine
JP3036816B2 (en) Card data unauthorized write protection device
JP3024052B2 (en) Card use processing device
JP2003099902A (en) Passbook and passbook processor
JPH01133192A (en) Medium processor
JPH0296897A (en) Card system automatic vending machine
JPS62248096A (en) Card type vending machine
JPH0250292A (en) Controller for card-type automatic vending machine
JPH0780376B2 (en) How to issue a magnetic card
JP2001143022A (en) Ic card issuing device
JPH04143879A (en) Portable storage medium issuing device
JPH0351983A (en) Method for maintaining reading and writing function of card reader
JPH0351976A (en) Control method for card reader

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: 20090618

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100618

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100618

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20110618

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20120618

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20130618

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees