JPS61208582A - Card reader - Google Patents

Card reader

Info

Publication number
JPS61208582A
JPS61208582A JP60051208A JP5120885A JPS61208582A JP S61208582 A JPS61208582 A JP S61208582A JP 60051208 A JP60051208 A JP 60051208A JP 5120885 A JP5120885 A JP 5120885A JP S61208582 A JPS61208582 A JP S61208582A
Authority
JP
Japan
Prior art keywords
information
card
control section
reading
path
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
JP60051208A
Other languages
Japanese (ja)
Inventor
Yukinobu Nagata
永田 幸信
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 Tateisi Electronics Co
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 Tateisi Electronics Co filed Critical Omron Tateisi Electronics Co
Priority to JP60051208A priority Critical patent/JPS61208582A/en
Publication of JPS61208582A publication Critical patent/JPS61208582A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To decode an information except for a damage section by synthesizing proper reading informations of a coming path and a returning path from a front or a rear sections, respectively. CONSTITUTION:A control section 10 normally rotates or reverses a motor 6 through a driving circuit 11 and drives in reciprocation relative to a reading head 9 of a card. By respective reading operations of a coming path and a returning path, a reproducing signal obtained through the reading head 9 and an amplifying circuit 10 is decoded by a decoding circuit 13 and given to the control section 10. When there are damages such as a bending, flaws, the control section 10 synthesizes a reasonable information on the way of the respective reading operations of said reciprocation from a front and a rear sections. The control section operates so as to limit a section incapable of reproducing the information due to the damages to minimum.

Description

【発明の詳細な説明】 〈発明の技術分野〉 この発明は、各種カードの記録情報を読み取るためのカ
ードリーダに関する。
DETAILED DESCRIPTION OF THE INVENTION Technical Field of the Invention The present invention relates to a card reader for reading recorded information on various cards.

〈発明の概要〉 この発明においては、カドに折れや傷等があっても、そ
れ以外の部分を適正に再生することができるように、カ
ード情報を往復読み取りし、往路および復路の適正な読
み取ら情報を、それぞれ前、後から合成するようにして
いる。
<Summary of the Invention> In this invention, card information is read back and forth so that even if the edge is bent or scratched, other parts can be properly reproduced. Information is synthesized from the front and the rear, respectively.

〈発明の背景〉 従来、例えばFM、MFM等のクロックと情報とが一膳
になった変調方式により情報を記録したカードを用いる
システムにおいては、カードが途中で折れたり、傷を受
けたりすると、その部分以後の情報の再生ないしは復号
が不可能となり、折れや傷の位置によってはそのカード
によるグステムの利用ができなくなるという欠点があっ
た。
<Background of the Invention> Conventionally, in a system using a card that records information using a modulation method that combines a clock and information, such as FM or MFM, if the card is broken or scratched in the middle, There was a drawback that it became impossible to reproduce or decode the information after that part, and depending on the location of the bend or scratch, it became impossible to use the Gustem with that card.

〈発明の目的〉 この発明は、カードが折れや傷等の損傷を受けた場合で
あっても、損傷部以外の情報の復号を可能とし、そのカ
ードによるシステムの利用に支障を来たすことのないカ
ードリーダを提供することを目的とする。
<Purpose of the Invention> This invention makes it possible to decode information other than the damaged part even if a card is damaged such as being bent or scratched, so that the use of the system using the card is not hindered. The purpose is to provide a card reader.

〈発明の構成および効果〉 上記目的を達成するため、この発明によるカ−ドリーダ
は、カードが読み取りヘッドに対し相対的に往復移動し
、往路および復路の各読み取り動作で得た途中までの適
正情報を前、後から合成するように構成されている。
<Structure and Effects of the Invention> In order to achieve the above object, the card reader according to the present invention moves the card back and forth relative to the reading head, and reads the correct information up to the middle obtained in each reading operation on the outward and return paths. It is configured to synthesize from the front and the rear.

