Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH071603B2 - Magnetic stripe data reader - Google Patents
[go: Go Back, main page]

JPH071603B2 - Magnetic stripe data reader - Google Patents

Magnetic stripe data reader

Info

Publication number
JPH071603B2
JPH071603B2 JP59131412A JP13141284A JPH071603B2 JP H071603 B2 JPH071603 B2 JP H071603B2 JP 59131412 A JP59131412 A JP 59131412A JP 13141284 A JP13141284 A JP 13141284A JP H071603 B2 JPH071603 B2 JP H071603B2
Authority
JP
Japan
Prior art keywords
data
magnetic stripe
reading
address
read
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP59131412A
Other languages
Japanese (ja)
Other versions
JPS619871A (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.)
Omron Corp
Original Assignee
Omron 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 Omron Corp filed Critical Omron Corp
Priority to JP59131412A priority Critical patent/JPH071603B2/en
Publication of JPS619871A publication Critical patent/JPS619871A/en
Publication of JPH071603B2 publication Critical patent/JPH071603B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/18Error detection or correction; Testing, e.g. of drop-outs

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

【発明の詳細な説明】 (a)技術分野 この発明は銀行用引取処理装置の磁気ストライプデータ
読取装置に関し、特には、磁気ストライプデータが複数
回記憶されている磁気ストライプの読取装置に関する。
Description: (a) Technical Field The present invention relates to a magnetic stripe data reading device for a bank takeover processing device, and more particularly to a magnetic stripe reading device in which magnetic stripe data is stored a plurality of times.

(b)従来技術とその欠点 銀行等で用いられるテラーズマシンや自動取引処理装置
(以下ATMと呼ぶ)はキャシュカード又は預金通帳の磁
気ストライプのデータを読み取ることによって処理を開
始することができる。しかし、それら磁気ストライプは
データ保持の信頼度が低いため必要データを複数回反復
して記憶させる方式が提案され、預金通帳ではすでに実
用化されている。前記のように複数回データを反復して
記憶させるためには、磁気ストライプの長さを分割し、
分割されたブロック毎に必要なデータ(以下磁気ストラ
イプデータと呼ぶ)を記憶させている。
(B) Conventional Technology and Its Defects A tellers machine or an automatic transaction processing apparatus (hereinafter referred to as ATM) used in a bank or the like can start the processing by reading the magnetic stripe data of a cash card or a passbook. However, since these magnetic stripes have low reliability of data retention, a method of repeatedly storing necessary data a plurality of times has been proposed, which has already been put to practical use in a bankbook. In order to repeatedly store data as described above, divide the length of the magnetic stripe,
Required data (hereinafter referred to as magnetic stripe data) is stored for each divided block.

上記のような磁気ストライプを読み取るため従来は、磁
気ストライプの始端からの長さを、その走査開始からの
経過時間を測定することによって検知し、それぞれのブ
ロックの先頭部を割り出していた。しかし、この方式は
走査の速さが一定しないハンドスキャナ等には利用でき
ないと言う欠点があった。また、送り量を測定してブロ
ックの先頭部を割り出す方式も提案されているが、この
ような物理的な方式では磁気ストライプの分割方式の変
更や、データのエラーでブロック割が壊れている場合に
は対応できないという欠点があった。
In order to read the magnetic stripe as described above, conventionally, the length from the starting end of the magnetic stripe is detected by measuring the elapsed time from the start of the scanning, and the head portion of each block is determined. However, this method has a drawback that it cannot be used for a hand scanner or the like in which the scanning speed is not constant. A method has also been proposed in which the feed amount is measured to determine the beginning of the block, but with such a physical method, when the block division is broken due to a change in the magnetic stripe division method or a data error. There was a drawback that I could not deal with.

(c)発明の目的 この発明は上記欠点を解決するため、磁気ストライプに
記憶されているデータの内容から磁気ストライプデータ
の先頭部を検出し、データにエラーがあった場合にも対
応できる磁気ストライプデータ読取装置を提供すること
を目的とする。
(C) Object of the Invention In order to solve the above-mentioned drawbacks, the present invention can detect the head portion of the magnetic stripe data from the contents of the data stored in the magnetic stripe and can respond even if there is an error in the data. An object is to provide a data reading device.

