JP2005128669A - Magnetic card issuing/accepting device - Google Patents

Magnetic card issuing/accepting device Download PDF

Info

Publication number
JP2005128669A
JP2005128669A JP2003361490A JP2003361490A JP2005128669A JP 2005128669 A JP2005128669 A JP 2005128669A JP 2003361490 A JP2003361490 A JP 2003361490A JP 2003361490 A JP2003361490 A JP 2003361490A JP 2005128669 A JP2005128669 A JP 2005128669A
Authority
JP
Japan
Prior art keywords
information
magnetic card
magnetic
card
read
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.)
Granted
Application number
JP2003361490A
Other languages
Japanese (ja)
Other versions
JP4330425B2 (en
Inventor
Masahiro Yoshii
昌浩 芳井
Akihiro Tadamasa
明博 忠政
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP2003361490A priority Critical patent/JP4330425B2/en
Publication of JP2005128669A publication Critical patent/JP2005128669A/en
Application granted granted Critical
Publication of JP4330425B2 publication Critical patent/JP4330425B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To issue only a magnetic card of high magnetic recording performance, and accept and normally process even a magnetic card of lowered magnetic recording performance. <P>SOLUTION: At card issuing processing, after a magnetic write head 6 writes information to an issued magnetic card 2 supplied from a card supply bed 7, a magnetic read head 5 reads the information from the magnetic card 2, and the read information is checked with first standards to determine whether the information written to the magnetic card 2 is normal or not. At card accepting processing, before or after the magnetic write head 6 writes information to the magnetic card 2 inserted from a slot 1b, the magnetic read head 5 reads the information from the magnetic card 2, and the read information is checked with second standards lower than the first standards to determine whether the information recorded on the magnetic card 2 or the information written to the magnetic card 2 is normal or not. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、磁気カードに情報を書き込んで発行するカード発行処理と、利用者が所持する磁気カードを受け付けて情報を読み取ったり書き込んだりするカード受付処理とを行う磁気カード発行受付装置に関する。   The present invention relates to a card issuing process for writing and issuing information on a magnetic card and a card receiving process for receiving and reading information from a magnetic card possessed by a user.

磁気カードを処理する装置として、磁気カードに所定の情報を書き込んで当該カードを発行する磁気カード発行装置がある。磁気カード発行装置は、例えばカード利用者の識別情報等を示すキャラクタデータ(文字情報)を上位装置から受信すると、当該キャラクタデータを磁気カードに磁気記録するために磁気書き込みヘッドに流す電流の制御データに変換する。そして、変換した電流制御データに基づいて磁気書き込みヘッドに電流を流すことにより磁気カードの磁気ストライプに情報を書き込む(磁気記録する)。書き込み後、磁気読み取りヘッドで磁気カードの磁気ストライプから情報を読み取って、読み取った情報をキャラクタデータに変換する。そして、変換後のキャラクタデータと、書き込もうとしたキャラクタデータ、即ち上位装置から受信したキャラクタデータとを照合した結果から、磁気カードに書き込んだ情報が正常か否かを判別する。ここで、磁気カードに書き込んだ情報が正常であると判別した場合は、その磁気カードを発行する。これに対して、書き込んだ情報が正常でないと判別した場合は、その磁気カードを破棄し、新たな磁気カードに対して上述したように情報の書き込みと、書き込んだ情報の正常判別を行う。   As a device for processing a magnetic card, there is a magnetic card issuing device for writing predetermined information on a magnetic card and issuing the card. When the magnetic card issuing device receives, for example, character data (character information) indicating the card user's identification information from the host device, the control data of the current passed through the magnetic write head to magnetically record the character data on the magnetic card Convert to Information is written (magnetically recorded) to the magnetic stripe of the magnetic card by passing a current through the magnetic write head based on the converted current control data. After writing, information is read from the magnetic stripe of the magnetic card with a magnetic reading head, and the read information is converted into character data. Then, it is determined whether or not the information written on the magnetic card is normal based on the result of collating the converted character data with the character data to be written, that is, the character data received from the host device. If it is determined that the information written on the magnetic card is normal, the magnetic card is issued. On the other hand, when it is determined that the written information is not normal, the magnetic card is discarded, and writing of information to the new magnetic card and normal determination of the written information are performed as described above.

また、磁気カードを処理する装置として、利用者が所持する磁気カードを受け付けて情報の読み取りや書き込みの処理を行う磁気カード受付装置がある。磁気カード受付装置は、利用者によって磁気カードが内部に挿入されると、磁気読み取りヘッドで磁気カードの磁気ストライプから情報を読み取って、読み取った情報をキャラクタデータに変換する。このとき、キャラクタデータへの変換が正常に行えれば、磁気カードに記録されている情報が正常であるので、変換後のキャラクタデータを上位装置に送信する。これに対して、キャラクタデータへの変換が正常に行えなければ、磁気カードに記録されている情報が正常でないので、その磁気カードを回収または返却する。また、磁気読み取りヘッドによる読み取りの条件を変更し、再度磁気カードから情報を読み取ることもある。   Further, as a device for processing a magnetic card, there is a magnetic card receiving device that receives a magnetic card possessed by a user and reads and writes information. When the magnetic card is inserted into the magnetic card by the user, the magnetic card receiving device reads information from the magnetic stripe of the magnetic card with a magnetic reading head and converts the read information into character data. At this time, if the conversion to the character data can be performed normally, the information recorded on the magnetic card is normal, and the converted character data is transmitted to the host device. On the other hand, if the conversion to character data cannot be performed normally, the information recorded on the magnetic card is not normal, and the magnetic card is collected or returned. In addition, the reading condition by the magnetic reading head may be changed and information may be read from the magnetic card again.

磁気カードの記録情報が正常であると判別して、変換後のキャラクタデータを上位装置に送信すると、磁気カード受付装置は、例えば上位装置が自動現金取引装置等であれば、上位装置から残高情報等を示すキャラクタデータを受信する。そして、受信したキャラクタデータを磁気書き込みヘッドに流す電流の制御データに変換した後、この変換した電流制御データに基づいて磁気書き込みヘッドに電流を流すことにより磁気カードの磁気ストライプに情報を書き込む。書き込み後、磁気読み取りヘッドで磁気カードの磁気ストライプから情報を読み取って、読み取った情報をキャラクタデータに変換する。そして、変換後のキャラクタデータと、書き込もうとしたキャラクタデータとを照合した結果から、磁気カードに書き込んだ情報が正常か否かを判別する。ここで、磁気カードに書き込んだ情報が正常であると判別した場合は、その磁気カードを返却する。これに対して、書き込んだ情報が正常でないと判別した場合は、その磁気カードを回収または返却する。   When it is determined that the recording information of the magnetic card is normal and the converted character data is transmitted to the host device, the magnetic card accepting device receives the balance information from the host device if the host device is an automatic cash transaction device, for example. Character data indicating such as is received. Then, after the received character data is converted into control data of current to be passed through the magnetic write head, information is written to the magnetic stripe of the magnetic card by passing current through the magnetic write head based on the converted current control data. After writing, information is read from the magnetic stripe of the magnetic card with a magnetic reading head, and the read information is converted into character data. Then, it is determined whether or not the information written on the magnetic card is normal based on the result of comparing the converted character data with the character data to be written. If it is determined that the information written on the magnetic card is normal, the magnetic card is returned. On the other hand, when it is determined that the written information is not normal, the magnetic card is collected or returned.

なお、上述したように磁気カードに情報を書き込んだ後に、磁気カードから読み取った情報と磁気カードに書き込もうとした情報とを照合して、磁気カードに書き込んだ情報が正常か否かを判別する技術は、例えば下記の特許文献1に記載されている。また、磁気カードに記録されている情報が正常に読み取れなかった場合に、磁気読み取りヘッドによる読み取りの条件を変更し、再度磁気カードから情報を読み取る技術は、例えば下記の特許文献2に記載されている。   In addition, after writing information on the magnetic card as described above, the technology for checking whether the information written on the magnetic card is normal by comparing the information read from the magnetic card with the information to be written on the magnetic card Is described, for example, in Patent Document 1 below. In addition, when the information recorded on the magnetic card cannot be read normally, a technique for changing the reading conditions by the magnetic reading head and reading the information from the magnetic card again is described in, for example, Patent Document 2 below. Yes.

特開2001−92997号公報JP 2001-92997 A 特開平9−63006号公報JP-A-9-63006

磁気カードを媒体として種々のサービスを提供等する事業者からは、上述したカード発行処理とカード受付処理とを1台の装置で行えるようにしたいという要望がある。またこの要望とともに、磁気カードの発行に際しては、発行後磁気カードが長期間に渡って利用されることを考慮して、磁気ストライプに所定の情報が所定の磁力で確実に記録されていて、磁気ストライプに傷や汚れがついていない磁気記録性能の高い磁気カードのみを発行したいという要望がある。さらに、磁気カードの受付に際しては、長期間に渡る利用によって磁気ストライプに傷等がついたり磁気ストライプが劣化したりして、磁気記録性能が低下した磁気カードであっても、できる限り受け付けて正常に所定の情報処理を行いたいという要望がある。しかしながら、上記の要望に応えるために、カード発行処理とカード受付処理とを1台の装置で行う場合、両方の処理で磁気カードの情報が正常か否かの判別を同様に厳密に行うと、カード発行時には磁気記録性能の高い磁気カードのみを発行できるが、カード受付時には磁気記録性能が低下した磁気カードに対して正常に所定の情報処理を行えないおそれがある。また、両方の処理で磁気カードの情報が正常か否かの判別を同様に緩和して行うと、カード受付時には磁気記録性能が低下した磁気カードに対しても正常に所定の情報処理を行えるが、カード発行時には磁気記録性能の高くない磁気カードも発行してしまうおそれがある。   There is a demand from a provider who provides various services using a magnetic card as a medium so that the card issuing process and the card receiving process described above can be performed by a single device. In addition to this demand, when issuing a magnetic card, given that the magnetic card is used for a long time after issuance, predetermined information is reliably recorded on the magnetic stripe with a predetermined magnetic force, There is a desire to issue only a magnetic card with high magnetic recording performance in which the stripes are not scratched or soiled. Furthermore, when accepting a magnetic card, even if it is a magnetic card whose magnetic recording performance has deteriorated due to scratches etc. on the magnetic stripe or deterioration of the magnetic stripe due to long-term use, it should be accepted as much as possible There is a desire to perform predetermined information processing. However, in order to meet the above-mentioned demand, when the card issuing process and the card receiving process are performed by one apparatus, it is also strictly determined whether the information on the magnetic card is normal in both processes. Only a magnetic card with high magnetic recording performance can be issued when the card is issued, but there is a possibility that predetermined information processing cannot be normally performed on a magnetic card with a reduced magnetic recording performance when the card is received. In addition, if the determination of whether or not the information on the magnetic card is normal is performed in the same manner in both processes, predetermined information processing can be normally performed even on a magnetic card whose magnetic recording performance has deteriorated when the card is received. When a card is issued, there is a possibility that a magnetic card having a low magnetic recording performance may be issued.

本発明は、上記問題点を同時に解決するものであって、その課題とするところは、磁気記録性能の高い磁気カードのみを発行できるとともに、磁気記録性能の低下した磁気カードであっても受け付けて正常に処理できる磁気カード発行受付装置を提供することにある。   The present invention solves the above problems at the same time, and the problem is that only a magnetic card with high magnetic recording performance can be issued, and even a magnetic card with reduced magnetic recording performance is accepted. An object of the present invention is to provide a magnetic card issuance / acceptance device that can process normally.

本発明は、発行用の磁気カードに対して書き込み手段で情報を書き込んで当該磁気カードを発行するカード発行処理と、受け付けた磁気カードに対して読み取り手段で情報を読み取ったり書き込み手段で情報を書き込んだりして当該磁気カードを返却するカード受付処理とを行う磁気カード発行受付装置であって、書き込み手段で磁気カードに情報を書き込む前は、読み取り手段で磁気カードから読み取った情報に基づいて、磁気カードにあらかじめ記録されている情報が正常か否かを判別し、磁気カードに情報を書き込んだ後は、書き込み情報と書き込み後に読み取り手段で磁気カードから読み取った情報とに基づいて、磁気カードに書き込んだ情報が正常か否かを判別する判別手段を設けていて、当該判別手段は、カード発行処理時には、第1の基準を用いて磁気カードの情報が正常か否かを判別し、カード受付処理時には、第1の基準よりも低い第2の基準を用いて磁気カードの情報が正常か否かを判別する。   The present invention relates to a card issuing process for writing information to a magnetic card for issue by a writing means and issuing the magnetic card, and reading information to the received magnetic card by a reading means or writing information by a writing means. A magnetic card issuance accepting device that performs a card accepting process for returning the magnetic card and before writing information to the magnetic card by the writing means, based on the information read from the magnetic card by the reading means. After determining whether the information recorded in advance on the card is normal and writing the information on the magnetic card, the information is written on the magnetic card based on the written information and the information read from the magnetic card by the reading means after writing. A discriminating means for discriminating whether or not the information is normal, and the discriminating means It is determined whether or not the information on the magnetic card is normal using the first standard, and whether or not the information on the magnetic card is normal is determined using a second standard lower than the first standard during the card acceptance process. To do.

上記のようにすると、カード発行処理時において、磁気カードに情報を書き込んだ後に、第2の基準よりも高い第1の基準を用いて磁気カードに書き込んだ情報が正常か否かの判別を厳密に行うことができ、磁気記録性能の高い磁気カードのみを発行することが可能となる。また、カード受付処理時において、磁気カードに情報を書き込む前に、第1の基準よりも低い第2の基準を用いて磁気カードにあらかじめ記録されている情報が正常か否かの判別をカード発行処理時よりも緩和して行うことができるとともに、情報を書き込んだ後にも、第2の基準を用いて磁気カードに書き込んだ情報が正常か否かの判別をカード発行処理時よりも緩和して行うことができ、磁気記録性能の低下した磁気カードであっても受け付けて正常に処理することが可能となる。   As described above, in the card issuing process, after writing information on the magnetic card, it is strictly determined whether the information written on the magnetic card using the first reference higher than the second reference is normal. It is possible to issue only a magnetic card with high magnetic recording performance. Also, during the card acceptance process, before writing information to the magnetic card, the card issuance is performed to determine whether or not the information recorded in advance on the magnetic card is normal using the second reference lower than the first reference. It can be performed more relaxed than at the time of processing, and after writing information, the determination whether the information written on the magnetic card using the second reference is normal is more relaxed than at the time of card issuing processing. Even a magnetic card with reduced magnetic recording performance can be received and processed normally.

また、本発明の実施形態では、書き込み手段は、キャラクタデータを磁気カードに磁気記録可能なデータに変換する書き込み情報変換手段と、書き込み情報変換手段が変換したデータに基づいて磁気カードに情報を磁気記録して書き込む磁気書き込みヘッドとから構成され、読み取り手段は、磁気カードに磁気記録されたデータを読み取る磁気読み取りヘッドと、磁気読み取りヘッドが読み取ったデータをキャラクタデータに変換する読み取り情報変換手段とから構成されている。また、判別手段が用いる基準は、磁気読み取りヘッドが磁気カードから情報を読み取ったときに出力する電圧のレベルに関する基準と、読み取り情報変換手段が読み取った情報をキャラクタデータまで変換する過程で生成されるパルス波形データのジッタのレベルに関する基準とを厳しくまたは緩くすることによってそれぞれ設定されている。そして、判別手段は、磁気書き込みヘッドが磁気カードに情報を書き込んだ後、磁気読み取りヘッドが磁気カードから読み取った情報を読み取り情報変換手段がキャラクタデータまで変換する場合に、第1の基準または第2の基準を満たして正常に変換できたか否かの結果と、変換後のキャラクタデータが磁気カードに書き込む前のキャラクタデータと一致しているか否かの結果とから、磁気カードの情報が正常か否かを判別する。   In the embodiment of the present invention, the writing means includes a writing information converting means for converting the character data into data that can be magnetically recorded on the magnetic card, and magnetically stores information on the magnetic card based on the data converted by the writing information converting means. The magnetic reading head comprises a magnetic writing head for recording and writing, and the reading means includes a magnetic reading head for reading data magnetically recorded on the magnetic card, and a reading information converting means for converting the data read by the magnetic reading head into character data. It is configured. Further, the reference used by the discriminating means is generated in the process of converting the information read by the read information converting means to the character data and the reference regarding the level of the voltage output when the magnetic read head reads the information from the magnetic card. Each is set by tightening or loosening a reference for the jitter level of the pulse waveform data. Then, the discriminating means reads the information read from the magnetic card by the magnetic read head after the magnetic write head writes information to the magnetic card, and the read information converting means converts the data to character data. Whether or not the information on the magnetic card is normal based on the result of whether or not the conversion was successful and the character data after conversion is the same as the character data before writing to the magnetic card Is determined.

上記のようにすると、カード発行処理時において、磁気カードに情報を書き込んだ後に、磁気カードから読み取った情報を厳しく設定された第1の基準を満たして正常にキャラクタデータに変換でき、かつ、変換後のキャラクタデータが磁気カードに書き込む前のキャラクタデータと一致している場合に、磁気カードに書き込んだ情報が正常であると判別することで、磁気記録性能が高くしかも情報を正確に書き込んだ磁気カードのみを発行することが可能となる。また、カード受付処理時において、磁気カードに情報を書き込んだ後に、磁気カードから読み取った情報を緩く設定された第2の基準を満たして正常にキャラクタデータに変換でき、かつ、変換後のキャラクタデータが磁気カードに書き込む前のキャラクタデータと一致している場合に、磁気カードに書き込んだ情報が正常であると判別することで、磁気記録性能の低下した磁気カードであっても受け付けて情報を正確に書き込んだ後に返却することが可能となる。   As described above, after the information is written to the magnetic card during the card issuing process, the information read from the magnetic card can be normally converted into character data satisfying the strictly set first standard, and the conversion When the later character data matches the character data before writing to the magnetic card, it is determined that the information written on the magnetic card is normal, so that the magnetic recording performance is high and the magnetic Only cards can be issued. In addition, after the information is written to the magnetic card during the card acceptance process, the information read from the magnetic card can be normally converted into character data satisfying the second standard set loosely, and the converted character data If the data matches the character data before being written to the magnetic card, the information written on the magnetic card is determined to be normal, so even if the magnetic card has a reduced magnetic recording performance, the information can be accurately received. It becomes possible to return it after writing it.

さらに、本発明の実施形態では、判別手段は、カード受付処理時に書き込み手段で磁気カードに情報を書き込んだ後は、第2の基準を用いて磁気カードの情報が正常か否かを判別し、磁気カードに情報を書き込む前は、第2の基準よりも低い第3の基準を用いて磁気カードの情報が正常か否かを判別する。   Furthermore, in the embodiment of the present invention, after the information is written to the magnetic card by the writing means during the card reception process, the determining means determines whether the information on the magnetic card is normal using the second reference, Before writing information to the magnetic card, it is determined whether or not the information on the magnetic card is normal by using a third reference lower than the second reference.

上記のようにすると、カード受付処理時において、磁気カードに情報を書き込む前には、第2の基準よりも低い第3の基準を用いて磁気カードに記録されている情報が正常か否かの判別を情報の書き込み後よりも緩和して行うことができ、磁気記録性能の低下した磁気カードをより多く受け付けて情報の書き込みを行うことが可能となる。そして、磁気カードに情報を書き込んだ後には、第3の基準よりも高い第2の基準を用いて磁気カードに書き込んだ情報が正常か否かの判別を情報の書き込み前よりも厳密に行うことができ、受け付けた磁気カードのうち情報が正確に書き込めなかったものを判別して回収または返却することが可能となる。   As described above, at the time of card acceptance processing, before writing information to the magnetic card, whether or not the information recorded on the magnetic card is normal using the third reference lower than the second reference. The discrimination can be performed more relaxed than after the information is written, and it is possible to accept more magnetic cards having a deteriorated magnetic recording performance and write the information. After the information is written on the magnetic card, it is determined more strictly whether the information written on the magnetic card is normal using the second reference higher than the third reference than before the information is written. It is possible to determine and collect or return the received magnetic card whose information cannot be written correctly.

本発明によれば、カード発行処理時には、第2の基準よりも高い第1の基準を用いることで、磁気カードの情報が正常か否かの判別を厳密に行って、磁気記録性能の高い磁気カードのみを発行することが可能となり、カード受付処理時には、第1の基準よりも低い第2の基準を用いることで、磁気カードの情報が正常か否かの判別をカード発行処理時よりも緩和して行って、磁気記録性能の低下した磁気カードであっても受け付けて正常に処理することが可能となる。   According to the present invention, at the time of card issuance processing, by using the first reference higher than the second reference, it is strictly determined whether or not the information on the magnetic card is normal, and the magnetic recording performance is high. It is possible to issue only cards, and at the time of card acceptance processing, the use of a second standard lower than the first standard makes it easier to determine whether the information on the magnetic card is normal or not than during card issuance processing. Thus, even a magnetic card with reduced magnetic recording performance can be received and processed normally.

図1は、本発明の実施形態に係る磁気カード発行受付装置の概略構造を示す図である。図1において、10は磁気カード発行受付装置であって、この装置10は、発行用の磁気カードに対して情報を書き込んで当該磁気カードを発行するカード発行処理と、受け付けた磁気カードに対して所定の情報処理を行って返却するカード受付処理とを行う。1は磁気カード発行受付装置10の本体、1aは本体1の内部空間(以下、本体内部と記す)、1bは磁気カード2が挿入されたり排出されたりする挿入排出口である。3a〜3dは磁気カード2の位置を検出するカード検出センサであって、3a〜3cはフォトマイクロセンサから構成され、3dはリミットスイッチから構成されている。以下、3aを第1センサ、3bを第2センサ、3cを第3センサ、3dを第4センサという。センサ3a〜3cは、投光する光が磁気カード2によって遮断されていないときは、磁気カード2を検出せずにOFF状態であるが、投光する光が磁気カード2によって遮断されると、磁気カード2を検出してON状態になる。センサ3dは、磁気カード2が接触していないときは、磁気カード2を検出せずにOFF状態であるが、磁気カード2が接触すると、磁気カード2を検出してON状態になる。4はモータ15(図2に図示)によって回転するローラである。ローラ4は、モータ15が正転駆動すると磁気カード2をF方向へ搬送し、モータ15が逆転駆動すると磁気カード2をB方向へ搬送する。   FIG. 1 is a diagram showing a schematic structure of a magnetic card issue / acceptance device according to an embodiment of the present invention. In FIG. 1, reference numeral 10 denotes a magnetic card issuance / acceptance device. The device 10 writes information to an issuance magnetic card and issues the magnetic card, and the received magnetic card. A card reception process for performing predetermined information processing and returning the card is performed. Reference numeral 1 denotes a main body of the magnetic card issuance / acceptance device 10, 1a denotes an internal space of the main body 1 (hereinafter referred to as the inside of the main body), and 1b denotes an insertion / discharge port through which the magnetic card 2 is inserted or discharged. 3a to 3d are card detection sensors for detecting the position of the magnetic card 2, 3a to 3c are constituted by photomicrosensors, and 3d is constituted by a limit switch. Hereinafter, 3a is referred to as a first sensor, 3b as a second sensor, 3c as a third sensor, and 3d as a fourth sensor. When the light to be projected is not blocked by the magnetic card 2, the sensors 3 a to 3 c are in the OFF state without detecting the magnetic card 2, but when the light to be projected is blocked by the magnetic card 2, The magnetic card 2 is detected and turned on. When the magnetic card 2 is not in contact, the sensor 3d is in the OFF state without detecting the magnetic card 2. However, when the magnetic card 2 is in contact, the sensor 3d detects the magnetic card 2 and is in the ON state. A roller 4 is rotated by a motor 15 (shown in FIG. 2). The roller 4 conveys the magnetic card 2 in the F direction when the motor 15 is driven in the forward direction, and conveys the magnetic card 2 in the B direction when the motor 15 is driven in the reverse direction.

5は磁気読み取りヘッドであって、ローラ4によって搬送される磁気カード2の磁気ストライプ(図示省略)と接するように配置されている。この磁気読み取りヘッド5は、磁気カード2がF方向に搬送されて行くときに、磁気カード2の磁気ストライプに磁気記録された情報を読み取る。詳しくは、磁気読み取りヘッド5は、内蔵するコアとコイルによって磁気ストライプの磁力の変化を検出してそれを電圧の変化に変え、その電圧の変化を内蔵するアンプによって増幅して、後述する読み取り情報変換部13(図2に図示)へ出力する。6は磁気書き込みヘッドであって、ローラ4によって搬送される磁気カード2と接するように配置されている。この磁気書き込みヘッド6は、磁気カード2がB方向に搬送されて行くときに、磁気カード2の磁気ストライプに情報を書き込む。詳しくは、磁気書き込みヘッド6は、後述する書き込み情報変換部14(図2に図示)から入力されて来る電流制御データに基づいて、内蔵するコイルに流す電流を制御して、磁気ストライプに情報を磁気記録する。7はカード供給台であって、発行用の磁気カード2を上部に保持する。なお、本実施形態では、発行用の磁気カード2は、磁気ストライプに情報が何も記録されていない新品の磁気カードである。8はモータ16(図2に図示)によって回転するローラである。ローラ8は、モータ16が正転駆動するとカード供給台7をU方向に上昇させ、モータ16が逆転駆動するとカード供給台7をD方向に下降させる。カード供給台7がU方向に上昇させられることにより、カード供給台7上の発行用の磁気カード2が上方(U方向)にあるローラ4に接触し、ローラ4の回転によってF、B方向に搬送されるようになる。9は磁気カード2を回収する回収部である。   Reference numeral 5 denotes a magnetic read head, which is disposed so as to be in contact with a magnetic stripe (not shown) of the magnetic card 2 conveyed by the roller 4. The magnetic read head 5 reads information magnetically recorded on the magnetic stripe of the magnetic card 2 when the magnetic card 2 is conveyed in the F direction. Specifically, the magnetic read head 5 detects a change in the magnetic force of the magnetic stripe with a built-in core and coil, converts it to a change in voltage, amplifies the change in voltage with a built-in amplifier, and reads information described later. It outputs to the conversion part 13 (illustrated in FIG. 2). Reference numeral 6 denotes a magnetic write head, which is disposed in contact with the magnetic card 2 conveyed by the roller 4. The magnetic write head 6 writes information on the magnetic stripe of the magnetic card 2 when the magnetic card 2 is conveyed in the B direction. Specifically, the magnetic write head 6 controls the current flowing in the built-in coil based on current control data input from a write information conversion unit 14 (shown in FIG. 2) described later, and stores information in the magnetic stripe. Magnetic recording. Reference numeral 7 denotes a card supply table, which holds the magnetic card 2 for issuance at the top. In the present embodiment, the issuing magnetic card 2 is a new magnetic card in which no information is recorded in the magnetic stripe. A roller 8 is rotated by a motor 16 (shown in FIG. 2). The roller 8 raises the card supply table 7 in the U direction when the motor 16 is driven to rotate in the forward direction, and lowers the card supply table 7 in the D direction when the motor 16 is driven in the reverse direction. When the card supply base 7 is raised in the U direction, the magnetic card 2 for issuing on the card supply base 7 comes into contact with the upper roller 4 (U direction), and the rotation of the roller 4 causes the F and B directions to rotate. It will be transported. A collection unit 9 collects the magnetic card 2.

図2は、磁気カード発行受付装置10の電気的構成を示すブロック図である。図2において、11は磁気カード発行受付装置10の各部を制御する制御部であって、CPU、ROM、RAM、および後記の制御回路等から構成されている。なお、ROMにはCPUの動作プログラム等が記憶されていて、RAMにはCPUが各部を制御する制御データが読み書き可能に記憶される。制御部11は、磁気カード2に情報を書き込む前に、前述の磁気読み取りヘッド5によって磁気カード2から情報を読み取り、この読み取った情報に基づいて、後述するように磁気カード2にあらかじめ記録されている情報が正常か否かを判別する。また、制御部11は、磁気カード2に情報を書き込んだ後は、磁気読み取りヘッド5によって磁気カード2から情報を読み取り、この読み取った情報と書き込み情報(書き込もうとした情報)とに基づいて、後述するように磁気カード2に書き込んだ情報が正常か否かを判別する。12は不揮発性メモリ等から構成されている記憶部である。   FIG. 2 is a block diagram showing an electrical configuration of the magnetic card issue / acceptance device 10. In FIG. 2, reference numeral 11 denotes a control unit that controls each unit of the magnetic card issuance / acceptance device 10 and includes a CPU, a ROM, a RAM, a control circuit described later, and the like. The ROM stores a CPU operation program and the like, and the RAM stores control data for the CPU to control each unit in a readable / writable manner. The controller 11 reads information from the magnetic card 2 by the magnetic reading head 5 before writing information to the magnetic card 2, and is recorded in advance on the magnetic card 2 as will be described later based on the read information. It is determined whether the information is normal. Further, after writing information to the magnetic card 2, the control unit 11 reads information from the magnetic card 2 by the magnetic reading head 5, and based on the read information and write information (information to be written), which will be described later. Thus, it is determined whether or not the information written on the magnetic card 2 is normal. A storage unit 12 includes a nonvolatile memory or the like.

13は読み取り情報変換部であって、アナログデータをデジタルデータに変換する回路等から構成されている。この読み取り情報変換部13は、磁気読み取りヘッド5によって磁気カード2から読み取った磁気情報、即ち磁気読み取りヘッド5から入力される電圧の変化を、電圧波形データから、パルス波形データ、ビットデータ、キャラクタデータへと順番に変換して、制御部11に出力する。14は書き込み情報変換部であって、デジタルデータをアナログデータに変換する回路等から構成されている。この書き込み情報変換部14は、制御部11から入力される書き込み情報、即ちキャラクタデータを、磁気カード2に磁気記録するために磁気書き込みヘッド6に流す電流の制御データに変換する。15は前述のローラ4を回転させるカード搬送用モータである。制御部11は、モータ15の駆動を制御するための制御回路を備えていて、その回路によってモータ15を正転駆動または逆転駆動し、ローラ4を回転させて磁気カード2を本体内部1aの所定の位置に所定の速度で搬送する。16は前述のローラ8を回転させるカード供給台移動用モータである。制御部11は、モータ16の駆動を制御するための制御回路を備えていて、その回路によってモータ16を正転駆動または逆転駆動し、ローラ8を回転させて前述のカード供給台7を上下方向U、Dに昇降移動させる。3a〜3dは前述のカード検出センサである。制御部11は、各センサ3a〜3dからの出力信号を検出するための検出回路を備えていて、その回路によって各センサ3a〜3dの出力状態を確認して、磁気カード2の位置を認識する。17は上位装置30と相互に通信を行うための通信部である。制御部11は、この通信部17によって磁気カード2から読み取った情報を上位装置30に送信したり、磁気カード2に書き込む情報を上位装置30から受信したりする。上位装置30は、本実施形態では、自動現金取引処理装置であって、磁気カード2を利用する利用者の識別情報等が入力される入力手段を備えている。なお、入力手段とは、例えば利用者が自己の識別情報等を入力するために操作するキーや、センターに設置された利用者の識別情報等を一手に管理するメインコンピュータからその識別情報等を受信するための通信回路等のことである。   Reference numeral 13 denotes a read information conversion unit, which includes a circuit for converting analog data into digital data. The read information conversion unit 13 converts the magnetic information read from the magnetic card 2 by the magnetic read head 5, that is, changes in voltage input from the magnetic read head 5, from voltage waveform data, pulse waveform data, bit data, character data. And sequentially output to the control unit 11. Reference numeral 14 denotes a write information conversion unit, which includes a circuit for converting digital data into analog data. The write information conversion unit 14 converts the write information input from the control unit 11, that is, character data, into control data of current to be passed through the magnetic write head 6 for magnetic recording on the magnetic card 2. A card conveying motor 15 rotates the roller 4 described above. The control unit 11 includes a control circuit for controlling the driving of the motor 15. The motor 15 is driven to rotate forward or reversely by the circuit, and the roller 4 is rotated to move the magnetic card 2 to a predetermined inside the main body 1 a. To a position at a predetermined speed. Reference numeral 16 denotes a card supply table moving motor that rotates the roller 8 described above. The control unit 11 includes a control circuit for controlling the driving of the motor 16, and the motor 16 is driven to rotate forward or reversely by the circuit, and the roller 8 is rotated to move the card supply table 7 up and down. Move up and down to U and D. Reference numerals 3a to 3d denote the card detection sensors described above. The control unit 11 includes a detection circuit for detecting output signals from the sensors 3a to 3d, and confirms the output states of the sensors 3a to 3d by the circuit to recognize the position of the magnetic card 2. . Reference numeral 17 denotes a communication unit for communicating with the host device 30. The control unit 11 transmits information read from the magnetic card 2 by the communication unit 17 to the host device 30 and receives information to be written to the magnetic card 2 from the host device 30. In this embodiment, the host device 30 is an automatic cash transaction processing device, and includes an input means for inputting identification information of a user who uses the magnetic card 2. The input means is, for example, a key operated by a user to input his / her identification information, a user's identification information installed in the center, etc. It is a communication circuit for receiving.

以上の構成において、制御部11は、本発明における判別手段の一実施形態を構成する。磁気読み取りヘッド5は、本発明における磁気読み取りヘッドの一実施形態を構成し、読み取り情報変換部13は、本発明における読み取り情報変換手段の一実施形態を構成し、磁気読み取りヘッド5と読み取り情報変換部13とは、本発明における読み取り手段の一実施形態を構成する。磁気書き込みヘッド6は、本発明における磁気書き込みヘッドの一実施形態を構成し、書き込み情報変換部14は、本発明における書き込み情報変換手段の一実施形態を構成し、磁気書き込みヘッド6と書き込み情報変換部14とは、本発明における書き込み手段の一実施形態を構成する。   In the above configuration, the control unit 11 constitutes an embodiment of the discrimination means in the present invention. The magnetic read head 5 constitutes an embodiment of the magnetic read head in the present invention, and the read information conversion unit 13 constitutes an embodiment of the read information conversion means in the present invention. The unit 13 constitutes an embodiment of reading means in the present invention. The magnetic write head 6 constitutes one embodiment of the magnetic write head in the present invention, and the write information conversion unit 14 constitutes one embodiment of the write information conversion means in the present invention. The unit 14 constitutes an embodiment of the writing means in the present invention.

図3は、読み取り情報変換部13による読み取り情報の変換の過程を説明するための図である。図3において、前述の磁気読み取りヘッド5によって磁気カード2から情報を読み取ったときに、磁気読み取りヘッド5から読み取り情報変換部13に出力されて来る信号は、図3(a)に示すように、磁気カード2の磁力の変化に応じた電圧の変化を表すアナログの信号である。図3(a)では磁気読み取りヘッド5の出力電圧波形を横軸に時間tをとり縦軸に電圧値Vをとって示している。読み取り情報変換部13は、出力電圧の信号を所定の間隔でサンプリングして、図3(b)に示すデジタルの電圧波形データに変換する。次に、電圧波形データのピーク値(+V側および−V側)を検出し、検出したピーク値同士の間隔に応じて、図3(c)に示すようなパルス列からなるパルス波形データに変換する。そして、パルス波形データの各パルスの立ち上がりと立ち下りを検出し、規定間隔Waと略同等の間隔Wの初めと終りと中間とで立ち上がりまたは立ち下りがある場合は「1」、間隔Wの初めと終りのみで立ち上がりまたは立ち下りがある場合は「0」、というように判断して、図3(d)に示すように「0」と「1」の論理データであるビットデータに変換する。そして最終的に、ビットデータを所定のフォーマットに従って読み取り、図3(e)に示すように文字情報であるキャラクタデータに変換する。   FIG. 3 is a diagram for explaining a process of conversion of read information by the read information conversion unit 13. In FIG. 3, when information is read from the magnetic card 2 by the magnetic read head 5 described above, a signal output from the magnetic read head 5 to the read information conversion unit 13 is as shown in FIG. It is an analog signal representing a change in voltage according to a change in magnetic force of the magnetic card 2. In FIG. 3A, the output voltage waveform of the magnetic read head 5 is shown with the time t on the horizontal axis and the voltage value V on the vertical axis. The read information converter 13 samples the output voltage signal at a predetermined interval and converts it into digital voltage waveform data shown in FIG. Next, peak values (+ V side and −V side) of the voltage waveform data are detected, and converted into pulse waveform data including a pulse train as shown in FIG. 3C according to the interval between the detected peak values. . Then, the rise and fall of each pulse of the pulse waveform data is detected, and when there is a rise or fall at the beginning, end, and middle of the interval W substantially equal to the specified interval Wa, “1”, the beginning of the interval W When there is a rise or fall only at the end, it is judged as “0” and converted into bit data that is logical data of “0” and “1” as shown in FIG. Finally, the bit data is read according to a predetermined format and converted into character data as character information as shown in FIG.

図4は、読み取り情報検査基準を示す図である。図4(a)に示す読み取り情報検査基準テーブルTは、前述の記憶部12に記憶されていて、基準A、基準B、基準Cの3つの基準をそれぞれ示している。各基準A〜Cは、磁気読み取りヘッド5が磁気カード2から情報を読み取ったときに出力する出力電圧のレベルに関する基準と、読み取った情報を読み取り情報変換部13がキャラクタデータまで変換する過程で生成されるパルス波形データのジッタのレベルに関する基準とを厳しくまたは緩くすることによってそれぞれ設定されている。3つの基準A〜Cの高低関係は、図4(b)に示すように基準Aが一番高く(一番厳しく)、基準Bが次に高く、基準Cが一番低く(一番緩く)なっている。前述の制御部11は、磁気読み取りヘッド5で磁気カード2から読み取った情報を読み取り情報変換部13がキャラクタデータまで変換する際に、いずれかの基準A〜Cを用いて読み取りヘッド5から出力されて来る出力電圧のレベルと、出力電圧を変換して生成したパルス波形データのジッタのレベルとを検査する。詳しくは、カード発行処理時の場合は、基準Aを用いて、磁気読み取りヘッド5の出力電圧レベル(出力電圧の振幅のこと)が、図3(a)に示す上下の規定値Va、Vbを100%としたときの、90%以上であるかを検査し、また、図3(c)に示した「0」または「1」の1ビットのデータを表すパルス波形データの各間隔Wのジッタレベル(規定間隔Waに対する誤差のこと)が10%以上であるデータが1ビット未満であるかを検査する。カード受付処理時における情報の書き込み後の場合は、基準Bを用いて、磁気読み取りヘッド5の出力電圧レベルが70%以上であるかを検査し、また、パルス波形データの各間隔Wのジッタレベルが20%以上であるデータが10ビット未満であるかを検査する。カード受付処理時における情報の書き込み前の場合は、基準Cを用いて、磁気読み取りヘッド5の出力電圧レベルが10%以上であるかを検査し、また、パルス波形データの各間隔Wのジッタレベルが30%以上であるデータが10ビット未満であるかを検査する。   FIG. 4 is a diagram showing a reading information inspection standard. The read information inspection reference table T shown in FIG. 4A is stored in the storage unit 12 described above, and shows three references, reference A, reference B, and reference C, respectively. Each reference A to C is generated in the process in which the read information conversion unit 13 converts the read information into character data, and the reference related to the level of the output voltage output when the magnetic read head 5 reads information from the magnetic card 2. Each of the pulse waveform data is set by stricter or less strict reference with respect to the jitter level of the pulse waveform data. As shown in FIG. 4 (b), the reference A is the highest (most severe), the reference B is the next highest, and the reference C is the lowest (most loose) as shown in FIG. It has become. The control unit 11 described above is output from the read head 5 using any of the criteria A to C when the read information conversion unit 13 converts the information read from the magnetic card 2 by the magnetic read head 5 into character data. The level of the incoming output voltage and the jitter level of the pulse waveform data generated by converting the output voltage are inspected. Specifically, in the case of the card issuance process, the reference voltage A is used and the output voltage level (the amplitude of the output voltage) of the magnetic read head 5 is set to the upper and lower specified values Va and Vb shown in FIG. Jitter at each interval W of pulse waveform data representing 1-bit data of “0” or “1” shown in FIG. It is checked whether data whose level (an error with respect to the specified interval Wa) is 10% or more is less than 1 bit. After the information is written at the time of the card reception process, the reference B is used to check whether the output voltage level of the magnetic read head 5 is 70% or more, and the jitter level at each interval W of the pulse waveform data. It is checked whether or not the data having 20% or more is less than 10 bits. Before writing information at the time of card acceptance processing, it is checked whether the output voltage level of the magnetic read head 5 is 10% or more using the reference C, and the jitter level at each interval W of the pulse waveform data. It is checked whether or not data having a value of 30% or more is less than 10 bits.

図5は、キャラクタデータを説明するための図である。図5(a)、(b)において、SS(Start Sentinel)は先頭の制御コード、ES(End Sentinel)は末尾の制御コードであって、これらは全て「1」の5ビットのビットデータからなる。CD1〜CD#は1つ1つのキャラクタデータであって、各キャラクタデータCD1〜CD#は、英数字等の文字を表す5ビットのビットデータと、キャラクタデータCD1〜CD#毎のパリティ(Parity)であるVRC(Vertical Redundancy Check)を表す1ビットのビットデータとからなる。なお、VRCは文字を表す5ビットのビットデータの「1」の数が偶数であれば「1」、奇数であれば「0」と規定されている。LRC(Longitudinal Redundancy Check)はデータ全体のパリティであって、全てのビットデータの「1」の数が偶数であれば「1」、奇数であれば「0」と規定されている。   FIG. 5 is a diagram for explaining the character data. In FIGS. 5A and 5B, SS (Start Sentinel) is the head control code, ES (End Sentinel) is the tail control code, and these are all composed of 5-bit bit data of “1”. . CD1 to CD # are character data one by one, and each character data CD1 to CD # includes 5-bit bit data representing characters such as alphanumeric characters and parity (Parity) for each character data CD1 to CD #. And 1-bit bit data representing VRC (Vertical Redundancy Check). Note that VRC is defined as “1” if the number of “1” of 5-bit bit data representing a character is an even number, and “0” if it is an odd number. LRC (Longitudinal Redundancy Check) is the parity of the entire data, and is defined as “1” if the number of “1” of all bit data is an even number, and “0” if it is an odd number.

前述の制御部11は、磁気読み取りヘッド5で磁気カード2から読み取った情報を読み取り情報変換部13がキャラクタデータまで変換すると、変換後のキャラクタデータの磁気フォーマットを検査する。具体的には、データの先頭に制御コードSSが存在するか、LRCの直前に制御コードESが存在するか、キャラクタデータCD1〜CD#毎のパリティであるVRCが正しいか、およびデータ全体のパリティであるLRCが正しいかについて検査する。また、制御部11は、キャラクタデータを書き込み情報変換部14で変換して磁気書き込みヘッド6で磁気カード2に書き込んだ後に、磁気読み取りヘッド5で磁気カード2から読み取った情報を読み取り情報変換部13でキャラクタデータまで変換した場合には、上述した変換後のキャラクタデータの検査に加えて、変換後のキャラクタデータと、磁気カード2に書き込もうとしたキャラクタデータ(書き込み情報)とが一致しているかを検査する。具体的には、2つのキャラクタデータの全容量が一致しているか、および2つのキャラクタデータの各CD1〜CD#が一致しているかについて検査する。   When the information read from the magnetic card 2 by the magnetic read head 5 is read and converted by the information conversion unit 13 into character data, the control unit 11 inspects the magnetic format of the converted character data. Specifically, the control code SS exists at the beginning of the data, the control code ES exists immediately before the LRC, the VRC that is the parity for each of the character data CD1 to CD # is correct, and the parity of the entire data Check whether the LRC is correct. The control unit 11 converts the character data by the write information conversion unit 14 and writes it on the magnetic card 2 by the magnetic write head 6, and then reads the information read from the magnetic card 2 by the magnetic read head 5. In addition to the above-described inspection of the character data after conversion, whether the character data after conversion and the character data (write information) to be written on the magnetic card 2 coincide with each other. inspect. Specifically, it is inspected whether the total capacity of the two character data matches and whether each of the CD1 to CD # of the two character data matches.

図6〜図10は、磁気カード発行受付装置10の動作手順を示すフローチャートである。各処理は、制御部11(詳しくは、制御部11に備わるCPU)が実行する。なお、図6はメインの処理を示し、図7Aおよび図7Bはカード受付処理の詳細を示し、図8Aおよび図8Bはカード発行処理の詳細を示し、図9は読み取り情報検査処理の詳細を示し、図10はカード回収処理の詳細を示している。   6 to 10 are flowcharts showing an operation procedure of the magnetic card issue / acceptance device 10. Each process is executed by the control unit 11 (specifically, a CPU provided in the control unit 11). 6 shows the main process, FIGS. 7A and 7B show the details of the card reception process, FIGS. 8A and 8B show the details of the card issue process, and FIG. 9 shows the details of the read information inspection process. FIG. 10 shows details of the card collection processing.

図6において、磁気カード発行受付装置10の挿入排出口1b(図1)から磁気カード2が挿入されると、前述の第1センサ3a(図1)が磁気カード2を検出してOFF状態からON状態に切り替わるので(ステップS1:YES)、この切り替わり信号を受けて制御部11は、図7Aおよび図7Bのフローチャートに従ってカード受付処理を実行する(ステップS2)。図7Aにおいて、まず制御部11は、前述のカード搬送用モータ15(図2)の正転駆動を開始して(ステップS11)、前述のローラ4(図1)を正回転させ、磁気カード2を本体内部1aでF方向に搬送させて行く。しばらくした後、第1センサ3aが磁気カード2を検出しなくなってON状態からOFF状態に切り替わると(ステップS12:YES)、制御部11は、磁気カード2が前述の磁気読み取りヘッド5(図1)と接触する位置まで搬送されたと判断し、磁気読み取りヘッド5による磁気カード2からの情報の読み取りを開始する(ステップS13)。そして、前述の第2センサ3b(図1)が磁気カード2を検出してOFF状態からON状態に切り替わると(ステップS14:YES)、制御部11は、磁気カード2が磁気読み取りヘッド5と接触しなくなる位置まで搬送されたと判断し、磁気読み取りヘッド5による磁気カード2からの情報の読み取りを停止する(ステップS15)。またこの直後、制御部11は、モータ15の正転駆動を停止して(ステップS16)、ローラ4の正回転を停止させ、磁気カード2の搬送を停止する。   In FIG. 6, when the magnetic card 2 is inserted from the insertion / ejection port 1b (FIG. 1) of the magnetic card issuance / acceptance device 10, the first sensor 3a (FIG. 1) detects the magnetic card 2 from the OFF state. Since it is switched to the ON state (step S1: YES), upon receiving this switching signal, the control unit 11 executes card acceptance processing according to the flowcharts of FIGS. 7A and 7B (step S2). 7A, first, the control unit 11 starts normal rotation driving of the card transport motor 15 (FIG. 2) (step S11), and rotates the roller 4 (FIG. 1) in the normal direction, thereby causing the magnetic card 2 to rotate. Is conveyed in the F direction inside the main body 1a. After a while, when the first sensor 3a stops detecting the magnetic card 2 and switches from the ON state to the OFF state (step S12: YES), the control unit 11 determines that the magnetic card 2 is the magnetic read head 5 (FIG. 1). ), And reading of information from the magnetic card 2 by the magnetic reading head 5 is started (step S13). When the second sensor 3b (FIG. 1) described above detects the magnetic card 2 and switches from the OFF state to the ON state (step S14: YES), the control unit 11 causes the magnetic card 2 to contact the magnetic read head 5. It is determined that the sheet has been transported to a position where it no longer exists, and reading of information from the magnetic card 2 by the magnetic reading head 5 is stopped (step S15). Immediately after this, the controller 11 stops the forward rotation drive of the motor 15 (step S16), stops the forward rotation of the roller 4, and stops the conveyance of the magnetic card 2.

