JP2000259903A - Prepaid card system, reading device and card discriminating method - Google Patents

Prepaid card system, reading device and card discriminating method

Info

Publication number
JP2000259903A
JP2000259903A JP11065772A JP6577299A JP2000259903A JP 2000259903 A JP2000259903 A JP 2000259903A JP 11065772 A JP11065772 A JP 11065772A JP 6577299 A JP6577299 A JP 6577299A JP 2000259903 A JP2000259903 A JP 2000259903A
Authority
JP
Japan
Prior art keywords
card
information
data
card information
storage area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP11065772A
Other languages
Japanese (ja)
Inventor
Hideo Takashima
秀男 高島
Takayuki Kamata
隆之 鎌田
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.)
NTT Data Group Corp
Original Assignee
NTT Data Corp
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 NTT Data Corp filed Critical NTT Data Corp
Priority to JP11065772A priority Critical patent/JP2000259903A/en
Publication of JP2000259903A publication Critical patent/JP2000259903A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To properly detect illegality of a forged or counterfeited prepaid card by quantizing one of two pieces of reproduced information, defining it as characteristic data, ciphering the characteristic data based on data obtained by quantizing the other of the reproduced information and discriminating an unauthorized card by propriety of decoding of the ciphered characteristic data. SOLUTION: Card information stored in a card information storage part is quantized by a quantization processing part and temporarily stored in a quantized data storage part. The characteristic data read by a data reading part 352 is decoded by the reproduced information quantized by a quantization processing part of a reader/writer for card information and stored in a characteristic data storage part 355 by a decoding processing part 354. The quantized data stored in the quantized data storage part is compared with the quantized data stored in the characteristic data storage part 355 and they are discriminated whether they are coincident with each other or not by a consumption processing part. When they are coincident with each other, the prepaid card decided to be normal.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、プリペイドカード
システム及びカード判別方法に関し、特に、読書装置を
用いたプリペイドカードの不正コピーを検出するための
プリペイドカードシステム及びカード判別方法に関す
る。
The present invention relates to a prepaid card system and a card discriminating method, and more particularly to a prepaid card system and a card discriminating method for detecting unauthorized copying of a prepaid card using a reading device.

【0002】[0002]

【従来の技術】金銭的価値に対応する金額情報を記憶す
るプリペイドカードを金銭的決済に用いるプリペイドカ
ードシステムが実現されている。こうしたプリペイドカ
ードシステムにおいて、読書装置を利用して不正に複製
したカードが使用される虞がある。
2. Description of the Related Art A prepaid card system has been realized in which a prepaid card storing amount information corresponding to a monetary value is used for monetary settlement. In such a prepaid card system, there is a possibility that a card illegally copied using a reading device may be used.

【0003】例えば、読書装置に正当なプリペイドカー
ドを挿入し、リード処理の後に何も記録されていないカ
ードにすり替えることで、正当なカードに記録された情
報がコピーされる場合がある。
For example, there is a case where information recorded on a valid card is copied by inserting a valid prepaid card into a reading device and replacing it with a card on which nothing is recorded after read processing.

【0004】[0004]

【発明が解決しようとする課題】このような不正行為防
止のため、内部を不正に加工できないような筐体を用い
たり、挿入されたカードを監視するためのセンサなどを
備えた読書装置が考えられている。しかし、筐体の構造
は解明可能であり、また、擬似パルスなどを用いること
でセンサの正常動作を妨げることも可能であるため、こ
れらの方法を用いても上述の不正行為を完全に防止する
ことはできない。
In order to prevent such misconduct, a reading apparatus which uses a housing which cannot be illicitly processed inside or has a sensor for monitoring an inserted card is considered. Have been. However, the structure of the housing can be clarified, and the normal operation of the sensor can be prevented by using a simulated pulse or the like. Therefore, even if these methods are used, the above-mentioned misconduct is completely prevented. It is not possible.

【0005】本発明は上記実状に鑑みてなされたもの
で、読書装置を用いたプリペイドカードの不正コピーを
検出するプリペイドカードシステム、読書装置及びカー
ド判別方法を提供することを目的とする。
The present invention has been made in view of the above situation, and has as its object to provide a prepaid card system, a reading apparatus, and a card discriminating method for detecting unauthorized copying of a prepaid card using a reading apparatus.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するた
め、本発明の第1の観点にかかるプリペイドカードシス
テムは、プリペイドカードに所定のカード情報を書き込
むエンコード手段と、前記プリペイドカードのカード情
報に含まれる金額情報に基づいて所定の消費処理を行う
読書手段と、を備えるプリペイドカードシステムにおい
て、前記エンコード手段は、前記プリペイドカードの第
1の可変情報記憶領域に2つのカード情報を磁気的に書
き込むカード情報書込手段と、前記第1の可変情報記憶
領域の2つのカード情報それぞれを再生し、得られた再
生情報のうちの一方に基づいて暗号鍵を生成し、他方を
当該プリペイドカードの特徴データとし、前記生成した
暗号鍵で該特徴データを暗号化して第2の可変情報記憶
領域に書き込む特徴データ作成手段と、を備え、前記読
書手段は、前記第1の可変情報記憶領域に記録された2
つのカード情報のそれぞれを再生し、得られた再生情報
を量子化するカード情報再生手段と、前記カード情報再
生手段で得られた量子化されたデータのうちの一方で暗
号鍵を生成し、該暗号鍵を用いて前記第2の可変情報記
憶領域に記憶された特徴データを復号する復号化手段
と、前記復号化手段による復号が成立し、且つ、前記カ
ード情報再生手段で得られた量子化されたデータのうち
の他方が前記復号化手段で復号された特徴データと一致
する場合、当該プリペイドカードが正当であると判別す
るカード識別手段と、を備えることを特徴とする。
In order to achieve the above object, a prepaid card system according to a first aspect of the present invention comprises encoding means for writing predetermined card information on a prepaid card, and card information of the prepaid card. In a prepaid card system comprising: reading means for performing a predetermined consumption process based on the included money amount information, the encoding means magnetically writes two pieces of card information into a first variable information storage area of the prepaid card. Card information writing means for reproducing the two pieces of card information in the first variable information storage area, generating an encryption key based on one of the obtained pieces of reproduction information, and using the other as a characteristic of the prepaid card. Data, encrypting the characteristic data with the generated encryption key, and writing the encrypted characteristic data in the second variable information storage area. It comprises a chromatography data creation means, wherein the reading means is recorded on said first variable information storage area 2
Card information reproducing means for reproducing each of the two pieces of card information and quantizing the obtained reproduction information, and generating an encryption key in one of the quantized data obtained by the card information reproducing means; Decryption means for decrypting characteristic data stored in the second variable information storage area using an encryption key; and decryption by the decryption means, and the quantization obtained by the card information reproduction means. Card identification means for determining that the prepaid card is legitimate when the other of the decoded data matches the characteristic data decoded by the decoding means.

【0007】前記カード識別手段は、前記プリペイドカ
ードが前記読書手段に挿入された際に前記カードの正当
性の判別を行う読取チェック手段を備え、前記読書手段
は、前記読取チェック手段が前記プリペイドカードが正
当であることを判別した場合、前記2つのカード情報の
うちの最後に更新されたカード情報に含まれる残高情報
に応じた消費を許可し、該消費に基づいて、前記最後に
更新されたカード情報とは異なるカード情報を更新して
書き換える消費処理手段と、前記消費処理手段により書
き換えられたカード情報を再生し、得られた再生情報を
量子化したデータに基づいた暗号鍵で、前記復号化手段
で復号された特徴データを暗号化して前記第2の可変情
報記憶領域に書き込む特徴データ更新手段と、を備えて
いることが望ましく、前記カード識別手段はさらに、前
記消費処理手段によるカード情報の書換の後に前記カー
ドの正当性の判別を行う書込チェック手段を備え、前記
カード情報再生手段は、前記消費処理手段によって書き
換えられなかった未更新カード情報を再生して量子化
し、前記復号化手段は、前記消費処理手段により書き換
えられたカード情報を再生し、得られた再生情報を量子
化したデータで暗号鍵を生成し、該暗号鍵を用いて前記
特徴データ更新手段により書き込まれた特徴データを復
号し、前記書込チェック手段は、該復号された特徴デー
タと、前記カード情報再生手段で得られた前記未更新カ
ード情報の量子化データとを比較する、ことが望まし
い。
[0007] The card identification means includes reading check means for determining the validity of the card when the prepaid card is inserted into the reading means, and the reading means comprises: Is determined to be valid, the consumption according to the balance information included in the last updated card information of the two card information is permitted, and based on the consumption, the last updated Consumption processing means for updating and rewriting card information different from the card information; and reproducing the card information rewritten by the consumption processing means, and decrypting the obtained reproduction information with an encryption key based on quantized data. Characteristic data updating means for encrypting the characteristic data decrypted by the encrypting means and writing the encrypted characteristic data in the second variable information storage area. The card identification means further includes a write check means for judging the validity of the card after rewriting the card information by the consumption processing means, and the card information reproducing means is not rewritten by the consumption processing means. The non-updated card information is reproduced and quantized, and the decryption unit reproduces the card information rewritten by the consumption processing unit, generates an encryption key with data obtained by quantizing the obtained reproduction information, The feature data written by the feature data updating means is decrypted using an encryption key, and the write check means compares the decrypted feature data with the unupdated card information obtained by the card information reproducing means. It is desirable to compare with the quantized data.

【0008】また、前記第1の可変情報記憶領域上に
は、前記2つのカード情報の記録位置に対応するように
所定の印刷部位が形成され、前記特徴データは、前記所
定の印刷部位それぞれのインク盛量のばらつきに基づく
再生情報の変化を量子化することで得られる、ことが望
ましい。
[0008] Further, a predetermined printing portion is formed on the first variable information storage area so as to correspond to a recording position of the two card information, and the characteristic data is stored in each of the predetermined printing portions. It is desirable that the change can be obtained by quantizing a change in reproduction information based on a variation in the amount of ink.

【0009】このような構成によれば、プリペイドカー
ドの印刷部位におけるインク盛量のばらつきに関連する
2つの再生情報の一方を量子化して特徴データとし、こ
の特徴データが再生情報の他方を量子化したデータに基
づいて暗号化されている。この暗号化された特徴データ
の復号の成否による不正カードの弁別を行う。さらに、
2つのカード情報は消費毎に交互に書き換えられる。書
き換えられていないカード情報に対応する特徴データに
ついての照合に基づいて不正カードの弁別を行うので、
読書手段の処理中にプリペイドカードをすり替えてカー
ド情報を複写する不正使用を的確に検出することができ
る。
According to such a configuration, one of the two pieces of reproduction information relating to the variation in the amount of ink in the printing portion of the prepaid card is quantized to be feature data, and this feature data is used to quantize the other of the reproduction information. The data is encrypted based on the data. An unauthorized card is discriminated based on the success or failure of the decryption of the encrypted feature data. further,
The two pieces of card information are rewritten alternately each time they are consumed. Since fraudulent cards are discriminated based on matching of feature data corresponding to card information that has not been rewritten,
Unauthorized use of copying the card information by replacing the prepaid card during the processing of the reading means can be accurately detected.

【0010】上記目的を達成するため、本発明の第2の
観点にかかるプリペイドカードシステムは、プリペイド
カードに所定のカード情報を書き込むエンコード手段
と、前記プリペイドカードのカード情報に含まれる金額
情報に基づいて所定の消費処理を行う読書手段と、を備
えるプリペイドカードシステムにおいて、前記エンコー
ド手段は、前記プリペイドカードの第1の可変情報記憶
領域に2つのカード情報を磁気的に書き込むカード情報
書込手段と、前記第1の可変情報記憶領域の2つのカー
ド情報それぞれを再生することで得られる再生情報を量
子化した2つのデータを、当該プリペイドカードの特徴
データとして前記プリペイドカードの第2の可変情報記
憶領域に書き込む特徴データ作成手段と、前記第1の可
変情報記憶領域の2つのカード情報それぞれを再生する
ことで得られる再生情報を量子化したデータに基づいて
暗号データを作成し、前記第2の可変情報記憶領域に書
き込む暗号データ作成手段と、を備え、前記読書手段
は、前記第1の可変情報記憶領域の2つのカード情報そ
れぞれを再生し、得られた2つの再生情報を量子化して
暗号データを作成するとともに、前記第2の可変情報記
憶領域に記録されている暗号データを読み出して前記作
成した暗号データと比較する暗号データ比較手段と、前
記第2の可変情報記憶領域に記録されている特徴データ
を読み出し、前記暗号データ比較手段により得られた再
生情報のうちの該特徴データに対応したカード情報につ
いての再生情報を量子化し、前記読み出した特徴データ
と比較する特徴データ比較手段と、前記暗号データ比較
手段および前記特徴データ比較手段による比較の結果、
少なくともいずれか一方が不一致の場合、前記プリペイ
ドカードを不正カードとして検出する不正カード検出手
段と、を備えることを特徴とする
[0010] To achieve the above object, a prepaid card system according to a second aspect of the present invention comprises an encoding unit for writing predetermined card information on a prepaid card, and a charge information included in the card information of the prepaid card. A prepaid card system comprising: reading means for performing a predetermined consumption process in the prepaid card system; wherein the encoding means includes card information writing means for magnetically writing two card information in a first variable information storage area of the prepaid card; The two pieces of quantized reproduction information obtained by reproducing each of the two pieces of card information in the first variable information storage area are used as feature data of the prepaid card to store the second variable information of the prepaid card. Means for creating characteristic data to be written in an area; Encryption data creating means for creating encrypted data based on data obtained by quantizing playback information obtained by playing back each piece of card information, and writing the encrypted data in the second variable information storage area. The two pieces of card information in the first variable information storage area are reproduced, and the obtained two pieces of reproduction information are quantized to create encrypted data, and are recorded in the second variable information storage area. An encrypted data comparing unit that reads the encrypted data and compares the encrypted data with the created encrypted data; and reads out the characteristic data recorded in the second variable information storage area, and reads out the reproduction information obtained by the encrypted data comparing unit. Feature data comparing means for quantizing reproduction information of card information corresponding to the feature data, and comparing the quantized playback information with the read feature data; No. data comparison means and results of the comparison by the feature data comparing means,
And fraudulent card detecting means for detecting the prepaid card as a fraudulent card when at least one of them does not match.

【0011】前記不正カード検出手段は、前記プリペイ
ドカードが前記読書手段に挿入された際に前記不正カー
ドの検出を行う読取チェック手段を備え、前記読書手段
は、前記読取チェック手段が前記不正カードを検出しな
かった場合、前記第2の可変情報記憶領域に記録されて
いる特徴データを読み出し、該特徴データに対応したカ
ード情報に含まれる残高情報に応じた消費を許可し、該
消費に基づいて、前記残高情報を含まないカード情報を
更新して書き換える消費処理手段と、前記消費処理手段
により書き換えられた更新カード情報と、前記消費処理
手段により書き換えられなかった未更新カード情報とを
再生し、得られた2つの再生情報を量子化することで暗
号データを作成し、前記第2の可変情報記憶領域に記録
されている暗号データを該作成された暗号データに書き
換える暗号データ更新手段と、前記暗号データ更新手段
により得られた2つの再生情報を前記プリペイドカード
の更新特徴データとし、前記第2の可変情報記憶領域の
特徴データを該更新特徴データに書き換える特徴データ
更新手段と、を備えていることが望ましく、前記不正カ
ード検出手段はさらに、前記消費処理手段によるカード
情報の書換の後に前記不正カードの検出を行う書込チェ
ック手段を備え、前記暗号データ比較手段は、前記更新
カード情報と前記未更新カード情報とを再生し、得られ
た2つの再生情報を量子化して暗号データを作成すると
ともに、前記第2の可変情報記憶領域に記録されている
暗号データを読み出して前記作成した暗号データと比較
し、前記特徴データ比較手段は、前記暗号データ比較手
段による比較の結果、一致が検出された場合、前記更新
カード情報を再生し、得られた再生情報を量子化したデ
ータと、前記特徴データ更新手段で書き換えられた特徴
データのうちの前記更新カード情報に対応する特徴デー
タとを比較する、ことが望ましい。
The fraudulent card detecting means includes a reading check means for detecting the fraudulent card when the prepaid card is inserted into the reading means, and the reading means is adapted to detect the fraudulent card. If not detected, the characteristic data recorded in the second variable information storage area is read out, the consumption according to the balance information included in the card information corresponding to the characteristic data is permitted, and based on the consumption, A consumption processing means for updating and rewriting the card information not including the balance information, an updated card information rewritten by the consumption processing means, and a non-updated card information not rewritten by the consumption processing means, The obtained two pieces of reproduction information are quantized to generate encrypted data, and the encrypted data recorded in the second variable information storage area is created. Data updating means for rewriting the data to the created encrypted data; and two pieces of reproduction information obtained by the encrypted data updating means as update characteristic data of the prepaid card, and characteristic data of the second variable information storage area. And characteristic data updating means for rewriting the updated characteristic data into the updated characteristic data. The unauthorized card detecting means further includes a write check for detecting the unauthorized card after rewriting the card information by the consumption processing means. Means for reproducing the updated card information and the non-updated card information, quantizing the obtained two pieces of reproduction information to generate encrypted data, and further comprising the second variable information The encrypted data recorded in the storage area is read and compared with the created encrypted data. As a result of the comparison by the encrypted data comparing means, when a match is detected, the updated card information is reproduced, and the obtained reproduced information is quantized and the characteristic data rewritten by the characteristic data updating means is included in the data. It is desirable to compare feature data corresponding to the update card information.

【0012】また、前記第1の可変情報記憶領域上に
は、前記2つのカード情報の記録位置に対応するように
所定の印刷部位が形成され、前記特徴データは、前記所
定の印刷部位それぞれのインク盛量のばらつきに基づく
再生情報の変化を量子化することで得られる、ことが望
ましい。
[0012] Further, a predetermined printing portion is formed on the first variable information storage area so as to correspond to a recording position of the two card information, and the characteristic data is stored in each of the predetermined printing portions. It is desirable that the change can be obtained by quantizing a change in reproduction information based on a variation in the amount of ink.

【0013】このような構成によれば、プリペイドカー
ドの印刷部位におけるインク盛量のばらつきに関連する
再生情報を量子化したものから暗号データを作成し、こ
の暗号データの照合に基づいて不正カードの弁別を行
う。また、カード情報に関する再生情報を量子化して当
該カード固有の特徴データとするとともに、カード情報
を消費毎に交互に書き換える。書き換えられなかったカ
ード情報に対応する特徴データについての照合を行うの
で、読書手段の処理中にプリペイドカードをすり替えて
カード情報を複写する不正使用を的確に検出することが
できる。
[0013] According to such a configuration, encrypted data is created from quantized reproduction information relating to the variation in the amount of ink at the printing portion of the prepaid card, and based on the collation of the encrypted data, an unauthorized card is created. Perform discrimination. In addition, the reproduction information relating to the card information is quantized into characteristic data unique to the card, and the card information is rewritten alternately every consumption. Since the matching is performed on the feature data corresponding to the card information that has not been rewritten, it is possible to accurately detect unauthorized use of replacing the prepaid card and copying the card information during the processing of the reading means.

【0014】上記目的を達成するため、本発明の第3の
観点にかかる読書装置は、プリペイドカードに記録され
たカード情報に含まれる金額情報に基づいて金銭的決済
を行うプリペイドカードシステムに使用される読書装置
であって、前記プリペイドカードの第1の可変情報記憶
領域に磁気記録された2つのカード情報の読書を行うカ
ード情報読書手段と、前記プリペイドカードの第2の可
変情報記憶領域に記録された前記2つのカード情報に対
応する特徴データの読書を行う特徴データ読書手段と、
前記プリペイドカードの消費金額に応じて、前記カード
情報読書手段により読み出された前記金額情報を更新す
る消費処理手段と、を備え、前記カード情報読書手段
は、前記2つのカード情報それぞれを再生し、得られた
再生情報を量子化し、前記特徴データ読書手段は、前記
第2の可変情報記憶領域から特徴データを読み取り、前
記カード情報読書手段が量子化した再生情報で復号して
比較し、前記消費処理手段は、前記特徴データ読書手段
によって比較されたデータが不一致の場合、前記プリペ
イドカードを不正カードとして弁別する、ことを特徴と
する。
In order to achieve the above object, a reading apparatus according to a third aspect of the present invention is used in a prepaid card system for performing a financial settlement based on money amount information included in card information recorded on a prepaid card. Card information reading means for reading two pieces of card information magnetically recorded in a first variable information storage area of the prepaid card, and recording in a second variable information storage area of the prepaid card. Characteristic data reading means for reading characteristic data corresponding to the two pieces of card information thus obtained;
A consumption processing unit that updates the amount information read by the card information reading unit in accordance with the amount of consumption of the prepaid card, wherein the card information reading unit reproduces each of the two card information. Quantizing the obtained reproduction information, the characteristic data reading means reads characteristic data from the second variable information storage area, decodes and compares the reproduced reproduction information with the quantized reproduction information by the card information reading means, The consumption processing means distinguishes the prepaid card as an unauthorized card when the data compared by the characteristic data reading means does not match.

【0015】前記第1の可変情報記憶領域上には、前記
2つのカード情報の記録位置に対応するように所定の印
刷部位が形成され、前記特徴データは、前記所定の印刷
部位それぞれのインク盛量のばらつきに基づく再生情報
の変化を量子化することで得られる、ことが望ましい。
On the first variable information storage area, a predetermined printing portion is formed so as to correspond to a recording position of the two card information, and the characteristic data is stored in the ink stack of each of the predetermined printing portion. It is desirable that the change can be obtained by quantizing a change in reproduction information based on a variation in the amount.