(d)発明の構成 この発明は、同一の磁気ストライプデータを複数回反復
して記憶している磁気ストライプを有する媒体の磁気ス
トライプデータを読み取る読取装置において、 読み込まれた全データをビット毎に記憶する記憶手段
と、該記憶手段に記憶された全データの中から磁気スト
ライプデータの開始符号を検出する手段と、該開始符号
を検出する手段で開始符号を検出した時それ以降のアド
レスのデータを読み出して出力するデータ読み出し手段
と、前記開始符号を検出する手段で開始符号を検出する
ための検出開始アドレスを、最初は先頭アドレスに設定
し、前記データ読み出し手段でデータの読み出し中にエ
ラーが生じたときには前回検出された開始符号のアドレ
スに一定の値を加算したアドレスに設定する検出開始ア
ドレス設定手段と、この検出開始アドレス設定手段によ
り設定された検出開始アドレスから前記全データのうち
の前記データ読み出し手段で未だ読み出されていない残
りビット数を求める残りビット数算出手段と、前記残り
ビット数が前記同一の磁気ストライプデータのビット数
以上であるときに前記データ読み出し手段を有効にする
データ読み出し制御手段と、前記残りビット数が前記同
一の磁気ストライプデータのビット数に満たないときに
データ読み取りエラーの処理を行うデータ読み取りエラ
ー処理手段と、を有することを特徴とする。
(D) Configuration of the Invention According to the present invention, in a reading device for reading magnetic stripe data of a medium having a magnetic stripe in which the same magnetic stripe data is repeatedly stored a plurality of times, all read data is stored bit by bit. Storing means, means for detecting the start code of the magnetic stripe data from all the data stored in the storage means, and data of addresses after the start code is detected by the means for detecting the start code. The data reading means for reading and outputting and the detection start address for detecting the start code by the means for detecting the start code are initially set to the head address, and an error occurs during the data reading by the data reading means. When the above occurs, the detection start address setting is set to the address obtained by adding a certain value to the address of the start code detected previously. Means, a remaining bit number calculating means for obtaining the number of remaining bits which have not yet been read by the data reading means from the detection start address set by the detection start address setting means, and the remaining bit number. When the number of bits of the same magnetic stripe data is greater than or equal to the number of bits of the same magnetic stripe data, data read control means that enables the data reading means, and data reading when the number of remaining bits is less than the number of bits of the same magnetic stripe data Data read error processing means for processing an error.

(e)実施例 第1図はこの発明の実施例である磁気ストライプデータ
読取装置のブロック図である。磁気ヘッド1によって読
み取られた磁気ストライプのデータはアンプ2によって
増幅されたのちF2F回路3でデータとクロック信号とに
弁別される。このデータはメモリ4に記憶される。メモ
リ4には読出回路6,カウンタ8が接続されている。カウ
ンタ8はメモリ4に読み込まれたデータの全ビット数を
カウントし記憶する。読出回路6にはアドレス指定回路
5,開始符号検出回路7,バッファ9が接続されており、こ
の読出回路6はメモリ4から読み出したデータをキャラ
クタ(本実施例では5ビット)に組み立てたのち開始符
号検出回路7又はバッファ9に出力する。開始符号検出
回路7はデータの後述するスタートオブテキスト信号
(以下STX信号と呼ぶ)を検出すると、そのアドレスを
読み出してアドレス指定回路5に出力する。アドレス指
定回路5は読出回路6が読み出すメモリ4のアドレスを
指定する。このアドレス指定回路5は最初はメモリ4の
先頭のアドレスを指定し、後述するエラー発生時にはそ
の時点での読出アドレスから1キャラクタ毎に順次指定
してゆくが、前記開始符号検出回路7からSTX信号のア
ドレスが入力されると、アドレス指定回路5はそのアド
レスを読み出し開始アドレスとして読出回路6に出力す
る。バッファ9は読出回路6から入力されたデータを図
示しない制御部に出力する。
(E) Embodiment FIG. 1 is a block diagram of a magnetic stripe data reader according to an embodiment of the present invention. The data of the magnetic stripe read by the magnetic head 1 is amplified by the amplifier 2 and then discriminated into the data and the clock signal by the F2F circuit 3. This data is stored in the memory 4. A reading circuit 6 and a counter 8 are connected to the memory 4. The counter 8 counts and stores the total number of bits of the data read in the memory 4. The read circuit 6 has an addressing circuit.
5, a start code detection circuit 7 and a buffer 9 are connected, and the read circuit 6 assembles the data read from the memory 4 into a character (5 bits in this embodiment), and then the start code detection circuit 7 or the buffer 9 Output. When the start code detection circuit 7 detects a start-of-text signal (hereinafter referred to as an STX signal) of data, which will be described later, the start code detection circuit 7 reads the address and outputs it to the addressing circuit 5. The address designating circuit 5 designates the address of the memory 4 read by the reading circuit 6. The address designating circuit 5 initially designates the leading address of the memory 4, and when an error described later occurs, it sequentially designates the read address at that time for each character, but the start code detecting circuit 7 sends the STX signal. Address is input, the address designating circuit 5 outputs the address to the reading circuit 6 as a reading start address. The buffer 9 outputs the data input from the read circuit 6 to a control unit (not shown).

