JP5163633B2 - Magnetic reader, magnetic reading method and program - Google Patents

Magnetic reader, magnetic reading method and program Download PDF

Info

Publication number
JP5163633B2
JP5163633B2 JP2009298071A JP2009298071A JP5163633B2 JP 5163633 B2 JP5163633 B2 JP 5163633B2 JP 2009298071 A JP2009298071 A JP 2009298071A JP 2009298071 A JP2009298071 A JP 2009298071A JP 5163633 B2 JP5163633 B2 JP 5163633B2
Authority
JP
Japan
Prior art keywords
character
reading
magnetic
data
peak interval
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.)
Active
Application number
JP2009298071A
Other languages
Japanese (ja)
Other versions
JP2011138584A (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.)
NEC Computertechno Ltd
Original Assignee
NEC Computertechno 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 NEC Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP2009298071A priority Critical patent/JP5163633B2/en
Publication of JP2011138584A publication Critical patent/JP2011138584A/en
Application granted granted Critical
Publication of JP5163633B2 publication Critical patent/JP5163633B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Digital Magnetic Recording (AREA)

Description

本発明は、磁気読み取り装置、磁気読み取り方法およびプログラムに関する。   The present invention relates to a magnetic reading device, a magnetic reading method, and a program.

F2F(Two-Frequency-Coherent-Phase)などのFM(Frequency Modulation;周波数変調)方式で磁気媒体に記憶されたデータを磁気ヘッドが読み取って得られる電気信号から元のデータを復元する方法の1つにピークリード(Peak Read)がある。ピークリードは、読み取った電気信号のピーク間隔を検出し、検出したピーク間隔から元の信号を復元する方法で、磁気媒体の磁気が弱い場合にも有効な方法である。
しかし、一般に、磁気媒体から読み取る電気信号には、磁気ヘッド取り付け部分のメカ機構の遊び等によるピーク間隔のずれがある。このピーク間隔のずれによって、ピークリードを行う際に1ビット単位のビットずれが発生しやすい。
One of the methods for restoring the original data from the electrical signal obtained by the magnetic head reading the data stored in the magnetic medium by FM (Frequency Modulation) method such as F2F (Two-Frequency-Coherent-Phase) There is a peak read. The peak read is a method that detects the peak interval of the read electrical signal and restores the original signal from the detected peak interval, and is effective even when the magnetic medium is weak.
However, in general, an electric signal read from a magnetic medium has a peak interval shift due to play of a mechanical mechanism of a magnetic head mounting portion. Due to this shift in the peak interval, a bit shift in units of 1 bit is likely to occur when performing peak read.

図9は、一般的な磁気カード読み取り装置の磁気ヘッド駆動部の概略構成を示す構成図である。同図の、歯付きプーリ1002と歯付きベルト1003との遊びや、歯付きベルト1003と磁気ヘッド台座1005との遊びにより、ピーク間隔にずれが生じる。
ピークリードを行った際のビットずれに対して誤りを検出する方法として、実測されたピーク間隔と、規格から算出される論理インターバル時間との比較により読み取り結果の良否を判定する方法や、JIS2規格で規定される水平方向奇偶検査を用いて読み取り結果の良否を判定する方法が考えられる。
FIG. 9 is a configuration diagram showing a schematic configuration of a magnetic head driving unit of a general magnetic card reader. Due to the play between the toothed pulley 1002 and the toothed belt 1003 and the play between the toothed belt 1003 and the magnetic head base 1005 in FIG.
As a method for detecting an error with respect to a bit shift at the time of peak read, a method for determining the quality of a read result by comparing an actually measured peak interval with a logical interval time calculated from the standard, or a JIS2 standard A method for determining whether the reading result is good or not using the horizontal odd-even test defined in (1) can be considered.

しかしながら、実測されたピーク間隔と、規格から算出される論理インターバル時間との比較により読み取り結果の良否を判定する方法では、読み取りエラーを検出できるものの、誤りを訂正することが出来ず、読み取り率を向上させることは出来ない。
また、水平方向奇偶検査でも、ピーク間隔に基づいて検出した読み取りエラーを修正することはできず、この読み取りエラーに対して読み取り率を向上させることができない。
However, the method of judging the quality of the reading result by comparing the actually measured peak interval with the logical interval time calculated from the standard can detect the reading error, but cannot correct the error, and the reading rate is reduced. It cannot be improved.
Further, even in the horizontal odd-even inspection, the reading error detected based on the peak interval cannot be corrected, and the reading rate cannot be improved for this reading error.

本発明は、このような事情を考慮してなされたものであり、その目的は、ピークリードを行った際の読み取り誤りを減少させ、読み取り率を向上させることができる磁気読み取り装置を提供することにある。   The present invention has been made in consideration of such circumstances, and an object of the present invention is to provide a magnetic reading apparatus capable of reducing reading errors when performing peak reading and improving the reading rate. It is in.

の発明は上述した課題を解決するためになされたもので、本発明の一態様による磁気読み取り装置は、周波数変調方式でデータが記録された磁気記録媒体からデータを読み取る磁気読み取り装置であって、磁気ヘッドを磁気記録媒体に対して順方向および逆方向に相対移動させ、前記順方向および逆方向それぞれに磁気データを読み取って電気信号を出力する磁気ヘッド部と、前記磁気ヘッドを、前記順方向に相対移動させて読み取った磁気データの電気信号と、前記逆方向に相対移動させて読み取った磁気データの電気信号との各々についてキャラクタを生成するキャラクタデータ生成部と、前記磁気ヘッドを、前記順方向に相対移動させて読み取った前記磁気データの電気信号と、前記逆方向に相対移動させて読み取った前記磁気データの電気信号との各々について読み取りエラーの有無を判定する判定部と、前記判定部の判定結果に基づいて、前記磁気ヘッドを、読み取りエラー無しと判定した方向に相対移動させて読み取った前記磁気データの電気信号から生成されたキャラクタを出力し、いずれの方向においても読み取りエラー有りと判定したときはエラーを出力する結果出力部と、前記磁気ヘッド部から出力される電気信号のピーク間隔を検出するピーク間隔検出部と、前記ピーク間隔と磁気データの規格から定まる論理インターバル時間との比較により異常の有無を判定するピーク間隔検査部と、前記ピーク間隔からビット列のディジタルデータを生成するディジタルデータ生成部と、を具備し、前記キャラクタデータ生成部は、前記ディジタルデータからキャラクタを生成し、前記判定部は、前記ディジタルデータに対して奇偶検査を行って、前記順方向の読み取りと前記逆方向の読み取りとの各々について異常の有無を判定する奇偶検査部と、前記ディジタルデータから前記キャラクタへの変換可否に基づいて、前記順方向の読み取りと前記逆方向の読み取りとの各々について異常の有無を判定するキャラクタ検査部と、を具備し、前記結果出力部は、前記ピーク間隔検査部の判定結果と、前記奇偶検査部の判定結果と、前記キャラクタ検査部の判定結果とに基づいて、前記順方向の読み取り結果から前記キャラクタデータ生成部が生成したキャラクタ、または、前記逆方向の読み取り結果から前記キャラクタデータ生成部が生成したキャラクタ、または、エラーのいずれかを出力する、ことを特徴とする。 This invention has been made to solve the problems described above, the magnetic reader according to an aspect of the present invention is a magnetic reading device for reading data from a magnetic recording medium on which data is recorded by frequency modulation scheme The magnetic head is moved relative to the magnetic recording medium in the forward direction and the reverse direction, the magnetic head unit reads the magnetic data in the forward direction and the reverse direction, and outputs an electrical signal; A character data generating unit that generates a character for each of the electrical signal of magnetic data read by relative movement in the direction and the electrical signal of magnetic data read by relative movement in the opposite direction; and the magnetic head, The electrical signal of the magnetic data read by relative movement in the forward direction and the magnetic data read by relative movement in the reverse direction. A determination unit that determines whether or not there is a reading error for each of the electrical signals, and the magnetic data read by moving the magnetic head relative to the direction determined to have no reading error based on the determination result of the determination unit The character generated from the electrical signal is output, and when it is determined that there is a reading error in any direction, a result output unit that outputs an error and the peak interval of the electrical signal output from the magnetic head unit are detected A peak interval detection unit; a peak interval inspection unit that determines the presence or absence of an abnormality by comparing the peak interval with a logical interval time determined from a magnetic data standard; and a digital data generation unit that generates digital data of a bit string from the peak interval And the character data generator generates a character from the digital data. And the determination unit performs an odd / even test on the digital data to determine whether there is an abnormality for each of the forward reading and the backward reading, and the digital A character inspection unit that determines whether or not there is an abnormality for each of the forward reading and the reverse reading based on whether or not conversion from data to the character is possible, and the result output unit includes the peak Based on the determination result of the interval inspection unit, the determination result of the odd / even inspection unit, and the determination result of the character inspection unit, the character generated by the character data generation unit from the forward reading result, or the reverse A character generated by the character data generation unit or an error is output from a direction reading result. To do.