モータ15の正転駆動を停止すると、制御部11は、磁気読み取りヘッド5が磁気カード2から読み取った情報を、前述の読み取り情報変換部13(図2)によってキャラクタデータに変換して行く(ステップS17)。そして変換後、制御部11は、前述した一番低い基準C(図4)を用いて、図9のフローチャートに従って読み取り情報検査処理を実行する(ステップS18)。図9において、まず制御部11は、変換したキャラクタデータの磁気フォーマットを検査する(ステップS81)。ここでは、前述したようにキャラクタデータに制御コードであるSSやESが存在するか、およびパリティであるVRCやLRCが正しいかについて検査する。次に、制御部11は、キャラクタデータまでの変換過程で生成されたパルス波形データのジッタレベルを検査する(ステップS82)。ここでは、前述したように基準Cを用いて、パルス波形データのジッタレベルが30%以上であるデータが10ビット未満であるかを検査する。そして、制御部11は、磁気カード2から情報を読み取ったときの磁気読み取りヘッド5の出力電圧レベルを検査する(ステップS83)ここでは、前述したように基準Cを用いて、磁気読み取りヘッド5の出力電圧レベルが10%以上であるかを検査する。出力電圧レベルを検査すると、制御部11は、磁気カード2に対してまだ情報を書き込んでいないので(ステップS84:NO)、読み取り情報検査処理を終了して、図7AのステップS19に移行する。   When the forward rotation driving of the motor 15 is stopped, the control unit 11 converts the information read from the magnetic card 2 by the magnetic reading head 5 into character data by the read information conversion unit 13 (FIG. 2) (step). S17). After the conversion, the control unit 11 executes the read information inspection process according to the flowchart of FIG. 9 using the lowest reference C (FIG. 4) described above (step S18). In FIG. 9, the control unit 11 first checks the magnetic format of the converted character data (step S81). Here, as described above, it is checked whether the character data includes the control code SS or ES and whether the parity VRC or LRC is correct. Next, the control unit 11 inspects the jitter level of the pulse waveform data generated in the conversion process up to the character data (step S82). Here, as described above, the reference C is used to check whether or not the data of which the jitter level of the pulse waveform data is 30% or more is less than 10 bits. Then, the control unit 11 inspects the output voltage level of the magnetic read head 5 when information is read from the magnetic card 2 (step S83). Here, the reference C is used as described above to determine the output voltage level of the magnetic read head 5. Inspect whether the output voltage level is 10% or more. When the output voltage level is inspected, the control unit 11 has not yet written information to the magnetic card 2 (step S84: NO), and thus ends the read information inspection process and proceeds to step S19 in FIG. 7A.

