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

JP6005538B2 - Magnetic stripe data processor - Google Patents

Magnetic stripe data processor Download PDF

Info

Publication number
JP6005538B2
JP6005538B2 JP2013014391A JP2013014391A JP6005538B2 JP 6005538 B2 JP6005538 B2 JP 6005538B2 JP 2013014391 A JP2013014391 A JP 2013014391A JP 2013014391 A JP2013014391 A JP 2013014391A JP 6005538 B2 JP6005538 B2 JP 6005538B2
Authority
JP
Japan
Prior art keywords
data
magnetic stripe
track
start code
magnetic
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
JP2013014391A
Other languages
Japanese (ja)
Other versions
JP2014146396A (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.)
Fujitsu Frontech Ltd
Original Assignee
Fujitsu Frontech 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 Fujitsu Frontech Ltd filed Critical Fujitsu Frontech Ltd
Priority to JP2013014391A priority Critical patent/JP6005538B2/en
Publication of JP2014146396A publication Critical patent/JP2014146396A/en
Application granted granted Critical
Publication of JP6005538B2 publication Critical patent/JP6005538B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Digital Magnetic Recording (AREA)
  • Recording Or Reproducing By Magnetic Means (AREA)

Description

本発明は、通帳等の磁気ストライプから読取った信号を編集する磁気ストライプデータ処理装置に関する。   The present invention relates to a magnetic stripe data processing apparatus for editing a signal read from a magnetic stripe such as a bankbook.

今日、銀行やコンビニエンスストア等に設置された自動機(例えば、ATM(現金自動預け払い機・Automated Teller Machine))を使用して預金の預け入れや引き出し、口座振り込み等が広く行われている。また、ATMを利用する際には、キャッシュカードや預金通帳(以下、単に通帳と称す)等の媒体が使用され、現金の預け入れや引き出しが行われる。   Today, deposits and withdrawals of deposits, account transfers, and the like are widely performed using automatic machines (for example, ATM (Automated Teller Machine)) installed in banks and convenience stores. In addition, when using ATM, a medium such as a cash card or a bankbook (hereinafter simply referred to as a bankbook) is used to deposit and withdraw cash.

例えば、通帳を使用する場合、通帳の磁気ストライプに記憶された顧客名や、銀行名、口座番号等の情報(磁気データ)が磁気ヘッドによって読み取られ、上記各種処理が行われる。   For example, when using a bankbook, information (magnetic data) such as a customer name, a bank name, and an account number stored in the magnetic stripe of the bankbook is read by the magnetic head, and the above-described various processes are performed.

そして、いずれのATMでも通帳の取引ができるように、ATMに搭載される磁気ストライプのリードライト装置間では互換性が確保される必要がある。互換性を確保するため、例えば記録ヘッドに対する読取りヘッドの位置ずれを確認できる通帳取扱い装置が提案されている(特許文献1)。   And, it is necessary to ensure compatibility between the read / write devices of the magnetic stripe mounted on the ATM so that the transaction of the bankbook can be performed at any ATM. In order to ensure compatibility, for example, a passbook handling apparatus has been proposed that can confirm the positional deviation of the reading head with respect to the recording head (Patent Document 1).

特開平10−340406号公報JP-A-10-340406

磁気ストライプのリードライト装置は、様々なメーカーにより製造され、異なるメーカー間での互換性を確保するために、通帳の磁気ストライプの仕様は規格化されている。とは言え、現実には、装置の個体差やメーカー間の差あるいは記録時の個別の条件によって、磁気ストライプに記録される信号の位置や状態が仕様から外れてしまう場合もある。   Magnetic stripe read / write devices are manufactured by various manufacturers, and the specifications of the magnetic stripe of the passbook are standardized in order to ensure compatibility between different manufacturers. However, in reality, the position and state of signals recorded on the magnetic stripe may deviate from the specifications due to individual differences between apparatuses, differences between manufacturers, or individual conditions during recording.

しかし、仕様の範囲から外れて記録されてしまった通帳であっても、顧客はそれを判断できないので、このように記録された通帳であってもできるだけ読取ることのできる装置が求められる。   However, even if the bankbook has been recorded out of the range of the specification, the customer cannot judge it. Therefore, there is a demand for an apparatus that can read the bankbook recorded in this way as much as possible.

本願発明は、上記課題に鑑み、仕様の範囲から外れた磁気信号でもデータとして編集することができる磁気ストライプデータ処理装置を提供することを目的とする。   In view of the above problems, an object of the present invention is to provide a magnetic stripe data processing apparatus capable of editing as magnetic data even a magnetic signal that is out of the specification range.

上記目的を達成するために、磁気ストライプデータに対する処理を行う磁気ストライプデータ処理装置において、前記磁気ストライプへデータの書き込みまたは読取りを行う磁気ヘッドと、前記磁気ストライプから前記磁気ヘッドで読取られた磁気ストライプデータをMSデータとして記憶するメモリと、前記磁気ストライプデータ処理装置の制御を行うMS制御部と、前記メモリに記憶された前記MSデータを編集して、データ列に変換する磁気ストライプデータ編集部を有し、前記磁気ストライプデータ編集部は、前記MSデータに含まれる開始符号の検出時間の範囲を設定するものであって、前記磁気ヘッドの走行方向に沿った前記磁気ストライプの両端からトラックの先端と後端がいずれも所定距離離れるような位置に記録された場合の前記トラックにおいて、前記走行する磁気ヘッドによって前記トラックに含まれる開始符号が読取られるまでの時間を規定時間とする規定時間設定部を有し、前記磁気ストライプデータ編集部は、前記メモリに記憶された前記MSデータに対し、前記規定時間の範囲内に読取られた前記MSデータの中から前記開始符号を検出する処理を行い、前記規定時間の範囲内に読取られた前記MSデータの中から前記開始符号を検出することができなかったときには、前記磁気ストライプの一方の端部に前記トラックの先端が位置するとした場合の前記トラックに対して前記開始符号が検出される第1の時間から、前記磁気ストライプの他方の端部に前記トラックの後端が位置するとした場合の前記トラックに対して前記開始符号が検出される第2の時間までの範囲で、前記MSデータの中から前記開始符号を検出する処理を行うことを特徴とする。   In order to achieve the above object, in a magnetic stripe data processing apparatus for processing magnetic stripe data, a magnetic head for writing or reading data on the magnetic stripe, and a magnetic stripe read from the magnetic stripe by the magnetic head A memory that stores data as MS data, an MS control unit that controls the magnetic stripe data processing device, and a magnetic stripe data editing unit that edits the MS data stored in the memory and converts the data into a data string And the magnetic stripe data editing unit sets a detection time range of a start code included in the MS data, and the track stripe from the both ends of the magnetic stripe along the traveling direction of the magnetic head. Recorded at a position where both the rear edge and the rear edge are separated by a predetermined distance. A predetermined time setting unit for setting a time until the start code included in the track is read by the traveling magnetic head in the track, and the magnetic stripe data editing unit is stored in the memory. The MS data is subjected to processing for detecting the start code from the MS data read within the specified time range, and the MS data read within the specified time range is selected from the MS data read within the specified time range. When the start code cannot be detected, from the first time when the start code is detected for the track when the tip of the track is located at one end of the magnetic stripe, The start code is detected for the track when the trailing end of the track is located at the other end of the magnetic stripe. In the range up to the time, and performs the process of detecting the start code from the MS data.

本発明によれば、仕様の範囲から外れた磁気信号でもデータとして編集することができる磁気ストライプデータ処理装置を提供することができる。   According to the present invention, it is possible to provide a magnetic stripe data processing apparatus that can edit magnetic signals out of the specification range as data.

ATM1の基本構成を示す図である。It is a figure which shows the basic composition of ATM1. ATM1の外観図である。It is an external view of ATM1. 通帳処理ユニット5の構成を具体的に説明するブロック図である。3 is a block diagram specifically explaining the configuration of a passbook processing unit 5. FIG. 通帳処理ユニット5の機構構成を説明する概略図である。It is the schematic explaining the mechanism structure of the bankbook processing unit 5. FIG. 通帳100に貼付された磁気ストライプ102の位置の一例を示す図である。It is a figure which shows an example of the position of the magnetic stripe 102 affixed on the passbook 100. FIG. 磁気ヘッド32によって通帳100の磁気ストライプ102から磁気データを読み取る際の波形の一例を示す図である。6 is a diagram illustrating an example of a waveform when magnetic data is read from a magnetic stripe 102 of a bankbook 100 by a magnetic head 32. FIG. NRZI方式による磁気ストライプ102に書込まれるデータと磁気ヘッド32の走行方向を示す図である。It is a figure which shows the traveling direction of the data and the magnetic head 32 which are written in the magnetic stripe 102 by a NRZI system. NRZI方式による磁化転移線の例を示す図である。It is a figure which shows the example of the magnetization transition line by a NRZI system. FM方式による磁気ストライプ102に書込まれるデータと磁気ヘッド32の走行方向を示す図である。It is a figure which shows the traveling direction of the data and the magnetic head 32 which are written in the magnetic stripe 102 by FM system. FM方式による磁化転移線の例を示す図である。It is a figure which shows the example of the magnetization transition line by FM system. 図7のNRZI方式での、トラックの書込み位置が正常の場合と仕様からずれた場合を対比して示す図である。FIG. 8 is a diagram showing a comparison between a case where a track writing position is normal and a case where it deviates from the specification in the NRZI system of FIG. 7. 図9のFM方式での、トラックの書込み位置が正常の場合と仕様からずれた場合を対比して示す図である。FIG. 10 is a diagram showing a comparison between a case where the track writing position is normal and a case where it deviates from the specification in the FM method of FIG. 9. MSデータ編集部35による編集処理の手順を説明するフローチャート1である。3 is a flowchart 1 illustrating a procedure of editing processing by an MS data editing unit. MSデータ編集部35による編集処理の手順を説明するフローチャート2である。It is the flowchart 2 explaining the procedure of the edit process by the MS data edit part. 磁気ストライプ102に対するトラック104a及びトラック104bの仕様上の位置を示す図である。It is a figure which shows the position on the specification of the track 104a with respect to the magnetic stripe 102, and the track 104b. 順列編集処理を具体的に説明する図である。It is a figure explaining a permutation edit process concretely.

