JP2005182914A - Magnetic card reader and program - Google Patents

Magnetic card reader and program Download PDF

Info

Publication number
JP2005182914A
JP2005182914A JP2003422301A JP2003422301A JP2005182914A JP 2005182914 A JP2005182914 A JP 2005182914A JP 2003422301 A JP2003422301 A JP 2003422301A JP 2003422301 A JP2003422301 A JP 2003422301A JP 2005182914 A JP2005182914 A JP 2005182914A
Authority
JP
Japan
Prior art keywords
magnetic card
magnetic
force
coercive force
track
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
JP2003422301A
Other languages
Japanese (ja)
Inventor
Shuji Yamashita
修司 山下
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2003422301A priority Critical patent/JP2005182914A/en
Publication of JP2005182914A publication Critical patent/JP2005182914A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Recording Or Reproducing By Magnetic Means (AREA)
  • Credit Cards Or The Like (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To discriminate the coercive force of a magnetic card in a magnetic card reader. <P>SOLUTION: In occurrence of reading error when reading the magnetic card by a head part 1, a CPU 6 in the magnetic reader 100 detects the traveling velocity and magnetic force of the magnetic card by each track, and discriminates the coercive force of the magnetic card based on the detected traveling velocity and magnetic force. When it is discriminated that the coercive force is insufficient, a display part 7 and a sound output part 8 inform that the magnetic card is insufficient in the coercive force and defective. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、磁気カード読取装置及びプログラムに関する。   The present invention relates to a magnetic card reader and a program.

クレジットカード、デビットカード等の磁気カードで決済を行う決済端末には、磁気カードに記録されたデータを読み取るMCR(Magnetic Card Reader;磁気カード読取装置)が搭載されている。磁気カードに記録されたデータは、磁気カード上の磁気テープから発生する磁力をMCRの磁気ヘッドで受けることによって読み取られ、発生する磁力が強いほど、読取性能が高くなる(例えば、特許文献1参照。)。また、磁気カードのスキャン速度(走行速度)が大きいほど磁気ヘッドから出力される磁力が大きくなるため、読取性能が高くなる。但し、MCRで読取動作が可能な走行速度には上限が設けられている。
特開平11−175817号公報
A payment terminal that performs payment using a magnetic card such as a credit card or a debit card is equipped with an MCR (Magnetic Card Reader) that reads data recorded on the magnetic card. Data recorded on the magnetic card is read by receiving the magnetic force generated from the magnetic tape on the magnetic card with the magnetic head of the MCR, and the stronger the generated magnetic force, the higher the reading performance (see, for example, Patent Document 1). .). Further, since the magnetic force output from the magnetic head increases as the scanning speed (running speed) of the magnetic card increases, the reading performance increases. However, an upper limit is set for the traveling speed at which the reading operation can be performed by the MCR.
Japanese Patent Laid-Open No. 11-175817

一般に、磁気カードの磁気テープが汚れていたり、傷が付いていたり、磁気テープを磁石に近付けたりした場合、磁気テープから発生する磁力が弱くなり、MCRでの読取性能が低下する。このような磁気カードをMCRで読み取ると、読取エラーが発生することがある。しかしながら、従来のMCRでは、読取エラーが発生した場合、磁気カードが不良品であっても、MCRを搭載した決済端末側に不具合が生じたと判断されることが多く、決済端末を製造したメーカー側に、読取エラーの原因の解析が強いられるという問題があった。   Generally, when the magnetic tape of the magnetic card is dirty or scratched, or when the magnetic tape is brought close to a magnet, the magnetic force generated from the magnetic tape is weakened, and the reading performance in the MCR is deteriorated. When such a magnetic card is read by MCR, a reading error may occur. However, in the conventional MCR, when a reading error occurs, even if the magnetic card is defective, it is often determined that a failure has occurred on the payment terminal side on which the MCR is mounted, and the manufacturer side that manufactured the payment terminal However, there is a problem that analysis of the cause of the reading error is forced.

本発明の課題は、磁気カード読取装置において磁気カードの保磁力を判別可能にすることである。   An object of the present invention is to make it possible to determine the coercivity of a magnetic card in a magnetic card reader.

請求項1に記載の発明は、磁気カードを読み取った際に当該磁気カードの走行速度及び磁力を検出する検出手段と、前記検出手段により検出された走行速度及び磁力に基づいて前記磁気カードの保磁力を判定する保磁力判定手段と、前記保磁力判定手段による判定結果を報知する報知手段と、を備えることを特徴としている。   According to the first aspect of the present invention, when the magnetic card is read, the detecting means for detecting the traveling speed and the magnetic force of the magnetic card, and the magnetic card is stored based on the traveling speed and the magnetic force detected by the detecting means. It is characterized by comprising coercive force determining means for determining magnetic force, and notifying means for notifying the determination result by the coercive force determining means.