図7AのステップS19に移行すると、制御部11は、読み取り情報のキャラクタデータへの変換が正常にできたか否かを判定する。直前の読み取り情報検査処理(ステップS18)において、キャラクタデータの磁気フォーマットが正常で(SS、ESともに存在、VRC、LRCともに正しい)、キャラクタデータのジッタレベルが基準Cを満足していて(ジッタレベルが30%以上であるデータが10ビット未満)、磁気読み取りヘッド5の出力電圧レベルも基準Cを満足していた(出力電圧レベルが10%以上)場合には、制御部11は、読み取り情報のキャラクタデータへの変換が正常にできたと判断する(ステップS19:YES)。このように判別すると、制御部11は、磁気カード2にあらかじめ記録されていた情報が正常であると判別し(ステップS20)、変換後のキャラクタデータを前述の通信部17(図2)によって上位装置30に送信して(ステップS21)、図7BのステップS26に移行する。   When the process proceeds to step S19 in FIG. 7A, the control unit 11 determines whether or not the conversion of the read information into the character data has been normally performed. In the immediately preceding read information inspection process (step S18), the magnetic format of the character data is normal (both SS and ES are present, both VRC and LRC are correct), and the jitter level of the character data satisfies the reference C (jitter level). If the output voltage level of the magnetic read head 5 also satisfies the standard C (the output voltage level is 10% or more), the controller 11 reads the read information. It is determined that the conversion into character data has been performed normally (step S19: YES). If it discriminate | determines in this way, the control part 11 will discriminate | determine that the information previously recorded on the magnetic card 2 is normal (step S20), and will convert the character data after conversion by the above-mentioned communication part 17 (FIG. 2). It transmits to the apparatus 30 (step S21), and moves to step S26 of FIG. 7B.