【0016】このような構成によれば、プリペイドカー
ドの印刷部位におけるインク盛量のばらつきに関連する
2つの再生情報の一方を量子化して特徴データとし、こ
の特徴データが再生情報の他方を量子化したデータに基
づいて暗号化されている。この暗号化された特徴データ
の復号の成否による不正カードの弁別を行う。さらに、
2つのカード情報は消費毎に交互に書き換えられる。書
き換えられていないカード情報に対応する特徴データに
ついての照合に基づいて不正カードの弁別を行うので、
読書手段の処理中にプリペイドカードをすり替えてカー
ド情報を複写する不正使用を的確に検出することができ
る。
According to such a configuration, one of the two pieces of reproduction information relating to the variation of the ink volume in the printing portion of the prepaid card is quantized as characteristic data, and this characteristic data quantizes the other of the reproduction information. The data is encrypted based on the data. An unauthorized card is discriminated based on the success or failure of the decryption of the encrypted feature data. further,
The two pieces of card information are rewritten alternately each time they are consumed. Since fraudulent cards are discriminated based on matching of feature data corresponding to card information that has not been rewritten,
Unauthorized use of copying the card information by replacing the prepaid card during the processing of the reading means can be accurately detected.

【0017】上記目的を達成するため、本発明の第4の
観点にかかる読書装置は、プリペイドカードに記録され
たカード情報に含まれる金額情報に基づいて金銭的決済
を行うプリペイドカードシステムに使用される読書装置
であって、前記プリペイドカードの第1の可変情報記憶
領域に磁気記録された2つのカード情報の読書を行うカ
ード情報読書手段と、前記プリペイドカードの第2の可
変情報記憶領域に記録された前記2つのカード情報に対
応する特徴データおよび前記2つのカード情報に基づい
て作成された暗号データの読書を行う特徴データ読書手
段と、前記プリペイドカードの消費金額に応じて、前記
カード情報読書手段により読み出された前記金額情報を
更新する消費処理手段と、を備え、前記カード情報読書
手段は、前記2つのカード情報それぞれを再生し、得ら
れた再生情報を量子化して暗号データを作成し、前記特
徴データ読書手段は、前記第2の可変情報記憶領域に記
録されている暗号データを読み取って前記カード情報読
書手段が作成した暗号データと比較するとともに、前記
第2の可変情報記憶領域から特徴データを読み取って前
記カード情報読書手段により量子化された再生情報と比
較し、前記消費処理手段は、前記特徴データ読書手段に
よって比較されたデータが不一致の場合、前記プリペイ
ドカードを不正カードとして弁別する、ことを特徴とす
る。
In order to achieve the above object, a reading apparatus according to a fourth aspect of the present invention is used in a prepaid card system for performing a financial settlement based on money amount information included in card information recorded on a prepaid card. Card information reading means for reading two pieces of card information magnetically recorded in a first variable information storage area of the prepaid card, and recording in a second variable information storage area of the prepaid card. Characteristic data reading means for reading characteristic data corresponding to the two pieces of card information and encrypted data created based on the two card information, and reading the card information in accordance with the amount of consumption of the prepaid card. And a consumption processing unit for updating the money amount information read by the unit. Each of the card information is reproduced, the obtained reproduction information is quantized to generate encrypted data, and the characteristic data reading unit reads the encrypted data recorded in the second variable information storage area to read the card information. In addition to comparing the encrypted data created by the reading means, reading the characteristic data from the second variable information storage area and comparing it with the reproduction information quantized by the card information reading means, the consumption processing means When the data compared by the data reading means does not match, the prepaid card is discriminated as an unauthorized card.

【0018】前記第1の可変情報記憶領域上には、前記
2つのカード情報の記録位置に対応するように所定の印
刷部位が形成され、前記特徴データは、前記所定の印刷
部位それぞれのインク盛量のばらつきに基づく再生情報
の変化を量子化することで得られる、ことが望ましい。
A predetermined printing portion is formed on the first variable information storage area so as to correspond to a recording position of the two card information. It is desirable that the change can be obtained by quantizing a change in reproduction information based on a variation in the amount.

【0019】このような構成によれば、プリペイドカー
ドの印刷部位におけるインク盛量のばらつきに関連する
再生情報を量子化したものから暗号データを作成し、こ
の暗号データの照合に基づいて不正カードの弁別を行
う。また、カード情報に関する再生情報を量子化して当
該カード固有の特徴データとするとともに、カード情報
を消費毎に交互に書き換える。書き換えられなかったカ
ード情報に対応する特徴データについての照合を行うの
で、読書手段の処理中にプリペイドカードをすり替えて
カード情報を複写する不正使用を的確に防止することが
できる。
According to such a configuration, encrypted data is created from the quantized reproduction information relating to the variation in the amount of ink at the printing portion of the prepaid card, and the unauthorized card is identified based on the collation of the encrypted data. Perform discrimination. In addition, the reproduction information relating to the card information is quantized into characteristic data unique to the card, and the card information is rewritten alternately every consumption. Since the matching is performed on the characteristic data corresponding to the card information that has not been rewritten, it is possible to appropriately prevent unauthorized use of replacing the prepaid card and copying the card information during the processing of the reading means.

【0020】上記目的を達成するため、本発明の第5の
観点にかかるカード判別方法は、プリペイドカードに所
定のカード情報を書き込むエンコードステップと、読書
装置において、前記プリペイドカードのカード情報に含
まれる金額情報に基づいて所定の消費処理を行う読書ス
テップと、を備えるプリペイドカード処理方法における
カード判別方法であって、前記エンコードステップは、
前記プリペイドカードの第1の可変情報記憶領域に2つ
のカード情報を磁気的に書き込むカード情報書込ステッ
プと、前記第1の可変情報記憶領域の2つのカード情報
それぞれを再生し、得られた再生情報のうちの一方に基
づいて暗号鍵を生成し、他方を当該プリペイドカードの
特徴データとし、前記生成した暗号鍵で該特徴データを
暗号化して第2の可変情報記憶領域に書き込む特徴デー
タ作成ステップと、を備え、前記読書ステップは、前記
第1の可変情報記憶領域に記録された2つのカード情報
のそれぞれを再生し、得られた再生情報を量子化するカ
ード情報再生ステップと、前記カード情報再生ステップ
で得られた量子化されたデータのうちの一方で暗号鍵を
生成し、該暗号鍵を用いて前記第2の可変情報記憶領域
に記憶された特徴データを復号する復号化ステップと、
前記復号化ステップによる復号が成立し、且つ、前記カ
ード情報再生ステップで得られた量子化されたデータの
うちの他方が前記復号化ステップで復号された特徴デー
タと一致する場合、当該プリペイドカードが正当である
と判別するカード識別ステップと、を備えることを特徴
とする。
In order to achieve the above object, a card discriminating method according to a fifth aspect of the present invention includes an encoding step of writing predetermined card information on a prepaid card, and a reading device which is included in the card information of the prepaid card. A reading step of performing a predetermined consumption process based on the amount information, a card discriminating method in a prepaid card processing method, wherein the encoding step,
A card information writing step of magnetically writing two pieces of card information into a first variable information storage area of the prepaid card; and reproducing the two pieces of card information of the first variable information storage area, and obtaining the obtained reproduction. Generating an encryption key based on one of the information, using the other as characteristic data of the prepaid card, encrypting the characteristic data with the generated encryption key, and writing the encrypted characteristic data in a second variable information storage area Wherein the reading step reproduces each of the two pieces of card information recorded in the first variable information storage area, and quantizes the obtained reproduction information. Generating an encryption key from one of the quantized data obtained in the reproduction step, and using the encryption key to store the encrypted key in the second variable information storage area; A decoding step of decoding over data,
If the decoding in the decoding step is established and the other of the quantized data obtained in the card information reproducing step matches the characteristic data decoded in the decoding step, the prepaid card is And a card identification step of determining that the card is valid.

【0021】前記カード識別ステップは、前記プリペイ
ドカードが前記読書装置に挿入された際に前記カードの
正当性の判別を行う読取チェックステップを備え、前記
読書ステップは、前記読取チェックステップが前記プリ
ペイドカードが正当であることを判別した場合、前記2
つのカード情報のうちの最後に更新されたカード情報に
含まれる残高情報に応じた消費を許可し、該消費に基づ
いて、前記最後に更新されたカード情報とは異なるカー
ド情報を更新して書き換える消費処理ステップと、前記
消費処理ステップにより書き換えられたカード情報を再
生し、得られた再生情報を量子化したデータに基づいた
暗号鍵で、前記復号化ステップで復号された特徴データ
を暗号化して前記第2の可変情報記憶領域に書き込む特
徴データ更新ステップと、を備えている、ことが望まし
く、前記カード識別ステップはさらに、前記消費処理ス
テップによるカード情報の書換の後に前記カードの正当
性の判別を行う書込チェックステップを備え、前記カー
ド情報再生ステップは、前記消費処理ステップによって
書き換えられなかった未更新カード情報を再生して量子
化し、前記復号化ステップは、前記消費処理ステップに
より書き換えられたカード情報を再生し、得られた再生
情報を量子化したデータで、前記特徴データ更新ステッ
プにより書き込まれた特徴データを復号し、前記書込チ
ェックステップは、該復号された特徴データと、前記カ
ード情報再生ステップで得られた前記未更新カード情報
の量子化データとを比較する、ことが望ましい。
The card identification step includes a reading check step of determining the validity of the prepaid card when the prepaid card is inserted into the reading device. The reading step includes: Is determined to be valid,
Permitting consumption according to the balance information included in the last updated card information of the two pieces of card information, and updating and rewriting card information different from the last updated card information based on the consumption A consumption processing step, reproducing the card information rewritten in the consumption processing step, and encrypting the characteristic data decrypted in the decryption step with an encryption key based on data obtained by quantizing the obtained reproduction information. And updating the characteristic data to be written to the second variable information storage area. The card identification step may further include determining the validity of the card after rewriting the card information in the consumption processing step. The card information reproducing step is not rewritten by the consumption processing step. The non-updated card information is reproduced and quantized, and the decoding step reproduces the card information rewritten in the consumption processing step, and obtains reproduced information by quantizing the data. Preferably, the written feature data is decoded, and the write check step compares the decoded feature data with the quantized data of the unupdated card information obtained in the card information reproducing step. .

【0022】前記第1の可変情報記憶領域上には、前記
2つのカード情報の記録位置に対応するように所定の印
刷部位が形成され、前記特徴データは、前記所定の印刷
部位それぞれのインク盛量のばらつきに基づく再生情報
の変化を量子化することで得られる、ことが望ましい。
A predetermined printing portion is formed on the first variable information storage area so as to correspond to a recording position of the two card information. It is desirable that the change can be obtained by quantizing a change in reproduction information based on a variation in the amount.

【0023】このような構成によれば、プリペイドカー
ドの印刷部位におけるインク盛量のばらつきに関連する
2つの再生情報の一方を量子化して特徴データとし、こ
の特徴データが再生情報の他方を量子化したデータに基
づいて暗号化されている。この暗号化された特徴データ
の復号の成否による不正カードの弁別を行う。さらに、
2つのカード情報は消費毎に交互に書き換えられる。書
き換えられていないカード情報に対応する特徴データに
ついての照合に基づいて不正カードの弁別を行うので、
読書装置での読書処理中にプリペイドカードをすり替え
てカード情報を複写する不正使用を的確に検出すること
ができる。
According to such a configuration, one of the two pieces of reproduction information relating to the variation of the ink volume in the printing portion of the prepaid card is quantized into characteristic data, and this characteristic data quantizes the other of the reproduction information. The data is encrypted based on the data. An unauthorized card is discriminated based on the success or failure of the decryption of the encrypted feature data. further,
The two pieces of card information are rewritten alternately each time they are consumed. Since fraudulent cards are discriminated based on matching of feature data corresponding to card information that has not been rewritten,
An unauthorized use of replacing a prepaid card and copying card information during a reading process by a reading device can be accurately detected.

【0024】上記目的を達成するため、本発明の第6の
観点にかかるカード判別方法は、プリペイドカードに所
定のカード情報を書き込むエンコードステップと、読書
装置において、前記プリペイドカードのカード情報に含
まれる金額情報に基づいて所定の消費処理を行う読書ス
テップと、を備えるプリペイドカード処理方法における
カード判別方法であって、前記エンコードステップは、
前記プリペイドカードの第1の可変情報記憶領域に2つ
のカード情報を磁気的に書き込むカード情報書込ステッ
プと、前記第1の可変情報記憶領域の2つのカード情報
それぞれを再生することで得られる再生情報を量子化し
た2つのデータを、当該プリペイドカードの特徴データ
として前記プリペイドカードの第2の可変情報記憶領域
に書き込む特徴データ作成ステップと、前記第1の可変
情報記憶領域の2つのカード情報それぞれを再生するこ
とで得られる再生情報を量子化したデータに基づいて暗
号データを作成し、前記第2の可変情報記憶領域に書き
込む暗号データ作成ステップと、を備え、前記読書ステ
ップは、前記第1の可変情報記憶領域の2つのカード情
報それぞれを再生し、得られた2つの再生情報を量子化
して暗号データを作成するとともに、前記第2の可変情
報記憶領域に記録されている暗号データを読み出して前
記作成した暗号データと比較する暗号データ比較ステッ
プと、前記第2の可変情報記憶領域に記録されている特
徴データを読み出し、前記暗号データ比較ステップによ
り得られた再生情報のうちの該特徴データに対応したカ
ード情報についての再生情報を量子化し、前記読み出し
た特徴データと比較する特徴データ比較ステップと、前
記暗号データ比較ステップおよび前記特徴データ比較ス
テップによる比較の結果、少なくともいずれか一方が不
一致の場合、前記プリペイドカードを不正カードとして
検出する不正カード検出ステップと、を備えることを特
徴とする。
In order to achieve the above object, a card discriminating method according to a sixth aspect of the present invention includes an encoding step of writing predetermined card information on a prepaid card, and a reading device which is included in the card information of the prepaid card. A reading step of performing a predetermined consumption process based on the amount information, a card discriminating method in a prepaid card processing method, wherein the encoding step,
A card information writing step of magnetically writing two pieces of card information in a first variable information storage area of the prepaid card; and a reproduction obtained by reproducing each of the two card information in the first variable information storage area. A feature data creation step of writing two pieces of data obtained by quantizing the information as feature data of the prepaid card into a second variable information storage area of the prepaid card; and two card information of the first variable information storage area. Generating encrypted data based on data obtained by quantizing playback information obtained by playing back the encrypted information, and writing the encrypted data in the second variable information storage area. , And reproduces the two pieces of card information in the variable information storage area. An encryption data comparing step of reading encrypted data recorded in the second variable information storage area and comparing it with the created encrypted data; and a feature recorded in the second variable information storage area. Reading the data, quantizing the reproduction information of the card information corresponding to the characteristic data among the reproduction information obtained in the encrypted data comparison step, and comparing the read information with the read characteristic data; If at least one of the comparison results in the data comparison step and the characteristic data comparison step does not match, an unauthorized card detection step of detecting the prepaid card as an unauthorized card is provided.

【0025】前記不正カード検出ステップは、前記プリ
ペイドカードが前記読書装置に挿入された際に前記不正
カードの検出を行う読取チェックステップを備え、前記
読書ステップは、前記読取チェックステップが前記不正
カードを検出しなかった場合、前記第2の可変情報記憶
領域に記録されている特徴データを読み出し、該特徴デ
ータに対応したカード情報に含まれる残高情報に応じた
消費を許可し、該消費に基づいて、前記残高情報を含ま
ないカード情報を更新して書き換える消費処理ステップ
と、前記消費処理ステップにより書き換えられた更新カ
ード情報と、前記消費処理ステップにより書き換えられ
なかった未更新カード情報とを再生し、得られた2つの
再生情報を量子化することで暗号データを作成し、前記
第2の可変情報記憶領域に記録されている暗号データを
該作成された暗号データに書き換える暗号データ更新ス
テップと、前記暗号データ更新ステップにより得られた
2つの再生情報を前記プリペイドカードの更新特徴デー
タとし、前記第2の可変情報記憶領域の特徴データを該
更新特徴データに書き換える特徴データ更新ステップ
と、を備えていることが望ましい。
The fraudulent card detecting step includes a reading check step of detecting the fraudulent card when the prepaid card is inserted into the reading device. The reading step includes the step of reading the fraudulent card. If not detected, the characteristic data recorded in the second variable information storage area is read out, the consumption according to the balance information included in the card information corresponding to the characteristic data is permitted, and based on the consumption, A consumption processing step of updating and rewriting the card information not including the balance information, an updated card information rewritten in the consumption processing step, and a non-updated card information not rewritten in the consumption processing step, The obtained two pieces of reproduction information are quantized to create encrypted data, and the second variable information An encrypted data update step of rewriting encrypted data recorded in the area with the created encrypted data; and two pieces of reproduction information obtained in the encrypted data update step as update characteristic data of the prepaid card, A feature data updating step of rewriting feature data in the variable information storage area with the updated feature data.

【0026】この場合、前記不正カード検出ステップは
さらに、前記消費処理ステップによるカード情報の書換
の後に前記不正カードの検出を行う書込チェックステッ
プを備え、前記暗号データ比較ステップは、前記更新カ
ード情報と、前記未更新カード情報とを再生し、得られ
た2つの再生情報を量子化して暗号データを作成すると
ともに、前記第2の可変情報記憶領域に記録されている
暗号データを読み出して前記作成した暗号データと比較
し、前記特徴データ比較ステップは、前記暗号データ比
較ステップによる比較の結果、一致が検出された場合、
前記未更新カード情報を再生し、得られた再生情報を量
子化したデータと、前記第2の可変情報記憶領域の前記
特徴データ更新ステップにより書き換えられた特徴デー
タのうちの前記未更新カード情報に対応する特徴データ
とを比較する、ことが望ましい。
In this case, the fraudulent card detecting step further includes a writing check step of detecting the fraudulent card after rewriting the card information in the consumption processing step, and the encrypted data comparing step includes: And reproducing the non-updated card information, quantizing the two pieces of obtained reproduction information to generate encrypted data, and reading the encrypted data recorded in the second variable information storage area to generate the encrypted data. Comparing the encrypted data, the feature data comparing step, when a match is detected as a result of the comparison in the encrypted data comparing step,
The non-updated card information is reproduced, and the data obtained by quantizing the obtained reproduction information and the non-updated card information of the characteristic data rewritten in the characteristic data updating step of the second variable information storage area are added to the data. It is desirable to compare with the corresponding feature data.

【0027】またこの場合、前記不正カード検出ステッ
プはさらに、前記消費処理ステップによるカード情報の
書換の後に前記不正カードの検出を行う書込チェックス
テップを備え、前記暗号データ比較ステップは、前記更
新カード情報と前記未更新カード情報とを再生し、得ら
れた2つの再生情報を量子化して暗号データを作成する
とともに、前記第2の可変情報記憶領域に記録されてい
る暗号データを読み出して前記作成した暗号データと比
較し、前記特徴データ比較ステップは、前記暗号データ
比較ステップによる比較の結果、一致が検出された場
合、前記更新カード情報を再生し、得られた再生情報を
量子化したデータと、前記特徴データ更新ステップで書
き換えられた特徴データのうちの前記更新カード情報に
対応する特徴データとを比較してもよい。
In this case, the unauthorized card detecting step further includes a writing check step of detecting the unauthorized card after rewriting the card information in the consumption processing step, and the encrypted data comparing step includes: Information and the unupdated card information are reproduced, the obtained two pieces of reproduction information are quantized to generate encrypted data, and the encrypted data recorded in the second variable information storage area is read out to generate the encrypted data. Comparing the encrypted data, the characteristic data comparing step, if a match is detected as a result of the comparison in the encrypted data comparing step, the updated card information is reproduced, and the obtained reproduction information is quantized with data. The characteristic data corresponding to the updated card information among the characteristic data rewritten in the characteristic data updating step It may be compared.

【0028】前記第1の可変情報記憶領域上には、前記
2つのカード情報の記録位置に対応するように所定の印
刷部位が形成され、前記特徴データは、前記所定の印刷
部位それぞれのインク盛量のばらつきに基づく再生情報
の変化を量子化することで得られる、ことが望ましい。
A predetermined printing portion is formed on the first variable information storage area so as to correspond to a recording position of the two card information, and the characteristic data is stored in each of the predetermined printing portions. It is desirable that the change can be obtained by quantizing a change in reproduction information based on a variation in the amount.

【0029】このような構成によれば、プリペイドカー
ドの印刷部位におけるインク盛量のばらつきに関連する
再生情報を量子化したものから暗号データを作成し、こ
の暗号データの照合に基づいて不正カードの弁別を行
う。また、カード情報に関する再生情報を量子化して当
該カード固有の特徴データとするとともに、カード情報
を消費毎に交互に書き換える。書き換えられなかったカ
ード情報あるいは書き換えられたカード情報に対応する
特徴データについての照合をさらに行うので、読書装置
の読書処理中にプリペイドカードをすり替えてカード情
報を複写する不正使用を的確に検出することができる。
According to such a configuration, encrypted data is created from the quantized reproduction information relating to the variation in the amount of ink in the printing portion of the prepaid card, and the unauthorized card is identified based on the collation of the encrypted data. Perform discrimination. In addition, the reproduction information relating to the card information is quantized into characteristic data unique to the card, and the card information is rewritten alternately every consumption. Since the verification is further performed on the card information that has not been rewritten or the characteristic data corresponding to the rewritten card information, it is possible to accurately detect unauthorized use of replacing the prepaid card and copying the card information during the reading process of the reading device. Can be.

