JP2012203958A - Magnetic information reader, magnetic information reading system, control method of magnetic information reader, and program - Google Patents
Magnetic information reader, magnetic information reading system, control method of magnetic information reader, and program Download PDFInfo
- Publication number
- JP2012203958A JP2012203958A JP2011067605A JP2011067605A JP2012203958A JP 2012203958 A JP2012203958 A JP 2012203958A JP 2011067605 A JP2011067605 A JP 2011067605A JP 2011067605 A JP2011067605 A JP 2011067605A JP 2012203958 A JP2012203958 A JP 2012203958A
- Authority
- JP
- Japan
- Prior art keywords
- magnetic information
- magnetic
- reading
- pulse
- reference value
- 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.)
- Withdrawn
Links
Images
Abstract
Description
本発明は、磁気情報を読み取る磁気情報読取装置、磁気情報読取システム、磁気情報読取装置の制御方法、及び、プログラムに関する。 The present invention relates to a magnetic information reader that reads magnetic information, a magnetic information reader system, a control method for a magnetic information reader, and a program.
従来、通帳に付されている磁気ストライプ等の磁気情報記録媒体に磁気的に記録された情報を読み取る装置が知られている(例えば、特許文献1)。通常、磁気情報の読み取りには特許文献1に記載のように、磁気ヘッドによって磁気情報を読み取ってアナログ波形を生成し、このアナログ波形をパルスに変換し、パルス幅を予め設定された基準値と比較することによりデータ「0」または「1」に変換して、デジタルデータを出力する。
2. Description of the Related Art Conventionally, an apparatus for reading information magnetically recorded on a magnetic information recording medium such as a magnetic stripe attached to a passbook is known (for example, Patent Document 1). Usually, as described in
ところで、パルス幅をデジタルデータの値に変換する際に用いる基準値が適切でない場合には、正確にデジタルデータに変換することができない。このような場合、出力されたデジタルデータが規格に適しない異常なデータとなるので、エラーと判定される。読取エラーが発生した場合、従来は読み取りを再試行していたが、読み取り動作を再試行することで処理に要する時間が長くなり、効率向上の妨げになる可能性があった。
本発明は、上述した事情に鑑みてなされたものであり、磁気情報記録媒体から磁気情報を読み取りデジタルデータに変換する際の基準値が適切でないことに起因するエラーを解消できるようにし、再試行の回数を減らして処理時間の短縮を図ることを目的とする。
By the way, if the reference value used when converting the pulse width into the value of digital data is not appropriate, it cannot be converted into digital data accurately. In such a case, since the output digital data is abnormal data that does not conform to the standard, it is determined as an error. Conventionally, when a reading error occurs, reading is retried, but retrying the reading operation increases the time required for processing, which may hinder efficiency improvement.
The present invention has been made in view of the above-described circumstances, and makes it possible to eliminate an error caused by an inappropriate reference value when reading magnetic information from a magnetic information recording medium and converting it into digital data. The purpose is to shorten the processing time by reducing the number of times.
上記目的を達成するため、本発明は、磁気情報記録媒体に記録された磁気情報を読み取る磁気情報読取装置であって、前記磁気情報記録媒体に記録された磁気情報を読み取ってアナログ波形を出力する磁気ヘッドと、前記磁気ヘッドの出力波形をパルスに変換して出力するパルス出力手段と、前記パルス出力手段が出力するパルスのパルス周期を基準値と比較することにより二値化して、デジタルデータを出力する変換手段と、所定の条件を満たす場合に前記変換手段が用いる前記基準値を変更する変換制御手段と、を備えることを特徴とする。
本発明によれば、磁気ヘッドが出力するアナログ波形から得たパルスをデジタルデータに変換する際の基準値を変更することで、例えば磁気ヘッド等のハードウェアの状態により基準値が適合しなくなった場合など、基準値の不適合状態を解消できる。これにより、基準値に起因する読取エラーを解消することができ、読取動作の再試行を回避することで処理時間の短縮を図ることができる。
In order to achieve the above object, the present invention provides a magnetic information reader for reading magnetic information recorded on a magnetic information recording medium, and reads the magnetic information recorded on the magnetic information recording medium and outputs an analog waveform. Digital data is obtained by binarizing the magnetic head, pulse output means for converting the output waveform of the magnetic head into a pulse, and comparing the pulse period of the pulse output by the pulse output means with a reference value. Conversion means for outputting, and conversion control means for changing the reference value used by the conversion means when a predetermined condition is satisfied.
According to the present invention, by changing the reference value when converting the pulse obtained from the analog waveform output by the magnetic head into digital data, the reference value is not adapted depending on the hardware state of the magnetic head, for example. In some cases, the non-conformance of the standard value can be resolved. Thereby, the reading error caused by the reference value can be eliminated, and the processing time can be shortened by avoiding the retry of the reading operation.
また、本発明は、上記磁気情報読取装置において、前記変換制御手段は、デジタルデータへの変換を行ったパルスのうち最新の所定数のパルスのパルス周期に基づいて、前記変換手段が用いる前記基準値を補正する機能を備え、前記所定の条件として前記変換手段が二値化したデータにおいて同じ値が連続して現れた場合に、他の値を検出しにくくなるように前記基準値を変更することを特徴とする。
本発明によれば、デジタルデータへの変換を行ったパルスのうち最新の所定数のパルスのパルス周期に基づいて基準値を補正する機能により、基準値を適切に保持することが可能な構成において、同一のデータが連続することで基準値が偏ってしまった場合に、この偏りに起因して他方のデータと判定されやすくなることを防止できる。これにより、基準値を補正する機能を活用するとともに、この機能による基準値の偏りを防止して、適切な基準値によるデジタルデータへの変換を行うことができる。
Further, the present invention provides the magnetic information reader, wherein the conversion control means uses the reference used by the conversion means based on a pulse period of the latest predetermined number of pulses among the pulses converted into digital data. A function of correcting a value, and when the same value appears continuously in the data binarized by the conversion means as the predetermined condition, the reference value is changed so that it is difficult to detect another value It is characterized by that.
According to the present invention, the reference value can be appropriately held by the function of correcting the reference value based on the pulse period of the latest predetermined number of pulses among the pulses converted into digital data. If the reference value is biased due to the same data being continued, it is possible to prevent the bias from being easily determined as the other data due to this bias. Thus, the function of correcting the reference value can be utilized, and the bias of the reference value due to this function can be prevented, and conversion into digital data using an appropriate reference value can be performed.
また、本発明は、上記磁気情報読取装置において、前記変換制御手段は、前記所定の条件として外部の装置から基準値の変更が指示された場合に、前記変換手段が用いる前記基準値を変更することを特徴とする。
本発明によれば、外部の装置から基準値の変更を指示することで基準値を変更できるので、基準値の不適合を解消し、読取動作の再試行を回避することで処理時間の短縮を図ることができる。
According to the present invention, in the magnetic information reader, the conversion control unit changes the reference value used by the conversion unit when an instruction to change a reference value is given from an external device as the predetermined condition. It is characterized by that.
According to the present invention, since the reference value can be changed by instructing the change of the reference value from an external device, the non-conformance of the reference value is resolved and the processing time is shortened by avoiding the retry of the reading operation. be able to.
また、上記課題を解決するため、本発明は、磁気情報記録媒体に記録された磁気情報を読み取る複数の磁気情報読取装置と、これら磁気情報読取装置と通信可能に接続された情報管理装置とを備えた磁気情報読取システムであって、前記磁気情報読取装置は、磁気情報記録領域と記録面を有する記録媒体に対し、前記磁気情報記録媒体に記録された磁気情報を読み取るとともに、前記記録面への記録を行う記録装置であって、前記磁気情報記録媒体に記録された磁気情報を読み取ってアナログ波形を出力する磁気ヘッドと、前記磁気ヘッドの出力波形をパルスに変換して出力するパルス出力手段と、前記パルス出力手段が出力するパルスのパルス周期を基準値と比較することにより二値化して、デジタルデータを出力する変換手段と、前記変換手段が用いる前記基準値を変更する変換制御手段と、を備え、前記情報管理装置は、各々の前記磁気情報読取装置が有する前記変換制御手段の制御によって設定された基準値を取得する手段と、各々の前記磁気情報読取装置に対して基準値を示す情報を送信する手段とを備え、前記磁気情報読取装置が備える変換制御手段は、前記情報管理装置から送信される基準値を、前記変換手段が用いる基準値として設定することを特徴とする。
本発明によれば、情報管理装置が基準値を送信することにより、磁気情報読取装置において磁気ヘッドが出力するアナログ波形から得たパルスをデジタルデータに変換する際の基準値を変更できる。このため、例えば磁気ヘッド等のハードウェアの状態に基準値が適合しなくなった場合など、基準値の不適合が発生した場合に、基準値を変更することで不適合状態を解消できる。これにより、基準値に起因する読取エラーを解消することができ、読取動作の再試行を回避することで処理時間の短縮を図ることができる。
In order to solve the above problems, the present invention includes a plurality of magnetic information reading devices that read magnetic information recorded on a magnetic information recording medium, and an information management device that is communicably connected to the magnetic information reading devices. A magnetic information reading system comprising: a magnetic information reading device that reads a magnetic information recorded on the magnetic information recording medium from a recording medium having a magnetic information recording area and a recording surface; A magnetic head for reading magnetic information recorded on the magnetic information recording medium and outputting an analog waveform, and pulse output means for converting the output waveform of the magnetic head into a pulse and outputting the pulse Conversion means for binarizing the pulse period of the pulse output by the pulse output means with a reference value and outputting digital data; and Conversion control means for changing the reference value used by the means, and the information management device acquires a reference value set by the control of the conversion control means included in each of the magnetic information reading devices; Means for transmitting information indicating a reference value to each of the magnetic information reading devices, and the conversion control means provided in the magnetic information reading device converts the reference value transmitted from the information management device into the conversion means. Is set as a reference value to be used.
According to the present invention, when the information management device transmits the reference value, the reference value when the pulse obtained from the analog waveform output from the magnetic head in the magnetic information reading device is converted into digital data can be changed. For this reason, for example, when the reference value does not conform to the hardware state such as the magnetic head, the incompatibility state can be eliminated by changing the reference value. Thereby, the reading error caused by the reference value can be eliminated, and the processing time can be shortened by avoiding the retry of the reading operation.
また、本発明は、上記磁気情報読取システムにおいて、前記磁気情報読取装置は、前記変換手段が出力したデジタルデータに基づいて読み取り成功か読み取りエラーかを判定し、エラーの発生状態を示す情報を前記情報管理装置に送信するエラー検出手段を備え、前記情報管理装置は、各々の前記磁気情報読取装置が送信したエラーの発生状態を示す情報を取得し、複数の前記磁気情報読取装置のうちエラーの発生率が高い前記磁気情報読取装置に対して、エラーの発生率が低い前記磁気情報読取装置の基準値を送信することを特徴とする。
この場合、磁気情報読取装置において基準値が適合していないことに起因してエラーが発生している場合に、エラー発生率の低い磁気情報読取装置が使用している基準値に変更することで、エラー発生率を低下させ、処理効率を改善することができる。
Further, the present invention provides the magnetic information reading system, wherein the magnetic information reading device determines whether reading is successful or reading error based on the digital data output by the converting means, and information indicating an error occurrence state is provided. An error detection means for transmitting to the information management device, the information management device acquires information indicating an error occurrence state transmitted by each of the magnetic information readers, and the error information among the plurality of magnetic information readers A reference value of the magnetic information reading device having a low error occurrence rate is transmitted to the magnetic information reading device having a high occurrence rate.
In this case, if an error has occurred due to the reference value not being met in the magnetic information reader, it can be changed to the reference value used by the magnetic information reader with a low error rate. It is possible to reduce the error occurrence rate and improve the processing efficiency.
また、上記課題を解決するため、本発明は、磁気情報記録媒体に記録された磁気情報を読み取る磁気情報読取装置の制御方法であって、磁気ヘッドによって前記磁気情報記録媒体に記録された磁気情報を読み取ってアナログ波形を出力し、前記磁気ヘッドの出力波形をパルスに変換し、変換したパルスのパルス周期を基準値と比較することにより二値化して、デジタルデータを出力する一方、所定の条件を満たす場合に前記基準値を変更することを特徴とする。
本発明の制御方法を適用することにより、磁気ヘッドが出力するアナログ波形から得たパルスをデジタルデータに変換する際の基準値を変更するので、例えば磁気ヘッド等のハードウェアの状態に基準値が適合しなくなった場合など、基準値の不適合が発生した場合に、基準値を変更することで不適合状態を解消できる。これにより、基準値に起因する読取エラーを解消することができ、読取動作の再試行を回避することで処理時間の短縮を図ることができる。
In order to solve the above problems, the present invention provides a control method of a magnetic information reader for reading magnetic information recorded on a magnetic information recording medium, the magnetic information recorded on the magnetic information recording medium by a magnetic head. The analog waveform is output, the output waveform of the magnetic head is converted into a pulse, the pulse period of the converted pulse is binarized by comparing it with a reference value, and digital data is output while a predetermined condition is satisfied. When the above condition is satisfied, the reference value is changed.
By applying the control method of the present invention, the reference value for converting the pulse obtained from the analog waveform output from the magnetic head into digital data is changed. When a non-conformance of the reference value occurs, such as when it is no longer compatible, the non-conformity state can be resolved by changing the reference value. Thereby, the reading error caused by the reference value can be eliminated, and the processing time can be shortened by avoiding the retry of the reading operation.
また、上記課題を解決するため、本発明は、磁気情報記録媒体に記録された磁気情報を読み取る磁気情報読取装置を制御する制御部により実行可能なプログラムであって、前記制御部は、磁気ヘッドによって前記磁気情報記録媒体に記録された磁気情報を読み取って出力されるアナログ波形をパルスに変換し、変換したパルスのパルス周期を基準値と比較することにより二値化して、デジタルデータを出力する一方、所定の条件を満たす場合に前記基準値を変更することを特徴とする。
本発明のプログラムを実行することにより、磁気ヘッドが出力するアナログ波形から得たパルスをデジタルデータに変換する際の基準値を変更するので、例えば磁気ヘッド等のハードウェアの状態に基準値が適合しなくなった場合など、基準値の不適合が発生した場合に、基準値を変更することで不適合状態を解消できる。これにより、基準値に起因する読取エラーを解消することができ、読取動作の再試行を回避することで処理時間の短縮を図ることができる。
In order to solve the above problems, the present invention provides a program that can be executed by a control unit that controls a magnetic information reading device that reads magnetic information recorded on a magnetic information recording medium. The analog waveform output by reading the magnetic information recorded on the magnetic information recording medium is converted into a pulse, and the pulse period of the converted pulse is binarized by comparing it with a reference value to output digital data On the other hand, the reference value is changed when a predetermined condition is satisfied.
By executing the program of the present invention, the reference value for converting the pulse obtained from the analog waveform output from the magnetic head into digital data is changed, so that the reference value is adapted to the state of the hardware such as the magnetic head, for example. If a nonconformity of the reference value occurs, such as when it is no longer possible, the nonconformity state can be resolved by changing the reference value. Thereby, the reading error caused by the reference value can be eliminated, and the processing time can be shortened by avoiding the retry of the reading operation.
本発明によれば、磁気情報記録媒体から磁気情報を読み取る磁気ヘッドが出力するアナログ波形から得たパルスをデジタルデータに変換する際の基準値を変更することで、基準値が適合しないことに起因するエラー等を解消できる。 According to the present invention, the reference value when the pulse obtained from the analog waveform output by the magnetic head that reads the magnetic information from the magnetic information recording medium is converted into digital data is changed, so that the reference value does not match. Error can be resolved.
以下、本発明を適用した実施形態について詳細に説明する。
図1は、実施形態に係る記録管理システム1の概略構成図である。
この図1に示すように、記録管理システム1(磁気情報読取システム)は、通信ネットワーク3を介して、ホストコンピューター2(外部の装置、情報管理装置)に複数のプリンター10(磁気情報読取装置)が接続された構成となっている。通信ネットワーク3は、有線または無線の通信回線で構成されるLAN等のネットワークである。記録管理システム1は、例えば、金融機関の窓口業務用のシステムであり、同じ窓口業務を行う複数のオペレーターに対応して、複数のプリンター10が設置され、これらのプリンター10を通信ネットワーク3に接続したシステムである。記録管理システム1を構成する各プリンター10のうち少なくとも複数のプリンター10は、同種の記録媒体を処理するために使用される。同種の記録媒体とは、記録媒体を単票紙や通帳等の形状により分類した場合の形状が同種の記録媒体、実行される処理が共通する記録媒体、或いは、後述する磁気ストライプMS(図2)の仕様が共通している記録媒体を指す。ホストコンピューター2は、同種の記録媒体を処理する複数のプリンター10を一つのグループとして、記録管理システム1を構成する各々のプリンター10をグループ分けして記憶しておいてもよい。
Hereinafter, embodiments to which the present invention is applied will be described in detail.
FIG. 1 is a schematic configuration diagram of a
As shown in FIG. 1, a recording management system 1 (magnetic information reading system) is connected to a host computer 2 (external device, information management device) via a
プリンター10は、処理対象の磁気情報記録媒体を含む記録媒体Sに、SIDM(Serial Impact DotMatrix)方式の記録ヘッド18(図3参照)により印刷するプリンター機能、記録媒体Sに磁気インクで記録された文字を読み取るMICR(Magnetic Ink Character Recognition)機能、記録媒体Sに設けられた磁気ストライプに記録された情報または記憶する情報の読取/書込を行うMSR(Magnetic Stripe Reader/Writer)機能、記録媒体Sの両面を光学読取装置110(図3参照)によって光学的にスキャンするスキャナー機能を備えた装置である。ここで、磁気ストライプMSが磁気情報記録媒体に相当するということもできる。
The
プリンター10で使用可能な記録媒体Sとしては、所定長さに切断されたカット媒体と、複数枚が連接された連続紙とが挙げられる。カット媒体としては、例えば単票紙や単票複写紙などの他、通帳や葉書、封筒などがあり、連続紙には連続複写紙やミシン目などで連接されたファンフォールド紙を含む。本実施形態では、記録媒体Sとして、金融機関等が発行する小切手または手形(以下、総称して小切手という)や、金融機関等が発行する通帳が使用される。小切手は、磁気インクによって、その表面の一部の領域に使用者の口座番号や当該小切手のシリアル番号等のMICR情報が印刷された単票紙である。通帳は、複数枚の記録用紙が綴じられた冊子形態となっており、この冊子を開いた内側の面が記録面となっている。
以下の説明では、記録管理システム1を構成する複数台のプリンター10が、通帳形態の記録媒体Sを使用し、記録媒体Sに対してプリンター機能による印刷、MSR機能による磁気情報の読み取りを行う場合について説明する。
Examples of the recording medium S that can be used by the
In the following description, a case where a plurality of
図2は、記録管理システム1により処理される記録媒体Sの概略構成を示す平面図である。図2に例示する記録媒体Sは、中央に綴じ目を有する冊子形態の記録媒体であり、例えば金融機関の通帳である。図2には記録媒体Sを広げた状態の表面を図示しているが、表面の一端側には磁気ストライプMSが貼付されている。磁気ストライプMSは、磁気情報を記録するテープ状の磁気情報記録媒体であり、ANSI、ISO等の規格に準拠したものが知られている。
この記録媒体Sは、図中符号Aで示す方向に、プリンター10の手差口15(図3)から内部に挿入され、プリンター10の内部において上記のように印刷及び磁気情報の読み取り等が実行され、プリンター10から排出される。記録媒体Sは、印刷或いは磁気情報の読み取りを行う際に必要に応じて符号Bで示す方向にも搬送される。磁気情報の読み取り時には、プリンター10の磁気ヘッド34(図3)が記録媒体Sの図中符号Rで示す方向に移動しながら磁気ストライプMSをスキャンし、磁気ストライプMSに記録された磁気情報を読み取る。
FIG. 2 is a plan view showing a schematic configuration of the recording medium S processed by the
This recording medium S is inserted into the
図3は、図1のプリンター10を示す側断面図である。なお、図1に示した記録管理システム1を構成する複数のプリンター10は、いずれも共通の構成となっているものとして説明する。
図3に示すように、プリンター10は、外装体としての上部カバー12、上部ケース13及び下部ケース14を備え、上部ケース13及び下部ケース14の前面には、記録媒体Sを挿入及び排出する手差口15が開口している。一方、上部ケース13及び下部ケース14の背面には記録媒体Sを排出する排出口20が開口している。プリンター10は、ホストコンピューター2の制御に従い、処理後の記録媒体Sを手差口15から排出するか、或いは排出口20から排出する。手差口15が開口した側、すなわち図3中の左側をプリンター10のフロント(前)側とし、排出口20が開口した側、すなわち図3中の右側をリア(後)側とする。
FIG. 3 is a side sectional view showing the
As shown in FIG. 3, the
プリンター10の外装体には本体11が収容されている。本体11は、ベースフレーム16と、このベースフレーム16の両端に固定される一対のサイドフレーム(図示略)とを備える。両サイドフレームの間にはキャリッジガイド軸31が架け渡され、さらに、平坦面形状の前方媒体案内24及び後方媒体案内25が固定される。また、これら前方媒体案内24と後方媒体案内25との間には、平面形状のプラテン21が配置され、このプラテン21の上方に、プラテン21に対向するように記録ヘッド18が配置されている。
記録ヘッド18は、キャリッジガイド軸31に摺動自在に挿通されるキャリッジ19に搭載されている。キャリッジ19は、当該キャリッジ19を駆動するキャリッジ駆動モーター56(図4)の正転及び逆転動作により、タイミングベルト(図示略)を介して駆動され、キャリッジガイド軸31に案内されて往復移動される。
A main body 11 is accommodated in the exterior body of the
The
記録ヘッド18は、キャリッジ19と共に走行される間に、その先端面から記録ワイヤーを突出させてインクリボンに打ち当て、プラテン21と記録ヘッド18との間に搬送される記録媒体Sにインクリボンのインクを付着させて、記録媒体Sに文字や画像を記録する。インクリボンは、上記の本体フレームに装着されるステーショナリー型のインクリボンカートリッジ39内に折り畳まれて収納され、キャリッジ19の走査に伴って繰り出される。また、キャリッジ19には、記録ヘッド18の後方側に媒体幅センサー55が搭載される。媒体幅センサー55は、キャリッジ19とともにプラテン21上を走査され、記録媒体Sの側端を検出し、記録媒体Sの幅を求めるために使用される。
While the
媒体搬送機構100は、プラテン21、第1駆動ローラー22A、第1従動ローラー22B、第2駆動ローラー23A、第2従動ローラー23B、第3駆動ローラー124A、第3従動ローラー124B、前方媒体案内24、後方媒体案内25、媒体搬送モーター26及び駆動輪列部27を備えて構成されている。媒体搬送機構100は、前方媒体案内24及び後方媒体案内25上に、記録媒体Sを搬送する搬送路Pを構成し、前方媒体案内24及び後方媒体案内25の上面が搬送路Pの搬送面PAとなっている。
The
第1駆動ローラー22A、第2駆動ローラー23A及び第3駆動ローラー124Aは、媒体搬送モーター26によって回転駆動される駆動ローラーであり、第1従動ローラー22B、第2従動ローラー23B及び第3従動ローラー124Bは、それぞれ第1駆動ローラー22A、第2駆動ローラー23A、及び、第3駆動ローラー124A側に所定の押圧力でばね42A、42B、42Cによりばね付勢されている従動ローラーである。これによって、第1駆動ローラー22Aと第1従動ローラー22Bとが互いに反対方向に回転駆動され、第2駆動ローラー23Aと第2従動ローラー23Bとが互いに反対方向に回転駆動され、第3駆動ローラー124Aと第3従動ローラー124Bとが互いに反対方向に回転駆動される。
媒体搬送機構100の第1駆動ローラー22A、第2駆動ローラー23A及び第3駆動ローラー124Aは、駆動輪列部(図示略)を介して媒体搬送モーター26に連結されている。この駆動輪列部(図示略)によって媒体搬送モーター26の出力が第1駆動ローラー22A、第2駆動ローラー23A及び第3駆動ローラー124Aに伝達され、記録媒体Sを搬送する。
The
The
プリンター10は、記録媒体Sを整列する整列機構28を備えている。整列機構28は、搬送路P内に突出する複数の整列板38と、整列板38を駆動する整列モーター58(図4)とを備え、整列板38を搬送路Pに突出させて整列板38に記録媒体Sの先端部を突き当てることで記録媒体Sを整列させることができる。本体11には、整列板38の上流側近傍に、整列板38に突き当てられた記録媒体Sの有無を検知する複数の整列センサー37が設けられ、これらの整列センサー37の検出状態によって、記録媒体Sの傾きが許容範囲内であるか否かを判定できる。
また、本体11において、第1駆動ローラー22Aのフロント側には、手差口15からの記録媒体Sの挿入を検知する複数の媒体端センサー47が並設されている。
The
In the main body 11, a plurality of
また、本体11は、記録媒体Sの表面を光学的に読み取る光学読取装置110を備える。光学読取装置110は、記録媒体Sの上面側を読み取る光学イメージセンサーである第1スキャナーモジュール111と、この第1スキャナーモジュール111に対向配置され、当該記録媒体Sの下面側を読み取る光学イメージセンサーである第2スキャナーモジュール112とを備えている。第1スキャナーモジュール111及び第2スキャナーモジュール112は、例えば、CIS(Contact Image Sensor)型の画像読取センサーであり、記録媒体Sに密着する平坦なカバーガラス140、150と、これらカバーガラス140、150を保持する本体ケース141、151とをそれぞれ備える。本体ケース141、151の内側には、LED等の光源から出力される光を記録媒体Sの読み取り領域に対して照射する照射部(図示略)と、主走査方向(X方向)に一列に配列された複数の受光センサー(図示略)と、この受光センサーからの信号を上記制御基板部に出力する出力部(図示略)とがそれぞれ収容されている。第1スキャナーモジュール111は付勢部材113によって第2スキャナーモジュール112側に付勢されている。
The main body 11 includes an
プラテン21はキャリッジ19の走行方向に延在して平面形状に形成され、付勢ばね180により記録ヘッド18に向けて付勢され、かつ弾性支持されている。この付勢ばね180の弾性力により、プラテン21は記録媒体Sの厚さに応じて上下に移動するので、記録媒体の厚さにかかわらず記録ヘッド18と記録面とのギャップが確保される。
また、本体11は、記録媒体Sを搬送する媒体搬送機構100と、記録媒体Sを整列させる整列機構28と、小切手に設けられたMICR情報の読み取りや、通帳に設けられた磁気ストライプに対して磁気情報の読み取り又は書き込みを行う磁気ヘッド34を備えた磁気データ読書部29と、この磁気データ読書部29の磁気ヘッド34がMICR情報の読み取りを含む磁気情報処理の実行時に、記録媒体Sの浮き上がりを抑制すべく、記録媒体Sを上から押える媒体押え部30と、を有している。
The
The main body 11 also has a
磁気データ読書部29は、左右のサイドフレーム(図示略)に掛け渡された2本の平行な磁気ヘッドガイド軸60、61と、磁気ヘッド34を搭載し、磁気ヘッドガイド軸60、61に沿って往復移動可能に構成された磁気ヘッドユニット62とを備えている。磁気ヘッドユニット62は、後述する磁気ヘッド駆動モーター57(図4)の正転及び逆転によって往復移動し、これにより磁気ヘッド34は記録媒体Sの磁気ストライプMSを走査する。すなわち、磁気ヘッドユニット62は、図2中に符号Rで示す方向に移動されるので、磁気ストライプMSに記録された磁気情報を磁気ヘッド34により矢印R方向に読み取ることができる。
この動作において、CPU40は、変換制御部68とともに変換制御手段として機能し、パルス出力部66はパルス出力手段として機能し、データ変換部67は変換手段として機能し、変換制御部68は変換制御手段として機能する。
The magnetic
In this operation, the
プリンター10は、媒体搬送モーター26の駆動制御、キャリッジ19の走行制御、記録ヘッド18の記録ワイヤーによる記録動作の制御、光学読取装置110の読取動作の制御等、プリンター10の全体を制御する制御部として、例えば本体11の後側の下方に、制御基板部(図示略)を備えている。
The
図4は、プリンター10の制御系の構成を示すブロック図である。
この図4に示す各部は、制御基板(図示略)に実装されたハードウェアと、ソフトウェアとの協働により実現される。
プリンター10は、フラッシュROM42に記憶された制御プログラムを実行してプリンター10の全体を制御する制御部としてのCPU40、CPU40により実行される制御プログラムや処理されるデータ等を一時的に記憶するRAM41、上記制御プラグラムやデータ等を不揮発的に記憶したフラッシュROM42、各種センサー類の検出値を取得するセンサー制御部45、各種モーターを駆動するモーター駆動部46、記録ヘッド18を動作させるヘッドドライバー48、及び、磁気ヘッド34による読取動作を制御する磁気読取部65を備え、これらの各部はバス49を介して接続されている。RAM41は、ホストコンピューター2から送信された各種コマンドを一時的に記憶する受信バッファー、光学読取装置110が読み取った読取画像データを一時的に記憶する画像バッファー等のバッファーメモリーとして機能する。
また、プリンター10は、ホストコンピューター2との間で情報を送受信する際のデータ形式を変換する通信インターフェイス43を備えている。
FIG. 4 is a block diagram illustrating the configuration of the control system of the
Each unit shown in FIG. 4 is realized by the cooperation of hardware mounted on a control board (not shown) and software.
The
The
センサー制御部45には、整列センサー37、媒体端センサー47、媒体幅センサー55、第1スキャナーモジュール111、及び、第2スキャナーモジュール112が接続されている。センサー制御部45は、整列センサー37、媒体端センサー47及び媒体幅センサー55から入力されるアナログ電圧を量子化してデジタルデータに変換し、CPU40に出力する。また、センサー制御部45は、光学読取装置110の第1スキャナーモジュール111及び第2スキャナーモジュール112が出力するアナログ電圧を量子化してデジタルデータとしCPU40に出力する。
モーター駆動部46は、媒体搬送モーター26、キャリッジ駆動モーター56、磁気ヘッド駆動モーター57、及び整列モーター58に接続され、これら各モーターに駆動電流や駆動パルスを供給して、これらのモーターを動作させる。
ヘッドドライバー48は、記録ヘッド18に接続され、記録ヘッド18に対して駆動電流を供給することによって記録ワイヤーを突出させる。
The
The
The
CPU40は、フラッシュROM42に格納された制御プログラムに基づいて、センサー制御部45、モーター駆動部46及びヘッドドライバー48を介して、各種センサーの検知状態を取得するとともに各モーターを駆動して記録媒体Sを搬送し、各ヘッドを駆動することにより、記録媒体Sへの記録(印刷)を実行する。また、CPU40は、媒体搬送機構100により記録媒体Sを搬送し、センサー制御部45によって第1スキャナーモジュール111及び第2スキャナーモジュール112によって記録媒体Sの表面を読み取る。この読取の実行中、CPU40は、センサー制御部45から入力されるデータを順次RAM41内に設けられたバッファーメモリー(図示略)に一時的に記憶させる。そして、CPU40は、このバッファーメモリー(図示略)に記憶された画像データを読み出して、通信インターフェイス43を介してホストコンピューター2へ送信する。
Based on the control program stored in the
この図4に示すプリンター10の制御系は、フラッシュROM42に記憶された制御プログラムをCPU40により実行することで、プリンター10の本体11の各部を駆動制御して、ホストコンピューター2から送信されるコマンドに従って動作し、上記の印刷機能、MICR機能、MSR機能、及び光学読取機能を実現する。
The control system of the
磁気読取部65は、磁気ヘッド34が磁気ストライプMSに接触してアナログ電流を出力すると、このアナログ電流の波形を量子化してパルスを生成するパルス出力部66と、パルス出力部66が生成したパルスのパルス間隔(周期)を検出し、この周期を予め設定されたしきい値(基準値)と比較することによりデジタルデータに変換するデータ変換部67と、データ変換部67が用いるしきい値の設定および変更を制御する変換制御部68とを備えている。
プリンター10は、CPU40によってモーター駆動部46を制御し、磁気ヘッド駆動モーター57を駆動して磁気ヘッド34を移動させる。この移動中に磁気ヘッド34から出力されるアナログ波形は磁気読取部65によって取得され、後述する処理が行われて、磁気ストライプMSに記録された情報を示すデジタルデータがCPU40に出力される。
When the
The
図5は、磁気ストライプMSの読取動作の例を示す説明図である。図5において、(A)は磁気ストライプMSの記録領域における磁気配列(N極、S極)の一例を示し、(B)は同図(A)の磁気配列を走査した磁気ヘッド34が出力する電流波形を示し、(C)は同図(B)の電流波形をパルス波形に変換した例を示し、(D)は同図(C)のパルス波形を周期の測定が可能な形態に変換した例を示す。
FIG. 5 is an explanatory diagram showing an example of the reading operation of the magnetic stripe MS. 5A shows an example of the magnetic arrangement (N pole, S pole) in the recording area of the magnetic stripe MS, and FIG. 5B shows the output from the
図5(A)に示すように、磁気ストライプMSには、表面に塗布又は付着された磁性体の磁極を適宜反転させることで磁気情報が記録される。磁気情報は、磁性体の極ではなく極性の反転の周期により記録される。磁気ヘッド34は、極性の変化に応じた電流を出力するよう構成されている。このため、図5(A)の磁気ストライプMSを磁気ヘッド34により走査すると、磁気ヘッド34の出力は、磁気ストライプMSの極性の反転に対応して、図5(B)に示すようにパルス状の電流となる。
As shown in FIG. 5A, magnetic information is recorded on the magnetic stripe MS by appropriately reversing the magnetic poles of the magnetic material applied or attached to the surface. Magnetic information is recorded not by the magnetic pole but by the polarity reversal period. The
ここで、パルス出力部66(図4)は、磁気ヘッド34が出力するアナログ電流波形(図5(B))を量子化して、パルス波形(図5(C))を生成する。このパルス波形は、アナログ電流波形のピークを検出し、このピークがパルスのエッジとなるよう生成したものである。パルス出力部66は、さらに、生成したパルス波形の立ち上がり及び立ち下がりに同期するパルス波形を、図5(D)に示すように出力する。この図5(D)に示すパルスはパルス幅が一定で、パルスの立ち上がりが磁気ストライプMSにおける極性の反転位置(図5(A))にほぼ一致している。データ変換部67は、図5(D)に示すパルスの間隔を測定し、パルス周期を算出する。そして、このパルス周期を、予め設定されたしきい値と比較することにより、当該パルス間のデータの値が「0」か「1」かを判定する。
Here, the pulse output unit 66 (FIG. 4) quantizes the analog current waveform (FIG. 5B) output from the
磁気ストライプMSの仕様を定めた一般的な規格によれば、例えば、データの「0」は210ビット/インチの記録密度のパルス列で示し、「1」は105ビット/インチの記録密度のパルス列で示す。データ変換部67が算出したパルス周期が210ビット/インチであればデータは「0」であり、105ビット/インチであればデータは「1」である。
ところで、データ変換部67が生成するパルスの周期は、磁気ストライプMSを読み取る磁気ヘッド34の移動速度や応答特性等の影響を受けて、規格で定めた周期からずれることがある。このようなずれを生じた値をも正確に判定するため、データ変換部67は、210ビット/インチと105ビット/インチの間のしきい値を定め、このしきい値より高い値(短い周期)であれば「0」、しきい値より低い値であれば「1」と判定する。この処理によってデータ変換部67はデータ「0」と「1」の二値のデジタルデータを生成して、変換制御部68に出力する。変換制御部68は、磁気読取部65から入力されたデジタルデータを、例えば5ビット化してエラー判定等を行う。変換制御部68は、データ変換部67が出力したデータと判定結果とをCPU40に出力し、CPU40は、エラーでない場合は入力されたデータを磁気ストライプMSの読取データとして、ホストコンピューター2へ送信する。なお、変換制御部68が行うエラーの判定を、CPU40が実行してもよい。
According to a general standard that defines the specifications of the magnetic stripe MS, for example, “0” of data is represented by a pulse train having a recording density of 210 bits / inch, and “1” is represented by a pulse train having a recording density of 105 bits / inch. Show. If the pulse period calculated by the
By the way, the cycle of the pulse generated by the
データ変換部67が使用するしきい値は、変換制御部68の制御によって変更することが可能である。すなわち、変換制御部68は、データ変換部67がパルス周期を二値のデジタルデータに変換する際のしきい値を変更する機能を有する。
しきい値の変更は、データ変換部67がデータを変換する毎に行われる。また、ホストコンピューター2からしきい値の変更が指示された場合、及び、変換したデジタルデータの値が連続して同じ値であった場合に、変換制御部68はしきい値を変更する。
The threshold value used by the
The threshold value is changed every time the
まず、データ変換部67がデータを変換する毎に行われるしきい値の変更について説明する。変換制御部68は、変換したパルス周期の値の平均値を求めて、この平均値をデータ「0」と「1」をデータ変換部67が判定するためのしきい値として用いることができる。この方法を採用した場合、実際に読み取ったデータ「0」を示すパルス周期とデータ「1」を示すパルス周期との間の値がしきい値となるので、データ「0」と「1」を的確に判定できる。ここで、読み取ったデータの傾向(磁気ヘッド34の移動速度や磁気特性による影響)を的確に反映したしきい値を求めるためには、なるべく最新のパルス周期の平均を求めるとよい。その一方で、平均を算出する母集団に含まれる要素が少ないと、しきい値が大きく変動する恐れがあるため、最新のパルス周期から順に、ある程度の数のパルス周期の平均を求めることが好ましい。
First, the threshold value change performed each time the
ところが、平均値を算出する母集団を適切に決定した場合であっても、同じ値のデータが連続すると、平均値が長周期または短周期のいずれかに引きずられることがある。例えば、データ「0」が連続する場合、210ビット/インチまたはその近傍の短いパルス周期が連続して出現するため、その平均値は少しずつ高くなる。反対に、データ「1」が連続する場合、105ビット/インチまたはその近傍のパルス周期が連続して出現するため、その平均値は少しずつ低くなる。この平均値の変動により、誤判定の可能性が高まる。例えば、データ「0」が連続する場合にはしきい値であるパルス周期が短い(周波数が高い)値になるので、しきい値よりもパルス周期が長い(周波数が低い)と判定されやすくなる。すなわち、データ「0」よりもデータ「1」と判定されやすい。 However, even when the population for calculating the average value is appropriately determined, if the data having the same value continues, the average value may be dragged to either the long cycle or the short cycle. For example, when data “0” continues, since a short pulse period of 210 bits / inch or its vicinity appears continuously, the average value gradually increases. On the other hand, when data “1” continues, since the pulse period of 105 bits / inch or its vicinity appears continuously, the average value gradually decreases. Due to the fluctuation of the average value, the possibility of erroneous determination is increased. For example, when data “0” continues, the threshold pulse period has a short value (high frequency), and therefore it is easy to determine that the pulse period is longer than the threshold value (low frequency). . That is, it is easier to determine data “1” than data “0”.
図5(A)〜(D)の例では、公知の規格に準拠するように、磁気ストライプMSの磁気情報の先頭に極性の反転がないErase領域が設けられ、続いて、データ「0」が連続するL0領域が設けられている。このErase領域及びL0領域は、データの導入部として認識される。この導入部に続いて、実際の情報が記録されるデータ領域が設けられている。なお、図示はしないが、磁気ストライプMSの終端部にも終端部であることを示す終端部が設けられている。このうち導入部のL0領域と終端部は、データ領域と区別するために連続する「0」で構成されている。従って、上述したようなしきい値の変動を招きやすい。
そこで、変換制御部68は、平均値をしきい値に用いる場合のしきい値の変動を補償するため、同じ値が連続した場合は、他方の値を検出しにくくなるようにしきい値を変更する。上記の例では、データ「0」が連続する場合にしきい値のパルス周期が短くなる(周波数が高くなる)のに合わせて、しきい値のパルス周期を長くするよう変更する。しきい値のパルス周期を長くする幅或いは量は、予め設定され、CPU40により決定される。この変更により、データ「0」と「1」の判定を的確に行うことができ、誤判定のリスクを低減できる。
In the example of FIGS. 5A to 5D, an Erase region having no polarity inversion is provided at the head of the magnetic information of the magnetic stripe MS so as to comply with a known standard, and subsequently, data “0” is stored. A continuous L0 region is provided. The Erase region and the L0 region are recognized as a data introduction part. Subsequent to the introduction part, a data area in which actual information is recorded is provided. Although not shown in the figure, a terminal portion indicating that the magnetic stripe MS is a terminal portion is also provided at the terminal portion of the magnetic stripe MS. Among these, the L0 area and the terminal part of the introduction part are composed of consecutive “0” s to be distinguished from the data area. Therefore, the threshold value is likely to change as described above.
Therefore, the
また、変換制御部68は、CPU40が外部のホストコンピューター2からしきい値の変更を指示するコマンドとしきい値を示すデータ(コマンドに含まれていてもよい)を受信した場合に、CPU40の制御のもとにしきい値を変更する。
以下、磁気ストライプMSの読み取りとしきい値の変更について、フローチャートを参照して説明する。
The
Hereinafter, reading the magnetic stripe MS and changing the threshold value will be described with reference to flowcharts.
図6は、プリンター10の動作の一例を示すフローチャートである。
プリンター10は、待機状態において手差口15から記録媒体Sが挿入されたことを媒体端センサー47により検出すると(ステップS11)、CPU40の制御によって、挿入された記録媒体Sを媒体搬送機構100により搬送するとともに整列板38によって整列させ(ステップS12)、続いて搬送を行うとともに媒体幅センサー55を用いて記録媒体Sの幅を検出する(ステップS13)。
ここで、CPU40は、媒体搬送機構100を動作させて記録媒体Sを磁気ストライプMSの読み取り位置まで搬送する(ステップS14)。磁気ストライプMSの読み取り位置とは、記録媒体Sの磁気ストライプMSが、磁気ヘッド34が往復移動する領域に重なる位置である。そして、CPU40は、磁気データ読書部29を動作させて磁気情報の読み取りを開始させ(ステップS15)、その間において変換制御部68を制御して、しきい値を適宜変更させる(ステップS16)。
FIG. 6 is a flowchart illustrating an example of the operation of the
When the
Here, the
磁気ストライプMSの読み取りが完了したら、CPU40は、ホストコンピューター2から送信される印刷実行コマンド及び印刷ジョブのデータを受信して、記録媒体Sを印刷開始位置まで媒体搬送機構100により搬送する(ステップS17)。CPU40は、記録ヘッド18による印刷と改行分の搬送とを繰り返し実行し(ステップS18)、印刷終了位置まで達したら(ステップS19)、光学読取装置110によるスキャン開始位置まで記録媒体Sを搬送する(ステップS20)。
ここで、CPU40は、ホストコンピューター2から送信されるスキャン実行コマンドと、このコマンドとともに送信される読取条件を指定するコマンドまたはデータに基づいて、スキャンを実行する(ステップS21)。スキャンを実行して読み取った画像データをホストコンピューター2に送信し、CPU40は、記録媒体Sを手差口15側または排出口20側に搬送して排出し(ステップS22)、再び手差口15からの挿入待機状態に移行する(ステップS23)。
When the reading of the magnetic stripe MS is completed, the
Here, the
図7は、プリンター10の動作の一例を示すフローチャートであり、特に、変換制御部68がデータ変換部67のしきい値を変更する動作を示す。
この図7に示す動作は図6のステップS15で磁気ストライプMSの読み取りを開始することで実行される。
磁気読取部65は、CPU40の制御に従って、磁気ヘッド34が出力するアナログ波形をパルス出力部66の機能によりパルス波形に変換し、さらに周期を検出可能なパルス波形にした後、データ変換部67の機能によってパルスの先頭からデータ変換を開始する(ステップS31)。すなわち、一つのパルス毎に前のパルスとのパルス周期を求め、求めたパルス周期をしきい値と比較することにおり「0」か「1」かを判定して二値化する。
ここで、変換制御部68は、CPU40の制御により、データ変換部67が出力するデータを取得し(ステップS32)、過去に取得したデータと比較して、連続して同じ値が出力されたか否かを判定する(ステップS33)。
FIG. 7 is a flowchart showing an example of the operation of the
The operation shown in FIG. 7 is executed by starting reading of the magnetic stripe MS in step S15 of FIG.
Under the control of the
Here, the
連続して同じ値のデータがデータ変換部67から出力された場合(ステップS33;Yes)、変換制御部68は、データ変換部67のしきい値を、出力されていない側の値に対応するパルス周期に近づくように変更させる(ステップS34)。具体的には、データ「0」が連続した場合には、データ「1」に対応するパルス周期(例えば、105ビット/インチ)に近づくように、しきい値を変更する。変更する幅は、予め設定された値であってもよいし、そのときのしきい値に対する割合で定められていてもよい。また、この場合のデータ変換部67のしきい値は、最近数個ないし数十個のパルス周期の平均値をしきい値にしたものである。
その後、変換制御部68は、磁気ストライプMSの読み取りが完了したか否かを判別し(ステップS35)、読み取りが継続する場合は(ステップS35;No)、ステップS33に戻る。読み取りが完了した場合は(ステップS35;Yes)、本処理を終了する。
一方、データ変換部67から出力されたデータが連続する同じ値になっていない場合(ステップS33;No)、変換制御部68は、ステップS35に移行する。
When data having the same value is continuously output from the data conversion unit 67 (step S33; Yes), the
Thereafter, the
On the other hand, when the data output from the
また、プリンター10が、外部のホストコンピューター2から受信した指示に基づいてしきい値を変更する場合について、図8に示す。図8は、記録管理システム1の動作の例を示すシーケンス図であり、(A)はプリンター10の動作を示し、(B)はホストコンピューター2の動作を示す。この図8(A)の動作においてCPU40は、エラー検出手段として機能する。
プリンター10の磁気読取部65が、磁気ヘッド34が出力するアナログ波形をパルス出力部66の機能によりパルス波形に変換し、二値化することによってデジタルデータを出力すると、CPU40は、磁気読取部65が出力するデジタルデータを取得して、磁気ストライプMSの読取の正否を判定する(ステップS41)。すなわち、読取成功か失敗(エラー)かを、磁気読取部65が出力したデータをもとに判定する。ここでは、データの内容が規格から明らかに逸脱している場合や、正常なデータと見なされない場合に、読取失敗と判定される。具体的には、例えば、上述した導入部L0にデータ「1」が混在している、Erase領域や導入部L0の長さが規定より短い、導入部L0を超えてもデータが全て「0」である場合等である。
FIG. 8 shows a case where the
When the
CPU40は、読取成功か読取エラーかを判定した後、判定結果に基づき、エラー率(エラー判定の割合)を算出する(ステップS42)。CPU40が算出するエラー率はRAM41またはフラッシュROM42に記憶されているので、CPU40は、記憶しているエラー率を更新する。
そして、CPU40は、エラー率を算出する毎、或いは、エラー率が所定の幅を超えて変化した場合に、エラー率と、そのエラー率の算出時にデータ変換部67が使用していたしきい値とを、ホストコンピューター2に送信する(ステップS43)。この場合、CPU40は、記録管理システム1を構成する複数のプリンター10を個々に識別可能な識別情報を付加して、ホストコンピューター2に送信してもよい。
After determining whether reading is successful or reading error, the
The
ホストコンピューター2は、プリンター10から送信されたエラー率及びしきい値を受信し、取得して(ステップS51)、記録管理システム1を構成する複数のプリンター10から受信したエラー率を比較する(ステップS52)。
ここで、ホストコンピューター2は、しきい値の変更を要するプリンター10を選択する(ステップS53)。選択されるプリンター10は、例えば、複数のプリンター10の中でエラー率が相対的に高いプリンター10、または、予め定められた基準を超えるエラー率を送信したプリンター10である。
The
Here, the
ホストコンピューター2は、複数のプリンター10の中でエラー率が相対的に低いプリンター10、または、予め定められた基準を下回るエラー率を送信したプリンター10のしきい値を取得する。そして、ホストコンピューター2は、取得したしきい値と、しきい値変更コマンドとを、ステップS53で選択したプリンター10に送信する(ステップS54)。
ホストコンピューター2から送信されたしきい値としきい値変更コマンドとを受信したプリンター10のCPU40は(ステップS44)、受信したしきい値に基づいて変換制御部68を制御し、データ変換部67のしきい値を変更させる(ステップS45)。さらにCPU40は、算出してRAM41またはフラッシュROM42に記憶していたエラー率をリセットして、新たに磁気ストライプMSの読み取りを実行する。このとき、プリンター10の内部に記録媒体Sが挿入されている場合には、変更後のしきい値を用いて磁気ストライプMSの読み取りを再試行してもよい。
The
The
上述のように、記録管理システム1の複数のプリンター10は、同じ種類の記録媒体Sがセットされ、磁気ストライプMSの読み取りを実行する。このため、複数のプリンター10のエラー率を比較して、記録媒体Sの磁気ストライプMSの読み取りに関してエラー率が低いプリンター10と、エラー率が高いプリンター10があった場合には、しきい値の差が影響している可能性が高い。このため、図8に示したように、エラー率が相対的に低く、しきい値が記録媒体Sの読み取りに適していると思われるプリンター10のしきい値を、他のプリンター10にも適用すれば、他のプリンター10のエラー率の改善が期待できる。
記録管理システム1を構成する複数のプリンター10の中に、異なる種類の記録媒体を処理するプリンター10が混在している場合、或いは、異なる業務を処理するプリンター10が混在している場合には、記録媒体の種類毎または業務の種類毎にプリンター10をグループ化し、グループ毎にエラー率を比較して、図8の処理を行えばよい。
As described above, the plurality of
When a plurality of
以上のように、記録管理システム1は、磁気ストライプMSに記録された磁気情報を読み取ってアナログ波形を出力する磁気ヘッド34と、磁気ヘッド34の出力波形をパルスに変換して出力するパルス出力部66と、パルス出力部66が出力するパルスのパルス周期をしきい値と比較することにより2値化して、デジタルデータを出力するデータ変換部67と、所定の条件を満たす場合にデータ変換部67が用いるしきい値を変更する変換制御部68と、を備え、磁気ヘッド34が出力するアナログ波形から得たパルスをデジタルデータに変換する際のしきい値を変更するプリンター10を有する。このプリンター10によれば、例えば磁気ヘッド34等のハードウェアの状態にしきい値が適合しなくなった場合など、しきい値の不適合が発生した場合に、しきい値を変更することで不適合状態を解消し、読取エラーを解消し、読取動作の再試行を減らすことで処理時間の短縮を図ることができる。
As described above, the
また、変換制御部68は、デジタルデータへの変換を行ったパルスのうち最新の所定数のパルスのパルス周期の平均値をしきい値として、しきい値を補正する機能を備え、所定の条件としてデータ変換部67が2値化したデータにおいて同じ値が連続して現れた場合に、他の値を検出しにくくなるようにしきい値を変更するので、同一のデータが連続することでしきい値が偏ってしまった場合に、この偏りに起因して他方のデータと判定されやすくなることを防止できる。これにより、しきい値を補正する機能を活用するとともに、この機能によるしきい値の偏りを防止して、適切なしきい値によるデジタルデータへの変換を行うことができる。
Further, the
また、変換制御部68は、所定の条件としてホストコンピューター2からしきい変更コマンドを受信した場合に、データ変換部67が用いるしきい値を変更するので、ホストコンピューター2の制御によってしきい値の不適合を解消し、読取動作の再試行を回避することで処理時間の短縮を図ることができる。
The
また、記録管理システム1は、複数のプリンター10と、これらプリンター10と通信可能に接続されたホストコンピューター2とを備え、ホストコンピューター2は、各々のプリンター10が有する変換制御部68の制御によって設定されたしきい値を取得するともに、各々のプリンター10に対してしきい値を示す情報を送信可能に構成され、プリンター10が備える変換制御部68は、ホストコンピューター2から送信されるしきい値を、データ変換部67が用いるしきい値として設定するので、ホストコンピューター2がしきい値を送信することにより、データ変換部67のしきい値を変更できる。
さらに、ホストコンピューター2は、各々のプリンター10が送信したエラーの発生状態を示す情報を取得し、複数のプリンター10のうちエラーの発生率が高いプリンター10に対して、エラーの発生率が低いプリンター10のしきい値を送信して、しきい値を変更させるので、エラー発生率を低下させ、処理効率を改善することができる。
In addition, the
Further, the
なお、上述した実施形態は、本発明を適用した一具体例を示すものであり、本発明は上記実施形態の構成に限定されるものではない。
例えば、上記実施形態では、プリンター10が磁気情報を読み取る対象の媒体を、通帳形態の記録媒体Sとして説明したが、本発明はこれに限定されるものではなく、クレジットカードやキャッシュカード等に使用されるカード型記録媒体、或いは、テープ状の磁気記録媒体の読み取りについて、本発明を適用してもよい。
また、例えば、プリンター10のCPU40は、変換制御部68を制御して、変換後のデータで同じ値が続いた場合、及び、ホストコンピューター2からしきい値変更コマンドを受信した場合に、しきい値を変更する例について説明したが、本発明はこれに限定されるものではなく、磁気ストライプMSの読み取り方向(図2の方向Rか、その逆方向か)、記録媒体Sの厚さ、磁気ヘッド34と磁気ストライプMSとの接触状態(接触角など)、同じ磁気ストライプMSに対し読取を試行した繰り返し回数、通帳型の記録媒体S、カード型の媒体及びその他の媒体を含む媒体の種類の違い等に応じて、しきい値を変更してもよい。また、フラッシュROM42に複数のしきい値を記憶しておき、そこから選択したしきい値をデータ変換部67に設定してもよい。
The embodiment described above shows a specific example to which the present invention is applied, and the present invention is not limited to the configuration of the embodiment.
For example, in the above-described embodiment, the medium on which the
In addition, for example, the
また、上記実施形態では、SIDM方式の記録ヘッド18を備えたプリンター10が備える磁気データ読書部29に、本発明を適用した場合について説明したが、本発明はこれに限定されるものではなく、例えば、インクジェット式のプリンターや、サーマルプリンター、レーザープリンター等に、磁気データ読書部29に相当する構成を設けた構成としても良い。さらに、小切手を読み取る読み取り装置や、専ら磁気ストライプMSなどの磁気情報を読み取ってデジタルデータとして出力する機能のみを有する装置に対して本発明を適用することも可能である。さらにまた、プリンター以外の他の機器(ATM(Automated Teller Machine)やCD(Cash Dispenser)等)に組み込まれた装置に本発明を適用することも勿論可能である。
さらに、プリンター10がホストコンピューター2に接続されるインターフェイスとして、LANインターフェイスや無線通信インターフェイス等として説明したが、インターフェイスの総数や種類は限定されない。さらに、上記実施形態では、プリンター10に搭載された制御基板(図示略)に実装された制御部が、図4の機能ブロックに示す機能を有し、プリンター10の各部を制御する構成を例に挙げて説明したが、例えば、プリンター10に外部接続された装置が、図4に示す各機能部の一部ないし全部として機能し、プリンター10を制御する構成としてもよい。さらに、図4に示した各機能ブロックは、ハードウェアとソフトウェアとの協働により実現されるものであって、具体的なハードウェアの実装形態やソフトウェアの仕様等は任意であり、その他の細部構成についても、上記の実施形態は本発明を適用した一例に過ぎず、本発明の趣旨を損なわない範囲で任意に変更可能である。
In the above-described embodiment, the case where the present invention is applied to the magnetic
Further, the interface for connecting the
また、上記実施形態に示したプリンター10及びホストコンピューター2の各処理をプログラムとして提供することが可能である。更に、そのプログラムをハードディスク、光ディスク、光磁気ディスク、フラッシュメモリー等の記録媒体に格納して提供することも可能である。また、これらのプログラムを、ホストコンピューター2やプリンター10が、外部の装置や外部の記録媒体から読み取って実行することにより上記発明を実施することも勿論可能である。
Moreover, it is possible to provide each process of the
1…記録管理システム(磁気情報読取システム)、2…ホストコンピューター(外部の装置、情報管理装置)、10…プリンター(磁気情報読取装置)、18…記録ヘッド、29…磁気データ読書部、34…磁気ヘッド、40…CPU(変換制御手段、エラー検出手段、57…磁気ヘッド駆動モーター、65…磁気読取部、66…パルス出力部(パルス出力手段)、67…データ変換部(変換手段)、68…変換制御部(変換制御手段)、MS…磁気ストライプ(磁気情報記録媒体)、S…記録媒体(磁気情報記録媒体)。
DESCRIPTION OF
Claims (7)
前記磁気情報記録媒体に記録された磁気情報を読み取ってアナログ波形を出力する磁気ヘッドと、
前記磁気ヘッドの出力波形をパルスに変換して出力するパルス出力手段と、
前記パルス出力手段が出力するパルスのパルス周期を基準値と比較することにより二値化して、デジタルデータを出力する変換手段と、
所定の条件を満たす場合に前記変換手段が用いる前記基準値を変更する変換制御手段と、
を備えることを特徴とする磁気情報読取装置。 A magnetic information reader for reading magnetic information recorded on a magnetic information recording medium,
A magnetic head for reading magnetic information recorded on the magnetic information recording medium and outputting an analog waveform;
Pulse output means for converting the output waveform of the magnetic head into a pulse and outputting the pulse;
Conversion means for binarizing the pulse period of the pulse output by the pulse output means by comparing with a reference value and outputting digital data;
Conversion control means for changing the reference value used by the conversion means when a predetermined condition is satisfied;
A magnetic information reading apparatus comprising:
前記磁気情報読取装置は、
磁気情報記録領域と記録面を有する記録媒体に対し、前記磁気情報記録媒体に記録された磁気情報を読み取るとともに、前記記録面への記録を行う記録装置であって、
前記磁気情報記録媒体に記録された磁気情報を読み取ってアナログ波形を出力する磁気ヘッドと、
前記磁気ヘッドの出力波形をパルスに変換して出力するパルス出力手段と、
前記パルス出力手段が出力するパルスのパルス周期を基準値と比較することにより二値化して、デジタルデータを出力する変換手段と、
前記変換手段が用いる前記基準値を変更する変換制御手段と、を備え、
前記情報管理装置は、各々の前記磁気情報読取装置が有する前記変換制御手段の制御によって設定された基準値を取得する手段と、各々の前記磁気情報読取装置に対して基準値を示す情報を送信する手段とを備え、
前記磁気情報読取装置が備える変換制御手段は、前記情報管理装置から送信される基準値を、前記変換手段が用いる基準値として設定すること、
を特徴とする磁気情報読取システム。 A magnetic information reading system comprising a plurality of magnetic information reading devices that read magnetic information recorded on a magnetic information recording medium, and an information management device that is communicably connected to these magnetic information reading devices,
The magnetic information reader is
A recording device for reading magnetic information recorded on the magnetic information recording medium and recording on the recording surface with respect to a recording medium having a magnetic information recording area and a recording surface,
A magnetic head for reading magnetic information recorded on the magnetic information recording medium and outputting an analog waveform;
Pulse output means for converting the output waveform of the magnetic head into a pulse and outputting the pulse;
Conversion means for binarizing the pulse period of the pulse output by the pulse output means by comparing with a reference value and outputting digital data;
Conversion control means for changing the reference value used by the conversion means,
The information management device transmits a reference value set by the control of the conversion control unit included in each magnetic information reader and information indicating the reference value to each magnetic information reader. And means for
The conversion control means included in the magnetic information reader sets a reference value transmitted from the information management apparatus as a reference value used by the conversion means;
A magnetic information reading system.
前記情報管理装置は、各々の前記磁気情報読取装置が送信したエラーの発生状態を示す情報を取得し、複数の前記磁気情報読取装置のうちエラーの発生率が高い前記磁気情報読取装置に対して、エラーの発生率が低い前記磁気情報読取装置の基準値を送信すること、
を特徴とする請求項4記載の磁気情報読取システム。 The magnetic information reading device comprises error detection means for determining whether reading is successful or reading error based on the digital data output by the conversion means, and transmitting information indicating an error occurrence state to the information management device,
The information management device acquires information indicating an error occurrence state transmitted by each of the magnetic information reading devices, and the magnetic information reading device having a high error occurrence rate among the plurality of magnetic information reading devices. Transmitting a reference value of the magnetic information reader with a low error rate,
The magnetic information reading system according to claim 4.
磁気ヘッドによって前記磁気情報記録媒体に記録された磁気情報を読み取ってアナログ波形を出力し、
前記磁気ヘッドの出力波形をパルスに変換し、
変換したパルスのパルス周期を基準値と比較することにより二値化して、デジタルデータを出力する一方、
所定の条件を満たす場合に前記基準値を変更すること、
を特徴とする磁気情報読取装置の制御方法。 A method for controlling a magnetic information reader for reading magnetic information recorded on a magnetic information recording medium, comprising:
Reading magnetic information recorded on the magnetic information recording medium by a magnetic head and outputting an analog waveform,
Converting the output waveform of the magnetic head into a pulse;
While comparing the pulse period of the converted pulse with the reference value to binarize and output digital data,
Changing the reference value when a predetermined condition is satisfied;
A method for controlling a magnetic information reader.
前記制御部は、磁気ヘッドによって前記磁気情報記録媒体に記録された磁気情報を読み取って出力されるアナログ波形をパルスに変換し、
変換したパルスのパルス周期を基準値と比較することにより二値化して、デジタルデータを出力する一方、
所定の条件を満たす場合に前記基準値を変更すること、
を特徴とするプログラム。 A program executable by a control unit that controls a magnetic information reader that reads magnetic information recorded on a magnetic information recording medium,
The control unit reads the magnetic information recorded on the magnetic information recording medium by a magnetic head and converts the analog waveform output to a pulse,
While comparing the pulse period of the converted pulse with the reference value to binarize and output digital data,
Changing the reference value when a predetermined condition is satisfied;
A program characterized by
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011067605A JP2012203958A (en) | 2011-03-25 | 2011-03-25 | Magnetic information reader, magnetic information reading system, control method of magnetic information reader, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011067605A JP2012203958A (en) | 2011-03-25 | 2011-03-25 | Magnetic information reader, magnetic information reading system, control method of magnetic information reader, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2012203958A true JP2012203958A (en) | 2012-10-22 |
Family
ID=47184797
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011067605A Withdrawn JP2012203958A (en) | 2011-03-25 | 2011-03-25 | Magnetic information reader, magnetic information reading system, control method of magnetic information reader, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2012203958A (en) |
-
2011
- 2011-03-25 JP JP2011067605A patent/JP2012203958A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9189696B2 (en) | Recording device and control method for a recording device | |
US6986464B2 (en) | Magnetic ink character reading apparatus and magnetic ink character reading method | |
US9235784B2 (en) | Media processing device and method of controlling a media processing device | |
US8564850B2 (en) | Optical reading device, control method for an optical reading device, and storage medium | |
US8605339B2 (en) | Optical reading device, control method for an optical reading device, and storage medium | |
US8508753B2 (en) | Optical reading device, control method for an optical reading device, and program | |
US8493635B2 (en) | Optical reading device, control method for an optical reading device, and computer-readable recording medium storing a control program for an optical reading device | |
JP5691323B2 (en) | Electronic device, control method of electronic device, and program | |
JP2012029121A (en) | Reading system, image acquisition device, optical reader, method of regulating image acquisition device, and program | |
US8794732B2 (en) | Media processing device, method of controlling a media processing device, and a storage medium | |
JP2012025078A (en) | Information reading and printing apparatus, control method for the information reading and printing apparatus, and control program | |
JP2012203958A (en) | Magnetic information reader, magnetic information reading system, control method of magnetic information reader, and program | |
JP2017182194A (en) | Control method for authentication device, and control method for printer | |
JP2014046459A (en) | Electronic apparatus, and control method for the electronic device | |
JP5664047B2 (en) | Multifunction machine, control method of multi-function machine, and program | |
CN211467914U (en) | Printing device | |
JP2011178114A (en) | Operation processing device, and method for detecting displacement during transfer of medium in the same | |
CN211467915U (en) | Printing device | |
JP2011034625A (en) | Magnetic information-reading device, method for controlling the same, and program | |
JP2012065145A (en) | Electronic apparatus, electronic apparatus control method, and program | |
JP2017182193A (en) | Authentication device and printer | |
US8885203B2 (en) | Optical reading device and control method for an optical reading device | |
JP2010198416A (en) | Recording device | |
JP2011146834A (en) | Optical reading device, and control method and control program for the same | |
JP2013077121A (en) | Medium processor, medium processor control method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20140603 |