請求項6に記載の発明は、コンピュータに、磁気カードを読み取った際に当該磁気カードの走行速度及び磁力を検出する機能と、前記検出された走行速度及び磁力に基づいて前記磁気カードの保磁力を判定する機能と、前記判定による判定結果を報知する機能と、を実現させるためのプログラムである。   According to a sixth aspect of the present invention, the computer detects the traveling speed and magnetic force of the magnetic card when the magnetic card is read, and the coercive force of the magnetic card based on the detected traveling speed and magnetic force. This is a program for realizing the function of determining the determination and the function of notifying the determination result of the determination.

本発明によれば、磁気カードの走行速度及び磁力に基づいて磁気カードの保磁力を判定し、判定結果を報知するようにしたことにより、従来のように、磁気カード読取装置が搭載された端末側が一方的に不良品であると判断されることがなくなり、端末側のエラー解析をしなくても済む可能性が高くなる。   According to the present invention, since the coercive force of the magnetic card is determined based on the traveling speed and magnetic force of the magnetic card and the determination result is notified, the terminal on which the magnetic card reader is mounted as in the prior art. It is not determined that the terminal is unilaterally defective, and there is a high possibility that error analysis on the terminal side is not required.

以下、図を参照して、本発明の実施形態について詳細に説明する。
まず、本実施形態における構成について説明する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
First, the configuration in the present embodiment will be described.

図1に、本発明の実施形態に係る磁気カード読取装置100の構成を示す。磁気カード読取装置100は、クレジットカード、デビットカード等の磁気カードで決済を行う決済端末に搭載され、図1に示すように、ヘッド部1、復調部2、ゲートアレイ3、電圧検出器4、電源部5、CPU(Central Processing Unit)6、表示部7、音声出力部8により構成される。   FIG. 1 shows a configuration of a magnetic card reader 100 according to an embodiment of the present invention. A magnetic card reader 100 is mounted on a payment terminal that performs payment using a magnetic card such as a credit card or a debit card. As shown in FIG. 1, a head unit 1, a demodulation unit 2, a gate array 3, a voltage detector 4, A power supply unit 5, a CPU (Central Processing Unit) 6, a display unit 7, and an audio output unit 8 are configured.

なお、本実施形態では、磁気カード読取装置100で適用されるトラック数が2トラックであるものとするが、適用されるトラック数は特に限定されない。以下では、2つのトラックをそれぞれ、トラック1、トラック2と呼ぶことにする。また、本実施形態において、磁気カードの記録方式はF2F(周波数変調方式)であるものとする。F2Fとは、同一トラックにデータとクロックを合成して記録する方式である。   In the present embodiment, the number of tracks applied by the magnetic card reader 100 is two tracks, but the number of tracks applied is not particularly limited. Hereinafter, the two tracks will be referred to as track 1 and track 2, respectively. In the present embodiment, the recording method of the magnetic card is assumed to be F2F (frequency modulation method). F2F is a method in which data and a clock are combined and recorded on the same track.

ヘッド部1は、磁気カードの2つのトラック(トラック1、トラック2)に記録されたデータを読み取るための磁気ヘッドとして、トラック1ヘッド11及びトラック2ヘッド12を備える。トラック1ヘッド11は、磁気カード上の磁気テープのトラック1に記録されたデータを読み取り、読み取りにより得られた磁気信号を電気信号(IN)に変換し、復調部2に出力する。同様に、トラック2ヘッド12は、磁気カード上の磁気テープのトラック2に記録されたデータを読み取り、読み取りにより得られた磁気信号を電気信号(IN)に変換し、復調部2に出力する。また、ヘッド部1は、磁気カードの挿入を検知するセンサ(図示略)を備え、センサにより磁気カードの挿入を検知すると、検知信号を電源部5に出力する。   The head unit 1 includes a track 1 head 11 and a track 2 head 12 as magnetic heads for reading data recorded on two tracks (track 1 and track 2) of the magnetic card. The track 1 head 11 reads the data recorded on the track 1 of the magnetic tape on the magnetic card, converts the magnetic signal obtained by the reading into an electric signal (IN), and outputs it to the demodulator 2. Similarly, the track 2 head 12 reads the data recorded on the track 2 of the magnetic tape on the magnetic card, converts the magnetic signal obtained by the reading into an electric signal (IN), and outputs it to the demodulator 2. The head unit 1 includes a sensor (not shown) that detects insertion of a magnetic card. When the sensor detects insertion of the magnetic card, the head unit 1 outputs a detection signal to the power supply unit 5.

図2及び図3に、ヘッド部1から出力される信号IN(F2F変調信号)の波形(アナログ波形)を示す。図2に示すように、磁気カードの磁力が強くなるほど、F2F変調信号(電圧)の波高値V1が高くなり(図2(a))、磁力が弱くなるほど、F2F変調信号(電圧)の波高値V2が低くなる(図2(b))。 2 and 3 show the waveform (analog waveform) of the signal IN (F2F modulation signal) output from the head unit 1. FIG. As shown in FIG. 2, the higher the magnetic force of the magnetic card, the higher the peak value V 1 of the F2F modulation signal (voltage) (FIG. 2A), and the weaker the magnetic force, the higher the wave of the F2F modulation signal (voltage). The high value V 2 becomes low (FIG. 2B).