【0030】[0030]

【発明の実施の形態】本発明の実施の形態にかかるプリ
ペイドカードシステムを図面を参照して説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A prepaid card system according to an embodiment of the present invention will be described with reference to the drawings.

【0031】(第1の実施の形態)図1は、本発明の第
1の実施の形態に係るプリペイドカードを示す図であ
る。プリペイドカード100は、書換可能なカード情報
記憶領域110と特徴データ記憶領域120を有してお
り、カード情報記憶領域110はさらに、第1のカード
情報記憶領域111と、第2のカード情報記憶領域11
2とを有している。
(First Embodiment) FIG. 1 is a diagram showing a prepaid card according to a first embodiment of the present invention. The prepaid card 100 has a rewritable card information storage area 110 and a characteristic data storage area 120. The card information storage area 110 further includes a first card information storage area 111 and a second card information storage area. 11
And 2.

【0032】カード情報記憶領域111,112のそれ
ぞれには、少なくとも、識別情報(カードID)、エン
コード年月日、券面金額、および残額情報を含むカード
情報が記録されている。また、図2に示すように、プリ
ペイドカード100表面の第1および第2のカード情報
記憶領域111、112それぞれに対応する箇所には、
所定の情報(例えば、所定の模様パターンやカードのロ
ット番号など)P1およびP2が印刷されている。
In each of the card information storage areas 111 and 112, card information including at least identification information (card ID), encoding date, bill value, and balance information is recorded. Further, as shown in FIG. 2, at locations corresponding to the first and second card information storage areas 111 and 112 on the surface of the prepaid card 100,
Predetermined information (for example, a predetermined pattern and a card lot number) P1 and P2 are printed.

【0033】特徴データ記憶領域120は、カード固有
の特徴データを記憶する。この特徴データは、カード情
報記憶領域111,112上に印刷された所定の情報の
インク盛量のばらつきを量子化したものである。
The characteristic data storage area 120 stores characteristic data unique to the card. The feature data is obtained by quantizing the variation of the ink volume of predetermined information printed on the card information storage areas 111 and 112.

【0034】図3は、本発明の実施の形態に係るプリペ
イドカードシステムのシステム構成を示すブロック図で
ある。図3に示すように、各店舗Sには中継装置20お
よび中継装置20に接続された複数の読書装置30が備
えられ、中継装置20は、カード発行元Dに設置された
決済センタ40に接続されている。このカード発行元D
は例えば、カード発行会社やカード製造工場などであ
る。カード発行元Dはさらに、記録装置50を備えてい
る。
FIG. 3 is a block diagram showing a system configuration of the prepaid card system according to the embodiment of the present invention. As shown in FIG. 3, each store S is provided with a relay device 20 and a plurality of reading devices 30 connected to the relay device 20, and the relay device 20 is connected to a settlement center 40 installed at the card issuer D. Have been. This card issuer D
Is, for example, a card issuing company or a card manufacturing factory. The card issuer D further includes a recording device 50.

【0035】記録装置50は、カード発行元Dにおいて
プリペイドカード100を発行するための装置である。
この記録装置50は、プリペイドカード100発行時
に、即ちエンコード時に、プリペイドカード100のカ
ード情報記憶領域110に初期金額情報、カード識別情
報(カードID)、製造元を示す製造元コード及びエン
コード日時情報等のカード情報を書込む。またこのと
き、プリペイドカード100の所定印刷部位、例えば、
所定の模様パターンやカードのロット番号などの印刷部
位に対応するよう形成された磁気媒体に記録されている
カード情報を再生して得た再生情報を所定の量子化方
式、例えばアナログ再生信号をPCM(パルス符号変
調)または、その他のA/D(アナログ−ディジタル)
変換により量子化し、この量子化されたデータをプリペ
イドカード100の特徴データとして特徴データ記憶領
域120に記録する。
The recording device 50 is a device for issuing the prepaid card 100 at the card issuer D.
When the prepaid card 100 is issued, that is, when the prepaid card 100 is encoded, the recording device 50 stores in the card information storage area 110 of the prepaid card 100 the initial amount information, card identification information (card ID), a manufacturer code indicating the manufacturer, and encoding date information. Write information. At this time, a predetermined printing portion of the prepaid card 100, for example,
The reproduction information obtained by reproducing the card information recorded on the magnetic medium formed so as to correspond to the predetermined pattern pattern or the print portion such as the lot number of the card is converted into a predetermined quantization method, for example, an analog reproduction signal is converted into a PCM signal. (Pulse code modulation) or other A / D (analog-digital)
The data is quantized by the conversion, and the quantized data is recorded in the feature data storage area 120 as the feature data of the prepaid card 100.

【0036】すなわち、記録装置50は、図4に示すよ
うに、エンコード制御部51、記憶部52、書込処理部
53、カード情報用磁気ヘッド54、カード情報再生部
55、量子化処理部56、特徴データ用磁気ヘッド57
および暗号化処理部58を有している。
That is, as shown in FIG. 4, the recording device 50 includes an encode control unit 51, a storage unit 52, a write processing unit 53, a card information magnetic head 54, a card information reproduction unit 55, and a quantization processing unit 56. , Feature data magnetic head 57
And an encryption processing unit 58.

【0037】エンコード制御部51は、この記録装置5
0におけるプリペイドカード100のエンコード、すな
わち初期情報の書込みを制御する。記憶部52は、エン
コード制御部51によるエンコード処理に必要な各種情
報及び処理中の一時情報を記憶する。書込処理部53
は、エンコード制御部51により制御されてカード情報
用磁気ヘッド54を駆動し、所定情報の書込みを行う。
The encoding control unit 51 controls the recording device 5
0 controls the encoding of the prepaid card 100, that is, the writing of the initial information. The storage unit 52 stores various types of information necessary for the encoding process by the encoding control unit 51 and temporary information being processed. Write processing unit 53
Is controlled by the encoding control unit 51 to drive the card information magnetic head 54 and write predetermined information.

【0038】カード情報用磁気ヘッド54は、書込処理
部53により制御されてプリペイドカード100のカー
ド情報記憶領域110の磁性層に情報を磁気的に書込
む。またカード情報用磁気ヘッド54は、カード情報再
生部55により制御されて、カード情報記憶領域110
に書込まれたカード情報を再生する。なお、カード情報
用磁気ヘッド54は、プリペイドカード100の磁気情
報の書込み及び読出しに際して、プリペイドカード10
0に対して相対的に移動させるが、この場合、カード情
報用磁気ヘッド54を移動させても、プリペイドカード
100を移動させても、あるいは両者を同時に相異なる
方向に移動させてもよい。
The card information magnetic head 54 is controlled by the write processing unit 53 to magnetically write information in the magnetic layer of the card information storage area 110 of the prepaid card 100. Further, the card information magnetic head 54 is controlled by the card information reproducing unit 55 so that the card information storage area 110
Play the card information written in the. When writing and reading magnetic information of the prepaid card 100, the magnetic head for card information 54
In this case, the card information magnetic head 54 may be moved, the prepaid card 100 may be moved, or both may be moved in different directions at the same time.

【0039】カード情報再生部55は、一旦、エンコー
ド制御部51により書込処理部53を介してプリペイド
カード100のカード情報記憶領域110にカード情報
を書込んだ後、カード情報用磁気ヘッド54を介して、
所定の模様パターン等の印刷部位の印刷面側からカード
情報を再生し、量子化処理部56に供給する。量子化処
理部56は、カード情報再生部55で再生された信号を
PCM等によりA/D変換して量子化する。
The card information reproducing unit 55 writes the card information into the card information storage area 110 of the prepaid card 100 via the writing processing unit 53 by the encoding control unit 51, and then controls the card information magnetic head 54. Through,
The card information is reproduced from the printing surface side of the printing part such as a predetermined pattern pattern and supplied to the quantization processing unit 56. The quantization processing unit 56 A / D converts the signal reproduced by the card information reproducing unit 55 by PCM or the like and quantizes the signal.

【0040】エンコード制御部51は、カード情報再生
部55でカード情報が再生された後に、書込処理部53
を介してカード情報記憶領域110に金額情報及びその
他の情報を書込む。この金額情報及びその他の情報の書
込の際に、書込処理部53は、量子化処理部56によっ
て量子化されたデータを、プリペイドカード100の特
徴データとして作成する。この特徴データは、暗号化処
理部58により暗号化された後、特徴データ記憶領域1
20に特徴データ用磁気ヘッド57を介して書き込まれ
る。
After the card information is reproduced by the card information reproducing unit 55, the encoding control unit 51
The amount information and other information are written to the card information storage area 110 via the. When writing the amount information and other information, the write processing unit 53 creates the data quantized by the quantization processing unit 56 as characteristic data of the prepaid card 100. This feature data is encrypted by the encryption processing unit 58 and then stored in the feature data storage area 1.
20 is written via the feature data magnetic head 57.

【0041】本発明の実施の形態に係るプリペイドカー
ドシステムの主要部となる読書装置30は、図5に示す
ように構成されている。図5に示す読書装置30は、通
信部31、消費処理部32、記憶部33、カード情報用
リーダ/ライタ34および特徴データ用リーダ/ライタ
35を備えている。
The reading device 30 as a main part of the prepaid card system according to the embodiment of the present invention is configured as shown in FIG. The reading device 30 shown in FIG. 5 includes a communication unit 31, a consumption processing unit 32, a storage unit 33, a reader / writer 34 for card information, and a reader / writer 35 for characteristic data.

【0042】通信部31は、消費処理部32と中継装置
20との間の通信を行う。通信部31は、例えば、中継
装置20からの要求コマンドに対するレスポンスとし
て、読書装置30におけるプリペイドカード100の消
費金額情報を含む売上情報を記憶部33から読み出して
中継装置20に送信する。
The communication unit 31 performs communication between the consumption processing unit 32 and the relay device 20. The communication unit 31 reads out, from the storage unit 33, the sales information including the consumption amount information of the prepaid card 100 in the reading device 30 and transmits the sales information to the relay device 20, for example, as a response to the request command from the relay device 20.

【0043】消費処理部32は、遊技媒体などの物品を
提供するなどして消費操作を実行する物販機(図示せ
ず)などに連動し、遊技媒体などの提供に対応するプリ
ペイドカードの消費に基づき、カード情報用リーダ/ラ
イタ34を介してプリペイドカードの金額情報などの記
憶情報を更新するとともに、消費金額情報を含む売上情
報を記憶部33に蓄積する。記憶部33は、日常の消費
処理部32における消費金額の処理に基づく売上情報を
格納蓄積するとともに、処理中のデータの一時記憶に用
いられる。
The consumption processing section 32 operates in conjunction with a vending machine (not shown) that executes a consumption operation by providing an article such as a game medium, and consumes a prepaid card corresponding to the provision of the game medium. Based on this, the storage information such as the price information of the prepaid card is updated via the card information reader / writer 34, and the sales information including the consumption amount information is stored in the storage unit 33. The storage unit 33 is used to store and accumulate sales information based on daily consumption amount processing in the daily consumption processing unit 32, and is used for temporary storage of data being processed.

【0044】プリペイドカード100の消費時には、カ
ード情報用リーダ/ライタ34は、挿入されたプリペイ
ドカード100の所定印刷部位に磁気記録されているカ
ード情報を読み取って得た生成情報を所定の量子化方式
に従って量子化する。このときの量子化方式は、記録装
置50の量子化処理部56における量子化方式と同一の
量子化方式を用いる。特徴データ用リーダ/ライタ35
はプリペイドカード100の特徴データ記憶領域120
に暗号化されて記録された特徴データを、カード情報用
リーダ/ライタ34によって量子化された再生情報を用
いて復号する。消費処理部32は、カード情報用リーダ
/ライタ34によって読み取られ量子化されたデータ
と、特徴データ用リーダ/ライタ35によって復号され
た特徴データとを比較し、一致した場合は、適正なプリ
ペイドカードであるとして、次に残額目安パンチ孔を検
出して、プリペイドカード100のカード情報記憶領域
110に記録されている金額情報との間で矛盾がないか
を確認する。この金額情報は、消費処理部32により処
理されて残額情報が記憶部33に書き込まれる。さらに
該残額情報を消費処理部32における消費金額情報に応
じて更新し、同様にプリペイドカード100のカード情
報記憶領域110に記録されている金額情報を、カード
情報用リーダ/ライタ34を介して書き換える。このと
き、更新後の残額に基づき必要に応じて残額目安パンチ
孔を穿孔する。
When the prepaid card 100 is consumed, the card information reader / writer 34 converts the generated information obtained by reading the card information magnetically recorded at a predetermined printing portion of the inserted prepaid card 100 into a predetermined quantization method. And quantize according to At this time, the same quantization method as the quantization method in the quantization processing unit 56 of the recording device 50 is used. Feature data reader / writer 35
Is the feature data storage area 120 of the prepaid card 100
Is decrypted using the reproduction information quantized by the card information reader / writer 34. The consumption processing unit 32 compares the data read and quantized by the card information reader / writer 34 with the characteristic data decoded by the characteristic data reader / writer 35, and if they match, an appropriate prepaid card Then, the remaining amount guide punch hole is detected, and it is checked whether there is any contradiction between the remaining amount punch hole and the amount information recorded in the card information storage area 110 of the prepaid card 100. This amount information is processed by the consumption processing unit 32, and the remaining amount information is written to the storage unit 33. Further, the balance information is updated in accordance with the consumption amount information in the consumption processing section 32, and similarly, the amount information recorded in the card information storage area 110 of the prepaid card 100 is rewritten via the card information reader / writer 34. . At this time, a remaining amount guide punch hole is punched as needed based on the updated remaining amount.

【0045】図6はこのカード情報用リーダ/ライタ3
4の構成を示している。カード情報用リーダ/ライタ3
4は、読書制御部341、データ読書部342、磁気ヘ
ッド343、量子化処理部344、量子化データ記憶部
345およびカード情報記憶部346を有している。読
書制御部341は、カード情報用リーダ/ライタ34に
おける読書動作全体を制御する。データ読書部342
は、読書制御部341の制御に基づき、磁気ヘッド34
3を介してプリペイドカード100のカード情報記憶領
域110に金額情報の更新書込を行うとともに、残額に
基づいて、所定残額時には残額目安パンチ孔を穿孔す
る。
FIG. 6 shows this card information reader / writer 3.
4 shows the configuration of FIG. Card information reader / writer 3
Reference numeral 4 includes a reading control unit 341, a data reading unit 342, a magnetic head 343, a quantization processing unit 344, a quantized data storage unit 345, and a card information storage unit 346. The reading control unit 341 controls the entire reading operation in the card information reader / writer 34. Data reading unit 342
Is based on the control of the reading control unit 341,
3 and updates the amount information in the card information storage area 110 of the prepaid card 100, and based on the remaining amount, punches a remaining amount guide punch hole at a predetermined remaining amount.

【0046】磁気ヘッド343は、データ読書部342
の制御により、カード情報記憶領域110上の金額情報
等の磁気記憶情報を所定印刷部位の印刷面側から読み取
る。読み取られたカード情報は、カード情報記憶部34
6に一時的に記憶される。カード情報記憶部346に記
憶されたカード情報は、量子化処理部344により量子
化され、量子化データ記憶部345に一時的に保存され
る。
The magnetic head 343 includes a data reading unit 342
, The magnetic storage information such as the amount information on the card information storage area 110 is read from the printing surface side of the predetermined printing portion. The read card information is stored in the card information storage unit 34.
6 is temporarily stored. The card information stored in the card information storage unit 346 is quantized by the quantization processing unit 344 and temporarily stored in the quantized data storage unit 345.

【0047】図7に示すように、特徴データ用リーダ/
ライタ35は、読書制御部351、データ読書部35
2、磁気ヘッド353、復号化処理部354および特徴
データ記憶部355を有している。読書制御部351
は、特徴データ用リーダ/ライタ35における読書動作
全体を制御する。データ読書部352は、読書制御部3
51の制御に基づき、磁気ヘッド353を介してプリペ
イドカード100の特徴データ記憶領域120に記録さ
れている特徴データを読み出す。
As shown in FIG.
The writer 35 includes a reading control unit 351 and a data reading unit 35
2, a magnetic head 353, a decryption processing unit 354, and a feature data storage unit 355. Reading control unit 351
Controls the entire reading operation in the feature data reader / writer 35. The data reading unit 352 includes the reading control unit 3
Under the control of 51, the characteristic data recorded in the characteristic data storage area 120 of the prepaid card 100 is read out via the magnetic head 353.

【0048】復号化処理部354は、データ読書部35
2で読み出された特徴データを、カード情報用リーダ/
ライタ34の量子化処理部344で量子化された再生情
報で復号し、特徴データ記憶部355に記憶する。
The decryption processing unit 354 includes a data reading unit 35
The characteristic data read in step 2 is transferred to a card information reader /
The data is decoded with the reproduction information quantized by the quantization processing unit 344 of the writer 34 and stored in the feature data storage unit 355.

【0049】消費処理部32は、量子化データ記憶部3
45に記憶されている量子化されたデータと、特徴デー
タ記憶部355に記憶されている特徴データとを比較
し、一致するか否かを判別する。
The consumption processing unit 32 includes a quantization data storage unit 3
The quantized data stored in the storage unit 45 and the feature data stored in the feature data storage unit 355 are compared to determine whether or not they match.

【0050】比較の結果一致すると判別された場合に
は、当該プリペイドカード100は正常であると判定
し、比較の結果不一致であると判別された場合には、当
該プリペイドカード100は異常であり、不正プリペイ
ドカードであると判定する。このとき、多くの場合、再
生情報には、経時変化によるレベルの低下及び磁気ヘッ
ド54と343との相違による信号波形のずれ等が存在
する可能性があるため、再生情報を量子化することによ
り、同一の再生情報として利用できるようにしている。
When it is determined that they match, the prepaid card 100 is determined to be normal, and when it is determined that they do not match, the prepaid card 100 is abnormal, It is determined that the card is an unauthorized prepaid card. At this time, in many cases, there is a possibility that the reproduction information has a level drop due to a change with time and a signal waveform shift due to a difference between the magnetic heads 54 and 343. Therefore, by quantizing the reproduction information, , And can be used as the same reproduction information.

【0051】さらに、読書装置30は、プリペイドカー
ド100のカード情報記憶領域110の記憶情報及びパ
ンチ孔情報等に矛盾があるか否かをチェックし、矛盾が
あれば、当該プリペイドカード100に何らかの不正及
び不具合があると判定する。不正又は不具合があると判
定された場合、読書装置30は、中継装置20に不正プ
リペイドカードのカード識別情報等を含む検知データを
送信するとともに、当該プリペイドカードの使用を阻止
して排出する。さらに、読書装置30は、中継装置20
から他の読書装置30で不正プリペイドカードと判定さ
れたプリペイドカード情報の通知データを受信し、プリ
ペイドカード100が装填されると直ちに該通知データ
に基づいて当該プリペイドカードを弁別し、使用を阻止
して排出する。
Further, the reading device 30 checks whether or not the stored information in the card information storage area 110 of the prepaid card 100 and the punch hole information are inconsistent. And that there is a defect. When it is determined that the card is fraudulent or defective, the reading device 30 transmits the detection data including the card identification information of the fraudulent prepaid card to the relay device 20, and prevents the use of the prepaid card and discharges it. Further, the reading device 30 is
Receives the notification data of the prepaid card information determined to be an unauthorized prepaid card by the other reading device 30 and immediately discriminates the prepaid card based on the notification data as soon as the prepaid card 100 is loaded, and prevents use. And discharge.

【0052】中継装置20は、店舗S内の各読書装置3
0において消費金額として処理された金額情報を集約し
て、適宜決済センタ40に送信する。
The relay device 20 is connected to each of the reading devices 3 in the store S.
At 0, the money information processed as the consumption money is collected and transmitted to the settlement center 40 as appropriate.

【0053】次に、このプリペイドカードシステムにお
ける処理について、図8、図10〜図15に示すフロー
チャートを参照して説明する。まず、記録装置50にお
けるエンコード処理について、図8を参照して説明す
る。図8に示すエンコード処理は、記録装置50にプリ
ペイドカード媒体がセットされるとその都度起動され
る。プリペイドカード媒体がセットされると、まず、エ
ンコード制御部51は、例えば記憶部52に格納された
所定のカード情報を、書込処理部53によりカード情報
用磁気ヘッド54を介して、プリペイドカード媒体の所
定の印刷部位P1に対応して形成された第1のカード情
報記憶領域111にカード情報R1として、また所定の
印刷部位P2に対応して形成されたカード情報記憶領域
112にカード情報R2として書込む(ステップS10
1)。所定の印刷部位とは、例えば、図2に示すよう
に、プリペイドカード100の裏面に所定の模様パター
ンP1,P2が印刷された部位であり、カード情報記憶
領域111,112に対応するようにこの模様パターン
印刷部位が形成される。
Next, the processing in the prepaid card system will be described with reference to the flowcharts shown in FIGS. First, the encoding process in the recording device 50 will be described with reference to FIG. The encoding process shown in FIG. 8 is started each time a prepaid card medium is set in the recording device 50. When the prepaid card medium is set, first, the encoding control unit 51 transmits predetermined card information stored in, for example, the storage unit 52 to the prepaid card medium via the card information magnetic head 54 by the writing processing unit 53. As the card information R1 in the first card information storage area 111 formed corresponding to the predetermined printing part P1, and as the card information R2 in the card information storage area 112 formed corresponding to the predetermined printing part P2. Write (Step S10
1). The predetermined printing part is, for example, a part where predetermined pattern patterns P1 and P2 are printed on the back surface of the prepaid card 100 as shown in FIG. 2, and corresponds to the card information storage areas 111 and 112. A pattern pattern printing portion is formed.

