JP2000011099A - Magnetic card reader - Google Patents

Magnetic card reader

Info

Publication number
JP2000011099A
JP2000011099A JP10189842A JP18984298A JP2000011099A JP 2000011099 A JP2000011099 A JP 2000011099A JP 10189842 A JP10189842 A JP 10189842A JP 18984298 A JP18984298 A JP 18984298A JP 2000011099 A JP2000011099 A JP 2000011099A
Authority
JP
Japan
Prior art keywords
data
direction data
card
magnetic card
error
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.)
Pending
Application number
JP10189842A
Other languages
Japanese (ja)
Inventor
Hiroshi Ogiwara
浩史 荻原
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.)
Anritsu Corp
Original Assignee
Anritsu Corp
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 Anritsu Corp filed Critical Anritsu Corp
Priority to JP10189842A priority Critical patent/JP2000011099A/en
Publication of JP2000011099A publication Critical patent/JP2000011099A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To make it unnecessary for a user to reinsert and reeject a magnetic card when defective reading occurs. SOLUTION: Inserting direction data read out when a magnetic card 1 is inserted are previously stored in a 1st memory 33, an error judging means 36 judges the format and vertical and horizontal parities of ejecting direction data read out at the time of ejecting the card 1, and when there is an error in the ejecting direction data, a data restoring means 37 restores the ejecting direction data based on the sort of the error and the inserting direction data stored in the 1st memory 33.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、磁気カード読取装
置の読取不良の発生頻度を減らすための技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique for reducing the frequency of occurrence of reading errors of a magnetic card reader.

【0002】[0002]

【従来の技術】例えばクレジットカードのように書換え
の必要がないデータが磁気記録されている磁気カードか
らデータを読み取るカード読取装置のうち、磁気カード
の挿脱を手で行なう構造にして、カードの引込みや送り
出しのための搬送機構を不要にして構造を簡単化したも
のがある。
2. Description of the Related Art Among card readers which read data from magnetic cards on which data that does not need to be rewritten, such as credit cards, are magnetically recorded, the structure is such that a magnetic card is inserted and removed by hand. In some cases, the structure is simplified by eliminating the need for a transport mechanism for pulling in and sending out.

【0003】このように磁気カードの挿脱を手で行なう
場合、カードの挿入速度より、カードの引抜き速度の方
が一般的に安定しており、また機構的に安定化させやす
い。このため、この種の従来の磁気カード読取装置で
は、磁気カードが所定位置まで挿入されてから引き抜か
れるときにデータの読み取りを行なっている。
When a magnetic card is manually inserted and removed as described above, the card withdrawing speed is generally more stable than the card inserting speed, and it is easy to stabilize mechanically. Therefore, in this type of conventional magnetic card reader, data is read when the magnetic card is inserted to a predetermined position and then pulled out.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、前記し
たように、カード引抜き時にデータの読み取りを行なう
従来の磁気カード読取装置では、読み取ったデータにた
とえ1ビットの読取不良があった場合、利用者に磁気カ
ードの再挿入および再引抜き操作を行なわせて、データ
の読み取りを再度行なう必要があった。
However, as described above, in a conventional magnetic card reader that reads data when a card is pulled out, if a read error of 1 bit occurs in the read data, the user is inconvenienced. The data must be read again by re-inserting and re-pulling the magnetic card.

【0005】本発明は、この問題を解決するためのなさ
れたものであり、カード挿入時のデータの読み取りを積
極的に行い、この挿入時のデータを利用して、カード読
取不良の発生頻度を減らすようにした磁気カード読取装
置を提供することを目的としている。
The present invention has been made to solve this problem, and actively reads data when a card is inserted, and uses the data at the time of insertion to reduce the frequency of occurrence of card reading defects. It is an object of the present invention to provide a magnetic card reader which is reduced.

【0006】[0006]