また、磁気カードの磁力は、磁気カードのスキャン速度(走行速度)に比例する。図3に示すように、磁気カードの走行速度が大きいほど、F2F変調信号(電圧)の波高値V3が高くなり(図3(a))、磁気カードの走行速度が小さくなるほど、F2F変調信号(電圧)の波高値V4が低くなる(図3(b))。図3において、vmaxは、磁気カード読取装置100で読取動作が可能な走行速度の上限値である。 Further, the magnetic force of the magnetic card is proportional to the scanning speed (traveling speed) of the magnetic card. As shown in FIG. 3, the higher the traveling speed of the magnetic card, the higher the peak value V 3 of the F2F modulation signal (voltage) (FIG. 3A), and the smaller the traveling speed of the magnetic card, the F2F modulated signal. The peak value V 4 of (voltage) is lowered (FIG. 3B). In FIG. 3, v max is an upper limit value of the traveling speed at which the magnetic card reader 100 can perform a reading operation.

図6(a)に、ヘッド1から出力される信号IN(F2F変調信号)のタイミングチャートを示す。図6(a)に示すように、ヘッド部1で読み取られたデータに応じて出力される信号INの信号周期が異なる。   FIG. 6A shows a timing chart of the signal IN (F2F modulation signal) output from the head 1. As shown in FIG. 6A, the signal period of the signal IN output differs according to the data read by the head unit 1.

復調部2は、トラック1復調部21及びトラック2復調部22を備える。トラック1復調部21は、トラック1ヘッド11から入力されたF2F変調信号(IN)をデジタル信号に復調し、ゲートアレイ3に出力する。トラック2復調部22は、トラック2ヘッド12から入力されたF2F変調信号(IN)をデジタル信号に復調し、ゲートアレイ3に出力する。図6(b)に、デジタル信号に復調されたF2F復調信号のタイミングチャートを示す。図6(b)に示すように、F2F復調信号は、信号値(0、1)に応じて信号周期(信号幅)が異なる。   The demodulator 2 includes a track 1 demodulator 21 and a track 2 demodulator 22. The track 1 demodulator 21 demodulates the F2F modulation signal (IN) input from the track 1 head 11 into a digital signal and outputs it to the gate array 3. The track 2 demodulator 22 demodulates the F2F modulation signal (IN) input from the track 2 head 12 into a digital signal and outputs it to the gate array 3. FIG. 6B shows a timing chart of the F2F demodulated signal demodulated into the digital signal. As shown in FIG. 6B, the signal period (signal width) of the F2F demodulated signal differs according to the signal value (0, 1).

トラック1復調部21及びトラック2復調部22から出力される信号には、図1に示すようにCLS(Card Loading Signal;カード走行信号)、RCP(Reading Clock Pulse)、RDD(Reading Decode Data)の3種類がある。   As shown in FIG. 1, signals output from the track 1 demodulator 21 and the track 2 demodulator 22 include CLS (Card Loading Signal), RCP (Reading Clock Pulse), and RDD (Reading Decode Data). There are three types.

CLS信号は、F2F変調信号が予め設定された読み捨てビット分(例えば、12ビット)復調部2に入力されたらLowレベルになり、磁気カードがヘッド部1を通過している間(即ち、スキャン中)は、Lowレベルに維持される。図6(c)に、CLS信号のタイミングチャートを示す。図6(c)に示すように、磁気カードが正しくスキャンされている場合には、スキャン中(時刻T1〜T2)にCLS信号の立ち下がり及び立ち上がりは、それぞれ1回発生し、CLS信号が1回発生したことになる。磁気カードのスキャン中にスキャン動作を途中で停止させた場合など、磁気カードのスキャン動作に異常が発生した場合には、CLS信号の立ち下がり及び立ち上がりは複数回発生し、CLS信号が複数回発生したことになる。 The CLS signal becomes Low level when the F2F modulation signal is input to the demodulating unit 2 for a predetermined number of read-out bits (for example, 12 bits), and while the magnetic card passes through the head unit 1 (that is, during scanning). ) Is maintained at the Low level. FIG. 6C shows a timing chart of the CLS signal. As shown in FIG. 6C, when the magnetic card is correctly scanned, the CLS signal falls once and rises once during the scanning (time T 1 to T 2 ). Has occurred once. When an abnormality occurs in the magnetic card scanning operation, such as when the scanning operation is stopped halfway during the magnetic card scanning, the falling and rising edges of the CLS signal occur multiple times, and the CLS signal occurs multiple times. It will be done.

RCP信号は、出力データを読み込むためのタイミングパルスである。図6(d)に、RCP信号のタイミングチャートを示す。RDD信号は、磁気カードに記録されたデータを表す。図6(e)に、RDD信号のタイミングチャートを示す。   The RCP signal is a timing pulse for reading output data. FIG. 6D shows a timing chart of the RCP signal. The RDD signal represents data recorded on the magnetic card. FIG. 6E shows a timing chart of the RDD signal.