上記に対して、例えば挿入された磁気カード2の磁気ストライプに非常に大きな傷や汚れがついていたり、磁気ストライプの磁力が非常に小さくなっていたりして、磁気カード2の磁気記録性能が著しく低下していることが原因で、直前の読み取り情報検査処理(ステップS18)において、キャラクタデータの磁気フォーマットが正常でなかったり(SSとESの一方または両方が不存在、あるいはVRCとLRCの一方または両方が正しくない)、キャラクタデータのジッタレベルが基準Cを満足していなかったり(ジッタレベルが30%以上であるデータが10ビット以上)、磁気読み取りヘッド5の出力電圧レベルが基準Cを満足していなかったり(出力電圧レベルが10%未満)した場合には、制御部11は、ステップS19で読み取り情報のキャラクタデータへの変換が正常にできなかったと判断する(ステップS19:NO)。このように判別すると、制御部11は、磁気カード2にあらかじめ記録されていた情報が異常であると判別して(ステップS22)、磁気カード2の記録情報が異常であることを通信部17によって上位装置30に通知する(ステップS23)。そして通知後、磁気カード2を回収する命令を通信部17によって上位装置30から受信しなければ(ステップS24:NO)、制御部11は、図7BのステップS26に移行する。これに対して、磁気カード2を回収する命令を上位装置30から受信すると(ステップS24:YES)、制御部11は、図10のフローチャートに従ってカード回収処理を実行する(ステップS25)。なお、磁気カード2の回収命令は、磁気カード2の記録情報の異常を上位装置30に通知した後ではなく、通知する前に予め上位装置30から受信していてもよい。図10において、まず制御部11は、モータ15を正転駆動して(ステップS91)、ローラ4を正回転させ、磁気カード2をF方向に搬送させて行く。そして、前述の第3センサ3c(図1)が一旦磁気カード2を検出してOFF状態からON状態に切り替わった後に、磁気カード2を検出しなくなってOFF状態に切り替わると(ステップS92:YES)、制御部11は、磁気カード2が前述のカード回収部9に回収された(図1の二点鎖線状態)と判断し、モータ15の正転駆動を停止して(ステップS93)、ローラ4の正回転を停止させ、磁気カード2に対するカード回収処理およびカード受付処理を終了する。   In contrast to the above, for example, the magnetic stripe of the inserted magnetic card 2 has very large scratches or dirt, or the magnetic force of the magnetic stripe is very small, so that the magnetic recording performance of the magnetic card 2 is remarkably deteriorated. In the immediately preceding read information inspection process (step S18), the magnetic format of the character data is not normal (SS or ES is absent or one or both VRC and LRC are both) Is not correct), the jitter level of the character data does not satisfy the standard C (data with a jitter level of 30% or more is 10 bits or more), or the output voltage level of the magnetic read head 5 satisfies the standard C If not (the output voltage level is less than 10%), the control unit 11 reads in step S19. Take conversion to character data information is determined to not be normally performed (step S19: NO). If it discriminate | determines in this way, the control part 11 will discriminate | determine that the information previously recorded on the magnetic card 2 is abnormal (step S22), and the communication part 17 will indicate that the recording information on the magnetic card 2 is abnormal. The host device 30 is notified (step S23). After the notification, if the command to collect the magnetic card 2 is not received from the host device 30 by the communication unit 17 (step S24: NO), the control unit 11 proceeds to step S26 in FIG. 7B. On the other hand, when a command for collecting the magnetic card 2 is received from the host device 30 (step S24: YES), the control unit 11 executes a card collection process according to the flowchart of FIG. 10 (step S25). Note that the collection command for the magnetic card 2 may be received in advance from the host device 30 before notifying the host device 30 of an abnormality in the recording information of the magnetic card 2 but before notifying the host device 30. In FIG. 10, the control unit 11 first drives the motor 15 to rotate forward (step S91), rotates the roller 4 forward, and transports the magnetic card 2 in the F direction. Then, after the above-described third sensor 3c (FIG. 1) once detects the magnetic card 2 and switches from the OFF state to the ON state, the magnetic card 2 is not detected and switches to the OFF state (step S92: YES). The control unit 11 determines that the magnetic card 2 has been collected by the card collection unit 9 (the two-dot chain line state in FIG. 1), stops the forward rotation of the motor 15 (step S93), and the roller 4 Is stopped, and the card collecting process and the card receiving process for the magnetic card 2 are terminated.