第2図は上記実施例のメモリの要部構成図である。エリ
アM1にはビットの“0"が記憶されており、これがプリア
ンブルとして読み取られる。エリアM2は5ビットの“1"
でありこれがSTX信号である。エリアM3には磁気ストラ
イプデータのデータ内容が記憶されている。エリアM4に
はETX信号が記憶されている。この実施例の場合はSTX信
号と同様の5ビットの“1"である。エリアM5はスペーサ
ーである4ビットの“0"である。エリアM6は第2ブロッ
クのSTX信号である。エリアM7は第2ブロックの磁気ス
トライプデータが記憶されている。以下ETX信号,ポス
トアンブルが順次記憶されている。以上の構成のデータ
は5ビット1キャラクタのデータである。従って、この
実施例の読出回路6,バッファ9等の構成も5ビット1キ
ャラクタ用に構成されている。
FIG. 2 is a block diagram of the essential parts of the memory of the above embodiment. The area "M1" stores a bit "0", which is read as a preamble. Area M2 is 5-bit "1"
And this is the STX signal. The data content of the magnetic stripe data is stored in the area M3. An ETX signal is stored in area M4. In the case of this embodiment, it is a 5-bit "1" similar to the STX signal. Area M5 is a 4-bit “0” that is a spacer. Area M6 is the STX signal of the second block. Area M7 stores the magnetic stripe data of the second block. Below, the ETX signal and postamble are stored in sequence. The data having the above-described structure is 5-bit 1-character data. Therefore, the read circuit 6, the buffer 9 and the like of this embodiment are also constructed for 5 bits and 1 character.

第3図は上記実施例の処理の流れを示すフローチャート
である。ステップn1(以下ステップniを単にniと呼ぶ)
ではキャッシュカードまたは預金通帳の媒体の走査開始
を検知すると処理をn2に進める。n2では磁気ストライプ
の全データをメモリ4に記憶する。n3では読出回路6が
メモリ4に記憶されているデータを先頭から順に読み出
してゆき開始符号検出回路7に出力する(n3)。開始符
号検出回路7がSTX信号を検知すると(n4)、STX信号の
アドレスを読出開始アドレスとしてアドレス指定回路5
に出力し(n5)、読出回路6はそれ以後のデータをバッ
ファ9を介して制御部に伝送する(n6)。n7では制御部
に読みこまれたデータにエラーがあるかを判断し、エラ
ーがあれば処理をn9に移し、なければn8に進める。n8で
は読み出されたデータがエンドオブテキスト信号(以下
ETX信号と呼ぶ)であるかを判断し、ETX信号でなければ
処理をn6に戻してデータの伝送を繰り返し、ETX信号が
読み出されると処理を終える。n7で、読み込まれたデー
タにエラーが発生したことを判断して処理がn9に移る
と、カウンタ8がカウントした全ビット数からSTX信号
を発見するまでに読み込んだビット数を除いた残りビッ
ト数とあらかじめ決められている1ブロック分の磁気ス
トライプデータのビット数とを比較し、あらかじめ決め
られている1ブロック分の磁気ストライプデータのビッ
ト数の方が大きければ、磁気ストライプから読み込まれ
たデータは不完全であるので、その旨の出力等の処理を
して処理を終える(n12)。n9で残りビット数の方が大
きければ、次に記憶されている磁気ストライプデータは
完全である可能性があるため次のSTX信号を検出するま
で直前のSTX信号検出開始アドレスから1キャラクタ毎
にデータの読み出しを続けて(n10)、開始符号検出回
路7がSTX信号を検出すれば処理をn5に戻し(n11)、検
出しなければ処理をn9に戻す。もし、検出しないまま残
りビット数があらかじめ決められている磁気ストライプ
データのビット数よりも少なくなったことをn9で判断す
ればn12の処理を行った後停止する。前記n3,n5,n10がこ
の発明の検出開始アドレス設定手段に対応し、n9が残り
ビット数算出手段に対応し、n11がデータ読み出し制御
手段、n12がデータ読み取りエラー処理手段にそれぞれ
対応する。
FIG. 3 is a flowchart showing the flow of processing of the above embodiment. Step n1 (hereinafter step ni is simply called ni)
Then, if the scanning start of the medium of the cash card or the bankbook is detected, the process proceeds to n2. At n2, all data of the magnetic stripe is stored in the memory 4. At n3, the reading circuit 6 sequentially reads the data stored in the memory 4 from the beginning and outputs it to the start code detecting circuit 7 (n3). When the start code detection circuit 7 detects the STX signal (n4), the address designation circuit 5 uses the address of the STX signal as the read start address.
(N5), and the read circuit 6 transmits the subsequent data to the control unit via the buffer 9 (n6). At n7, it is judged whether or not there is an error in the data read into the control unit. If there is an error, the process proceeds to n9, and if not, the process proceeds to n8. In n8, the read data is the end of text signal (below
It is called an ETX signal), and if it is not an ETX signal, the process is returned to n6, data transmission is repeated, and the process ends when the ETX signal is read. When n7 determines that an error has occurred in the read data and the process proceeds to n9, the remaining number of bits excluding the number of bits read until the STX signal is found from the total number of bits counted by counter 8. And the predetermined number of bits of magnetic stripe data for one block are compared. If the predetermined number of bits of magnetic stripe data for one block is larger, the data read from the magnetic stripe is Since it is incomplete, processing such as output to that effect is performed and the processing ends (n12). If the number of remaining bits is larger in n9, the magnetic stripe data stored next may be complete, so data will be written for each character from the immediately preceding STX signal detection start address until the next STX signal is detected. Is continuously read (n10), if the start code detection circuit 7 detects the STX signal, the process is returned to n5 (n11), and if not detected, the process is returned to n9. If it is determined in n9 that the number of remaining bits becomes less than the predetermined number of bits of the magnetic stripe data without being detected, the process is stopped after performing the process of n12. The n3, n5, and n10 correspond to the detection start address setting means of the present invention, n9 corresponds to the remaining bit number calculating means, n11 corresponds to the data read control means, and n12 corresponds to the data read error processing means.