ゲートアレイ3は、復調部2から入力された信号及び電圧検出器4から入力された信号を一時的に格納するバッファとして、トラック1バッファ31及びトラック2バッファ32を備える。トラック1バッファ31は、トラック1復調部21から入力された信号及び電圧検出器4から入力されたトラック1の検出電圧値のデータを格納する。トラック2バッファ32は、トラック2復調部22から入力された信号及び電圧検出器4から入力されたトラック2の検出電圧値のデータを格納する。   The gate array 3 includes a track 1 buffer 31 and a track 2 buffer 32 as buffers for temporarily storing the signal input from the demodulator 2 and the signal input from the voltage detector 4. The track 1 buffer 31 stores the signal input from the track 1 demodulator 21 and the data of the detected voltage value of track 1 input from the voltage detector 4. The track 2 buffer 32 stores the signal input from the track 2 demodulator 22 and the data of the detected voltage value of track 2 input from the voltage detector 4.

電圧検出器4は、ヘッド部1のトラック1ヘッド11及びトラック2ヘッド12から出力された電圧(アナログ電気信号)を検出し、ゲートアレイ3に出力する。   The voltage detector 4 detects the voltage (analog electric signal) output from the track 1 head 11 and the track 2 head 12 of the head unit 1 and outputs it to the gate array 3.

電源部5は、電池又はACアダプタにより、磁気カード読取装置100の各部に電力を供給する。電源部5は、磁気カードが挿入されていない間は、OFF状態となっており、ヘッド部1から、磁気カードの挿入を通知する検知信号が入力された時にON状態となる。   The power supply unit 5 supplies power to each unit of the magnetic card reader 100 using a battery or an AC adapter. The power supply unit 5 is in an OFF state while no magnetic card is inserted, and is in an ON state when a detection signal for notifying the insertion of the magnetic card is input from the head unit 1.

CPU6は、ゲートアレイ3から出力された各トラックでの検出電圧値から、トラック毎に磁力を検出(測定)する。図4に、磁力の検出方法を示す。磁力は、検出電圧が所定の閾値を超えた時間をT1、閾値を下回った時間をT2とすると、デューティ比D=T1/T2の大きさとして表される。即ち、D=T1/T2の値が大きいほど磁力が大きいことになる。 The CPU 6 detects (measures) the magnetic force for each track from the detected voltage value for each track output from the gate array 3. FIG. 4 shows a magnetic force detection method. The magnetic force is expressed as a duty ratio D = T 1 / T 2 , where T 1 is a time when the detected voltage exceeds a predetermined threshold and T 2 is a time when the detected voltage falls below the threshold. That is, the greater the value of D = T 1 / T 2 , the greater the magnetic force.

また、CPU6は、各トラックのRCP信号及び各トラックの記録密度から、トラック毎に磁気カードの走行速度を検出(算出)する。磁気カードの走行速度は、下記の式(1)のように定義される。
走行速度=2.54÷記録密度÷クロック周期 (1)
ここで、クロック周期とは、RCP信号の周期である。記録密度は、例えば、トラックがISO1の場合は210bpi、トラックがISO2の場合は75bpiである。
Further, the CPU 6 detects (calculates) the traveling speed of the magnetic card for each track from the RCP signal of each track and the recording density of each track. The traveling speed of the magnetic card is defined as the following formula (1).
Travel speed = 2.54 ÷ recording density ÷ clock cycle (1)
Here, the clock cycle is the cycle of the RCP signal. The recording density is, for example, 210 bpi when the track is ISO1 and 75 bpi when the track is ISO2.

CPU6は、磁気カードの読取エラーが発生した場合、表示部7による表示及び/又は音声出力部8による音声出力により、ユーザに再度磁気カードのスキャン動作を促し、少なくとも2回のスキャン動作から得られる磁力(デューティ比D)及び走行速度から保磁力を判定する。   When a magnetic card reading error occurs, the CPU 6 prompts the user to scan the magnetic card again by display on the display unit 7 and / or audio output from the audio output unit 8, and is obtained from at least two scan operations. The coercive force is determined from the magnetic force (duty ratio D) and the traveling speed.

保磁力の判定は、走行速度と磁力との関係を示すグラフに基づいて行うことができる。図5に、磁気カードAと磁気カードBにおける走行速度と磁力との関係を示す。例えば、磁気カードAの1回目のスキャン動作から得られた走行速度及び磁力(デューティ比D)をそれぞれ、S1、M1とし、2回目のスキャン動作から得られた走行速度及び磁力(デューティ比D)をそれぞれ、S2、M2とすると、点(S1、M1)及び点(S2、M2)を直線で結ぶことにより、磁気カードAの保磁力を判定することができる。磁気カードBについても同様である。   The determination of the coercive force can be performed based on a graph showing the relationship between the traveling speed and the magnetic force. FIG. 5 shows the relationship between the traveling speed and the magnetic force in the magnetic card A and the magnetic card B. For example, the traveling speed and magnetic force (duty ratio D) obtained from the first scanning operation of the magnetic card A are respectively S1 and M1, and the traveling speed and magnetic force (duty ratio D) obtained from the second scanning operation. , S2 and M2, respectively, the coercivity of the magnetic card A can be determined by connecting the points (S1, M1) and (S2, M2) with straight lines. The same applies to the magnetic card B.