この発明によれば、往路および復路の各適正読み取り情
報を前、後から合成するようにしているので、損傷によ
る復号不能部分が最小限、すなわちその損傷部分のみに
抑えられ、そのカードによるシステムの利用が多くの場
合可能となる。
According to this invention, since the properly read information for the outbound and return trips is synthesized from the front and back, the portion that cannot be decoded due to damage is minimized, that is, only the damaged portion, and the system using the card is available in many cases.

〈実施例の説明〉 第1図は、この発明によるカードリーダのカード送り機
構の一例を示す説明図である。このカード送り機構は、
カード1の挿入口2およびその挿入奥方向位置にそれぞ
れ1対のローフ3a3b、4a、4bを配設して、上下
搬送ベルト5a。
<Description of Embodiments> FIG. 1 is an explanatory diagram showing an example of a card feeding mechanism of a card reader according to the present invention. This card feeding mechanism is
A pair of loafs 3a3b, 4a, 4b are respectively disposed in the insertion slot 2 of the card 1 and the insertion back direction position, and the upper and lower conveyor belts 5a.

5bを巻き掛けである。下側搬送ベル1−5aはモータ
6づ双方向駆動され、一方上側搬送ベルト5bはローラ
7の作用により適当な張力が与えられるもので、上下搬
送ベル)5a、5bに挾持されて搬送されるカード1を
、押えローラ8により押圧しつつ、磁気ヘッド9により
カード記録情報を読み取るように構成されている。
5b is wrapped around it. The lower conveyor belt 1-5a is bidirectionally driven by a motor 6, while the upper conveyor belt 5b is given appropriate tension by the action of rollers 7, and is conveyed while being held between the upper and lower conveyor belts 5a and 5b. The card 1 is pressed by a pressing roller 8 while a magnetic head 9 reads card information.

第2図は、この発明によるカードリーダの一実施例を示
すブロック図である。制御部10は、ドライブ回路11
を通じてモータ6を正転および逆転駆動し、カード1を
読み取りヘッド9に対して相対的に往復駆動する。往路
および復路の各読み取り動作によって読み取りヘッド9
および増幅回路12を通じて得られた再生信号は復号回
路13により復号されて、制御部10に与えられる。カ
ードに折れや傷等の損傷がある場合、制御部10は、以
下に説明するように、上記往復の各読み取り動作で得た
途中までの適正情報を前・後から合成し、損傷による情
報の再生不能部分を最小限に止めるように動作する。
FIG. 2 is a block diagram showing an embodiment of a card reader according to the present invention. The control unit 10 includes a drive circuit 11
The motor 6 is driven in forward and reverse directions through the drive, and the card 1 is reciprocated relative to the reading head 9. The reading head 9 is
The reproduced signal obtained through the amplifier circuit 12 is decoded by the decoding circuit 13 and provided to the control section 10. If the card has damage such as bending or scratches, the control unit 10 combines the proper information obtained up to the middle of each round-trip reading operation from the front and back, as described below, and collects information on the damage caused by the card. Works to minimize unreproducible parts.

第3図は、制御部10の動作を示すフローチャートであ
る。制御部10は、まずステップ21でカード1の挿入
に待機し、カード1が挿入口2に挿入されれば、ステッ
プ22へと進んで、ドライブ回路11にモータ6の正転
指令を与える。これによりモータ6は正転駆動され、カ
ード1は1対の搬送ベル) 5a、 5bに挾持されて
挿入方向(受付方向)に移送されて、読み取りヘッド9
により往路の情報読み取りが行なわれる。
FIG. 3 is a flowchart showing the operation of the control section 10. The control section 10 first waits for the card 1 to be inserted in step 21, and when the card 1 is inserted into the insertion slot 2, the control section 10 proceeds to step 22 and gives a command for normal rotation of the motor 6 to the drive circuit 11. As a result, the motor 6 is driven to rotate in the normal direction, and the card 1 is held by a pair of conveyor bells (5a, 5b) and transferred in the insertion direction (receiving direction), and the card 1 is transferred to the reading head 9.
Information on the outbound route is read by.