図7BのステップS26に移行して、磁気カード2に書き込むキャラクタデータを通信部17によって上位装置30から受信すると(ステップS26:YES)、制御部11は、受信したキャラクタデータを、前述の書き込み情報変換部14(図2)によって前述の磁気書き込みヘッド6(図1)に流す電流の制御データに変換する(ステップS27)。この後、制御部11は、モータ15の逆転駆動を開始して(ステップS28)、ローラ4を逆回転させ、磁気カード2をB方向に搬送させて行く。また、モータ15の逆転駆動の開始直後に、制御部11は、ステップS27で書き込み情報変換部14により変換した電流制御データに基づいて磁気書き込みヘッド6による磁気カード2への情報の書き込みを開始する(ステップS29)。そして、第1センサ3aが磁気カード2を検出してOFF状態からON状態に切り替わると(ステップS30:YES)、制御部11は、磁気カード2が磁気書き込みヘッド6と接触しなくなる位置まで搬送されたと判断し、磁気書き込みヘッド6による磁気カード2への情報の書き込みを停止する(ステップS31)。またこの直後、制御部11は、モータ15の逆転駆動を停止して(ステップS32)、ローラ4の逆回転を停止させ、磁気カード2の搬送を停止する。   7B, when the character data to be written on the magnetic card 2 is received from the host device 30 by the communication unit 17 (step S26: YES), the control unit 11 converts the received character data into the above-described write information. The conversion unit 14 (FIG. 2) converts the control data into the current control data flowing in the magnetic write head 6 (FIG. 1) (step S27). Thereafter, the control unit 11 starts reverse rotation driving of the motor 15 (step S28), reversely rotates the roller 4, and conveys the magnetic card 2 in the B direction. Further, immediately after the start of the reverse drive of the motor 15, the control unit 11 starts writing information to the magnetic card 2 by the magnetic write head 6 based on the current control data converted by the write information conversion unit 14 in step S27. (Step S29). When the first sensor 3a detects the magnetic card 2 and switches from the OFF state to the ON state (step S30: YES), the control unit 11 is transported to a position where the magnetic card 2 does not come into contact with the magnetic write head 6. The writing of information to the magnetic card 2 by the magnetic writing head 6 is stopped (step S31). Immediately after this, the controller 11 stops the reverse drive of the motor 15 (step S32), stops the reverse rotation of the roller 4, and stops the conveyance of the magnetic card 2.

モータ15の逆転駆動を停止すると、制御部11は、モータ15の正転駆動を開始して(ステップS33)、ローラ4を正回転させ、磁気カード2をF方向に搬送させて行き、続いて直に、磁気読み取りヘッド5による磁気カード2からの情報の読み取りを開始する(ステップS34)。そして、第2センサ3bが磁気カード2を検出してOFF状態からON状態に切り替わると(ステップS35:YES)、制御部11は、磁気カード2が磁気読み取りヘッド5と接触しなくなる位置まで搬送されたと判断し、磁気読み取りヘッド5による磁気カード2からの情報の読み取りを停止する(ステップS36)。またこの直後、制御部11は、モータ15の正転駆動を停止して(ステップS37)、ローラ4の正回転を停止させ、磁気カード2の搬送を停止する。   When the reverse drive of the motor 15 is stopped, the controller 11 starts the forward drive of the motor 15 (step S33), rotates the roller 4 forward, transports the magnetic card 2 in the F direction, and then continues. Immediately, reading of information from the magnetic card 2 by the magnetic reading head 5 is started (step S34). When the second sensor 3b detects the magnetic card 2 and switches from the OFF state to the ON state (step S35: YES), the control unit 11 is transported to a position where the magnetic card 2 does not come into contact with the magnetic reading head 5. The reading of information from the magnetic card 2 by the magnetic reading head 5 is stopped (step S36). Immediately after this, the controller 11 stops the forward drive of the motor 15 (step S37), stops the forward rotation of the roller 4, and stops the conveyance of the magnetic card 2.

モータ15の正転駆動を停止すると、制御部11は、磁気読み取りヘッド5が磁気カード2から読み取った情報を、読み取り情報変換部13によってキャラクタデータに変換して行く(ステップS38)。そして変換後、制御部11は、前述した基準B(図4)を用いて、図9のフローチャートに従って読み取り情報検査処理を実行する(ステップS39)。図9において、まず制御部11は、前述したように変換したキャラクタデータの磁気フォーマットを検査する(ステップS81)。次に、制御部11は、キャラクタデータまでの変換過程で生成されたパルス波形データのジッタレベルを検査する(ステップS82)。ここでは、前述したように基準Bを用いて、パルス波形データのジッタレベルが20%以上であるデータが10ビット未満であるかを検査する。そして、制御部11は、磁気読み取りヘッド5の出力電圧レベルを検査する(ステップS83)ここでは、前述したように基準Bを用いて、磁気読み取りヘッド5の出力電圧レベルが70%以上であるかを検査する。出力電圧レベルを検査すると、制御部11は、磁気カード2に対して情報を書き込んでいるので(ステップS84:YES)、変換後のキャラクタデータの全容量と、磁気カード2に書き込もうとしたキャラクタデータ(上位装置30から受信したキャラクタデータ)の全容量とが一致しているかを検査する(ステップS85)。そしてさらに、制御部11は、変換後のキャラクタデータの各データCD1〜CD#(図5)と、磁気カード2に書き込もうとしたキャラクタデータの各データCD1〜CD#(図5)とがそれぞれ一致しているかを検査する(ステップS86)。検査後、制御部11は、読み取り情報検査処理を終了して、図7BのステップS40に移行する。   When the forward rotation driving of the motor 15 is stopped, the control unit 11 converts the information read from the magnetic card 2 by the magnetic reading head 5 into character data by the read information conversion unit 13 (step S38). After the conversion, the control unit 11 executes the read information inspection process according to the flowchart of FIG. 9 using the reference B (FIG. 4) described above (step S39). In FIG. 9, the control unit 11 first checks the magnetic format of the character data converted as described above (step S81). Next, the control unit 11 inspects the jitter level of the pulse waveform data generated in the conversion process up to the character data (step S82). Here, as described above, the reference B is used to check whether or not the data whose pulse waveform data jitter level is 20% or more is less than 10 bits. Then, the control unit 11 checks the output voltage level of the magnetic read head 5 (step S83). Here, as described above, using the reference B, is the output voltage level of the magnetic read head 5 70% or higher? Inspect. When the output voltage level is inspected, the control unit 11 has written information to the magnetic card 2 (step S84: YES), so that the entire capacity of the converted character data and the character data to be written to the magnetic card 2 are obtained. It is inspected whether the total capacity of the (character data received from the host device 30) matches (step S85). Further, the control unit 11 has one data CD1 to CD # (FIG. 5) of the converted character data and one data CD1 to CD # (FIG. 5) of the character data to be written to the magnetic card 2. It is inspected whether it has done (step S86). After the inspection, the control unit 11 ends the read information inspection process and proceeds to step S40 in FIG. 7B.