た、本発明の一態様による磁気読み取り方法は、周波数変調方式でデータが記録された磁気記録媒体からデータを読み取る磁気読み取り装置の磁気読み取り方法であって、磁気ヘッドを磁気記録媒体に対して順方向および逆方向に相対移動させ、前記順方向および逆方向それぞれに磁気データを読み取って電気信号を出力する読み取りステップと、前記磁気ヘッドを、前記順方向に相対移動させて読み取った磁気データの電気信号と、前記逆方向に相対移動させて読み取った磁気データの電気信号との各々についてキャラクタを生成するキャラクタデータ生成ステップと、前記磁気ヘッドを、前記順方向に相対移動させて読み取った前記磁気データの電気信号と、前記逆方向に相対移動させて読み取った前記磁気データの電気信号との各々について読み取りエラーの有無を判定する判定ステップと、前記判定ステップでの判定結果に基づいて、前記磁気ヘッドを、読み取りエラー無しと判定した方向に相対移動させて読み取った前記磁気データの電気信号から生成されたキャラクタを出力し、いずれの方向においても読み取りエラー有りと判定したときはエラーを出力する結果出力ステップと、前記読み取りステップにて出力される電気信号のピーク間隔を検出するピーク間隔検出ステップと、前記ピーク間隔と磁気データの規格から定まる論理インターバル時間との比較により異常の有無を判定するピーク間隔検査ステップと、前記ピーク間隔からビット列のディジタルデータを生成するディジタルデータ生成ステップと、を具備し、前記キャラクタデータ生成ステップでは、前記ディジタルデータからキャラクタを生成し、前記判定ステップでは、前記ディジタルデータに対して奇偶検査を行って、前記順方向の読み取りと前記逆方向の読み取りとの各々について異常の有無を判定する奇偶検査ステップと、前記ディジタルデータから前記キャラクタへの変換可否に基づいて、前記順方向の読み取りと前記逆方向の読み取りとの各々について異常の有無を判定するキャラクタ検査ステップと、を実行し、前記結果出力ステップでは、前記ピーク間隔検査ステップでの判定結果と、前記奇偶検査ステップでの判定結果と、前記キャラクタ検査ステップでの判定結果とに基づいて、前記順方向の読み取り結果から前記キャラクタデータ生成ステップにて生成したキャラクタ、または、前記逆方向の読み取り結果から前記キャラクタデータ生成ステップにて生成したキャラクタ、または、エラーのいずれかを出力する、ことを特徴とする。 Also, the magnetic reading method according to an aspect of the present invention, there is provided a magnetic read method of a magnetic reading device for reading data from a magnetic recording medium in which data in the frequency modulation method is recorded, the magnetic recording medium of the magnetic head A reading step of relatively moving in the forward direction and the reverse direction, reading the magnetic data in the forward direction and the reverse direction and outputting an electrical signal, and reading the magnetic data read by relatively moving the magnetic head in the forward direction A character data generation step for generating a character for each of the electrical signal and the electrical signal of the magnetic data read by relative movement in the reverse direction; and the magnetic data read by relative movement of the magnetic head in the forward direction Each of the electrical signal of data and the electrical signal of the magnetic data read by relative movement in the opposite direction A determination step of determining whether the read error with, based on the determination result in the determining step, generating the magnetic head, the electric signal of the magnetic data read by relatively moving in a direction determined that no reading error A result output step that outputs an error when it is determined that there is a reading error in any direction, and a peak interval detection step that detects a peak interval of the electrical signal output in the reading step; A peak interval inspection step for determining the presence or absence of abnormality by comparing the peak interval with a logical interval time determined from a magnetic data standard, and a digital data generation step for generating digital data of a bit string from the peak interval. In the character data generation step, A character is generated from the digital data, and in the determining step, an odd / even test is performed on the digital data to determine whether there is an abnormality for each of the forward reading and the backward reading. And a character inspection step for determining whether or not there is an abnormality in each of the forward reading and the backward reading based on whether or not the digital data can be converted into the character, and the result output step Then, based on the determination result in the peak interval inspection step, the determination result in the odd / even inspection step, and the determination result in the character inspection step, the character data generation step from the forward reading result The key is determined based on the generated character or the reverse reading result. Either the character generated in the character data generation step or an error is output .

た、本発明の一態様によるプログラムは、周波数変調方式でデータが記録された磁気記録媒体に対して磁気ヘッドを順方向および逆方向に相対移動させ、前記順方向および逆方向それぞれに磁気データを読み出して生成された電気信号から、コンピュータにキャラクタを生成させるプログラムであって、前記コンピュータが、前記磁気ヘッドを、前記順方向に相対移動させて読み取った磁気データの電気信号と、前記逆方向に相対移動させて読み取った磁気データの電気信号との各々についてキャラクタを生成するキャラクタデータ生成ステップと、前記コンピュータが、前記磁気ヘッドを、前記順方向に相対移動させて読み取った前記磁気データの電気信号と、前記逆方向に相対移動させて読み取った前記磁気データの電気信号との各々について読み取りエラーの有無を判定する判定ステップと、前記コンピュータが、前記判定ステップでの判定結果に基づいて、前記磁気ヘッドを、読み取りエラー無しと判定した方向に相対移動させて読み取った前記磁気データの電気信号から生成されたキャラクタを出力し、いずれの方向においても読み取りエラー有りと判定したときはエラーを出力する結果出力ステップと、前記コンピュータが、前記読み取りステップにて出力される電気信号のピーク間隔を検出するピーク間隔検出ステップと、前記コンピュータが、前記ピーク間隔と磁気データの規格から定まる論理インターバル時間との比較により異常の有無を判定するピーク間隔検査ステップと、前記コンピュータが、前記ピーク間隔からビット列のディジタルデータを生成するディジタルデータ生成ステップと、を前記コンピュータに実行させ、前記キャラクタデータ生成ステップでは、前記コンピュータに、前記ディジタルデータからキャラクタを生成させ、前記判定ステップでは、前記ディジタルデータに対して奇偶検査を行って、前記順方向の読み取りと前記逆方向の読み取りとの各々について異常の有無を判定する奇偶検査ステップと、前記ディジタルデータから前記キャラクタへの変換可否に基づいて、前記順方向の読み取りと前記逆方向の読み取りとの各々について異常の有無を判定するキャラクタ検査ステップと、を前記コンピュータに実行させ、前記結果出力ステップでは、前記コンピュータに前記ピーク間隔検査ステップでの判定結果と、前記奇偶検査ステップでの判定結果と、前記キャラクタ検査ステップでの判定結果とに基づいて、前記順方向の読み取り結果から前記キャラクタデータ生成ステップにて生成したキャラクタ、または、前記逆方向の読み取り結果から前記キャラクタデータ生成ステップにて生成したキャラクタ、または、エラーのいずれかを出力させるプログラムである。
Also, a program according to an aspect of the present invention, by relatively moving the magnetic head in the forward and backward direction with respect to the magnetic recording medium on which data is recorded by frequency modulation scheme, magnetic data to each of the forward and reverse Is a program for generating a character from an electric signal generated by reading out the electric signal, the electric signal of the magnetic data read by the computer by relatively moving the magnetic head in the forward direction, and the reverse direction A character data generation step for generating a character for each of the electrical signals of the magnetic data read relative to the electrical signal, and the electrical data of the magnetic data read by the computer by relatively moving the magnetic head in the forward direction. Each of the signal and the electric signal of the magnetic data read by relative movement in the opposite direction A determination step of determining whether the read error with the computer, on the basis of the determination result of the determination step, the magnetic head, the magnetic data read by relatively moving in a direction determined that no reading error A result output step of outputting a character generated from the electrical signal and outputting an error when it is determined that there is a reading error in any direction, and a peak interval of the electrical signal output by the computer in the reading step A peak interval detection step for detecting a peak interval, a peak interval inspection step for the computer to determine the presence or absence of an abnormality by comparing the peak interval and a logical interval time determined from a magnetic data standard, and the computer from the peak interval Generate bit string digital data Digital data generation step, and in the character data generation step, the computer generates a character from the digital data, and in the determination step, an odd / even inspection is performed on the digital data, An odd / even inspection step for determining whether there is an abnormality for each of the forward reading and the backward reading, and based on whether or not the digital data can be converted to the character, the forward reading and the backward reading A character inspection step for determining whether or not there is an abnormality for each of the reading, and in the result output step, the determination result in the peak interval inspection step and the determination in the odd / even inspection step in the computer Results and character inspection Based on the determination result in step, the character generated in the character data generation step from the reading result in the forward direction, the character generated in the character data generation step from the reading result in the reverse direction, or This is a program that outputs one of the errors .

本発明によれば、ピークリードを行った際の読み取り誤りを減少させ、読み取り率向上させることができる。   According to the present invention, it is possible to reduce reading errors when performing peak reading and improve the reading rate.

本発明の一実施形態における磁気読み取り装置の構成を示す概略ブロック図である。It is a schematic block diagram which shows the structure of the magnetic reader in one Embodiment of this invention. 同実施形態における中央演算部11の構成を示す概略ブロック図である。It is a schematic block diagram which shows the structure of the center calculating part 11 in the same embodiment. 同実施形態においてピーク間隔検出部が検出するピーク間隔がずれる例を示す図である。It is a figure which shows the example from which the peak space | interval which a peak space | interval detection part detects in the same embodiment shifts | deviates. 同実施形態においてピーク間隔検査部115が行うピーク間隔の判定基準を示す図である。It is a figure which shows the determination criterion of the peak interval which the peak interval test | inspection part 115 performs in the same embodiment. 同実施形態においてディジタルデータ生成部113が生成するディジタルデータの例を示す図である。It is a figure which shows the example of the digital data which the digital data generation part 113 produces | generates in the same embodiment. 同実施形態において奇偶検査部116が行う水平方向奇偶検査の例を示す図である。It is a figure which shows the example of the horizontal direction odd / even test which the odd / even test | inspection part 116 performs in the same embodiment. 同実施形態においてキャラクタ検査部117が行うキャラクタ検査の例を示す図である。It is a figure which shows the example of the character test | inspection which the character test | inspection part 117 performs in the embodiment. 同実施形態において磁気読み取り装置1が磁気データを読み取って、読み取り結果のキャラクタまたはエラーを出力する処理手順を示すフローチャートである。4 is a flowchart showing a processing procedure in which the magnetic reading device 1 reads magnetic data and outputs a character or error as a reading result in the embodiment. 一般的な磁気カード読み取り装置の磁気ヘッド駆動部の概略構成を示す構成図である。It is a block diagram which shows schematic structure of the magnetic head drive part of a general magnetic card reader.