【課題を解決するための手段】前記目的を達成するため
に、本発明の磁気カード読取装置は、磁気カードを後で
引き抜くことができる深さ位置まで受け入れるカード収
容部と、前記カード収容部の所定位置に配置され、該所
定位置を通過する磁気カードに記録されているデータを
読み取る磁気ヘッドと、前記磁気ヘッドの読取信号をデ
ータ信号に変換する再生回路と、磁気カードが前記カー
ド収容部に挿入されるときに前記再生回路から出力され
るデータ信号を記憶する挿入方向データ記憶手段と、磁
気カードが前記カード収容部から引き抜かれるときに前
記再生回路から出力されるデータ信号を記憶する引抜き
方向データ記憶手段と、前記引抜きデータ記憶手段によ
って記憶された引抜き方向データの誤りの有無を判定す
る誤り判定手段と、前記誤り判定手段によって引抜き方
向データに誤りがあったと判定されたとき、該引抜き方
向データの誤り内容と前記挿入方向データ記憶手段に記
憶されている挿入方向データとに基づいて、前記引込み
方向データを修復するデータ修復手段とを備えている。
In order to achieve the above object, a magnetic card reader according to the present invention comprises: a card receiving portion for receiving a magnetic card to a depth where the magnetic card can be later pulled out; A magnetic head that is arranged at a predetermined position and reads data recorded on a magnetic card passing through the predetermined position; a reproducing circuit that converts a read signal of the magnetic head into a data signal; Insertion direction data storage means for storing a data signal output from the reproduction circuit when inserted, and a pull-out direction for storing a data signal output from the reproduction circuit when the magnetic card is pulled out of the card receiving portion. Data storage means, and error determination means for determining whether there is an error in the extraction direction data stored by the extraction data storage means, When it is determined by the error determination means that there is an error in the pull-out direction data, based on the error content of the pull-out direction data and the insertion direction data stored in the insertion direction data storage means, the pull-in direction data is extracted. Data recovery means for recovery.

【0007】[0007]

【発明の実施の形態】以下、図面に基づいて本発明の一
実施形態を説明する。図1は、本発明の実施形態の磁気
カード読取装置の構成を示すであり、この磁気カード読
取装置は、図2に示すように、テキストの始まりを示す
特定の開始コード(STX)、テキストデータTX1
TXM 、テキストの終わりを示す特定の終了コード(E
TX)、水平パリティコード(LRC)と続くフォーマ
ットでデータが記録された磁気カード1の読み取りを行
なうものである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows the configuration of a magnetic card reader according to an embodiment of the present invention. As shown in FIG. 2, this magnetic card reader has a specific start code (STX) indicating the start of text, text data, TX 1-
TX M , a specific exit code (E
TX), a horizontal parity code (LRC), and a magnetic card 1 on which data is recorded in a format following the horizontal parity code (LRC).

【0008】この磁気カード読取装置の機構部20に
は、図1に示しているように、カード挿入口21と、カ
ード挿入口21から磁気カード1の長辺より僅かに短い
深さを有しカード挿入口21に挿入された磁気カード1
を後で引き抜くことができる深さ位置まで受け入れるカ
ード収容部22とが設けられている。
As shown in FIG. 1, the mechanism section 20 of the magnetic card reader has a card insertion slot 21 and a depth slightly shorter than the long side of the magnetic card 1 from the card insertion slot 21. Magnetic card 1 inserted in card slot 21
And a card accommodating portion 22 for receiving the card to a depth position where the card can be later pulled out.

【0009】カード収容部22のカード挿入口寄りの所
定位置およびカード収容部22の奥側の所定位置には、
磁気カード1の先端の通過を検出するための第1、第2
のセンサ23、24が配置されている。
At a predetermined position near the card insertion slot of the card storage portion 22 and at a predetermined position on the back side of the card storage portion 22,
A first and a second for detecting passage of the leading end of the magnetic card 1
Sensors 23 and 24 are arranged.

【0010】また、カード収容部22のカード挿入口2
1と第1のセンサ23の間の所定位置には、この位置を
通過する磁気カード1の磁気記録面にヘッド面を接触さ
せて、データを読み取る磁気ヘッド25が配置されてい
る。磁気ヘッド25は、カード収容部22に挿入される
磁気カード1の磁気トラックが通過する軌道上で且つ磁
気トラックのデータをすべて読み出すことができる位置
に配置されている。第1、第2のセンサ23、24の出
力および磁気ヘッド25から出力されるアナログの読取
信号は再生回路31によって0と1のデータ信号に再生
される。
Further, the card insertion slot 2 of the card accommodating section 22 is provided.
At a predetermined position between the first sensor 23 and the first sensor 23, a magnetic head 25 for reading data by bringing the head surface into contact with the magnetic recording surface of the magnetic card 1 passing this position is arranged. The magnetic head 25 is arranged on a track on which the magnetic track of the magnetic card 1 inserted into the card accommodating section 22 passes and at a position where all data of the magnetic track can be read. The output of the first and second sensors 23 and 24 and the analog read signal output from the magnetic head 25 are reproduced by the reproduction circuit 31 into 0 and 1 data signals.

【0011】再生回路31から出力されるデータ信号
は、挿入方向データ書込手段32および引抜き方向デー
タ書込手段34に入力される。
The data signal output from the reproducing circuit 31 is input to the insertion direction data writing means 32 and the extraction direction data writing means 34.