以下、図面に従って本発明の実施形態を説明する。図1は本実施形態の磁気ストライプデータ処理装置が搭載されたATM1の基本構成を示す図である。ATM1は銀行の支店のみならず、コンビニエンスストアや、スーパー等に設置され、ATM機能である、入金、出金、残高照会、振込等を行い、この際、例えば通帳を利用する場合、磁気ストライプ(以下、MSとも称す)に記憶されたデータが読み出される。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a diagram showing a basic configuration of an ATM 1 on which a magnetic stripe data processing apparatus of this embodiment is mounted. ATM1 is installed not only at bank branches but also at convenience stores, supermarkets, etc., and performs ATM functions such as deposit, withdrawal, balance inquiry, transfer, etc. In this case, for example, when using a bankbook, magnetic stripe ( Hereinafter, data stored in MS) is read out.

ATM1は、紙幣処理ユニット3、硬貨処理ユニット4、通帳処理ユニット5、カード/レシート処理ユニット6、及び操作/表示部7を有する。また、上記各ユニット3〜6はATM制御部8によって駆動制御され、ATM制御部8は操作/表示部7に対して表示信号を送信すると共に、操作/表示部7から顧客の操作指示に基づく操作信号を受信する。   The ATM 1 includes a banknote processing unit 3, a coin processing unit 4, a passbook processing unit 5, a card / receipt processing unit 6, and an operation / display unit 7. Each of the units 3 to 6 is driven and controlled by the ATM control unit 8. The ATM control unit 8 transmits a display signal to the operation / display unit 7 and is based on a customer operation instruction from the operation / display unit 7. Receives an operation signal.

図2は上記各ユニット3〜6、及び操作/表示部7が配設されたATM1の外観図である。操作/表示部7は入金、出金、残高照会、振込等の各種表示を行う表示部(ディスプレイ)としての機能と、顧客からの指示を受け付ける操作部(タッチパネル)としての機能を有する。   FIG. 2 is an external view of the ATM 1 in which the above units 3 to 6 and the operation / display unit 7 are arranged. The operation / display unit 7 has a function as a display unit (display) that performs various displays such as deposit, withdrawal, balance inquiry, and transfer, and a function as an operation unit (touch panel) that receives instructions from customers.

紙幣処理ユニット3は紙幣入出金部3aを備え、口座の入金や振り込みを行う時に、顧客が投入した紙幣を計数し、紙幣の種類等を判別する。また、紙幣の払い出し等を行う時に、払い出された紙幣の種別の判別や計数を行う。また、硬貨処理ユニット4は硬貨入出金部4aを備え、口座の入金や振り込みを行う時に、顧客が投入した硬貨を計数し、紙幣の種類等を判別する。また、硬貨の払い出し等を行う時に、払い出された硬貨の種別の判別や計数を行う。   The banknote processing unit 3 includes a banknote deposit / withdrawal unit 3a, and counts banknotes inserted by a customer when depositing or transferring an account to determine the type of banknote. Further, when paying out banknotes, etc., the type and type of banknotes that have been paid out are determined and counted. The coin processing unit 4 includes a coin deposit / withdrawal unit 4a, and counts the coins inserted by the customer when depositing / transferring an account, and determines the type of banknote and the like. Further, when the coins are paid out, the type of the coins paid out is determined and counted.

通帳処理ユニット5は通帳挿入部5aを備え、挿入された通帳の顧客名や、銀行名、口座番号等のデータを読み取る。具体的には、通帳の磁気ストライプ(MS)に記憶されたデータを後述するMSユニットによって読み取る。   The passbook processing unit 5 includes a passbook insertion unit 5a, and reads data such as a customer name, a bank name, and an account number of the inserted passbook. Specifically, the data stored in the magnetic stripe (MS) of the bankbook is read by the MS unit described later.

カード/レシート処理ユニット6は挿入部6aを備え、挿入されたカード等のデータを読み取る。また、所謂銀行系のカードに限らず、例えば信販系のカードや、流通系のカード等の使用も可能である。   The card / receipt processing unit 6 includes an insertion portion 6a, and reads data such as an inserted card. In addition to the so-called bank card, for example, a credit card, a distribution card, or the like can be used.

図3は通帳処理ユニット5の構成を具体的に説明するブロック図である。通帳処理ユニット5は、プリンタ制御部10、インサータフロントユニット(以下、インサータFユニットで示す)11、スキャナユニット12、印字ユニット13、頁めくり機構部14、通帳退避部15、天地ターン部16、新規通帳発行部17、搬送部18、メモリ19及び磁気ストライプ処理ユニット(磁気ストライプ処理装置とも呼ぶ、以下、MS(磁気ストライプ)ユニットと称す)20を有する。通帳処理ユニット5の各部は、プリンタ制御部10によって駆動制御が行われる。プリンタ制御部10は、メモリ19に記憶された制御プログラムを読込んで各種処理を行うCPUを有する。   FIG. 3 is a block diagram for specifically explaining the configuration of the passbook processing unit 5. The bankbook processing unit 5 includes a printer control unit 10, an inserter front unit (hereinafter referred to as an inserter F unit) 11, a scanner unit 12, a printing unit 13, a page turning mechanism unit 14, a bankbook saving unit 15, a top and bottom turn unit 16, a new A passbook issuing unit 17, a transport unit 18, a memory 19, and a magnetic stripe processing unit (also referred to as a magnetic stripe processing apparatus, hereinafter referred to as an MS (magnetic stripe) unit) 20 are included. Each part of the passbook processing unit 5 is driven and controlled by the printer control unit 10. The printer control unit 10 has a CPU that reads a control program stored in the memory 19 and performs various processes.

また、プリンタ制御部10はファームウェア21を介してATM制御部8と通信を行い、ATM制御部8からの指示やセンサからの検知信号に基づいてモータやマグネットを駆動し、上記各部(各ユニット)の制御を行う。   The printer control unit 10 communicates with the ATM control unit 8 via the firmware 21 and drives a motor or a magnet based on an instruction from the ATM control unit 8 or a detection signal from the sensor. Control.

尚、通帳処理ユニット(通帳プリンタ)5は電源装置22から通帳プリンタ用の電源23の供給を受け、上記各部(各ユニット)を駆動する。   The passbook processing unit (passbook printer) 5 is supplied with the power 23 for the passbook printer from the power supply device 22 and drives each of the above sections (units).

MSユニット20は、通帳に貼付された磁気ストライプに対し、データの記録及びデータの読取り処理を行うものである。MSユニット20は、MS制御部31、磁気ヘッド32、モータ33、センサ34、MSデータ編集部35、メモリ37を有する。   The MS unit 20 performs data recording and data reading processing on the magnetic stripe attached to the passbook. The MS unit 20 includes an MS control unit 31, a magnetic head 32, a motor 33, a sensor 34, an MS data editing unit 35, and a memory 37.

MS制御部31は、メモリ19に記憶されたプログラムを読込んでMSユニット20全体の制御を行うCPUを有する。   The MS control unit 31 has a CPU that reads a program stored in the memory 19 and controls the entire MS unit 20.

磁気ヘッド32は、通帳の磁気ストライプへ接触してデータの書き込みまたは読取りを行う。磁気ヘッド32は、記録方式が後述するNRZI形式の場合には2トラックタイプ、FM方式の場合には1トラックタイプがある。   The magnetic head 32 writes or reads data in contact with the magnetic stripe of the bankbook. The magnetic head 32 has a two-track type when the recording method is an NRZI format, which will be described later, and a one-track type when the recording method is an FM method.

モータ33は、走行ガイド(不図示)に沿って移動可能に設けられた磁気ヘッド32を、通帳の磁気ストライプ上で一定速度で移動させる。センサ34は、移動する磁気ヘッド32の位置を検出するもので、スタート位置を検出するスタートポジションセンサ(以下、SPSと称す)や、エンド位置を検出するエンドポジションセンサ(以下、EPSと称す)を有する。   The motor 33 moves the magnetic head 32 movably provided along a travel guide (not shown) at a constant speed on the magnetic stripe of the bankbook. The sensor 34 detects the position of the moving magnetic head 32, and includes a start position sensor (hereinafter referred to as SPS) for detecting the start position and an end position sensor (hereinafter referred to as EPS) for detecting the end position. Have.

MSデータ編集部(磁気ストライプデータ編集部とも呼ぶ)35は、磁気ストライプから磁気ヘッド32により順番に読取られた磁化転移のデータを編集して、1ビットのデータ列に変換するものである。メモリ37は、磁気ヘッド32で読取られた信号を所定の閾値で2値化して得られた磁化転移のデータを、MSデータ編集部35による編集処理のために一時的に記憶する。   The MS data editing unit (also referred to as a magnetic stripe data editing unit) 35 edits the magnetization transition data sequentially read from the magnetic stripe by the magnetic head 32 and converts it into a 1-bit data string. The memory 37 temporarily stores data of magnetization transition obtained by binarizing the signal read by the magnetic head 32 with a predetermined threshold for editing processing by the MS data editing unit 35.

MSデータ編集部35は、規定時間設定部36を有する。MSデータ編集部35は、MSデータ編集部35がデータの編集を開始する場合に、後述する開始符号を検出する処理を行うが、規定時間設定部36は、開始符号の検出時間の範囲を設定するものである。なお、MSデータ編集部35は、MS制御部31のCPUによるソフトウェア処理により実現される機能部である。   The MS data editing unit 35 has a specified time setting unit 36. The MS data editing unit 35 performs processing for detecting a start code, which will be described later, when the MS data editing unit 35 starts editing data. The specified time setting unit 36 sets a detection time range of the start code. To do. The MS data editing unit 35 is a functional unit realized by software processing by the CPU of the MS control unit 31.

MS制御部(磁気ストライプ制御部とも呼ぶ)31は、上位装置であるプリンタ制御部10からの指示に従って磁気ヘッド32を走行させて、通帳の磁気ストライプに取引に関するデータを書き込み、又は磁気ストライプから書込まれた取引に関するデータを読取るよう制御する。読取られた取引に関するデータは、ATM1により通信回線を通じて、中央のサーバ(不図示)に送信される。   The MS control unit (also referred to as a magnetic stripe control unit) 31 causes the magnetic head 32 to run in accordance with an instruction from the printer control unit 10 which is a host device, and writes transaction data to the magnetic stripe of the bankbook or writes from the magnetic stripe. Controls to read data about embedded transactions. Data regarding the read transaction is transmitted by ATM 1 to a central server (not shown) through a communication line.