以下、図面を参照して、本発明の実施の形態について説明する。
本実施形態では、磁気カードの読み取り装置に本発明を適用した場合について説明するが、本発明は磁気カードに限らず、FM方式で記録され、双方向に読み取り可能な様々な磁気記憶媒体に適用できる。
図1は、本発明の一実施形態における磁気読み取り装置の構成を示す概略ブロック図である。
同図において、磁気読み取り装置1は、中央演算部11とJIS2(「JIS2」の「2」はローマ数字大文字。以下同様。)磁気ヘッド部21とISO磁気ヘッド部31とメモリ部41とを具備する。
Embodiments of the present invention will be described below with reference to the drawings.
In the present embodiment, the case where the present invention is applied to a magnetic card reader will be described. However, the present invention is not limited to a magnetic card, and is applied to various magnetic storage media that are recorded by the FM method and can be read bidirectionally. it can.
FIG. 1 is a schematic block diagram showing the configuration of a magnetic reading apparatus according to an embodiment of the present invention.
In the figure, the magnetic reading device 1 includes a central processing unit 11, JIS 2 (“2” of “JIS 2” is a Roman numeral capital letter, the same applies hereinafter), a magnetic head unit 21, an ISO magnetic head unit 31, and a memory unit 41. To do.

JIS2磁気ヘッド部21は、磁気データを読み取って電気信号を出力する磁気ヘッドと、磁気ヘッドを磁気カードに対して順逆双方向に相対移動させる駆動機構とを具備する。JIS2磁気ヘッド部21は、JIS2規格に従って記録された磁気データを電気信号にて読み取る。
ISO磁気ヘッド部31は、JIS2磁気ヘッド部21と同様、磁気データを読み取って電気信号を出力する磁気ヘッドと、磁気ヘッドを磁気カードに対して順逆双方向に相対移動させる駆動機構とを具備する。ISO磁気ヘッド部31は、JIS1(「JIS1」の「1」はローマ数字大文字。以下同様。)規格に従って記録された磁気データを電気信号にて読み取る。なお、以下ではJIS2磁気ヘッド部21が読み取った電気信号からデータを復元する場合について説明し、ISO磁気ヘッド部31の説明は省略する。
中央演算部11は、JIS2磁気ヘッド部21やISO磁気ヘッド部31が磁気媒体から読み取った電気信号の誤り検出およびデータ復元を行う。また、中央演算部11は、JIS2磁気ヘッド部21やISO磁気ヘッド部31を制御する。中央演算部11は、磁気読み取り装置1が具備する中央演算装置(Central Processing Unit;CPU)がプログラムを実行することにより実現される。
メモリ部41は、中央演算部11が実行するプログラムを記憶する。また、中央演算部11がデータを一時保存するワーキングメモリとして機能する。メモリ部41は、磁気読み取り装置1が具備する記憶媒体上に実現される。
The JIS2 magnetic head unit 21 includes a magnetic head that reads magnetic data and outputs an electrical signal, and a drive mechanism that moves the magnetic head relative to the magnetic card in both forward and reverse directions. The JIS2 magnetic head unit 21 reads magnetic data recorded in accordance with the JIS2 standard with an electric signal.
Similar to the JIS 2 magnetic head unit 21, the ISO magnetic head unit 31 includes a magnetic head that reads magnetic data and outputs an electrical signal, and a drive mechanism that relatively moves the magnetic head in both forward and reverse directions with respect to the magnetic card. . The ISO magnetic head unit 31 reads magnetic data recorded in accordance with JIS1 (“1” of “JIS1” is a Roman numeral capital letter, the same shall apply hereinafter) with an electrical signal. In the following, a case where data is restored from an electrical signal read by the JIS 2 magnetic head unit 21 will be described, and description of the ISO magnetic head unit 31 will be omitted.
The central processing unit 11 performs error detection and data restoration of electrical signals read from the magnetic medium by the JIS 2 magnetic head unit 21 and the ISO magnetic head unit 31. The central processing unit 11 controls the JIS 2 magnetic head unit 21 and the ISO magnetic head unit 31. The central processing unit 11 is realized by a central processing unit (CPU) included in the magnetic reading device 1 executing a program.
The memory unit 41 stores a program executed by the central processing unit 11. The central processing unit 11 functions as a working memory for temporarily storing data. The memory unit 41 is realized on a storage medium included in the magnetic reading device 1.

図2は、中央演算部11の構成を示す概略ブロック図である。
同図において、中央演算部11は、読み取り結果入力部111とピーク間隔検出部112とディジタルデータ生成部113とキャラクタデータ生成部114とピーク間隔検査部115と奇偶検査部116とキャラクタ検査部117と結果出力部118とを具備する。
読み取り結果入力部111は、JIS2磁気ヘッド部21(図1)が読み取った電気信号を受け付け、ピーク間隔検出部112に出力する。
ピーク間隔検出部112は、読み取り結果入力部111から出力される、順方向の読み取り結果の電気信号と逆方向の読み取り結果の電気信号との各々からピーク位置を検出し、検出したピーク位置からピーク間隔を検出する。ピーク間隔検出部は、検出したピーク間隔をディジタルデータ生成部113とピーク間隔検査部115に出力する。
FIG. 2 is a schematic block diagram showing the configuration of the central processing unit 11.
In the figure, the central processing unit 11 includes a reading result input unit 111, a peak interval detection unit 112, a digital data generation unit 113, a character data generation unit 114, a peak interval inspection unit 115, an odd / even inspection unit 116, and a character inspection unit 117. And a result output unit 118.
The read result input unit 111 receives the electrical signal read by the JIS 2 magnetic head unit 21 (FIG. 1) and outputs it to the peak interval detection unit 112.
The peak interval detection unit 112 detects a peak position from each of the electrical signal of the forward reading result and the electrical signal of the backward reading result output from the reading result input unit 111, and the peak position is detected from the detected peak position. Detect intervals. The peak interval detection unit outputs the detected peak interval to the digital data generation unit 113 and the peak interval inspection unit 115.

ディジタルデータ生成部113は、ピーク間隔検出部112から出力される順方向のピーク間隔と逆方向のピーク間隔との各々からディジタルデータを生成する。ディジタルデータ生成部113は、生成したディジタルデータをキャラクタデータ生成部114と奇偶検査部116とに出力する。
キャラクタデータ生成部114は、ディジタルデータ生成部113から出力される順方向のディジタルデータと逆方向のディジタルデータの各々からキャラクタを生成する。キャラクタデータ生成部114は、生成したキャラクタをキャラクタ検査部117と結果出力部118とに出力する。
ピーク間隔検査部115は、ピーク間隔検出部112から出力される順方向のピーク間隔と逆方向のピーク間隔との各々を論理インターバル時間と比較して、読み取りエラーの有無を判定する。ピーク間隔検査部115は、判定結果を結果出力部118に出力する。
The digital data generation unit 113 generates digital data from each of the forward peak interval and the reverse peak interval output from the peak interval detection unit 112. The digital data generation unit 113 outputs the generated digital data to the character data generation unit 114 and the odd / even inspection unit 116.
The character data generation unit 114 generates a character from each of the forward digital data and the reverse digital data output from the digital data generation unit 113. The character data generation unit 114 outputs the generated character to the character inspection unit 117 and the result output unit 118.
The peak interval inspection unit 115 compares each of the forward peak interval and the reverse peak interval output from the peak interval detection unit 112 with the logical interval time, and determines whether there is a reading error. The peak interval inspection unit 115 outputs the determination result to the result output unit 118.

奇偶検査部116は、ディジタルデータ生成部113から出力される順方向のディジタルデータと逆方向のディジタルデータとの各々に対して水平方向奇偶検査を行い、読み取りエラーの有無を判定する。奇偶検査部116は、判定結果を結果出力部118に出力する。
キャラクタ検査部117は、キャラクタデータ生成部114から出力される順方向のキャラクタと逆方向のキャラクタとの各々に対してキャラクタ検査を行い、読み取りエラーの有無を判定する。キャラクタ検査部117は、判定結果を結果出力部118に出力する。
奇偶検査部116とキャラクタ検査部117とがそれぞれ検査部に相当し、後述するように、奇偶検査部116とキャラクタ検査部117とは、順方向の読み取り結果と逆方向の読み取り結果の各々について読み取りエラーの有無の判定結果を結果出力部118に出力し、結果出力部118は、これらの判定結果に基づいて、順方向の読み取り結果から得られるキャラクタまたは逆方向の読み取り結果から得られる読み取りデータ、あるいは、エラーを磁気読み取り装置1の外部に出力する。
なお、中央演算部11は、JIS2磁気ヘッド部21の動作やISO磁気ヘッド部31の動作を制御する磁気ヘッド部制御部など、他の機能部も含むが、図示および説明を省略する。
The odd / even test unit 116 performs a horizontal odd / even test on each of the forward digital data and the reverse digital data output from the digital data generation unit 113 to determine whether there is a reading error. The odd / even inspection unit 116 outputs the determination result to the result output unit 118.
The character inspection unit 117 performs character inspection for each of the forward and backward characters output from the character data generation unit 114 to determine whether there is a reading error. The character inspection unit 117 outputs the determination result to the result output unit 118.
The odd / even inspection unit 116 and the character inspection unit 117 correspond to inspection units, and as will be described later, the odd / even inspection unit 116 and the character inspection unit 117 read each of the reading result in the forward direction and the reading result in the reverse direction. Based on these determination results, the result output unit 118 outputs the character obtained from the forward reading result or the read data obtained from the reverse reading result, based on the determination result. Alternatively, an error is output to the outside of the magnetic reading device 1.
The central processing unit 11 includes other functional units such as a magnetic head unit control unit that controls the operation of the JIS 2 magnetic head unit 21 and the operation of the ISO magnetic head unit 31, but illustration and description thereof are omitted.