走行速度の最大値をvmaxとし、読み取り可能磁力をD1とし、原点と点(vmax、D1)を結ぶ直線を保磁力の判定基準ラインαとする。磁気カードAの場合、測定された磁力が判定基準ラインαで規定された磁力より大きく、走行速度を大きくすれば読み取り可能磁力D1に達するため、CPU6は、表示部7及び/又は音声出力部8を用いて、ユーザに対し、スキャン速度(走行速度)を大きくするように報知する。磁気カードBの場合、測定された磁力が判定基準ラインαで規定された磁力より小さく、どんなに走行速度を大きくしても読み取り可能磁力D1に達することができないため、CPU6は、表示部7及び/又は音声出力部8を用いて、ユーザに対し、磁気カードBの保磁力が不足しているため不良品である旨を報知する。 The maximum value of the traveling speed is v max , the readable magnetic force is D1, and the straight line connecting the origin and the point (v max , D1) is the coercive force determination reference line α. In the case of the magnetic card A, since the measured magnetic force is larger than the magnetic force defined by the determination reference line α and the traveling speed is increased, the CPU 6 reaches the readable magnetic force D1, so the CPU 6 displays the display unit 7 and / or the audio output unit 8. Is used to notify the user to increase the scan speed (running speed). In the case of the magnetic card B, the measured magnetic force is smaller than the magnetic force defined by the determination reference line α, and the readable magnetic force D1 cannot be reached no matter how fast the traveling speed is increased. Alternatively, the voice output unit 8 is used to notify the user that the magnetic card B is defective because the coercive force of the magnetic card B is insufficient.

また、CPU6は、トラック毎にCLS信号が発生した回数を測定することにより、磁気カードの走行状態の良否を判定する。1回のスキャン動作で、CLS信号の発生回数が2回以上である場合、表示部7及び/又は音声出力部8を用いて、ユーザに再度磁気カードのスキャン動作を促す。   Further, the CPU 6 determines the quality of the running state of the magnetic card by measuring the number of times the CLS signal is generated for each track. When the number of occurrences of the CLS signal is two or more in one scan operation, the display unit 7 and / or the audio output unit 8 are used to prompt the user to scan the magnetic card again.

表示部7は、LCD(Liquid Crystal Display)等の表示画面、LED(Light Emitting Diode)等から構成されるインジケータを備え、CPU6から入力される制御信号に従って、LCDでの表示処理、インジケータの点滅動作、点灯動作を行う。   The display unit 7 includes an indicator composed of a display screen such as an LCD (Liquid Crystal Display), an LED (Light Emitting Diode), and the like. In accordance with a control signal input from the CPU 6, display processing on the LCD and blinking operation of the indicator Perform the lighting operation.

音声出力部8は、CPU6から入力される制御信号に従って、指定された音声デジタル信号をアナログ信号に変換して外部に出力する。   The audio output unit 8 converts a specified audio digital signal into an analog signal according to a control signal input from the CPU 6 and outputs the analog signal to the outside.

次に、本実施形態における動作について説明する。
図7のフローチャートを参照して、磁気カード読取装置100において実行される磁気カード読取処理について説明する。なお、図7では、説明を簡略にするため、1つのトラックにおける磁気カード読取処理を示すが、図7に示す処理は、トラック毎に行われる。
Next, the operation in this embodiment will be described.
A magnetic card reading process executed in the magnetic card reader 100 will be described with reference to the flowchart of FIG. 7 shows a magnetic card reading process in one track for the sake of simplicity, the process shown in FIG. 7 is performed for each track.

磁気カードのスキャン動作が開始されると(ステップS1)、磁気カードの磁気テープに記録されたデータが読み取られ、読み取られたデータに基づいて、磁気カードの磁力が測定されるとともに(ステップS2)、走行速度が測定される(ステップS3)。   When the scanning operation of the magnetic card is started (step S1), the data recorded on the magnetic tape of the magnetic card is read, and the magnetic force of the magnetic card is measured based on the read data (step S2). The traveling speed is measured (step S3).

磁気カードのスキャン動作により読取エラーが発生しなかった場合(ステップS4;NO)、読取結果が表示部7に表示され(ステップS5)、本磁気カード読取処理が終了する。磁気カードのスキャン動作により読取エラーが発生した場合(ステップS4;YES)、1回のスキャン動作におけるCLS信号の発生回数が1回であるか否かが判定される(ステップS6)。   When no reading error occurs due to the magnetic card scanning operation (step S4; NO), the reading result is displayed on the display unit 7 (step S5), and the magnetic card reading process is terminated. When a reading error occurs due to the magnetic card scanning operation (step S4; YES), it is determined whether or not the number of CLS signals generated in one scanning operation is one (step S6).