図4は上記通帳処理ユニット5の機構構成を説明する概略図であり、上記各部(各ユニット)の設置位置を示す。インサータFユニット11は搬送部18である搬送ローラ対18a〜18c、MSユニット20を含み、通帳挿入部5aから挿入された通帳を機内に引き込み、搬送ローラ対18a〜18cによって通帳をMSユニット20に搬送する。MSユニット20は、通帳の磁気ストライプに記憶されたデータを読み取り、又通帳の磁気ストライプにデータを書き込む。   FIG. 4 is a schematic diagram for explaining the mechanism configuration of the passbook processing unit 5 and shows the installation positions of the respective parts (each unit). The inserter F unit 11 includes transport roller pairs 18a to 18c, which are the transport unit 18, and an MS unit 20. The passbook inserted from the passbook insertion unit 5a is pulled into the machine, and the passbook is transferred to the MS unit 20 by the transport roller pairs 18a to 18c. Transport. The MS unit 20 reads data stored in the magnetic stripe of the bankbook and writes data to the magnetic stripe of the bankbook.

また、印字・めくり・光学ユニット24は上記スキャナユニット12、印字ユニット13、頁めくり機構部14を含むユニットである。スキャナユニット12は、搬送ローラ対18dによって搬送される通帳の位置を光学的に読み取り、印字ユニット13は搬送ローラ対18eによって搬送される通帳に取引データを印字する。また、頁めくり機構部14は搬送ローラ対18f、18gによって搬送される通帳の頁めくり処理を行なう。   The printing / turning / optical unit 24 is a unit including the scanner unit 12, the printing unit 13, and the page turning mechanism unit 14. The scanner unit 12 optically reads the position of the passbook transported by the transport roller pair 18d, and the printing unit 13 prints transaction data on the passbook transported by the transport roller pair 18e. Further, the page turning mechanism unit 14 performs a page turning process for the passbook conveyed by the pair of conveying rollers 18f and 18g.

また、インサータリアユニット(以下、インサータRユニットで示す)25は、通帳退避部15、及び天地ターン部16を含むユニットであり、通帳退避部15は搬送ローラ対18hによって搬送された通帳の退避エリアであり、天地ターン部16は通帳の天地を代える機構部である。尚、発行ユニット17a、17bは、新規通帳発行部17であり、例えばオプションとして何れかの位置に設置される。   An inserter unit (hereinafter, referred to as an inserter R unit) 25 is a unit that includes a passbook evacuation unit 15 and a top-and-bottom turn unit 16. The top and bottom turn part 16 is a mechanism part that replaces the top and bottom of the passbook. The issuing units 17a and 17b are the new bankbook issuing unit 17, and are installed at any position as an option, for example.

図5は、通帳100に貼付された磁気ストライプ102の位置の一例を示す図である。通帳100の中央部100aを縦向きにした状態である。ここでは、磁気ストライプ102が、長手方向が通帳の側面に平行になる方向で、通帳100の裏表紙に貼付された例である。なお、磁気ストライプは、通帳の表表紙に貼付される場合もあり、また、側面に直交して貼付される場合もあり、様々である。   FIG. 5 is a diagram illustrating an example of the position of the magnetic stripe 102 attached to the passbook 100. The central portion 100a of the bankbook 100 is in a vertically oriented state. In this example, the magnetic stripe 102 is affixed to the back cover of the passbook 100 with the longitudinal direction parallel to the side of the passbook. The magnetic stripe may be affixed to the front cover of the passbook, or may be affixed perpendicular to the side surface.

図6は、通帳の磁気ストライプ102から磁気ヘッド32によって読取られた磁気信号の生の波形の一例を示す図である。磁気信号は、予め設定された閾値Srで2値化されて、図8や図10で示す磁化転移線のデータとして出力される。そして、磁化転移線のデータは、対応する読出し時間とともにメモリ37に記憶される。   FIG. 6 is a diagram illustrating an example of a raw waveform of a magnetic signal read by the magnetic head 32 from the magnetic stripe 102 of the passbook. The magnetic signal is binarized with a preset threshold value Sr, and is output as data of the magnetization transition lines shown in FIGS. The data of the magnetization transition line is stored in the memory 37 together with the corresponding read time.

磁気ストライプ102への書込みの方向あるいは書込み方式(変調方式)は様々あるが、以下2例で、磁気ストライプデータの編集を説明する。図7〜図10は、2つの記録方式による磁気ヘッド32の走行方向および記録された磁化転移線の概要を説明する図である。   Although there are various writing directions or writing methods (modulation methods) to the magnetic stripe 102, the editing of the magnetic stripe data will be described below with two examples. 7 to 10 are diagrams for explaining the outline of the traveling direction of the magnetic head 32 and the recorded magnetization transition lines according to two recording methods.

図7は、NRZI方式による磁気ストライプ102に書込まれるデータと磁気ヘッド32の走行態様を示す図である。NRZIは、Non Return to Zero. Invertedの略で2トラックで書かれ、“0”または“1”のデータが必ずどちらかのトラックに書き込まれる方式である。   FIG. 7 is a diagram showing the data written to the magnetic stripe 102 by the NRZI method and the running mode of the magnetic head 32. NRZI is an abbreviation of Non Return to Zero. Inverted, and is written in two tracks, and data of “0” or “1” is always written in one of the tracks.

図8は、NRZI方式による磁化転移線の例を示す図である。NRZI方式では、データ列(例えば、0,1,0,0,1,0)のデータ“0”に対応してトラック0側に信号が書き込まれ、データ“1”に対応してトラック1側に信号が書き込まれ、各トラックには磁化転移線(縦の太線)が記録される。   FIG. 8 is a diagram showing an example of magnetization transition lines by the NRZI method. In the NRZI system, a signal is written on the track 0 side corresponding to data “0” of a data string (for example, 0, 1, 0, 0, 1, 0), and the track 1 side corresponding to data “1”. A signal is written to each track, and a magnetization transition line (long vertical line) is recorded on each track.

図7に戻る。通帳100は、上述した通帳挿入部5aから挿入されて機内に引き込まれ、搬送ローラ対18a〜18cによってMSユニット20内に搬送される。なお、図7は、図4とは逆の方向から見た図で、図7では通帳挿入部5aは向かって右側に位置し、通帳100は左方向(p方向)に搬送される。通帳100は、MSユニット20内で、通帳100の先端部がストッパー110に当てついた位置でプリンタ制御部10により停止される。   Returning to FIG. The bankbook 100 is inserted from the bankbook insertion part 5a described above, drawn into the machine, and conveyed into the MS unit 20 by the conveyance roller pairs 18a to 18c. 7 is a view seen from the opposite direction to FIG. 4. In FIG. 7, the passbook insertion part 5a is located on the right side, and the passbook 100 is conveyed in the left direction (p direction). The bankbook 100 is stopped by the printer control unit 10 at a position where the front end of the bankbook 100 contacts the stopper 110 in the MS unit 20.

磁気ヘッド32は、不図示の走行ガイドに取付けられ、モータ33によって磁気ストライプ102に対して往路(右→左)と復路(左→右)の両方向で走行される。磁気ヘッド32は、往路で走行される場合には、h1→h2→h3→h4の順に移動する。磁気ヘッド32は、走行ガイドにより、h1とh4では、磁気ストライプ102に接触しないように1段下がった位置に退避する。   The magnetic head 32 is attached to a travel guide (not shown), and travels in both forward (right → left) and return (left → right) directions with respect to the magnetic stripe 102 by the motor 33. When traveling on the forward path, the magnetic head 32 moves in the order of h1 → h2 → h3 → h4. The magnetic head 32 is retracted to a position lowered by one step so as not to contact the magnetic stripe 102 at h1 and h4 by the traveling guide.

接触開始点であるh2及び接触終了点であるh3は、磁気ストライプ102の両端よりそれぞれ外側になる位置に設定され、磁気ヘッド32は磁気ストライプ102の全長に渡って読取りを実行することができる。なお、書込みは往路でのみ行われ、読取りは、往路及び復路のいずれでも行われる。   The contact start point h <b> 2 and the contact end point h <b> 3 are set at positions outside the both ends of the magnetic stripe 102, and the magnetic head 32 can perform reading over the entire length of the magnetic stripe 102. Note that writing is performed only in the forward path, and reading is performed in both the forward path and the backward path.

MS制御部31は、SPSの信号により磁気ヘッド32の読取り開始位置を制御し、EPSの信号により磁気ヘッド32の読取り終了位置を制御する(復路の場合には逆になる)。   The MS control unit 31 controls the reading start position of the magnetic head 32 by an SPS signal, and controls the reading end position of the magnetic head 32 by an EPS signal (the reverse is true in the case of a return path).

磁気ストライプ102には、右から順番に前ダミーD1、開始符号D2、取引データD3、終了符号D4、チェック符号D5,後ダミーD6の6つのブロックが書き込まれる。取引データD3には、貼付された通帳100に関する口座番号、通帳種類、支店番号等を示すデータが記載される。開始符号D2及び終了符号D4は、取引データの開始と終了を示すコードである。チェック符号D5は、読取られたデータと対比して読取りが正常になされたかを確認するデータである。   In the magnetic stripe 102, six blocks of a front dummy D1, a start code D2, transaction data D3, an end code D4, a check code D5, and a rear dummy D6 are written in order from the right. In transaction data D3, data indicating an account number, a passbook type, a branch number, and the like related to the pasted passbook 100 is described. The start code D2 and the end code D4 are codes indicating the start and end of transaction data. The check code D5 is data for confirming whether the reading is normally performed in comparison with the read data.

そして、磁気ストライプ102に書込まれるトラックの前後方向(本図で、左右方向)の位置は、ATM間の互換性を確保するために仕様で定められる。また、SPSの位置から開始符号D2までの距離S1も仕様により一定値となる。   The position of the track written in the magnetic stripe 102 in the front-rear direction (the left-right direction in the figure) is determined by specifications in order to ensure compatibility between ATMs. Further, the distance S1 from the position of the SPS to the start code D2 is also a constant value depending on the specification.