次に、磁気読み取り装置1が行うエラー検出について説明する。磁気読み取り装置1は、ピーク間隔検査と水平方向奇偶検査とキャラクタ検査とを行う。
まず、ピーク間隔検査について説明する。
図3は、ピーク間隔検出部112が検出するピーク間隔がずれる例を示す図である。
同図において、実線L3は、磁気データを読み取って得られる電気信号の理想値を示す。また、点P31〜P37は、実線L3のピーク点を示す。例えば、点P32と点P33との間のピーク間隔の理想値(論理インターバル時間)は時間t3で示される。これに対して、一般に、磁気読み取り装置は磁気ヘッド取り付け部分のメカ機構に遊があり、この遊び等により、読み取る電気信号のピーク間隔に理想値とのずれが生じる。このピーク間隔のずれは、順方向の読み取りと逆方向の読み取りとで異なることが多い。図3の例では、JIS2磁気ヘッド部21が出力する電気信号のピーク間隔は、順方向のピーク間隔が時間t1となり、理想値t3とずれている。また、逆方向のピーク間隔は時間t2となり、論理値t3とずれている。
Next, error detection performed by the magnetic reading device 1 will be described. The magnetic reading device 1 performs a peak interval inspection, a horizontal odd / even inspection, and a character inspection.
First, the peak interval inspection will be described.
FIG. 3 is a diagram illustrating an example in which the peak interval detected by the peak interval detection unit 112 is shifted.
In the figure, a solid line L3 indicates an ideal value of an electric signal obtained by reading magnetic data. Points P31 to P37 indicate peak points of the solid line L3. For example, the ideal value (logical interval time) of the peak interval between the point P32 and the point P33 is indicated by time t3. On the other hand, in general, the magnetic reading device has a play in the mechanical mechanism of the magnetic head mounting portion, and this play or the like causes a deviation from the ideal value in the peak interval of the electric signal to be read. This difference in peak interval is often different between reading in the forward direction and reading in the reverse direction. In the example of FIG. 3, the peak interval of the electrical signal output from the JIS2 magnetic head unit 21 is shifted from the ideal value t3 because the peak interval in the forward direction is time t1. Further, the peak interval in the reverse direction is time t2, which is shifted from the logical value t3.

図4は、ピーク間隔検査部115が行うピーク間隔の判定基準を示す図である。
ピーク間隔検査部115は、JIS2規格によって規定される、論理インターバル時間と規格範囲(読みとったピーク間隔と論理インターバル時間とのずれの閾値)とを、予め記憶しておく。
ピーク間隔検出部112から順方向のピーク間隔と逆方向のピーク間隔とが入力されると、ピーク間隔検査部115は、まず、順方向と逆方向との各々について、各ピーク間隔と論理インターバル時間とのずれを算出する。次に、ピーク間隔検査部115は、図4が示す基準に従って、ピーク間隔毎に読み取りエラーの有無を判定する。
FIG. 4 is a diagram illustrating a criterion for determining a peak interval performed by the peak interval inspecting unit 115.
The peak interval inspection unit 115 stores in advance a logical interval time and a standard range (threshold of deviation between the read peak interval and logical interval time) defined by the JIS2 standard.
When the forward peak interval and the reverse peak interval are input from the peak interval detection unit 112, the peak interval inspection unit 115 first sets each peak interval and logical interval time for each of the forward direction and the reverse direction. The deviation from is calculated. Next, the peak interval inspection unit 115 determines the presence or absence of a reading error for each peak interval in accordance with the criteria shown in FIG.

順方向のずれと逆方向のずれとの両方またはいずれか一方が規格範囲内にある場合、規格範囲内にあるピーク間隔は正しく検出されていると期待でき、このピーク間隔を用いて正しくデータが復元されることが期待できる。そこで、この場合、ピーク間隔検査部115は、ピーク間隔の測定結果を正常と判定する。
一方、順方向のずれと逆方向のずれとの両方が規格範囲外である場合、順方向と逆方向とのいずれの読み取りでもピーク間隔の検出に失敗しており、このピーク間隔を用いて復元されるデータは誤りを含む可能性が高い。そこで、ピーク間隔検査部115は、ピーク間隔の測定結果を異常と判定する。
ピーク間隔検査部115は、全てのピーク間隔で測定結果を正常と判定した場合は、ピーク間隔検査結果を正常と判定する。一方、いずれかのピーク間隔で測定結果を異常と判定した場合は、ピーク間隔検査部115は、ピーク間隔検査結果を異常と判定する。ピーク間隔検査部115は、ピーク間隔検査結果を結果出力部118に出力する。
このように、ピーク間隔検査部115が読み取りエラーの有無を判定することにより、読み取り誤りを減少させることができる。
If the forward and / or backward deviation is within the specification range, it can be expected that the peak interval within the specification range has been detected correctly, and the peak interval can be used to ensure that the data is correct. It can be expected to be restored. Therefore, in this case, the peak interval inspection unit 115 determines that the measurement result of the peak interval is normal.
On the other hand, if both the forward and reverse deviations are out of the standard range, the peak interval detection has failed in both the forward and reverse readings, and restoration is performed using this peak interval. Data is likely to contain errors. Therefore, the peak interval inspection unit 115 determines that the measurement result of the peak interval is abnormal.
The peak interval inspection unit 115 determines that the peak interval inspection result is normal when determining that the measurement result is normal at all peak intervals. On the other hand, when the measurement result is determined to be abnormal at any peak interval, the peak interval inspection unit 115 determines that the peak interval inspection result is abnormal. The peak interval inspection unit 115 outputs the peak interval inspection result to the result output unit 118.
In this way, the peak interval inspection unit 115 can determine whether or not there is a reading error, thereby reducing the reading error.

なお、ピーク間隔検査部115が行うピーク間隔の判定基準は、図4が示すものに限らない。例えば、順方向の全てのピーク間隔で測定結果を正常と判定した場合、または、逆方向の全てのピーク間隔で測定結果を正常と判定した場合に、ピーク間隔検査結果を正常と判定し、全てのピーク間隔が正常と判断した方向を示す情報を、結果出力部118に出力するようにしてもよい。この場合、結果出力部118は、順方向と逆方向とで生成されるキャラクタが異なる場合に、ピーク間隔検査部115から出力される方向のキャラクタを正しい読み取り結果として出力することができ、読み取り率の向上が図れる。   Note that the criterion for determining the peak interval performed by the peak interval inspecting unit 115 is not limited to that shown in FIG. For example, when the measurement results are determined to be normal at all peak intervals in the forward direction, or when the measurement results are determined to be normal at all peak intervals in the reverse direction, the peak interval inspection results are determined to be normal, all Information indicating the direction in which the peak interval is determined to be normal may be output to the result output unit 118. In this case, the result output unit 118 can output the character in the direction output from the peak interval inspection unit 115 as a correct reading result when the characters generated in the forward direction and the reverse direction are different, and the reading rate Can be improved.

次に、水平方向奇偶検査について説明する。
図5は、ディジタルデータ生成部113が生成するディジタルデータの例を示す図である。
同図の実線L51は、JIS2磁気ヘッド部21が正常に読み取りを行って出力する電気信号の例を示す。また、点P511〜P517は、ピーク間隔検出部112が実線L51の電気信号から検出するピーク点を示す。ピーク間隔検出部112は、ピーク点の時間間隔を出力する。
ディジタルデータ生成部113は、ピーク間隔検出部112から出力されるピーク間隔をデータ順に処理する。ここでいう「データ順」とは、順方向では磁気記憶媒体からデータを読み取った時間順であり、逆方向では磁気記憶媒体からデータを読み取った時間順と逆順である。ディジタルデータ生成部113は、各ピーク間隔について、1つのピーク間隔で1ビット分の時間を占める場合は「0」と判定し、2つのピーク間隔で1ビット分の時間を占める場合は「1」と判定する。
図5の実線L51の例では、ディジタルデータ生成部113は、点P511とP512とのピーク間隔と点P512とP513とのピーク間隔とを、それぞれに「0」と判定し、点P513〜P515のピーク間隔2つ分と点P515〜P517のピーク間隔2つ分とを、それぞれ「1」と判定する。その結果、ディジタルデータ生成部113は、ビット列「0011」を出力する。
Next, the horizontal odd-even inspection will be described.
FIG. 5 is a diagram illustrating an example of digital data generated by the digital data generation unit 113.
A solid line L51 in the figure shows an example of an electrical signal that the JIS2 magnetic head unit 21 normally reads and outputs. Points P511 to P517 indicate peak points detected by the peak interval detection unit 112 from the electric signal indicated by the solid line L51. The peak interval detection unit 112 outputs a time interval between peak points.
The digital data generation unit 113 processes the peak intervals output from the peak interval detection unit 112 in the order of data. The “data order” here is a time order in which data is read from the magnetic storage medium in the forward direction, and a reverse order to the time order in which data is read from the magnetic storage medium in the reverse direction. The digital data generation unit 113 determines “0” when each peak interval occupies one bit time in one peak interval, and “1” when two peak intervals occupy 1 bit time. Is determined.
In the example of the solid line L51 in FIG. 5, the digital data generation unit 113 determines that the peak interval between the points P511 and P512 and the peak interval between the points P512 and P513 are “0”, and the points P513 to P515 are determined. Two peak intervals and two peak intervals of points P515 to P517 are each determined as “1”. As a result, the digital data generation unit 113 outputs the bit string “0011”.