ステップS6において、CLS信号の発生回数が2回以上であると判定された場合(ステップS6;NO)、ステップS2で測定された磁力測定値及びステップS3で測定された走行速度測定値を無効として、表示部7及び/又は音声出力部8により、再度磁気カードをスキャンするようにユーザに報知され、ステップS1に戻る。ステップS6において、CLS信号の発生回数が1回であると判定された場合(ステップS6;YES)、ステップS2で測定された磁力測定値がM1に設定され(ステップS7)、ステップS3で測定された走行速度測定値がS1に設定され(ステップS8)、表示部7及び/又は音声出力部8により、再度磁気カードをスキャンするようにユーザに報知される。   In Step S6, when it is determined that the number of occurrences of the CLS signal is 2 or more (Step S6; NO), the magnetic force measurement value measured in Step S2 and the travel speed measurement value measured in Step S3 are invalidated. The display unit 7 and / or the audio output unit 8 notify the user to scan the magnetic card again, and the process returns to step S1. If it is determined in step S6 that the number of occurrences of the CLS signal is 1 (step S6; YES), the magnetic force measurement value measured in step S2 is set to M1 (step S7), and measured in step S3. The measured travel speed value is set to S1 (step S8), and the display unit 7 and / or the audio output unit 8 notifies the user to scan the magnetic card again.

再度磁気カードのスキャンが開始されると(ステップS9)、磁気カードの磁気テープに記録されたデータが読み取られ、読み取られたデータに基づいて、磁気カードの磁力が測定されるとともに(ステップS10)、走行速度が測定される(ステップS11)。   When scanning of the magnetic card is started again (step S9), the data recorded on the magnetic tape of the magnetic card is read, and the magnetic force of the magnetic card is measured based on the read data (step S10). The traveling speed is measured (step S11).

ステップS9のスキャン動作により読取エラーが発生しなかった場合(ステップS12;NO)、読取結果が表示部7に表示され(ステップS5)、本磁気カード読取処理が終了する。ステップS9のスキャン動作により読取エラーが発生した場合(ステップS12;YES)、1回のスキャン動作におけるCLS信号の発生回数が1回であるか否かが判定される(ステップS13)。   If no reading error has occurred due to the scanning operation in step S9 (step S12; NO), the reading result is displayed on the display unit 7 (step S5), and the magnetic card reading process is terminated. When a reading error has occurred due to the scanning operation in step S9 (step S12; YES), it is determined whether or not the number of occurrences of the CLS signal in one scanning operation is one (step S13).

ステップS13において、CLS信号の発生回数が2回以上であると判定された場合(ステップS13;NO)、ステップS10で測定された磁力測定値及びステップS11で測定された走行速度測定値を無効として、表示部7及び/又は音声出力部8により、再度磁気カードをスキャンするようにユーザに報知され、ステップS1に戻る。ステップS13において、CLS信号の発生回数が1回であると判定された場合(ステップS13;YES)、ステップS10で測定された磁力測定値がM2に設定され(ステップS14)、ステップS11で測定された走行速度測定値がS2に設定される(ステップS15)。   If it is determined in step S13 that the number of occurrences of the CLS signal is two or more (step S13; NO), the magnetic force measurement value measured in step S10 and the travel speed measurement value measured in step S11 are invalidated. The display unit 7 and / or the audio output unit 8 notify the user to scan the magnetic card again, and the process returns to step S1. If it is determined in step S13 that the number of occurrences of the CLS signal is one (step S13; YES), the magnetic force measurement value measured in step S10 is set to M2 (step S14), and is measured in step S11. The measured traveling speed is set to S2 (step S15).

次いで、磁力測定値M1、M2と、走行速度測定値S1、S2のデータがあるか否かが判定される(ステップS16)。ステップS16において、データM1、M2、S1、S2がないと判定された場合(ステップS16;NO)、表示部7及び/又は音声出力部8により、再度磁気カードをスキャンするようにユーザに報知され、ステップS1に戻る。   Next, it is determined whether or not there are data of magnetic force measurement values M1 and M2 and travel speed measurement values S1 and S2 (step S16). If it is determined in step S16 that there is no data M1, M2, S1, or S2 (step S16; NO), the display unit 7 and / or the audio output unit 8 informs the user to scan the magnetic card again. Return to step S1.

ステップS16において、データM1、M2、S1、S2があると判定された場合(ステップS16;YES)、図5に示すような走行速度と磁力の関係を示すグラフが作成されることにより、磁気カードの保磁力が測定され(ステップS17)、測定された保磁力が、判定基準ラインαで規定される保磁力以上であるか否かが判定される(ステップS18)。   If it is determined in step S16 that there is data M1, M2, S1, S2 (step S16; YES), a graph showing the relationship between the running speed and the magnetic force as shown in FIG. The coercive force is measured (step S17), and it is determined whether or not the measured coercive force is equal to or greater than the coercive force defined by the determination reference line α (step S18).

ステップS18において、ステップS17で測定された保磁力が判定基準ラインαで規定される保磁力以上であると判定された場合(ステップS18;YES)、表示部7及び/又は音声出力部8により、磁気カードのスキャン速度(走行速度)を上げるようにユーザに報知され(ステップS20)、ステップS1に戻る。   In step S18, when it is determined that the coercive force measured in step S17 is equal to or greater than the coercive force defined by the determination reference line α (step S18; YES), the display unit 7 and / or the audio output unit 8 The user is notified to increase the scanning speed (traveling speed) of the magnetic card (step S20), and the process returns to step S1.