【0054】次に、エンコード制御部51は、カード情
報再生部55を作動させて、第1のカード情報記憶領域
111のカード情報R1を当該部位の印刷面側からカー
ド情報用磁気ヘッド54により再生する(ステップS1
02)。このカード情報R1の再生信号に対し、量子化
処理部56において、PCM又はその他のA/D変換等
の量子化処理を施し、量子化データを得る(ステップS
103)。書込処理部53は、量子化されたデータに基
づいてプリペイドカード100の特徴データC1を作成
する(ステップS104)。なおここでは、カード情報
R1から作成された特徴データをC1、カード情報R2
から作成された特徴データをC2とする。つまり、ステ
ップS102で再生されるカード情報はR2でもよく、
この場合に作成される特徴データはC2ということにな
る。
Next, the encoding control section 51 operates the card information reproducing section 55 to reproduce the card information R1 in the first card information storage area 111 from the printing surface side of the corresponding part by the card information magnetic head 54. (Step S1
02). The reproduction signal of the card information R1 is subjected to quantization processing such as PCM or other A / D conversion in the quantization processing section 56 to obtain quantized data (Step S).
103). The write processing unit 53 creates the characteristic data C1 of the prepaid card 100 based on the quantized data (Step S104). Here, the feature data created from the card information R1 is C1, the card information R2
The feature data created from is assumed to be C2. That is, the card information reproduced in step S102 may be R2,
The feature data created in this case is C2.

【0055】続いて、エンコード制御部51は、カード
情報再生部55を作動させて、第2のカード情報記憶領
域112のカード情報R2を当該部位の印刷面側からカ
ード情報用磁気ヘッド54により再生する(ステップS
105)。このカード情報R2の再生信号に対し、量子
化処理部56において、PCM又はその他のA/D変換
等の量子化処理を施し、量子化データを得る(ステップ
S106)。書込処理部53は、ステップS106で得
られたカード情報R2を量子化したデータに基づいて暗
号鍵を生成してステップS104で作成された特徴デー
タC1を暗号化したのち、プリペイドカード100の特
徴データ記憶領域120に記録して処理を終了する(ス
テップS107)。
Subsequently, the encoding control section 51 operates the card information reproducing section 55 to reproduce the card information R2 of the second card information storage area 112 from the printing surface side of the corresponding section by the card information magnetic head 54. (Step S
105). The quantization processing unit 56 performs quantization processing such as PCM or other A / D conversion on the reproduced signal of the card information R2 to obtain quantized data (step S106). The write processing unit 53 generates an encryption key based on the data obtained by quantizing the card information R2 obtained in step S106, encrypts the feature data C1 created in step S104, and then creates the feature of the prepaid card 100. The data is recorded in the data storage area 120, and the process ends (step S107).

【0056】ここで、図9を参照して、本システムで使
用される特徴データについて説明する。カード情報の再
生時、模様パターンP等の印刷部位においては、プリペ
イドカード100(すなわちその磁気記憶用の磁性層)
と、記録再生する磁気ヘッド343(54)との間隔
が、模様パターンP等の印刷におけるインクの盛量によ
り変動する。インクの盛量による間隔が大きい個所で
は、再生出力が減衰する。このインクの盛量は、個々の
プリペイドカード媒体毎にばらつき、媒体毎に固有の値
となる。そこで、この媒体毎に異なるインクの盛量に応
じて再生出力が減衰することを利用して、プリペイドカ
ード100の媒体を識別している。模様パターンPが相
違すれば、インクの分布も異なり、さらに個々にインク
の盛量がばらつく。そして、カード情報は、書込みも読
出しもこの模様パターンの印刷部を介して行うこととな
るので、模様パターン部分の印刷インクの分布による影
響が顕著にあらわれる。
Here, the characteristic data used in the present system will be described with reference to FIG. At the time of reproducing the card information, the prepaid card 100 (that is, the magnetic layer for magnetic storage) is provided in the printed portion of the pattern pattern P or the like.
And the distance between the magnetic head 343 (54) for recording and reproduction vary depending on the amount of ink in printing the pattern pattern P or the like. The reproduction output is attenuated at locations where the interval due to the ink volume is large. The amount of ink spread varies for each prepaid card medium and is a unique value for each medium. Therefore, the medium of the prepaid card 100 is identified by utilizing the fact that the reproduction output is attenuated in accordance with the amount of ink different for each medium. If the pattern patterns P are different, the distribution of the ink is different, and the amount of the ink varies individually. Since the writing and reading of the card information are performed through the printed portion of the pattern, the influence of the distribution of the printing ink on the pattern is remarkable.

【0057】上述したように、プリペイドカード100
は、模様パターンP等の印刷を裏面に行う。その印刷に
よるインク盛量の分布は、同一の印刷パターンにおいて
もばらつきが生じる。この印刷部位の印刷面上を磁気ヘ
ッド343及び54が磁気情報の書込み/読出しのため
に通過した場合、磁気ヘッド343及び54と磁性層と
の間のエアギャップがインク盛量の変化に応じて変化す
る。この印刷部位は、印刷のない箇所と比較すると再生
出力が低下し、インク盛量が大であるとさらに再生出力
は低下する。
As described above, the prepaid card 100
Prints the pattern pattern P and the like on the back surface. The distribution of the amount of ink as a result of the printing varies even in the same print pattern. When the magnetic heads 343 and 54 pass over the printing surface of the printing portion for writing / reading of magnetic information, the air gap between the magnetic heads 343 and 54 and the magnetic layer changes according to the change in the amount of ink. Change. The reproduction output of this printed portion is lower than that of the portion without printing, and the reproduction output is further reduced when the ink volume is large.

【0058】インク盛量は、同一印刷パターン内におい
てもばらつきがあるため、磁気ヘッド343及び54と
磁性層との間のエアギャップの寸法もばらつき、それに
伴ってノイズを含む再生出力の低下の度合もばらつく。
この印刷におけるばらつきはプリペイドカード100の
製造時に発生し、一定に制御することができない乱数的
なばらつきである。本発明では、この磁気再生出力のば
らつきを利用してプリペイドカード100の特徴データ
を生成する。
Since the ink volume varies even within the same print pattern, the size of the air gap between the magnetic heads 343 and 54 and the magnetic layer also varies, and the degree of reduction in the reproduction output including noise accompanying the variation also occurs. Scatter.
This variation in printing occurs at the time of manufacturing the prepaid card 100 and is a random variation that cannot be controlled to be constant. In the present invention, the characteristic data of the prepaid card 100 is generated using the variation of the magnetic reproduction output.

【0059】次に、このプリペイドカードシステムにお
けるカード消費処理について、図10〜図15に示すフ
ローチャートを参照して説明する。図10に示すカード
消費処理は、読書装置30のカード情報用リーダ/ライ
タ34のデータ読書部342にプリペイドカード100
がセットされるとその都度起動される。
Next, the card consumption processing in the prepaid card system will be described with reference to the flowcharts shown in FIGS. The card consumption process shown in FIG. 10 is performed by the data reading unit 342 of the card information reader / writer 34 of the reading device 30.
Is activated each time is set.

【0060】処理が開始されると、読書装置30の消費
処理部32は、セットされたプリペイドカード100が
正常か否かをチェックする(ステップS111)。この
ステップS111での読取チェック処理の詳細につい
て、図11、図12のフローチャートを参照して説明す
る。
When the processing is started, the consumption processing unit 32 of the reading device 30 checks whether the set prepaid card 100 is normal or not (step S111). Details of the reading check processing in step S111 will be described with reference to the flowcharts in FIGS.

【0061】まず、読書装置30内のカード情報用リー
ダ/ライタ34の読書制御部341が、データ読書部3
42を制御し、磁気ヘッド343を介してプリペイドカ
ード100の第1および第2のカード情報記憶領域11
1、112に記憶されているカード情報R1,R2を読
み取り、これらカード情報R1,R2の正当性をチェッ
クする(ステップS120)。ここでは、カード情報と
して必要とされる所定の情報(識別情報、エンコード年
月日など)が記録されているか、カード情報更新日時と
エンコード日時との間に矛盾がないか、などのチェック
がカード情報R1,R2それぞれについて行われる。
First, the reading control unit 341 of the card information reader / writer 34 in the reading device 30
42, and controls the first and second card information storage areas 11 of the prepaid card 100 via the magnetic head 343.
The card information R1 and R2 stored in the card information R1 and R2 are read, and the validity of the card information R1 and R2 is checked (step S120). Here, it is checked whether predetermined information (identification information, encoding date, etc.) required as card information is recorded, and whether there is any inconsistency between the card information update date and the encoding date and time. This is performed for each of the information R1, R2.

【0062】ステップS120のカード情報チェックの
結果に基づき、プリペイドカード100の正当性が判定
される(ステップS121)。つまり、ステップS12
0でのチェックにより、カード情報の矛盾が検出された
場合、当該カードは不正であると判定され、元のルーチ
ンにもどる。
The validity of the prepaid card 100 is determined based on the result of the card information check in step S120 (step S121). That is, step S12
If the check at 0 detects inconsistency in the card information, the card is determined to be invalid and the process returns to the original routine.

【0063】ステップS121で、プリペイドカード1
00のカード情報に異常が無かった場合、量子化処理部
344がステップS120で読み出されたカード情報R
1、R2を量子化する。量子化されたデータは、量子化
データ記憶部345に一時的に記憶される。(ステップ
S122)。
In step S121, the prepaid card 1
If there is no abnormality in the card information of No. 00, the quantization processing unit 344 sets the card information R read out in step S120.
1. Quantize R2. The quantized data is temporarily stored in the quantized data storage unit 345. (Step S122).

【0064】次に、特徴データ用リーダ/ライタ35
が、特徴データ記憶領域120に記録されている特徴デ
ータを読み出し、特徴データ記憶部355が読み出され
た特徴データを一時的に記憶する(ステップS12
3)。
Next, the characteristic data reader / writer 35
Reads the feature data recorded in the feature data storage area 120, and the feature data storage unit 355 temporarily stores the read feature data (step S12).
3).

【0065】続いて、ステップS120で読み出された
カード情報R1,R2のうち、最後に更新されたカード
情報がいずれであるかが判別される(ステップS12
4)。ここでは、最後に更新されたカード情報がいずれ
であるかが特定できるのであれば、その方法は任意であ
る。例えば、読み出されたカード情報R1,R2に含ま
れる残高情報のうち、より少ない金額を含んでいる方が
最後に更新されたと判別してもよい。また、カード情報
に含まれる残高情報に付随して記録される更新日時の記
録を参照して判別してもよい。あるいは、更新されたカ
ード情報がいずれであるかを示す符号をプリペイドカー
ド100の適当な箇所に付し、これに基づいて判別して
もよい。
Subsequently, it is determined which of the card information R1 and R2 read in step S120 is the last updated card information (step S12).
4). Here, any method can be used as long as it is possible to identify the last updated card information. For example, of the balance information included in the read card information R1 and R2, it may be determined that the one containing the smaller amount is updated last. Alternatively, the determination may be made by referring to the record of the update date and time recorded along with the balance information included in the card information. Alternatively, a code indicating the updated card information may be attached to an appropriate location of the prepaid card 100, and the determination may be made based on this.

【0066】ここで、カード情報R1が最後に更新され
たカード情報であると判別された場合、ステップS12
5に進む。ここでは、ステップS124での判別に応答
して、復号化処理部354が、ステップS122で量子
化データ記憶部345に記憶されたカード情報R1を量
子化したデータを用いて、ステップS123で特徴デー
タ記憶部355に記憶された特徴データを復号する。
If it is determined that the card information R1 is the last updated card information, the process proceeds to step S12.
Go to 5. Here, in response to the determination in step S124, the decoding processing unit 354 uses the data obtained by quantizing the card information R1 stored in the quantized data storage unit 345 in step S122, and uses the characteristic data in step S123. The feature data stored in the storage unit 355 is decoded.

【0067】続いて、ステップS125での復号化処理
の成否が判別される(ステップS126)。ここで、ス
テップS125での復号化処理が不成立であると判別さ
れた場合、読取チェック処理を終了して元のルーチンに
戻る。
Subsequently, the success or failure of the decoding process in step S125 is determined (step S126). Here, if it is determined that the decryption process in step S125 is not established, the reading check process is terminated and the process returns to the original routine.

【0068】ステップS125で復号の成立が判別され
た場合、ステップS127に進む。ここでは、ステップ
S122で量子化データ記憶部345に記憶されたカー
ド情報R2を量子化したデータと、ステップS125で
復号された特徴データとが比較される。
If it is determined in step S125 that the decoding has been established, the flow advances to step S127. Here, the data obtained by quantizing the card information R2 stored in the quantized data storage unit 345 in step S122 is compared with the characteristic data decoded in step S125.

【0069】ステップS127での比較の結果、両者が
一致したか否かを判別する(ステップS128)。ここ
で不一致が判別された場合、以後のチェック処理を行わ
ずに元のルーチンに戻る。
As a result of the comparison in step S127, it is determined whether or not both match (step S128). If a mismatch is determined here, the process returns to the original routine without performing the subsequent check processing.

【0070】ステップS128でデータの一致が判別さ
れた場合、後述のカード情報更新処理で書き換えられる
べきカード情報がR2であることを示す更新識別情報D
2が作成される(ステップS129)。ここでは、更新
されるべきカード情報がR1であることを示す更新識別
情報をD1、R2であることを示す更新識別情報をD2
とする。この更新識別情報を作成することによって、カ
ード情報R1、R2が、当該プリペイドカード100が
消費処理に供される毎に後述するカード情報更新処理に
おいて交互に更新されるようになる。このステップS1
29は、ステップS124において、最後に更新された
カード情報がR1であると判別された場合のフローなの
で、次に更新されるべきカード情報がR2であることを
示す更新識別情報D2が作成される。
If it is determined in step S128 that the data matches, the update identification information D indicating that the card information to be rewritten in the card information update processing described later is R2.
2 is created (step S129). Here, the update identification information indicating that the card information to be updated is R1 is D1, and the update identification information indicating that the card information to be updated is R2 is D2.
And By creating the update identification information, the card information R1 and R2 are alternately updated in a card information update process described later each time the prepaid card 100 is used for the consumption process. This step S1
29 is a flow when it is determined in step S124 that the last updated card information is R1, so that update identification information D2 indicating that the card information to be updated next is R2 is created. .

【0071】一方、ステップS124でカード情報R2
が最後に更新されたカード情報であると判別された場
合、ステップS130に進む。ここでは、ステップS1
24での判別に応答して、復号化処理部354が、ステ
ップS122で量子化データ記憶部345に記憶された
カード情報R2を量子化したデータを用いて、ステップ
S123で特徴データ記憶部に記憶された特徴データを
復号する。
On the other hand, in step S124, the card information R2
Is determined to be the last updated card information, the process proceeds to step S130. Here, step S1
In response to the determination in step S24, the decoding processing unit 354 uses the data obtained by quantizing the card information R2 stored in the quantized data storage unit 345 in step S122, and stores the data in the feature data storage unit in step S123. The obtained feature data is decoded.

【0072】続いて、ステップS130での復号化処理
の成否が判別される(ステップS131)。ここで、ス
テップS131での復号化処理が不成立であると判別さ
れた場合、読取チェック処理を終了して元のルーチンに
戻る。
Subsequently, the success or failure of the decryption process in step S130 is determined (step S131). Here, if it is determined that the decryption processing in step S131 is not established, the reading check processing ends and the processing returns to the original routine.

【0073】ステップS131で復号の成立が判別され
た場合、ステップS132に進む。ここでは、ステップ
S122で量子化データ記憶部345に記憶されたカー
ド情報R1を量子化したデータと、ステップS130で
復号された特徴データとが比較される。
If it is determined in step S131 that the decoding has been established, the flow advances to step S132. Here, the data obtained by quantizing the card information R1 stored in the quantized data storage unit 345 in step S122 is compared with the characteristic data decoded in step S130.

【0074】ステップS132での比較の結果、両者が
一致したか否かを判別する(ステップS133)。ここ
で不一致が判別された場合、以後のチェック処理を行わ
ずに元のルーチンに戻る。
As a result of the comparison in step S132, it is determined whether or not both match (step S133). If a mismatch is determined here, the process returns to the original routine without performing the subsequent check processing.

【0075】ステップS133でデータの一致が判別さ
れた場合、後述するカード情報更新処理において更新さ
れるべきカード情報がR1であることを示す更新識別情
報D1が作成される(ステップS134)。このステッ
プS134は、ステップS124において、最後に更新
されたカード情報がR2であると判別された場合のフロ
ーなので、次に更新されるべきカード情報がR1である
ことを示す更新識別情報D1が作成される。
If data coincidence is determined in step S133, update identification information D1 indicating that the card information to be updated in the card information updating process described later is R1 is created (step S134). Since this step S134 is a flow when it is determined in step S124 that the last updated card information is R2, the update identification information D1 indicating that the card information to be updated next is R1 is created. Is done.

【0076】ステップS129あるいはS134での処
理の後、プリペイドカード100に施されているパンチ
孔がチェックされる(ステップS135)。ここでは、
カード情報用リーダ/ライタ34により、残額目安パン
チ孔の位置及び記憶情報における矛盾の有無を検出す
る。
After the processing in step S129 or S134, the punch holes formed in the prepaid card 100 are checked (step S135). here,
The card information reader / writer 34 detects the position of the remaining amount guide punch hole and the presence or absence of inconsistency in the stored information.

【0077】ステップS111での読取チェック処理が
終了すると、ステップS112において、ステップS1
11での読取チェック処理結果に基づき、プリペイドカ
ード100が正当なものであるか否かが判別される。つ
まり、カード情報の矛盾が検出された場合、復号化処理
部354での復号化処理の不成立が判別された場合、比
較された特徴データが不一致の場合、あるいはステップ
S135のパンチ孔チェックの結果不正が検出された場
合、のいずれか1つがあてはまれば、セットされたプリ
ペイドカード100は異常であり、不正な手段により作
成されたものであると判定する。
When the reading check processing in step S111 is completed, in step S112, step S1 is executed.
Based on the result of the reading check process in step 11, it is determined whether the prepaid card 100 is valid. That is, when inconsistency in the card information is detected, when the decryption processing by the decryption processing unit 354 is determined to be unsuccessful, when the compared feature data does not match, or when the punch hole check in Is detected, if any one of the above applies, it is determined that the set prepaid card 100 is abnormal and has been created by an unauthorized means.

【0078】ステップS112でプリペイドカード10
0が正当でないと判別された場合には、不正又はエラー
表示等を行うとともに、システムの動作を停止するなど
の異常/不正処理を実行する(ステップS113)。
At step S112, the prepaid card 10
When it is determined that 0 is not valid, an error or an error is displayed, and an abnormal / illegal process such as stopping the operation of the system is executed (step S113).

【0079】また、ステップS112でプリペイドカー
ド100が正当であると判別された場合、消費処理部3
2は所定の消費処理を行った後、プリペイドカード10
0のカード情報記憶領域110のカード情報を更新する
(ステップS114)。このステップS114でのカー
ド情報更新処理について図13のフローチャートを参照
して詳述する。
If it is determined in step S112 that the prepaid card 100 is valid, the consumption processing unit 3
2 is a prepaid card 10 after performing a predetermined consumption process.
The card information in the 0 card information storage area 110 is updated (step S114). The card information updating process in step S114 will be described in detail with reference to the flowchart in FIG.

【0080】まず、消費処理部32は、ステップS11
1の読取チェック処理で作成された更新識別情報に基づ
いて、最後に更新されたカード情報がR1,R2のいず
れであるかを判別する(ステップS141)。
First, the consumption processing section 32 executes step S11.
Based on the update identification information created in the first reading check process, it is determined whether the last updated card information is R1 or R2 (step S141).

【0081】前述の読取チェック処理で作成された更新
識別情報がD1である場合、ステップS142に進む。
ここでは、消費処理部32が、カード情報用リーダ/ラ
イタ34を介して最後に更新されたカード情報であるR
2を参照する。
If the update identification information created in the above-described read check processing is D1, the process proceeds to step S142.
Here, the consumption processing unit 32 determines that the last updated card information is R via the card information reader / writer 34.
See FIG.

【0082】消費処理部32は、カード情報R2の残額
を確認して残額があれば、物品貸出などの所定の消費処
理を行う(ステップS143)。
The consumption processing section 32 checks the balance of the card information R2, and if there is a balance, performs a predetermined consumption process such as lending an article (step S143).

【0083】続いて、消費処理部32は、カード情報用
リーダ/ライタ34を介して、第2のカード情報記憶領
域112に記憶されているカード情報R1を読み出し、
ステップS143での消費に基づいて、読み出したカー
ド情報R1の残額情報を更新して書き換える(ステップ
S144)。
Subsequently, the consumption processing section 32 reads out the card information R1 stored in the second card information storage area 112 via the card information reader / writer 34,
Based on the consumption in step S143, the remaining amount information of the read card information R1 is updated and rewritten (step S144).

【0084】一方、読取チェック処理で作成された更新
識別情報がD2の場合、消費処理部32が、カード情報
用リーダ/ライタ34を介して最後に更新されたカード
情報であるR1を参照する。
On the other hand, when the update identification information created in the read check processing is D2, the consumption processing unit 32 refers to the last updated card information R1 via the card information reader / writer 34.

【0085】消費処理部32は、カード情報R1の残額
を確認して残額があれば、物品貸出などの所定の消費処
理を行う(ステップS146)。
The consumption processing section 32 checks the balance of the card information R1, and if there is a balance, performs a predetermined consumption process such as lending an article (step S146).