図9は、FM方式による磁気ストライプ102に書込まれるデータと磁気ヘッド32の走行態様を示す図である。FM方式とは、Frequency Modulationの略で、1トラックで適正周期間のビットの中央にビットがある場合は1となり、ない場合は0となる。   FIG. 9 is a diagram showing the data written in the magnetic stripe 102 by the FM method and the running mode of the magnetic head 32. The FM method is an abbreviation of Frequency Modulation, which is 1 when there is a bit at the center of the bit between appropriate periods in one track, and 0 when there is not.

図10は、FM方式による磁化転移線の例を示す図である。FM方式では、データ列(例えば、0,1,0)に対応して、トラックには図示のような磁化転移線(縦の太線)が記録される。   FIG. 10 is a diagram illustrating an example of the magnetization transition line by the FM method. In the FM method, a magnetization transition line (vertical thick line) as shown in the figure is recorded on a track corresponding to a data string (for example, 0, 1, 0).

図9に戻る。図7の場合と同様に、通帳100は、ストッパー110に当てつけられて位置決めされる。図9も、図7と同様に、図4とは逆の方向から見た図で、通帳100は左方向(p方向)に搬送される。   Returning to FIG. As in the case of FIG. 7, the bankbook 100 is positioned against the stopper 110. 9 is also a view seen from the opposite direction to FIG. 4, as in FIG. 7, and the bankbook 100 is conveyed in the left direction (p direction).

磁気ヘッド32は、不図示の走行ガイドに取付けられ、モータ33によって磁気ストライプ102に対して往路(左→右)と復路(右→左)の両方向で走行される。磁気ヘッド32は、往路で走行される場合には、h11→h12→h13→h14の順に移動する。磁気ヘッド32は、走行ガイドにより、h11とh14では、磁気ストライプ102に接触しないように1段下がった位置に退避する。   The magnetic head 32 is attached to a travel guide (not shown), and travels in both the forward path (left → right) and the return path (right → left) with respect to the magnetic stripe 102 by the motor 33. When traveling on the forward path, the magnetic head 32 moves in the order of h11 → h12 → h13 → h14. The magnetic head 32 is retracted to a position lowered by one step so as not to contact the magnetic stripe 102 at h11 and h14 by the traveling guide.

接触開始点であるh12及び接触終了点であるh13は、磁気ストライプ102の両端よりそれぞれ外側になる位置に設定され、磁気ヘッド32は磁気ストライプ102の全長に渡って読取りを実行することができる。なお、書込みは往路でのみ行われ、読取りは、往路及び復路のいずれでも行われる。   The contact start point h12 and the contact end point h13 are set at positions outside the both ends of the magnetic stripe 102, and the magnetic head 32 can execute reading over the entire length of the magnetic stripe 102. Note that writing is performed only in the forward path, and reading is performed in both the forward path and the backward path.

MS制御部31は、SPSの信号により磁気ヘッド32の読取り開始位置を制御し、EPSの信号により磁気ヘッド32の読取り終了位置を制御する(復路の場合には逆になる)。   The MS control unit 31 controls the reading start position of the magnetic head 32 by an SPS signal, and controls the reading end position of the magnetic head 32 by an EPS signal (the reverse is true in the case of a return path).

磁気ストライプ102には、左から順番にダミーD11、前ダミーD12、開始符号D13、取引データD14、終了符号D15、チェック符号D16,後ダミーD17、ダミーD18の8つのブロックが書き込まれる。また、SPSの位置から開始符号D13までの距離S2も、仕様により一定値となる。   In the magnetic stripe 102, eight blocks of a dummy D11, a front dummy D12, a start code D13, transaction data D14, an end code D15, a check code D16, a back dummy D17, and a dummy D18 are written in order from the left. The distance S2 from the SPS position to the start code D13 is also a constant value depending on the specification.

図11は、図7のNRZI方式での、トラックの書込み位置が正常な場合(仕様通り)と仕様からずれた場合を対比して示す図である。図11(A)は、磁気ストライプ102に対して2つのトラック104a、104bが仕様の位置に書込まれた場合である。   FIG. 11 is a diagram showing a comparison between the case where the track writing position is normal (according to the specification) and the case where it deviates from the specification in the NRZI system of FIG. FIG. 11A shows a case where two tracks 104 a and 104 b are written at the specified position on the magnetic stripe 102.

図11(B)は、書込み開始位置が左側にずれて、2つのトラック104a、104bの終了位置(左端)が磁気ストライプ102の左端ぎりぎりになった場合である。例えば、通帳100が、図7で示すストッパー110よりも手前の位置で停止した状態で書込みされた場合に、このようになってしまう。あるいは、磁気ストライプ102に対する磁気ヘッド32の書込み開始位置の調整がずれたATM1で書込みが行われた場合もこのような状態になりうる。   FIG. 11B shows a case where the write start position is shifted to the left side, and the end positions (left end) of the two tracks 104 a and 104 b are just below the left end of the magnetic stripe 102. For example, this is the case when the bankbook 100 is written in a state where it stops at a position before the stopper 110 shown in FIG. Alternatively, such a state can also occur when writing is performed at ATM 1 in which the adjustment of the write start position of the magnetic head 32 with respect to the magnetic stripe 102 is shifted.

図11(C)は、書込み開始位置が右側にずれて、2つのトラック104a、104bの開始位置(右端)が磁気ストライプ102の右端ぎりぎりになった場合である。例えば、通帳100の先端が、図7で示すストッパー110でめくれてしまい、更に奥の位置で搬送された状態で書込みされた場合に、このようになってしまう。あるいは、磁気ストライプ102に対する磁気ヘッド32の書込み開始位置の調整がずれたATM1で書込みが行われた場合もこのような状態になりうる。   FIG. 11C shows a case where the write start position is shifted to the right side, and the start positions (right ends) of the two tracks 104 a and 104 b are just below the right end of the magnetic stripe 102. For example, when the leading end of the bankbook 100 is turned over by the stopper 110 shown in FIG. 7 and is written while being conveyed at a deeper position, this is the case. Alternatively, such a state can also occur when writing is performed at ATM 1 in which the adjustment of the write start position of the magnetic head 32 with respect to the magnetic stripe 102 is shifted.

図12は、図9のFM方式での、トラックの書込み位置が正常な場合(仕様通り)と仕様からずれた場合を対比して示す図である。図12(A)は、磁気ストライプ102に対してトラック104が仕様の位置に書込まれた図である。   FIG. 12 is a diagram showing a comparison between the case where the track writing position is normal (according to the specification) and the case where it deviates from the specification in the FM method of FIG. FIG. 12A is a diagram in which a track 104 is written at a specified position with respect to the magnetic stripe 102.

図12(B)は、書込み開始位置が左側にずれて、トラック104の開始位置(左端)が磁気ストライプ102の左端ぎりぎりになった場合である。図12(C)は、書込み開始位置が右側にずれて、トラック104の終了位置(右端)が磁気ストライプ102の右端ぎりぎりになった場合である。ずれの発生原因は、NRZI方式の場合と同様である。   FIG. 12B shows a case where the write start position is shifted to the left side, and the start position (left end) of the track 104 is just below the left end of the magnetic stripe 102. FIG. 12C shows a case where the write start position is shifted to the right and the end position (right end) of the track 104 is just below the right end of the magnetic stripe 102. The cause of the deviation is the same as in the NRZI system.

図7、図9で説明したように、磁気ヘッド32は、磁気ストライプ102の全長を走行して磁気信号を読取るので、トラック104が磁気ストライプ102の正常な位置でなくても、いずれかの位置に書込まれていれば、磁気信号としては取得され、2値化されMSデータとして記憶される。   As described with reference to FIGS. 7 and 9, the magnetic head 32 reads the magnetic signal by running the entire length of the magnetic stripe 102, so even if the track 104 is not at the normal position of the magnetic stripe 102, any position can be obtained. If it is written in, it is acquired as a magnetic signal, binarized, and stored as MS data.

一方、MSデータ編集部35は、磁気ヘッド32走行開始後一定時間範囲内のMSデータで、所定のデータ(以下では、開始符号D2)を検出できた場合に、MSデータに基づきデータ編集作業を開始する。これは、MSデータ全体の中から、開始符号D2を探す処理をすると、探す処理に時間がかかりすぎ、通帳の読取り処理に遅延を招くからである。
そして、開始符号D2を検出する一定時間は、仕様に従って(正常)書込まれた位置(図11(A)や図12(A))に基づいて定められる。
On the other hand, the MS data editing unit 35 performs data editing work based on the MS data when it can detect predetermined data (hereinafter referred to as a start code D2) in the MS data within a certain time range after the start of traveling of the magnetic head 32. Start. This is because if the process of searching for the start code D2 from the entire MS data is performed, the search process takes too much time, and the passbook reading process is delayed.
The fixed time for detecting the start code D2 is determined based on the (normal) written position (FIG. 11A or FIG. 12A) according to the specification.

そのため、図11(B)、(C)や図12(B)、(C)のように書込み開始位置が大きくずれた場合には、磁気ヘッド32走行開始後一定時間範囲内のMSデータでは、開始符号D2を検出することができなくなり、所定のデータが記録されていても、通帳100は読取りエラーとして処理されてしまう。   Therefore, when the write start position is greatly shifted as shown in FIGS. 11B, 11C, 12B, and 12C, the MS data within a certain time range after the start of traveling of the magnetic head 32 is The start code D2 cannot be detected, and the passbook 100 is processed as a read error even if predetermined data is recorded.

そこで、本実施形態では、書込み開始位置が大きくずれた磁気ストライプ102に対してもデータ編集ができるように、MSデータ編集部35は、規定時間の範囲を追加的に変更して編集を行う追加編集処理を実行する。   Therefore, in the present embodiment, the MS data editing unit 35 additionally changes the specified time range and performs editing so that data editing can be performed even on the magnetic stripe 102 whose write start position is greatly shifted. Execute the editing process.

図13A及び図13Bは、MSデータ編集部35による編集処理の手順を説明するフローチャート1及び2である。なお、以下のフローチャートでは、上述の追加編集処理と共に、読取ったジッターが大きい場合には、トラック0、1の磁化転移線を順番に読取る順列編集処理もあわせて説明するために、NRZI方式を例にするが、追加編集処理はNRZI方式以外のFM方式あるいはその他の方式にも適用される。   13A and 13B are flowcharts 1 and 2 for explaining the procedure of the editing process by the MS data editing unit 35. In the following flowchart, in addition to the above-described additional editing process, in the case where the read jitter is large, the NRZI method is taken as an example in order to explain the permutation editing process in which the magnetization transition lines of tracks 0 and 1 are sequentially read. However, the additional editing process is also applied to FM systems other than the NRZI system or other systems.