図7BのステップS40に移行すると、制御部11は、読み取り情報のキャラクタデータへの変換が正常にできたか否かを判定する。直前の読み取り情報検査処理(ステップS39)において、キャラクタデータの磁気フォーマットが正常で、キャラクタデータのジッタレベルが基準Bを満足していて(ジッタレベルが20%以上であるデータが10ビット未満)、磁気読み取りヘッド5の出力電圧レベルも基準Bを満足していた(出力電圧レベルが70%以上)場合には、制御部11は、読み取り情報のキャラクタデータへの変換が正常にできたと判断する(ステップS40:YES)。そして続いて、制御部11は、磁気カード2から読み取ったキャラクタデータが磁気カード2に書き込もうとしたキャラクタデータと一致しているか否かを判定する(ステップS41)。直前の読み取り情報検査処理(ステップS39)において、変換後のキャラクタデータと書き込もうとしたキャラクタデータの全容量が一致していて、変換後のキャラクタデータと書き込もうとしたキャラクタデータの各データCD1〜CD#がそれぞれ一致していた場合には、制御部11は、読み取ったキャラクタデータが書き込もうとしたキャラクタデータと一致していると判断する(ステップS41:YES)。このように判断すると、制御部11は、磁気カード2に書き込んだ情報は正常であると判別し(ステップS42)、磁気カード2を返却するために、モータ15の逆転駆動を開始して(ステップS43)、ローラ4を逆回転させ、磁気カード2を挿入排出口1bに向けてB方向に搬送して行く。そして、第1センサ3aが一旦磁気カード2を検出してOFF状態からON状態に切り替わった後に、磁気カード2を検出しなくなってOFF状態に切り替わると(ステップS44:YES)、制御部11は、磁気カード2が挿入排出口1bに排出されて返却できたと判断し、モータ15の逆転駆動を停止して(ステップS45)、ローラ4の逆回転を停止させ、カード受付処理を終了する。   When the process proceeds to step S40 in FIG. 7B, the control unit 11 determines whether or not the conversion of the read information into the character data has been normally performed. In the immediately preceding read information inspection process (step S39), the magnetic format of the character data is normal and the jitter level of the character data satisfies the standard B (data with a jitter level of 20% or more is less than 10 bits), When the output voltage level of the magnetic read head 5 also satisfies the reference B (the output voltage level is 70% or more), the control unit 11 determines that the conversion of the read information into character data has been successfully performed ( Step S40: YES). Subsequently, the control unit 11 determines whether or not the character data read from the magnetic card 2 matches the character data to be written to the magnetic card 2 (step S41). In the immediately preceding read information inspection process (step S39), the converted character data and the character data to be written have the same capacity, and the converted character data and the character data to be written CD1 to CD # Are matched with each other, the control unit 11 determines that the read character data matches the character data to be written (step S41: YES). If it judges in this way, the control part 11 will discriminate | determine that the information written in the magnetic card 2 is normal (step S42), and will start reverse rotation drive of the motor 15 in order to return the magnetic card 2 (step S42). In step S43, the roller 4 is rotated in the reverse direction, and the magnetic card 2 is conveyed in the B direction toward the insertion / discharge port 1b. Then, once the first sensor 3a detects the magnetic card 2 and switches from the OFF state to the ON state, when the magnetic card 2 is not detected and switches to the OFF state (step S44: YES), the control unit 11 It is determined that the magnetic card 2 has been ejected to the insertion / ejection slot 1b and returned, and the reverse drive of the motor 15 is stopped (step S45), the reverse rotation of the roller 4 is stopped, and the card acceptance process is terminated.

上記に対して、挿入された磁気カード2の磁気記録性能が著しく低下していることが原因で、ステップS39の読み取り情報検査処理において、キャラクタデータの磁気フォーマットが正常でなかったり、キャラクタデータのジッタレベルが基準Bを満足していなかったり(ジッタレベルが20%以上であるデータが10ビット以上)、磁気読み取りヘッド5の出力電圧レベルが基準Bを満足していなかったり(出力電圧レベルが70%未満)した場合には、制御部11は、ステップS40で読み取り情報のキャラクタデータへの変換が正常にできなかったと判断し(ステップS40:NO)、磁気カード2に書き込んだ情報が異常であると判別する(ステップS46)。また、ステップS40で読み取り情報のキャラクタデータへの変換が正常にできたと判断しても(ステップS40:YES)、ステップS39の読み取り情報検査処理において、変換後のキャラクタデータと書き込もうとしたキャラクタデータの全容量が一致していなかったり、変換後のキャラクタデータと書き込もうとしたキャラクタデータの各データCD1〜CD#で一致していないデータがあったりした場合には、制御部11は、読み取ったキャラクタデータが書き込もうとしたキャラクタデータと一致していないと判断し(ステップS41:NO)、磁気カード2に書き込んだ情報が異常であると判別する(ステップS46)。このように判別すると、制御部11は、磁気カード2に書き込んだ情報が異常であることを通信部17によって上位装置30に通知する(ステップS47)。そして通知後、磁気カード2を回収する命令を通信部17によって上位装置30から受信しなければ(ステップS48:NO)、制御部11は、前述したのと同様の手順でステップS43〜ステップS45を実行して、磁気カード2を返却し、カード受付処理を終了する。また、ステップS48で磁気カード2を回収する命令を上位装置30から受信すると(ステップS48:YES)、制御部11は、前述したのと同様の手順で図10のフローチャートに従ってカード回収処理を実行して(ステップS49)、磁気カード2を回収し、カード受付処理を終了する。   In contrast to the above, due to the fact that the magnetic recording performance of the inserted magnetic card 2 is remarkably deteriorated, in the read information inspection process in step S39, the character data magnetic format is not normal or the character data jitter The level does not satisfy the standard B (data with a jitter level of 20% or more is 10 bits or more), the output voltage level of the magnetic read head 5 does not satisfy the standard B (the output voltage level is 70%) If it is less, the control unit 11 determines in step S40 that conversion of the read information into character data has not been performed normally (step S40: NO), and the information written in the magnetic card 2 is abnormal. It discriminate | determines (step S46). Even if it is determined in step S40 that the conversion of the read information into the character data has been successfully performed (step S40: YES), the character data to be written and the converted character data are read in the read information inspection process in step S39. If the total capacity does not match or there is data that does not match between the converted character data and the data CD1 to CD # of the character data to be written, the control unit 11 reads the read character data. Is not consistent with the character data to be written (step S41: NO), it is determined that the information written on the magnetic card 2 is abnormal (step S46). If it discriminate | determines in this way, the control part 11 will notify the high-order apparatus 30 by the communication part 17 that the information written in the magnetic card 2 is abnormal (step S47). After the notification, if the command to collect the magnetic card 2 is not received from the host device 30 by the communication unit 17 (step S48: NO), the control unit 11 performs steps S43 to S45 in the same procedure as described above. Execute, return the magnetic card 2, and end the card acceptance process. Further, when a command for collecting the magnetic card 2 is received from the host device 30 in step S48 (step S48: YES), the control unit 11 executes the card collection process according to the flowchart of FIG. 10 in the same procedure as described above. (Step S49), the magnetic card 2 is collected, and the card receiving process is terminated.

一方、図6において、挿入排出口1bから磁気カード2が挿入されていない状態で、上位装置30から磁気カード発行受付装置10に磁気カード2の発行命令と、磁気カード2に書き込むカード利用者の識別情報等を示すキャラクタデータが送信されると、制御部11は、第1センサ3aが磁気カード2を検出せずにOFF状態まま(ステップS1:NO)、磁気カード2の発行命令および磁気カード2に書き込むキャラクタデータを通信部17によって上位装置30から受信するので(ステップS3:YES)、図8Aおよび図8Bのフローチャートに従ってカード発行処理を実行する(ステップS4)。図8Aにおいて、まず制御部11は、上位装置30から受信したキャラクタデータを、書き込み情報変換部14によって磁気書き込みヘッド6に流す電流の制御データに変換する(ステップS51)。次に、制御部11は、前述のカード供給台移動用モータ16(図2)の正転駆動を開始して(ステップS52)、前述のローラ8(図1)を正回転させ、前述のカード供給台7(図1)をU方向に上昇させて行く。そして、前述の第4センサ3d(図1)がカード供給台7上の発行用の磁気カード2を検出してOFF状態からON状態に切り替わると(ステップS53:YES)、制御部11は、発行用の磁気カード2がローラ4によって搬送可能な位置に供給されたと判断し、モータ16の正転駆動を停止して(ステップS54)、ローラ8の正回転を停止させ、カード供給台7の上昇を停止させる。   On the other hand, in FIG. 6, the magnetic card 2 issuance command from the host device 30 to the magnetic card issuance acceptance device 10 and the card user writing to the magnetic card 2 in a state where the magnetic card 2 is not inserted from the insertion / ejection port 1 b. When the character data indicating the identification information or the like is transmitted, the control unit 11 remains in the OFF state without the first sensor 3a detecting the magnetic card 2 (step S1: NO), and issues the magnetic card 2 issue command and the magnetic card. 2 is received from the higher-level device 30 by the communication unit 17 (step S3: YES), card issuing processing is executed according to the flowcharts of FIGS. 8A and 8B (step S4). In FIG. 8A, the control unit 11 first converts the character data received from the higher-level device 30 into control data of current to be passed through the magnetic write head 6 by the write information conversion unit 14 (step S51). Next, the control unit 11 starts normal rotation driving of the card supply table moving motor 16 (FIG. 2) (step S52), and rotates the roller 8 (FIG. 1) in the normal direction to thereby rotate the card card. The supply stand 7 (FIG. 1) is raised in the U direction. When the above-described fourth sensor 3d (FIG. 1) detects the magnetic card 2 for issuance on the card supply base 7 and switches from the OFF state to the ON state (step S53: YES), the control unit 11 issues the issuance. It is determined that the magnetic card 2 for use has been supplied to a position that can be transported by the roller 4, the forward drive of the motor 16 is stopped (step S 54), the forward rotation of the roller 8 is stopped, and the card supply table 7 is raised. Stop.

モータ16の正転駆動を停止すると、制御部11は、モータ15の逆転駆動を開始して(ステップS55)、ローラ4を逆回転させ、磁気カード2をB方向に搬送させて行く。しばらくした後、第2センサ3bが一旦磁気カード2を検出してOFF状態からON状態に切り替わった後に、磁気カード2を検出しなくなってOFF状態に切り替わると(ステップS56:YES)、制御部11は、磁気カード2が磁気書き込みヘッド6と接触する位置まで搬送されたと判断し、ステップS51で書き込み情報変換部14により変換した電流制御データに基づいて磁気書き込みヘッド6による磁気カード2への情報の書き込みを開始する(ステップS57)。そして、第1センサ3aが磁気カード2を検出してOFF状態からON状態に切り替わると(ステップS58:YES)、制御部11は、磁気カード2が磁気書き込みヘッド6と接触しなくなる位置まで搬送されたと判断し、磁気書き込みヘッド6による磁気カード2への情報の書き込みを停止する(ステップS59)。またこの直後、制御部11は、モータ15の逆転駆動を停止して(ステップS60)、ローラ4の逆回転を停止させ、磁気カード2の搬送を停止する。   When the forward drive of the motor 16 is stopped, the control unit 11 starts the reverse drive of the motor 15 (step S55), rotates the roller 4 in the reverse direction, and conveys the magnetic card 2 in the B direction. After a while, the second sensor 3b once detects the magnetic card 2 and switches from the OFF state to the ON state, and then stops detecting the magnetic card 2 and switches to the OFF state (step S56: YES). Determines that the magnetic card 2 has been transported to a position where it comes into contact with the magnetic write head 6, and based on the current control data converted by the write information conversion unit 14 in step S51, the information on the magnetic card 2 by the magnetic write head 6 is transferred. Writing is started (step S57). When the first sensor 3a detects the magnetic card 2 and switches from the OFF state to the ON state (step S58: YES), the controller 11 is transported to a position where the magnetic card 2 does not come into contact with the magnetic write head 6. The writing of information to the magnetic card 2 by the magnetic writing head 6 is stopped (step S59). Immediately after this, the controller 11 stops the reverse drive of the motor 15 (step S60), stops the reverse rotation of the roller 4, and stops the conveyance of the magnetic card 2.

モータ15の逆転駆動を停止すると、制御部11は、モータ15の正転駆動を開始して(ステップS61)、ローラ4を正回転させ、磁気カード2をF方向に搬送させて行き、続いて直に、磁気読み取りヘッド5による磁気カード2からの情報の読み取りを開始する(ステップS62)。そして、第2センサ3bが磁気カード2を検出してOFF状態からON状態に切り替わると(ステップS63:YES)、制御部11は、磁気カード2が磁気読み取りヘッド5と接触しなくなる位置まで搬送されたと判断し、磁気読み取りヘッド5による磁気カード2からの情報の読み取りを停止する(ステップS64)。またこの直後、制御部11は、モータ15の正転駆動を停止して(ステップS65)、ローラ4の正回転を停止させ、磁気カード2の搬送を停止する。   When the reverse drive of the motor 15 is stopped, the control unit 11 starts the forward drive of the motor 15 (step S61), rotates the roller 4 forward, transports the magnetic card 2 in the F direction, and then continues. Immediately, reading of information from the magnetic card 2 by the magnetic reading head 5 is started (step S62). When the second sensor 3b detects the magnetic card 2 and switches from the OFF state to the ON state (step S63: YES), the control unit 11 is transported to a position where the magnetic card 2 does not come into contact with the magnetic reading head 5. The reading of information from the magnetic card 2 by the magnetic reading head 5 is stopped (step S64). Immediately after this, the controller 11 stops the forward drive of the motor 15 (step S65), stops the forward rotation of the roller 4, and stops the conveyance of the magnetic card 2.