【0012】挿入方向データ書込手段32は、メモリ3
3とともにこの実施形態の挿入方向データ記憶手段を構
成するものであり、第1、第2のセンサ23、24の出
力と再生回路31からのデータ信号とを受けて、磁気カ
ードの先端が第1のセンサ23の位置を挿入方向に通過
してから第2のセンサ24の位置を挿入方向に通過する
までの間に再生回路31から出力されるデータ信号を挿
入方向データDaとして第1のメモリ33に記憶する。
The insertion direction data writing means 32 includes a memory 3
3, together with the output of the first and second sensors 23 and 24 and the data signal from the reproducing circuit 31, and the leading end of the magnetic card is moved to the first position. The data signal output from the reproducing circuit 31 between the time when the sensor 23 passes through the position of the sensor 23 in the insertion direction and the time when the signal passes through the position of the second sensor 24 in the insertion direction is used as the insertion direction data Da in the first memory 33. To memorize.

【0013】また、引抜き方向データ書込手段34は、
メモリ35とともにこの実施形態の引抜き方向データ記
憶手段を構成するものであり、第1、第2のセンサ2
3、24の出力と再生回路31からのデータ信号とを受
けて、磁気カードの先端が第2のセンサ24の位置を引
抜き方向に通過してから第1のセンサ23の位置を引抜
き方向に通過するまでの間に再生回路31から出力され
るデータ信号を、引抜き方向データDbとして第2のメ
モリ35に記憶する。
The pull-out direction data writing means 34
The pull-out direction data storage means of this embodiment is constituted together with the memory 35, and the first and second sensors 2
In response to the outputs of the magnetic cards 3 and 24 and the data signal from the reproducing circuit 31, the leading end of the magnetic card passes through the position of the second sensor 24 in the drawing direction and then passes through the position of the first sensor 23 in the drawing direction. The data signal output from the reproduction circuit 31 until the operation is completed is stored in the second memory 35 as the extraction direction data Db.

【0014】誤り判定手段36は、第1のセンサ23の
出力を受け、磁気カードが第1のセンサ23の位置を引
抜き方向に通過した後に、第2のメモリ34から引抜き
方向データDbを読み出して、そのデータに誤りがある
か否かを判定する。
The error judging means 36 receives the output of the first sensor 23, reads out the pull-out direction data Db from the second memory 34 after the magnetic card has passed the position of the first sensor 23 in the pull-out direction, and reads out the data. Then, it is determined whether or not the data has an error.

【0015】この誤り判定手段36は、フォーマット判
定部36a、垂直パリティ判定部36bおよび水平パリ
ティ判定部36cを有している。
The error determining means 36 has a format determining section 36a, a vertical parity determining section 36b, and a horizontal parity determining section 36c.

【0016】フォーマット判定部36aは、引抜き方向
データDbの先頭部にテキストの始まりを示す特定の開
始コード(STX)があり、引抜き方向データDbの後
部に、テキストの終わりを示す特定の終了コード(ET
X)があるか否かを調べ、両者がとも読み取れていれ
ば、引抜き方向データDbのフォーマットが正常である
と判定し、いずれか一方でも読み取れていない場合に
は、引抜き方向データDbのフォーマットが異常である
と判定する。
The format judging section 36a has a specific start code (STX) indicating the beginning of the text at the beginning of the extraction direction data Db, and a specific end code (STX) indicating the end of the text at the end of the extraction direction data Db. ET
X) is checked, and if both are read, it is determined that the format of the pull-out direction data Db is normal. If neither of them is read, the format of the pull-out direction data Db is changed. It is determined to be abnormal.

【0017】垂直パリティ判定部36bは、引抜き方向
データDbの開始コード(STX)と終了コード(ET
X)との間にある各テキストデータに含まれるパリティ
ビットに基づいてパリティチェックを行ない、すべての
テキストデータについてパリティが一致していれば、引
抜き方向データDbの垂直パリティは正常であると判定
し、パリティが一致しないテキストデータが存在したと
きには、引抜き方向データDbの垂直パリティに異常が
あると判定する。
The vertical parity judging unit 36b determines the start code (STX) and end code (ET) of the pull-out direction data Db.
X), a parity check is performed based on the parity bit included in each piece of text data, and if the parities of all the text data match, it is determined that the vertical parity of the extraction direction data Db is normal. When there is text data whose parity does not match, it is determined that the vertical parity of the pull-out direction data Db is abnormal.

【0018】水平パリティ判定部36cは、引抜き方向
データDbの開始コード(STX)と終了コード(ET
X)との間にある各テキストデータの同一ビット位置の
データについてのパリティを求め、このパリティコード
と引抜き方向データDbの最後部の水平パリティコード
(LRC)とを比較し、両者が一致していれば、引抜き
方向データDbの水平パリティは正常であると判定し、
不一致であれば、引抜き方向データDbの水平パリティ
に異常があると判定する。
The horizontal parity determination unit 36c determines the start code (STX) and end code (ET) of the pull-out direction data Db.
X), the parity of the data at the same bit position of each piece of text data is obtained, and this parity code is compared with the last horizontal parity code (LRC) of the extraction direction data Db. Then, it is determined that the horizontal parity of the extraction direction data Db is normal,
If they do not match, it is determined that there is an abnormality in the horizontal parity of the extraction direction data Db.