MS制御部31は、往路側読取りを実行する(ステップS10)。MSユニット20内の所定位置に搬送された通帳100に対して、磁気ヘッド32をh1からh4まで走行させ(図7)、磁気ストライプ102に書込まれた磁気信号を磁気ヘッド32で読取らせ、読取った磁気信号を2値化してMSデータとしてメモリ37に記憶させる。磁化転移線が、2値化データ(H,L)のHデータに対応する。また、MSデータは、磁気ヘッド32のSPS通過を基準とする時間で管理される。   The MS control unit 31 performs forward path side reading (step S10). The magnetic head 32 is run from h1 to h4 with respect to the passbook 100 conveyed to a predetermined position in the MS unit 20 (FIG. 7), and the magnetic signal written in the magnetic stripe 102 is read by the magnetic head 32. The read magnetic signal is binarized and stored in the memory 37 as MS data. The magnetization transition line corresponds to the H data of the binarized data (H, L). Further, the MS data is managed by the time based on the passage of the magnetic head 32 through the SPS.

MSデータ編集部35は、メモリ37に格納されたMSデータから、MSデータの先頭で所定のデータ列である前ダミーD1の検出を行い、前ダミーD1が検出できたかを判断する(ステップS12)。   The MS data editing unit 35 detects the previous dummy D1, which is a predetermined data string, at the head of the MS data from the MS data stored in the memory 37, and determines whether the previous dummy D1 has been detected (step S12). .

MS制御部31は、MSデータ編集部35で前ダミーD1が検出できないと判断すると(ステップS12No)、ステップS10による往路側読取り実行はエラーと判断して、逆方向からの読取り(復路読取り)を行うべく、図13BのステップS50に進む。   When the MS control unit 31 determines that the previous dummy D1 cannot be detected by the MS data editing unit 35 (No in step S12), the forward reading side reading execution in step S10 is determined to be an error, and reading from the reverse direction (return reading) is performed. To do so, go to step S50 in FIG. 13B.

MSデータ編集部35は、前ダミーD1が検出できたと判断すると(ステップS12Yes)、MSデータ編集部35は、規定時間範囲内に開始符号D2を検出したかを判断する(ステップS14)。規定時間とは、磁気ヘッド32がSPSを通過してから、仕様で定められた位置に記録された開始符号D2を読取るまでの時間である。   When the MS data editing unit 35 determines that the previous dummy D1 has been detected (Yes in step S12), the MS data editing unit 35 determines whether the start code D2 has been detected within the specified time range (step S14). The specified time is the time from when the magnetic head 32 passes through the SPS until the start code D2 recorded at the position determined by the specification is read.

図7で示すようにSPSから開始符号D2までの距離をS1(mm)とし、モータ33による磁気ヘッド32の速度をV(mm/sec)とすると、読取るまでの時間t0=S1/Vとなる。そして、ばらつきを考慮して、規定時間範囲をt0±10%とする。規定時間範囲(t0±10%)は、規定時間設定部36により設定される。   As shown in FIG. 7, when the distance from the SPS to the start code D2 is S1 (mm) and the speed of the magnetic head 32 by the motor 33 is V (mm / sec), the time until reading is t0 = S1 / V. . In consideration of the variation, the specified time range is set to t0 ± 10%. The specified time range (t0 ± 10%) is set by the specified time setting unit 36.

MSデータ編集部35は、規定時間範囲内(t0±10%)に開始符号D2を検出したと判断すると(ステップS14Yes)、MSデータ編集部35は、MSデータのジッターが正常かを判断する(ステップS16)。   When the MS data editing unit 35 determines that the start code D2 is detected within the specified time range (t0 ± 10%) (Yes in step S14), the MS data editing unit 35 determines whether the jitter of the MS data is normal ( Step S16).

読取られた磁化転移線は、理想的には図8で示すように一定の時間間隔になるはずであるが、書込み及び読取り時の磁気ヘッド32の速度は変動するので、現実にはジッター(速度ムラ)が発生する。   The read magnetic transition line should ideally be at a constant time interval as shown in FIG. 8, but the speed of the magnetic head 32 at the time of writing and reading fluctuates. Unevenness occurs.

規格上のジッターを例えば±20%とし、マージンをみて±50%以内あれば編集可能、つまり正常と判断する。   The jitter on the standard is set to ± 20%, for example, and if it is within ± 50% when the margin is viewed, it is determined that editing is possible, that is, normal.

MSデータ編集部35は、MSデータのジッターが正常と判断すると(ステップS16Yes)、通常の編集処理(通常編集とも称す)を行う(ステップS18)。MSデータ編集部35は、編集した全ビットが正常かを判断し(ステップS20)、全ビットが正常と判断すると(ステップS20Yes)、読取りを終了して、編集した取引データをプリンタ制御部10に出力する。   When the MS data editing unit 35 determines that the jitter of the MS data is normal (step S16 Yes), the MS data editing unit 35 performs a normal editing process (also referred to as normal editing) (step S18). The MS data editing unit 35 determines whether all the edited bits are normal (step S20). If all the bits are normal (step S20 Yes), the MS data editing unit 35 ends the reading and sends the edited transaction data to the printer control unit 10. Output.

MSデータ編集部35は、全ビットが正常ではない判断すると(ステップS20No)、ステップS50に進む。   If the MS data editing unit 35 determines that all bits are not normal (No in step S20), the process proceeds to step S50.

ステップS16に戻り、MSデータ編集部35は、ジッターが正常でないと判断すると(ステップS16No)、ジッターが200%以上であるかを判断する(ステップS22)。MSデータ編集部35は、ジッターが200%以上ではないと判断すると(ステップS22No)、順列編集処理を行う(ステップS24)。   Returning to Step S16, when the MS data editing unit 35 determines that the jitter is not normal (No in Step S16), it determines whether the jitter is 200% or more (Step S22). When the MS data editing unit 35 determines that the jitter is not 200% or more (No in step S22), the MS data editing unit 35 performs a permutation editing process (step S24).

順列編集処理とは、トラック(トラック0)104a及びトラック(トラック1)104bから読取られた磁化転移線を、読取られた順番に0又は1の各ビットに割り当てる編集方式である。上述のようにNRZI方式に限られる処理である。   The permutation editing process is an editing method in which the magnetization transition lines read from the track (track 0) 104a and the track (track 1) 104b are assigned to 0 or 1 bits in the read order. As described above, the process is limited to the NRZI system.

図15は、順列編集処理を具体的に説明する図である。図15(A)〜(C)は、4ビット単位のデータビットに対応して書込まれたトラック(トラック0)104a及びトラック(トラック1)104bで、読取られた磁化転移線を示す図である。時間の進行方向は右方向である。上述したように、0ビットがトラック0に書込まれ、1ビットがトラック1に書込まれる。磁化転移線の各番号は、データビットに対応する番号である。   FIG. 15 is a diagram for specifically explaining the permutation editing process. FIGS. 15A to 15C are diagrams showing magnetization transition lines read in the track (track 0) 104a and the track (track 1) 104b written in correspondence with data bits in units of 4 bits. is there. The direction of time is the right direction. As described above, 0 bits are written to track 0 and 1 bit is written to track 1. Each number of the magnetization transition line is a number corresponding to a data bit.

図15(A)は、ジッターの発生のない場合の、トラック104a及びトラック104bから読取られた磁化転移線を示す図である。各磁化転移線は、全て等間隔で読取られ、磁化転移線の間隔をここでは100%と表示する。   FIG. 15A is a diagram showing magnetization transition lines read from the track 104a and the track 104b when there is no occurrence of jitter. All the magnetization transition lines are read at equal intervals, and the interval between the magnetization transition lines is indicated here as 100%.

図15(B)は、6ビット目の磁化転移線が、本来の位置より−75%だけ5ビット目の磁化転移線に近づいたタイミングで読取られた場合である。例えば、5ビットから6ビット目間での書込み時に、磁気ヘッド32の走行が極端に遅くなったような場合、あるいは逆に5ビットから6ビット目間での読取り時に、磁気ヘッド32の走行が極端に速くなったような場合である。また、これらが組み合わさった場合もある。   FIG. 15B shows a case where the 6-bit magnetization transition line is read at a timing when it approaches the 5-bit magnetization transition line by −75% from the original position. For example, when the magnetic head 32 travels extremely slowly when writing between the 5th and 6th bits, or conversely, when the reading between the 5th and 6th bits is performed, the magnetic head 32 travels. This is the case when it becomes extremely fast. Moreover, these may be combined.

図15(C)は、6ビット目の磁化転移線が、本来の位置より+75%(175%)だけ5ビット目の磁化転移線から離れたタイミングで読取られた場合である。例えば、5ビットから6ビット目間での書込みで、磁気ヘッド32の走行が極端に速く、あるいは読取りで極端に遅くなったような場合である。   FIG. 15C shows a case where the 6-bit magnetization transition line is read at a timing separated from the 5-bit magnetization transition line by + 75% (175%) from the original position. For example, this is a case where the magnetic head 32 travels extremely fast during reading between the 5th and 6th bits or extremely slow during reading.

通常編集処理であれば、MSデータのジッターが±50%(50%〜150%)以上あるとデータ編集を行わないので、図15(B)や(C)のような6ビット目のデータは、見落とされてしまい、エラーとなってしまう。順列編集処理では、磁化転移線の間隔によらずに、磁化転移線の順番に従ってデータを編集する方式であるので、図15(B)や(C)のような大きなジッターが発生した6ビット目であっても、見落とすことなく読取ることが可能になる。   In the case of normal editing processing, data editing is not performed if the jitter of the MS data is ± 50% (50% to 150%) or more. Therefore, the 6th bit data as shown in FIGS. Is overlooked and results in an error. In the permutation editing process, data is edited in accordance with the order of the magnetization transition lines, regardless of the interval between the magnetization transition lines. Therefore, the sixth bit in which large jitter as shown in FIGS. 15B and 15C has occurred. Even so, it can be read without being overlooked.

MSデータ編集部35は、順列編集処理後、読取った全ビットが正常かを判断する(ステップS20)。ステップS20は、説明済であるので、省略する。   After the permutation editing process, the MS data editing unit 35 determines whether all the read bits are normal (step S20). Step S20 has already been described and will be omitted.