読み取られた情報は、ステップ23において制御部10
内の図示しないメモリに順次ストアされて行く。このス
テップ23は、次のステップ24における読み取り完了
かどうかの判断が”Yes″になるまで継続する。
The read information is sent to the control unit 10 in step 23.
The information is sequentially stored in a memory (not shown) within the memory. This step 23 continues until the next step 24 determines whether reading is complete or not and becomes "Yes".

ステップ24の判断が“Yes″となれば、続いてステ
ップ25へ進み、制御部10はドライブ回路11にモー
タ6の逆転指令を与える。これによりモータ6は逆転駆
動され、カード1は挿入逆方向〔返却方向)に移送され
て、読取りヘッド9により復路の情報読み取りが行なわ
れる。
If the determination in step 24 is "Yes", then the process proceeds to step 25, where the control section 10 gives a command to reverse the motor 6 to the drive circuit 11. As a result, the motor 6 is driven in the reverse direction, the card 1 is transported in the opposite insertion direction (return direction), and the reading head 9 reads information on the return trip.

読み取られた情報は、ステップ26において制御部10
内の上記図示しないメモリに順次ストアされて行く。こ
のステップ26は、次のステップ27における読み取り
完了かどうかの判断がYes”になるまで継続する。ス
テップ27の判断が@Yes’となれば、ステップ28
へと進み、制御部10はモータ停止指令を与えてモータ
6を停止させる。これにより、往路および復路における
カード1からの情報読み取りが終了する。
The read information is sent to the control unit 10 in step 26.
The information is sequentially stored in the memory (not shown) in the memory. This step 26 continues until the next step 27 determines whether the reading is completed or not. If the determination in step 27 becomes @Yes', step 28
Then, the control unit 10 issues a motor stop command to stop the motor 6. This completes the reading of information from the card 1 on the outbound and return trips.

続いて、ステップ29以下において、上述のようにして
読み取られた情報の合成が行なわれる。読み取られ復号
された情報は、第4図に示すように、例えば1バイト単
位に構成されており、各単位ごとに再生誤りをチェック
するためのチェックビットとしてパリティビットPが付
加されている。これにより、カードの損傷による再生誤
りの位置を、パリティミスとして正価に識別することが
可能となる。そして、パリティミスが生じたもの以降の
情報は、不正確な情報として捨ててしまう。
Subsequently, in step 29 and subsequent steps, the information read as described above is combined. As shown in FIG. 4, the read and decoded information is configured, for example, in units of one byte, and a parity bit P is added as a check bit for checking reproduction errors for each unit. This makes it possible to accurately identify the position of a playback error due to card damage as a parity error. Information after the parity error occurs is discarded as inaccurate information.