【0019】なお、この誤り判定手段36は、引抜き方
向データDbに対してフォーマット判定、垂直パリティ
判定、水平パリティ判定の順に行うものとし、データ修
復手段37から修復後の引抜き方向データに対する判定
指示を受けたときには、その指示された判定処理以降の
処理を行うものとする。
The error judging means 36 performs a format judgment, a vertical parity judgment and a horizontal parity judgment on the pull-out direction data Db in this order. When it is received, the process following the instructed determination process is performed.

【0020】データ修復手段37は、誤り判定手段36
によって引抜き方向データに誤りがあると判定されたと
きに、その誤りの種類と第1のメモリ33の挿入方向デ
ータDaとに基づいて第2のメモリ35の引抜き方向デ
ータDbの修復する。
The data restoring means 37 includes an error determining means 36
When it is determined that there is an error in the extraction direction data, the extraction direction data Db in the second memory 35 is restored based on the type of the error and the insertion direction data Da in the first memory 33.

【0021】このデータ修復手段37は、誤り判定手段
36に対応して、フォーマット修復部37a、垂直パリ
ティ修復部37bおよび水平パリティ修復部37cとを
有しており、誤り判定手段36で誤りがあると判定され
たときに第2のメモリ35に記憶されている引抜き方向
データDbに対して後述する修復処理を行う。
The data restoration unit 37 has a format restoration unit 37a, a vertical parity restoration unit 37b, and a horizontal parity restoration unit 37c corresponding to the error judgment unit 36. When it is determined that the pull-out direction data Db stored in the second memory 35 has been determined, a restoration process described later is performed.

【0022】データ出力手段38は、引抜き方向データ
Dbに対する誤り判定手段36による誤り判定で誤りが
無いと判定されたとき、およびデータ修復手段37から
データの出力指示を受けたときに、第2のメモリ35の
引抜き方向データを磁気カード1に記録されていたデー
タとして他装置(図示せず)へ出力する。また、データ
修復手段37でデータの修復ができないときには、アラ
ーム信号を他装置へ出力する。
The data output means 38 outputs the second data when the error determination means 36 determines that there is no error with respect to the pull-out direction data Db and when it receives a data output instruction from the data recovery means 37. The pull-out direction data of the memory 35 is output to another device (not shown) as data recorded on the magnetic card 1. When the data cannot be restored by the data restoration unit 37, an alarm signal is output to another device.

【0023】次に、この磁気カード読取装置の動作につ
いて説明する。図3に示しているように、カードが挿入
されると第1のメモリ33に挿入方向データDaが記憶
され、挿入されたカードが引き抜かれると第2のメモリ
35に引抜き方向データDbが記憶される(S1〜S
4)。
Next, the operation of the magnetic card reader will be described. As shown in FIG. 3, when the card is inserted, the insertion direction data Da is stored in the first memory 33, and when the inserted card is removed, the removal direction data Db is stored in the second memory 35. (S1-S
4).

【0024】そして、引抜き方向データDbに対してフ
ォーマットの判定がなされ、フォーマットが正常であれ
ば、垂直パリティの判定がなされ、垂直パリティが正常
であれば、水平パリティの判定がなされ、水平パリティ
が正常であれば、引抜き方向データDbは磁気カードが
正しく読み取られたものとして他装置へ出力される(S
5〜S11)。
Then, the format is determined for the pull-out direction data Db. If the format is normal, the vertical parity is determined. If the vertical parity is normal, the horizontal parity is determined and the horizontal parity is determined. If normal, the pull-out direction data Db is output to another device as if the magnetic card was read correctly (S
5 to S11).

【0025】また、フォーマット判定において誤りがあ
ると判定されたときにはフォーマット修復処理がなされ
(S12)、垂直パリティ判定において誤りがあると判
定されたときには垂直パリティ修復処理がなされ(S1
3)、水平パリティ判定において誤りがあると判定され
たときには水平パリティ修復処理がなされる(S1
4)。
When it is determined that there is an error in the format determination, a format restoration process is performed (S12). When it is determined in the vertical parity determination that there is an error, a vertical parity repair process is performed (S1).
3) When it is determined that there is an error in the horizontal parity determination, horizontal parity repair processing is performed (S1).
4).