(f)発明の効果 以上のようにこの発明によると、一本の磁気ストライプ
にどのようなブロック割で磁気ストライプデータが繰り
返されていても磁気ストライプに記憶されているデータ
の内容から磁気ストライプデータの先頭部を検出できる
とともに、読み込んだデータにエラーがありブロック割
が壊れている場合にも、つぎの磁気ストライプデータの
先頭部の検出,エラー処理が速やかに行えるという利点
が生じる。
(F) Effects of the Invention As described above, according to the present invention, the magnetic stripe data can be calculated from the content of the data stored in the magnetic stripe regardless of the block division of the magnetic stripe data repeated in one magnetic stripe. It is possible to detect the head portion of the next magnetic stripe data and quickly perform error processing even if the read data has an error and the block allocation is broken.

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

第1図はこの発明の実施例である磁気ストライプデータ
読取装置のブロック図、第2図は上記実施例のメモリの
要部構成図、第3図は上記実施例の処理の流れを示すフ
ローチャートである。 1……磁気ヘッド、4……メモリ、 5……アドレス指定回路、6……読出回路、 7……開始符号検出回路、8……カウンタ、 9……バッファ。
FIG. 1 is a block diagram of a magnetic stripe data reading apparatus according to an embodiment of the present invention, FIG. 2 is a block diagram of a main portion of a memory of the above embodiment, and FIG. 3 is a flow chart showing a processing flow of the above embodiment. is there. 1 ... Magnetic head, 4 ... Memory, 5 ... Addressing circuit, 6 ... Read circuit, 7 ... Start code detection circuit, 8 ... Counter, 9 ... Buffer.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】同一の磁気ストライプデータを複数回反復
して記憶している磁気ストライプを有する媒体の磁気ス
トライプデータを読み取る読取装置において、 読み込まれた全データをビット毎に記憶する記憶手段
と、該記憶手段に記憶された全データの中から磁気スト
ライプデータの開始符号を検出する手段と、該開始符号
を検出する手段で開始符号を検出した時それ以降のアド
レスのデータを読み出して出力するデータ読み出し手段
と、前記開始符号を検出する手段で開始符号を検出する
ための検出開始アドレスを、最初は先頭アドレスに設定
し、前記データ読み出し手段でデータの読み出し中にエ
ラーが生じたときには前回検出された開始符号のアドレ
スに一定の値を加算したアドレスに設定する検出開始ア
ドレス設定手段と、この検出開始アドレス設定手段によ
り設定された検出開始アドレスから前記全データのうち
の前記データ読み出し手段で未だ読み出されていない残
りビット数を求める残りビット数算出手段と、前記残り
ビット数が前記同一の磁気ストライプデータのビット数
以上であるときに前記データ読み出し手段を有効にする
データ読み出し制御手段と、前記残りビット数が前記同
一の磁気ストライプデータのビット数に満たないときに
データ読み取りエラーの処理を行うデータ読み取りエラ
ー処理手段と、を有してなる磁気ストライプデータの読
取装置。
1. A reading device for reading magnetic stripe data of a medium having a magnetic stripe in which the same magnetic stripe data is repeatedly stored a plurality of times, and storage means for storing all read data bit by bit. Means for detecting the start code of the magnetic stripe data from all the data stored in the storage means, and data for reading and outputting the data of the address after the start code is detected by the means for detecting the start code The detection start address for detecting the start code by the reading means and the means for detecting the start code is initially set to the head address, and when an error occurs during the data reading by the data reading means, it is detected last time. Detection start address setting means for setting an address obtained by adding a constant value to the start code address Remaining bit number calculating means for obtaining the remaining number of bits of the entire data which has not been read by the data reading means from the detection start address set by the start address setting means, and the remaining bit number is the same magnetic field. Data read control means for enabling the data read means when the number of bits of the stripe data is equal to or more, and data read error processing when the number of remaining bits is less than the number of bits of the same magnetic stripe data. A device for reading magnetic stripe data, comprising: data read error processing means.
JP59131412A 1984-06-25 1984-06-25 Magnetic stripe data reader Expired - Lifetime JPH071603B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59131412A JPH071603B2 (en) 1984-06-25 1984-06-25 Magnetic stripe data reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59131412A JPH071603B2 (en) 1984-06-25 1984-06-25 Magnetic stripe data reader