モータ15の正転駆動を停止すると、制御部11は、磁気読み取りヘッド5が磁気カード2から読み取った情報を、読み取り情報変換部13によってキャラクタデータに変換して行く(図8BのステップS66)。そして変換後、制御部11は、前述した一番高い基準A(図4)を用いて、図9のフローチャートに従って読み取り情報検査処理を実行する(ステップS67)。図9において、まず制御部11は、前述したように変換したキャラクタデータの磁気フォーマットを検査する(ステップS81)。次に、制御部11は、キャラクタデータまでの変換過程で生成されたパルス波形データのジッタレベルを検査する(ステップS82)。ここでは、前述したように基準Aを用いて、パルス波形データのジッタレベルが10%以上であるデータが1ビット未満であるかを検査する。そして、制御部11は、磁気読み取りヘッド5の出力電圧レベルを検査する(ステップS83)ここでは、前述したように基準Aを用いて、磁気読み取りヘッド5の出力電圧レベルが90%以上であるかを検査する。出力電圧レベルを検査すると、制御部11は、磁気カード2に対して情報を書き込んでいるので(ステップS84:YES)、変換後のキャラクタデータの全容量と、磁気カード2に書き込もうとしたキャラクタデータの全容量とが一致しているかを検査する(ステップS85)。そしてさらに、制御部11は、変換後のキャラクタデータの各データCD1〜CD#と、磁気カード2に書き込もうとしたキャラクタデータの各データCD1〜CD#とがそれぞれ一致しているかを検査する(ステップS86)。検査後、制御部11は、読み取り情報検査処理を終了して、図8BのステップS68に移行する。   When the forward rotation driving of the motor 15 is stopped, the control unit 11 converts the information read from the magnetic card 2 by the magnetic reading head 5 into character data by the reading information conversion unit 13 (step S66 in FIG. 8B). After the conversion, the control unit 11 executes the read information inspection process according to the flowchart of FIG. 9 using the highest reference A (FIG. 4) described above (step S67). In FIG. 9, the control unit 11 first checks the magnetic format of the character data converted as described above (step S81). Next, the control unit 11 inspects the jitter level of the pulse waveform data generated in the conversion process up to the character data (step S82). Here, as described above, the reference A is used to check whether or not the data whose pulse waveform data has a jitter level of 10% or more is less than 1 bit. Then, the control unit 11 inspects the output voltage level of the magnetic read head 5 (step S83). Here, as described above, using the reference A, is the output voltage level of the magnetic read head 5 90% or more? Inspect. When the output voltage level is inspected, the control unit 11 has written information to the magnetic card 2 (step S84: YES), so that the entire capacity of the converted character data and the character data to be written to the magnetic card 2 are obtained. It is inspected whether or not the total capacity is equal (step S85). Further, the control unit 11 inspects whether the data CD1 to CD # of the character data after conversion and the data CD1 to CD # of the character data to be written on the magnetic card 2 match each other (step) S86). After the inspection, the control unit 11 ends the read information inspection process and proceeds to step S68 in FIG. 8B.

図8BのステップS68に移行すると、制御部11は、読み取り情報のキャラクタデータへの変換が正常にできたか否かを判定する。直前の読み取り情報検査処理(ステップS67)において、キャラクタデータの磁気フォーマットが正常で、キャラクタデータのジッタレベルが基準Aを満足していて(ジッタレベルが10%以上であるデータが1ビット未満)、磁気読み取りヘッド5の出力電圧レベルも基準Aを満足していた(出力電圧レベルが90%以上)場合には、制御部11は、読み取り情報のキャラクタデータへの変換が正常にできたと判断する(ステップS68:YES)。そして続いて、制御部11は、磁気カード2から読み取ったキャラクタデータが磁気カード2に書き込もうとしたキャラクタデータと一致しているか否かを判定する(ステップS69)。直前の読み取り情報検査処理(ステップS67)において、変換後のキャラクタデータと書き込もうとしたキャラクタデータの全容量が一致していて、変換後のキャラクタデータと書き込もうとしたキャラクタデータの各データCD1〜CD#がそれぞれ一致していた場合には、制御部11は、読み取ったキャラクタデータが書き込もうとしたキャラクタデータと一致していると判断する(ステップS69:YES)。このように判断すると、制御部11は、磁気カード2に書き込んだ情報は正常であると判別し(ステップS70)、磁気カード2を発行するために、モータ15の逆転駆動を開始して(ステップS71)、ローラ4を逆回転させ、磁気カード2を挿入排出口1bに向けてB方向に搬送して行く。そして、第1センサ3aが一旦磁気カード2を検出してOFF状態からON状態に切り替わった後に、磁気カード2を検出しなくなってOFF状態に切り替わると(ステップS72:YES)、制御部11は、磁気カード2が挿入排出口1bに排出されて発行できたと判断し、モータ15の逆転駆動を停止して(ステップS73)、ローラ4の逆回転を停止させ、カード発行処理を終了する。   When the process proceeds to step S68 in FIG. 8B, the control unit 11 determines whether or not the conversion of the read information into the character data has been normally performed. In the immediately preceding read information inspection process (step S67), the magnetic format of the character data is normal, and the jitter level of the character data satisfies the standard A (data with a jitter level of 10% or more is less than 1 bit), When the output voltage level of the magnetic read head 5 also satisfies the reference A (the output voltage level is 90% or more), the control unit 11 determines that the conversion of the read information into character data has been successfully performed ( Step S68: YES). Subsequently, the control unit 11 determines whether or not the character data read from the magnetic card 2 matches the character data to be written to the magnetic card 2 (step S69). In the immediately preceding reading information inspection process (step S67), the converted character data and the character data to be written have the same capacity, and the converted character data and the character data to be written CD1 to CD # Are matched, the control unit 11 determines that the read character data matches the character data to be written (step S69: YES). If it judges in this way, the control part 11 will discriminate | determine that the information written in the magnetic card 2 is normal (step S70), and will start reverse rotation drive of the motor 15 in order to issue the magnetic card 2 (step S70). S71), the roller 4 is rotated in the reverse direction, and the magnetic card 2 is conveyed in the B direction toward the insertion / discharge port 1b. Then, once the first sensor 3a detects the magnetic card 2 and switches from the OFF state to the ON state, when the magnetic card 2 is not detected and switches to the OFF state (step S72: YES), the control unit 11 It is determined that the magnetic card 2 has been ejected to the insertion / ejection slot 1b, and the reverse drive of the motor 15 is stopped (step S73), the reverse rotation of the roller 4 is stopped, and the card issuance process is terminated.

上記に対して、例えば発行用の磁気カード2の磁気ストライプに傷や汚れがついていたり、磁気ストライプの磁力が小さくなっていたりして、磁気カード2の磁気記録性能が高くないことが原因で、ステップS67の読み取り情報検査処理において、キャラクタデータの磁気フォーマットが正常でなかったり、キャラクタデータのジッタレベルが基準Aを満足していなかったり(ジッタレベルが10%以上であるデータが1ビット以上)、磁気読み取りヘッド5の出力電圧レベルが基準Aを満足していなかったり(出力電圧レベルが90%未満)した場合には、制御部11は、ステップS68で読み取り情報のキャラクタデータへの変換が正常にできなかったと判断し(ステップS68:NO)、磁気カード2に書き込んだ情報が異常であると判別する(ステップS74)。また、ステップS68で読み取り情報のキャラクタデータへの変換が正常にできたと判断しても(ステップS68:YES)、ステップS67の読み取り情報検査処理において、変換後のキャラクタデータと書き込もうとしたキャラクタデータの全容量が一致していなかったり、変換後のキャラクタデータと書き込もうとしたキャラクタデータの各データCD1〜CD#で一致していないデータがあったりした場合には、制御部11は、読み取ったキャラクタデータが書き込もうとしたキャラクタデータと一致していないと判断し(ステップS69:NO)、磁気カード2に書き込んだ情報が異常であると判別する(ステップS74)。このように判別すると、制御部11は、前述したのと同様の手順で図10のフローチャートに従ってカード回収処理を実行し(ステップS75)、磁気カード2を回収する。この後、連続して回収した発行用の磁気カード2の枚数が所定枚数未満であれば(ステップS76:NO)、制御部11は、新たな磁気カード2を発行するために、図8AのステップS52に移行し、再度ステップS52から前述したのと同様の手順で各ステップを実行して行く。なお、図8BのステップS76で、連続して回収した発行用の磁気カード2の枚数が所定枚数以上になると(ステップS76:YES)、制御部11は、磁気カード2の発行異常が発生したことを通信部17によって上位装置30に通知し(ステップS77)、磁気カード2を発行しないままカード発行処理を終了する。   In contrast to the above, for example, because the magnetic stripe of the magnetic card 2 for issue is scratched or dirty, or the magnetic force of the magnetic stripe is reduced, the magnetic recording performance of the magnetic card 2 is not high. In the reading information inspection process in step S67, the magnetic format of the character data is not normal, or the jitter level of the character data does not satisfy the standard A (data having a jitter level of 10% or more is 1 bit or more). If the output voltage level of the magnetic read head 5 does not satisfy the reference A (the output voltage level is less than 90%), the control unit 11 normally converts the read information into character data in step S68. It is judged that it was not possible (step S68: NO), and the information written in the magnetic card 2 is abnormal. Determine (step S74). Even if it is determined in step S68 that the conversion of the read information into the character data has been successfully performed (step S68: YES), the character data to be written and the converted character data are read in the read information inspection process in step S67. If the total capacity does not match or there is data that does not match between the converted character data and the data CD1 to CD # of the character data to be written, the control unit 11 reads the read character data. Is not coincident with the character data to be written (step S69: NO), it is determined that the information written to the magnetic card 2 is abnormal (step S74). If it discriminate | determines in this way, the control part 11 will perform a card | curd collection | recovery process according to the flowchart of FIG. 10 in the same procedure as mentioned above (step S75), and will collect | recover the magnetic cards 2. FIG. Thereafter, if the number of magnetic cards 2 for issuance collected continuously is less than the predetermined number (step S76: NO), the control unit 11 performs step of FIG. 8A to issue a new magnetic card 2. The process proceeds to S52, and each step is executed again from step S52 in the same procedure as described above. 8B, if the number of magnetic cards 2 for issuance collected continuously exceeds the predetermined number (step S76: YES), the control unit 11 indicates that an issue abnormality of the magnetic card 2 has occurred. Is notified to the host device 30 by the communication unit 17 (step S77), and the card issuing process is terminated without issuing the magnetic card 2.

以上説明した手順のように、カード発行処理時において、磁気カード2に情報を書き込んだ後に、一番厳しく設定された基準Aを用いて磁気カード2に書き込んだ情報が正常か否かを判別することで、当該判別を厳密に行うことができる。従って、磁気カード2から読み取った情報を基準Aを満たして正常にキャラクタデータに変換でき、かつ、変換後のキャラクタデータが磁気カード2に書き込む前のキャラクタデータと一致していた場合に、磁気カード2に書き込んだ情報が正常であると判別することで、磁気記録性能が高くしかも情報を正確に書き込んでいる磁気カード2のみを発行することが可能となる。また、カード受付処理時において、磁気カード2に情報を書き込む前に、基準Aよりも低く設定された基準Cを用いて磁気カード2に記録されている情報が正常か否かを判別することで、当該判別をカード発行処理時の情報の判別よりも緩和して行うことができる。従って、磁気カード2から読み取った情報を基準Cを満たして正常にキャラクタデータに変換できた場合に、磁気カード2に記録されている情報が正常であると判別することで、磁気記録性能の低下した磁気カード2であっても、受け付けて情報の書き込み処理を行うことが可能となる。さらに、カード受付処理時において、磁気カード2に情報を書き込んだ後に、基準Aよりも低く設定された基準Bを用いて磁気カード2に書き込んだ情報が正常か否かを判別することで、当該判別もカード発行処理時の情報の判別よりも緩和して行うことができる。従って、磁気カード2から読み取った情報を基準Bを満たして正常にキャラクタデータに変換でき、かつ、変換後のキャラクタデータが磁気カード2に書き込む前のキャラクタデータと一致していた場合に、磁気カード2に書き込んだ情報が正常であると判別することで、磁気記録性能の低下した磁気カード2であっても、受け付けて情報を正確に書き込んだ後に返却することが可能となる。   As in the procedure described above, after the information is written to the magnetic card 2 during the card issuing process, it is determined whether or not the information written to the magnetic card 2 is normal using the strictest reference A. Thus, the determination can be performed strictly. Therefore, when the information read from the magnetic card 2 satisfies the standard A and can be normally converted to character data, and the converted character data matches the character data before writing to the magnetic card 2, the magnetic card By determining that the information written in 2 is normal, it is possible to issue only the magnetic card 2 having high magnetic recording performance and accurately writing information. Further, at the time of card acceptance processing, before writing information to the magnetic card 2, it is determined whether or not the information recorded on the magnetic card 2 is normal using the reference C set lower than the reference A. The determination can be made more relaxed than the determination of information during the card issuance process. Therefore, when the information read from the magnetic card 2 satisfies the standard C and can be converted into character data normally, it is determined that the information recorded on the magnetic card 2 is normal, thereby reducing the magnetic recording performance. Even the magnetic card 2 that has been received can be received and information can be written. Further, after the information is written to the magnetic card 2 during the card acceptance process, it is determined whether the information written to the magnetic card 2 is normal using the reference B set lower than the reference A. The determination can also be made more relaxed than the determination of information during the card issuing process. Therefore, when the information read from the magnetic card 2 satisfies the standard B and can be normally converted to character data, and the converted character data matches the character data before writing to the magnetic card 2, the magnetic card By determining that the information written in 2 is normal, even the magnetic card 2 with reduced magnetic recording performance can be received and returned after the information is correctly written.