一方、図5の破線L52は、JIS2磁気ヘッド部21が出力する電気信号に、ヘッド取り付け部分のメカ機構の遊び等によるずれが生じた例を示す。また、点P521〜P527は、ピーク間隔検出部112が破線L52の電気信号から検出するピーク点を示す。
この場合、ディジタルデータ生成部113は、点P521とP522とのピーク間隔を「0」と判定するが、点P522〜P524のピーク間隔2つ分を「1」と誤判定する。続いて、点P524〜P526のピーク間隔を「1」と判定し、点P526とP527とのピーク間隔を「0」と誤判定する。その結果、ディジタルデータ生成部113はビット列「0110」を出力する。
On the other hand, a broken line L52 in FIG. 5 shows an example in which the electrical signal output from the JIS 2 magnetic head unit 21 is displaced due to play of the mechanical mechanism of the head mounting portion. Points P521 to P527 indicate peak points detected by the peak interval detection unit 112 from the electric signal indicated by the broken line L52.
In this case, the digital data generation unit 113 determines that the peak interval between the points P521 and P522 is “0”, but erroneously determines that the two peak intervals between the points P522 to P524 are “1”. Subsequently, the peak interval between the points P524 to P526 is determined as “1”, and the peak interval between the points P526 and P527 is erroneously determined as “0”. As a result, the digital data generation unit 113 outputs the bit string “0110”.

図6は、奇偶検査部116が行う水平方向奇偶検査の例を示す図である。
同図の実線L61は、JIS2磁気ヘッド部21が正常に読み取りを行って出力する電気信号の例を示す。また、点P611〜P623は、ピーク間隔検出部112が実線L51の電気信号から検出するピーク点を示す。ディジタルデータ生成部113は、これらのピーク点のピーク間隔から、ビット列「00110011」を生成する。
奇偶検査部116は、ディジタルデータ生成部113から出力されるビット列を4ビット毎に1ブロックとして、ブロック1「0011」とブロック2「0011」とについて水平方向奇偶検査を行う。その結果、奇偶検査部116は、パリティ値「0000」を算出して奇偶検査結果を正常と判定する。
FIG. 6 is a diagram illustrating an example of a horizontal odd / even inspection performed by the odd / even inspection unit 116.
A solid line L61 in the figure shows an example of an electrical signal that the JIS2 magnetic head unit 21 normally reads and outputs. Points P611 to P623 indicate peak points detected by the peak interval detection unit 112 from the electric signal indicated by the solid line L51. The digital data generation unit 113 generates a bit string “00110011” from the peak intervals of these peak points.
The odd / even test unit 116 performs the horizontal odd / even test on the block 1 “0011” and the block 2 “0011” with the bit string output from the digital data generation unit 113 as one block every 4 bits. As a result, the odd / even test unit 116 calculates the parity value “0000” and determines that the odd / even test result is normal.

奇偶検査部116は、順方向のビット列と逆方向のビット列との各々について水平方向奇偶検査を行い、各方向について水平方向奇偶検査結果を結果出力部118に出力する。このように、奇遇検査部116が、順方向の読み取り結果と逆方向の読み取り結果との各々に対して水平方向奇偶検査結果を行い、エラーなしと判定した方向の読み取り結果から生成したキャラクタコードを結果出力部118が出力することにより、片方向で読み取りを行う場合よりも読み取り率を向上させることができる。   The odd / even test unit 116 performs a horizontal odd / even test for each of the forward bit sequence and the reverse bit sequence, and outputs the horizontal odd / even test result to the result output unit 118 for each direction. As described above, the odd-even inspection unit 116 performs the horizontal odd-even inspection result for each of the forward reading result and the backward reading result, and generates the character code generated from the reading result in the direction determined to have no error. By outputting the result output unit 118, the reading rate can be improved as compared with the case of reading in one direction.

また、磁気読み取り装置1は、読み取りエラー検出率を向上させるために、水平方向奇偶検査と合わせてピーク間隔検査やキャラクタ検査部を行う。
図6の破線L63は、JIS2磁気ヘッド部21が出力する電気信号にずれが生じた例を示す。また、点P631〜P643は、ピーク間隔検出部112が破線L63の電気信号から検出するピーク点を示す。この場合、ディジタルデータ生成部113は、ビット列「01100110」を生成する。このビット列は、点P632〜P637で生じたビットずれにより、ブロック1の2ビット目の値と4ビット目の値とを誤って生成している。また、点P638〜P643で生じたビットずれにより、ブロック2でも2ビット目の値と4ビット目の値とを誤って生成している。
これにより、奇偶検査部116は、ブロック1「0110」とブロック2「0110」とについて水平方向奇偶検査を行い、パリティ値「0000」を算出して奇偶検査結果を正常と判定する。
このように、ビット列に誤りが含まれていても水平方向奇偶検査で誤りを検出できない可能性がある。そこで、磁気読み取り装置1は、水平方向奇偶検査の他にピーク間隔検査やキャラクタ検査を行って、エラー検出の精度を高める。
Further, the magnetic reading apparatus 1 performs a peak interval inspection and a character inspection unit in combination with the horizontal odd / even inspection in order to improve the reading error detection rate.
A broken line L63 in FIG. 6 shows an example in which a deviation occurs in the electrical signal output from the JIS 2 magnetic head unit 21. Points P631 to P643 indicate peak points detected by the peak interval detection unit 112 from the electric signal indicated by the broken line L63. In this case, the digital data generation unit 113 generates a bit string “01100110”. In this bit string, the value of the second bit and the value of the fourth bit of block 1 are erroneously generated due to the bit shift occurring at points P632 to P637. Also, due to the bit shift occurring at points P638 to P643, the value of the second bit and the value of the fourth bit are erroneously generated in block 2 as well.
As a result, the odd / even test unit 116 performs the horizontal odd / even test on the block 1 “0110” and the block 2 “0110”, calculates the parity value “0000”, and determines that the odd / even test result is normal.
As described above, there is a possibility that an error cannot be detected by the horizontal odd-even test even if the bit string includes an error. Therefore, the magnetic reading device 1 performs peak interval inspection and character inspection in addition to the horizontal odd-even inspection to improve the accuracy of error detection.

次にキャラクタ検査について説明する。図7は、キャラクタ検査部117が行うキャラクタ検査の例を示す図である。
同図において、実線L7は、JIS2磁気ヘッド部21が順方向の読み取りで読み取った電気信号の例を示す。また、点P71〜P77は、実線L7のピーク点を示す。
キャラクタデータ生成部114は、ディジタルデータ生成部113から出力されるビット列から、例えば、数値のキャラクタ「03H」を生成する。
このように、ディジタルデータ生成部113が順方向の読み取り結果から生成したビット列に対応するキャラクタが存在し、キャラクタデータ生成部114がキャラクタを生成できた場合、キャラクタ検査部117は、順方向の読み取り結果について、キャラクタ検査結果を正常と判定する。一方、キャラクタデータ生成部114がキャラクタを生成できなかった場合、キャラクタ検査部117は、順方向の読み取り結果について、キャラクタ検査結果を異常と判定する。
同様に、ディジタルデータ生成部113が逆方向の読み取り結果から生成したビット列に対応するキャラクタが存在し、キャラクタデータ生成部114がキャラクタを生成できた場合、キャラクタ検査部117は、逆方向の読み取り結果について、キャラクタ検査結果を正常と判定する。一方、キャラクタデータ生成部114がキャラクタを生成できなかった場合、キャラクタ検査部117は、逆方向の読み取り結果について、キャラクタ検査結果を異常と判定する。
このように、キャラクタ判定部が、順方向の読み取り結果と逆方向の読み取り結果との各々についてビット列に対応するキャラクタが存在するか否かを判定し、存在すると判定した方向の読み取り結果から生成したキャラクタコードを結果出力部118が出力することにより、片方向で読み取りを行う場合よりも読み取り率を向上させることができる。
Next, character inspection will be described. FIG. 7 is a diagram illustrating an example of character inspection performed by the character inspection unit 117.
In the figure, a solid line L7 shows an example of an electric signal read by the JIS 2 magnetic head unit 21 by reading in the forward direction. Points P71 to P77 indicate peak points of the solid line L7.
The character data generation unit 114 generates, for example, a numerical character “03H” from the bit string output from the digital data generation unit 113.
As described above, when there is a character corresponding to the bit string generated by the digital data generation unit 113 from the forward reading result and the character data generation unit 114 can generate the character, the character inspection unit 117 reads the forward reading. Regarding the result, the character inspection result is determined to be normal. On the other hand, when the character data generation unit 114 cannot generate a character, the character inspection unit 117 determines that the character inspection result is abnormal for the forward reading result.
Similarly, when there is a character corresponding to the bit string generated by the digital data generation unit 113 from the reverse reading result and the character data generation unit 114 can generate the character, the character inspection unit 117 reads the reverse reading result. The character inspection result is determined to be normal. On the other hand, when the character data generation unit 114 cannot generate a character, the character inspection unit 117 determines that the character inspection result is abnormal for the reading result in the reverse direction.
In this way, the character determination unit determines whether there is a character corresponding to the bit string for each of the forward direction reading result and the backward direction reading result, and generated from the reading result in the direction determined to exist. By outputting the character code by the result output unit 118, the reading rate can be improved as compared with the case of reading in one direction.