第5図(−1は、正常なカードから読み取られたカード
情報を示す説明図である。このカード情報はNバイトか
ら成り、各バイトを1単位としてそれぞれC,、C2,
・・・、CNとして示しである。
Figure 5 (-1 is an explanatory diagram showing card information read from a normal card. This card information consists of N bytes, with each byte as one unit, C, C2, C2,
..., shown as CN.

各単位C,,C2,・・、、CNは、それぞれパリティ
ピットb+7+ b27 +・・’、 BN7を含んで
いる。
Each unit C,,C2,...,CN includes a parity pit b+7+b27+...', BN7, respectively.

ここで、第5図(alのM番目(1<M<N)のハイド
CMにパリティミスが生じた場合について、第3図のス
テップ29以下を参照して説明する。
Here, the case where a parity miss occurs in the M-th (1<M<N) hide CM of FIG. 5 (al) will be described with reference to step 29 and subsequent steps in FIG. 3.

なお、以下の説明では、往路および復路の各読み取り情
報は、第5図(b)および第5図[C1に示すように、
1バイトを単位として、それぞれA1゜A2.・・・、
ANおよびB1. B2.・・−BNとして表わす。
In addition, in the following explanation, each read information of the outbound trip and the return trip is as shown in FIG. 5(b) and FIG. 5 [C1,
Each byte is A1°A2. ...,
AN and B1. B2. ... - Expressed as BN.

まず、ステップ29では、n番目の単位を示すカウント
nをn = 1とし、続いてステップ30で往路におけ
るA1データが適正か、つまりパリティミスが生じてい
ないかどうかを判定する。
First, in step 29, the count n indicating the nth unit is set to n=1, and then in step 30, it is determined whether the A1 data on the outward path is appropriate, that is, whether a parity error has occurred.

適正のときにステップ31へ進み、正価なC1情報とし
てA1を採用し、続いてステップ32で、nを1だけカ
ウントアツプしてn = 2とする。
When it is appropriate, the process proceeds to step 31, where A1 is adopted as the correct C1 information, and then, in step 32, n is counted up by 1 and n=2.

次にステップ33でデータ終了かどうかを判定し、この
場合”NO”であるのでステップ3oへ戻って、A2デ
ータが適正かどうかを判定する。
Next, in step 33, it is determined whether the data has ended, and since the answer is "NO" in this case, the process returns to step 3o, and it is determined whether the A2 data is appropriate.

以上の動作をCM−□−AM−□となるまで繰り返し、
往路におけるA1〜AM−1データを正価な01〜CM
 、情報として採用する。
Repeat the above operations until CM-□-AM-□.
A1~AM-1 data on the outbound trip is 01~CM
, adopted as information.

次のAMデータではパリティミスが生じているので、ス
テップ30の判定はNO”となって、ステップ34へと
進む。ステップ34ではn=Nとし、続いて、ステップ
35で復路におけるBNデータが適正かどうか調べる。
Since a parity error has occurred in the next AM data, the determination in step 30 is "NO" and the process proceeds to step 34. In step 34, n=N is set, and then in step 35, the BN data on the return trip is correct. Find out whether

適正のときはステップ36へ進み、このBNデータを正
価なCN情報として採用し、続いてステップ37でnを
1だけカウントダウンしてn = n −1とする。次
にステップ38でデータ終了かどうがを判定し、この場
合“NO”であるのでステップ35へ戻って、BN−1
データが適正かどうかを判定する。以上の動τ[をCM
−1−1= BM−1−+となるまで繰り返し、復路に
おけるBN’= 8M+1データを正価なCN−0M+
1データとして採用する。
If it is correct, the process proceeds to step 36, where this BN data is adopted as the correct CN information, and then, in step 37, n is counted down by 1 to make n=n-1. Next, in step 38, it is determined whether the data is finished, and in this case, the answer is "NO", so the process returns to step 35, and
Determine whether the data is appropriate. The motion τ[CM
Repeat until -1-1= BM-1-+, and convert BN'=8M+1 data on the return trip to the real price CN-0M+
Adopted as 1 data.

次のBMデータではパリティミスが生じているので、ス
テップ35での判定は“No”となって、ステップ39
へと進む。ステップ39では、上述のようにして採用し
た正価なデータを前、後から合成し、第5図(dlに示
す如く、損傷部分(CMデータ部分)以外のデータを正
価に再現する。この様にデータを合成すれば、仮にカー
ドに損傷があったとしても、1〜2バイト程度が読取不
能となるだけで済む場合が多く、この程度の読取不能で
あれば、システムとして支障のない場合が多いので有用
である。
Since a parity error occurs in the next BM data, the determination in step 35 is "No" and step 39
Proceed to. In step 39, the normal data adopted as described above is synthesized from the front and back, and as shown in FIG. If the data is combined, even if the card is damaged, it is often only 1 to 2 bytes that become unreadable, and this degree of unreadability often does not cause any problems for the system. Therefore, it is useful.

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

第1図はこの発明によるカード送り機構の説明図、第2
図はこの発明によるカードリーダのブロック図、第3図
はその動作を示すフローチャート、第4図および第5図
は読み取りデータを示す説明図である。 l・・・・・・カード    5a、5b・・・・・・
搬送ベルト6・・・・・・モータ   9・・・°パ読
み取りヘッド10・・・・・・制御部
FIG. 1 is an explanatory diagram of the card feeding mechanism according to the present invention, and FIG.
FIG. 3 is a block diagram of the card reader according to the present invention, FIG. 3 is a flowchart showing its operation, and FIGS. 4 and 5 are explanatory diagrams showing read data. l...Card 5a, 5b...
Conveyor belt 6...Motor 9...°Pa reading head 10...Control unit

Claims (2)

【特許請求の範囲】[Claims] (1) 情報を記録したカードが読み取りヘツドに対し
て相対的に往復動する装置であつて、往路および復路の
各読み取り動作で得た途中までの適正情報を前、後から
合成するよう構成したことを特徴とするカードリーダ。
(1) A device in which a card on which information is recorded reciprocates relative to a reading head, and is configured to combine the appropriate information obtained up to the middle of each reading operation on the forward and return trips from the front and back. A card reader characterized by:
(2) 前記情報は所定ビツト単位に構成されており、
かつ各単位ごとに再生誤りをチエツクするためのチエツ
クビツトを含む特許請求の範囲第1項記載のカードリー
ダ。
(2) The information is configured in predetermined bit units,
The card reader according to claim 1, further comprising a check bit for checking reproduction errors for each unit.
JP60051208A 1985-03-13 1985-03-13 Card reader Pending JPS61208582A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60051208A JPS61208582A (en) 1985-03-13 1985-03-13 Card reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60051208A JPS61208582A (en) 1985-03-13 1985-03-13 Card reader

Publications (1)

Publication Number Publication Date
JPS61208582A true JPS61208582A (en) 1986-09-16

Family

ID=12880488

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60051208A Pending JPS61208582A (en) 1985-03-13 1985-03-13 Card reader

Country Status (1)

Country Link
JP (1) JPS61208582A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009048339A (en) * 2007-08-17 2009-03-05 Takamisawa Cybernetics Co Ltd Card-shaped medium processing device and method for reading magnetic information

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56153479A (en) * 1980-04-28 1981-11-27 Nec Corp Bar-code read mechanism
JPS57164373A (en) * 1981-04-02 1982-10-08 Omron Tateisi Electronics Co Bar code reader

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56153479A (en) * 1980-04-28 1981-11-27 Nec Corp Bar-code read mechanism
JPS57164373A (en) * 1981-04-02 1982-10-08 Omron Tateisi Electronics Co Bar code reader

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009048339A (en) * 2007-08-17 2009-03-05 Takamisawa Cybernetics Co Ltd Card-shaped medium processing device and method for reading magnetic information

Similar Documents

Publication Publication Date Title
US7852599B2 (en) Apparatus, system, and method for tape drive head
US5251077A (en) Method of reading digital data on magnetic tape
US8213102B2 (en) Systems and methods for storing data to magnetic tape having damaged areas
JPH07154270A (en) Error correction circuit
JPS61208582A (en) Card reader
CA2029042A1 (en) Apparatus and method for handling card
JPS5733412A (en) Error processing method for sector type magnetic disk device
CN100489993C (en) Method for managing damage block and device thereof
JPH08180127A (en) Information reader for prepaid card
JPS5819712A (en) Data recording system
JP4151180B2 (en) Magnetic stripe data restoration method
JP5755079B2 (en) Magnetic data demodulating method and magnetic data demodulating apparatus
JP2828769B2 (en) Data recording method
JPH06139385A (en) Magnetic card reader
JPH0336681A (en) Optical card and optical card recording and reproducing device
JPH0442722B2 (en)
JP2629887B2 (en) Magnetic disk processing unit
JPH04286726A (en) Device and method for regenerating optical card
JPH04155672A (en) Reproducing method for data
JPH04289561A (en) Method and device for recording record of variable length format
JPH04344373A (en) Magnetic tape device
JPH0757399A (en) Magnetic medium reading device
JPS6163968A (en) Writing control method for data block
JPH0581756A (en) Method and device for processing magnetic card
JPS60182559A (en) Cassette type magnetic tape device