ステップS22に戻り、MSデータ編集部35は、ジッターが200%以上であると判断すると(ステップS22Yes)、ジッターが大きすぎて誤ったデータ編集が行われる可能性もあるので、順列編集処理は行わずにステップS50に進む。   Returning to step S22, if the MS data editing unit 35 determines that the jitter is 200% or more (Yes in step S22), the permutation editing process is performed because the jitter is too large and erroneous data editing may be performed. Without proceeding to step S50.

ステップS14に戻り、MSデータ編集部35は、規定時間範囲内に開始符号D2を検出できなかったと判断すると(ステップS14No)、規定時間の範囲を変更する(ステップS30)。   Returning to step S14, when the MS data editing unit 35 determines that the start code D2 cannot be detected within the specified time range (No in step S14), the MS data editing unit 35 changes the specified time range (step S30).

図14は、磁気ストライプ102に対するトラック104a及びトラック104bの仕様上の位置を示す図である。図14を用いて、規定時間範囲の変更を説明する。   FIG. 14 is a diagram showing the positions on the specifications of the track 104a and the track 104b with respect to the magnetic stripe 102. FIG. The change of the specified time range will be described with reference to FIG.

仕様上(規格上)では、全長Lの磁気ストライプ102に対して、全長L1のトラック104a及びトラック104bは、書込み開始位置が磁気ストライプ102右端からL2の位置に、書込み開始終了位置が磁気ストライプ102左端からL3の位置になるとする。SPSから開始符号D2までの長さは、前述のようにS1である。   In the specification (standard), the track 104a and the track 104b with the full length L1 are written at the position L2 from the right end of the magnetic stripe 102 and the write start end position is at the magnetic stripe 102 with respect to the magnetic stripe 102 with the full length L. It is assumed that the position is L3 from the left end. The length from the SPS to the start code D2 is S1 as described above.

そして、図11(B)で示したように、トラック104a及びトラック104bの終了位置が磁気ストライプ102の左端に有る場合に、開始符号D2の検出時間が最も遅くなる。その時間は、(S1+L3)/V である。   As shown in FIG. 11B, when the end position of the track 104a and the track 104b is at the left end of the magnetic stripe 102, the detection time of the start code D2 is the latest. The time is (S1 + L3) / V.

逆に、図11(C)で示したように、トラック104a及びトラック104bの開始位置が磁気ストライプ102の右端に有る場合に、開始符号D2の検出時間が最も早くなる。その時間は、(S1―L2)/V である。   Conversely, as shown in FIG. 11C, when the start position of the track 104a and the track 104b is at the right end of the magnetic stripe 102, the detection time of the start code D2 is the earliest. The time is (S1-L2) / V.

従って、規定時間設定部36は、規定時間の範囲を、(S1−L2)/Vから(S1+L3)/Vの範囲に変更(拡張)することで、磁気ストライプ102のいずれかに書込まれたトラック104a及びトラック104bから、開始符号D2を検出することができる。   Therefore, the specified time setting unit 36 writes (writes) one of the magnetic stripes 102 by changing (expanding) the specified time range from (S1-L2) / V to (S1 + L3) / V. The start code D2 can be detected from the track 104a and the track 104b.

換言すれば、MSデータ編集部35は、磁気ストライプ102の一方の端部にトラック104a及びトラック104bの先端が位置するとした場合のトラック104a及びトラック104bに対して開始符号D2が検出される第1の時間((S1―L2)/V)から、磁気ストライプ102の他方の端部にトラック104a及びトラック104bの後端が位置するとした場合のトラック104a及びトラック104bに対して開始符号D2が検出される第2の時間((S1+L3)/V)までの範囲で、MSデータの中から前記開始符号D2を検出する処理を行う。   In other words, the MS data editing unit 35 detects the start code D2 for the track 104a and the track 104b when the leading ends of the track 104a and the track 104b are located at one end of the magnetic stripe 102. Time ((S1-L2) / V), the start code D2 is detected for the track 104a and the track 104b when the rear ends of the track 104a and the track 104b are located at the other end of the magnetic stripe 102. In the range up to the second time ((S1 + L3) / V), the start code D2 is detected from the MS data.

規定時間の範囲を変更後(ステップS30)、MSデータ編集部35は、MSデータのジッターが正常か(±50%以内)を判断し(ステップS32)、ジッターが正常と判断すると(ステップS32Yes)、ステップS34に進む。   After changing the specified time range (step S30), the MS data editing unit 35 determines whether the jitter of the MS data is normal (within ± 50%) (step S32), and determines that the jitter is normal (step S32 Yes). The process proceeds to step S34.

MSデータ編集部35は、変更した規定時間の範囲内で開始符号D2の検出を行い、開始符号D2を検出したかを判断する(ステップS34)。MSデータ編集部35は、開始符号D2を検出したと判断すると(ステップS34Yes)、開始符号D2のビット位置に基づき、データの追加編集処理を行う(ステップS36)。そして、MSデータ編集部35は、読取った全ビットが正常かを判断する(ステップS20)。ステップS20は、説明済であるので、省略する。   The MS data editing unit 35 detects the start code D2 within the changed specified time range, and determines whether the start code D2 has been detected (step S34). When the MS data editing unit 35 determines that the start code D2 has been detected (Yes in step S34), the MS data editing unit 35 performs additional data editing processing based on the bit position of the start code D2 (step S36). Then, the MS data editing unit 35 determines whether all the read bits are normal (step S20). Step S20 has already been described and will be omitted.

MSデータ編集部35は、開始符号D2を検出できないと判断すると(ステップS34No)、ステップS50に進む。   If the MS data editing unit 35 determines that the start code D2 cannot be detected (No in step S34), the process proceeds to step S50.

ステップS32に戻る。MSデータ編集部35は、ジッターが正常でないと判断すると(ステップS32No)、MSデータ編集部35は、ジッターが200%以上であるかを判断する(ステップS40)。   The process returns to step S32. When the MS data editing unit 35 determines that the jitter is not normal (No in step S32), the MS data editing unit 35 determines whether the jitter is 200% or more (step S40).

MSデータ編集部35は、ジッターが200%以上であると判断すると(ステップS40Yes)、ステップS50に進む。   If the MS data editing unit 35 determines that the jitter is 200% or more (step S40 Yes), the process proceeds to step S50.

MSデータ編集部35は、ジッターが200%以上ではないと判断すると(ステップS40No)、変更した規定時間の範囲内で開始符号D2の検出を行い、開始符号D2を検出したかを判断する(ステップS42)。MSデータ編集部35は、開始符号D2を検出できないと判断すると(ステップS42No)、ステップS50に進む。   If the MS data editing unit 35 determines that the jitter is not 200% or more (No in step S40), the MS data editing unit 35 detects the start code D2 within the changed specified time range, and determines whether the start code D2 is detected (step S40). S42). If the MS data editing unit 35 determines that the start code D2 cannot be detected (No in step S42), the process proceeds to step S50.

MSデータ編集部35は、開始符号D2を検出したと判断すると(ステップS42Yes)、規定時間範囲を変更して検出した開始符号D2による追加編集処理、および磁化転移線の順番に従ってデータを編集する順列編集処理を行う(ステップS44)。   When the MS data editing unit 35 determines that the start code D2 has been detected (Yes in step S42), the permutation for editing the data according to the additional editing process using the start code D2 detected by changing the specified time range and the order of the magnetization transition lines Editing processing is performed (step S44).

追加編集処理/順列編集処理の後、読取った全ビットが正常かを判断する(ステップS20)。ステップS20は、説明済であるので、省略する。   After the additional editing process / permutation editing process, it is determined whether all the read bits are normal (step S20). Step S20 has already been described and will be omitted.

図13Bに進む。往路側の読取りに失敗した場合には、MS制御部31は、復路側リトライの読取りを実行する(ステップS50)。往路側とは逆に、磁気ヘッド32をh4からh1へ走行させて、磁気ストライプ102に書込まれた磁気信号を磁気ヘッド32で読取らせ、読取った磁気信号を2値化してMSデータとしてメモリ37に記憶させる。   Proceed to FIG. 13B. When the reading on the outward path side has failed, the MS control unit 31 performs the reading of the return path side retry (step S50). Contrary to the forward side, the magnetic head 32 is moved from h4 to h1, the magnetic signal written in the magnetic stripe 102 is read by the magnetic head 32, and the read magnetic signal is binarized as MS data. It is stored in the memory 37.

MSデータ編集部35は、MSデータから前ダミーD1の検出を行い、前ダミーD1が検出できたかを判断し(ステップS52)、前ダミーD1が検出できたと判断すると(ステップS52Yes)、ステップS14に進み、上述の処理を行う。   The MS data editing unit 35 detects the previous dummy D1 from the MS data, determines whether the previous dummy D1 has been detected (step S52), and determines that the previous dummy D1 has been detected (step S52 Yes), the process proceeds to step S14. The process described above is performed.

MS制御部31は、MSデータ編集部35で前ダミーD1が検出できないと判断すると(ステップS52No)、MSユニット20内で通帳100を再セットする処理を行い(ステップS54)、往路側で読取りを実行する(ステップS56)。通帳100がずれた位置にセットされて読取りができない場合には、再セットで解消される。   When the MS control unit 31 determines that the previous dummy D1 cannot be detected by the MS data editing unit 35 (No in step S52), the MS control unit 31 performs a process of resetting the bankbook 100 in the MS unit 20 (step S54), and reads on the forward path side. Execute (step S56). If the bankbook 100 is set at a shifted position and cannot be read, it is solved by resetting.

MSデータ編集部35は、MSデータから前ダミーD1の検出を行い、前ダミーD1が検出できたかを判断し(ステップS58)、前ダミーD1が検出できたと判断すると(ステップS58Yes)、ステップS14に進み、上述の処理を行う。   The MS data editing unit 35 detects the previous dummy D1 from the MS data, determines whether the previous dummy D1 has been detected (step S58), and determines that the previous dummy D1 has been detected (step S58 Yes), the process proceeds to step S14. The process described above is performed.