ステップS18において、ステップS17で測定された保磁力が判定基準ラインαで規定される保磁力未満であると判定された場合(ステップS18;NO)、表示部7及び/又は音声出力部8により、該当するトラックの保磁力が不足している旨が報知され(ステップS19)、本磁気カード読取処理が終了する。   In step S18, when it is determined that the coercive force measured in step S17 is less than the coercive force defined by the determination reference line α (step S18; NO), the display unit 7 and / or the audio output unit 8 The fact that the coercive force of the corresponding track is insufficient is notified (step S19), and the magnetic card reading process ends.

なお、判定基準ラインαで規定される磁力と、ステップS17で測定された保磁力との差が所定値以下である場合、磁気カードをヘッドに押し付けるようにしてスキャンすると、磁気カードの磁力が読み取り可能磁力D1に達する可能性があるため、ステップS19では、例えば、「磁気カードをトラック1のヘッドに押し付けるようにスキャンして下さい。」などのメッセージを報知して、再度、ユーザに磁気カードのスキャンを促すようにしてもよい。   If the difference between the magnetic force defined by the determination reference line α and the coercive force measured in step S17 is equal to or less than a predetermined value, scanning the magnetic card while pressing it against the head reads the magnetic force of the magnetic card. Since there is a possibility that the possible magnetic force D1 may be reached, in step S19, for example, a message such as “Please scan so as to press the magnetic card against the head of the track 1” is notified, and the magnetic card is again indicated to the user. A scan may be prompted.

以上のように、本実施形態の磁気カード読取装置100によれば、読取エラーが発生した場合、磁気カードの磁力及び走行速度に基づいて磁気カードの保磁力を判定し、判定結果を報知するようにしたことにより、従来のように、磁気カード読取装置100が搭載された決済端末側が一方的に不良品であると判断されることがなくなり、決済端末側のエラー解析をしなくても済む可能性が高くなる。   As described above, according to the magnetic card reader 100 of the present embodiment, when a reading error occurs, the coercive force of the magnetic card is determined based on the magnetic force and traveling speed of the magnetic card, and the determination result is notified. As a result, the settlement terminal on which the magnetic card reader 100 is mounted is not determined to be unilaterally defective as in the prior art, and there is no need for error analysis on the settlement terminal side. Increases nature.

なお、本実施形態における記述内容は、本発明の趣旨を逸脱しない範囲で適宜変更可能である。   Note that the description in the present embodiment can be changed as appropriate without departing from the spirit of the present invention.

本発明の実施形態に係る磁気カード読取装置の構成を示すブロック図。1 is a block diagram showing a configuration of a magnetic card reader according to an embodiment of the present invention. 磁気カード読取装置のヘッド部から出力されるF2F変調信号を示す図。The figure which shows the F2F modulation signal output from the head part of a magnetic card reader. 磁気カード読取装置のヘッド部から出力されるF2F変調信号を示す図。The figure which shows the F2F modulation signal output from the head part of a magnetic card reader. 電圧検出器による検出電圧から磁力を算出する方法を説明する図。The figure explaining the method of calculating magnetic force from the detection voltage by a voltage detector. 磁気カードの走行速度及び磁力の良否を判別するための判定基準ラインαを示す図。The figure which shows the determination reference | standard line (alpha) for determining the running speed of a magnetic card | curd, and the quality of magnetic force. 本発明の実施形態に係る磁気カード読取装置における動作を示すタイミングチャート。The timing chart which shows the operation | movement in the magnetic card reader which concerns on embodiment of this invention. 本発明の実施形態に係る磁気カード読取装置において実行される磁気カード読取処理を示すフローチャート。The flowchart which shows the magnetic card reading process performed in the magnetic card reader which concerns on embodiment of this invention.

符号の説明Explanation of symbols

1 ヘッド部
11 トラック1ヘッド
12 トラック2ヘッド
2 復調部
21 トラック1復調部
22 トラック2復調部
3 ゲートアレイ
31 トラック1バッファ
32 トラック2バッファ
4 電圧検出器
5 電源部
6 CPU
7 表示部
8 音声出力部
100 磁気カード読取装置
DESCRIPTION OF SYMBOLS 1 Head part 11 Track 1 head 12 Track 2 head 2 Demodulator 21 Track 1 demodulator 22 Track 2 demodulator 3 Gate array 31 Track 1 buffer 32 Track 2 buffer 4 Voltage detector 5 Power supply part 6 CPU
7 Display unit 8 Audio output unit 100 Magnetic card reader

Claims (6)