【0086】消費処理部32は、カード情報用リーダ/
ライタ34を介して、第1のカード情報記憶領域111
に記憶されているカード情報R2を読み出し、ステップ
S146での消費に基づいて、読み出したカード情報R
2の残額情報を更新して書き換える(ステップS14
7)。
The consumption processing section 32 has a card information reader /
Via the writer 34, the first card information storage area 111
Is read out, and based on the consumption in step S146, the read card information R2 is read.
2 is updated and rewritten (step S14).
7).

【0087】ステップS144あるいはS147でカー
ド情報の書換が完了すると、更新された残額に対応する
パンチ孔が穿孔される(ステップS148)。
When the rewriting of the card information is completed in step S144 or S147, a punch hole corresponding to the updated balance is punched (step S148).

【0088】ステップS114のカード情報更新処理が
終了すると、ステップS115に進む。ステップS11
5では、プリペイドカード100の特徴データ記憶領域
120に記録されている特徴データの書換が行われる。
図14のフローチャートはステップS115の特徴デー
タ書換処理の詳細を示している。
When the card information updating process in step S114 is completed, the process proceeds to step S115. Step S11
In 5, the characteristic data recorded in the characteristic data storage area 120 of the prepaid card 100 is rewritten.
The flowchart of FIG. 14 shows details of the characteristic data rewriting process in step S115.

【0089】まず、上述の読取チェック処理で作成され
た更新識別情報がD1,D2のいずれであるかを判別す
る(ステップS151)。ここで更新識別情報がD1で
ある場合、ステップS122でカード情報R2を量子化
したデータを用いて特徴データC2を作成し、ステップ
S122で得られたカード情報R1を量子化したデータ
で暗号化する。(ステップS152、ステップS15
3)。
First, it is determined whether the update identification information created by the above-described read check processing is D1 or D2 (step S151). If the update identification information is D1, the feature data C2 is created using the data obtained by quantizing the card information R2 in step S122, and the card information R1 obtained in step S122 is encrypted with the quantized data. . (Step S152, Step S15
3).

【0090】そして、プリペイドカード100の特徴デ
ータ記憶領域120に記録されている特徴データC1
を、暗号化した特徴データC2に書き換える(ステップ
S154)。
Then, the feature data C1 recorded in the feature data storage area 120 of the prepaid card 100
Is rewritten to the encrypted feature data C2 (step S154).

【0091】一方、ステップS151で更新識別情報が
D2であると判別された場合、同様にカード情報R1を
量子化したデータを用いて特徴データC1を作成し、カ
ード情報R2を量子化したデータで暗号化し(ステップ
S155、S156)、特徴データC2を、暗号化した
特徴データC1に書き換える(ステップS157)。
On the other hand, if it is determined in step S151 that the update identification information is D2, the characteristic data C1 is similarly created using the data obtained by quantizing the card information R1, and the data obtained by quantizing the card information R2 is obtained. After the encryption (steps S155 and S156), the feature data C2 is rewritten to the encrypted feature data C1 (step S157).

【0092】ステップS154あるいはS157での特
徴データの書換が完了すると、特徴データ書換処理を終
了し、元のルーチンに戻る。
When the rewriting of the characteristic data in step S154 or S157 is completed, the characteristic data rewriting process ends, and the process returns to the original routine.

【0093】上述の処理により、プリペイドカード10
0が消費処理に供される毎に特徴データC1,C2が交
互に書き換えられる。つまり、更新識別情報がD1の場
合、プリペイドカード100の特徴データ記憶領域12
0に記憶されている特徴データは、カード情報R1を再
生した特徴データC1であるので、これをカード情報R
2を再生して得られる特徴データC2へ書き換える。同
様に、更新識別情報がD2の場合は、記録されている特
徴データC2をC1へ書き換える。
By the above processing, the prepaid card 10
The feature data C1 and C2 are rewritten alternately each time 0 is used for consumption processing. That is, when the update identification information is D1, the characteristic data storage area 12 of the prepaid card 100
0 is the characteristic data C1 obtained by reproducing the card information R1,
2 is rewritten to the characteristic data C2 obtained by reproducing. Similarly, when the update identification information is D2, the recorded feature data C2 is rewritten to C1.

【0094】次に、上述のカード情報更新処理および特
徴データ書換処理において、カード情報、特徴データが
書き換えられたプリペイドカード100についてのカー
ドチェックが再度実行される(ステップS116)。図
15はこの書込チェック処理の詳細を示している。
Next, in the above-described card information update processing and characteristic data rewriting processing, a card check is performed again on the prepaid card 100 whose card information and characteristic data have been rewritten (step S116). FIG. 15 shows details of the write check process.

【0095】まず、読書装置30内のカード情報用リー
ダ/ライタ34の読書制御部341が、データ読書部3
42を制御し、磁気ヘッド343を介してプリペイドカ
ード100の第1および第2のカード情報記憶領域11
1、112に記憶されているカード情報R1,R2を読
み取り、これらカード情報R1,R2の正当性をチェッ
クする(ステップS160)。ここでは、上述の読取チ
ェック処理同様、読み取られたカード情報R1,R2に
矛盾する点がないかチェックする。
First, the reading control unit 341 of the card information reader / writer 34 in the reading device 30
42, and controls the first and second card information storage areas 11 of the prepaid card 100 via the magnetic head 343.
The card information R1 and R2 stored in the card information R1 and R2 are read, and the validity of the card information R1 and R2 is checked (step S160). Here, similarly to the above-described reading check processing, it is checked whether there is any contradiction between the read card information R1 and R2.

【0096】ステップS160のカード情報チェックの
結果に基づき、プリペイドカード100の正当性が判定
される(ステップS161)。つまり、ステップS16
0でのチェックにより、何らかの矛盾が検出された場
合、当該カードは不正であると判定され、元のルーチン
にもどる。
Based on the result of the card information check in step S160, the validity of the prepaid card 100 is determined (step S161). That is, step S16
If any inconsistency is detected by checking with 0, the card is determined to be invalid and the process returns to the original routine.

【0097】ステップS161で、プリペイドカード1
00のカード情報に異常がなかった場合、前述の読取チ
ェック処理で作成された更新識別情報がいずれであるか
が判別される(ステップS162)。ここで、更新識別
情報がD1である場合、ステップS163に進む。
At step S161, the prepaid card 1
If there is no abnormality in the card information of No. 00, it is determined which of the update identification information created in the above-described read check processing (step S162). Here, if the update identification information is D1, the process proceeds to step S163.

【0098】ステップS163では、カード情報用リー
ダ/ライタ34により、第1のカード情報記憶領域11
1に記録されているカード情報R1が再生され、量子化
処理部344がこれを量子化する。量子化されたデータ
は量子化データ記憶部345に一時的に記憶される。
In step S163, the first card information storage area 11 is
The card information R1 recorded in No. 1 is reproduced, and the quantization processing unit 344 quantizes this. The quantized data is temporarily stored in the quantized data storage unit 345.

【0099】続いて、特徴データ用リーダ/ライタ35
が特徴データ記憶領域120に記録されている特徴デー
タを読み出し、復号化処理部354がステップS163
で量子化データ記憶部345に記憶したカード情報R1
を量子化したデータを用いてこの読み出された特徴デー
タを復号する(ステップS164)。このステップS1
64は、ステップS162で更新識別情報がD1である
と判別された場合のフローなので、特徴データ記憶領域
120に記録されている特徴データはC2である。
Subsequently, the characteristic data reader / writer 35
Reads out the feature data recorded in the feature data storage area 120, and the decryption processing unit 354 executes step S163.
The card information R1 stored in the quantized data storage unit 345
The read feature data is decoded using the data obtained by quantizing (step S164). This step S1
Reference numeral 64 denotes a flow in the case where the update identification information is determined to be D1 in step S162, and the feature data recorded in the feature data storage area 120 is C2.

【0100】次に、ステップS164での復号化処理の
成否を判定する(ステップS165)。ここで、復号化
処理の不成立が判別された場合、チェック処理を終了し
て元のルーチンに戻る。
Next, it is determined whether or not the decoding process in step S164 is successful (step S165). Here, when it is determined that the decryption process is not established, the check process is terminated and the process returns to the original routine.

【0101】次に、カード情報用リーダ/ライタ34に
より第2のカード情報記憶領域112に記録されている
カード情報R2が再生され、量子化処理部344がこれ
を量子化する。この量子化されたデータとステップS1
64で復号された特徴データC2とが比較され(ステッ
プS166)、一致するか否かが判別される(ステップ
S167)。ここで、不一致であった場合は、以後のチ
ェック処理は行わずに元のルーチンに戻る。
Next, the card information reader / writer 34 reproduces the card information R2 recorded in the second card information storage area 112, and the quantization processing section 344 quantizes this. This quantized data and step S1
The data is compared with the feature data C2 decoded in 64 (step S166), and it is determined whether or not they match (step S167). Here, if they do not match, the routine returns to the original routine without performing the subsequent check processing.

【0102】一方、ステップS162で更新識別情報が
R2であると判別された場合、ステップS168に進
む。ここでは、カード情報用リーダ/ライタ34がカー
ド情報R2を再生し、量子化処理部344がこれを量子
化する。量子化されたデータは、量子化データ記憶部3
45に一時的に記憶される。
If it is determined in step S162 that the update identification information is R2, the flow advances to step S168. Here, the card information reader / writer 34 reproduces the card information R2, and the quantization processing unit 344 quantizes this. The quantized data is stored in the quantized data storage unit 3
45 is temporarily stored.

【0103】次に、特徴データ用リーダ/ライタ35が
特徴データ記憶領域120に記録されている特徴データ
を読み出し、復号化処理部354がステップS168で
量子化データ記憶部345に記憶したカード情報R2を
量子化したデータを用いてこの読み出された特徴データ
を復号する(ステップS169)。このステップS16
9は、ステップS162で更新識別情報がD2であると
判別された場合のフローなので、特徴データ記憶領域1
20に記録されている特徴データはC1である。
Next, the characteristic data reader / writer 35 reads out the characteristic data recorded in the characteristic data storage area 120, and the decryption processing unit 354 stores the card information R2 stored in the quantized data storage unit 345 in step S168. The read feature data is decoded using the data obtained by quantizing (step S169). This step S16
9 is a flow in the case where it is determined in step S162 that the update identification information is D2.
The feature data recorded in 20 is C1.

【0104】次に、ステップS169での復号化処理の
成否を判定する(ステップS170)。ここで、復号化
処理の不成立が判別された場合、チェック処理を終了し
て元のルーチンに戻る。
Next, it is determined whether or not the decoding process in step S169 is successful (step S170). Here, when it is determined that the decryption process is not established, the check process is terminated and the process returns to the original routine.

【0105】次に、カード情報用リーダ/ライタ34に
より第1のカード情報記憶領域111に記録されている
カード情報R1が再生され、量子化処理部344がこれ
を量子化する。この量子化されたデータとステップS1
69で復号された特徴データC1とが比較され(ステッ
プS171)、一致するか否かが判別される(ステップ
S172)。ここで、不一致であった場合は、以後のチ
ェック処理は行わずに元のルーチンに戻る。
Next, the card information R1 recorded in the first card information storage area 111 is reproduced by the card information reader / writer 34, and the quantization processing section 344 quantizes this. This quantized data and step S1
The feature data C1 decoded in 69 is compared with the feature data C1 (step S171), and it is determined whether or not they match (step S172). Here, if they do not match, the routine returns to the original routine without performing the subsequent check processing.

【0106】ステップS167あるいはS172で特徴
データの一致が判別された場合、当該プリペイドカード
100に施されているパンチ孔がチェックされる(ステ
ップS173)。ここでは、前述のカード情報更新処理
で穿孔されたパンチ孔と矛盾がないかチェックする。
If it is determined in step S167 or S172 that the feature data matches, the punched holes formed in the prepaid card 100 are checked (step S173). Here, it is checked whether there is any contradiction with the punched hole in the card information updating process.

【0107】ステップS116での書込チェック処理が
終了すると、ステップS117において、ステップS1
16での書込チェック処理結果に基づき、プリペイドカ
ード100が正当なものであるか否かが判別される。つ
まり、カード情報R1,R2に矛盾があった場合、特徴
データの復号が不成立であった場合、特徴データが不一
致であった場合、パンチ孔の位置が不正であった場合、
のいずれか1つがあてはまれば、当該プリペイドカード
100は異常であり、不正な手段により作成されたもの
であると判定する。
When the write check processing in step S116 ends, in step S117, step S1
Based on the result of the write check process in step 16, it is determined whether the prepaid card 100 is valid. That is, when there is a contradiction between the card information R1 and R2, when the decoding of the feature data is not established, when the feature data does not match, when the position of the punch hole is incorrect,
If any one of the above applies, it is determined that the prepaid card 100 is abnormal and has been created by unauthorized means.

【0108】ステップS117でプリペイドカード10
0が正当でないと判別された場合には、不正又はエラー
表示等を行うとともに、システムの動作を停止するなど
の異常/不正処理を実行する(ステップS113)。
In step S117, the prepaid card 10
When it is determined that 0 is not valid, an error or an error is displayed, and an abnormal / illegal process such as stopping the operation of the system is executed (step S113).

【0109】ステップS117でプリペイドカード10
0の不正が検出されなかった場合は、プリペイドカード
100が読書装置30から排出され、処理を終了する。
At step S117, the prepaid card 10
If no fraud of 0 is detected, the prepaid card 100 is ejected from the reading device 30 and the process is terminated.

【0110】上記第1の実施の形態によれば、プリペイ
ドカードに記録された2つのカード情報を再生し、得ら
れた再生情報の一方を量子化したものをカードの特徴デ
ータとする。他方の再生情報を量子化したデータで暗号
鍵を作成し、これで特徴データを暗号化する。さらに、
2つのカード情報は、消費処理毎に交互に書き換えられ
るが、この際、特徴データは書き換えられていないカー
ド情報に基づいて作成され、この作成された特徴データ
が、書き換えられたカード情報を量子化したデータに基
づいて暗号化される。カード挿入時とカード情報書換後
に、書き換えたカード情報を量子化したデータを用いた
特徴データ復号の成否の判定、および、書き換えられて
いないカード情報についての特徴データの照合を行う。
この結果に基づき、読書装置の処理中にプリペイドカー
ドがすり替えられた場合これを検出する。したがって、
読書装置を用いたプリペイドカードの不正コピーを確実
に検出することができる。
According to the first embodiment, two pieces of card information recorded on a prepaid card are reproduced, and one of the obtained reproduction information is quantized as card characteristic data. An encryption key is created using data obtained by quantizing the other reproduction information, and the feature data is encrypted using the encryption key. further,
The two pieces of card information are rewritten alternately for each consumption process. At this time, the feature data is created based on the unrewritten card information, and the created feature data is used to quantize the rewritten card information. It is encrypted based on the data obtained. At the time of insertion of the card and after rewriting of the card information, determination of success / failure of the characteristic data decoding using the data obtained by quantizing the rewritten card information, and collation of the characteristic data with respect to the non-rewritten card information are performed.
Based on this result, if the prepaid card is replaced during the processing of the reading device, this is detected. Therefore,
An unauthorized copy of a prepaid card using a reading device can be reliably detected.

【0111】(第2の実施の形態)上記第1の実施の形
態では、2つの量子化された再生情報の一方を特徴デー
タとし、他方でこれを暗号化した。しかし、印刷部位を
再生した際に生じる、インク盛量のばらつきに基づく再
生信号の変化を暗号化に利用する方法はこれに限られな
い。以下に、再生信号の変化を暗号化に利用する他の方
法を用いたプリペイドカードシステムを第2の実施の形
態として説明する。
(Second Embodiment) In the first embodiment, one of two quantized reproduction information is used as feature data, and the other is encrypted. However, a method of using a change in a reproduction signal based on a variation in the amount of ink generated when a print portion is reproduced for encryption is not limited to this. In the following, a prepaid card system using another method that uses a change in a reproduction signal for encryption will be described as a second embodiment.

【0112】なお、この第2の実施の形態で用いられる
プリペイドカード、記録装置の構成は、第1の実施の形
態で用いられたものと同一である。また、読書装置につ
いては、図16に示すようにカード情報用リーダ/ライ
タと特徴データ用リーダ/ライタの構成の一部が異な
る。
Note that the configuration of the prepaid card and the recording device used in the second embodiment are the same as those used in the first embodiment. In the reading device, as shown in FIG. 16, a part of the configuration of the reader / writer for card information and the configuration of the reader / writer for characteristic data are partially different.

【0113】図17は、本実施の形態に係る読書装置3
00のカード情報用リーダ/ライタ340の構成の詳細
を示すブロック図である。このカード情報用リーダ/ラ
イタ340は、第1の実施の形態で用いられたカード情
報用リーダ/ライタ34の構成に、暗号化処理部347
及び書込暗号データ記憶部348が加えられた構成であ
る。なお、他の構成要素については、カード情報用リー
ダ/ライタ34のものと同一であるので、同符号を付し
ている。この暗号化処理部347は、量子化処理部34
4が量子化したカード情報R1,R2に基づいて暗号デ
ータを作成するためのものであり、書込暗号データ記憶
部348は、この暗号化処理部347で作成された暗号
データを一時的に記憶するためのものである。
FIG. 17 shows a reading device 3 according to the present embodiment.
FIG. 9 is a block diagram showing details of a configuration of a card information reader / writer 340 of FIG. The card information reader / writer 340 is different from the card information reader / writer 34 used in the first embodiment in the configuration of the encryption processing unit 347.
And a write encryption data storage unit 348. The other components are the same as those of the card information reader / writer 34, and thus are denoted by the same reference numerals. The encryption processing unit 347 includes the quantization processing unit 34
4 is for creating encrypted data based on the quantized card information R1 and R2, and the write encrypted data storage unit 348 temporarily stores the encrypted data created by the encryption processing unit 347. It is for doing.

【0114】図18は、本実施の形態に係る読書装置3
00の特徴データ用リーダ/ライタ350の構成の詳細
を示すブロック図である。この特徴データ用リーダ/ラ
イタ350は、第1の実施の形態で用いられた特徴デー
タ用リーダ/ライタ35の復号化処理部354に代え
て、読出暗号データ記憶部356が構成されている。な
お、他の構成要素については、特徴データ用リーダ/ラ
イタ35のものと同一であるので、同符号を付してい
る。この読出暗号データ記憶部356は、磁気ヘッド3
53によりプリペイドカード100の特徴データ記憶領
域120から読み出された暗号データを一時的に記憶す
るためのものである。
FIG. 18 shows a reading device 3 according to the present embodiment.
It is a block diagram which shows the detail of the structure of the characteristic data reader / writer 350 of 00. In the feature data reader / writer 350, a read encryption data storage unit 356 is configured instead of the decryption processing unit 354 of the feature data reader / writer 35 used in the first embodiment. Note that the other components are the same as those of the feature data reader / writer 35, and thus are denoted by the same reference numerals. The read encrypted data storage section 356 stores the magnetic head 3
53 temporarily stores the encrypted data read from the characteristic data storage area 120 of the prepaid card 100.

【0115】次に図19〜図24のフローチャートを参
照して、本プリペイドカードシステムで行われる処理に
ついて説明する。図19はこのプリペイドカードシステ
ムの記録装置50での、プリペイドカード100へのエ
ンコード処理を説明するためのフローチャートである。
図19に示すエンコード処理は、記録装置50にプリペ
イドカード媒体がセットされるとその都度起動される。
プリペイドカード媒体がセットされると、まず、エンコ
ード制御部51は、例えば記憶部52に格納された所定
のカード情報を、書込処理部53によりカード情報用磁
気ヘッド54を介して、プリペイドカード媒体の所定の
印刷部位P1に対応して形成された第1のカード情報記
憶領域111にカード情報R1として、また所定の印刷
部位P2に対応して形成されたカード情報記憶領域11
2にカード情報R2として書込む(ステップS20
1)。
Next, the processing performed in the prepaid card system will be described with reference to the flowcharts of FIGS. FIG. 19 is a flowchart for explaining an encoding process on the prepaid card 100 in the recording device 50 of the prepaid card system.
The encoding process shown in FIG. 19 is started each time a prepaid card medium is set in the recording device 50.
When the prepaid card medium is set, first, the encoding control unit 51 transmits predetermined card information stored in, for example, the storage unit 52 to the prepaid card medium via the card information magnetic head 54 by the writing processing unit 53. In the first card information storage area 111 formed corresponding to the predetermined print part P1 as the card information R1, and the card information storage area 11 formed corresponding to the predetermined print part P2.
2 as card information R2 (step S20).
1).

【0116】次に、エンコード制御部51は、カード情
報再生部55を作動させて、第1のカード情報記憶領域
111のカード情報R1を当該部位の印刷面側からカー
ド情報用磁気ヘッド54により再生し、このカード情報
R1の再生信号に量子化処理部56がPCM又はその他
のA/D変換等の量子化処理を施して量子化データを得
る(ステップS202)。書込処理部53は、量子化さ
れたデータに基づいてプリペイドカード100の特徴デ
ータC1を作成し、特徴データ記憶領域120に書き込
む(ステップS203)。なおここでは、カード情報R
1から作成された特徴データをC1、カード情報R2か
ら作成された特徴データをC2とする。
Next, the encoding control section 51 operates the card information reproducing section 55 to reproduce the card information R1 of the first card information storage area 111 from the printing surface side of the relevant part by the card information magnetic head 54. Then, the quantization processing unit 56 performs quantization processing such as PCM or other A / D conversion on the reproduced signal of the card information R1 to obtain quantized data (step S202). The write processing unit 53 creates the feature data C1 of the prepaid card 100 based on the quantized data, and writes it in the feature data storage area 120 (Step S203). Here, the card information R
It is assumed that the feature data created from No. 1 is C1 and the feature data created from the card information R2 is C2.