MS制御部31は、MSデータ編集部35で前ダミーD1が検出できないと判断すると(ステップS58No)、MS制御部31は、復路側リトライの読取りを実行する(ステップS60)。MSデータ編集部35は、MSデータから前ダミーD1の検出を行い、前ダミーD1が検出できたかを判断する(ステップS62)。前ダミーD1が検出できたと判断すると(ステップS62Yes)、ステップS14に進み、前述の処理を行う。   When the MS control unit 31 determines that the front dummy D1 cannot be detected by the MS data editing unit 35 (No in step S58), the MS control unit 31 performs a return-side retry reading (step S60). The MS data editing unit 35 detects the previous dummy D1 from the MS data, and determines whether the previous dummy D1 has been detected (step S62). If it is determined that the previous dummy D1 has been detected (Yes in step S62), the process proceeds to step S14 and the above-described processing is performed.

MS制御部31は、MSデータ編集部35で前ダミーD1が検出できないと判断すると(ステップS62No)、通帳100を再セットする処理を行い(ステップS64)、往路側で読取りを実行する(ステップS66)。   If the MS control unit 31 determines that the previous dummy D1 cannot be detected by the MS data editing unit 35 (No in step S62), the MS control unit 31 performs a process of resetting the passbook 100 (step S64), and executes reading on the forward path side (step S66). ).

MSデータ編集部35は、MSデータから前ダミーD1の検出を行い、前ダミーD1が検出できたかを判断し(ステップS68)、前ダミーD1が検出できたと判断すると(ステップS68Yes)、ステップS14に進み、上述の処理を行う。   The MS data editing unit 35 detects the previous dummy D1 from the MS data, determines whether the previous dummy D1 has been detected (step S68), and determines that the previous dummy D1 has been detected (step S68 Yes), the process proceeds to step S14. The process described above is performed.

MS制御部31は、MSデータ編集部35で前ダミーD1が検出できないと判断すると(ステップS68No)、復路側で読取りを実行する(ステップS70)。   If the MS control unit 31 determines that the front dummy D1 cannot be detected by the MS data editing unit 35 (No in step S68), the MS control unit 31 performs reading on the return path side (step S70).

MSデータ編集部35は、MSデータから前ダミーD1の検出を行い、前ダミーD1が検出できたかを判断し(ステップS72)、前ダミーD1が検出できたと判断すると(ステップS72Yes)、ステップS14に進み、上述の処理を行う。   The MS data editing unit 35 detects the previous dummy D1 from the MS data, determines whether the previous dummy D1 has been detected (step S72), and determines that the previous dummy D1 has been detected (step S72 Yes), the process proceeds to step S14. The process described above is performed.

MS制御部31は、MSデータ編集部35で前ダミーD1が検出できないと判断すると(ステップS72No)、読取りエラーとして、ATM制御部8に通知して(ステップS74)、処理を終了する。   When the MS control unit 31 determines that the previous dummy D1 cannot be detected by the MS data editing unit 35 (No in step S72), the MS control unit 31 notifies the ATM control unit 8 as a reading error (step S74) and ends the process.

以上説明したように、開始符号の検出を最初は規定時間の範囲で行い、規定時間範囲で検出できない場合に規定時間の範囲を変更拡張した追加編集処理を行うことで、仕様に沿って記録された大部分の通帳に対してデータ編集処理時間を遅延させることなく、仕様外の位置に記録された通帳でも読取ることが可能になる。これにより、機器間およびメーカー間での互換性の範囲をより広げることができる。   As described above, the start code is initially detected within the specified time range, and if it cannot be detected within the specified time range, additional editing processing is performed to change and extend the specified time range. In addition, it is possible to read a passbook recorded at a location outside the specification without delaying the data editing processing time for most passbooks. Thereby, the range of compatibility between apparatuses and between manufacturers can be further expanded.

また、規定時間の変更範囲を、磁気ストライプ範囲内に全長が書込まれたトラックを限度として設定したので、規定時間の範囲を無用に広くして、処理時間の遅延を発生することもない。   In addition, since the change range of the specified time is set with the track having the entire length written in the magnetic stripe range as the limit, the range of the specified time is unnecessarily widened and processing time is not delayed.

また、NRZI方式で記録されたデータに対して、ジッターが大きい場合には、順列編集処理を行うことで、大きなジッターのデータも読取ることができる。なお、順列編集処理は追加編集処理と組み合わせることなく、単独でも適用可能である。   In addition, when the jitter is large with respect to the data recorded by the NRZI method, data with a large jitter can be read by performing the permutation editing process. The permutation editing process can be applied alone without being combined with the additional editing process.

また、磁気ストライプデータ処理装置につき、通帳の磁気ストライプの読取りに適用した例で説明したが、これに限るものではなく、磁気カード等の磁気ストライプにも適用可能である。また、MS制御部31及びMSデータ編集部35を、CPUにより実現されるソフトウェアによる機能として説明したが、これに限るものではなく、一部あるいは全部をハードウェアで構成してもよい。   Further, although the magnetic stripe data processing apparatus has been described as an example applied to reading of a magnetic stripe in a bankbook, the present invention is not limited to this, and can be applied to a magnetic stripe such as a magnetic card. Further, the MS control unit 31 and the MS data editing unit 35 have been described as functions by software realized by the CPU, but the present invention is not limited to this, and part or all of them may be configured by hardware.

なお、本発明は上述した実施形態そのままに限定されるものではく、実施段階でのその要旨を逸脱しない範囲で構成要素を変形して具体化することができる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成することができる。例えば、実施形態に示される全構成要素を適宜組み合わせても良い。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。このような、発明の趣旨を逸脱しない範囲内において種々の変形や応用が可能であることはもちろんである。   Note that the present invention is not limited to the above-described embodiments as they are, and can be embodied by modifying the components without departing from the scope of the invention in the implementation stage. Moreover, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiment. For example, all the constituent elements shown in the embodiments may be appropriately combined. Furthermore, constituent elements over different embodiments may be appropriately combined. It goes without saying that various modifications and applications are possible without departing from the spirit of the invention.

1 ATM
5 通帳処理ユニット
10 プリンタ制御部
20 MS(磁気ストライプ)ユニット
31 MS(磁気ストライプ)制御部
32 磁気ヘッド
33 モータ
34 センサ
35 MS(磁気ストライプ)データ編集部
36 規定時間設定部
37 メモリ
100 通帳
102 磁気ストライプ
104a、104b トラック
110 ストッパー
1 ATM
5 Passbook Processing Unit 10 Printer Control Unit 20 MS (Magnetic Stripe) Unit 31 MS (Magnetic Stripe) Control Unit 32 Magnetic Head 33 Motor 34 Sensor 35 MS (Magnetic Stripe) Data Editing Unit 36 Specified Time Setting Unit 37 Memory 100 Passbook 102 Magnetic Stripe 104a, 104b Track 110 Stopper

Claims (6)