【0026】フォーマット修復処理は、図4のフローチ
ャートにしたがって行われる。即ち、引抜き方向データ
DbのSTXの位置が不明な場合には、挿入方向データ
DaでSTXが読み取れているか否かを判定し、読み取
れている場合には、引抜き方向データDbと挿入方向デ
ータDaとで、所定ビット連続して一致する部分がある
か否かを判定する(S12a〜S12d)。
The format restoration process is performed according to the flowchart of FIG. That is, if the position of the STX in the pull-out direction data Db is unknown, it is determined whether or not the STX has been read by the insertion direction data Da. If the STX has been read, the pull-out direction data Db and the insertion direction data Da are compared. Then, it is determined whether or not there is a part that matches continuously for a predetermined number of bits (S12a to S12d).

【0027】ここで、例えば図5に示しているように、
所定ビット連続して一致する部分があった場合には、そ
のときの挿入方向データDaのSTXに対応する引抜き
方向データDbの位置にSTXを書き込む(S12
e)。
Here, for example, as shown in FIG.
If there is a part that matches the predetermined bits continuously, the STX is written at the position of the pull-out direction data Db corresponding to the STX of the insertion direction data Da at that time (S12).
e).

【0028】また、ETXの位置が不明の場合には、挿
入方向データDaでETXが読み取れているか否かを判
定し、読み取れている場合には、引抜き方向データDb
と挿入方向データDaとで、所定ビット連続して一致す
る部分があるか否かを判定し、一致する部分があった場
合には、そのときの挿入方向データのETXに対応する
引抜き方向データDbの位置にETXを書き込んで、フ
ォーマットを修復し、垂直パリティ判定に移行する(S
12f〜S12j)。
If the position of the ETX is unknown, it is determined whether or not the ETX has been read from the insertion direction data Da. If the ETX has been read, the extraction direction data Db has been determined.
And the insertion direction data Da, it is determined whether or not there is a part that continuously matches predetermined bits. If there is a part that matches, the extraction direction data Db corresponding to the ETX of the insertion direction data at that time is determined. ETX is written at the position, the format is restored, and the process proceeds to the vertical parity determination (S
12f to S12j).

【0029】なお、処理S12bで挿入方向データDa
にSTXがない場合、処理S12gで挿入方向データD
aにETXがない場合、処理S12d、S12hで所定
ビット連続する部分が見つからない場合には、引抜き方
向データDaのSTX、ETXの位置を特定できず修復
不能となり、アラーム信号が出力される(S12k)。
In the process S12b, the insertion direction data Da
If there is no STX, the insertion direction data D
If there is no ETX in a, or if a portion where predetermined bits continue is not found in steps S12d and S12h, the position of STX and ETX in the pull-out direction data Da cannot be specified, the restoration becomes impossible, and an alarm signal is output (S12k). ).

【0030】垂直パリティ修復処理は、図6のフローチ
ャートにしたがって行われる。この場合には、図7に示
すように、挿入方向データDaのテキストデータのう
ち、引抜き方向データDbの垂直パリティが誤っている
テキストデータと同一位置のテキストデータを抽出し、
抽出した全てのテキストデータの垂直パリティが正しけ
れば、その抽出したテキストデータで引抜き方向データ
Dbの垂直パリティに誤りのあるテキストデータを置換
して、引抜き方向データを修復する(S13a〜S13
c)。
The vertical parity repair processing is performed according to the flowchart of FIG. In this case, as shown in FIG. 7, from the text data of the insertion direction data Da, the text data at the same position as the text data having the wrong vertical parity of the extraction direction data Db is extracted,
If the vertical parity of all the extracted text data is correct, the extracted text data is replaced with the text data having an error in the vertical parity of the extraction direction data Db, and the extraction direction data is restored (S13a to S13).
c).

【0031】また、抽出したテキストデータのいずれか
に垂直パリティの誤りがある場合には、修復不能とな
り、アラーム信号が出力される(S13d)。
If any of the extracted text data has an error in the vertical parity, the error becomes unrecoverable and an alarm signal is output (S13d).

【0032】水平パリティ修復処理は、図8のフローチ
ャートにしたがって行われる。なお、フォーマットおよ
び垂直パリティに誤りが検出されずに、水平パリティだ
けに誤りがあるのは、引抜き方向データDbのテキスト
データに偶数個のビット誤りがある場合かLRCの値自
体に誤りがある場合である。なお、ここでは、修復待ち
の時間を短くするために、複数のテキストデータにそれ
ぞれ偶数個のビット誤りがある場合やこのビット誤りと
ともにLRCの値自体も誤っている場合については修復
対象としていない。
The horizontal parity repair processing is performed according to the flowchart of FIG. It should be noted that no error is detected in the format and vertical parity but only in the horizontal parity. The reason is that the text data of the extraction direction data Db has an even number of bit errors or the LRC value itself has an error. It is. In this case, in order to shorten the restoration waiting time, a case where a plurality of pieces of text data each have an even number of bit errors or a case where the LRC value itself is incorrect together with the bit errors is not considered as a restoration target.