【0117】続いて、エンコード制御部51は、カード
情報再生部55を作動させて、第2のカード情報記憶領
域112のカード情報R2を当該部位の印刷面側からカ
ード情報用磁気ヘッド54により再生し、このカード情
報R2の再生信号に量子化処理部56がPCM又はその
他のA/D変換等の量子化処理を施して量子化データを
得る(ステップS204)。書込処理部53は、量子化
されたデータに基づいてプリペイドカード100の特徴
データC2を作成し、特徴データ記憶領域120に書き
込む(ステップS205)。
Subsequently, the encode control section 51 operates the card information reproducing section 55 to reproduce the card information R2 of the second card information storage area 112 from the printing surface side of the relevant section by the card information magnetic head 54. Then, the quantization processing unit 56 performs quantization processing such as PCM or other A / D conversion on the reproduced signal of the card information R2 to obtain quantized data (step S204). The write processing unit 53 creates the feature data C2 of the prepaid card 100 based on the quantized data, and writes it in the feature data storage area 120 (Step S205).

【0118】書込処理部53は、ステップS202で得
られたカード情報R1を量子化したデータと、ステップ
S204で得られたカード情報R2とで、暗号データを
生成してプリペイドカード100の特徴データ記憶領域
120に記録して(ステップS206)処理を終了す
る。
The write processing section 53 generates encrypted data from the data obtained by quantizing the card information R1 obtained in step S202 and the card information R2 obtained in step S204, and generates the characteristic data of the prepaid card 100. The information is recorded in the storage area 120 (step S206), and the process ends.

【0119】次に、このプリペイドカードシステムにお
けるカード消費処理について、図20〜図24に示すフ
ローチャートを参照して説明する。図20に示すカード
消費処理は、読書装置300のカード情報用リーダ/ラ
イタ340のデータ読書部342にプリペイドカード1
00がセットされるとその都度起動される。
Next, the card consumption process in the prepaid card system will be described with reference to the flowcharts shown in FIGS. The card consumption process shown in FIG. 20 is performed by the data reading unit 342 of the card information reader / writer 340 of the reading device 300.
It is activated each time 00 is set.

【0120】処理が開始されると、読書装置300の消
費処理部32は、セットされたプリペイドカード100
が正常か否かをチェックする(ステップS211)。こ
のステップS211での読取チェック処理の詳細につい
て、図21のフローチャートを参照して説明する。
When the processing is started, the consumption processing unit 32 of the reading apparatus 300 reads the prepaid card 100
It is checked whether or not is normal (step S211). Details of the reading check process in step S211 will be described with reference to the flowchart in FIG.

【0121】まず、読書装置300内のカード情報用リ
ーダ/ライタ340の読書制御部341が、データ読書
部342を制御し、磁気ヘッド343を介してプリペイ
ドカード100の第1および第2のカード情報記憶領域
111、112に記憶されているカード情報R1,R2
を読み取り、これらカード情報R1,R2の正当性をチ
ェックする(ステップS220)。ここでは、カード情
報として必要とされる所定の情報(識別情報、エンコー
ド年月日など)が記録されているか、カード情報更新日
時とエンコード日時との間に矛盾がないか、などのチェ
ックがカード情報R1,R2それぞれについて行われ
る。
First, the reading control section 341 of the card information reader / writer 340 in the reading apparatus 300 controls the data reading section 342 and, via the magnetic head 343, the first and second card information of the prepaid card 100. Card information R1, R2 stored in storage areas 111, 112
Is read, and the validity of the card information R1, R2 is checked (step S220). Here, it is checked whether predetermined information (identification information, encoding date, etc.) required as card information is recorded, and whether there is any inconsistency between the card information update date and the encoding date and time. This is performed for each of the information R1 and R2.

【0122】ステップS220のカード情報チェックの
結果に基づき、プリペイドカード100の正当性が判定
される(ステップS221)。つまり、ステップS22
0でのチェックにより、カード情報の矛盾が検出された
場合、当該カードは不正であると判定され、元のルーチ
ンにもどる。
Based on the result of the card information check in step S220, the validity of the prepaid card 100 is determined (step S221). That is, step S22
If the check at 0 detects inconsistency in the card information, the card is determined to be invalid and the process returns to the original routine.

【0123】ステップS221で、プリペイドカード1
00のカード情報に異常が無かった場合、量子化処理部
344がステップS220で読み出されたカード情報R
1、R2を量子化する。量子化されたデータは、量子化
データ記憶部345に一時的に記憶される。(ステップ
S222)。
In step S221, the prepaid card 1
If the card information of No. 00 is normal, the quantization processing unit 344 sets the card information R read out in step S220.
1. Quantize R2. The quantized data is temporarily stored in the quantized data storage unit 345. (Step S222).

【0124】次に、暗号化処理部347が、ステップS
222で量子化データ記憶部345に記憶されたカード
情報R1,R2を量子化したデータを用いて暗号データ
を作成し、書込暗号データ記憶部348に一時的に記憶
する(ステップS223)。
Next, the encryption processing unit 347 determines in step S
In step 222, encrypted data is created using the data obtained by quantizing the card information R1 and R2 stored in the quantized data storage unit 345, and is temporarily stored in the write encryption data storage unit 348 (step S223).

【0125】続いて、特徴データ用リーダ/ライタ35
0のデータ読書部352が磁気ヘッド353を駆動させ
て、プリペイドカード100の特徴データ記憶領域12
0に記録されている暗号データを読み出して読出暗号デ
ータ記憶部364に一時的に記憶させ、読書装置300
の消費処理部32が書込暗号データ記憶部348の暗号
データと比較する(ステップS224)。
Subsequently, the characteristic data reader / writer 35
0 of the prepaid card 100 by driving the magnetic head 353.
0 is read out and temporarily stored in the read-out encrypted data storage unit 364.
The consumption processing unit 32 compares the encrypted data with the encrypted data in the write encrypted data storage unit 348 (step S224).

【0126】ステップS224での比較に基づき、暗号
データが一致するか否かが判別され(ステップS22
5)、不一致の場合は以後のチェック処理は行わず、元
のルーチンに戻る。ステップS225で一致すると判別
された場合はステップS226に進む。
Based on the comparison in step S224, it is determined whether or not the encrypted data matches (step S22).
5) If they do not match, the subsequent check processing is not performed, and the routine returns to the original routine. If it is determined in step S225 that they match, the process proceeds to step S226.

【0127】ステップS227では、特徴データ用リー
ダ/ライタ350のデータ読書部352が磁気ヘッド3
53を駆動させて、プリペイドカード100の特徴デー
タ記憶領域120に記録されている特徴データC1,C
2を読み出し、特徴データ記憶部355に一時的に記憶
させる。
In step S227, the data reading unit 352 of the characteristic data reader / writer 350
53, the characteristic data C1, C2 stored in the characteristic data storage area 120 of the prepaid card 100.
2 is read and temporarily stored in the feature data storage unit 355.

【0128】次に、消費処理部32が、ステップS22
2で量子化データ記憶部345に記憶したカード情報R
1,R2の量子化データと、ステップS226で特徴デ
ータ記憶部355に記憶した特徴データC1,C2とを
それぞれ比較し、比較の結果一致するか否かを判別する
(ステップS227、S228)。ステップS228で
不一致と判別された場合、以後のチェック処理は行わず
に元のルーチンに戻る。
Next, the consumption processing section 32 executes step S22.
2, the card information R stored in the quantized data storage unit 345
The quantized data of R1 and R2 are compared with the feature data C1 and C2 stored in the feature data storage unit 355 in step S226, respectively, and it is determined whether or not they match as a result of the comparison (steps S227 and S228). If it is determined in step S228 that they do not match, the flow returns to the original routine without performing the subsequent check processing.

【0129】ステップS228で一致と判別された場
合、ステップS229のパンチ孔チェック処理に進む。
ここでは、ステップS220で読み出されたカード情報
に含まれる金額情報と、プリペイドカード100に穿孔
されている残額の目安を示すパンチ孔とに矛盾がないか
チェックする。
If it is determined in step S228 that they match, the flow advances to punch hole check processing in step S229.
Here, it is checked whether there is any inconsistency between the amount information included in the card information read in step S220 and the punched hole indicating the estimated remaining amount punched in the prepaid card 100.

【0130】ステップS229でのパンチ孔チェックが
終了すると、読取チェック処理を終了し元のルーチンに
戻る。
When the punch hole check in step S229 is completed, the reading check process is completed and the process returns to the original routine.

【0131】ステップS211での読取チェック処理が
終了すると、ステップS212において、ステップS2
11での読取チェック処理結果に基づき、プリペイドカ
ード100が正当なものであるか否かが判別される。つ
まり、カード情報の矛盾が検出された場合、暗号データ
の不一致が検出された場合、特徴データの不一致が検出
された場合、あるいはパンチ孔の不正が検出された場
合、のいずれか1つがあてはまれば、セットされたプリ
ペイドカード100は異常であり、不正な手段により作
成されたものであると判定する。
When the reading check processing in step S211 ends, in step S212, step S2
Based on the result of the reading check process in step 11, it is determined whether the prepaid card 100 is valid. In other words, one of the following cases is detected: inconsistency in card information, inconsistency in encrypted data, inconsistency in feature data, or when an illegal punch hole is detected. Then, it is determined that the set prepaid card 100 is abnormal and has been created by unauthorized means.

【0132】ステップS212でプリペイドカード10
0が正当でないと判別された場合には、不正又はエラー
表示等を行うとともに、システムの動作を停止するなど
の異常/不正処理を実行する(ステップS213)。
In step S212, the prepaid card 10
If it is determined that 0 is not valid, an invalid / error display is performed, and an abnormal / illegal process such as stopping the operation of the system is executed (step S213).

【0133】また、ステップS212でプリペイドカー
ド100が正当であると判別された場合、消費処理部3
2は所定の消費処理を行った後、プリペイドカード10
0の特徴データ記憶領域120のカード情報を更新する
(ステップS214)。このステップS214でのカー
ド情報更新処理について図22のフローチャートを参照
して詳述する。
If it is determined in step S212 that the prepaid card 100 is valid, the consumption processing unit 3
2 is a prepaid card 10 after performing a predetermined consumption process.
The card information in the 0 characteristic data storage area 120 is updated (step S214). The card information updating process in step S214 will be described in detail with reference to the flowchart in FIG.

【0134】まず、消費処理部32が、カード情報記憶
領域111,112に記録されているカード情報R1,
R2のいずれが最後に更新されたかを判別する(ステッ
プS230)。ここでは、いずれのカード情報が最後に
更新されたかが特定できるのであればその方法は任意で
ある。例えば、カード情報R1,R2に含まれる残高情
報を比較し、より少ない額を含んだ方を最終更新カード
情報として判別してもよい。また、残高情報に付随して
記録される更新日時情報を参照して判別してもよい。あ
るいは、消費処理毎に、更新されたカード情報がいずれ
であるかを示す符号をプリペイドカード100の適当な
箇所に付し、これに基づいて判別してもよい。
First, the consumption processing unit 32 determines whether the card information R1,
It is determined which of R2 has been updated last (step S230). Here, any method can be used as long as it is possible to identify which card information was updated last. For example, the balance information included in the card information R1 and R2 may be compared, and the one containing the smaller amount may be determined as the last updated card information. Alternatively, the determination may be made by referring to the update date and time information recorded along with the balance information. Alternatively, a code indicating the updated card information may be attached to an appropriate portion of the prepaid card 100 for each consumption process, and the determination may be made based on the code.

【0135】ステップS230で、最後に更新されたカ
ード情報がR1であると判別された場合、消費処理部3
2がカード情報R1の残高情報を参照し、残高があれば
これに応じた消費を許可し、例えば物品の貸出などの所
定の消費処理を行う(ステップS231、S232)。
When it is determined in step S230 that the last updated card information is R1, the consumption processing unit 3
2 refers to the balance information in the card information R1, and if there is a balance, permits consumption according to the balance and performs a predetermined consumption process such as lending of an article (steps S231 and S232).

【0136】続いて、消費処理部32が、ステップS2
32での消費に基づいて、カード情報R2を更新し、カ
ード情報用リーダ/ライタ340が第2のカード情報記
憶部112のカード情報R2をこれに書き換える(ステ
ップS233)。
Subsequently, the consumption processing unit 32 determines in step S2
32, the card information R2 is updated, and the card information reader / writer 340 rewrites the card information R2 in the second card information storage unit 112 (step S233).

【0137】更新されたカード情報がR2であることを
示す更新識別情報D2が作成される(ステップS23
4)。なおここでは、カード情報R1が更新されたこと
を示す更新識別情報をD1、R2が更新されたことを示
す更新識別情報をD2とする。
Update identification information D2 indicating that the updated card information is R2 is created.
4). Here, the update identification information indicating that the card information R1 has been updated is D1, and the update identification information indicating that the R2 has been updated is D2.

【0138】一方、ステップS230で最後に更新され
たカード情報がR2であると判別された場合には、カー
ド情報R2に基づいた消費処理の後、この消費に基づい
てカード情報R1が更新され、書き換えられるととも
に、更新識別情報D1が作成される(ステップS23
5、S236、S237、S238)。
On the other hand, if it is determined in step S230 that the last updated card information is R2, after the consumption processing based on the card information R2, the card information R1 is updated based on this consumption. At the same time as rewriting, update identification information D1 is created.
5, S236, S237, S238).

【0139】ステップS234あるいはS238での処
理が終了すると、ステップS233あるいはS237で
更新されたカード情報に基づいたパンチ孔がプリペイド
カード100に穿孔され(ステップS239)、処理を
終了する。
When the processing in step S234 or S238 is completed, a punch hole is punched in the prepaid card 100 based on the card information updated in step S233 or S237 (step S239), and the processing ends.

【0140】ステップS214でのカード情報更新処理
が終了すると、特徴データ書換処理が実行される(ステ
ップS215)。図23はこの特徴データ書換処理の詳
細を示すフローチャートである。
When the card information updating process in step S214 ends, a characteristic data rewriting process is executed (step S215). FIG. 23 is a flowchart showing details of the feature data rewriting process.

【0141】まず、カード情報用リーダ/ライタ340
がカード情報R1,R2それぞれを再生し、量子化処理
部344が再生情報を量子化して量子化データ記憶部3
45に一時的に記憶する(ステップS240)。
First, the card information reader / writer 340
Reproduces the card information R1 and R2, respectively, and the quantization processing unit 344 quantizes the reproduction information to obtain the quantized data storage unit 3.
45 (step S240).

【0142】次に、消費処理部32が、前述のカード情
報更新処理で作成された更新識別情報に基づいて、書き
換えるべき特徴データがいずれであるかを決定する(ス
テップS241)。つまり、更新識別情報がD1である
場合はステップS242に進んで特徴データC1を書き
換え、D2である場合はステップS243で特徴データ
C2を書き換える。
Next, the consumption processing unit 32 determines which characteristic data to be rewritten is based on the update identification information created in the above-described card information update processing (step S241). That is, when the update identification information is D1, the process proceeds to step S242, and the feature data C1 is rewritten. When the update identification information is D2, the feature data C2 is rewritten in step S243.

【0143】ステップS242では、消費処理部32
が、ステップS240で量子化データ記憶部345に記
憶されたカード情報R1を量子化したデータを更新特徴
データC1とし、特徴データリーダ/ライタ350が特
徴データ記憶領域120に記録されている特徴データC
1を更新特徴データC1に書き換える。
In the step S242, the consumption processing section 32
However, the data obtained by quantizing the card information R1 stored in the quantized data storage unit 345 in step S240 is referred to as updated feature data C1, and the feature data reader / writer 350 uses the feature data C stored in the feature data storage area 120.
1 is rewritten to the updated feature data C1.

【0144】一方ステップS243では、消費処理部3
2が、ステップS240で量子化データ記憶部345に
記憶されたカード情報R2を量子化したデータを更新特
徴データC2とし、特徴データリーダ/ライタ350が
特徴データ記憶領域120に記録されている特徴データ
C2を更新特徴データC2に書き換える。
On the other hand, in step S243, the consumption processing unit 3
2 uses the data obtained by quantizing the card information R2 stored in the quantized data storage unit 345 in step S240 as updated feature data C2, and the feature data reader / writer 350 stores the feature data stored in the feature data storage area 120. Rewrite C2 with the updated feature data C2.

【0145】続いて、暗号化処理部347が、量子化デ
ータ記憶部345に記憶されているカード情報R1,R
2の量子化データから更新暗号データを作成する。特徴
データ用リーダ/ライタ350が、特徴データ記憶領域
120に記録されている暗号データを、作成された更新
暗号データに書き換えて(ステップS244、S24
5)処理を終了する。
Subsequently, the encryption processing unit 347 transmits the card information R1, R2 stored in the quantized data storage unit 345.
The updated encrypted data is created from the second quantized data. The characteristic data reader / writer 350 rewrites the encrypted data recorded in the characteristic data storage area 120 with the created updated encrypted data (steps S244 and S24).
5) End the process.

【0146】ステップS215での特徴データの書換が
終了すると、プリペイドカード100についてのチェッ
ク処理が再度実行される(ステップS216)。図24
はこの書込チェック処理の詳細を示すフローチャートで
ある。
When the rewriting of the characteristic data in step S215 is completed, the check processing for the prepaid card 100 is executed again (step S216). FIG.
Is a flowchart showing details of the write check process.

【0147】まず、カード情報用リーダ/ライタ340
の磁気ヘッド343がカード情報R1,R2を再生し、
カード情報記憶部346に一時的に記憶する。量子化処
理部344がカード情報記憶部346に記憶されたカー
ド情報R1,R2を量子化し、量子化データ記憶部34
5に一時的に記憶させる(ステップS250)。
First, the card information reader / writer 340
Magnetic head 343 reproduces the card information R1, R2,
The information is temporarily stored in the card information storage unit 346. The quantization processing unit 344 quantizes the card information R1 and R2 stored in the card information storage unit 346, and
5 is temporarily stored (step S250).

【0148】次に、暗号化処理部347が、ステップS
250で量子化データ記憶部345に記憶されたカード
情報R1,R2の量子化データを用いて暗号データを作
成し、書込暗号データ記憶部348に一時的に記憶させ
る(ステップS251)。
Next, the encryption processing unit 347 determines in step S
At 250, encrypted data is created using the quantized data of the card information R1 and R2 stored in the quantized data storage unit 345, and is temporarily stored in the write encryption data storage unit 348 (step S251).

【0149】続いて、特徴データ用リーダ/ライタ35
0の磁気ヘッド353が、プリペイドカード100の特
徴データ記憶領域120に記録されている暗号データを
読み出し、読出暗号データ記憶部354に一時的に記憶
させると、消費処理部32は、ステップS251で書込
暗号データ記憶部348に記憶した暗号データと、読出
暗号データ記憶部356に記憶した暗号データとを比較
し、一致するか否かが判別される(ステップS252、
S253)。
Subsequently, the characteristic data reader / writer 35
0 magnetic head 353 reads the encrypted data recorded in the characteristic data storage area 120 of the prepaid card 100 and temporarily stores it in the read encrypted data storage unit 354, the consumption processing unit 32 writes in step S251. The encrypted data stored in the embedded encrypted data storage unit 348 is compared with the encrypted data stored in the read encrypted data storage unit 356, and it is determined whether or not they match (step S252).
S253).

【0150】ここで不一致であった場合は、以後のチェ
ック処理を行わずに、元のルーチンに戻る。一方、一致
が検出された場合は、特徴データ用リーダ/ライタ35
0の磁気ヘッド353が特徴データ記憶領域120に記
録されている特徴データC1,C2を読み出し、特徴デ
ータ記憶部355に一時的に記憶させる(ステップS2
54)。
If there is a mismatch, the flow returns to the original routine without performing the subsequent check processing. On the other hand, if a match is detected, the feature data reader / writer 35
0 magnetic head 353 reads the feature data C1 and C2 recorded in the feature data storage area 120 and temporarily stores them in the feature data storage unit 355 (step S2).
54).

【0151】続いて、消費処理部32が前述のカード情
報更新処理で作成された更新識別情報に基づいて、チェ
ックすべき特徴データを決定する(ステップS25
5)。つまり、更新識別情報がD1であった場合は、ス
テップS256に進み、ステップS254で特徴データ
記憶部355に記憶された特徴データC1,C2のうち
の特徴データC2と、ステップS250で量子化データ
記憶部345に記憶された量子化データのうちのカード
情報R2についての量子化データとを比較する。一方、
更新識別情報がD2であった場合は、ステップS257
に進み、ステップS254で特徴データ記憶部355に
記憶された特徴データC1と、ステップS250で量子
化データ記憶部345に記憶されたカード情報R1につ
いての量子化データとを比較する。
Subsequently, the consumption processing section 32 determines characteristic data to be checked based on the update identification information created in the above-described card information update processing (step S25).
5). That is, if the update identification information is D1, the process proceeds to step S256, and the feature data C2 of the feature data C1 and C2 stored in the feature data storage unit 355 in step S254 and the quantization data storage in step S250. The quantized data stored in the unit 345 is compared with the quantized data for the card information R2. on the other hand,
If the update identification information is D2, step S257
In step S254, the feature data C1 stored in the feature data storage unit 355 is compared with the quantized data for the card information R1 stored in the quantized data storage unit 345 in step S250.