なお、キャラクタ検査部117が行うキャラクタ検査の方法はこれに限らない。例えば、順方向の読み取り結果に対してキャラクタデータ生成部114が生成するキャラクタと、逆方向の読み取り結果に対してキャラクタデータ生成部114が生成するキャラクタとが一致する場合は、キャラクタ検査結果を正常と判定し、キャラクタデータ生成部114が生成するキャラクタが読み取り方向により異なる場合や、いずれかの方向の読み取り結果からキャラクタが生成できない場合は、キャラクタ検査結果を異常と判定するようにしてもよい。図7の例の場合、キャラクタ生成部114が、順方向の読み取り結果から生成するキャラクタと、逆方向の読み取り結果から生成するキャラクタとは、共に「03H」なので、キャラクタ検査部117は、キャラクタ検査結果を正常と判定する。
このように、順方向の読み取り結果から生成されるキャラクタと逆方向の読み取り結果から生成されるキャラクタとの同一性を判定することにより、読み取り誤りをさらに減少させることができる。
Note that the character inspection method performed by the character inspection unit 117 is not limited to this. For example, if the character generated by the character data generation unit 114 for the forward reading result matches the character generated by the character data generation unit 114 for the reverse reading result, the character inspection result is normal. If the character generated by the character data generation unit 114 differs depending on the reading direction, or if the character cannot be generated from the reading result in any direction, the character inspection result may be determined to be abnormal. In the case of the example in FIG. 7, since the character generated by the character generation unit 114 from the reading result in the forward direction and the character generated from the reading result in the reverse direction are both “03H”, the character inspection unit 117 performs the character inspection. The result is determined to be normal.
As described above, it is possible to further reduce reading errors by determining the identity between the character generated from the forward reading result and the character generated from the backward reading result.

次に、磁気読み取り装置1の動作について説明する。
図8は、磁気読み取り装置1が磁気データを読み取って、読み取り結果のキャラクタまたはエラーを出力する処理手順を示すフローチャートである。磁気読み取り装置1は磁気カードの挿入などにより読み取り処理開始を指示されると、当該処理を開始する。
ステップS1において、JIS2磁気ヘッド部21は、順方向の読み取りを行って、磁気カードに記録された磁気データを電気信号にて読み取る。JIS2磁気ヘッド部21は読み取った電気信号を、読み取り結果入力部111に出力する。
ステップS1において、JIS2磁気ヘッド部21は、逆方向の読み取りを行って、磁気カードに記録された磁気データを電気信号にて読み取る。JIS2磁気ヘッド部21は読み取った電気信号を、読み取り結果入力部111に出力する。
Next, the operation of the magnetic reading device 1 will be described.
FIG. 8 is a flowchart showing a processing procedure in which the magnetic reading device 1 reads magnetic data and outputs a character or error as a reading result. When the magnetic reading device 1 is instructed to start a reading process by inserting a magnetic card or the like, it starts the process.
In step S1, the JIS2 magnetic head unit 21 performs forward reading and reads magnetic data recorded on the magnetic card with an electric signal. The JIS 2 magnetic head unit 21 outputs the read electrical signal to the read result input unit 111.
In step S1, the JIS2 magnetic head unit 21 performs reading in the reverse direction, and reads magnetic data recorded on the magnetic card with an electric signal. The JIS 2 magnetic head unit 21 outputs the read electrical signal to the read result input unit 111.

ステップS3において、ピーク間隔検出部112は、読み取り結果入力部111が入力を受けた、順方向の読み取り結果の電気信号と逆方向の読み取り結果の電気信号との各々からピーク位置を検出し、検出したピーク位置からピーク間隔を検出する。ピーク間隔検出部は、検出したピーク間隔をディジタルデータ生成部113とピーク間隔検査部115に出力する。また、ピーク間隔検査部115は、ピーク間隔検出部112から出力される順方向のピーク間隔と逆方向のピーク間隔との各々を論理インターバル時間と比較し、ピーク間隔と論理インターバル時間との差が規格範囲内にあるか否かに基づいて、読み取りエラーの有無を判定する。
ステップS4において、ステップS3の判定でピーク間隔検出部112が何れの方向の読み取り結果についても異常ありと判定した場合(ステップS4:YES)はステップS21に進み、何れかの方向の読み取り結果について異常なしと判定した場合(ステップS4:NO)はステップS5に進む。
In step S3, the peak interval detection unit 112 detects the peak position from each of the electrical signal of the forward reading result and the electrical signal of the backward reading result received by the reading result input unit 111, and detects the peak position. The peak interval is detected from the peak position. The peak interval detection unit outputs the detected peak interval to the digital data generation unit 113 and the peak interval inspection unit 115. The peak interval inspection unit 115 compares each of the forward peak interval and the reverse peak interval output from the peak interval detection unit 112 with the logical interval time, and the difference between the peak interval and the logical interval time is determined. Whether or not there is a reading error is determined based on whether or not it is within the standard range.
In step S4, if the peak interval detection unit 112 determines in step S3 that there is an abnormality in the reading result in any direction (step S4: YES), the process proceeds to step S21, and the reading result in any direction is abnormal. If it is determined that there is none (step S4: NO), the process proceeds to step S5.

ステップS5において、ディジタルデータ生成部113は、ピーク間隔検出部112から出力される順方向のピーク間隔と逆方向のピーク間隔との各々からディジタルデータを生成する。ディジタルデータ生成部113は、生成したディジタルデータをキャラクタデータ生成部114と奇偶検査部116とに出力する。
ステップS6において、奇偶検査部116は、ディジタルデータ生成部113から出力される順方向のディジタルデータと逆方向のディジタルデータとの各々に対して水平方向奇偶検査を行い、読み取りエラーの有無を判定する。
ステップS7において、ステップS6の判定で奇偶検査部116が何れの方向の読み取り結果から生成されたディジタルデータについても異常ありと判定した場合(ステップS7:YES)はステップS21に進み、何れかの方向の読み取り結果から生成されたディジタルデータについて異常なしと判定した場合(ステップS7:NO)はステップS8に進む。
In step S <b> 5, the digital data generation unit 113 generates digital data from each of the forward peak interval and the reverse peak interval output from the peak interval detection unit 112. The digital data generation unit 113 outputs the generated digital data to the character data generation unit 114 and the odd / even inspection unit 116.
In step S6, the odd / even test unit 116 performs a horizontal odd / even test on each of the forward digital data and the reverse digital data output from the digital data generation unit 113 to determine whether there is a reading error. .
In step S7, when the odd / even inspection unit 116 determines in step S6 that the digital data generated from the reading result in any direction is abnormal (step S7: YES), the process proceeds to step S21, and any direction is determined. If it is determined that there is no abnormality in the digital data generated from the reading result (No in step S7), the process proceeds to step S8.

ステップS8において、キャラクタデータ生成部114は、ディジタルデータ生成部113から出力される順方向のディジタルデータと逆方向のディジタルデータの各々からキャラクタを生成する。キャラクタデータ生成部114は、生成したキャラクタをキャラクタ検査部117と結果出力部118とに出力する。また、キャラクタ検査部117は、キャラクタデータ生成部114から出力される順方向のキャラクタと逆方向のキャラクタとの各々に対してキャラクタ生成可否を判定するキャラクタ検査を行い、読み取りエラーの有無を判定する。
ステップS9において、ステップS8でキャラクタ検査部117が何れの方向の読み取り結果からもキャラクタを生成不可と判定した場合(ステップS9:YES)はステップS21に進み、何れかの方向の読み取り結果からキャラクタを生成可能と判定した場合(ステップS9:NO)はステップS10に進む。
In step S8, the character data generation unit 114 generates a character from each of the forward digital data and the reverse digital data output from the digital data generation unit 113. The character data generation unit 114 outputs the generated character to the character inspection unit 117 and the result output unit 118. In addition, the character inspection unit 117 performs character inspection for determining whether or not to generate a character for each of the forward direction character and the reverse direction character output from the character data generation unit 114, and determines whether or not there is a reading error. .
In step S9, if the character inspection unit 117 determines in step S8 that a character cannot be generated from the reading result in any direction (step S9: YES), the process proceeds to step S21, and the character is detected from the reading result in any direction. If it is determined that it can be generated (step S9: NO), the process proceeds to step S10.

ステップS10において、結果出力部118は、キャラクタデータ生成部114から出力されるキャラクタのうち、奇偶検査部116が異常なしと判定し、かつ、キャラクタ検査部117がキャラクタを生成可能と判定した方向の読み取り結果から生成された、いずれかのキャラクタを磁気読み取り装置1の外部に出力する。その後、読み取り結果のキャラクタまたはエラーを出力する処理を終了する。
ステップS21において、結果出力部118は、読み取り結果としてエラーを磁気読み取り装置1の外部に出力する。その後、読み取り結果のキャラクタまたはエラーを出力する処理を終了する。
なお、磁気読み取り装置1が行う処理手順は図8が示すものに限らない。例えば、磁気読み取り装置1が、ステップS3のピーク間隔検査とステップS6の奇偶検査とステップS8のキャラクタ検査とを並列に実行するようにしてもよい。あるいは、ディジタルデータ生成部113がステップS5で生成するビット列に基づいて、ピーク間隔検査部115がJIS2磁気ヘッド部21から出力される電気信号を4ビット分のブロック毎に分割し、ブロック毎にステップS3のピーク間隔検査を行うようにしてもよい。
In step S10, the result output unit 118 determines that, out of the characters output from the character data generation unit 114, the odd / even inspection unit 116 determines that there is no abnormality, and the character inspection unit 117 determines that the character can be generated. Any character generated from the reading result is output to the outside of the magnetic reading device 1. Thereafter, the process of outputting the character or error of the reading result is terminated.
In step S <b> 21, the result output unit 118 outputs an error as a reading result to the outside of the magnetic reading apparatus 1. Thereafter, the process of outputting the character or error of the reading result is terminated.
The processing procedure performed by the magnetic reading device 1 is not limited to that shown in FIG. For example, the magnetic reading device 1 may execute the peak interval inspection in step S3, the odd / even inspection in step S6, and the character inspection in step S8 in parallel. Alternatively, based on the bit string generated by the digital data generation unit 113 in step S5, the peak interval inspection unit 115 divides the electric signal output from the JIS2 magnetic head unit 21 into blocks of 4 bits, and the step is performed for each block. You may make it perform the peak space | interval test | inspection of S3.