【0033】この場合、図9に示すように、挿入方向デ
ータDaのテキストデータのうち垂直パリティが正常で
且つ引抜き方向データDbのテキストデータと一致しな
いものを抽出し(S14a、S14b)し、抽出したテ
キストデータを一つ選択して引抜き方向データのテキス
トデータと置換し、置換後のLRCを計算し、計算結果
と元のLRCとが一致していない場合には置換前のデー
タに戻して、他のデータを置換する処理を、抽出したテ
キストデータの全てについて行う(S14c〜S14
i)。
In this case, as shown in FIG. 9, among the text data of the insertion direction data Da, those having a normal vertical parity and not matching the text data of the extraction direction data Db are extracted (S14a, S14b) and extracted. One of the text data is selected and replaced with the text data of the pull-out direction data, the LRC after the replacement is calculated, and when the calculation result does not match the original LRC, the data is returned to the data before the replacement, The process of replacing other data is performed for all of the extracted text data (S14c to S14).
i).

【0034】この処理S14d〜S14iを繰り返して
いるうちに、LRCの計算結果が引抜き方向データDb
のLRCの値と一致したときには、その時点でデータの
修復が終了して、処理S11へ移行する。
While the processes S14d to S14i are repeated, the result of the LRC calculation is changed to the extraction direction data Db.
, The data restoration ends at that point, and the process proceeds to step S11.

【0035】また、処理S14bでテキストデータを抽
出できなかった場合や全てのテキストデータの置換を行
ってもLRCが一致しなかった場合には、元の引抜き方
向データDbのLRCを計算し、その計算結果が挿入方
向データDbのLRCの値と一致している場合には、計
算したLRC(または挿入方向データのLRCの値)で
引抜き方向データDbのLRCを置換して、データの修
復を終了し、処理S11へ移行する(S14j〜S14
l)。
If the text data cannot be extracted in step S14b or if the LRCs do not match even after all text data has been replaced, the LRC of the original pull-out direction data Db is calculated. If the calculation result matches the LRC value of the insertion direction data Db, the LRC of the extraction direction data Db is replaced with the calculated LRC (or the LRC value of the insertion direction data), and the data restoration is completed. Then, the process proceeds to step S11 (S14j to S14).
l).

【0036】また、処理S14kで、LRCが一致しな
い場合には、修復不能となり、アラーム信号が出力され
る(S14m)。
If the LRCs do not match in the processing S14k, the recovery becomes impossible, and an alarm signal is output (S14m).

【0037】以上のように、この実施形態の磁気カード
読取装置では、カード引抜き時に読み取ったデータに誤
りがある場合に、カード挿入時に読み取ったデータに基
づいて引抜き方向データの修復するようにしているの
で、読取の精度が格段に高くなり、カード引抜き時の僅
かな読取エラーで利用者にカードの再挿入および再引抜
きの操作を行わせる必要がなくなる。
As described above, in the magnetic card reader of this embodiment, if there is an error in the data read at the time of card removal, the data in the removal direction is restored based on the data read at the time of card insertion. Therefore, the reading accuracy is remarkably improved, and it is not necessary for the user to perform the operation of re-inserting and re-pulling the card due to a slight reading error when the card is pulled out.

【0038】なお、前記実施形態では、磁気カードのフ
ォーマット、垂直パリティおよび水平パリティについて
修復を行っていたが、これは本発明を限定するものでな
く、これらの2つあるいは1つについてだけ修復を行う
ようにしてもよい。
In the above embodiment, the format, the vertical parity, and the horizontal parity of the magnetic card are repaired. However, the present invention is not limited to this, and the repair is performed only for two or one of them. It may be performed.

【0039】また、前記実施形態の水平パリティ修復処
理では、挿入方向データの垂直パリティが正常で、且つ
引抜き方向データと一致しないテキストデータを選択し
て置換していたが、一致不一致に関係なくテキストデー
タの置換を機械的に行うようにしてもよい。また、テキ
ストデータを1つのみ置換していたが、修復処理のため
の時間を長くとれる場合には、1テキストデータだけの
置換で修復できない場合に、複数のテキストデータの組
合せで置換を行って修復するようにしてもよい。
In the horizontal parity repair processing of the embodiment, text data in which the vertical parity of the insertion direction data is normal and does not match the extraction direction data is selected and replaced. Data replacement may be performed mechanically. Although only one piece of text data has been replaced, if the time required for the repair process can be extended, if replacement cannot be achieved by replacing only one piece of text data, replacement is performed using a combination of a plurality of pieces of text data. It may be restored.