磁気ストライプデータに対する処理を行う磁気ストライプデータ処理装置において、
前記磁気ストライプへデータの書き込みまたは読取りを行う磁気ヘッドと、
前記磁気ストライプから前記磁気ヘッドで読取られた磁気ストライプデータをMSデータとして記憶するメモリと、
前記磁気ストライプデータ処理装置の制御を行うMS制御部と、
前記メモリに記憶された前記MSデータを編集して、データ列に変換する磁気ストライプデータ編集部を有し、
前記磁気ストライプデータ編集部は、前記MSデータに含まれる開始符号の検出時間の範囲を設定するものであって、前記磁気ヘッドの走行方向に沿った前記磁気ストライプの両端からトラックの先端と後端がいずれも所定距離離れるような位置に記録された場合の前記トラックにおいて、前記走行する磁気ヘッドによって前記トラックに含まれる開始符号が読取られるまでの時間を規定時間とする規定時間設定部を有し、
前記磁気ストライプデータ編集部は、前記メモリに記憶された前記MSデータに対し、前記規定時間の範囲内に読取られた前記MSデータの中から前記開始符号を検出する処理を行い、
前記規定時間の範囲内に読取られた前記MSデータの中から前記開始符号を検出することができなかったときには、前記磁気ストライプの一方の端部に前記トラックの先端が位置するとした場合の前記トラックに対して前記開始符号が検出される第1の時間から、前記磁気ストライプの他方の端部に前記トラックの後端が位置するとした場合の前記トラックに対して前記開始符号が検出される第2の時間までの範囲で、前記MSデータの中から前記開始符号を検出する処理を行う
ことを特徴とする磁気ストライプデータ処理装置。
In a magnetic stripe data processing apparatus for processing magnetic stripe data,
A magnetic head for writing or reading data on the magnetic stripe;
A memory for storing, as MS data, magnetic stripe data read from the magnetic stripe by the magnetic head;
An MS control unit for controlling the magnetic stripe data processing apparatus;
A magnetic stripe data editing unit that edits the MS data stored in the memory and converts the data into a data string;
The magnetic stripe data editing unit sets a range of a detection time of a start code included in the MS data, and includes a track leading end and a trailing end from both ends of the magnetic stripe along the traveling direction of the magnetic head. In the case where each track is recorded at a position that is separated by a predetermined distance, a specified time setting unit that sets the time until the start code included in the track is read by the traveling magnetic head as a specified time is provided. ,
The magnetic stripe data editing unit performs a process of detecting the start code from the MS data read within the specified time range for the MS data stored in the memory,
The track when the leading edge of the track is located at one end of the magnetic stripe when the start code cannot be detected from the MS data read within the range of the specified time From the first time when the start code is detected, the start code is detected for the track when the trailing end of the track is located at the other end of the magnetic stripe. A magnetic stripe data processing apparatus for performing the process of detecting the start code from the MS data in a range up to
前記規定時間は、前記磁気ヘッドが所定の位置を通過する時から開始する
ことを特徴とする請求項1に記載の磁気ストライプデータ処理装置。
2. The magnetic stripe data processing apparatus according to claim 1, wherein the specified time starts when the magnetic head passes a predetermined position.
前記トラックは第1及び第2のトラックの2つのトラックからなり、前記MSデータとなる1ビット形式の0または1のデータについて、前記0のデータを前記第1のトラックに、前記1のデータを前記第2のトラックに、それぞれ一定の時間間隔で記録するNRZI記録方式によるトラックであって、
前記第1及び第2のトラックの各MSデータ間の時間ずれが所定量より大きい場合には、前記第1及び第2のトラックからそれぞれ読み出され、前記メモリに記憶されたMSデータを読出して順番に並べて編集する順列編集を行う
ことを特徴とする請求項1に記載の磁気ストライプデータ処理装置。
The track is composed of two tracks, a first track and a second track. For the 1-bit format 0 or 1 data to be the MS data, the 0 data is used as the first track, and the 1 data is stored as the first track. NRZI recording system tracks that are recorded on the second track at regular time intervals,
When the time difference between the MS data of the first and second tracks is larger than a predetermined amount, the MS data read from the first and second tracks and stored in the memory is read. The magnetic stripe data processing apparatus according to claim 1, wherein permutation editing is performed to arrange and edit in order.
前記MSデータ間の時間ずれが、前記一定の時間間隔の2倍以上であった場合には、前記順列編集を行わない
ことを特徴とする請求項3に記載の磁気ストライプデータ処理装置。
4. The magnetic stripe data processing apparatus according to claim 3, wherein the permutation editing is not performed when a time lag between the MS data is more than twice the fixed time interval.
磁気ストライプデータ処理装置に設けられる磁気ストライプデータ編集部において磁気ストライプデータを編集する磁気ストライプデータ編集方法において、
前記磁気ストライプデータ処理装置は、前記磁気ストライプへデータの書き込みまたは読取りを行う磁気ヘッドと、前記磁気ストライプから前記磁気ヘッドで読取られた磁気ストライプデータをMSデータとして記憶するメモリと、前記磁気ストライプデータ処理装置の制御を行うMS制御部と有し、
前記磁気ストライプデータ編集部は、前記メモリに記憶された前記MSデータを編集して、データ列に変換し、
さらに前記磁気ストライプデータ編集部は、前記MSデータに含まれる開始符号の検出時間の範囲を設定するものであって、前記磁気ヘッドの走行方向に沿った前記磁気ストライプの両端からトラックの先端と後端がいずれも所定距離離れるような位置に記録された場合の前記トラックにおいて、前記走行する磁気ヘッドによって前記トラックに含まれる開始符号が読取られるまでの時間を規定時間とする規定時間設定部を有し、
前記磁気ストライプデータ編集方法は、前記メモリに記憶された前記MSデータに対し、前記規定時間の範囲内に読取られた前記MSデータの中から前記開始符号を検出する処
理を行い、
前記規定時間の範囲内に読取られた前記MSデータの中から前記開始符号を検出することができなかったときには、前記磁気ストライプの一方の端部に前記トラックの先端が位置するとした場合の前記トラックに対して前記開始符号が検出される第1の時間から、前記磁気ストライプの他方の端部に前記トラックの後端が位置するとした場合の前記トラックに対して前記開始符号が検出される第2の時間までの範囲で、前記MSデータの中から前記開始符号を検出する処理を行う
ことを特徴とする磁気ストライプデータ編集方法。
In a magnetic stripe data editing method for editing magnetic stripe data in a magnetic stripe data editing unit provided in a magnetic stripe data processing apparatus,
The magnetic stripe data processing device includes a magnetic head for writing or reading data to the magnetic stripe, a memory for storing magnetic stripe data read from the magnetic stripe by the magnetic head as MS data, and the magnetic stripe data. An MS control unit for controlling the processing apparatus;
The magnetic stripe data editing unit edits the MS data stored in the memory, converts the data into a data string,
Further, the magnetic stripe data editing unit sets a detection time range of a start code included in the MS data, and includes a track leading edge and a trailing edge from both ends of the magnetic stripe along the traveling direction of the magnetic head. When the track is recorded at a position where both ends are separated from each other by a predetermined distance, the track has a specified time setting unit that sets a specified time as a time until the start code included in the track is read by the traveling magnetic head. And
The magnetic stripe data editing method performs a process of detecting the start code from the MS data read within the specified time range for the MS data stored in the memory,
The track when the leading edge of the track is located at one end of the magnetic stripe when the start code cannot be detected from the MS data read within the range of the specified time From the first time when the start code is detected, the start code is detected for the track when the trailing end of the track is located at the other end of the magnetic stripe. A method for editing magnetic stripe data, comprising: performing a process of detecting the start code from the MS data in a range up to the time of (1).
磁気ストライプデータ処理装置に設けられる磁気ストライプデータ編集部のコンピュータに磁気ストライプデータの編集を実行させるプログラムにおいて、
前記磁気ストライプデータ処理装置は、前記磁気ストライプへデータの書き込みまたは読取りを行う磁気ヘッドと、前記磁気ストライプから前記磁気ヘッドで読取られた磁気ストライプデータをMSデータとして記憶するメモリと、前記磁気ストライプデータ処理装置の制御を行う磁気ストライプ制御部と有し、
前記磁気ストライプデータ編集部は、前記メモリに記憶された前記MSデータを編集して、データ列に変換し、
さらに前記磁気ストライプ編集部は、前記MSデータに含まれる開始符号の検出時間の範囲を設定するものであって、前記磁気ヘッドの走行方向に沿った前記磁気ストライプの両端からトラックの先端と後端がいずれも所定距離離れるような位置に記録された場合の前記トラックにおいて、前記走行する磁気ヘッドによって前記トラックに含まれる開始符号が読取られるまでの時間を規定時間とする規定時間設定部を有し、
前記プログラムは、前記メモリに記憶された前記MSデータに対し、前記規定時間の範囲内に読取られた前記MSデータの中から前記開始符号を検出する処理を行うステップと、
前記規定時間の範囲内に読取られた前記MSデータの中から前記開始符号を検出することができなかったときには、前記磁気ストライプの一方の端部に前記トラックの先端が位置するとした場合の前記トラックに対して前記開始符号が検出される第1の時間から、前記磁気ストライプの他方の端部に前記トラックの後端が位置するとした場合の前記トラックに対して前記開始符号が検出される第2の時間までの範囲で、前記MSデータの中から前記開始符号を検出する処理を行うステップを含む
ことを特徴とするプログラム。
In a program for causing a computer of a magnetic stripe data editing unit provided in a magnetic stripe data processing apparatus to edit magnetic stripe data,
The magnetic stripe data processing device includes a magnetic head for writing or reading data to the magnetic stripe, a memory for storing magnetic stripe data read from the magnetic stripe by the magnetic head as MS data, and the magnetic stripe data. A magnetic stripe control unit for controlling the processing apparatus;
The magnetic stripe data editing unit edits the MS data stored in the memory, converts the data into a data string,
Further, the magnetic stripe editing unit sets a detection time range of a start code included in the MS data, and includes a track leading edge and a trailing edge from both ends of the magnetic stripe along the traveling direction of the magnetic head. In the case where each track is recorded at a position that is separated by a predetermined distance, a specified time setting unit that sets the time until the start code included in the track is read by the traveling magnetic head as a specified time is provided. ,
The program performs a process of detecting the start code from the MS data read within the specified time range for the MS data stored in the memory;
The track when the leading edge of the track is located at one end of the magnetic stripe when the start code cannot be detected from the MS data read within the range of the specified time From the first time when the start code is detected, the start code is detected for the track when the trailing end of the track is located at the other end of the magnetic stripe. A program comprising a step of performing a process of detecting the start code from the MS data in a range up to the time of.
JP2013014391A 2013-01-29 2013-01-29 Magnetic stripe data processor Active JP6005538B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013014391A JP6005538B2 (en) 2013-01-29 2013-01-29 Magnetic stripe data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013014391A JP6005538B2 (en) 2013-01-29 2013-01-29 Magnetic stripe data processor

Publications (2)

Publication Number Publication Date
JP2014146396A JP2014146396A (en) 2014-08-14
JP6005538B2 true JP6005538B2 (en) 2016-10-12

Family

ID=51426513

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013014391A Active JP6005538B2 (en) 2013-01-29 2013-01-29 Magnetic stripe data processor

Country Status (1)

Country Link
JP (1) JP6005538B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5323398B2 (en) * 2008-06-03 2013-10-23 沖電気工業株式会社 Recording density determination device, automatic teller machine, and recording density determination program
JP5687821B2 (en) * 2008-12-26 2015-03-25 富士通フロンテック株式会社 Reading method of magnetic recording medium and booklet medium processing apparatus provided with magnetic recording medium
JP2012099196A (en) * 2010-11-05 2012-05-24 Hitachi Omron Terminal Solutions Corp Magnetic stripe writing method and magnetic stripe reading device using the same

Also Published As

Publication number Publication date
JP2014146396A (en) 2014-08-14

Similar Documents

Publication Publication Date Title
JP5806685B2 (en) How to measure timing within a timing-based servo band
US8611039B2 (en) Arrangement and processing of longitudinal position information on a data storage medium
JP6005538B2 (en) Magnetic stripe data processor
JP5323398B2 (en) Recording density determination device, automatic teller machine, and recording density determination program
JP6956657B2 (en) Magnetic card device
JP5687821B2 (en) Reading method of magnetic recording medium and booklet medium processing apparatus provided with magnetic recording medium
JP6212415B2 (en) Magnetic information reading apparatus, magnetic information reading method, and automatic transaction apparatus
JP5801275B2 (en) Magnetic stripe read / write unit
JP3962307B2 (en) Booklet handling equipment
CN119093972B (en) Communication device, communication method and readable storage medium
JP5176516B2 (en) Automatic transaction equipment
JP4210372B2 (en) Magnetic code reader and magnetic code reading method
KR100964293B1 (en) Method and apparatus for recording serial number on magnetic tape of bank book
JP2010015393A (en) Passbook handling device, bank automated teller machine, and automatic passbook stop position adjustment program
JP7171401B2 (en) PASSBOOK HANDLING DEVICE AND PASSBOOK HANDLING DEVICE CONTROL METHOD
JP4402000B2 (en) Magnetic recording medium authenticity determination method and magnetic recording medium reading / writing apparatus
JP2912395B2 (en) Media processing device
JP3536222B2 (en) Magnetic reader
KR100366420B1 (en) Transfer apparatus in bankbook printer
JP2006011582A (en) Magnetic media handling device
KR20210081488A (en) Check recognition apparatus
JPH10208202A (en) Writing method and writing device for magnetic stripe data
JPH0514299B2 (en)
JPH11328853A (en) Magnetic medium reader/writer and storage medium
JP2007188572A (en) Passbook information recording / reproducing device and passbook transaction device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150218

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160301

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160420

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20160906

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160907

R150 Certificate of patent or registration of utility model

Ref document number: 6005538

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250