Publications (2)

Publication Number Publication Date
JPS619871A JPS619871A (en) 1986-01-17
JPH071603B2 true JPH071603B2 (en) 1995-01-11

Family

ID=15057362

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59131412A Expired - Lifetime JPH071603B2 (en) 1984-06-25 1984-06-25 Magnetic stripe data reader

Country Status (1)

Country Link
JP (1) JPH071603B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5292560B2 (en) * 2008-09-30 2013-09-18 日本電産サンキョー株式会社 Magnetic card reader
JP5621100B2 (en) * 2008-09-30 2014-11-05 日本電産サンキョー株式会社 Magnetic card reader and magnetic data reading method
GB2476020A (en) * 2008-09-30 2011-06-08 Nidec Sankyo Corp Magnetic card reader and magnetic data read method
GB2482735A (en) * 2010-08-13 2012-02-15 Alexandru Ion Sovu Data recovery for a magnetic stripe reader

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5516323A (en) * 1978-07-21 1980-02-05 Hitachi Ltd Simple lead wire connector
JPS58203573A (en) * 1982-05-24 1983-11-28 Toshiba Corp Information reader

Also Published As

Publication number Publication date
JPS619871A (en) 1986-01-17

Similar Documents

Publication Publication Date Title
US4851650A (en) Transaction processing apparatus having a plurality of bank account numbers
US5410690A (en) System for issuing portable storage media containing common and individual data
US4237498A (en) Method of addressing and/or locating information on a record carrier
JP2529868B2 (en) Recording method of information recording medium
JPH071603B2 (en) Magnetic stripe data reader
JPS6351298B2 (en)
KR880000208B1 (en) Method and device for controlling bubble cassette memory
JPS60122426A (en) Write data check system
US3992700A (en) Information retrieving apparatus
JPH0118514B2 (en)
JPS58158784A (en) Discrimination of propriety in bit interval of ticket
JP3368348B2 (en) Media processing device
JP2647830B2 (en) Information ticket
JP3516038B2 (en) Magnetic media reader
JPH06139385A (en) Magnetic card reader
JP3314387B2 (en) Magnetic tape controller
JP2000123104A5 (en) Financial automation system
JP3055986B2 (en) Data writing method
JP3245902B2 (en) Redundant bit setting device for magnetic ticket
JP2538907B2 (en) IC card
KR940009755B1 (en) Memory board having error correction function
JP2818766B2 (en) Defect inspection device for recording media
JPS6130342B2 (en)
JPH059865B2 (en)
KR900006941B1 (en) Portable electronics

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term