【0040】また、前記実施形態では、磁気カードをカ
ード収容部に配置されたセンサによって検知してデータ
の記憶を行っていたが、磁気ヘッドからの読取信号によ
ってカードの走行を検知してデータを記憶するようにし
てもよい。
Further, in the above-described embodiment, the magnetic card is detected by the sensor disposed in the card accommodating portion and the data is stored. However, the running of the card is detected by the read signal from the magnetic head and the data is stored. You may make it memorize | store.

【0041】[0041]

【発明の効果】以上説明したように、本発明の磁気カー
ド読取装置では、カード引抜き時に読み取ったデータに
誤りがある場合に、カード挿入時に読み取ったデータに
基づいて引抜き方向データの修復するようにしているの
で、読取りの精度が格段に高くなり、カード引抜き時の
僅かな読取エラーで利用者にカードの再挿入および再引
抜きの操作を行わせる必要がなくなる。
As described above, according to the magnetic card reader of the present invention, if there is an error in the data read at the time of card removal, the data in the removal direction is restored based on the data read at the time of card insertion. As a result, the reading accuracy is significantly improved, and it is not necessary for the user to perform the operation of re-inserting and re-pulling the card with a slight reading error when the card is pulled out.

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

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

【図2】磁気カードのデータフォーマットを示す図FIG. 2 is a diagram showing a data format of a magnetic card.

【図3】実施形態の全体動作のフローチャートFIG. 3 is a flowchart of an overall operation of the embodiment.

【図4】実施形態のフォーマット修復処理を示すフロー
チャート
FIG. 4 is a flowchart illustrating a format restoration process according to the embodiment;

【図5】実施形態のフォーマット修復処理を説明するた
めのデータ図
FIG. 5 is a data diagram for explaining a format restoration process according to the embodiment;

【図6】実施形態の垂直パリティ修復処理を示すフロー
チャート
FIG. 6 is a flowchart illustrating a vertical parity repair process according to the embodiment;

【図7】実施形態の垂直パリティ修復処理を説明するた
めのデータ図
FIG. 7 is a data diagram for explaining a vertical parity repair process according to the embodiment;

【図8】実施形態の水平パリティ修復処理を示すフロー
チャート
FIG. 8 is a flowchart illustrating a horizontal parity repair process according to the embodiment;

【図9】実施形態の水平パリティ修復処理を説明するた
めのデータ図
FIG. 9 is a data diagram for explaining horizontal parity repair processing according to the embodiment;

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

21 カード挿入口 22 カード収容部 23、24 センサ 25 磁気ヘッド 31 再生回路 32 挿入方向データ書込手段 33 第1のメモリ 34 引抜き方向データ書込手段 35 第2のメモリ 36 誤り判定手段 36a フォーマット判定部 36b 垂直パリティ判定部 36c 水平パリティ判定部 37 データ修復手段 37a フォーマット修復部 37b 垂直パリティ修復部 37c 水平パリティ修復部 38 データ出力手段 DESCRIPTION OF SYMBOLS 21 Card insertion slot 22 Card accommodating part 23, 24 Sensor 25 Magnetic head 31 Reproduction circuit 32 Insertion direction data writing means 33 First memory 34 Extraction direction data writing means 35 Second memory 36 Error determination means 36a Format determination part 36b Vertical parity determination unit 36c Horizontal parity determination unit 37 Data recovery unit 37a Format recovery unit 37b Vertical parity recovery unit 37c Horizontal parity recovery unit 38 Data output unit

─────────────────────────────────────────────────────
────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成10年7月27日(1998.7.2
7)
[Submission Date] July 27, 1998 (1998.7.2)
7)

【手続補正1】[Procedure amendment 1]

【補正対象書類名】図面[Document name to be amended] Drawing

【補正対象項目名】全図[Correction target item name] All figures

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【図2】 FIG. 2

【図1】 FIG.

【図3】 FIG. 3

【図5】 FIG. 5

【図7】 FIG. 7

【図4】 FIG. 4

【図9】 FIG. 9

【図6】 FIG. 6