【0152】つまり、ステップS256あるいはS25
7においては、本カード消費処理において書き換えられ
なかったカード情報についての特徴データの比較が行わ
れる。このステップS256またはS257で比較され
たデータが一致するか否かが判別される(ステップS2
58)。ここで不一致であった場合は、以後のチェック
処理を行わずに元のルーチンに戻る。
That is, step S256 or S25
In 7, the comparison of the feature data of the card information not rewritten in the card consumption process is performed. It is determined whether the data compared in step S256 or S257 match (step S2).
58). If they do not match, the process returns to the original routine without performing the subsequent check processing.

【0153】ステップS258で一致が検出された場合
は、ステップS259のパンチ孔チェックが実行され
る。ここでは、プリペイドカード100に施されている
パンチ孔の位置を検出し、前述のカード情報更新処理に
おけるステップS239で穿孔されたパンチ孔の位置と
矛盾がないかチェックして処理を終了する。
If a match is detected in step S258, a punch hole check in step S259 is executed. Here, the position of the punched hole provided in the prepaid card 100 is detected, and it is checked whether there is any inconsistency with the position of the punched hole in step S239 in the above-described card information updating process, and the process is terminated.

【0154】ステップS216の書込チェック処理が終
了すると、この書込チェック処理の結果に基づいて、プ
リペイドカード100の正当性が判別される(ステップ
S217)。つまり、ステップS216において、暗号
データの不一致が検出された場合、特徴データの不一致
が検出された場合、あるいはパンチ孔の不正が検出され
た場合、のいずれか1つがあてはまれば、プリペイドカ
ード100は異常であり、不正な手段により作成された
ものであると判定する。
When the write check processing in step S216 is completed, the validity of the prepaid card 100 is determined based on the result of the write check processing (step S217). In other words, in step S216, if any one of the following cases is detected: a mismatch in the encrypted data, a mismatch in the characteristic data, or a fraudulent punch hole, the prepaid card 100 Is abnormal and is determined to have been created by unauthorized means.

【0155】ステップS217でプリペイドカード10
0が正当でないと判別された場合には、不正又はエラー
表示等を行うとともに、システムの動作を停止するなど
の異常/不正処理を実行する(ステップS213)。
At step S217, the prepaid card 10
If it is determined that 0 is not valid, an invalid / error display is performed, and an abnormal / illegal process such as stopping the operation of the system is executed (step S213).

【0156】ステップS217でプリペイドカード10
0が正当であると判別された場合には、読書装置300
からプリペイドカード100を排出して処理を終了す
る。
At step S217, the prepaid card 10
If 0 is determined to be valid, the reading device 300
, The prepaid card 100 is discharged, and the process is terminated.

【0157】上記第2の実施の形態によれば、プリペイ
ドカードに記録された2つのカード情報を再生し、イン
ク盛量のばらつきで生じる再生信号の変化を量子化した
データをカードの特徴データとする。また、2つの再生
情報に基づいて暗号データを作成しカードに記録する。
2つのカード情報は、消費処理毎に交互に書き換えられ
る。この際、書き換えられたカード情報と書き換えられ
なかったカード情報とに基づいて暗号データを作成して
更新する。カード挿入時とカード情報書換後に、暗号デ
ータの照合、および、書き換えられていないカード情報
についての特徴データの照合を行う。この結果に基づ
き、読書装置の処理中にプリペイドカードがすり替えら
れた場合これを検出する。したがって、読書装置を用い
たプリペイドカードの不正コピーを確実に検出すること
ができる。
According to the second embodiment, two pieces of card information recorded on a prepaid card are reproduced, and data obtained by quantizing a change in a reproduction signal caused by a variation in the amount of ink is used as characteristic data of the card. I do. In addition, encrypted data is created based on the two pieces of reproduction information and recorded on a card.
The two card information are rewritten alternately for each consumption process. At this time, encrypted data is created and updated based on the rewritten card information and the unrewritten card information. When the card is inserted and after the card information is rewritten, the collation of the encrypted data and the collation of the characteristic data of the card information that has not been rewritten are performed. Based on this result, if the prepaid card is replaced during the processing of the reading device, this is detected. Therefore, an unauthorized copy of the prepaid card using the reading device can be reliably detected.

【0158】上記第2の実施の形態では、書込チェック
処理において、書き換えられなかったカード情報に対応
する特徴データの照合を行ったが、書き換えたカード情
報に対応する特徴データの照合を行ってもよく、さら
に、書き換えたカード情報および書き換えなかったカー
ド情報に対応する特徴データの双方を照合してもよい。
これにより、より高い精度でカードのすり替え行為を検
出することができる。
In the second embodiment, in the write check process, the feature data corresponding to the unrewritten card information is collated. However, the feature data corresponding to the rewritten card information is collated. Alternatively, both the rewritten card information and the characteristic data corresponding to the unrewritten card information may be collated.
As a result, the act of replacing a card can be detected with higher accuracy.

【0159】上記実施の形態では、磁気記憶領域を備え
たプリペイドカードを用いたが、例えば、上記プリペイ
ドカードを磁気記憶領域とICチップを備えたカードと
して実現してもよい。この場合、カード情報記憶領域1
11,112を磁気記憶領域に設け、特徴データ記憶領
域120に記憶すべき可変情報をICチップのメモリに
記憶するようにしてもよい。
In the above embodiment, a prepaid card having a magnetic storage area is used. For example, the prepaid card may be realized as a card having a magnetic storage area and an IC chip. In this case, the card information storage area 1
11 and 112 may be provided in the magnetic storage area, and the variable information to be stored in the feature data storage area 120 may be stored in the memory of the IC chip.

【0160】また、本システムで使用されるカードは、
金額情報を記憶しないノーバリューカードとしてもよ
い。この場合、例えば、各利用者についての金額情報を
センタなどで管理し、カード使用時には、カードに記憶
されている利用者を識別しうる情報(カードIDなど)
をキーとしてセンタなどにアクセスし、該当する利用者
の金額情報について所定金額を引き出す処理を行うよう
にしてもよい。
The card used in this system is
A no-value card that does not store the amount information may be used. In this case, for example, information on the amount of money for each user is managed at a center or the like, and when a card is used, information (such as a card ID) stored in the card that can identify the user.
May be used to access a center or the like, and to perform a process of withdrawing a predetermined amount of money for the corresponding user.

【0161】[0161]

【発明の効果】以上説明したように、本発明によれば、
プリペイドカード発行時に予めカード情報を記憶させた
所定印刷部位のインク盛量のばらつきに関連する再生情
報を量子化してカード固有の特徴データを作成し、さら
に、量子化した再生情報を用いた暗号化が施される。読
書装置は、カード挿入時とカード情報書換後に、暗号化
されたデータについての復号処理、および特徴データの
照合を行い、これらの結果に基づいて当該カードの正当
性をチェックする。このため、読書装置の処理中にプリ
ペイドカードがすり替えられた場合これを検出すること
ができる。したがって、他のプリペイドカードの記憶情
報の複写により変造又は偽造したプリペイドカードの不
正を的確に検出することを可能とするプリペイドカード
システム、読書装置及びカード判別方法を提供すること
ができる。
As described above, according to the present invention,
Quantizes the reproduction information related to the variation in the amount of ink in a predetermined printing portion in which the card information is stored in advance at the time of issuing the prepaid card, creates characteristic data unique to the card, and further encrypts using the quantized reproduction information. Is applied. The reading device performs a decryption process on the encrypted data and a comparison of the characteristic data at the time of inserting the card and after rewriting the card information, and checks the validity of the card based on these results. Therefore, if the prepaid card is replaced during the processing of the reading device, this can be detected. Therefore, it is possible to provide a prepaid card system, a reading device, and a card discriminating method that can accurately detect the fraud of a falsified or forged prepaid card by copying stored information of another prepaid card.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施の形態に係るプリペイドカ
ードの構成を示す図である。
FIG. 1 is a diagram showing a configuration of a prepaid card according to a first embodiment of the present invention.

【図2】図1に示すプリペイドカードに施された印刷部
の配置の一例を示す図である。
FIG. 2 is a diagram showing an example of an arrangement of a printing unit provided on the prepaid card shown in FIG. 1;

【図3】本発明の実施の形態に係るプリペイドカードシ
ステムのシステム構成を示すブロック図である。
FIG. 3 is a block diagram showing a system configuration of a prepaid card system according to the embodiment of the present invention.

【図4】本発明の実施の形態に係る記録装置の構成を示
すブロック図である。
FIG. 4 is a block diagram illustrating a configuration of a recording apparatus according to an embodiment of the present invention.

【図5】本発明の第1の実施の形態に係る読書装置の構
成を示すブロック図である。
FIG. 5 is a block diagram showing a configuration of the reading device according to the first embodiment of the present invention.

【図6】本発明の第1の実施の形態に係るカード情報用
リーダ/ライタの構成を示すブロック図である。
FIG. 6 is a block diagram showing a configuration of a card information reader / writer according to the first embodiment of the present invention.

【図7】本発明の第1の実施の形態に係る特徴データ用
リーダ/ライタの構成を示すブロック図である。
FIG. 7 is a block diagram showing a configuration of a characteristic data reader / writer according to the first embodiment of the present invention.

【図8】本発明の第1の実施の形態に係るエンコード処
理を説明するためのフローチャートである。
FIG. 8 is a flowchart illustrating an encoding process according to the first embodiment of the present invention.

【図9】本発明の実施の形態に係るインクの盛量のばら
つきによる再生信号の変動を説明するための図である。
FIG. 9 is a diagram for explaining a change in a reproduction signal due to a variation in the amount of ink according to the embodiment of the present invention.

【図10】本発明の第1の実施の形態に係るカード消費
処理を説明するためのフローチャートである。
FIG. 10 is a flowchart for explaining card consumption processing according to the first embodiment of the present invention.

【図11】図10に示すカード消費処理にて行われる読
取チェック処理を説明するためのフローチャートであ
る。
FIG. 11 is a flowchart illustrating a read check process performed in the card consumption process illustrated in FIG. 10;

【図12】図10に示すカード消費処理にて行われる読
取チェック処理を説明するためのフローチャートであ
る。
FIG. 12 is a flowchart illustrating a read check process performed in the card consumption process illustrated in FIG. 10;

【図13】図10に示すカード消費処理にて行われるカ
ード情報更新処理を説明するためのフローチャートであ
る。
13 is a flowchart illustrating a card information update process performed in the card consumption process illustrated in FIG.

【図14】図10に示すカード消費処理にて行われる特
徴データ書換処理を説明するためのフローチャートであ
る。
FIG. 14 is a flowchart illustrating a feature data rewriting process performed in the card consumption process illustrated in FIG. 10;

【図15】図10に示すカード消費処理にて行われる書
込チェック処理を説明するためのフローチャートであ
る。
FIG. 15 is a flowchart illustrating a write check process performed in the card consumption process shown in FIG. 10;

【図16】本発明の第2の実施の形態に係る読書装置の
構成を示すブロック図である。
FIG. 16 is a block diagram illustrating a configuration of a reading device according to a second embodiment of the present invention.

【図17】本発明の第2の実施の形態に係るカード情報
用リーダ/ライタの構成を示すブロック図である。
FIG. 17 is a block diagram showing a configuration of a card information reader / writer according to a second embodiment of the present invention.

【図18】本発明の第2の実施の形態に係る特徴データ
用リーダ/ライタの構成を示すブロック図である。
FIG. 18 is a block diagram showing a configuration of a characteristic data reader / writer according to a second embodiment of the present invention.

【図19】本発明の第2の実施の形態に係るエンコード
処理を説明するためのフローチャートである。
FIG. 19 is a flowchart illustrating an encoding process according to the second embodiment of the present invention.

【図20】本発明の第2の実施の形態に係るカード消費
処理を説明するためのフローチャートである。
FIG. 20 is a flowchart for explaining card consumption processing according to the second embodiment of the present invention.

【図21】図20に示すカード消費処理にて行われる読
取チェック処理を説明するためのフローチャートであ
る。
FIG. 21 is a flowchart illustrating a read check process performed in the card consumption process illustrated in FIG. 20;

【図22】図20に示すカード消費処理にて行われるカ
ード情報更新処理を説明するためのフローチャートであ
る。
22 is a flowchart illustrating a card information update process performed in the card consumption process illustrated in FIG.

【図23】図20に示すカード消費処理にて行われる特
徴データ書換処理を説明するためのフローチャートであ
る。
FIG. 23 is a flowchart illustrating a feature data rewriting process performed in the card consumption process illustrated in FIG. 20;

【図24】図20に示すカード消費処理にて行われる書
込チェック処理を説明するためのフローチャートであ
る。
24 is a flowchart illustrating a write check process performed in the card consumption process shown in FIG.

【符号の説明】[Explanation of symbols]

20 中継装置 30、300 読書装置 31 通信部 32 消費処理部 33 記憶部 34、340 カード情報用リーダ/ライタ 341 読書制御部 342 データ読書部 343 磁気ヘッド 344 量子化処理部 345 量子化データ記憶部 346 カード情報記憶部 347 暗号化処理部 348 書込暗号データ記憶部 35、350 特徴データ用リーダ/ライタ 351 読書制御部 352 データ読書部 353 磁気ヘッド 354 復号化処理部 355 特徴データ記憶部 356 読出暗号データ記憶部 40 決済センタ 50 記録装置 51 エンコード制御部 52 記憶部 53 書込処理部 54 カード情報用磁気ヘッド 55 カード情報再生部 56 量子化処理部 57 特徴データ用磁気ヘッド 58 暗号化処理部 100 プリペイドカード 110 カード情報記憶領域 120 特徴データ記憶領域 111 第1のカード情報記憶領域 112 第2のカード情報記憶領域 Reference Signs List 20 relay device 30, 300 reading device 31 communication unit 32 consumption processing unit 33 storage unit 34, 340 card information reader / writer 341 reading control unit 342 data reading unit 343 magnetic head 344 quantization processing unit 345 quantized data storage unit 346 Card information storage section 347 Encryption processing section 348 Write encryption data storage section 35, 350 Feature data reader / writer 351 Reading control section 352 Data reading section 353 Magnetic head 354 Decryption processing section 355 Feature data storage section 356 Read encryption data Storage unit 40 Payment center 50 Recording device 51 Encoding control unit 52 Storage unit 53 Write processing unit 54 Magnetic head for card information 55 Card information reproducing unit 56 Quantization processing unit 57 Magnetic head for characteristic data 58 Encryption processing unit 100 Prepaid card 110 car Information storage area 120, wherein the data storage area 111 the first card information storage area 112 the second card information storage area

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 3E044 AA20 BA06 CA05 CC06 DA01 DA03 DA06 DC01 DC05 DC06 DD02 DE01 5B058 CA31 KA13 KA32 KA35 YA06 ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 3E044 AA20 BA06 CA05 CC06 DA01 DA03 DA06 DC01 DC05 DC06 DD02 DE01 5B058 CA31 KA13 KA32 KA35 YA06

Claims (15)