以上のように、磁気読み取り装置1は、順方向の読み取りと逆方向の読み取りとの各々についてピーク間隔検査と水平方向奇偶検査とキャラクタ検査とを行うので、順方向の読み取りと逆方向の読み取りとのどちらか一方についてのみ誤りを検出した場合に、正常と判定した方向の読み取り結果を用いることにより、読み取り誤りを低減させ、読み取り率を高めることができる。また、順方向の読み取りでの結果と逆方向の読み取りでの結果とを比較することにより、誤り検出率を高めることができる。   As described above, the magnetic reading device 1 performs the peak interval inspection, the horizontal odd-even inspection, and the character inspection for each of the forward reading and the backward reading, so that the forward reading and the backward reading are performed. When an error is detected for only one of these, the reading result in the direction determined to be normal can be used to reduce reading errors and increase the reading rate. Further, the error detection rate can be increased by comparing the result of the forward reading and the result of the backward reading.

なお、中央演算部11の全部または一部の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより各部の処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。
また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。
また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含むものとする。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであっても良い。
A program for realizing all or part of the functions of the central processing unit 11 is recorded on a computer-readable recording medium, and the program recorded on the recording medium is read into a computer system and executed. You may perform the process of each part. Here, the “computer system” includes an OS and hardware such as peripheral devices.
Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used.
The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Furthermore, the “computer-readable recording medium” dynamically holds a program for a short time like a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. In this case, a volatile memory in a computer system serving as a server or a client in that case, and a program that holds a program for a certain period of time are also included. The program may be a program for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in a computer system.

以上、本発明の実施形態を図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計変更等も含まれる。   The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes design changes and the like without departing from the gist of the present invention.

本発明は、磁気データを読み取った電気信号のピーク間隔に基づいてデータを復元する磁気読み取り装置、磁気読み取り方法およびプログラムに用いて好適である。例えばATM(Automated Teller Machine)等、磁気カードからデータを読み取る装置に用いることができる。   The present invention is suitable for use in a magnetic reading apparatus, a magnetic reading method, and a program for restoring data based on the peak interval of an electrical signal read from magnetic data. For example, it can be used in an apparatus that reads data from a magnetic card, such as ATM (Automated Teller Machine).

1 磁気読み取り装置
11 中央演算部
21 JIS2磁気ヘッド部
31 ISO磁気ヘッド部
41 メモリ部
111 読み取り結果入力部
112 ピーク間隔検出部
113 ディジタルデータ生成部
114 キャラクタデータ生成部
115 ピーク間隔検査部
116 奇偶検査部
117 キャラクタ検査部
118 結果出力部
DESCRIPTION OF SYMBOLS 1 Magnetic reader 11 Central processing part 21 JIS2 Magnetic head part 31 ISO magnetic head part 41 Memory part 111 Reading result input part 112 Peak interval detection part 113 Digital data generation part 114 Character data generation part 115 Peak interval inspection part 116 Odd / even inspection part 117 Character inspection unit 118 Result output unit

Claims (3)