【図8】 FIG. 8

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】磁気カードを後で引き抜くことができる深
さ位置まで受け入れるカード収容部と、 前記カード収容部の所定位置に配置され、該所定位置を
通過する磁気カードに記録されているデータを読み取る
磁気ヘッドと、 前記磁気ヘッドの読取信号をデータ信号に変換する再生
回路と、 磁気カードが前記カード収容部に挿入されるときに前記
再生回路から出力されるデータ信号を記憶する挿入方向
データ記憶手段と、 磁気カードが前記カード収容部から引き抜かれるときに
前記再生回路から出力されるデータ信号を記憶する引抜
き方向データ記憶手段と、 前記引抜きデータ記憶手段によって記憶された引抜き方
向データの誤りの有無を判定する誤り判定手段と、 前記誤り判定手段によって引抜き方向データに誤りがあ
ったと判定されたとき、該引抜き方向データの誤り内容
と前記挿入方向データ記憶手段に記憶されている挿入方
向データとに基づいて、前記引込み方向データを修復す
るデータ修復手段とを備えた磁気カード読取装置。
1. A card storage portion for receiving a magnetic card to a depth position where the magnetic card can be later pulled out, and a data storage device disposed at a predetermined position of the card storage portion and passing data recorded on the magnetic card passing through the predetermined position. A magnetic head for reading, a reproducing circuit for converting a read signal of the magnetic head into a data signal, and an insertion direction data storage for storing a data signal output from the reproducing circuit when a magnetic card is inserted into the card receiving portion Means, a pull-out direction data storage means for storing a data signal output from the reproducing circuit when the magnetic card is pulled out of the card storage section, and presence or absence of an error in the pull-out direction data stored by the pull-out data storage means. Error determination means for determining whether or not the extraction direction data has an error Can, based on the insertion direction data stored in the insertion direction data storage means and the error content of the pultrusion direction data, a magnetic card reader and a data recovery unit for repairing the retraction direction data.
JP10189842A 1998-06-18 1998-06-18 Magnetic card reader Pending JP2000011099A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10189842A JP2000011099A (en) 1998-06-18 1998-06-18 Magnetic card reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10189842A JP2000011099A (en) 1998-06-18 1998-06-18 Magnetic card reader

Publications (1)

Publication Number Publication Date
JP2000011099A true JP2000011099A (en) 2000-01-14

Family

ID=16248127

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10189842A Pending JP2000011099A (en) 1998-06-18 1998-06-18 Magnetic card reader

Country Status (1)

Country Link
JP (1) JP2000011099A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010015409A (en) * 2008-07-04 2010-01-21 Nidec Sankyo Corp Magnetic card reader and magnetic card reading method thereof
JP2010040088A (en) * 2008-08-04 2010-02-18 Neuron:Kk Magnetic card reader
JP2011138584A (en) * 2009-12-28 2011-07-14 Nec Computertechno Ltd Magnetic reader, magnetic reading method, and program
WO2018062000A1 (en) * 2016-09-30 2018-04-05 日本電産サンキョー株式会社 Magnetic data processing device and magnetic data processing method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010015409A (en) * 2008-07-04 2010-01-21 Nidec Sankyo Corp Magnetic card reader and magnetic card reading method thereof
JP2010040088A (en) * 2008-08-04 2010-02-18 Neuron:Kk Magnetic card reader
JP2011138584A (en) * 2009-12-28 2011-07-14 Nec Computertechno Ltd Magnetic reader, magnetic reading method, and program
WO2018062000A1 (en) * 2016-09-30 2018-04-05 日本電産サンキョー株式会社 Magnetic data processing device and magnetic data processing method
US10586568B2 (en) 2016-09-30 2020-03-10 Nidec Sankyo Corporation Magnetic data processing device and magnetic data processing method

Similar Documents

Publication Publication Date Title
JP2846847B2 (en) Decoding device for dual frequency data signal
JPS6010461A (en) Magnetic memory
CA2013184A1 (en) Dat data group assembly
JPH0612895B2 (en) Information processing system
US3774154A (en) Error control circuits and methods
US5255272A (en) Predictive tape drive error correction apparatus
JP2000011099A (en) Magnetic card reader
TW559788B (en) Data reproducing apparatus and medium
EP0655738A2 (en) Error correction circuit
TW460863B (en) Data error correction device
US20060005110A1 (en) Data processing apparatus and method
US7042667B2 (en) Data storage
EP0889474A1 (en) Error tolerant data recording
JP3443472B2 (en) Passbook printer
JP4330425B2 (en) Magnetic card issuance acceptance device
JP4151180B2 (en) Magnetic stripe data restoration method
JP3251732B2 (en) Control method and control device for magnetic tape device
JPH08161448A (en) Control mechanism for automatic teller machine
JP6613193B2 (en) Medium processing apparatus and method for controlling medium processing apparatus
JP2910803B2 (en) Highly reliable auxiliary storage device
JP2779540B2 (en) Magnetic tape unit
JPH067424B2 (en) Data update method
JPS6043265A (en) Reading and writing system of data
KR100232957B1 (en) Method for shortening error correcting time of digital video disc
JP2818766B2 (en) Defect inspection device for recording media

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040414

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040706

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20041102