【特許請求の範囲】[Claims] 【請求項1】プリペイドカードに所定のカード情報を書
き込むエンコード手段と、 前記プリペイドカードのカード情報に含まれる金額情報
に基づいて所定の消費処理を行う読書手段と、 を備えるプリペイドカードシステムにおいて、 前記エンコード手段は、 前記プリペイドカードの第1の可変情報記憶領域に2つ
のカード情報を磁気的に書き込むカード情報書込手段
と、 前記第1の可変情報記憶領域の2つのカード情報それぞ
れを再生し、得られた再生情報のうちの一方に基づいて
暗号鍵を生成し、他方を当該プリペイドカードの特徴デ
ータとし、前記生成した暗号鍵で該特徴データを暗号化
して第2の可変情報記憶領域に書き込む特徴データ作成
手段と、を備え、 前記読書手段は、 前記第1の可変情報記憶領域に記録された2つのカード
情報それぞれを再生し、得られた再生情報を量子化する
カード情報再生手段と、 前記カード情報再生手段で得られた量子化されたデータ
のうちの一方で暗号鍵を生成し、該暗号鍵を用いて前記
第2の可変情報記憶領域に記憶された特徴データを復号
する復号化手段と、 前記復号化手段による復号が成立し、且つ、前記カード
情報再生手段で得られた量子化されたデータのうちの他
方が前記復号化手段で復号された特徴データと一致する
場合、当該プリペイドカードが正当であると判別するカ
ード識別手段と、 を備えることを特徴とするプリペイドカードシステム。
1. A prepaid card system comprising: an encoding unit that writes predetermined card information on a prepaid card; and a reading unit that performs a predetermined consumption process based on money amount information included in the card information of the prepaid card. Encoding means, card information writing means for magnetically writing two card information in a first variable information storage area of the prepaid card, and reproducing the two card information in the first variable information storage area, An encryption key is generated based on one of the obtained reproduction information, and the other is used as the characteristic data of the prepaid card. The characteristic data is encrypted with the generated encryption key and written into the second variable information storage area. Characteristic data creating means, wherein the reading means comprises: two cars recorded in the first variable information storage area. Card information reproducing means for reproducing each piece of data information and quantizing the obtained reproduction information; and generating an encryption key on one of the quantized data obtained by the card information reproduction means, Decoding means for decoding the characteristic data stored in the second variable information storage area by using the decoding means, and decoding by the decoding means is established, and the quantized data obtained by the card information reproducing means is obtained. A prepaid card system comprising: card identification means for determining that the prepaid card is valid when the other of the data matches the characteristic data decoded by the decoding means.
【請求項2】前記カード識別手段は、前記プリペイドカ
ードが前記読書手段に挿入された際に前記カードの正当
性の判別を行う読取チェック手段を備え、 前記読書手段は、 前記読取チェック手段が前記プリペイドカードが正当で
あることを判別した場合、前記2つのカード情報のうち
の最後に更新されたカード情報に含まれる残高情報に応
じた消費を許可し、該消費に基づいて、前記最後に更新
されたカード情報とは異なるカード情報を更新して書き
換える消費処理手段と、 前記消費処理手段により書き換えられたカード情報を再
生し、得られた再生情報を量子化したデータに基づいた
暗号鍵で、前記復号化手段で復号された特徴データを暗
号化して前記第2の可変情報記憶領域に書き込む特徴デ
ータ更新手段と、 を備えていることを特徴とする請求項1に記載のプリペ
イドカードシステム。
2. The method according to claim 1, wherein said card identification means includes a reading check means for judging the validity of said card when said prepaid card is inserted into said reading means. When it is determined that the prepaid card is valid, the consumption according to the balance information included in the last updated card information of the two card information is permitted, and the last update is performed based on the consumption. Consumption processing means for updating and rewriting card information different from the obtained card information, and reproducing the card information rewritten by the consumption processing means, using an encryption key based on data obtained by quantizing the obtained reproduction information, Characteristic data updating means for encrypting the characteristic data decrypted by the decrypting means and writing the encrypted characteristic data in the second variable information storage area. The prepaid card system according to claim 1, wherein
【請求項3】前記カード識別手段はさらに、前記消費処
理手段によるカード情報の書換の後に前記カードの正当
性の判別を行う書込チェック手段を備え、 前記カード情報再生手段は、前記消費処理手段によって
書き換えられなかった未更新カード情報を再生して量子
化し、 前記復号化手段は、前記消費処理手段により書き換えら
れたカード情報を再生し、得られた再生情報を量子化し
たデータで、前記特徴データ更新手段により書き込まれ
た特徴データを復号し、 前記書込チェック手段は、該復号された特徴データと、
前記カード情報再生手段で得られた前記未更新カード情
報の量子化データとを比較する、 ことを特徴とする請求項2に記載のプリペイドカードシ
ステム。
3. The card discriminating means further comprises a write check means for judging the validity of the card after rewriting the card information by the consumption processing means. Reproducing and quantizing the non-updated card information which has not been rewritten by the decoding means; reproducing the card information rewritten by the consumption processing means and quantizing the obtained reproduction information, Decrypting the feature data written by the data updating means, wherein the write checking means:
3. The prepaid card system according to claim 2, wherein the prepaid card system compares the quantized data of the unupdated card information obtained by the card information reproducing unit. 4.
【請求項4】前記第1の可変情報記憶領域上には、前記
2つのカード情報の記録位置に対応するように所定の印
刷部位が形成され、 前記特徴データは、前記所定の印刷部位それぞれのイン
ク盛量のばらつきに基づく再生情報の変化を量子化する
ことで得られる、 ことを特徴とする請求項1乃至3に記載のプリペイドカ
ードシステム。
4. A predetermined printing portion is formed on the first variable information storage area so as to correspond to a recording position of the two card information, and the characteristic data is stored in each of the predetermined printing portions. 4. The prepaid card system according to claim 1, wherein the prepaid card system is obtained by quantizing a change in reproduction information based on a variation in the amount of ink. 5.
【請求項5】プリペイドカードに所定のカード情報を書
き込むエンコード手段と、 前記プリペイドカードのカード情報に含まれる金額情報
に基づいて所定の消費処理を行う読書手段と、 を備えるプリペイドカードシステムにおいて、 前記エンコード手段は、 前記プリペイドカードの第1の可変情報記憶領域に2つ
のカード情報を磁気的に書き込むカード情報書込手段
と、 前記第1の可変情報記憶領域の2つのカード情報それぞ
れを再生することで得られる再生情報を量子化した2つ
のデータを、当該プリペイドカードの特徴データとして
前記プリペイドカードの第2の可変情報記憶領域に書き
込む特徴データ作成手段と、 前記第1の可変情報記憶領域の2つのカード情報それぞ
れを再生することで得られる再生情報を量子化したデー
タに基づいて暗号データを作成し、前記第2の可変情報
記憶領域に書き込む暗号データ作成手段と、を備え、 前記読書手段は、 前記第1の可変情報記憶領域の2つのカード情報それぞ
れを再生し、得られた2つの再生情報を量子化して暗号
データを作成するとともに、前記第2の可変情報記憶領
域に記録されている暗号データを読み出して前記作成し
た暗号データと比較する暗号データ比較手段と、 前記第2の可変情報記憶領域に記録されている特徴デー
タを読み出し、前記暗号データ比較手段により得られた
再生情報のうちの該特徴データに対応したカード情報に
ついての再生情報を量子化し、前記読み出した特徴デー
タと比較する特徴データ比較手段と、 前記暗号データ比較手段および前記特徴データ比較手段
による比較の結果、少なくともいずれか一方が不一致の
場合、前記プリペイドカードを不正カードとして検出す
る不正カード検出手段と、 を備えることを特徴とするプリペイドカードシステム。
5. A prepaid card system comprising: an encoding unit that writes predetermined card information on a prepaid card; and a reading unit that performs predetermined consumption processing based on money amount information included in the card information of the prepaid card. Encoding means for magnetically writing two card information into a first variable information storage area of the prepaid card; and reproducing each of the two card information in the first variable information storage area Characteristic data creating means for writing the two pieces of data obtained by quantizing the reproduction information obtained in step 1 into the second variable information storage area of the prepaid card as characteristic data of the prepaid card; Playback information obtained by playing each of the two card information into quantized data Encryption data creating means for creating encrypted data based on the first variable information storage area, and reading the two pieces of card information in the first variable information storage area, Cryptographic data comparing means for quantizing the obtained two pieces of reproduction information to generate encrypted data, reading encrypted data recorded in the second variable information storage area, and comparing the read encrypted data with the generated encrypted data; Reading the characteristic data recorded in the second variable information storage area, quantizing the reproduction information of the card information corresponding to the characteristic data among the reproduction information obtained by the encryption data comparing means, Characteristic data comparing means for comparing with the obtained characteristic data, and a result of comparison by the encrypted data comparing means and the characteristic data comparing means, at least If one is a mismatch either prepaid card system, characterized by comprising, a fraud card detection means for detecting said prepaid card as invalid cards.
【請求項6】前記不正カード検出手段は、前記プリペイ
ドカードが前記読書手段に挿入された際に前記不正カー
ドの検出を行う読取チェック手段を備え、 前記読書手段は、 前記読取チェック手段が前記不正カードを検出しなかっ
た場合、前記第2の可変情報記憶領域に記録されている
特徴データを読み出し、該特徴データに対応したカード
情報に含まれる残高情報に応じた消費を許可し、該消費
に基づいて、前記残高情報を含まないカード情報を更新
して書き換える消費処理手段と、 前記消費処理手段により書き換えられた更新カード情報
と、前記消費処理手段により書き換えられなかった未更
新カード情報とを再生し、得られた2つの再生情報を量
子化することで暗号データを作成し、前記第2の可変情
報記憶領域に記録されている暗号データを該作成された
暗号データに書き換える暗号データ更新手段と、 前記暗号データ更新手段により得られた2つの再生情報
を前記プリペイドカードの更新特徴データとし、前記第
2の可変情報記憶領域の特徴データを該更新特徴データ
に書き換える特徴データ更新手段と、 を備えていることを特徴とする請求項5に記載のプリペ
イドカードシステム。
6. The fraudulent card detecting means includes a reading check means for detecting the fraudulent card when the prepaid card is inserted into the reading means, wherein the reading means comprises: When the card is not detected, the characteristic data recorded in the second variable information storage area is read, and consumption according to the balance information included in the card information corresponding to the characteristic data is permitted. A consumption processing unit that updates and rewrites card information that does not include the balance information, based on the updated card information, and reproduces updated card information that is rewritten by the consumption processing unit and unupdated card information that is not rewritten by the consumption processing unit Then, encrypted data is created by quantizing the obtained two pieces of reproduction information, and the encryption data recorded in the second variable information storage area is created. Data updating means for rewriting data to the created encrypted data; and two pieces of reproduction information obtained by the encrypted data updating means as update feature data of the prepaid card. The prepaid card system according to claim 5, further comprising: feature data updating means for rewriting data to the updated feature data.
【請求項7】前記不正カード検出手段はさらに、前記消
費処理手段によるカード情報の書換の後に前記不正カー
ドの検出を行う書込チェック手段を備え、 前記暗号データ比較手段は、前記更新カード情報と、前
記未更新カード情報とを再生し、得られた2つの再生情
報を量子化して暗号データを作成するとともに、前記第
2の可変情報記憶領域に記録されている暗号データを読
み出して前記作成した暗号データと比較し、 前記特徴データ比較手段は、前記暗号データ比較手段に
よる比較の結果、一致が検出された場合、前記未更新カ
ード情報を再生し、得られた再生情報を量子化したデー
タと、前記第2の可変情報記憶領域の前記特徴データ更
新手段により書き換えられた特徴データのうちの前記未
更新カード情報に対応する特徴データとを比較する、 ことを特徴とする請求項6に記載のプリペイドカードシ
ステム。
7. The fraudulent card detecting means further includes a writing check means for detecting the fraudulent card after rewriting the card information by the consumption processing means, and wherein the encrypted data comparing means has the updated card information and the updated card information. Playing back the unupdated card information, quantizing the two pieces of obtained playback information to create encrypted data, and reading out the encrypted data recorded in the second variable information storage area to create the encrypted data. Compared with encrypted data, the feature data comparing means reproduces the unupdated card information when a match is detected as a result of the comparison by the encrypted data comparing means, and quantizes the obtained reproduced information with data. And feature data corresponding to the unupdated card information among the feature data rewritten by the feature data updating means in the second variable information storage area. Prepaid card system according to claim 6 to be compared, characterized in that.
【請求項8】前記不正カード検出手段はさらに、前記消
費処理手段によるカード情報の書換の後に前記不正カー
ドの検出を行う書込チェック手段を備え、 前記暗号データ比較手段は、前記更新カード情報と前記
未更新カード情報とを再生し、得られた2つの再生情報
を量子化して暗号データを作成するとともに、前記第2
の可変情報記憶領域に記録されている暗号データを読み
出して前記作成した暗号データと比較し、 前記特徴データ比較手段は、前記暗号データ比較手段に
よる比較の結果、一致が検出された場合、前記更新カー
ド情報を再生し、得られた再生情報を量子化したデータ
と、前記特徴データ更新手段で書き換えられた特徴デー
タのうちの前記更新カード情報に対応する特徴データと
を比較する、 ことを特徴とする請求項6に記載のプリペイドカードシ
ステム。
8. The fraudulent card detecting means further includes a writing check means for detecting the fraudulent card after rewriting the card information by the consumption processing means, and wherein the encrypted data comparing means has the updated card information and the updated card information. The non-updated card information is reproduced, and the obtained two pieces of reproduction information are quantized to generate encrypted data.
Reading the encrypted data recorded in the variable information storage area and comparing the encrypted data with the created encrypted data. The feature data comparing means, if a match is detected as a result of the comparison by the encrypted data comparing means, Reproducing the card information and comparing the data obtained by quantizing the obtained reproduction information with the characteristic data corresponding to the updated card information among the characteristic data rewritten by the characteristic data updating means; 7. The prepaid card system according to claim 6, wherein:
【請求項9】前記第1の可変情報記憶領域上には、前記
2つのカード情報の記録位置に対応するように所定の印
刷部位が形成され、 前記特徴データは、前記所定の印刷部位それぞれのイン
ク盛量のばらつきに基づく再生情報の変化を量子化する
ことで得られる、 ことを特徴とする請求項5乃至8に記載のプリペイドカ
ードシステム。
9. A predetermined printing portion is formed on the first variable information storage area so as to correspond to a recording position of the two card information, and the characteristic data is stored in each of the predetermined printing portions. The prepaid card system according to claim 5, wherein the prepaid card system is obtained by quantizing a change in reproduction information based on a variation in the amount of ink.
【請求項10】プリペイドカードに記録されたカード情
報に含まれる金額情報に基づいて金銭的決済を行うプリ
ペイドカードシステムに使用される読書装置であって、 前記プリペイドカードの第1の可変情報記憶領域に磁気
記録された2つのカード情報の読書を行うカード情報読
書手段と、 前記プリペイドカードの第2の可変情報記憶領域に記録
された前記2つのカード情報に対応する特徴データの読
書を行う特徴データ読書手段と、 前記プリペイドカードの消費金額に応じて、前記カード
情報読書手段により読み出された前記金額情報を更新す
る消費処理手段と、を備え、 前記カード情報読書手段は、前記2つのカード情報それ
ぞれを再生し、得られた再生情報を量子化し、 前記特徴データ読書手段は、前記第2の可変情報記憶領
域から特徴データを読み取り、前記カード情報読書手段
が量子化した再生情報で復号して比較し、 前記消費処理手段は、前記特徴データ読書手段によって
比較されたデータが不一致の場合、前記プリペイドカー
ドを不正カードとして弁別する、 ことを特徴とする読書装置。
10. A reading device used in a prepaid card system for performing a financial settlement based on money amount information included in card information recorded on a prepaid card, wherein the first variable information storage area of the prepaid card is provided. Card information reading means for reading two pieces of card information magnetically recorded on the card; and characteristic data for reading feature data corresponding to the two pieces of card information recorded in a second variable information storage area of the prepaid card. Reading means, and consumption processing means for updating the money amount information read by the card information reading means in accordance with the consumption amount of the prepaid card, wherein the card information reading means comprises: Each of them is reproduced, and the obtained reproduction information is quantized. The characteristic data is read, the card information reading means decodes and compares the reproduced information with the quantized reproduction information, and the consumption processing means, when the data compared by the characteristic data reading means does not match, the prepaid card is replaced with an unauthorized card. A reading device characterized by:
【請求項11】前記第1の可変情報記憶領域上には、前
記2つのカード情報の記録位置に対応するように所定の
印刷部位が形成され、 前記特徴データは、前記所定の印刷部位それぞれのイン
ク盛量のばらつきに基づく再生情報の変化を量子化する
ことで得られる、 ことを特徴とする請求項10に記載の読書装置。
11. A predetermined printing portion is formed on the first variable information storage area so as to correspond to a recording position of the two card information, and the characteristic data is stored in each of the predetermined printing portions. The reading device according to claim 10, wherein the reading device is obtained by quantizing a change in reproduction information based on a variation in the amount of ink.
【請求項12】プリペイドカードに記録されたカード情
報に含まれる金額情報に基づいて金銭的決済を行うプリ
ペイドカードシステムに使用される読書装置であって、 前記プリペイドカードの第1の可変情報記憶領域に磁気
記録された2つのカード情報の読書を行うカード情報読
書手段と、 前記プリペイドカードの第2の可変情報記憶領域に記録
された前記2つのカード情報に対応する特徴データおよ
び前記2つのカード情報に基づいて作成された暗号デー
タの読書を行う特徴データ読書手段と、 前記プリペイドカードの消費金額に応じて、前記カード
情報読書手段により読み出された前記金額情報を更新す
る消費処理手段と、を備え、 前記カード情報読書手段は、前記2つのカード情報それ
ぞれを再生し、得られた再生情報を量子化して暗号デー
タを作成し、 前記特徴データ読書手段は、前記第2の可変情報記憶領
域に記録されている暗号データを読み取って前記カード
情報読書手段が作成した暗号データと比較するととも
に、前記第2の可変情報記憶領域から特徴データを読み
取って前記カード情報読書手段により量子化された再生
情報と比較し、 前記消費処理手段は、前記特徴データ読書手段によって
比較されたデータが不一致の場合、前記プリペイドカー
ドを不正カードとして弁別する、 ことを特徴とする読書装置。
12. A reading device used in a prepaid card system for performing a financial settlement based on money amount information included in card information recorded on the prepaid card, wherein the first variable information storage area of the prepaid card is provided. Card information reading means for reading two card information magnetically recorded on the card; characteristic data and the two card information corresponding to the two card information recorded in a second variable information storage area of the prepaid card Characteristic data reading means for reading the encrypted data created based on the above, and consumption processing means for updating the amount information read by the card information reading means according to the amount of consumption of the prepaid card, The card information reading means reproduces each of the two card information, and quantizes the obtained reproduction information. The encrypted data is created, the characteristic data reading unit reads the encrypted data recorded in the second variable information storage area, compares the encrypted data with the encrypted data created by the card information reading unit, and creates the encrypted data. Reading the characteristic data from the variable information storage area and comparing it with the reproduction information quantized by the card information reading means; and when the data compared by the characteristic data reading means does not match, the prepaid card A reading device that discriminates a card as a fraudulent card.
【請求項13】前記第1の可変情報記憶領域上には、前
記2つのカード情報の記録位置に対応するように所定の
印刷部位が形成され、 前記特徴データは、前記所定の印刷部位それぞれのイン
ク盛量のばらつきに基づく再生情報の変化を量子化する
ことで得られる、 ことを特徴とする請求項12に記載の読書装置。
13. A predetermined printing portion is formed on the first variable information storage area so as to correspond to a recording position of the two card information, and the characteristic data is stored in each of the predetermined printing portions. The reading device according to claim 12, wherein the reading device is obtained by quantizing a change in reproduction information based on a variation in the amount of ink.
【請求項14】プリペイドカードに所定のカード情報を
書き込むエンコードステップと、 読書装置において、前記プリペイドカードのカード情報
に含まれる金額情報に基づいて所定の消費処理を行う読
書ステップと、 を備えるプリペイドカード処理方法におけるカード判別
方法であって、 前記エンコードステップは、 前記プリペイドカードの第1の可変情報記憶領域に2つ
のカード情報を磁気的に書き込むカード情報書込ステッ
プと、 前記第1の可変情報記憶領域の2つのカード情報それぞ
れを再生し、得られた再生情報のうちの一方に基づいて
暗号鍵を生成し、他方を当該プリペイドカードの特徴デ
ータとし、前記生成した暗号鍵で該特徴データを暗号化
して第2の可変情報記憶領域に磁気的に書き込む特徴デ
ータ作成ステップと、を備え、 前記読書ステップは、 前記第1の可変情報記憶領域に記録された2つのカード
情報のそれぞれを再生し、得られた再生情報を量子化す
るカード情報再生ステップと、 前記カード情報再生ステップで得られた量子化されたデ
ータのうちの一方で暗号鍵を生成し、該暗号鍵を用いて
前記第2の可変情報記憶領域に記憶された特徴データを
復号する復号化ステップと、 前記復号化ステップによる復号が成立し、且つ、前記カ
ード情報再生ステップで得られた量子化されたデータの
うちの他方が前記復号化ステップで復号された特徴デー
タと一致する場合、当該プリペイドカードが正当である
と判別するカード識別ステップと、 を備えることを特徴とするカード判別方法。
14. A prepaid card comprising: an encoding step of writing predetermined card information on a prepaid card; and a reading step of performing a predetermined consumption process based on money amount information included in the card information of the prepaid card in a reading device. A card discriminating method in a processing method, wherein the encoding step includes: a card information writing step of magnetically writing two pieces of card information into a first variable information storage area of the prepaid card; and the first variable information storage. Each of the two pieces of card information in the area is reproduced, an encryption key is generated based on one of the obtained reproduction information, and the other is used as characteristic data of the prepaid card, and the characteristic data is encrypted with the generated encryption key. Creating characteristic data magnetically and magnetically writing it in the second variable information storage area. In the reading step, the card information reproducing step of reproducing each of the two pieces of card information recorded in the first variable information storage area and quantizing the obtained reproduction information; and A decryption step of generating an encryption key on one of the obtained quantized data and decrypting the characteristic data stored in the second variable information storage area using the encryption key; If the decoding by the step is established and the other of the quantized data obtained in the card information reproducing step matches the characteristic data decoded in the decoding step, the prepaid card is valid. And a card identification step of identifying the card.
【請求項15】プリペイドカードに所定のカード情報を
書き込むエンコードステップと、 読書装置において、前記プリペイドカードのカード情報
に含まれる金額情報に基づいて所定の消費処理を行う読
書ステップと、 を備えるプリペイドカード処理方法におけるカード判別
方法であって、 前記エンコードステップは、 前記プリペイドカードの第1の可変情報記憶領域に2つ
のカード情報を磁気的に書き込むカード情報書込ステッ
プと、 前記第1の可変情報記憶領域の2つのカード情報それぞ
れを再生することで得られる再生情報を量子化した2つ
のデータを、当該プリペイドカードの特徴データとして
前記プリペイドカードの第2の可変情報記憶領域に書き
込む特徴データ作成ステップと、 前記第1の可変情報記憶領域の2つのカード情報それぞ
れを再生することで得られる再生情報を量子化したデー
タに基づいて暗号データを作成し、前記第2の可変情報
記憶領域に書き込む暗号データ作成ステップと、を備
え、 前記読書ステップは、 前記第1の可変情報記憶領域の2つのカード情報それぞ
れを再生し、得られた2つの再生情報を量子化して暗号
データを作成するとともに、前記第2の可変情報記憶領
域に記録されている暗号データを読み出して前記作成し
た暗号データと比較する暗号データ比較ステップと、 前記第2の可変情報記憶領域に記録されている特徴デー
タを読み出し、前記暗号データ比較ステップにより得ら
れた再生情報のうちの該特徴データに対応したカード情
報についての再生情報を量子化し、前記読み出した特徴
データと比較する特徴データ比較ステップと、 前記暗号データ比較ステップおよび前記特徴データ比較
ステップによる比較の結果、少なくともいずれか一方が
不一致の場合、前記プリペイドカードを不正カードとし
て検出する不正カード検出ステップと、 を備えることを特徴とするカード判別方法。
15. A prepaid card comprising: an encoding step of writing predetermined card information on a prepaid card; and a reading step of performing a predetermined consumption process based on money amount information included in the card information of the prepaid card in a reading device. A card discriminating method in a processing method, wherein the encoding step includes: a card information writing step of magnetically writing two pieces of card information into a first variable information storage area of the prepaid card; and the first variable information storage. A feature data generating step of writing two data obtained by quantizing the reproduction information obtained by reproducing each of the two pieces of card information in the area as the characteristic data of the prepaid card into the second variable information storage area of the prepaid card; The two card information in the first variable information storage area Creating encrypted data based on data obtained by quantizing playback information obtained by playing each of them, and writing the encrypted data to the second variable information storage area. The reading step includes: Each of the two pieces of card information in the first variable information storage area is reproduced, the obtained two pieces of reproduction information are quantized to generate encrypted data, and the encrypted data recorded in the second variable information storage area is reproduced. An encrypted data comparing step of reading and comparing the created encrypted data with the created encrypted data; reading out characteristic data recorded in the second variable information storage area; The reproduction information of the card information corresponding to the data is quantized and compared with the read characteristic data. And a fraudulent card detecting step of detecting the prepaid card as a fraudulent card when at least one of the results of the comparison by the encrypted data comparing step and the characteristic data comparing step does not match. Judgment method.
JP11065772A 1999-03-12 1999-03-12 Prepaid card system, reading device and card discriminating method Pending JP2000259903A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11065772A JP2000259903A (en) 1999-03-12 1999-03-12 Prepaid card system, reading device and card discriminating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11065772A JP2000259903A (en) 1999-03-12 1999-03-12 Prepaid card system, reading device and card discriminating method

Publications (1)

Publication Number Publication Date
JP2000259903A true JP2000259903A (en) 2000-09-22

Family

ID=13296664

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11065772A Pending JP2000259903A (en) 1999-03-12 1999-03-12 Prepaid card system, reading device and card discriminating method

Country Status (1)

Country Link
JP (1) JP2000259903A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110647952A (en) * 2018-06-26 2020-01-03 由昉信息科技(上海)有限公司 Intelligent identification system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110647952A (en) * 2018-06-26 2020-01-03 由昉信息科技(上海)有限公司 Intelligent identification system and method

Similar Documents

Publication Publication Date Title
US7292512B2 (en) System using radio frequency identification (RFID) for copy management of digital media
JP2007537527A (en) Identification system
US7302572B2 (en) Portable information storage medium and its authentication method
US20010024411A1 (en) Copy-protected optical disk and protection process for such disk
JP2000259903A (en) Prepaid card system, reading device and card discriminating method
JP2000259910A (en) Prepaid card system, reading device and card discriminating method
JPH11328334A (en) Prepaid card system and reader writer
JP2000259906A (en) Prepaid card system, reading device and card discriminating method
JP3502286B2 (en) Prepaid card system, encoding device, reading device, and card discriminating method
JP2000268306A (en) Prepaid card system, reading and writing apparatus, and method for discriminating card
JP2000259907A (en) Prepaid card system, reading device and card discriminating method
JP3486746B2 (en) Prepaid card system, reading device and card identification method
JP2000259905A (en) Prepaid card system, reading device and card discriminating method
JP3483792B2 (en) Prepaid card system, reading device and variable information updating method
JP3472179B2 (en) Prepaid card system, reading device and usage permission method
JPH10326333A (en) Prepaid card, and forgery discriminating device therefor
JP3467205B2 (en) Prepaid card system, reading device and variable information updating method
JPH10247229A (en) Magnetic card system
JP2001052431A (en) Recording/reproducing device, recording/reproducing method and recording medium capable of reading out by computer
JPH11328333A (en) Prepaid card system and reader writer
JPH11328505A (en) Prepaid card system and reader/writer
JPH11328507A (en) Prepaid card system, recorder, reader/writer, ticket issuing machine and illegal card use prevention method
JPH02279392A (en) Data recording medium and apparatus using the same
JP2000030130A (en) Prepaid card system, reader and illegal card use preventing method
JP2000268308A (en) Prepaid card system, reading and writing apparatus, and method for identifying card