周波数変調方式でデータが記録された磁気記録媒体からデータを読み取る磁気読み取り装置であって、
磁気ヘッドを磁気記録媒体に対して順方向および逆方向に相対移動させ、前記順方向および逆方向それぞれに磁気データを読み取って電気信号を出力する磁気ヘッド部と、
前記磁気ヘッドを、前記順方向に相対移動させて読み取った磁気データの電気信号と、前記逆方向に相対移動させて読み取った磁気データの電気信号との各々についてキャラクタを生成するキャラクタデータ生成部と、
前記磁気ヘッドを、前記順方向に相対移動させて読み取った前記磁気データの電気信号と、前記逆方向に相対移動させて読み取った前記磁気データの電気信号との各々について読み取りエラーの有無を判定する判定部と、
前記判定部の判定結果に基づいて、前記磁気ヘッドを、読み取りエラー無しと判定した方向に相対移動させて読み取った前記磁気データの電気信号から生成されたキャラクタを出力し、いずれの方向においても読み取りエラー有りと判定したときはエラーを出力する結果出力部と、
前記磁気ヘッド部から出力される電気信号のピーク間隔を検出するピーク間隔検出部と、
前記ピーク間隔と磁気データの規格から定まる論理インターバル時間との比較により異常の有無を判定するピーク間隔検査部と、
前記ピーク間隔からビット列のディジタルデータを生成するディジタルデータ生成部と、
を具備し、
前記キャラクタデータ生成部は、前記ディジタルデータからキャラクタを生成し、
前記判定部は、
前記ディジタルデータに対して奇偶検査を行って、前記順方向の読み取りと前記逆方向の読み取りとの各々について異常の有無を判定する奇偶検査部と、
前記ディジタルデータから前記キャラクタへの変換可否に基づいて、前記順方向の読み取りと前記逆方向の読み取りとの各々について異常の有無を判定するキャラクタ検査部と、
を具備し、
前記結果出力部は、前記ピーク間隔検査部の判定結果と、前記奇偶検査部の判定結果と、前記キャラクタ検査部の判定結果とに基づいて、前記順方向の読み取り結果から前記キャラクタデータ生成部が生成したキャラクタ、または、前記逆方向の読み取り結果から前記キャラクタデータ生成部が生成したキャラクタ、または、エラーのいずれかを出力する、
ことを特徴とする磁気読み取り装置。
A magnetic reading device for reading data from a magnetic recording medium on which data is recorded by a frequency modulation method,
A magnetic head for moving the magnetic head relative to the magnetic recording medium in the forward and reverse directions, reading magnetic data in each of the forward and reverse directions and outputting an electrical signal;
A character data generator for generating a character for each of the electrical signal of magnetic data read by moving the magnetic head relative to the forward direction and the electrical signal of magnetic data read by moving the magnetic head relative to the reverse direction; ,
Whether or not there is a reading error is determined for each of the magnetic data electrical signals read by moving the magnetic head relative to the forward direction and the magnetic data electrical signals read by moving the magnetic head relative to the reverse direction. A determination unit;
Based on the determination result of the determination unit, the character generated from the electrical signal of the magnetic data read by moving the magnetic head relative to the direction determined as having no reading error is output, and the character is read in any direction. When it is determined that there is an error, a result output unit that outputs an error;
A peak interval detector for detecting a peak interval of an electrical signal output from the magnetic head unit;
A peak interval inspection unit that determines the presence or absence of an abnormality by comparing the peak interval with a logical interval time determined from the standard of magnetic data;
A digital data generator for generating digital data of a bit string from the peak interval;
Comprising
The character data generation unit generates a character from the digital data,
The determination unit
An odd / even test unit that performs an odd / even test on the digital data and determines whether or not there is an abnormality for each of the forward reading and the backward reading;
A character inspection unit that determines whether or not there is an abnormality for each of the forward reading and the backward reading based on whether or not the digital data can be converted into the character;
Comprising
Based on the determination result of the peak interval inspection unit, the determination result of the odd / even inspection unit, and the determination result of the character inspection unit, the result output unit is configured so that the character data generation unit Output either the generated character, the character generated by the character data generation unit from the reading result in the reverse direction, or an error.
A magnetic reader characterized by that.
周波数変調方式でデータが記録された磁気記録媒体からデータを読み取る磁気読み取り装置の磁気読み取り方法であって、
磁気ヘッドを磁気記録媒体に対して順方向および逆方向に相対移動させ、前記順方向および逆方向それぞれに磁気データを読み取って電気信号を出力する読み取りステップと、
前記磁気ヘッドを、前記順方向に相対移動させて読み取った磁気データの電気信号と、前記逆方向に相対移動させて読み取った磁気データの電気信号との各々についてキャラクタを生成するキャラクタデータ生成ステップと、
前記磁気ヘッドを、前記順方向に相対移動させて読み取った前記磁気データの電気信号と、前記逆方向に相対移動させて読み取った前記磁気データの電気信号との各々について読み取りエラーの有無を判定する判定ステップと、
前記判定ステップでの判定結果に基づいて、前記磁気ヘッドを、読み取りエラー無しと判定した方向に相対移動させて読み取った前記磁気データの電気信号から生成されたキャラクタを出力し、いずれの方向においても読み取りエラー有りと判定したときはエラーを出力する結果出力ステップと、
前記読み取りステップにて出力される電気信号のピーク間隔を検出するピーク間隔検出ステップと、
前記ピーク間隔と磁気データの規格から定まる論理インターバル時間との比較により異常の有無を判定するピーク間隔検査ステップと、
前記ピーク間隔からビット列のディジタルデータを生成するディジタルデータ生成ステップと、
を具備し、
前記キャラクタデータ生成ステップでは、前記ディジタルデータからキャラクタを生成し、
前記判定ステップでは、
前記ディジタルデータに対して奇偶検査を行って、前記順方向の読み取りと前記逆方向の読み取りとの各々について異常の有無を判定する奇偶検査ステップと、
前記ディジタルデータから前記キャラクタへの変換可否に基づいて、前記順方向の読み取りと前記逆方向の読み取りとの各々について異常の有無を判定するキャラクタ検査ステップと、
を実行し、
前記結果出力ステップでは、前記ピーク間隔検査ステップでの判定結果と、前記奇偶検査ステップでの判定結果と、前記キャラクタ検査ステップでの判定結果とに基づいて、前記順方向の読み取り結果から前記キャラクタデータ生成ステップにて生成したキャラクタ、または、前記逆方向の読み取り結果から前記キャラクタデータ生成ステップにて生成したキャラクタ、または、エラーのいずれかを出力する、
ことを特徴とする磁気読み取り方法。
A magnetic reading method of a magnetic reading device for reading data from a magnetic recording medium on which data is recorded by a frequency modulation method,
A reading step of moving a magnetic head relative to a magnetic recording medium in a forward direction and a reverse direction, reading magnetic data in each of the forward direction and the reverse direction, and outputting an electrical signal;
A character data generation step of generating a character for each of the electrical signal of magnetic data read by relative movement of the magnetic head in the forward direction and the electrical signal of magnetic data read by relative movement in the reverse direction; ,
Whether or not there is a reading error is determined for each of the magnetic data electrical signals read by moving the magnetic head relative to the forward direction and the magnetic data electrical signals read by moving the magnetic head relative to the reverse direction. A determination step;
Based on the determination result in the determination step, the magnetic head is relatively moved in the direction determined as having no reading error, and a character generated from the electrical signal of the magnetic data read is output in any direction. A result output step for outputting an error when it is determined that there is a reading error;
A peak interval detection step of detecting a peak interval of the electrical signal output in the reading step;
A peak interval inspection step for determining the presence or absence of abnormality by comparing the peak interval with a logical interval time determined from the standard of magnetic data;
A digital data generation step of generating digital data of a bit string from the peak interval;
Comprising
In the character data generation step, a character is generated from the digital data,
In the determination step,
Performing an odd / even test on the digital data, and determining whether there is an abnormality for each of the forward reading and the backward reading;
A character inspection step for determining whether there is an abnormality for each of the forward reading and the backward reading based on whether the digital data can be converted into the character;
Run
In the result output step, based on the determination result in the peak interval inspection step, the determination result in the odd / even inspection step, and the determination result in the character inspection step, the character data is obtained from the forward reading result. Output either the character generated in the generation step, or the character generated in the character data generation step from the reading result in the reverse direction, or an error.
Magnetic reading method characterized by the above.
周波数変調方式でデータが記録された磁気記録媒体に対して磁気ヘッドを順方向および逆方向に相対移動させ、前記順方向および逆方向それぞれに磁気データを読み出して生成された電気信号から、コンピュータにキャラクタを生成させるプログラムであって、
前記コンピュータが、前記磁気ヘッドを、前記順方向に相対移動させて読み取った磁気データの電気信号と、前記逆方向に相対移動させて読み取った磁気データの電気信号との各々についてキャラクタを生成するキャラクタデータ生成ステップと、
前記コンピュータが、前記磁気ヘッドを、前記順方向に相対移動させて読み取った前記磁気データの電気信号と、前記逆方向に相対移動させて読み取った前記磁気データの電気信号との各々について読み取りエラーの有無を判定する判定ステップと、
前記コンピュータが、前記判定ステップでの判定結果に基づいて、前記磁気ヘッドを、読み取りエラー無しと判定した方向に相対移動させて読み取った前記磁気データの電気信号から生成されたキャラクタを出力し、いずれの方向においても読み取りエラー有りと判定したときはエラーを出力する結果出力ステップと、
前記コンピュータが、前記読み取りステップにて出力される電気信号のピーク間隔を検出するピーク間隔検出ステップと、
前記コンピュータが、前記ピーク間隔と磁気データの規格から定まる論理インターバル時間との比較により異常の有無を判定するピーク間隔検査ステップと、
前記コンピュータが、前記ピーク間隔からビット列のディジタルデータを生成するディジタルデータ生成ステップと、
を前記コンピュータに実行させ、
前記キャラクタデータ生成ステップでは、前記コンピュータに、前記ディジタルデータからキャラクタを生成させ、
前記判定ステップでは、
前記ディジタルデータに対して奇偶検査を行って、前記順方向の読み取りと前記逆方向の読み取りとの各々について異常の有無を判定する奇偶検査ステップと、
前記ディジタルデータから前記キャラクタへの変換可否に基づいて、前記順方向の読み取りと前記逆方向の読み取りとの各々について異常の有無を判定するキャラクタ検査ステップと、
を前記コンピュータに実行させ、
前記結果出力ステップでは、前記コンピュータに前記ピーク間隔検査ステップでの判定結果と、前記奇偶検査ステップでの判定結果と、前記キャラクタ検査ステップでの判定結果とに基づいて、前記順方向の読み取り結果から前記キャラクタデータ生成ステップにて生成したキャラクタ、または、前記逆方向の読み取り結果から前記キャラクタデータ生成ステップにて生成したキャラクタ、または、エラーのいずれかを出力させるプログラム。
The magnetic head is moved relative to the magnetic recording medium in which data is recorded by the frequency modulation method in the forward direction and the reverse direction, and the magnetic data is read out in the forward direction and the reverse direction, respectively. A program for generating characters,
A character that generates a character for each of an electrical signal of magnetic data read by moving the magnetic head relative to the forward direction and an electrical signal of magnetic data read by moving the magnetic head relative to the reverse direction. A data generation step;
The computer causes the magnetic head to read each of the magnetic data read by moving the magnetic head relative to the forward direction and the electric signal of the magnetic data read by moving the magnetic head relative to the reverse direction. A determination step for determining presence or absence;
Based on the determination result in the determination step, the computer outputs a character generated from an electrical signal of the magnetic data read by relatively moving the magnetic head in a direction determined to have no reading error, A result output step for outputting an error when it is determined that there is a reading error also in the direction of
A peak interval detecting step in which the computer detects a peak interval of an electrical signal output in the reading step;
A peak interval inspection step in which the computer determines whether or not there is an abnormality by comparing the peak interval with a logical interval time determined from a magnetic data standard;
A digital data generating step in which the computer generates digital data of a bit string from the peak interval;
To the computer,
In the character data generation step, the computer generates a character from the digital data,
In the determination step,
Performing an odd / even test on the digital data, and determining whether there is an abnormality for each of the forward reading and the backward reading;
A character inspection step for determining whether there is an abnormality for each of the forward reading and the backward reading based on whether the digital data can be converted into the character;
To the computer,
In the result output step, based on the determination result in the peak interval inspection step, the determination result in the odd / even inspection step, and the determination result in the character inspection step, the computer reads from the forward reading result. A program for outputting either the character generated in the character data generation step, the character generated in the character data generation step from the reading result in the reverse direction, or an error .
JP2009298071A 2009-12-28 2009-12-28 Magnetic reader, magnetic reading method and program Active JP5163633B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009298071A JP5163633B2 (en) 2009-12-28 2009-12-28 Magnetic reader, magnetic reading method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009298071A JP5163633B2 (en) 2009-12-28 2009-12-28 Magnetic reader, magnetic reading method and program

Publications (2)

Publication Number Publication Date
JP2011138584A JP2011138584A (en) 2011-07-14
JP5163633B2 true JP5163633B2 (en) 2013-03-13

Family

ID=44349849

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009298071A Active JP5163633B2 (en) 2009-12-28 2009-12-28 Magnetic reader, magnetic reading method and program

Country Status (1)

Country Link
JP (1) JP5163633B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013118183A1 (en) * 2012-02-09 2013-08-15 日立オムロンターミナルソリューションズ株式会社 Magnetic card reader and magnetic card reading method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000011099A (en) * 1998-06-18 2000-01-14 Anritsu Corp Magnetic card reader
JP2000293961A (en) * 1999-04-05 2000-10-20 Sankyo Seiki Mfg Co Ltd Data demodulating method
JP3681570B2 (en) * 1999-04-13 2005-08-10 株式会社三協精機製作所 Data demodulation method
JP2003099903A (en) * 2001-09-26 2003-04-04 Sankyo Seiki Mfg Co Ltd Manual magnetic cad reader and magnetic card reading method

Also Published As

Publication number Publication date
JP2011138584A (en) 2011-07-14

Similar Documents

Publication Publication Date Title
JP4799027B2 (en) Memory control circuit and address error check method in memory control circuit
US8996958B2 (en) Method, device and computer program product for decoding a codeword
US20080133999A1 (en) Error correcting apparatus and error correcting method
JP4399015B2 (en) Data conversion device, information recording device, error detection device, data conversion method, and error detection method
JP6318713B2 (en) Error detection apparatus, error detection method, and error detection program
US20070198904A1 (en) Error correction processing apparatus and error correction processing method
JP5163633B2 (en) Magnetic reader, magnetic reading method and program
US9928923B2 (en) Estimation of level-thresholds for memory cells
JP2003109328A (en) Storage device and its method for correcting error
JP2007200393A (en) Synchronization signal detecting circuit and detecting method
JP2001135034A (en) Demodulation method and demodulation device of data
JP3853615B2 (en) Address information detecting apparatus and address information detecting method
KR100856400B1 (en) Synchronization code recovery circuit and method thereof
CN100505070C (en) Method of detecting error event in codeword reproduced by perpendicular magnetic recording medium and apparatus using the same
JP3748496B2 (en) Data demodulation method
JP7016749B2 (en) Demodulation method and demodulation device for magnetic data
JP5755079B2 (en) Magnetic data demodulating method and magnetic data demodulating apparatus
JP2806856B2 (en) Diagnostic device for error detection and correction circuit
JP3282215B2 (en) Information reproducing apparatus and bit error measuring apparatus thereof
JP4443518B2 (en) Decoding device and decoding method
JP4041219B2 (en) Maximum likelihood decoder
US8633840B2 (en) Sequence transition point determining method and apparatus thereof
JP5930734B2 (en) Signal synchronization method and signal synchronization apparatus
JP4698469B2 (en) Information symbol encoding method and apparatus, information symbol decoding method and decoding apparatus
JPH06301604A (en) Storage reproducing system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110419

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120306

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120514

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20120523

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20120706

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121203

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

Free format text: PAYMENT UNTIL: 20151228

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5163633

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350