磁気カードを読み取った際に当該磁気カードの走行速度及び磁力を検出する検出手段と、
前記検出手段により検出された走行速度及び磁力に基づいて前記磁気カードの保磁力を判定する保磁力判定手段と、
前記保磁力判定手段による判定結果を報知する報知手段と、
を備えることを特徴とする磁気カード読取装置。
Detecting means for detecting the traveling speed and magnetic force of the magnetic card when reading the magnetic card;
A coercive force determining means for determining a coercive force of the magnetic card based on the traveling speed and the magnetic force detected by the detecting means;
Informing means for informing the determination result by the coercive force determining means,
A magnetic card reader comprising:
前記検出手段は、磁気カードの複数回の読取毎に走行速度及び磁力を検出し、
前記保磁力判定手段は、読取毎に検出された走行速度及び磁力に基づいて前記磁気カードの保磁力を判定することを特徴とする請求項1記載の磁気カード読取装置。
The detecting means detects a traveling speed and a magnetic force every time the magnetic card is read a plurality of times,
2. The magnetic card reader according to claim 1, wherein the coercive force determining means determines the coercive force of the magnetic card based on a traveling speed and a magnetic force detected for each reading.
磁気カードを読み取った際の走行状態の良否を判定する走行状態判定手段を備え、
前記走行状態判定手段により、前記磁気カードの走行状態が不可であると判定された場合、前記検出手段は、前記検出された走行速度及び磁力の測定値を無効にすることを特徴とする請求項1又は2記載の磁気カード読取装置。
A traveling state determining means for determining whether the traveling state at the time of reading the magnetic card is good,
The detection means invalidates the measured values of the detected traveling speed and magnetic force when the traveling state determining means determines that the traveling state of the magnetic card is not possible. The magnetic card reader according to 1 or 2.
前記検出手段は、磁気カードに含まれる複数のトラック毎に走行速度及び磁力を検出し、
前記保磁力判定手段は、磁気カードに含まれる複数のトラック毎に保磁力を判定し、
前記報知手段は、前記保磁力判定手段によるトラック毎の判定結果を報知することを特徴とする請求項1〜3の何れか一項に記載の磁気カード読取装置。
The detecting means detects a traveling speed and a magnetic force for each of a plurality of tracks included in the magnetic card,
The coercive force determining means determines the coercive force for each of a plurality of tracks included in the magnetic card,
The magnetic card reader according to claim 1, wherein the notification unit notifies a determination result for each track by the coercive force determination unit.
前記報知手段は、前記保磁力判定手段により、保磁力が不足しているトラックがあると判定された場合、当該トラックの保磁力が不足している旨を報知することを特徴とする請求項4記載の磁気カード読取装置。   5. The informing means, when the coercive force judging means judges that there is a track with insufficient coercive force, notifies that the coercive force of the track is insufficient. The magnetic card reader according to the description. コンピュータに、
磁気カードを読み取った際に当該磁気カードの走行速度及び磁力を検出する機能と、
前記検出された走行速度及び磁力に基づいて前記磁気カードの保磁力を判定する機能と、
前記判定による判定結果を報知する機能と、
を実現させるためのプログラム。
On the computer,
A function of detecting the traveling speed and magnetic force of the magnetic card when the magnetic card is read;
A function of determining the coercivity of the magnetic card based on the detected traveling speed and magnetic force;
A function of notifying the determination result by the determination;
A program to realize
JP2003422301A 2003-12-19 2003-12-19 Magnetic card reader and program Pending JP2005182914A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003422301A JP2005182914A (en) 2003-12-19 2003-12-19 Magnetic card reader and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003422301A JP2005182914A (en) 2003-12-19 2003-12-19 Magnetic card reader and program

Publications (1)

Publication Number Publication Date
JP2005182914A true JP2005182914A (en) 2005-07-07

Family

ID=34783219

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003422301A Pending JP2005182914A (en) 2003-12-19 2003-12-19 Magnetic card reader and program

Country Status (1)

Country Link
JP (1) JP2005182914A (en)

Similar Documents

Publication Publication Date Title
KR100325772B1 (en) Apparatus and method for detecting disk defect of a hard disk drive
JP4797136B2 (en) Magnetic data reading circuit and card processing apparatus
JP2005182914A (en) Magnetic card reader and program
JP4945786B2 (en) Magnetic information reading method
JP5273704B2 (en) Magnetic recording card encoding device
JP4335946B2 (en) Magnetic recording / reproducing device
JP3307577B2 (en) Magnetic card system
JP6613193B2 (en) Medium processing apparatus and method for controlling medium processing apparatus
JP2004288253A (en) Manual magnetic card reader device
US6263288B1 (en) Method and apparatus for indicating proximity of film scanner to CRT display monitor
JP2007311002A (en) Magnetic data-demodulating method
JP4330425B2 (en) Magnetic card issuance acceptance device
JPH103601A (en) Method for detecting magnetic stripe read-write abnormality and magnetic stripe read/write device applying it
KR100265026B1 (en) A method for detecting the filth on video heads
JP2019175525A (en) Demodulation method and demodulation device of magnetic data
JP4310313B2 (en) Recording area detection circuit
JP2004264980A (en) Medium reader and medium reading method
JPH0520732A (en) Magnetic tape device with medium discriminating function
JP2001194732A (en) Bar code reading device, bar code reading method and recording medium
JP2019102107A (en) Card reader and control method for card reader
JPH08147430A (en) Magnetic recording medium reader
JP2000348441A (en) Device for measuring jitter of magnetically recorded data
JPH0997412A (en) Deterioration detector for magnetic medium
JPS6251075A (en) Disk device
JPH04307476A (en) Magnetic tape device