また、カード受付処理時において、磁気カード2に情報を書き込む前に、基準Bよりも低く設定された基準Cを用いて磁気カード2にあらかじめ記録されていた情報が正常か否かを判別することで、当該判別を磁気カード2への情報の書き込み後の判別よりも緩和して行うことができ、磁気記録性能の低下した磁気カード2をより多く受け付けて情報の書き込みを行うことが可能となる。そして、磁気カード2に情報を書き込んだ後には、基準Bを用いて磁気カード2に書き込んだ情報が正常か否かを判別することで、当該判別を磁気カード2への情報の書き込み前の判別よりも厳密に行うことができ、受け付けた磁気カード2のうち情報が正確に書き込めなかったものを判別して回収または返却することが可能となる。   Further, at the time of card reception processing, before writing information to the magnetic card 2, it is determined whether or not the information recorded in advance on the magnetic card 2 is normal using the reference C set lower than the reference B. Thus, the determination can be performed more relaxed than the determination after information is written to the magnetic card 2, and more magnetic cards 2 with reduced magnetic recording performance can be received and information can be written. . Then, after writing information to the magnetic card 2, it is determined whether or not the information written to the magnetic card 2 is normal using the reference B, so that the determination is made before writing the information to the magnetic card 2. It is possible to perform the process more strictly, and it is possible to determine and collect or return the received magnetic card 2 in which information cannot be written correctly.

以上述べた実施形態においては、図9の読み取り情報検査処理を、磁気カード2から読み取った情報をキャラクタデータまで変換する変換処理を行った後に開始した例を挙げているが、本発明はこれのみに限定するものではなく、読み取り情報検査処理を、例えば読み取り情報の変換処理と同時に開始したり、変換処理中に開始したりするようにしてもよい。   In the embodiment described above, the read information inspection process of FIG. 9 is exemplified after the conversion process for converting the information read from the magnetic card 2 to the character data, but the present invention is only this. For example, the read information inspection process may be started simultaneously with the conversion process of the read information, or may be started during the conversion process.

また、上記実施形態では、カード受付処理において、正常に処理できなかった磁気カード2を返却する場合に、そのまま磁気カード2を挿入排出口1bに返却した例を挙げているが、本発明はこれのみに限定するものではなく、例えば正常に処理できなかった磁気カードの記録情報を消去したり、記録情報が異常であることを示す情報を書き込んだりする等の処理を磁気カードに施してから返却するようにしてもよい。   Moreover, in the said embodiment, when returning the magnetic card 2 which was not able to process normally in a card reception process, the example which returned the magnetic card 2 to the insertion discharge port 1b as it is is given, but this invention does this. For example, the magnetic card record information that could not be processed normally is deleted, or information indicating that the record information is abnormal is written to the magnetic card and returned. You may make it do.

さらに、上記実施形態では、発行用の磁気カード2が、本体内部1aに設けたカード供給台7によって自動的に供給される磁気カード発行受付装置10に、本発明を適用した例を挙げているが、本発明はこれ以外にも、発行用の磁気カード2が、上位装置30に備わるカード供給部から自動的に供給される磁気カード発行受付装置や、発行用の磁気カード2を挿入排出口1bから手動で供給して本体内部1aへ取り込み、情報記録後に挿入排出口1bから放出する磁気カード発行受付装置に適用することが可能である。   Furthermore, in the said embodiment, the example which applied this invention to the magnetic card issue reception apparatus 10 to which the magnetic card 2 for issuing is automatically supplied by the card supply stand 7 provided in the main body inside 1a is given. However, the present invention is not limited to this, and a magnetic card issuance accepting device in which the magnetic card 2 for issuance is automatically supplied from a card supply unit provided in the host device 30, and the magnetic card 2 for issuance is inserted and discharged. It can be applied to a magnetic card issuance accepting device that is manually supplied from 1b, taken into the main body 1a, and released from the insertion / ejection port 1b after information recording.

磁気カード発行受付装置の概略構造を示す図である。It is a figure which shows schematic structure of a magnetic card issue acceptance apparatus. 磁気カード発行受付装置の電気的構成を示すブロック図である。It is a block diagram which shows the electrical constitution of a magnetic card issue acceptance apparatus. 読み取り情報の変換の過程を説明するための図である。It is a figure for demonstrating the process of conversion of reading information. 読み取り情報検査基準を示す図である。It is a figure which shows a reading information inspection standard. キャラクタデータを説明するための図である。It is a figure for demonstrating character data. 磁気カード発行受付装置のメインの処理を示すフローチャートである。It is a flowchart which shows the main process of a magnetic card issue acceptance apparatus. カード受付処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of a card | curd reception process. カード受付処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of a card | curd reception process. カード発行処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of a card | curd issuing process. カード発行処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of a card | curd issuing process. 読み取り情報検査処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of a reading information test | inspection process. カード回収処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of a card | curd collection process.

符号の説明Explanation of symbols

2 磁気カード
5 磁気読み取りヘッド
6 磁気書き込みヘッド
10 磁気カード発行受付装置
11 制御部
13 読み込み情報変換部
14 書き込み情報変換部
2 Magnetic Card 5 Magnetic Reading Head 6 Magnetic Writing Head 10 Magnetic Card Issuance Accepting Device 11 Control Unit 13 Read Information Conversion Unit 14 Write Information Conversion Unit

Claims (3)

発行用の磁気カードに対して書き込み手段で情報を書き込んで当該磁気カードを発行するカード発行処理と、受け付けた磁気カードに対して読み取り手段で情報を読み取ったり書き込み手段で情報を書き込んだりして当該磁気カードを返却するカード受付処理とを行う磁気カード発行受付装置であって、
書き込み手段で磁気カードに情報を書き込む前は、読み取り手段で磁気カードから読み取った情報に基づいて、磁気カードにあらかじめ記録されている情報が正常か否かを判別し、磁気カードに情報を書き込んだ後は、書き込み情報と書き込み後に読み取り手段で磁気カードから読み取った情報とに基づいて、磁気カードに書き込んだ情報が正常か否かを判別する判別手段を備え、
前記判別手段は、カード発行処理時には、第1の基準を用いて磁気カードの情報が正常か否かを判別し、カード受付処理時には、前記第1の基準よりも低い第2の基準を用いて磁気カードの情報が正常か否かを判別することを特徴とする磁気カード発行受付装置。
A card issuing process for writing information to a magnetic card for issuing by a writing means and issuing the magnetic card, and reading information to a magnetic card received by a reading means or writing information by a writing means A magnetic card issuance accepting device that performs card acceptance processing for returning a magnetic card,
Before writing information to the magnetic card by the writing means, based on the information read from the magnetic card by the reading means, it is determined whether or not the information recorded in advance on the magnetic card is normal, and the information is written to the magnetic card. Thereafter, based on the written information and the information read from the magnetic card by the reading means after writing, provided with a determining means for determining whether the information written on the magnetic card is normal,
The discriminating unit discriminates whether or not the information on the magnetic card is normal using the first standard during the card issuing process, and uses a second standard lower than the first standard during the card receiving process. A magnetic card issuance / acceptance device characterized by determining whether or not information on a magnetic card is normal.
請求項1に記載の磁気カード発行受付装置において、
前記書き込み手段は、キャラクタデータを磁気カードに磁気記録可能なデータに変換する書き込み情報変換手段と、前記書き込み情報変換手段が変換したデータに基づいて磁気カードに情報を磁気記録して書き込む磁気書き込みヘッドとから構成され、
前記読み取り手段は、磁気カードに磁気記録された情報を読み取る磁気読み取りヘッドと、前記磁気読み取りヘッドが読み取った情報をキャラクタデータに変換する読み取り情報変換手段とから構成され、
前記判別手段が用いる前記基準は、前記磁気読み取りヘッドが磁気カードから情報を読み取ったときに出力する電圧のレベルに関する基準と、前記読み取り情報変換手段が前記読み取った情報をキャラクタデータまで変換する過程で生成されるパルス波形データのジッタのレベルに関する基準とを厳しくまたは緩くすることによってそれぞれ設定されていて、
前記判別手段は、前記磁気書き込みヘッドが磁気カードに情報を書き込んだ後、前記磁気読み取りヘッドが磁気カードから読み取った情報を前記読み取り情報変換手段がキャラクタデータまで変換する場合に、前記第1の基準または前記第2の基準を満たして正常に変換できたか否かの結果と、変換後のキャラクタデータが磁気カードに書き込む前のキャラクタデータと一致しているか否かの結果とから、磁気カードの情報が正常か否かを判別することを特徴とする磁気カード発行受付装置。
The magnetic card issuance / acceptance device according to claim 1.
The writing means includes a writing information converting means for converting character data into data that can be magnetically recorded on a magnetic card, and a magnetic writing head for magnetically recording and writing information on the magnetic card based on the data converted by the writing information converting means. And consists of
The reading means includes a magnetic reading head that reads information magnetically recorded on a magnetic card, and a reading information conversion means that converts information read by the magnetic reading head into character data.
The reference used by the discriminating means includes a reference relating to a voltage level output when the magnetic read head reads information from a magnetic card, and a process in which the read information converting means converts the read information to character data. Each is set by tightening or loosening the criteria for the jitter level of the generated pulse waveform data,
The discriminating means, when the information read from the magnetic card by the magnetic read head is converted into character data by the read information conversion means after the magnetic write head writes information to the magnetic card, Alternatively, the information on the magnetic card is obtained from the result of whether or not the conversion can be normally performed by satisfying the second standard and the result of whether or not the converted character data matches the character data before writing to the magnetic card. It is discriminate | determined whether it is normal, The magnetic card issue acceptance apparatus characterized by the above-mentioned.
請求項1または請求項2に記載の磁気カード発行受付装置において、
前記判別手段は、カード受付処理時に書き込み手段で磁気カードに情報を書き込んだ後は、前記第2の基準を用いて磁気カードの情報が正常か否かを判別し、磁気カードに情報を書き込む前は、前記第2の基準よりも低い第3の基準を用いて磁気カードの情報が正常か否かを判別することを特徴とする磁気カード発行受付装置。
In the magnetic card issuance accepting device according to claim 1 or 2,
After the information is written to the magnetic card by the writing means during the card acceptance process, the determining means determines whether the information on the magnetic card is normal using the second reference, and before writing the information to the magnetic card. Uses a third reference lower than the second reference to determine whether the information on the magnetic card is normal or not.
JP2003361490A 2003-10-22 2003-10-22 Magnetic card issuance acceptance device Expired - Fee Related JP4330425B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003361490A JP4330425B2 (en) 2003-10-22 2003-10-22 Magnetic card issuance acceptance device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003361490A JP4330425B2 (en) 2003-10-22 2003-10-22 Magnetic card issuance acceptance device

Publications (2)

Publication Number Publication Date
JP2005128669A true JP2005128669A (en) 2005-05-19
JP4330425B2 JP4330425B2 (en) 2009-09-16

Family

ID=34641418

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003361490A Expired - Fee Related JP4330425B2 (en) 2003-10-22 2003-10-22 Magnetic card issuance acceptance device

Country Status (1)

Country Link
JP (1) JP4330425B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009151575A (en) * 2007-12-21 2009-07-09 Nec Tokin Corp Magnetic recording card encoding device
JP2019124973A (en) * 2018-01-11 2019-07-25 沖電気工業株式会社 Automatic transaction device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009151575A (en) * 2007-12-21 2009-07-09 Nec Tokin Corp Magnetic recording card encoding device
JP2019124973A (en) * 2018-01-11 2019-07-25 沖電気工業株式会社 Automatic transaction device
JP7056158B2 (en) 2018-01-11 2022-04-19 沖電気工業株式会社 Automatic teller machine

Also Published As

Publication number Publication date
JP4330425B2 (en) 2009-09-16

Similar Documents

Publication Publication Date Title
CN101197143B (en) Optical disc drive provided with envelope defect detection function
JP2004355748A (en) Tape recording device, tape obstacle detecting system, tape obstacle detecting method, program, and recording medium
US5241521A (en) Optical disk driving apparatus
JP4330425B2 (en) Magnetic card issuance acceptance device
JP4335946B2 (en) Magnetic recording / reproducing device
JPH0290816A (en) Method and circuit for correcting error
CN103971711A (en) Recording/reproducing device and optical disk library device
JP2000011099A (en) Magnetic card reader
JP3308552B2 (en) Imaging device
JPH06139385A (en) Magnetic card reader
JP2513619B2 (en) Magnetic card reader
KR100543668B1 (en) Detector of CD data packet
CN1801348B (en) Methods, apparatus and computer program products for detecting oscillation of a servo controller
JPH11242726A (en) Card reader and read error processing method and storage medium for recording control program
JP5227597B2 (en) Passbook pass / fail judgment device
US6061005A (en) Encoding of data
JP4115298B2 (en) Medium reading apparatus and medium reading method
JPS58224470A (en) Device for reading and writing magnetic card
JP4311954B2 (en) Information reader
JP2864334B2 (en) Cards and card readers
JP3307577B2 (en) Magnetic card system
JP2005158175A (en) Magnetic tape library device and medium management method therefor
JPS58147803A (en) Magnetic disk device
KR200171853Y1 (en) Magnetic card recorder for video game system
CN100419864C (en) Optical disc device

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20050209

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060619

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090605

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: 20090616

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090616

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120626

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120626

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130626

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees